Skip to content

Instantly share code, notes, and snippets.

Desmond Sadler dezman

Block or report user

Report or block dezman

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dezman on github.
  • I am dezman ( on keybase.
  • I have a public key whose fingerprint is C1D9 20E1 3C6E 789E 12DE FFC3 E475 3E1C 171A F7C6

To claim this, I am signing this object:

View shiva.js
// shiva.js
// a jasmine spec loader
// required global
window.jasmineRequire = require('./vendor/jasmine-2.5.2/jasmine.js')
window.specHelper = require('./')
// load jasmine
# math
echo $(( 1 + 1 ))
# look for a process by port number
lsof -i:3000
# look for a process and print its pid
ps aux | grep ruby | awk '{print $2}'
# A more detailed git log
git log -p
# List modified files
git ls-files -m
# Search all git branches for string or regex
git rev-list --all | xargs git grep "string/regex"

Excellent Regexes:

Update Ruby Hashes:

(:|\")(\w+)\"? =>
do ->
local_property = null
Object.defineProperty(@, 'property',
get: -> local_property
set: (val) ->
local_property = val
You can’t perform that action at this time.