Skip to content

Instantly share code, notes, and snippets.

@xtity
xtity / bower.json
Last active December 11, 2015 20:13
【中級編】Riot.js + Typescript + karmaで今日から始めるElixir on Phoenixフロント開発入門 その1 ref: http://qiita.com/xtity/items/47ecee6e4eaee88e08ef
{
"name": "hoge",
"version": "0.0.0",
"authors": [
"you <you@yourdomain>"
],
"license": "MIT",
"ignore": [
"**/.*",
"node_modules",
@xtity
xtity / drone.toml
Last active August 29, 2015 14:21
【中級編】drone.io + exrmで今日から始めるElixir on Phoenixホットデプロイ入門 ref: http://qiita.com/xtity/items/f84c40cb5e9b8258e3ed
[github]
client="" ## GitHub>Personal settings>Applicationsで作ったヤツ
secret="" ## GitHub>Personal settings>Applicationsで作ったヤツ
orgs=[ "hoge" ] ## organizationsで縛りたい時のみ設定
open=false
[worker] ## nodesの数はホストのCPUコア数分追加でいいじゃないかなあ
nodes=[ 
"unix:///var/run/docker.sock",
"unix:///var/run/docker.sock"
@xtity
xtity / file0.txt
Last active August 29, 2015 14:18
CentOS + Erlang + Elixir + PhoenixのDockerイメージで今日から始めるElixir on Phoenix入門 ref: http://qiita.com/xtity/items/969eefb83fcac9023542
docker run -d -p 80:4000 --name phoenix -t xtity/docker-centos7-elixir-phoenix
@xtity
xtity / file0.txt
Last active August 29, 2015 14:16
phoenixでlive reloadさせる方法 ref: http://qiita.com/xtity/items/ea545308ee442eebc597
git clone https://github.com/phoenixframework/phoenix.git && cd phoenix && git checkout cm-brunch && mix do deps.get, compile
@xtity
xtity / file0.txt
Last active August 29, 2015 14:16
SublimeLinter-contrib-elixircに怒られない方法 ref: http://qiita.com/xtity/items/531e9125f5f89d34c86e
{
"folders":
[
{
"follow_symlinks": true
,"path": "."
,"folder_exclude_patterns": ["_build"]
}
],
"SublimeLinter": {
@xtity
xtity / app.js
Last active August 29, 2015 14:11
Titaniumでゆっくりしていってね! ref: http://qiita.com/xtity/items/acb00ec0f2027fbfe9fb
// This is a test harness for your module
// You should do something interesting in this harness
// to test out the module and to provide instructions
// to users on how to use it by example.
// open a single window
var win = Ti.UI.createWindow({
backgroundColor:'white'
});
@xtity
xtity / file0.txt
Created June 3, 2014 13:10
【Swift】公式ドキュメントをお昼休みにまとめてみた【第一回】 ref: http://qiita.com/xtity@github/items/108621c7e46659ed810b
let impInt = 70
let implDouble = 70.0
let expDouble: Double = 70