Skip to content

Instantly share code, notes, and snippets.

View ts-3156's full-sized avatar
🌴
On vacation

ts-3156 ts-3156

🌴
On vacation
View GitHub Profile
#!/bin/bash
base_dir=`pwd`
wget -O mecab-0.996.tar.gz "https://drive.google.com/uc?export=download&id=0B4y35FiV1wh7cENtOXlicTFaRUE"
tar zxfv mecab-0.996.tar.gz
cd mecab-0.996
./configure --enable-utf8-only
make
make check
var jsBase64 = (function() {
var b64 = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=";
// public method for encoding
function encode(data) {
var o1, o2, o3, h1, h2, h3, h4, bits, i = 0, ac = 0, enc = "",
tmp_arr = [];
if (!data)
// forkを利用してみたいからこの1行だけ追加してみた!
// test using: 1)Groovy Console Java Web Start
// http://dl.getdropbox.com/u/653108/groovy/console.jnlp
//
// 2)IntelliJ 10.0.1 CE
// Grape Plugin : http://plugins.intellij.net/plugin/?idea&id=4702
//
// reference site: bluepapa32’s site
// http://d.hatena.ne.jp/bluepapa32/20101228/1293466511