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
version: '2' | |
syncs: | |
home-volume: | |
src: './home' | |
sync_excludes: ['src/.git', 'Gemfile.lock', 'Gemfile', 'config.rb', '.sass-cache', 'sass', 'sass-cache', 'composer.json' , 'bower.json', 'package.json', 'Gruntfile*', 'bower_components', 'node_modules', '*/.git/*', '.gitignore', '.git/*', '*.coffee', '*.scss', '*.sass'] | |
watch_excludes: ['src/.git', '*/.git/*', '.*/node_modules', '.*/bower_components', '.*/sass-cache', '.*/.sass-cache', '.*/.sass-cache', '.coffee', '.scss', '.sass', '.gitignore'] | |
sync_excludes_type: 'Name' | |
sync_userid: '33' | |
verbose: ture |
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
<?php | |
set_include_path(implode(PATH_SEPARATOR, array( | |
"phar:///usr/local/bin/phpunit", | |
get_include_path(), | |
))); | |
// ファイル名の拡張子にpharがつかないとできない | |
require_once("phar:///usr/local/bin/phpunit.phar/phpunit/Runner/Version.php"); | |
//require_once("phar://usr/local/bin/phpunit"); | |
//require_once("phar:///usr/local/bin/phpunit"); |
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" | |
) | |
var thread_num = 0 |
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 ( | |
"database/sql" | |
"fmt" | |
_ "github.com/go-sql-driver/mysql" | |
) | |
func main() { | |
db, err := sql.Open("mysql", "user:password@tcp(127.0.0.1:3306)/testdb") |
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" | |
) | |
var thread_num = 0 | |
func main() { | |
ch := make(chan int) |
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
```text: | |
$ brew install vim --with-lua | |
==> Downloading https://github.com/vim/vim/archive/v7.4.1301.tar.gz | |
Already downloaded: /Library/Caches/Homebrew/vim-7.4.1301.tar.gz | |
==> ./configure --prefix=/usr/local --mandir=/usr/local/Cellar/vim/7.4.1301/share/man --enable-multibyte --with-tlib=ncu | |
==> make | |
Last 15 lines from /Users/takara/Library/Logs/Homebrew/vim/02.make: | |
/usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -DMACOS_X_UNIX -Os -w -pipe -march=native -mmacosx-version-min=10.10 -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -I/usr/local/include -o objects/if_lua.o if_lua.c | |
/usr/bin/clang -c -I. -Iproto -DHAVE_CONFIG_H -isysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.11.sdk -DMACOS_X_UNIX -Os -w -pipe -march=native -mmacosx-version-min |
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
# apt-get -y install php5 php5-gd |
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
# apt-get -y install nkf |
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
FROM debian:8.2 | |
MAINTAINER takara | |
WORKDIR /root/ | |
ENV DEBIAN_FRONTEND noninteractive | |
RUN apt-get update | |
RUN apt-get -y install apache2 php5 | |
ENV DEBIAN_FRONTEND dialog |
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
NAME=gitlab | |
VERSION=7.9-20151030 | |
DOCKER_RUN_OPTIONS=\ | |
--add-host=gitlab:172.17.240.1 \ | |
--privileged | |
include docker.mk |
NewerOlder