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
# Most important thing to import | |
from fabric.api import * | |
# Not necessary, but useful for making timestamps | |
import time | |
# Allows Fabric to use profiles from your ~/.ssh/config file | |
env.use_ssh_config = True | |
def prod(): |
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
/* | |
Proxy PAC Script to block the NYT paywall | |
========================================== | |
Save this file to your local machine (example: my_proxy_config.pac), and then search "[your browser] | |
automatic proxy configuration" to find out how to implement it with your browser. For Firefox, go to | |
Tools -> Options -> Advanced -> Network tab -> Connection box -> Settings, and select Automatic Proxy | |
Configuration URL, and use a format like this for the file: | |
file:///c:/users/me/Dropbox/bin/my_proxy_config.pac |
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
# Wordpress Fabfile, for migrating the database, and deploying w/ git. | |
# For background: "My New & Improved Fabfile for Deploying WordPress" | |
# http://wp.me/p2a3Vy-1b | |
# | |
# This fabfile is specifically-geared for our unique setup, which consists | |
# of 2 servers (local, remote), and 3 sites (local, dev, and prod). Dev and | |
# prod sites both live on the remote server. | |
# | |
# In general, a little bit of the programming happens on a local site, | |
# but the database updates and file uploads (both in Wordpress, and edits |
NewerOlder