(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
:
# tmux config | |
# jwc | |
# see my blog post about tmux for more information | |
# http://blog.jwcxz.com/?p=517 | |
set -g bell-action any | |
set -g default-terminal screen-256color | |
set -g display-panes-colour red | |
set -g message-bg cyan | |
set -g message-fg white |
#!/bin/bash | |
iatest=$(expr index "$-" i) | |
####################################################### | |
# SOURCED ALIAS'S AND SCRIPTS BY zachbrowne.me | |
####################################################### | |
# Source global definitions | |
if [ -f /etc/bashrc ]; then | |
. /etc/bashrc |
@media (min-width:320px) { /* smartphones, portrait iPhone, portrait 480x320 phones (Android) */ } | |
@media (min-width:480px) { /* smartphones, Android phones, landscape iPhone */ } | |
@media (min-width:600px) { /* portrait tablets, portrait iPad, e-readers (Nook/Kindle), landscape 800x480 phones (Android) */ } | |
@media (min-width:801px) { /* tablet, landscape iPad, lo-res laptops ands desktops */ } | |
@media (min-width:1025px) { /* big landscape tablets, laptops, and desktops */ } | |
@media (min-width:1281px) { /* hi-res laptops and desktops */ } |
<?php | |
add_action( 'shutdown', function(){ | |
foreach( $GLOBALS['wp_actions'] as $action => $count ) | |
printf( '%s (%d) <br/>' . PHP_EOL, $action, $count ); | |
}); |
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |