This file contains hidden or 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 hidden or 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
===================== | |
Readernaut Public API | |
===================== | |
1.0 (pre-release) | |
================= | |
Reader Books | |
------------ |
This file contains hidden or 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
#!/bin/sh | |
# on ubuntu: need some utils & dev libs | |
sudo apt-get install apache2-utils openssl libssl-dev libpcre3-dev | |
# compile nginx | |
cd /tmp | |
curl http://nginx.org/download/nginx-0.7.64.tar.gz | tar xz | |
cd nginx* | |
./configure --with-http_ssl_module --with-http_dav_module \ |
This file contains hidden or 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
emacs -q --eval '(condition-case err (progn (load "~/.emacs") (kill-emacs 0)) (error (kill-emacs 1)))' | |
# Source http://groups.google.com/group/gnu.emacs.help/browse_thread/thread/bed5b2bd8b237f5a?pli=1 |
This file contains hidden or 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
(defvar org-my-archive-expiry-days 1 | |
"The number of days after which a completed task should be auto-archived. | |
This can be 0 for immediate, or a floating point value.") | |
(defconst org-my-ts-regexp "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]>\r\n]*?\\)[]>]" | |
"Regular expression for fast inactive time stamp matching.") | |
(defun org-my-closing-time () | |
(let* ((state-regexp | |
(concat "- State \"\\(?:" (regexp-opt org-done-keywords) |
This file contains hidden or 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
(defvar org-my-archive-expiry-days 1 | |
"The number of days after which a completed task should be auto-archived. | |
This can be 0 for immediate, or a floating point value.") | |
(defconst org-my-ts-regexp "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]>\r\n]*?\\)[]>]" | |
"Regular expression for fast inactive time stamp matching.") | |
(defun org-my-closing-time () | |
(let* ((state-regexp | |
(concat "- State \"\\(?:" (regexp-opt org-done-keywords) |
This file contains hidden or 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
(defvar org-my-archive-expiry-days 1 | |
"The number of days after which a completed task should be auto-archived. | |
This can be 0 for immediate, or a floating point value.") | |
(defconst org-my-ts-regexp "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]>\r\n]*?\\)[]>]" | |
"Regular expression for fast inactive time stamp matching.") | |
(defun org-my-closing-time () | |
(let* ((state-regexp | |
(concat "- State \"\\(?:" (regexp-opt org-done-keywords) |
This file contains hidden or 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
(defvar org-my-archive-expiry-days 1 | |
"The number of days after which a completed task should be auto-archived. | |
This can be 0 for immediate, or a floating point value.") | |
(defconst org-my-ts-regexp "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]>\r\n]*?\\)[]>]" | |
"Regular expression for fast inactive time stamp matching.") | |
(defun org-my-closing-time () | |
(let* ((state-regexp | |
(concat "- State \"\\(?:" (regexp-opt org-done-keywords) |
This file contains hidden or 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
(defvar org-my-archive-expiry-days 1 | |
"The number of days after which a completed task should be auto-archived. | |
This can be 0 for immediate, or a floating point value.") | |
(defconst org-my-ts-regexp "[[<]\\([0-9]\\{4\\}-[0-9]\\{2\\}-[0-9]\\{2\\} [^]>\r\n]*?\\)[]>]" | |
"Regular expression for fast inactive time stamp matching.") | |
(defun org-my-closing-time () | |
(let* ((state-regexp | |
(concat "- State \"\\(?:" (regexp-opt org-done-keywords) |
This file contains hidden or 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
[ui] | |
username = Josh Ourisman <[email protected]> | |
[extensions] | |
fetch= | |
hgext.mq= | |
hgext.convert= | |
color= | |
rebase= | |
hgsubversion=~/.hg.d/hgsubversion/hgsubversion |