“Witchcraft to the ignorant, .... Simple science to the learned”
- Leigh Brackett
https://www.kickstarter.com/projects/460355237/smartibot-the-worlds-first-ai-enabled-cardboard-ro
| I was drawn to programming, science, technology and science fiction | |
| ever since I was a little kid. I can't say it's because I wanted to | |
| make the world a better place. Not really. I was simply drawn to it | |
| because I was drawn to it. Writing programs was fun. Figuring out how | |
| nature works was fascinating. Science fiction felt like a grand | |
| adventure. | |
| Then I started a software company and poured every ounce of energy | |
| into it. It failed. That hurt, but that part is ok. I made a lot of | |
| mistakes and learned from them. This experience made me much, much |
“Witchcraft to the ignorant, .... Simple science to the learned”
- Leigh Brackett
https://www.kickstarter.com/projects/460355237/smartibot-the-worlds-first-ai-enabled-cardboard-ro
Reference(s):
http://www.sourcegear.com/diffmerge/downloads.php - get the installer version, NOT the dmg version
Picking the right architecture = Picking the right battles + Managing trade-offs
| #!/bin/bash | |
| # Stop all containers | |
| containers=`docker ps -a -q` | |
| if [ -n "$containers" ] ; then | |
| docker stop $containers | |
| fi | |
| # Delete all containers | |
| containers=`docker ps -a -q` | |
| if [ -n "$containers" ]; then | |
| docker rm -f -v $containers |
| #!/bin/bash | |
| # Quinn Comendant <quinn@strangecode.com> | |
| # https://gist.github.com/quinncomendant/3be731567e529415d5ee | |
| # Since 25 Jan 2015 | |
| # Version 1.2.2 | |
| # q 13942 0.0 0.3 4408332 22096 ?? SN 7:32PM 0:00.27 /Applications/OpenDNS Roaming Client/RoamingClientMenubar.app/Contents/MacOS/RoamingClientMenubar | |
| # nobody 13937 0.0 0.1 4296740 5164 ?? Ss 7:31PM 0:00.06 /usr/local/sbin/dnscrypt-proxy --user nobody --local-address=127.0.0.1:53 --plugin=libdcplugin_erc.so -d | |
| # root 13903 0.0 0.2 4366308 13752 ?? SNs 7:31PM 0:00.25 /Library/Application Support/OpenDNS Roaming Client/dns-updater |
| #!/usr/bin/env bash | |
| # If you're using docker-machine, call this script with your | |
| # environment name | |
| # Ex: ./vpn_fix dev | |
| DEFAULTVM="boot2docker-vm" | |
| [ $(id -u) = 0 ] || { echo "You must be root (or use 'sudo')" ; exit 1; } | |
| report_success () |
| from django.core.management.commands.shell import Command as ShellCommand | |
| class Command(ShellCommand): | |
| shells = ['ptpython', 'ipython', 'bpython'] | |
| def ptpython(self): | |
| from prompt_toolkit.contrib.repl import embed | |
| embed(globals(), locals(), vi_mode=False, history_filename=None) |
ror, scala, jetty, erlang, thrift, mongrel, comet server, my-sql, memchached, varnish, kestrel(mq), starling, gizzard, cassandra, hadoop, vertica, munin, nagios, awstats
| # | |
| # original: http://code.activestate.com/recipes/65287/ | |
| # | |
| # place in lib/python2.x/sitecustomize.py | |
| import bdb | |
| import sys | |
| def info(type, value, tb): | |
| if hasattr(sys, 'ps1') \ |