This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
This gist is part of a blog post. Check it out at:
http://jasonrudolph.com/blog/2011/08/09/programming-achievements-how-to-level-up-as-a-developer
#!/usr/bin/env sh | |
# according to http://octopress.org/docs/setup/rvm/ | |
# !! notice the line about bash and zsh!!! | |
sudo apt-get install build-essential openssl libreadline6 libreadline6-dev curl git-core zlib1g zlib1g-dev libssl-dev libyaml-dev libsqlite3-dev sqlite3 libxml2-dev libxslt-dev autoconf libc6-dev ncurses-dev automake libtool bison subversion | |
bash -s stable < <(curl -s https://raw.github.com/wayneeseguin/rvm/master/binscripts/rvm-installer) |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discussions around concrete examples, not handy-waving abstractions. Don't say you did something, provide a URL that proves it.
Nothing is real until it's being used by a real user. This doesn't mean you make a prototype in the morning and blog about it in the evening. It means you find one person you believe your product will help and try to get them to use it.
http://svn.python.org/projects/sandbox/trunk/setuptools/doc/formats.txt | |
https://python-packaging-user-guide.readthedocs.org/en/latest/index.html | |
http://guide.python-distribute.org/index.html | |
http://www.scotttorborg.com/python-packaging/everything.html | |
http://docs.python.org/2/install/index.html | |
http://docs.python.org/2/distutils/setupscript.html | |
http://hynek.me/articles/sharing-your-labor-of-love-pypi-quick-and-dirty/ | |
http://pythonhosted.org/distribute/setuptools.html#automatic-script-creation |
# For address model | |
class AddressResource(ModelResource): | |
street_name = fields.CharField() | |
suburb = fields.CharField() | |
# For organization model | |
class OrganizationResource(ModelResource): | |
address = fields.ToOneField(AddressResource, 'address') | |
# Now when you get /api/v1/organization |
root@sckor-in:/usr/local/src/node/node-v0.10.18# ping keyserver.ubuntu.com | |
PING keyserver.ubuntu.com (91.189.89.49) 56(84) bytes of data. | |
From leszi.canonical.com (91.189.93.244) icmp_seq=11 Destination Host Unreachable | |
^C | |
--- keyserver.ubuntu.com ping statistics --- | |
15 packets transmitted, 0 received, +1 errors, 100% packet loss, time 14014ms | |
pipe 2 |
✘ ~/www/Hiive/sckor-in ± master ./deploy nko | |
○ deploying | |
○ hook pre-deploy | |
○ fetching updates | |
Fetching origin | |
ERROR: Repository not found. | |
fatal: The remote end hung up unexpectedly | |
error: Could not fetch origin | |
fetch failed |
Meteor.startup(function () { | |
Deps.autorun(function () { | |
var selected = Session.get("selected"); | |
if (selected) { | |
var hiive = Hiives.findOne(selected); | |
if (hiive) { | |
Meteor.subscribe("messages", hiive._id); | |
Meteor.subscribe("activeUsers", hiive._id); | |
} |
I hereby claim:
To claim this, I am signing this object:
// put this as the filter and enable 'regex' | |
^((?!extensions::).)*$ |