This document has now been incorporated into the uWSGI documentation:
http://uwsgi-docs.readthedocs.org/en/latest/tutorials/Django_and_nginx.html
Steps with explanations to set up a server using:
| body { | |
| font-family: Helvetica, arial, sans-serif; | |
| font-size: 14px; | |
| line-height: 1.6; | |
| padding-top: 10px; | |
| padding-bottom: 10px; | |
| background-color: white; | |
| padding: 30px; } | |
| body > *:first-child { |
| #!/bin/bash | |
| # | |
| # (Above line comes out when placing in Xcode scheme) | |
| # | |
| # Inspired by original script by incanus: | |
| # https://gist.github.com/1186990 | |
| # | |
| # Rewritten by martijnthe: | |
| # https://gist.github.com/1379127 | |
| # |
GeoEntity.last
SELECT geo_entities.* FROM geo_entities ORDER BY geo_entities.id DESC LIMIT 1
returns:
County id: 4, eid: nil, pid: nil, ename: nil, etype: 2, created_at: "2011-11-21 06:26:37", updated_at: "2011-11-21 06:26:37"
| #--- | |
| # iPIN - iPhone PNG Images Normalizer v1.0 | |
| # Copyright (C) 2007 | |
| # | |
| # Author: | |
| # Axel E. Brzostowski | |
| # http://www.axelbrz.com.ar/ | |
| # axelbrz@gmail.com | |
| # | |
| # References: |
| // | |
| // NSURL+PathParameters.h | |
| // | |
| // Created by Johan Kool on 27/9/2011. | |
| // Copyright 2011 Koolistov Pte. Ltd. All rights reserved. | |
| // | |
| // Redistribution and use in source and binary forms, with or without modification, are | |
| // permitted provided that the following conditions are met: | |
| // | |
| // * Redistributions of source code must retain the above copyright notice, this list of |
| #!/usr/bin/env ruby -wKU | |
| # Adapted from Brett Terpstra’s original “Markdown to Evernote” service (http://brettterpstra.com/a-better-os-x-system-service-for-evernote-notes-with-multimarkdown/) | |
| # Martin Kopischke 2011 – License: Creative Commons Attribution Share-Alike (CC BY-SA) 3.0 Unported (http://creativecommons.org/licenses/by-sa/3.0/) | |
| # Changes: – create only one Evernote note per (Multi)Markdown input passed (instead of one per line) | |
| # – do not choke on shell escape characters (use Tempfile instead of shell pipe for osascript) | |
| # – default to MultiMarkdown 3 executable (instead of MMD 2 Perl script) | |
| # – make smart typography processing optional (set SMARTY to 'false' to bypass processing; | |
| # note smart typography cannot be disabled in MMD 3.0 and 3.0.1 | |
| # – handle both smart typography processing scripts (ie. SmartyPants.pl) |