Skip to content

Instantly share code, notes, and snippets.

View fmobus's full-sized avatar

Felipe Mobus fmobus

  • Porto Alegre, RS
View GitHub Profile
@fmobus
fmobus / gist:9471650
Created March 10, 2014 18:50
detectando til em palavras
# encoding: utf-8
import unicodedata
import sys
from codecs import open
sys.stdout = open("/dev/stdout","w","utf-8");
TIL = unicodedata.lookup('COMBINING TILDE')
def tem_til(v):
#include <stdio.h>
#define _STR(X) #X
#define STR(X) _STR(X)
#define exec(X)
exec('def DECL(x):global s;s=x')
#define DECL(X) X
#define s \
DECL("#include <stdio.h>\n#define _STR(X) #X\n#define STR(X) _STR(X)\n#define exec(X)\nexec('def DECL(x):global s;s=x')\n#define DECL(X) X\n#define s \\\nDECL(%s)\n#undef exec\n#define exec(X) int main(){printf(s,STR(s));return 0;}\nexec('print s%%repr(s),')\n")
#undef exec
#define exec(X) int main(){printf(s,STR(s));return 0;}
[alias]
st = status
co = checkout
br = branch
ci = commit
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
diff = diff --color
ap = add -p
dc = diff --cached
d = diff
Verifying that +fmobus is my blockchain ID. https://onename.com/fmobus

Keybase proof

I hereby claim:

  • I am fmobus on github.
  • I am fmobus (https://keybase.io/fmobus) on keybase.
  • I have a public key ASAE33NEN7hQgo7We1MAYHyTunR8kZhP0E7HUuTRE-mVwgo

To claim this, I am signing this object: