Clone repo:
git clone git://github.com/maccman/juggernaut.git
cd juggernaut
Create Heroku app:
heroku create myapp --stack cedar
heroku addons:add redistogo:nano
git push heroku master
| /************************************************************************** | |
| * OSM2GEO - OSM to GeoJSON converter | |
| * OSM to GeoJSON converter takes in a .osm XML file as input and produces | |
| * corresponding GeoJSON object. | |
| * | |
| * AUTHOR: P.Arunmozhi <[email protected]> | |
| * DATE : 26 / Nov / 2011 | |
| * LICENSE : WTFPL - Do What The Fuck You Want To Public License | |
| * LICENSE URL: http://sam.zoy.org/wtfpl/ | |
| * |
| from django.contrib import admin | |
| from django.contrib.flatpages.models import FlatPage | |
| # Note: we are renaming the original Admin and Form as we import them! | |
| from django.contrib.flatpages.admin import FlatPageAdmin as FlatPageAdminOld | |
| from django.contrib.flatpages.admin import FlatpageForm as FlatpageFormOld | |
| from django import forms | |
| from ckeditor.widgets import CKEditorWidget |
| license: gpl-3.0 | |
| redirect: https://observablehq.com/@mbostock/epicyclic-gearing |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE | |
| Version 2, December 2004 | |
| Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE> | |
| Everyone is permitted to copy and distribute verbatim or modified | |
| copies of this license document, and changing it is allowed as long | |
| as the name is changed. | |
| DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE |
| # saved from: http://pastie.org/private/bclbdgxzbkb1gs2jfqzehg | |
| import sublime | |
| import sublimeplugin | |
| import subprocess | |
| class RunExternalCommand(sublimeplugin.TextCommand): | |
| """ | |
| Runs an external command with the selected text, | |
| which will then be replaced by the command output. |
| *Build* | |
| *Libraries/Cappuccino* | |
| *Libraries/StropheCappuccino* | |
| *Libraries/*/Build/* | |
| *Categories* | |
| *.xCodeSupport* | |
| *Modules/* |
| (ns jquerytest.core) | |
| (def jquery (js* "$")) | |
| (jquery | |
| (fn [] | |
| (-> (jquery "div.meat") | |
| (.html "This is a test.") | |
| (.append "<div>Look here!</div>")))) |
| virtualenv --no-site-packages . | |
| source bin/activate | |
| bin/pip install Django psycopg2 django-sentry | |
| bin/pip freeze > requirements.txt | |
| bin/django-admin.py startproject mysite | |
| cat >.gitignore <<EOF | |
| bin/ | |
| include/ | |
| lib/ | |
| EOF |
Clone repo:
git clone git://github.com/maccman/juggernaut.git
cd juggernaut
Create Heroku app:
heroku create myapp --stack cedar
heroku addons:add redistogo:nano
git push heroku master
Some exercises from the Falsy Values workshops.
The good parts: