(C-x means ctrl+x, M-x means alt+x)
The default prefix is C-b. If you (or your muscle memory) prefer C-a, you need to add this to ~/.tmux.conf:
| <?php | |
| /* Merge multiple RSS feeds with SimplePie | |
| * | |
| * Just modify the path to SimplePie and | |
| * modify the $feeds array with the feeds you want | |
| * | |
| * You should probably also change the channel title, link and description, | |
| * plus I added a CC license you may not want | |
| * | |
| * Help from: http://www.webmaster-source.com/2007/08/06/merging-rss-feeds-with-simplepie/ |
| from __future__ import division | |
| from numpy.fft import rfft | |
| from numpy import argmax, mean, diff, log, nonzero | |
| from scipy.signal import blackmanharris, correlate | |
| from time import time | |
| import sys | |
| try: | |
| import soundfile as sf | |
| except ImportError: | |
| from scikits.audiolab import flacread |
| <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" | |
| "http://www.w3.org/TR/html4/strict.dtd"> | |
| <html> | |
| <head> | |
| <title>PhoneGap Events Example</title> | |
| <script type="text/javascript" charset="utf-8" src="phonegap.0.9.5.js"></script> | |
| <script type="text/javascript" charset="utf-8" src="tts.js"></script> | |
| <script type="text/javascript" charset="utf-8"> |
| # Some good references are: | |
| # http://russbrooks.com/2010/11/25/install-postgresql-9-on-os-x | |
| # http://www.paolocorti.net/2008/01/30/installing-postgis-on-ubuntu/ | |
| # http://postgis.refractions.net/documentation/manual-1.5/ch02.html#id2630392 | |
| #1. Install PostgreSQL postgis and postgres | |
| brew install postgis | |
| initdb /usr/local/var/postgres | |
| pg_ctl -D /usr/local/var/postgres -l /usr/local/var/postgres/server.log start |
| define(function(){ | |
| var instance = null; | |
| function MySingleton(){ | |
| if(instance !== null){ | |
| throw new Error("Cannot instantiate more than one MySingleton, use MySingleton.getInstance()"); | |
| } | |
| this.initialize(); | |
| } |
| package mit.proxy; | |
| import java.lang.reflect.Method; | |
| import java.util.ArrayList; | |
| import javassist.util.proxy.MethodHandler; | |
| import javassist.util.proxy.ProxyFactory; | |
| import javassist.util.proxy.ProxyObject; | |
| public class ProxyCreator { |
| package models; | |
| import java.awt.Graphics2D; | |
| import java.awt.RenderingHints; | |
| import java.awt.Transparency; | |
| import java.awt.image.BufferedImage; | |
| import java.io.ByteArrayOutputStream; | |
| import java.io.File; | |
| import java.io.IOException; |
| trackGAEvent("pin", "clicked", "add_dialogue"); | |
| trackGAEvent("pin", "success", "add_dialogue"); | |
| trackGAEvent("rearrange_board_save", "clicked"); | |
| trackGAEvent("rearrange_board_save", "success"); | |
| trackGAEvent("send_message", "clicked"); | |
| trackGAEvent("send_message", "success"); | |
| trackGAEvent("follow_board", "clicked"); |
| ### INSTALLATION NOTES ### | |
| # 1. Install Homebrew (https://github.com/mxcl/homebrew) | |
| # 2. brew install zsh | |
| # 3. Install OhMyZsh (https://github.com/robbyrussell/oh-my-zsh) | |
| # 4. brew install reattach-to-user-namespace --wrap-pbcopy-pbpaste && brew link reattach-to-user-namespace | |
| # 5. Install iTerm2 | |
| # 6. In iTerm2 preferences for your profile set: | |
| # Character Encoding: Unicode (UTF-8) | |
| # Report Terminal Type: xterm-256color | |
| # 7. Put itunesartist and itunestrack into PATH |