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 | |
AWS_DEFAULT_REGION="ap-northeast-1" | |
AWS_ACCESS_KEY_ID="YOUR ACCESS KEY HERE" | |
AWS_SECRET_ACCESS_KEY="YOUR SECRET ACCESS KEY HERE" | |
INSTANCE_ID_URL="http://169.254.169.254/latest/meta-data/instance-id" | |
INSTANCE_ID=$(curl -s ${INSTANCE_ID_URL}) | |
SERVER_STATUS_URL="http://localhost/php-fpm-status" |
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.LinkedHashMap; | |
import java.util.Map; | |
import rx.Observer; | |
import rx.Subscription; | |
import rx.subjects.PublishSubject; | |
abstract class Repository<K, V> { | |
private final Cache<K, V> cache; |
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
; | |
; AutoHotkey Version: 1.x | |
; Language.........: English | |
; Platform.........: NT/XP/Vista | |
; Author...........: mrBTK | |
; | |
; Script Function..: Make Apple Wireless Keyboard useful in MS Windows: | |
; - EJECT = Delete with repeat deleting on long pressing. Shift-DEL and other combinations works too. | |
; - Swap FN & left Control | |
; - FN-functions оn F3-F12 keys and arrow keys (use new-FN) |
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 | |
PID_FILE=/var/run/fluentd.pid | |
CONF_FILE=/etc/fluent/fluent.conf | |
LOG_FILE=/var/log/fluent/fluent.log | |
PSNAME="fluentd --daemon" | |
F_USER=fluentd | |
F_GROUP=fluentd | |
RUBY_VER="1.9.3-p194" |