Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer
Thanks for stopping by!
Hey! I saw this has been indexed by the search engines. It is a first draft of a post I ended up publishing on my blog at: Scaling PostgreSQL With Pgpool and PgBouncer
Thanks for stopping by!
| $ bitcoin-qt --help | |
| Bitcoin-Qt version v0.7.2-beta | |
| Usage: | |
| bitcoin-qt [command-line options] | |
| Options: | |
| -? This help message | |
| -conf=<file> Specify configuration file (default: bitcoin.conf) | |
| -pid=<file> Specify pid file (default: bitcoind.pid) |
| """:mod:`hstore` --- Using PostgreSQL hstore with SQLAlchemy | |
| ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ | |
| .. note:: | |
| I released it under Public Domain. Feel free to use! | |
| It provides :class:`Hstore` type which makes you to store Python | |
| dictionaries into hstore columns in PostgreSQL. For example:: |
| from flask import Flask, render_template | |
| app = Flask(__name__) | |
| @app.route('/') | |
| @app.route('/index') | |
| def index(chartID = 'chart_ID', chart_type = 'bar', chart_height = 350): | |
| chart = {"renderTo": chartID, "type": chart_type, "height": chart_height,} | |
| series = [{"name": 'Label1', "data": [1,2,3]}, {"name": 'Label2', "data": [4, 5, 6]}] | |
| title = {"text": 'My Title'} |
| from geventwebsocket.handler import WebSocketHandler | |
| from gevent.pywsgi import WSGIServer | |
| from flask import Flask, request, render_template | |
| app = Flask(__name__) | |
| @app.route('/') | |
| def index(): | |
| return render_template('index.html') |
In a perfect world, where things are done well, not just quickly, I would expect to find the following when joining the company:
Documentation
Accurate / up-to-date systems architecture diagram
Accurate / up-to-date network diagram
Out-of-hours support plan
Incident management plan
| import ast | |
| app = lambda name, *args: \ | |
| ast.Call( | |
| func=ast.Name(id=name, ctx=ast.Load(), lineno=0, col_offset=0), | |
| args=list(args), keywords=[], vararg=None, | |
| lineno=0, col_offset=0) | |
| abs = lambda arg, body: \ |
| import sys | |
| from zmq import FORWARDER, PUB, SUB, SUBSCRIBE | |
| from zmq.devices import Device | |
| if __name__ == "__main__": | |
| usage = 'usage: chat_bridge pub_address sub_address' | |
| if len (sys.argv) != 3: | |
| print usage | |
| sys.exit(1) |
| import urllib2 | |
| import re | |
| import sys | |
| from collections import defaultdict | |
| from random import random | |
| """ | |
| PLEASE DO NOT RUN THIS QUOTED CODE FOR THE SAKE OF daemonology's SERVER, IT IS | |
| NOT MY SERVER AND I FEEL BAD FOR ABUSING IT. JUST GET THE RESULTS OF THE | |
| CRAWL HERE: http://pastebin.com/raw.php?i=nqpsnTtW AND SAVE THEM TO "archive.txt" |
| #!/bin/sh | |
| ### BEGIN INIT INFO | |
| # Provides: btsync | |
| # Required-Start: $local_fs $remote_fs | |
| # Required-Stop: $local_fs $remote_fs | |
| # Should-Start: $network | |
| # Should-Stop: $network | |
| # Default-Start: 2 3 4 5 | |
| # Default-Stop: 0 1 6 | |
| # Short-Description: Multi-user daemonized version of btsync. |