(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:
| #!/bin/bash | |
| # Start/stop an EC2 instance for use as an ssh tunnel | |
| # requires the aws package locally -- sudo apt-get install awscli | |
| # | |
| # usage: ./tunnel.sh start (spin up EC2 and create the tunnel) | |
| # ./tunnel.sh stop (terminate the EC2 instance to save money) | |
| # ./tunnel.sh resume (in case your tunnel is interrupted but the EC2 instance is still running) | |
| # CHANGE THE PARAMETERS BELOW |
| #!/usr/bin/ruby | |
| # WebExcursions, a script for gathering new Pinboard links with a certain tag | |
| # and generating Markdown/Jekyll posts when enough are collected. | |
| # Brett Terpstra 2013 | |
| # | |
| # -f to force writing out current bookmarks to file regardless of count | |
| %w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename| | |
| require filename | |
| end |
| #!/usr/bin/ruby | |
| # WebExcursions, a script for gathering new Pinboard links with a certain tag | |
| # and generating Markdown/Jekyll posts when enough are collected. | |
| # Brett Terpstra 2013 | |
| # | |
| # -f to force writing out current bookmarks to file regardless of count | |
| %w[fileutils set net/https zlib rexml/document time base64 uri cgi stringio].each do |filename| | |
| require filename | |
| end |
| # This is not a complete Nginx configuration! It only shows the relevant parts for integrating Diaspora. | |
| # [...] | |
| http { | |
| # Your standard server configuration goes here | |
| # [...] | |
| # This vhost just redirects to HTTPS |
| # set to true to force inline links | |
| inline: false | |
| # set to true to add titles to links based on site title | |
| include_titles: false | |
| # change this to set a specific country for search (default US) | |
| country_code: US | |
| # set to true to include a random string in ref titles |
| <?xml version="1.0" encoding="UTF-8"?> | |
| <!DOCTYPE plist PUBLIC | |
| "-//Apple//DTD PLIST 1.0//EN" | |
| "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
| <plist version="1.0"> | |
| <dict> | |
| <key>Label</key> | |
| <string>mac.bitlbee</string> | |
| <key>ProgramArguments</key> | |
| <array> |
| require "rubygems" | |
| require "bundler/setup" | |
| require "stringex" | |
| require "twitter" | |
| ## -- Rsync Deploy config -- ## | |
| # Be sure your public key is listed in your server's ~/.ssh/authorized_keys file | |
| ssh_user = "[email protected]" | |
| ssh_port = "22" | |
| document_root = "~/website.com/" |
| tell application "Google Chrome" | |
| activate | |
| set theUrl to "http://tycho.usno.navy.mil/cgi-bin/timer.pl" | |
| if (count every window) = 0 then | |
| make new window | |
| end if | |
| set found to false | |
| set theTabIndex to -1 |
| tell application "Google Chrome" | |
| activate | |
| set theUrl to "http://server.network:8000/live?cameraNum=0&viewMethod=0&imageSize=0&57229" | |
| if (count every window) = 0 then | |
| make new window | |
| end if | |
| set found to false | |
| set theTabIndex to -1 |