This file contains hidden or 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
" Show line numbers | |
set number | |
" Use hard tabs, render as four spaces | |
set noexpandtab | |
set shiftwidth=4 | |
set softtabstop=4 | |
set tabstop=4 | |
set autoindent |
This file contains hidden or 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 | |
/** | |
* Convert a number from one base to another | |
* Modelled after PHP's base_convert(), but able to handle base73 | |
* | |
* @param string $num The number to convert | |
* @param int $from The base from which to convert | |
* @param int $to The base to which to convert | |
* | |
* @return string The converted number |
This file contains hidden or 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
/** | |
* enabledOnClick | |
* | |
* Disabled specified form inputs until they are clicked. | |
* This reduces overhead in HTTP by transmitting less data | |
* Server Scripts by parsing fewer fields | |
* SQL by sending fewer record UPDATEs | |
* | |
* To specify an input for inclusion add class="js-enabledOnClick" | |
*/ |