Author: Kaspars Dambis
kaspars.net / @konstruktors
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
/** | |
* jQuery Resettable - A function to make form fields reset to their initial values when left blank | |
* Copyright (c) 2009 Ben Byrne - ben(at)fireflypartners(dot)com | http://www.fireflypartners.com | |
* Dual licensed under MIT and GPL. | |
* Date: 10/16/2009 | |
* @author Ben Byrne | |
* @version 0.1.0 | |
* | |
*/ |
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
[ESys_Core] | |
;============================================================= | |
; htdocsPath | |
; the server-side path to the application web directory | |
; value: absolute path, ending without a slash | |
;============================================================= | |
htdocsPath = /home/bbyrne/sites/votifi-site |
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
Jumbotron:~ bbyrne$ brew install php54 | |
==> Downloading http://www.php.net/get/php-5.4.4.tar.bz2/from/this/mirror | |
Already downloaded: /Library/Caches/Homebrew/php54-5.4.4 | |
==> ./configure --prefix=/usr/local/Cellar/php54/5.4.4 --disable-debug --localst | |
configure: WARNING: unrecognized options: --enable-sqlite-utf8 | |
checking for grep that handles long lines and -e... /usr/bin/grep | |
checking for egrep... /usr/bin/grep -E | |
checking for a sed that does not truncate output... /usr/bin/sed | |
checking build system type... i386-apple-darwin10.8.0 | |
checking host system type... i386-apple-darwin10.8.0 |
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
#/bin/bash | |
# /home/mazonorg/public_html/cshp_bin/git_monitor.sh | |
# | |
# Purpose: | |
# Monitor mazon.org public HTML directory structure for local changes. | |
# This will alert Cornershop Creative of any potential hacked files. | |
# | |
# Usage: | |
# Install to the server's crontab with the following command, as root. |
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 | |
function sca_map_block_view($delta = '') { | |
$block = array(); | |
$map_path = drupal_get_path('module', 'sca_map'); | |
//drupal_add_js(array('servicemap' => array('current_status' => 'kewl as a kitten')), 'setting'); | |
$display = array( | |
'#markup' => servicemap_all(), |
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
/** | |
* function to test if a given value (string/int) passes a basic ABA routing number checksum | |
*/ | |
function isValidABA(aba) { | |
var numericRegex = /^\d{9}$/, | |
total = null; | |
// just in cases | |
aba = aba.toString(); |
I hereby claim:
- I am drywall on github.
- I am drywall (https://keybase.io/drywall) on keybase.
- I have a public key ASAJZ4OrGfIgeCWLrXvnq96gHuXWDqjr8FytxgdtsPtUfgo
To claim this, I am signing this object: