Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
# Grab a Magento extension by the balls... I mean source. | |
wget http://connect.magentocommerce.com/core/get/Mage_Cybersource-1.1.2.tgz |
Open the postgresql.conf config file:
$> mate /usr/local/var/postgres/postgresql.conf
Uncomment the line with 'log_destination' and set it to 'syslog'
log_destination = 'syslog'
Open the syslog config:
# Tell system when Xcode utilities live: | |
sudo xcode-select -switch /Applications/Xcode.app/Contents/Developer | |
# Set "opendiff" as the default mergetool globally: | |
git config --global merge.tool opendiff |
Each of these commands will run an ad hoc http static server in your current (or specified) directory, available at http://localhost:8000. Use this power wisely.
$ python -m SimpleHTTPServer 8000
from pyquery import PyQuery | |
import requests | |
from random import choice | |
url = 'http://www.johnsmarketplace.com/Kegs/' | |
query = 'td table tr' | |
def main(): |
The official AWS command line tools, have support for configuration profiles. See Configuring the AWS Command Line Interface - Named Profiles.
Managing multiple profiles with the AWS CLI itself is relatively straight forward, switching between them with --profile
flag on the command line or the AWS_PROFILE
environment variable.
These helpers extend that functionality for convenience with other tools in the ecosystem.