javascript:(function(){t=document.title;t=t?t:"";u=location.href;h="http://www.service-safari.com/posts/new?post_name="+encodeURIComponent(t)+"&post_url="+u;location.href=h;})();
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
| $ node -e 'C=process.stdout.columns;S="\ud83c\udf63";console.log("\033[2J");a={};while(true){a[Math.random()*C|0]=0;for(x in a){o=a[x];a[x]+=1;console.log("\033["+o+";"+x+"H \033["+a[x]+";"+x+"H"+S+" \033[0;0H");}}' |
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
| should = require 'should' | |
| method = (a, b)-> | |
| unless a and b | |
| return false | |
| return true | |
| describe 'logical test', -> | |
| it 'missing a', -> | |
| r = method false, true |
javascript:(function(){t=document.title;t=t?t:"";u=location.href;h="twitter://post?message="+encodeURIComponent(t+" - "+u);location.href=h;})();
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 'jquery' | |
| Backbone = require 'backbone' | |
| Backbone.$ = $ | |
| Marionette = require 'backbone.marionette' | |
| ich = require 'icanhaz' | |
| ich.$ = $ | |
| module.exports = do => | |
| Backbone.Marionette.ItemView::render = -> | |
| @isClosed = false |
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
| module.exports = (grunt) -> | |
| require('time-grunt')(grunt) | |
| require('load-grunt-config')(grunt) |
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
| class Base | |
| class LibraryName.Klass extends Base | |
| constructor: -> | |
| @name = @constructor.name | |
| @namespace = "?" | |
| Parent = exports? and exports or @Parent = {} |
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 'coffee-script/register' | |
| fs = require 'fs' | |
| stream = require 'stream' | |
| Speaker = require 'speaker' | |
| VoiceText = require '../src/lib/voicetext' | |
| voice = new VoiceText('<your api key>') | |
| text = process.argv[2] or 'きょうも いちにち がんばるぞい' |
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
| Promise = require 'bluebird' | |
| methodB = -> | |
| new Promise (resolve, reject)-> | |
| setTimeout -> | |
| console.log 'methodB' | |
| reject 'hoge' | |
| , 1000 | |
| methodA = (param)-> |
OlderNewer