This file has been truncated, but you can view the full file.
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
[ | |
{ | |
"zipCode": "10100", | |
"subDistrictList": [ | |
{ | |
"subDistrictId": "100801", | |
"districtId": "1008", | |
"provinceId": "10", | |
"subDistrictName": "ป้อมปราบ" | |
}, |
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 | |
set -u | |
set -e | |
set -o pipefail | |
export PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin | |
cat <<'EOF' > /etc/modprobe.d/blacklist-ipv6.conf |
- create a new IAM user and attach the AWS OpsWorks Register Policy
- for testing: create a new stack on AWS OpsWorks and fetch its ID
- customize all variables prefixed with
YOUR_
from thecloud-config.yml
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
yum -y install flex bison openssl-devel rpm-build gcc pam-devel | |
wget http://mmonit.com/monit/dist/monit-5.14.tar.gz | |
tar zxvf monit-5.14.tar.gz | |
mkdir -p /usr/src/rpm/SOURCES/ | |
cp monit-5.14.tar.gz /usr/src/rpm/SOURCES/monit-5.14.tar.gz | |
cd monit-5.14 | |
rpmbuild -bb --clean system/packages/redhat/monit.spec | |
rpm -ivh /usr/src/rpm/RPMS/x86_64/monit-5.14-1.x86_64.rpm |
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 'json' | |
require 'rash' | |
@response = <<END | |
{ | |
"productHeader": { | |
"totalHits": 147 | |
}, | |
"products": [{ | |
"name": "Morgan Sport", |
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
# configuration for osx clipboard support | |
set-option -g default-command "reattach-to-user-namespace -l sh" |