CoffeeScript 1.7 is shaping up to be a pretty kick-ass release with significant improvements. Here are the ones I'm most excited about, in order of my own excitement.
Years of being wished for, finally granted!
<p style="text-align: center">Click Start and begin speaking</p> | |
<canvas id="canvas" width="800" height="256" ></canvas> | |
<p id="controls"> | |
<input type="button" id="start_button" value="Start"> | |
| |
<input type="button" id="stop_button" value="Stop"> | |
</p> | |
<!-- ----------------------------------------------------- --> |
CoffeeScript 1.7 is shaping up to be a pretty kick-ass release with significant improvements. Here are the ones I'm most excited about, in order of my own excitement.
Years of being wished for, finally granted!
/* LightTable themes are just CSS. LightTable, CodeMirror, and plugins apply | |
classes to tokens within the text. Most of these classes are undocumented. I | |
had to go fishing with the dev inspector and apply brightly colored rules to | |
figure it out. Hopefully I can save you the trouble by documenting the default | |
theme. Please comment if you find any errors or omissions. */ | |
/* These #multi rules apply to tabsets. Active means currently selected and dirty | |
means that the file has been edited since the last save. */ | |
#multi.theme-default .tabset .list .active { color:var(placeholder-fg); } | |
#multi.theme-default .tabset.active .list .active { color:var(highlight-fg); } |
# encoding: utf-8 | |
require "timeout" | |
# Capture the standard output and the standard error of a command. | |
# Almost same as Open3.capture3 method except for timeout handling and return value. | |
# See Open3.capture3. | |
# | |
# result = capture3_with_timeout([env,] cmd... [, opts]) | |
# |
This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.
Highly recommended things!
This is my five-star list. These are my favorite things in all the world.
A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★
GFS = HDFS | |
MapReduce = Hadoop | |
BigTable = HBase | |
Protocol Buffers = Thrift or Avro (serialization) | |
Stubby = Thrift or Avro (RPC) | |
ColumnIO = Parquet | |
Dremel = Impala | |
Chubby = Zookeeper | |
Omega = Mesos | |
Borg = Aurora |
{ | |
"requireCurlyBraces": ["while", "do", "try", "catch"], | |
"requireSpaceAfterKeywords": ["if", "else", "for", "while", "do", "switch", "return", "try", "catch"], | |
"requireSpacesInFunctionExpression": { | |
"beforeOpeningCurlyBrace": true | |
}, | |
"requirePaddingNewlinesInBlocks": true, | |
"requireSpacesInsideObjectBrackets": "all", | |
"requireSpacesInsideArrayBrackets": "allButNested", | |
"requireSpaceBeforeBlockStatements": true, |
# Do *not* load any libs here that are *not* part of Ruby’s standard-lib. Ever. | |
desc "Install all dependencies" | |
task :bootstrap do | |
if system('which bundle') | |
sh "bundle install" | |
sh "git submodule update --init" | |
# etc | |
else | |
$stderr.puts "\033[0;31m[!] Please install the bundler gem manually: $ [sudo] gem install bundler\e[0m" |
Adam Leeper | |
Aditya Sawant | |
Adria2 | |
Akash Manohar J | |
Aki | |
Aleksandar Rodic | |
Alessandro Piva | |
Alex | |
Alex Kogan | |
Alex Schworer |
{ :+ | |
{ :editor | |
{ "pmeta-/" [:toggle-comment-selection] | |
"ctrl-shift-up" [:editor.sublime.selectLinesUpward] | |
"ctrl-shift-down" [:editor.sublime.selectLinesDownward] | |
"pmeta-d" [:editor.sublime.selectNextOccurrence] | |
"ctrl-m" [:editor.sublime.goToBracket] | |
"ctrl-shift-m" [:editor.sublime.selectBetweenBrackets] | |
"shift-pmeta-space" [:editor.sublime.selectScope] | |
"ctrl-pmeta-up" [:editor.sublime.swapLineUp] |