Short / Small String Optimization (SSO) is a technique to improve performance when working with short strings.
Here are the internals of std::string in popular standard libraries:
- at 0x00 int64 dataPtr
Short / Small String Optimization (SSO) is a technique to improve performance when working with short strings.
Here are the internals of std::string in popular standard libraries:
- at 0x00 int64 dataPtr
Updated on: Thursday, May 04, 2023
| :: Setup default environment for developers | |
| :: - Version: 1.2 | |
| :: How to use: | |
| :: - Run from cmd: START http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/nobitagamer/a985aeee3409a1a846c7deab5e60d933/raw/ | |
| :: - From IE: http://boxstarter.org/package/nr/url?https://gist.githubusercontent.com/nobitagamer/a985aeee3409a1a846c7deab5e60d933/raw/ | |
| Set-ExplorerOptions -showHidenFilesFoldersDrivers -showProtectedOSFiles -showFileExtensions | |
| Enable-RemoteDesktop | |
| cinst WindowsInstaller31 -source webpi |
Set-ExecutionPolicy -ExecutionPolicy Bypass -Force| #!/bin/sh | |
| # Espeo Software server analysis script | |
| # Written by Tomasz Klim | |
| # Version 1.2 | |
| # | |
| # Run this script as root and send us the created TGZ package. | |
| WD=`pwd` | |
| path=$WD/analysis | |
| mkdir -p $path/etc $path/log $path/ls $path/proc |
| [GF2-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20%5Ctextrm%7BGF%7D%282%29 | |
| [GF2p15-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20%5Ctextrm%7BGF%7D%282%5E%7B15%7D%29 | |
| [GF2p15p17-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20%5Ctextrm%7BGF%7D%28%282%5E%7B15%7D%29%5E%7B17%7D%29 | |
| [A-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20A | |
| [B-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20B | |
| [D-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20D | |
| [G-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20G | |
| [M-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20M | |
| [P-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20P | |
| [h-inlined]: http://latex.codecogs.com/svg.latex?%5Cinline%20h |
the original script to close the popup window
https://gist.github.com/egel/b7beba6f962110596660
lots of ctypes stuff referenced here
https://github.com/asweigart/pyautogui/blob/master/pyautogui/_window_win.py
alternative to DestroyWindow method that works
https://stackoverflow.com/questions/38449979/
| #!/usr/bin/python | |
| # -*- coding: utf-8 -*- | |
| import sublime_plugin | |
| import subprocess | |
| from time import sleep | |
| import sys | |
| cl = lambda line: subprocess.Popen(line, shell=True, stdout=subprocess.PIPE).communicate()[0].strip() | |
| log = lambda message: sys.stderr.write("Log: %s\n" % message) |
| > * Go to [hexed.it](https://hexed.it/) | |
| > * Click "Open File" and choose your sublime_text.exe **(DON'T FORGET TO BACKUP YOUR EXE FILE)** | |
| > * Go to Search and in "Search for" put: C3 C6 01 00 C3 | |
| > * In Search Type select "Enable replace" and put: C3 C6 01 01 C3 | |
| > * Click "Find next" then "Replace" | |
| > * Do the same thing with: 51 31 C0 88 05 => 51 b0 01 88 05 | |
| > * Click "Save as" then name it: sublime_text | |
| > * Copy your modified sublime_text.exe to directory Sublime Text |