Skip to content

Instantly share code, notes, and snippets.

@benevolent0505
benevolent0505 / HelloWorld.go
Created September 19, 2012 16:10
「A Tour of Go」でGo言語を学ぶ ref: http://qiita.com/items/e44d71a29a14db07b335
package main
import "fmt"
func main() {
fmt.Println("The grass is always greener on the other side of the fence.\n")
fmt.Println("「隣の芝は青い」")
}
@benevolent0505
benevolent0505 / file1.txt
Created September 20, 2012 15:21
「A Tour of Go」でGo言語を学ぶ(~#8) ref: http://qiita.com/items/71cc2b5ef7d8c939efa0
55
@benevolent0505
benevolent0505 / file1.txt
Created September 21, 2012 16:45
「A Tour of Go」でGo言語を学ぶ(~#10) ref: http://qiita.com/items/a5b514b289997b50a8bb
-1 1.2246467991473515e-16
@benevolent0505
benevolent0505 / file1.txt
Created September 22, 2012 15:47
「A Tour of Go」でGo言語を学ぶ(~#13) ref: http://qiita.com/items/9cefa2ad3eb5539c1527
0 0 0 false false false
@benevolent0505
benevolent0505 / file1.txt
Created September 25, 2012 20:25
「A Tour of Go」でGo言語を学ぶ(~#20) ref: http://qiita.com/items/63fad29ca7b75dc85ddd
45
@benevolent0505
benevolent0505 / file1.txt
Created October 6, 2012 21:41
「A Tour of Go」でGo言語を学ぶ(~#28) ref: http://qiita.com/items/ddaa13be965e15185dad
4
@benevolent0505
benevolent0505 / README.md
Last active August 29, 2015 14:05
2014年度合宿用プログラム

2014年度合宿用スクリプト

2014年度の合宿参加者の集計に使ったプログラムの一覧。 コードの質はお察し下さい。 詳しく聞きたかったらbenevolent0505に連絡を。

first_members_to_csv.rb

第一回参加希望者の一覧を出力をしてくれるプログラム。

# peco find directory
function peco_find
if git rev-parse --is-inside-work-tree > /dev/null 2>&1
git rev-parse --show-toplevel | read search_root
else
pwd | read search_root
end
find $search_root -maxdepth 5 | peco | read -l file_path
commandline -i $file_path
end
@benevolent0505
benevolent0505 / .tmux.conf
Created March 1, 2015 06:28
my .tmux.conf
# prefixキーをC-tに変更
set -g prefix C-t
# C-bのキーバインドを解除
unbind C-b
bind C-t send-prefix
# キーストロークのディレイを減らす
set -sg escape-time 1
@benevolent0505
benevolent0505 / init.el
Last active February 16, 2023 14:56
コピペで出来るEmacs便利設定
;; タイトルパーにファイルのフルパスを表示する
(setq frame-title-format "%f")
;; 行番号を表示する
(global-linum-mode t)
;; カラム番号も表示する
(column-number-mode t)
;; 空白文字を強制表示