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/php -q | |
<?php | |
// set to true to avoid ' and " converting to HTML special characters | |
@define('skip_glyphs', false); | |
// 3+ uppercase span tag is commented out, as everyone hates it | |
// instruction on how to use it available here: http://foliovision.com/2011/11/08/textile-editing-bbedit | |
// define these before including this file to override the standard glyphs |
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
-- Thanks to hristopher Stone | |
tell application "BBEdit" | |
set textDocument1 to a reference to text of text document 1 | |
tell textDocument1 | |
tell line (startLine of selection) | |
if startLine > 1 then | |
set lineContent to contents | |
if (length of lineContent = 1) and (lineContent is not " ") then | |
set prevLineContent to contents of textDocument1's line ((startLine) - 1) | |
tell application "BBEdit" to replace "." using lineContent searchingString prevLineContent options {search mode:grep} |
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
""" | |
NOTES: | |
* Originally from http://morethanseven.net/2009/07/27/fabric-django-git-apache-mod_wsgi-virtualenv-and-p/ | |
* Patches for fabric 0.9/1.0 with code from <http://github.com/fiee/generic_django_project/> | |
Changes from the original fabfile: | |
* Patches for Fabric 0.9/1.0 | |
* Use Mercurial instead of Git | |
* Use named mercurial branches instead of head/tip |