Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
| Day job: Day CQ Enterprise Java Content Management System Expert and Adobe Technology Evangelist | |
| Favorite Python project: pypy | |
| Favorite Conference: icfp | |
| Python Experience Level: web scaling in the cloud |
| #!/bin/sh | |
| ## | |
| ## netscreen/jnpr ssl vpn connection magic | |
| ## [email protected] / @oogali | |
| ## | |
| ## i wrote this about a year ago (2009), when i had continuous access | |
| ## to a jnpr ssl vpn box and had to connect via it. | |
| ## | |
| ## if bits of this script are broken, i'll be glad to fix if someone | |
| ## gives me client access to a ssl vpn box to test against. |
| import sys | |
| sys.setrecursionlimit(999999999) | |
| class Solver(object): | |
| def __init__(self, coins): | |
| self.coins = coins | |
| self.path = {} | |
| self.memo = {} | |
| def cost(self, cents): | |
| if cents == 0: |
Consumer key: IQKbtAYlXLripLGPWd0HUA
Consumer secret: GgDYlkSvaPxGxC4X8liwpUoqKwwr3lCADbz8A7ADU
Consumer key: 3nVuSoBZnx6U4vzUxf5w
Consumer secret: Bcs59EFbbsdF6Sl9Ng71smgStWEGwXXKSjYvPVt7qys
Consumer key: CjulERsDeqhhjSme66ECg
They want food so they wait. And end up eating each other.
WAT?
| """A little script to recover deleted recording of a mongoDB db file | |
| There's no optimization but it work and has saved me | |
| """ | |
| import struct | |
| import bson | |
| import sys | |
| <VirtualHost *:80> | |
| RewriteEngine On | |
| RewriteMap lowercase int:tolower | |
| # if already rewitten and we have the right path, stop right here | |
| #RewriteCond /var/www/vhosts/${lowercase:%{SERVER_NAME}/htdocs} !-d | |
| #RewriteRule ^/(.*)$ /var/www/vhosts/_default/htdocs/$1 [L,E=VHOST_ROOT:/var/www/vhosts/_default/htdocs] | |
| RewriteRule ^(/var/www/vhosts/[^/]+/.*)$ $1 |