start new:
tmux
start new with session name:
tmux new -s myname
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| """ | |
| linkedin-query.py | |
| Created by Thomas Cabrol on 2012-12-03. | |
| Customised by Rik Van Bruggen | |
| Copyright (c) 2012 dataiku. All rights reserved. | |
| Building the LinkedIn Graph |
| #!/bin/bash | |
| # Script to cross-compile Pidgin plugins on Linux for Windows. | |
| # Tested to work on Ubuntu 12.04 | |
| PLUGIN_SRC_FILE="$1" | |
| PLUGIN_NAME=$(basename "${PLUGIN_SRC_FILE}") | |
| PLUGIN_NAME="${PLUGIN_NAME%.*}" | |
| PLUGIN_DLL="${PLUGIN_NAME}.dll" |
| #!/bin/sh | |
| # | |
| # Creates a SmartOS VM in VirtualBox (assuming you alread have VirtualBox installed) | |
| # | |
| # This script will: | |
| # * Download the latest live ISO image of SmartOS | |
| # * Create a VirtualBox VM, or update an existing VM with the latest ISO | |
| # * Configure the VM with a zones disk, and boot it! | |
| # | |
| # |
| #!/bin/sh | |
| # Set up the environment. Respect $DISTRIB_CODENAME if it's set. | |
| . /etc/lsb-release | |
| # Fail fast if we're not on Lucid or Oneiric. | |
| if [ $UID != 0 ]; then | |
| echo "You are not root. Installing a package needs root privileges." | |
| exit 1 | |
| fi |
| -- {{{ | |
| -- | |
| -- Autostarting for Awesome <3.4! | |
| -- Add this section to the end of your rc.lua | |
| -- configuration file within ~/.config/awesome/rc.lua | |
| -- | |
| -- If you're using Awesome 3.5 change: | |
| -- add_signal -> connect_signal | |
| -- remove_signal --> disconnect_signal | |
| -- |
| (function(){ | |
| var key = localStorage.wpt_key; | |
| if (!key) { | |
| var prompt = window.__proto__.prompt; | |
| key = prompt('Your WebPagetest API key, please?'); | |
| if (!key) { | |
| return gameOver(); | |
| } | |
| localStorage.wpt_key = key; |