Skip to content

Instantly share code, notes, and snippets.

View tarsisazevedo's full-sized avatar

Tarsis Azevedo tarsisazevedo

View GitHub Profile
#!/bin/sh
PROJECT_ROOT="$VIRTUAL_ENV/src"
MEDIA_DIR="$VIRTUAL_ENV/.git/media"
python $PROJECT_ROOT/manage.py test
if test "$?" -ne 0
then
notify-send 'Hammertime!' -t 3000 -i $MEDIA_DIR/hammertime.gif
@tarsisazevedo
tarsisazevedo / vimrc
Created November 19, 2010 10:24
My vim configuration file
We couldn’t find that file to show.
@rodrigomanhaes
rodrigomanhaes / call_dynamically.py
Created October 25, 2010 13:44
Dynamic Python x JavaScript
getattr(drew, "battle_cry")()
@rafaelp
rafaelp / empreenda-1.txt
Created September 7, 2010 14:11
Notas sobre empreendedorismo
Vasculhando a papelada em casa encontrei este rascunho.
Acho que foi escrito na palestra pública pré-Empretec.
Não me preocupei em corrigir concordância, quis registrar como foi escrito na ocasião.
***
"Ideia de Negócio" é diferente de "Oportunidade de Negócio"
Empreender
By Klaus Wuestefeld
1) Torne-se excelente.
Seja realmente bom em alguma coisa. Não fique só choramingando ou
querendo progredir às custas dos outros. Não pense q pq vc sentou 4
anos numa faculdade ouvindo um professor falar sobre software q vc
sabe alguma coisa. Jogador de futebol não aprende a jogar bola tendo
aula. Ele pratica. Instrumentistas geniais nao aprendem a tocar tendo
aula. Eles praticam. Pratique. Chegue em casa depois do trabalho e da
'''
>>> calcular('1')
1
>>> calcular('(+ 1 2)')
3
>>> calcular('(+ (- 1 2) 3)')
2