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
rethinkdb: | |
image: rethinkdb:2.3 | |
ports: | |
- "8080:8080" | |
- "28015:28015" | |
- "29015:29015" | |
restart: always | |
volumes: | |
- "~:/data" # 絶対パスで書いたほうが良いかも | |
command: "rethinkdb --bind all --cache-size 2048" |
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 nowrapscan | |
"大文字小文字の区別なし | |
set ignorecase | |
"検索時に大文字を含んでいたら大/小を区別 | |
set smartcase | |
"検索対象をハイライト |
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
# prefixキーをC-eに変更する | |
set -g prefix C-e | |
# C-bのキーバインドを解除する | |
unbind C-b | |
# キーストロークのディレイを減らす | |
set -sg escape-time 1 | |
# ウィンドウのインデックスを1から始める |
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
# based on https://registry.hub.docker.com/u/samtstern/android-sdk/dockerfile/ with openjdk-8 | |
FROM java:8 | |
MAINTAINER Toshihiro.Kamada <[email protected]> | |
ENV DEBIAN_FRONTEND noninteractive | |
# Install dependencies | |
RUN dpkg --add-architecture i386 && \ | |
apt-get update && \ |
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
rethinkdb: | |
image: rethinkdb:2.3 | |
ports: | |
- "8080:8080" | |
- "28015:28015" | |
- "29015:29015" | |
restart: always | |
volumes: | |
- "/srv/rethinkdb:/data" | |
command: "rethinkdb --bind all --cache-size 2048" |
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 main | |
import "fmt" | |
type GPS struct { | |
lat string | |
lon string | |
} | |
type Wifi struct { |
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
import java.util.ArrayList; | |
/** | |
* 素数計算プログラム | |
* @author kerukerupappa | |
* | |
*/ | |
public class Sosu { | |
private static ArrayList mSosuList = new ArrayList(); |
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
#include | |
#include | |
/** | |
* 構造体 | |
*/ | |
typedef struct sosu_list { | |
int no; | |
struct sosu_list *next; |
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
#include <stdio.h> | |
/* | |
* 月末を返却 | |
* param yyyy 年 | |
* param mm 月 | |
* return 月末 | |
*/ | |
int get_end_month(int yyyy , int mm) | |
{ |
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 jp.daneko.json.sample | |
import org.specs2._ | |
import play.api.libs.json._ | |
import play.api.libs.functional.syntax._ | |
class Sample extends Specification { | |
def is = s2""" |
NewerOlder