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
http { | |
..... | |
upstream rundeck_cluster { | |
server 192.168.20.56:4440; | |
} | |
server { | |
listen 80 default_server; | |
server_name example.com; | |
location /rundeck { |
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/bash | |
_usage(){ | |
cat <<_EOT_ | |
Usage: | |
$0 [-u url] [-o filename] [-s slidetype] [-p totalpages] | |
Description: | |
cleaver slide convert to pdf slide |
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 | |
# reroute UNASSIGNED shards | |
# NODES is data nodename | |
APIURL="http://10.0.21.60:9200" | |
MASTER_NODE="10.0.21.60" | |
NODES=( 10.0.21.61 10.0.22.60 10.0.22.61 ) |
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
supervisordの起動スクリプト |
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
diff --git source/2.1/src/shunit2 source/2.1/src/shunit2 | |
index d6e7503..22b81ad 100755 | |
--- source/2.1/src/shunit2 | |
+++ source/2.1/src/shunit2 | |
@@ -824,6 +824,9 @@ _shunit_execSuite() | |
# None | |
# Output: | |
# string: the report of successful and failed tests, as well as totals. | |
+ | |
+# patched by swfz(sawafuji.09@gmail.com) |
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
Windows Registry Editor Version 5.00 | |
[HKEY_CURRENT_USER\Software\SimonTatham\PuTTY\Sessions\01vagranttest30] | |
"Colour0"="220,220,220" | |
"Colour1"="227,191,33" | |
"Colour2"="43,62,80" | |
"Colour3"="255,0,0" | |
"Colour4"="43,62,80" | |
"Colour5"="245,42,143" | |
"Colour6"="79,79,79" |
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/bash | |
SERVICE='sample' | |
STAGE='production' | |
declare -a ROLES | |
ROLES=( backend balancer elasticsearch cassandra fluentd ) | |
declare -a METRICS | |
METRICS=(CPUUSAGE MEMORYUSAGE SWAPUSAGE STATUSCHECK DISKUSAGE) |
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
diff --git search.js search.js | |
index 0bdb5b0..2a26bbc 100644 | |
--- search.js | |
+++ search.js | |
@@ -1,9 +1,12 @@ | |
require([ | |
base_url + '/mkdocs/js/mustache.min.js', | |
base_url + '/mkdocs/js/lunr-0.5.7.min.js', | |
+ base_url + '/mkdocs/js/lunr.stemmer.support.js', | |
+ base_url + '/mkdocs/js/tinyseg.js', |
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
diff --git utils/__init__.py utils/__init__.py | |
index 1387739..96a89dd 100644 | |
--- utils/__init__.py | |
+++ utils/__init__.py | |
@@ -134,6 +134,10 @@ def copy_media_files(from_dir, to_dir): | |
source_path = os.path.join(source_dir, filename) | |
output_path = os.path.join(output_dir, filename) | |
copy_file(source_path, output_path) | |
+ if is_markdown_file(filename): | |
+ source_path = os.path.join(source_dir, filename) |
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 | |
# AutoScale時(スケールイン)にworkerサーバのdaemonとtd-agentを正常に終了してからインスタンスを落とすためのスクリプト | |
# AutoScale lifecyclehook(Terminate) | |
# -> SQS | |
# -> This script | |
# -> target worker stop. and td-agent stop | |
# -> lifecyclehook(Terminate) end | |
SQS_URL="https://ap-southeast-1.queue.amazonaws.com/111111111111/autoscale-worker" |
OlderNewer