(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:
| object scala { | |
| val version = "SCALA_VERSION$" | |
| } | |
| val xml = <dependencies> | |
| <dependency> | |
| <groupId>org.scalanlp</groupId> | |
| <artifactId>scalala_${scala.version}</artifactId> | |
| <version>0.3.1</version> | |
| </dependency> | 
| _complete_ssh_hosts () | |
| { | |
| COMPREPLY=() | |
| cur="${COMP_WORDS[COMP_CWORD]}" | |
| comp_ssh_hosts=`cat ~/.ssh/known_hosts | \ | |
| cut -f 1 -d ' ' | \ | |
| sed -e s/,.*//g | \ | |
| grep -v ^# | \ | |
| uniq | \ | |
| grep -v "\[" ; | 
| # Quick fork by @mcjim to add stash status and tweak to suit his style. | |
| # http://henrik.nyh.se/2008/12/git-dirty-prompt | |
| # http://www.simplisticcomplexity.com/2008/03/13/show-your-git-branch-name-in-your-prompt/ | |
| # host dir master $ # clean working directory | |
| # host dir master* $ # dirty working directory | |
| # host dir master*^ $ # dirty working directory with stash | |
| # host dir master^ $ # clean working directory with stash | |
| function parse_git_dirty { | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit, working directory clean" ]] && echo "*" | 
| var http = require('http'); | |
| var sys = require('sys'); | |
| var exec = require('child_process').exec; | |
| var util = require('util'); | |
| var fs = require('fs'); | |
| http.createServer(function(request, response) { | |
| var dummyContent = '<!doctype html><html><head><title>Test</title><meta charset="utf-8"></head><body><p>Hello world!</p></body></html>'; | |
| var htmlFileName = "page.html", pdfFileName = "page.pdf"; | |
| #!/bin/bash | |
| echo "Generating an SSL private key to sign your certificate..." | |
| openssl genrsa -des3 -out myssl.key 1024 | |
| echo "Generating a Certificate Signing Request..." | |
| openssl req -new -key myssl.key -out myssl.csr | |
| echo "Removing passphrase from key (for nginx)..." | |
| cp myssl.key myssl.key.org | |
| openssl rsa -in myssl.key.org -out myssl.key | 
| #!/bin/bash | |
| sudo apt-get update | |
| sudo apt-get install build-essential curl git | |
| git clone git://github.com/creationix/nvm ~/nvm | |
| . ~/nvm/nvm.sh | |
| nvm install v0.8.1 | 
| package ##_USE_YOUR_PACKAGE_HERE#; | |
| /* | |
| * Copyright (C) 2008 The Android Open Source Project | |
| * | |
| * Licensed under the Apache License, Version 2.0 (the "License"); | |
| * you may not use this file except in compliance with the License. | |
| * You may obtain a copy of the License at | |
| * | 
| #!/usr/bin/env ruby | |
| # | |
| file_location = File.dirname(__FILE__) | |
| $:.unshift(File.join(file_location, 'aws-sdk-for-ruby', 'lib')) | |
| require 'yaml' | |
| require 'aws-sdk' | |
| require 'Date' | |
| aws_config_file = File.join(File.dirname(__FILE__), 'aws_config.yml') | 
| { | |
| "IAB1": "Arts & Entertainment", | |
| "IAB1-1": "Books & Literature", | |
| "IAB1-2": "Celebrity Fan/Gossip", | |
| "IAB1-3": "Fine Art", | |
| "IAB1-4": "Humor", | |
| "IAB1-5": "Movies", | |
| "IAB1-6": "Music", | |
| "IAB1-7": "Television", | |
| "IAB2": "Automotive", |