Skip to content

Instantly share code, notes, and snippets.

View allenwei's full-sized avatar

Allen Wei allenwei

  • Gradual Inc.
  • Xi'an, China
View GitHub Profile
@allenwei
allenwei / sphinx.rb
Created January 21, 2015 03:20 — forked from assimovt/sphinx.rb
require 'formula'
class Libstemmer < Formula
# upstream is constantly changing the tarball,
# so doing checksum verification here would require
# constant, rapid updates to this formula.
head 'http://snowball.tartarus.org/dist/libstemmer_c.tgz'
homepage 'http://snowball.tartarus.org/'
end
@allenwei
allenwei / 0_reuse_code.js
Last active August 29, 2015 14:11
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console