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" | |
"os" | |
"syscall" | |
"github.com/monochromegane/terminal" | |
) | |
const ( |

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 ansicolor | |
import "io" | |
func NewColorWriter(w io.Writer) *colorWriter { | |
return &colorWriter{w: w} | |
} |
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
FROM java:8-jre | |
MAINTAINER Mitsuhiro Koga <[email protected]> | |
ENV GITBUCKET_HOME /var/gitbucket | |
ADD https://github.com/takezoe/gitbucket/releases/download/3.4/gitbucket.war /gitbucket.war | |
VOLUME ["${GITBUCKET_HOME}"] | |
EXPOSE 8080 | |
ENTRYPOINT [ "java", "-jar", "/gitbucket.war"] |
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
#!/bin/sh | |
VERSION=1.3.3 | |
VAR_COMPOSE=/var/lib/boot2docker/docker-compose | |
BIN_COMPOSE=/usr/local/bin/docker-compose | |
boot2docker ssh "sudo curl -L -o ${VAR_COMPOSE} https://github.com/docker/compose/releases/download/${VERSION}/docker-compose-Linux-x86_64" | |
boot2docker ssh "sudo chmod +x ${VAR_COMPOSE}" | |
boot2docker ssh "sudo ln -fs ${VAR_COMPOSE} ${BIN_COMPOSE}" | |
boot2docker ssh "cat << EOL > bootlocal.sh |
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
FROM centos:6 | |
MAINTAINER Mitsuhiro Koga<[email protected]> | |
ENV user ${user:-developer} | |
ENV host ${host:-192.168.99.1} | |
# Xfceのためにepelをインストール | |
# install_chrome.shのためにwgetをインストール | |
# gitをビルドするためにtar curl-devel expat-devel gettext-devel openssl-devel zlib-devel perl-ExtUtils-MakeMakerをインストール | |
# 日本語環境、デスクトップ環境、開発環境、インターネットのためにgroupinstall |
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 io.vertx.core.json.JsonArray; | |
import io.vertx.redis.RedisOptions; | |
import io.vertx.rxjava.core.Vertx; | |
import io.vertx.rxjava.redis.RedisClient; | |
import rx.Observable; | |
public class Main { | |
public static void main(String[] args) { | |
Vertx vertx = Vertx.vertx(); | |
RedisOptions options = new RedisOptions(); |
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
/* | |
* refs | |
* http://tips.hecomi.com/entry/2014/11/11/021147 | |
* http://d.hatena.ne.jp/nakamura001/20120724/1343148980 | |
* https://gist.github.com/keijiro/3806478 | |
* https://codepen.io/DavidSabine/pen/kyAlJ | |
* https://femurdesign.com/theremin/ | |
*/ | |
using UnityEngine; |
Fess 11.1xブランチを自前ビルド
ビルド時のHEADは https://github.com/codelibs/fess/commit/c7841013ab222158b440ab5df5ab18be6429d37c
fess-crawloer.logに出てきたエラーパターン
OlderNewer