This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
This fabric file makes setting up and deploying a django application much | |
easier, but it does make a few assumptions. Namely that you're using Git, | |
Apache and mod_wsgi and your using Debian or Ubuntu. Also you should have | |
Django installed on your local machine and SSH installed on both the local | |
machine and any servers you want to deploy to. | |
_note that I've used the name project_name throughout this example. Replace | |
this with whatever your project is called._ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
====================================================== | |
Setting up Django using Apache/mod_wsgi on Ubuntu 8.10 | |
====================================================== | |
This article will cover setting up Django using Apache/mod_wsgi on Ubuntu | |
8.10. The article is targeted at a production environment, but keep in mind | |
this is a more generalized environment. You may have different requirements, | |
but this article should at least provide the stepping stones. | |
The article will use distribution packages where nesscary. As of 8.10 the |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env php | |
<?php | |
declare(ticks=1); | |
// setup signal handlers | |
pcntl_signal(SIGTERM, "sig_handler"); | |
pcntl_signal(SIGHUP, "sig_handler"); | |
$children = array(); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
require '../../common/wlGenerator.php'; | |
include_once '../../common/triggermail.php'; | |
require 'SnapFish.php'; | |
include_once 'snapfish_order_completed.php'; | |
/** | |
* WLHandler class | |
* Work list handler for Snapfish | |
* This work list generator will create a work list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
require '../../common/wlGenerator.php'; | |
include_once '../../common/triggermail.php'; | |
require 'SnapFish.php'; | |
include_once 'snapfish_order_completed.php'; | |
/** | |
* WLHandler class | |
* Work list handler for Snapfish | |
* This work list generator will create a work list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
require '../../common/wlGenerator.php'; | |
include_once '../../common/triggermail.php'; | |
require 'SnapFish.php'; | |
include_once 'snapfish_order_completed.php'; | |
/** | |
* WLHandler class | |
* Work list handler for Snapfish | |
* This work list generator will create a work list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
set_time_limit(0); | |
require '../../common/wlGenerator.php'; | |
include_once '../../common/triggermail.php'; | |
require 'SnapFish.php'; | |
include_once 'snapfish_order_completed.php'; | |
/** | |
* WLHandler class | |
* Work list handler for Snapfish | |
* This work list generator will create a work list |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Весы | |
Коротко - эстет хуев. Семь пятниц на неделе - а туда же: пикассо, гогены-хуены, о святое искусство, а ведра мусорного за собой вынести не догадается. Не до того. Всю сознательную жизнь мечется в поисках светлого идеала, поэтому времени на то, чтоб научиться готовить или пришивать пуговицы не находит. Любит принарядиться, при этом заебет всех окружающих, выбирая между вооон тем с перламутровыми пуговичками и воооот этим с шелковой отстрочкой. Не дурак сходить налево, при этом может иметь постоянного партнера и объяснять измены тем, что душой он всегда верен Единственному/ой, а тело - это так, суть прах зловонный. В общем, тот еще гондон. Гоняется за душевным равновесием, которое для Весов в принципе недостижимо, потому что блядская натура всегда перевешивает высокодуховные идеалы. Как и все нерешительные уебаны, зачастую мучается нервическими болезнями навроде псориаза и гастрита. Завистлив, но не злобен. Склонен подставлять задницу, причем делает это исключительно из мазохистической любви к человечеству, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#Config is there http://github.com/spyou/vim-config | |
#Give a go to vimtutor in order to have a little overview of Vim. | |
"open/save" | |
#:w (save) | |
#:q (quit) | |
#:qa (quit all buffers) | |
#:q! (quit without saving) | |
#:wq (save and quit) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta name="viewport" content="initial-scale=1.0, user-scalable=no"/> | |
<script type="text/javascript" src="http://maps.google.com/maps/api/js?sensor=true"></script> | |
<script type="text/javascript" src="http://github.com/mbostock/d3/raw/v1.8.4/d3.js"></script> | |
<style type="text/css"> | |
html, body, #map { | |
width: 100%; |
OlderNewer