This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'open-uri' | |
data = {} | |
search = [] | |
command = ["!vac", "vim"] | |
VAC12=open("https://raw.github.com/osyo-manga/vim_advent_calendar2012/master/README.md").read | |
descript = VAC12.split("\n") | |
descript.map{|m| m.match(/\|(.*)\|(.*)\|(.*)\|(?:"(.*)":(.*))?\|/) {|m| | |
data[m[1]] = {"count" => m[1], "date" => m[2], "author" => m[3], "title" => m[4], "url" => m[5]} | |
}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo jruby -S gem install rspec rake bundler | |
git clone https://github.com/jruby/jruby-parser | |
git clone https://github.com/edubkendo/rsense | |
cd jruby-parser | |
jruby -S rake | |
cd ../rsense | |
git checkout -b parser_port origin/parser_port | |
patch < fix.patch | |
ant |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
$ nvim --version | |
VIM - Vi IMproved 7.4 (2013 Aug 10, compiled Feb 27 2014 11:22:13) | |
Included patches: 1-160 | |
Compiled by raa0121@isokaze | |
Huge version without GUI. Features included (+) or not (-): | |
+acl +file_in_path +mouse_sgr +tag_binary | |
+arabic +find_in_path -mouse_sysmouse +tag_old_static | |
+autocmd +float +mouse_urxvt -tag_any_white | |
-balloon_eval +folding +mouse_xterm -tcl | |
-browse -footer +multi_byte +terminfo |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set nocompatible | |
scriptencoding utf-8 | |
set fileencodings=utf-8,cp932,euc-jp | |
set encoding=utf-8 | |
set clipboard+=unnamed | |
set nrformats-=octal | |
set timeout timeoutlen=3000 ttimeoutlen=100 | |
set hidden |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
language: scala | |
scala: | |
- 2.10.3-RC3 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package io.github.akechi.sugoicraft | |
import org.scalatest.FunSuite | |
class HelloSuite extends FunSuite { | |
test("""traditional "hello, world" from K&R""") { | |
assert(Hello.greeting === "hello, world") | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let s:V = vital#of('vital') | |
let s:List = s:V.import('Data.List') | |
let s:File = s:V.import('System.File') | |
let s:Cache = s:V.import('System.Cache') | |
let s:ProMan = s:V.import('ProcessManager') | |
function! sbtimport#start_sbt() | |
call s:ProMan.touch('sbt', 'sbt') | |
endfunction |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let s:save_cpo = &cpo | |
set cpo&vim | |
let s:V = vital#of('unite_sbtimport') | |
let s:List = s:V.import('Data.List') | |
let s:File = s:V.import('System.File') | |
let s:Cache = s:V.import('System.Cache') | |
let s:ProMan = s:V.import('ProcessManager') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let s:save_cpo = &cpo | |
set cpo&vim | |
let s:V = vital#of('unite_sbtimport') | |
let s:List = s:V.import('Data.List') | |
let s:File = s:V.import('System.File') | |
let s:Cache = s:V.import('System.Cache') | |
let s:ProMan = s:V.import('ProcessManager') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python | |
import sys | |
from gntp.notifier from GrowlNotifer | |
def notify(title, message, icon): | |
n = pynotify.Notification(title, message) | |
if len(icon) > 0: | |
f = urllib.urlopen(icon) | |
data = f.read() |
OlderNewer