- Autonomy
- Mastery
- Purpose
- FedEx Days -- Atlassian
- 20% time
| CLPython quick start guide: | |
| Run a string of Python code: (CLPYTHON:RUN "for i in range(4): print i") | |
| Run a Python file: (CLPYTHON:RUN #p"~/example/foo.py") | |
| Start the Python "interpreter" (REPL): (CLPYTHON.APP.REPL:REPL) | |
| To start mixed Python/Lisp input mode: (CLPYTHON.PARSER:ENTER-MIXED-LISP-PYTHON-SYNTAX) | |
| Run the test suite: (ASDF:OPERATE 'ASDF:TEST-OP :CLPYTHON) | |
| ("clpython") | |
| * (asdf:operate 'asdf:load-op :clpython) |
| #!/bin/bash | |
| # | |
| # /etc/rc.d/init.d/procer | |
| # procer This shell script takes care of starting and stoppning | |
| # procer (the user space process manager) | |
| # Author: Pradeep Gowda <pradeep@btbytes.com> | |
| # | |
| # Source function library. | |
| . /etc/init.d/functions |
| * Dev build: | |
| * gcc -Wall -lzmq -o client client.c | |
| * | |
| * Normal build: | |
| * gcc -O2 -DNDEBUG -lzmq -o client client.c && strip client |
| CC = gcc | |
| CFLAGS = -I/opt/enth/include -fPIC -O3 -Wall | |
| LFLAGS = -shared -L/opt/enth/lib -lzmq | |
| INSTALL_PATH = /opt/enth/lib/lua/5.1 | |
| all: zmq.so | |
| zmq.lo: zmq.c | |
| $(CC) -o zmq.lo -c $(CFLAGS) zmq.c |
| $ npm install aws bcrypt canvas coffee-script commonjs redis connect-redis couchapp csv eco github html5 haml hamljs http-console hydra jpeg jquery jslint jsgi json json2 kyoto-tycoon less libxmljs log4js logging lynt markdown markdown-js mysql pg narwhal node-expat node-static png riak riak-js sass socket.io sqlite srand store.js test template underscore uuid websocket-server websocket-client webworker yaml yui-compressor yui3 zeromq |
If builds of Postgresl 9 are failing and you have version 8.x installed, you may need to remove the previous version first. See: https://github.com/mxcl/homebrew/issues/issue/2510
To build plpython against a specific Python, set PYTHON prior to brewing: PYTHON=/usr/local/bin/python brew install postgresql See: http://www.postgresql.org/docs/9.0/static/install-procedure.html
| #!/bin/bash | |
| function flask-boilerplate-tmux | |
| { | |
| # https://github.com/swaroopch/flask-boilerplate | |
| BASE="$HOME/src/flask-boilerplate" | |
| cd $BASE | |
| tmux start-server | |
| tmux new-session -d -s flaskboilerplate -n model |
In the interest of allowing you to run nginx without sudo, the default
port is set to localhost:8080.
If you want to host pages on your local machine to the public, you should
change that to localhost:80, and run sudo nginx. You'll need to turn off
any other web servers running port 80, of course.
You can start nginx automatically on login with: cp /usr/local/Cellar/nginx/0.8.53/org.nginx.plist ~/Library/LaunchAgents launchctl load -w ~/Library/LaunchAgents/org.nginx.plist
| window.open('', '_self', ''); //bug fix | |
| window.close(); |