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
AWSTemplateFormatVersion: "2010-09-09" | |
Metadata: | |
Generator: "console" | |
Description: "" | |
Resources: | |
UserWithDeepPath: | |
Type: "AWS::IAM::User" | |
Properties: | |
UserName: "test-w-deep-path" | |
Path: "/hoge/fuga/" |
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
data "terraform_remote_state" "not_immutable" { | |
backend = "s3" | |
config { | |
bucket = "bucket_name" | |
key = "env:/${terraform.env}/tfstate/not_immutable/terraform.tfstate" | |
region = "ap-northeast-1" | |
} | |
} |
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
bash | |
cd ${PATH to Dockerfile};pwd | |
export DREP=<<REPOSITORY_NAME>> | |
export DTAG=<<TAG>> | |
docker build . -t ${DREP}:${DTAG} | |
docker run -itd ${DREP}:${DTAG} | |
docker exec -it $(docker ps -lq) bash | |
docker stop $(docker ps -lq) & |
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
document.getElementById('iframe_id')[0].contentDocument.location.replace('target_url or target_path'); | |
↓ | |
document.getElementById('iframe_id').contentWindow.location.replace('target_url or target_path'); |
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": { | |
"pear-pear.php.net/mail_mime" : "*", | |
"pear-pear.php.net/http_request2" : "*", | |
"pear-pear.php.net/mail_mimedecode" : "*" | |
}, | |
"repositories": [ | |
{ | |
"type": "pear", | |
"url": "http://pear.php.net" |
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
sudo yum update libstdc++ zlib++ | |
sudo yum install libstdc++.i686 zlib++.i686 |
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
Internal Server Error |
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
$ knife solo | |
に下記の項があればOK | |
** SOLO COMMANDS ** | |
knife solo bootstrap [USER@]HOSTNAME [JSON] (options) | |
knife solo clean [USER@]HOSTNAME | |
knife solo cook [USER@]HOSTNAME [JSON] (options) | |
knife solo init DIRECTORY | |
knife solo prepare [USER@]HOSTNAME [JSON] (options) |
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
export PATH=$PATH:`find /Applications/Xcode6-Beta*.app -name swift|grep bin|xargs -I{} dirname {}` | |
or | |
export PATH=$PATH:/path/to/swift_dir | |
~~~~~~~~~~~~~~~~~~ | |
↑↑↑ | |
## find /Applications/Xcode6-Beta*.app -name swift|grep bin|xargs -I{} dirname {} | |
## の結果を書けばOK |
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
$ df -h | |
Filesystem Size Used Avail Use% Mounted on | |
/dev/mapper/vol_hoge | |
26G 19G 5.1G 79% / |
NewerOlder