This file contains 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
# encoding: utf-8 | |
require 'pp' | |
require 'review/compiler' | |
module ReVIEW | |
class Compiler | |
defblock :tslist, 2 | |
end |
This file contains 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
# encoding: utf-8 | |
require 'pp' | |
module ReVIEW | |
class MARKDOWNBuilder | |
def cmd(lines) | |
puts "```" | |
lines.each do |line| | |
puts detab(line) |
This file contains 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
$ npm list -g | |
/Users/vvakame/.nodebrew/current/lib | |
├─┬ beefy@0.5.0 | |
│ ├── colors@0.6.2 | |
│ ├── mime@1.2.11 | |
│ ├─┬ nopt@2.1.2 | |
│ │ └── abbrev@1.0.4 | |
│ ├── open@0.0.3 | |
│ ├─┬ portfinder@0.2.1 | |
│ │ └── mkdirp@0.0.7 |
This file contains 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
# Generated by cask-dotfile-generator | |
# Created by: @seethroughtrees | |
# https://github.com/seethroughtrees/brew-cask-dotfile-generator | |
install ack | |
install ant | |
install autoconf | |
install automake | |
install bdw-gc |
This file contains 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
install the-silver-searcher | |
install tree | |
install curl | |
install wget | |
install zsh | |
install zsh-completions | |
install git | |
install ant | |
install maven |
This file contains 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('colors') | |
var jsdiff = require('diff'); | |
var fs = require("fs"); | |
// var one = 'beep boop'; | |
// var other = 'beep boob blah'; | |
var one = fs.readFileSync("./sampleA.js", {encoding: "utf-8"}); | |
var other = fs.readFileSync("./sampleB.js", {encoding: "utf-8"}); |
This file contains 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
diff --git a/bower.json b/bower.json | |
index 67c9fb4..09ed506 100644 | |
--- a/bower.json | |
+++ b/bower.json | |
@@ -11,20 +11,18 @@ | |
"tests" | |
], | |
"dependencies": { | |
- "es5-shim": "3.1.1", | |
+ "es5-shim": "3.3.0", |
This file contains 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
declare module gapi.client { | |
module mirror { | |
var accounts: { | |
insert: (params: { | |
accountName: string; | |
accountType: string; | |
userToken: string; | |
}) => { execute(callback: (data:any, original: string) => void):void; }; // IAccount | |
}; | |
var contacts: { |
This file contains 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
declare module gapi.client { | |
module drive { | |
var about: { | |
get: (params: { | |
includeSubscribed?: boolean; | |
maxChangeIdCount?: string; | |
startChangeId?: string; | |
}) => { execute(callback: (data:any, original: string) => void):void; }; // IAbout | |
}; | |
var apps: { |
This file contains 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
// セッションIDなどの入手方法 | |
// https://www.google.com/events/io/schedule をブラウザで開いてコンソールで以下のJSを実行 | |
var titles = Array.prototype.slice.call(document.querySelectorAll(".event__title")).map(function(node){return node.innerText; }); | |
var rooms = Array.prototype.slice.call(document.querySelectorAll(".event__room")).map(function(node){return node.innerText; }); | |
var ids = Array.prototype.slice.call(document.querySelectorAll(".event__pin")).map(function(node){return node.attributes["data-id"].value; }); | |
var results = [] | |
for(var i = 0; i < titles.length; i++) { | |
results.push({ | |
id: ids[i], | |
title: titles[i], |
OlderNewer