Skip to content

Instantly share code, notes, and snippets.

View shuhblam's full-sized avatar

Cole Gillespie shuhblam

  • Tanium
  • Raleigh, North Carolina
View GitHub Profile
@shuhblam
shuhblam / Ledger_3_commands.dat
Created December 27, 2018 16:47 — forked from agaviria/Ledger_3_commands.dat
Collection of ledger-cli commands
# comments example for .dat or .ledger files
@smallexample
; This is a single line comment,
# and this,
% and this,
| and this,
* and this.
# If you have a deeply nested tree of accounts,
# it may be convenient to define an alias, for example:
@shuhblam
shuhblam / gist:f7d355e28c68d82e48a8
Last active September 10, 2015 15:39 — forked from paulirish/gist:4158604
Learn JavaScript concepts with recent DevTools features

Learn JavaScript concepts with the Chrome DevTools

Authored by Peter Rybin , Chrome DevTools team

In this short guide we'll review some new Chrome DevTools features for "function scope" and "internal properties" by exploring some base JavaScript language concepts.

Closures

Let's start with closures – one of the most famous things in JS. A closure is a function, that uses variables from outside. See an example:

{
"total_rows": 132,
"offset": 110,
"rows": [{
"id": "ef3371b1-13f6-451f-a3d0-e2b02941faa5",
"key": ["2012-08-15T04:30:57+00:00"],
"value": {
"url": "http://www.zeit.de/gesellschaft/zeitgeschehen/2012-08/quiz-ramadan",
"title": "Kennen Sie die Regeln des Ramadan?",
"data": {
@shuhblam
shuhblam / otsbjs.md
Created May 30, 2012 12:35 — forked from janl/otsbjs.md
Open Tech School Berlin JS

In the spirit of Railsgirls Berlin, we want to start a programming education group for JavaScript. We need your help to get all the coaching done.

If you are interested in coaching JavaScript, fork this gist and add yourself or leave your contact data in a comment: