Skip to content

Instantly share code, notes, and snippets.

#!/bin/bash
servers=(
server1
server2
server3
)
select server in ${servers[@]}
do
select
a.*
, (
select
score
from test_table
where min <= diff
and max >= diff
) as s
, (
#!/bin//bash
DIR_SPEC="spec"
if [ -d ]; then
mkdir $DIR_SPEC
fi
cd spec
cat /proc/cpuinfo > cpuinfo.log
cat /proc/meminfo > meminfo.log
package main
import (
"fmt"
)
type Fetcher interface {
// Fetch returns the body of URL and
// a slice of URLs found on that page.
Fetch(url string) (body string, urls []string, err error)
package main
import "code.google.com/p/go-tour/tree"
import (
"fmt"
)
/*
type Tree struct {
package main
import (
"io"
"os"
"strings"
)
type rot13Reader struct {
r io.Reader
package main
import (
"code.google.com/p/go-tour/pic"
"image"
"image/color"
)
type Image struct {
// Bounds
package main
import (
"fmt"
"net/http"
)
type Hello struct{}
type String string
@ksomemo
ksomemo / first-time-exercise.rst
Last active August 29, 2015 14:04
最初にやってみること

最初にやってみること

ソート

  • merge
  • quick

探索

@ksomemo
ksomemo / programming-factor.rst
Last active June 6, 2017 10:39
プログラミング(言語)要素まとめ

プログラミング(言語)要素まとめ

気になることを並べてみた

REPL

  • Web Try系
  • 処理系インストールしてローカルで実行