Skip to content

Instantly share code, notes, and snippets.

@mossbanay
Created December 10, 2015 09:09
Show Gist options
  • Save mossbanay/8e6b181a3dd68756524c to your computer and use it in GitHub Desktop.
Save mossbanay/8e6b181a3dd68756524c to your computer and use it in GitHub Desktop.
Setup for AIOC
/* .bashrc */
alias c="clear"
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
alias r="gcc $1 && ./a.out"
/* .vimrc */
color symfony
/* swap escape and caps lock */
xmodmap -e 'clear Lock' -e 'keycode 0x42 = Escape'
/* c++ template */
#include <cstdio>
FILE* inputFile;
FILE* outputFile;
int main() {
inputFile = fopen("add.txt", "r");
outputFile = fopen("out.txt", "w");
fclose(inputFile);
fclose(outputFile);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment