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
------------------------------------------------------------ | |
/Users/leandroardissone/workspace/Envs/mitmproxy/bin/pip run on Wed Nov 21 12:06:49 2012 | |
Downloading/unpacking lxml | |
Running setup.py egg_info for package lxml | |
Building lxml version 3.0.1. | |
Building without Cython. |
%2520-%2520Default%2520Colors.jpg)
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
import os | |
from datetime import datetime, timedelta | |
root_destino = 'C:\\backups\\' # windows | |
root_destino = '/Users/leandroardissone/Downloads/test-backup' # unix | |
root = 'D:\\aaaa\\Downloads\\' # windows | |
root = '/Users/leandroardissone/Downloads/' # unix | |
carpetas = [ # relativas, dentro de root |
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
{ | |
sortable_key: { | |
'en-US': 'some text', | |
'es-AR': 'otro texto' | |
} | |
... | |
} |
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
{ | |
"something": [ | |
"item 1", | |
"item 2", | |
"item 3", | |
"....", | |
"item n" | |
] | |
} |
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
server { | |
listen 80; | |
client_max_body_size 4G; | |
access_log /var/sites/webapp/logs/access.maintenance.log; | |
error_log /var/sites/webapp/logs/error.maintenance.log info; | |
server_name api.webapp.com; | |
# this guy redirects any path to /api.json |
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
""" | |
db.seq.insert({_id: 'pacientes', seq: 1}) | |
""" | |
from django.conf import settings | |
from pymongo import Connection | |
DATABASES = settings.DATABASES |
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
# ... | |
SUBDOMAINS = { | |
'manager': { | |
'urlconf': 'urls', | |
'domain': 'manager.domain.com' | |
}, | |
'clients': { | |
'urlconf': 'clients.urls', | |
'domain': 'clients.domain.com' |
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
on run | |
tell application "Google Chrome" | |
set musicTab to (first tab of every window whose title contains "Music Beta") | |
try | |
execute musicTab javascript "SJBpost('playPause');" | |
end try | |
end tell | |
end run |
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
python -m smtpd -n -c DebuggingServer localhost:1025 |