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
| export PATH=$PATH:/Applications/Postgres.app/Contents/Versions/9.4/bin | |
| alias gts='git status' | |
| alias gcm='git commit -m' | |
| alias gpl='git pull' | |
| alias gps='git pull' | |
| alias gpr='git pull --rebase' | |
| alias gadd='git add' | |
| alias gcp='git cherry-pick' | |
| alias runserver='./gradlew jettyRun' | |
| alias runtests='./gradlew clean build' |
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
| function cmatrix_auto(){ | |
| while : | |
| do | |
| read -n 1 -t 100 ch | |
| if [ ! -z "$ch" ] | |
| then | |
| fg | |
| fi |
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
| #coding: utf-8 | |
| import imaplib | |
| import sys | |
| ''' | |
| Simple script that delete emails from a given sender | |
| params: | |
| -username: Gmail username | |
| -pw: gmail pw | |
| -label: If you have a label that holds the emails, specify here |
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
| #coding: utf-8 | |
| numbers = {'1': 'um', '2': 'dois', '3': 'três', '4': 'quatro', '5': 'cinco', | |
| '6': 'seis', '7': 'sete', '8': 'oito', '9': 'nove', '0': 'zero'} | |
| units = ['milhão','milhar', 'centenas', 'dezenas', 'unidades'][::-1] | |
| chars_incidence = {} | |
| def puzzle(n): | |
| fat = 1 |
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
| salt = 65 | |
| def incr(): | |
| compiled[pointer] += 1 | |
| def decr(): | |
| compiled[pointer] -= 1 | |
| def fw(): | |
| global pointer |
NewerOlder