Skip to content

Instantly share code, notes, and snippets.

View gfx's full-sized avatar

FUJI Goro gfx

View GitHub Profile
@gfx
gfx / hoge.jsx
Created August 9, 2012 04:24 — forked from mizchi/hoge.jsx
class _Main {
static function main(args : string[]) :void {
log "Hello, world!";
var p1 = new Point(10,20);
var p2 = new Point(30,10);
log p1.distance(p2);
}
}
class Point {
@gfx
gfx / k.js
Created March 10, 2012 14:47 — forked from kazuho/gist:2011480
function Base(x) {
// override properties in prototype if necessary
if (arguments.length == 1) {
this._x = x;
}
}
Base.prototype = {
_x: [],
push: function(v) { this._x.push(v) }
@gfx
gfx / gist:888099
Created March 26, 2011 07:28 — forked from yappo/gist:888069
* A history of search software in japan
今回紹介するGroongaは日本の検索ライブラリの中で新しいものです。
Groongaを紹介する前に、日本の検索事情について少しお話します。
Today I'm going to talk about a new search library from Japan.
First, I'll tell you something about how search works in Japan.
** use grep
文章を簡単に検索する方法としてgrepがあります。
@gfx
gfx / gist:888071
Created March 26, 2011 06:14 — forked from yappo/gist:888069
* history of search software in japan
今回紹介するGroongaは日本の検索ライブラリの中で新しいものです。
Groongaを紹介する前に、日本の検索事情について少しお話します。
** use grep
文章を簡単に検索する方法としてgrepがあります。
日本では「fool search(馬鹿検索)」というスラングがあります。
@gfx
gfx / gist:218491
Created October 26, 2009 07:53 — forked from tokuhirom/gist:218473
筑波の雨はだいぶおさまった模様