See a demo on jsFiddle.
Check the inline comments for details.
| # Expires (cache) para sigs, shello@2010/09/13 | |
| ExpiresActive On | |
| ExpiresByType image/png "now plus 12 hours" | |
| # Rewriting para sigs dinamicas | |
| RewriteEngine On | |
| RewriteCond %{REQUEST_FILENAME} !-f | |
| RewriteRule ^(.*)\.(?:php|png)$ _signature.php?user=$1 |
See a demo on jsFiddle.
Check the inline comments for details.
| Este é um apontamento por Carlos Duarte sobre aspectos práticos da Língua | |
| Portuguesa, originalmente alojado em | |
| <http://pagpessoais.iol.pt/~mz17929a/escrever-bem.txt>. | |
| Recuperado da cópia de 3 de Março de 2009 na Wayback Machine do Internet | |
| Archive<web.archive.org>. |
| @-moz-document url-prefix("http://linux.die.net/man/") { | |
| /* | |
| linux.die.net manpages, solarized dark style | |
| */ | |
| body { background: #002b36; color: #839496; } | |
| h1 { border-bottom-color: #586e75; } | |
| h2 { font-size: 1.4em; margin-bottom: 0.2em; } |
| body#home { background: none; } | |
| div#left { display: none; width: 0px; } | |
| div#main { padding-left: 100px !important; } | |
| #main .tabs { padding-left: 12px; margin-top: 20px; } |
| function ncols() { fold -s -w ${1:-80}; } | |
| function pbncols() { | |
| command -v pbpaste >/dev/null 2>&1 && command -v pbcopy >/dev/null | |
| if [[ $? != 0 ]]; then | |
| echo >&2 "pbpaste and pbcopy are required. Aborting." | |
| return 1 | |
| fi | |
| pbpaste | ncols $1 | pbcopy | |
| } |
| #!/usr/bin/env bash | |
| # Public IP logger r2 (2012/04/10) | |
| # Filipe Rodrigues <[email protected]> | |
| # Logs your public IP address into a file | |
| LC_TIME=C # Deactivate for the system time locale | |
| LOGFILE="${HOME}/publicip/publicip.log" # Logfile | |
| CURR_DATE=`date` |
| OUTFILE='files.shasum' find -s . -type f -not -samefile $OUTFILE -exec shasum {} \; > $OUTFILE |
| RewriteEngine On | |
| # Shorturl for online bookmark tags: Pinboard | |
| RewriteRule ^$ https://pinboard.in/u:shello/ [L,R=301] | |
| RewriteRule ^(.*)$ https://pinboard.in/u:shello/t:$1/ [L,R=301] | |
| # Shorturl for online bookmark tags: Delicious | |
| # RewriteRule ^(.*)$ http://delicious.com/ptshello/$1 [R=301] |
| VIRTUALENVWRAPPER_PATH="/usr/local/Cellar/python/2.7.1/bin/virtualenvwrapper.sh" | |
| function virtualenvwrapper () { | |
| if [ ! -n "${VIRTUALENVWRAPPER_SET}" ]; then | |
| source ${VIRTUALENVWRAPPER_PATH} | |
| VIRTUALENVWRAPPER_SET=true | |
| echo "virtualenvwrapper loaded." | |
| fi | |
| } |