I hereby claim:
- I am yuku on github.
- I am yuku (https://keybase.io/yuku) on keybase.
- I have a public key ASBR6qoqem1JtOWpwaPkVvDYf0lvqoFXeTB-5nnU-mdIIAo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
// @flow | |
type Params = { | |
[string]: string | number | null | Array<string | number | null> | |
} | |
function encode(val: string | number) { | |
return encodeURIComponent(val + ''). | |
replace(/%40/gi, '@'). | |
replace(/%3A/gi, ':'). |
I hereby claim:
To claim this, I am signing this object:
require "benchmark/ips" | |
require "execjs" | |
require "open-uri" | |
source = open("http://coffeescript.org/extras/coffee-script.js").read | |
RUNTIMES = [ | |
ExecJS::Runtimes::RubyRacer, | |
ExecJS::Runtimes::Node, | |
] |
#!/usr/bin/env ruby | |
SENTENCES = [ | |
# 1 | |
'Once you see all those animals, you should feel better.', | |
'I need to fix my car as soon as possible.', | |
'I hope it snows all day long tomorrow.', | |
'Can I get you anything?', | |
'How many apples did you eat today?', | |
"If it is possible, I'd like to have a Diet Coke.", |
S3_BUCKET = 'xxx' | |
AWS_SECRET_KEY = 'xxx' | |
AWS_ACCESS_KEY_ID = 'xxx' | |
# アクセスしてきたクライアントにS3へアップロードするためのpolicyと | |
# それをハッシュ化したsignatureを返す。 | |
def policies | |
# 0. セッションの確認など | |
# 1. 画像情報をバリデーションする |
// bootstrap-pagination.js | |
// (c) 2012 Yuku Takahashi | |
// Freely distributed under the MIT license. | |
;(function($) { | |
'use strict'; // jshint | |
// 8.6.2 Object Internal Properties and Methods | |
// Evenry ECMAScript object has a Boolean-valued [[Extensible]] internal | |
// property that controls whether or not named properties may be added to the | |
// object. If the value of the [[Extensible]] internal property is false then | |
// additional named properties may not be added to the object. In addition, if | |
// [[Extensible]] is false the value of the [[Class]] and [[Prototype]] | |
// internal properties of the object may not be modified. Once the value of an | |
// [[Extensible]] internal property has been set to false it may not be | |
// subsequently changed to true. |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
import logging | |
import sys | |
import os.path | |
import bz2 | |
from gensim.corpora import WikiCorpus | |
from gensim.corpora.wikicorpus import filterWiki |