This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
function next_highest_multiple($number, $multiple) | |
{ | |
if ( $multiple > $number ) return $multiple; | |
if ( $multiple == 0 ) return 0; | |
return ( ($remainder = $number % $multiple) ? | |
$number + $multiple - $remainder : $number |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
### | |
# Custom tmux configuration cobbled together from google and trial & error | |
# by Eric Marden (xentek.net), heavily modified by David Rogers (@al-the-x). | |
## | |
# set the command prefix to match gnuscreen (i.e. CTRL+a) | |
set-option -g prefix C-a | |
# use the NEW prefix key to "send-prefix" instead of the default | |
unbind-key C-b; bind-key C-a send-prefix |