- キャップ
- メガネ
- ジャケット
- ポケット
- 財布
- 切符
- 保険証
- クレジットカード
- お守り
- 財布
- ポケット
- iPhone
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
[codesuki/ecs-nginx-proxy: Reverse proxy for AWS ECS. Lets you address your docker containers by sub domain.](https://github.com/codesuki/ecs-nginx-proxy) |
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
require 'fileutils' | |
require 'highline' | |
BASE_DIR = File.join(ENV['HOME'], 'Desktop') | |
TITLE = 'Untitled' | |
def main | |
title = HighLine.new.ask("Title: ") | |
title = TITLE if title == "" | |
path = note_path(title) |
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
DBQuery.prototype.p = function() { | |
var args = arguments | |
this.forEach(function(e) { | |
var result = {} | |
if(args.length == 0) { | |
result = e | |
} else { | |
for(var i = 0; i < args.length; i++) { | |
var target = e | |
var keys = args[i].split('.') |
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
def main | |
Dir["/Users/tily/Music/CDs/*/*.log"].each do |path| | |
f = File.open(path) | |
table_num, track_num = parse(f) | |
if table_num != track_num | |
puts "#{path}: table -> #{table_num}, track -> #{track_num}" | |
end | |
end | |
end |
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 ( | |
"github.com/d2r2/go-dht" | |
"github.com/ChimeraCoder/anaconda" | |
"fmt" | |
"time" | |
) | |
func main() { |
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
require 'spec_helper' | |
describe package('mysql-server') do | |
it { should be_installed } | |
end | |
describe service('mysqld') do | |
it { should be_enabled } | |
it { should be_running } | |
end |
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
#!/bin/bash | |
OPSWORKS_USERDATA_LOG_FILE='/var/log/aws/opsworks/user-data.log' | |
export OPSWORKS_USERDATA_LOG_FILE | |
mkdir -p $(dirname ${OPSWORKS_USERDATA_LOG_FILE}) | |
touch ${OPSWORKS_USERDATA_LOG_FILE} && chmod 0600 ${OPSWORKS_USERDATA_LOG_FILE} | |
exec &> >(tee -a ${OPSWORKS_USERDATA_LOG_FILE}) 2>&1 | |
conslog () { | |
echo "[$(date --rfc-2822)] opsworks-init: $1" | tee -a ${OPSWORKS_USERDATA_LOG_FILE} > /dev/console |
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
require 'rubygems' | |
require 'amqp' | |
BANNER = 'ruby amqp-test.rb [hostname]' | |
def main(args) | |
host = args.first | |
abort BANNER if host.nil? | |
EventMachine.run do |