Skip to content

Instantly share code, notes, and snippets.

@aereal
aereal / generator_quiz.js
Last active Oct 19, 2018 — forked from hakobe/generator_quiz.js
oopsを表示させずにhelloのみを表示させる方法を答えよ
View generator_quiz.js
function* hello() {
try {
while(true) {
yield 9
yield 3
yield 2
}
} catch(e) {
console.log('oops')
} finally {
@aereal
aereal / 0_reuse_code.js
Created Oct 14, 2013
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
View sokuho.rb
#! /usr/bin/ruby -Ku
require 'net/http'
require 'rubygems'
require 'nokogiri'
require 'meow'
TOPURL = 'http://baseball.yahoo.co.jp/npb/schedule/'