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
| // ==UserScript== | |
| // @name Hide Unnessary Campfire Messages | |
| // @namespace http://www.trevmex.com | |
| // @description Hide everything but text messsages. | |
| // @author Trevor Lalish-Menagh | |
| // @homepage | |
| // @include http*//*.campfirenow.com/room* | |
| // ==/UserScript== | |
| (function($) { |
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
| /* | |
| * File: bst.js | |
| * | |
| * A pure JavaScript implementation of a binary search tree. | |
| * | |
| */ | |
| /* | |
| * Class: BST | |
| * |
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
| if (typeof NS === 'undefined' || !NS) { | |
| var NS = {}; | |
| } | |
| (function ($) { | |
| NS.Klass = function(options) { | |
| var settings = { | |
| debug: false | |
| }, | |
| private = { |
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
| [11:53am] Dreamer3: More women this year than last | |
| [11:53am] jumex: 2.5% of the conference! | |
| [11:54am] Dreamer3: I need to find a career where men are in the minority | |
| [11:54am] jumex: Hopefully more next year. We NEED more women in tech! | |
| [11:55am] necromancer: they should call that movement to try and get more females into programming "boner-driven development" | |
| [11:55am] mike-burns: Discussion gender in tech is tricky because someone always says a negatively-sexist remark within five minutes. | |
| [11:56am] necromancer: mike-burns: do you think the fact that men outnumber women in tech is itself sexist? | |
| [11:56am] necromancer: or merely a product of how men & women are handled in this country? | |
| [11:56am] jumex: We are all sexists, but we have to realize it before we can control it. | |
| [11:57am] jumex: mike-burns: I totally agree with you there. |
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
| jp: | |
| formtastic: | |
| :yes: 'γ―γ' | |
| :no: 'γγγ' | |
| :create: '%{model}γδ½γ' | |
| :update: '%{model}γγ’γγγγΌγγγ' | |
| :submit: '%{model}γγ΅γγγγγγ' | |
| :required: 'εΏ θ¦' |
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
| / Why Can't I Test My JavaScript? | |
| %h3 #railsconf 2011 Notes | |
| %i Greg Moeck (gregmoeck) | |
| %p The Ruby community has made TDD/BDD accessible. | |
| %p Why can't we do TDD/BDD inJavaScript? | |
| %p What is the problem? There are LOTS of excuses: | |
| %ul | |
| %li The tools suck | |
| %li The browser sucks | |
| %li The DOM sucks |
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 nestedCallbacks(callback) { | |
| console.log("start"); | |
| firstNest(function () { | |
| secondNest(function () { | |
| callback("test"); | |
| }); | |
| }); | |
| } | |
| function firstNest(callback) { |
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
| #---------- | |
| # jumex's .screenrc config file | |
| # Make the bell visible instead of audible | |
| vbell on | |
| vbell_msg "Ding" | |
| vbellwait 0 | |
| # Shut off the startup message | |
| startup_message off |
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 parse_git_dirty { | |
| [[ $(git status 2> /dev/null | tail -n1) != "nothing to commit (working directory clean)" ]] && echo "*" | |
| } | |
| function parse_git_branch { | |
| ref=$(git symbolic-ref HEAD 2> /dev/null) || return | |
| echo " ("${ref#refs/heads/}$(parse_git_dirty)")" | |
| } | |
| function parse_svn_repo { |