This file contains hidden or 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
"keizo'vimrc | |
if has('vim_starting') | |
set nocompatible " Be iMproved | |
set runtimepath+=~/.vim/bundle/neobundle.vim/ | |
endif | |
filetype indent off | |
call neobundle#begin(expand('~/.vim/bundle/')) | |
" Let NeoBundle manage NeoBundle |
This file contains hidden or 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
# encoding : utf-8 | |
module Kankore | |
attr_accessor :長門, :陸奥, :伊勢, :日向, :雪風, :赤城, :加賀, :蒼龍, :飛龍, :島風, | |
:吹雪, :白雪, :初雪, :深雪, :叢雲, :磯波, :綾波, :敷波, | |
:大井, :北上, | |
:金剛, :比叡, :榛名, :霧島, | |
:鳳翔, | |
:扶桑, :山城, :天龍, :龍田, :龍驤, | |
:睦月, :如月, :皐月, :文月, :長月, :菊月, :三日月, :望月, | |
:球磨, :多摩, :木曽, |
This file contains hidden or 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 main | |
import ( | |
"flag" | |
"fmt" | |
"os" | |
"os/exec" | |
) | |
func main() { |
This file contains hidden or 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
import Control.Monad.Writer | |
sayHello :: Writer (Sum Int, Sum Int) String | |
sayHello = do | |
tell (0,1) | |
return "hello" | |
sayGoodbye :: Writer (Sum Int, Sum Int) String | |
sayGoodbye = do |
This file contains hidden or 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 main | |
/* | |
git clone して | |
go build webapp.go | |
./webapp | |
としたあと | |
http://localhost:8080 | |
にアクセス | |
*/ |
This file contains hidden or 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
WORK=/tmp/go-build685671399 | |
mkdir -p $WORK/net/rpc/_obj/ | |
mkdir -p $WORK/net/ | |
cd /usr/lib/go/src/net/rpc | |
/usr/lib/go/pkg/tool/linux_amd64/6g -o $WORK/net/rpc.a -trimpath $WORK -p net/rpc -complete -D _/usr/lib/go/src/net/rpc -I $WORK -pack ./client.go ./debug.go ./server.go | |
mkdir -p /usr/lib/go/pkg/linux_amd64/net/ | |
cp $WORK/net/rpc.a /usr/lib/go/pkg/linux_amd64/net/rpc.a | |
go install net/rpc: open /usr/lib/go/pkg/linux_amd64/net/rpc.a: permission denied |
This file contains hidden or 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
[1 of 7] Compiling Control.Lens.Util.TH ( src/Control/Lens/Util/TH.hs, dist/dist-sandbox-f2c360e3/build/Control/Lens/Util/TH.o ) | |
src/Control/Lens/Util/TH.hs:23:10: | |
Not in scope: data constructor ‘ClassP’ | |
Perhaps you meant one of these: | |
‘ClassD’ (imported from Language.Haskell.TH), | |
‘ClassI’ (imported from Language.Haskell.TH), | |
variable ‘classP’ (imported from Language.Haskell.TH) | |
src/Control/Lens/Util/TH.hs:23:25: |
This file contains hidden or 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 main | |
import ( | |
"fmt" | |
"go/parser" | |
) | |
func main() { | |
d := parser.AllErrors + parser.SpuriousErrors + parser.ParseComments | |
e := d + parser.PackageClauseOnly |
This file contains hidden or 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 main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Hello struct { | |
a int `hello world` | |
} |
This file contains hidden or 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 main | |
import ( | |
"fmt" | |
"reflect" | |
) | |
type Hello struct { |