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
| autoload -Uz promptinit | |
| promptinit | |
| prompt redhat |
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
| var assert = require('assert'); | |
| var a = { | |
| get a() { | |
| return "a"; | |
| } | |
| }; | |
| assert.deepEqual(Object.keys(a), ['a'], 'es6 enhanced object literals'); | |
| var b = {}; |
This file has been truncated, but you can view the full file.
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
| var stockQuotes = [{"name":"Faux Derp","symbol":"MNI","index":"NASDAQ","price":"25.91","change_price":"1.69","change_percent":".45%","time":"Apr 23 7:59 EDT","estimated_price":"25.9157","estimated_change":".39%","open":"25.9162","high":"25.9187","low":"-46.09","volume":"25.9168M","avg_volume":"25.9112M","market_cap":"25.9138B"},{"name":"Pro Derp","symbol":"SCRS","index":"NASDAQ","price":"982.25","change_price":"63.12","change_percent":".79%","time":"Apr 23 7:59 EDT","estimated_price":"982.2557","estimated_change":".26%","open":"982.256","high":"982.2510","low":"928.25","volume":"982.2584M","avg_volume":"982.2513M","market_cap":"982.2576B"},{"name":"Cafe World","symbol":"MNI","index":"NASDAQ","price":"136.32","change_price":"47.58","change_percent":".2%","time":"Apr 23 7:59 EDT","estimated_price":"136.3266","estimated_change":".23%","open":"136.3239","high":"136.3264","low":"131.32","volume":"136.3217M","avg_volume":"136.3264M","market_cap":"136.3252B"},{"name":"Bear LLC","symbol":"RCK","index":"NASDAQ","price |
This file has been truncated, but you can view the full file.
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
| window.stockQuotes = [{"name":"Faux Derp","symbol":"MNI","index":"NASDAQ","price":"25.91","change_price":"1.69","change_percent":".45%","time":"Apr 23 7:59 EDT","estimated_price":"25.9157","estimated_change":".39%","open":"25.9162","high":"25.9187","low":"-46.09","volume":"25.9168M","avg_volume":"25.9112M","market_cap":"25.9138B"},{"name":"Pro Derp","symbol":"SCRS","index":"NASDAQ","price":"982.25","change_price":"63.12","change_percent":".79%","time":"Apr 23 7:59 EDT","estimated_price":"982.2557","estimated_change":".26%","open":"982.256","high":"982.2510","low":"928.25","volume":"982.2584M","avg_volume":"982.2513M","market_cap":"982.2576B"},{"name":"Cafe World","symbol":"MNI","index":"NASDAQ","price":"136.32","change_price":"47.58","change_percent":".2%","time":"Apr 23 7:59 EDT","estimated_price":"136.3266","estimated_change":".23%","open":"136.3239","high":"136.3264","low":"131.32","volume":"136.3217M","avg_volume":"136.3264M","market_cap":"136.3252B"},{"name":"Bear LLC","symbol":"RCK","index":"NASDAQ","pr |
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
| require 'yaml' | |
| class FrontMatter | |
| YAML_REGEX = /\A(---\s*\n.*?\n?)^(---\s*$\n?)/m | |
| attr_accessor :source, :results, :output | |
| def initialize(source) | |
| @source = source | |
| parse |
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
| Process: Tweetbot [1027] | |
| Path: /Users/USER/Downloads/Tweetbot.app/Contents/MacOS/Tweetbot | |
| Identifier: com.tapbots.TweetbotMacAdHoc | |
| Version: 0.8.0 (758) | |
| Code Type: X86-64 (Native) | |
| Parent Process: launchd [183] | |
| Date/Time: 2012-09-24 08:52:54.694 -0700 | |
| OS Version: Mac OS X 10.7.5 (11G56) | |
| Report Version: 9 |
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
| #container | |
| div | |
| width: 25% | |
| &.one | |
| background-color: red | |
| &.two | |
| background-color: blue |
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
| dbg = (s) -> | |
| console.log "Readability: " + s if typeof console isnt "undefined" | |
| readability = | |
| version: "0.5.1" | |
| emailSrc: "http://lab.arc90.com/experiments/readability/email.php" | |
| kindleSrc: "http://lab.arc90.com/experiments/readability/kindle.php" | |
| iframeLoads: 0 | |
| # The frame hack is to workaround a firefox bug where if you |
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
| fs = require("fs") | |
| fs.walk = (dir, done) -> | |
| results = [] | |
| fs.readdir dir, (err, list) -> | |
| done(err) if err | |
| pending = list.length | |
| done(null, results) unless pending |
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
| <a class="{{name}}" href="%7B%7Bpath%7D%7D">{{name}}</a> |