First, warm up your system.
$ easy_install pip
$ pip install virtualenv
$ pip install django
$ gem install heroku| #!/bin/bash | |
| active_interface=`netstat -rn | grep 'default' | awk '{print $6}'` | |
| ifconfig | grep -A 1 $active_interface | grep 'inet ' | awk '{printf $2}' |
| [alias] | |
| ready = init | |
| some = clone | |
| down = pull | |
| up = push | |
| lost = stash | |
| found = stash pop | |
| overit = stash clear | |
| in = add | |
| out = rm |
| # .irbrc | |
| if defined?(Rails) && Rails.production? | |
| conf = IRB.conf[:PROMPT][IRB.conf[:PROMPT_MODE]] | |
| red = "\033[0;31m" | |
| reset = "\033[0m" | |
| [:PROMPT_S, :PROMPT_C].each do |p| | |
| conf[p].gsub!(/^(.*)$/, "#{red}\\1#{reset}") | |
| end | |
| conf[:PROMPT_I] = "#{red}%N(%m):%03n:%i (PRODUCTION) > #{reset}" | |
| end |
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8"> | |
| <title></title> | |
| <link rel="stylesheet" href="../libs/mocha.css" type="text/css" media="screen" title="no title" charset="utf-8"> | |
| </head> | |
| <body> | |
| <div id="mocha"></div> | |
| <script src="../libs/mocha.js" type="text/javascript" charset="utf-8"></script> |
| # Font Squirrel Font-face Generator Configuration File | |
| # Upload this file to the generator to recreate the settings | |
| # you used to create these fonts. | |
| {"mode":"expert","formats":["ttf","woff","eot","svg"],"tt_instructor":"default","options_subset":"advanced","subset_custom":"","subset_custom_range":"f000-f073,f200-f273","filename_suffix":"-webfont","emsquare":"2048","spacing_adjustment":"0","rememberme":"Y"} |
| #!/usr/bin/env python | |
| from __future__ import with_statement # needed for python 2.5 | |
| from fabric.api import * | |
| from fabric.contrib.console import confirm | |
| # ================================================================ | |
| # NOTE: | |
| # using this fabfile expects that you have the python utility | |
| # fabric installed locally, ssh access to reamea.com, and your | |
| # ssh public key associated with the account '[email protected]' |
| #!/usr/bin/env python | |
| # -*- coding: utf-8 -*- | |
| """ | |
| fabfile for Django | |
| ------------------ | |
| see http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
| modified for fabric 0.9/1.0 by Hraban (fiëé visuëlle) | |
| several additions, corrections and customizations, too |