Requirements:
If you're on OSX you're probably best off using Homebrew to install this stuff:
$ brew install node mongodb
Usage:
import mechanize | |
import urllib | |
BASE_URL = 'http://my-reddit' | |
THREAD = BASE_URL + '/r/reddit/particular-thread' | |
class Transaction(object): | |
def __init__(self): | |
self.user = 'redditor' | |
self.pass = 'password' |
This tutorial guides you through creating your first Vagrant project.
We start with a generic Ubuntu VM, and use the Chef provisioning tool to:
Afterwards, we'll see how easy it is to package our newly provisioned VM
# This example relies on you having installed PyJWT, `sudo easy_install PyJWT` - you can | |
# read more about this in the GitHub repository https://github.com/progrium/pyjwt | |
from flask import Flask, request, redirect | |
import time | |
import uuid | |
import jwt | |
# insert token here | |
app.config['SHARED_KEY'] = '' |
*.pyc | |
.DS_Store | |
# Packages | |
*.egg | |
*.egg-info | |
dist | |
build | |
eggs | |
parts |
Ideas are cheap. Make a prototype, sketch a CLI session, draw a wireframe. Discuss around concrete examples, not hand-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.
<?php | |
class ExampleTest extends TestCase { | |
public function setUp() | |
{ | |
parent::setUp(); | |
DB::beginTransaction(); | |
} |
// api/models/Account.js | |
module.exports = { | |
attributes: { | |
acct_id: { | |
type: 'int', | |
primaryKey: true | |
}, | |
loginName: { | |
type: 'string', |