This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 75.0.3770.142 | |
0x04b58615 7626 => 9090 0x04b58615 | |
0x04b5861d 31c0488945 => 9090909090 0x04b5861d | |
Due to a beautiful bug in Chromium, it turns out you don't need this binary patch and can **enable** subpixel positioning by asking Chrome **to disable it**: https://bugs.chromium.org/p/chromium/issues/detail?id=824153#c39 | |
Needless to say, I won't be maintaining this gist any longer. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
#include <memory.h> | |
#include <stdlib.h> | |
#define LENGTH 20 | |
int main() | |
{ | |
char const plainone[LENGTH] = "BASIC XOR CRYPTO"; | |
char const plaintwo[LENGTH] = "WINKWINKWINKWINK"; | |
char xor[LENGTH]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
typedef unsigned char byte; | |
void printBytes(const char * tag, unsigned char * bytes, int length); | |
int main() | |
{ | |
int original_variable = 100; | |
int * ptr_to_variable = &original_variable; | |
int resolved_variable = * ptr_to_variable; | |
long wrong_type_deref = * ptr_to_variable; |