This file contains hidden or 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
#!/bin/sh | |
set -e | |
cat > libtest.c <<EOF | |
#include <stdio.h> | |
void test_function(int arg) | |
{ | |
printf("Calling test_function(%d)\n", arg); |
This file contains hidden or 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
[alias] | |
br = branch | |
co = checkout | |
ci = commit | |
di = diff | |
st = status | |
sl = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative --all --since='90 days ago' | |
summary = show # Mercurial crib |
This file contains hidden or 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
// Run with gcc -o hello hello.c && ./hello | |
// An alternative "Hello World!" By DigitalCold | |
#include<unistd.h> | |
#include<errno.h> | |
main(){char*s=&errno, | |
*a=s,*t="@?>=",*z=t, | |
h[]={12,29,7,0,3,177, | |
87,-8,3,-6,-8,189,233, | |
1};for(;*z;s--){for( | |
;access(s,0),*a==14; |
NewerOlder