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
{ | |
"vim.normalModeKeyBindingsNonRecursive": [ | |
{ | |
"before": [ | |
"<leader>", | |
"s" | |
], | |
"commands": [ | |
"workbench.action.gotoSymbol" | |
], |
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 <string.h> | |
#include <stdlib.h> | |
#define MAX_CHARS 64 | |
void swap(char* a, char* b) { | |
*a = *a ^ *b; | |
*b = *a ^ *b; | |
*a = *a ^ *b; |
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
class BitShiftFunc: | |
def __init__(self, f): | |
self.f = f | |
def __lshift__(self, rhs): | |
return self.f(rhs) | |
def __rrshift__(self, lhs): | |
return self.f(lhs) |
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 <stdlib.h> | |
struct Reeds { | |
int store; | |
}; | |
int main(void) { | |
struct Reeds* r = NULL; | |
// r = malloc(sizeof(struct Reeds)); |