Skip to content

Instantly share code, notes, and snippets.

View mason-stewart's full-sized avatar
🎃
無敵

Mason Stewart mason-stewart

🎃
無敵
  • Bookshop.org
  • NeW eNgLaNd
View GitHub Profile
;; User behaviors
;; -----------------------------
;; Behaviors are stored as a set of diffs that are merged together
;; to create the final set of functionality that makes up Light Table. You can
;; modify these diffs to either add or subtract functionality.
;;
;; Behaviors are added to tags, objects with those tags then automatically gain
;; whatever logic the behavior imparts. To see a list of user-level behaviors,
;; start typing a word related to the functionality you want in between the square
;; brackets (e.g. "theme").
<html></html>
<div class="images-container">
<div class="image-slider">
</div>
</div>
<div class="button-container">
<div class="button previous">&lt;&lt;</div>
<div class="button play">&#9654
</div>
<div class="button stop">&#9608</div>
|---------------------------------| IZZZOZ$ZZZZODDDNNND8OO8OO7Z
| You ring the Bell of Opening. | ?O8O88O8Z$88888NNNNNDZ$ZZOO7I
| | ?8ZO8DDDOO8NNNMNNN8NNDOZZZZZOZ?
| The Bell of Opening issues an | I8OOZZDNNDDDNNMMMMMM8MDDNDD88888O=
| unsettling shrill sound. | 7888ZO8NNMMD8NMMNMMNMNNMMNDNDNNNDDDO
| | ?OOODO8NNNDDDD8NNMMMMMNMNMNDDNNNNNND87
| | =O$888D88ZZZOODNMNMMMNNNNNNNMMMNNNNDD88?~
| Patrick Swayze materializes | I$ZODDNDNNNMMMMMMMND8OZZOO8DNMMMNNNDD8N8I
| out of the haunting mist. | $OODDNNMMMMNNNND888Z$$7$$$ZO8DMNNNDNDD8DO~
@mason-stewart
mason-stewart / shortcuts for being coo.md
Last active August 29, 2015 14:05
How to be cool with keyboard shortcuts omg
// move the beginning of line
ctrl + a

// move the end of line
ctrl + e

// move up a line
ctrl + p
@mason-stewart
mason-stewart / config.json
Last active August 29, 2015 14:09 — forked from anonymous/config.json
TD config for boostrap
{
"vars": {
"@gray-base": "#000",
"@gray-darker": "lighten(@gray-base, 13.5%)",
"@gray-dark": "lighten(@gray-base, 20%)",
"@gray": "lighten(@gray-base, 33.5%)",
"@gray-light": "lighten(@gray-base, 46.7%)",
"@gray-lighter": "lighten(@gray-base, 93.5%)",
"@brand-primary": "darken(#428bca, 6.5%)",
"@brand-success": "#5cb85c",

Keybase proof

I hereby claim:

  • I am masondesu on github.
  • I am masondesu (https://keybase.io/masondesu) on keybase.
  • I have a public key whose fingerprint is 43B7 88B3 08F9 5A29 5852 DC20 24E7 0C50 159B 776E

To claim this, I am signing this object:

@mason-stewart
mason-stewart / barf.js
Last active August 29, 2015 14:14
wow
function zipPrint(array) {
console.log('parent array length is ', array.length);
_.each(array[0], function(item, index){
_.times(array.length, function(parentIndex){
console.log(array[parentIndex][index]);
})
})
}
{
"caret_style": "smooth",
"close_windows_when_empty": true,
"color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme",
"draw_white_space": "selection",
"file_exclude_patterns":
[
"*.pyc",
"*.pyo",
"*.exe",
@mason-stewart
mason-stewart / Excercise 2
Created March 3, 2011 20:18
just testing out some closures
countdown = (function(){
var index;
function log(){
console.log(index);
}
function iterate(){
log();
if(index>1) setTimeout(iterate, 1000);