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
| rm -rf $VIRTUAL_ENV/build | |
| ZMQVERSION=zeromq-2.1.11 | |
| wget -O - "http://download.zeromq.org/${ZMQVERSION}.tar.gz" | tar -xvzf - | |
| pushd . > /dev/null | |
| cd $ZMQVERSION | |
| ./configure --prefix $VIRTUAL_ENV | |
| make; make install | |
| ZMQ_DIR=$VIRTUAL_ENV pip install pyzmq | |
| popd > /dev/null | |
| mkdir $VIRTUAL_ENV/src |
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
| rm -rf $VIRTUAL_ENV/build | |
| ZMQVERSION=zeromq-2.1.11 | |
| if [! -d $ZMQVERSION] | |
| then | |
| wget -O - "http://download.zeromq.org/${ZMQVERSION}.tar.gz" | tar -xvzf - | |
| fi | |
| pushd . > /dev/null | |
| cd $ZMQVERSION | |
| ./configure --prefix $VIRTUAL_ENV |
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
| rm -rf $VIRTUAL_ENV/build | |
| ZMQVERSION=zeromq-2.1.11 | |
| if [ ! -d $ZMQVERSION ] | |
| then | |
| wget -O - "http://download.zeromq.org/${ZMQVERSION}.tar.gz" | tar -xvzf - | |
| fi | |
| pushd . > /dev/null | |
| cd $ZMQVERSION | |
| ./configure --prefix $VIRTUAL_ENV |
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 zig | |
| ctx = zig.CTX() | |
| pusher = ctx.push(connect='tcp://0.0.0.0:5560') | |
| payload = dict(action='doula.register', address='http://yourmomshouse', site='yourmomshouse', node='yourmom') | |
| pusher.send_json(payload) |
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
| from pprint import pprint as pp | |
| import inspect as ins | |
| import json | |
| import pdb | |
| st = pdb.set_trace | |
| def pd(obj): | |
| return pp(dir(obj)) |
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
| class Site(object): | |
| """ | |
| Represents a collection of services | |
| """ | |
| def __init__(self, *services): | |
| self.services = services | |
| @property | |
| def taggable(self): | |
| return not any(True for x in self.services if x.state == 'fucked') |
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
| #! /usr/bin/bash | |
| # pip-diff.sh oldreq.txt | |
| reqfile=$1 | |
| pip freeze -l | sort > /tmp/_pip_diff_new.txt | |
| sort $reqfile | diff -u - /tmp/_pip_diff_new.txt |
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
| [circus] | |
| check_delay = 5 | |
| endpoint = tcp://127.0.0.1:5555 | |
| pubsub_endpoint = tcp://127.0.0.1:5556 | |
| stats_endpoint = tcp://127.0.0.1:5557 | |
| [watcher:webworker] | |
| cmd = chaussette --backend=gevent --fd $(circus.socket.webapp) ltweb.tests.allyourbase.application | |
| use_sockets = True | |
| numprocesses = 3 |
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
| Hello. | |
| My name is Miss juliet,i saw your profile today at F/B and became interested in you, | |
| i will also like to know you more,and i want you to send an email to my | |
| email address (julietbemba @yahoo.com)so i can give you my picture for you to know whom i am. | |
| i believe we can move from here.I am waiting for | |
| your mail to my Email address above. |
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
| CONDOM(1) EUNUCH Programmer's Manual CONDOM(1) | |
| NAME | |
| condom - Protection against viruses and prevention of child | |
| processes | |
| SYNOPSIS | |
| condom [options] [processid] |