As configured in my dotfiles.
start new:
tmux
start new with session name:
| """ | |
| IAM boto examples: | |
| In this example we create a group that provides access | |
| to all EC2 and S3 resources and actions and then add a | |
| user to that group. | |
| """ | |
| import boto | |
| # | |
| # First create a connection to the IAM service |
| #~/.mutt/aliases | |
| alias nick Nicholas Levandoski <nick.levandoski@auglug.org> | |
| alias tim Timothy Pitt <timothy.pitt@auglug.org> | |
| alias steven Steven Jackson <sjackson@auglug.org> | |
| alias kaleb Kaleb Hornsby <kaleb.hornsby@auglug.org> | |
| alias alug-admin nick, tim, steven |
As configured in my dotfiles.
start new:
tmux
start new with session name:
| from collections import Mapping | |
| from twisted.names import dns, server, client, cache | |
| from twisted.application import service, internet | |
| class MapResolver(client.Resolver): | |
| def __init__(self, mapping, servers): | |
| client.Resolver.__init__(self, servers=servers) |
The following shows what to watch out for when making Angular Dart applications. For more information about Angular Dart, see angulardart.org.
| import requests | |
| import random | |
| import xml.dom.minidom | |
| ''' | |
| Simple script to simulate what needs to go in a Freewheel ad request | |
| This example is for VMAP but what needs to be requested is similar on other response types e.g. FW Smart XML | |
| To use Smart XML response just change the resp parameter to "xml" | |
| ''' |
| // XPath CheatSheet | |
| // To test XPath in your Chrome Debugger: $x('/html/body') | |
| // http://www.jittuu.com/2012/2/14/Testing-XPath-In-Chrome/ | |
| // 0. XPath Examples. | |
| // More: http://xpath.alephzarro.com/content/cheatsheet.html | |
| '//hr[@class="edge" and position()=1]' // every first hr of 'edge' class |
| // Solarized for Mosh Chrome | |
| // Mosh does not seem to save profiles, so this sets the default 'mosh' profile. | |
| // To reset, evaluate term_.prefs_.resetAll() | |
| // Run in the JavaScript console of mosh_browser.html, which can be opened | |
| // as explained here: | |
| // https://github.com/rpwoodbu/mosh-chrome/wiki/FAQ#how-can-i-change-the-way-the-terminal-looks-font-color-etc | |
| var htermProfiles = { | |
| // Solarized Dark |