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
{ | |
"contentTypes": [ | |
{ | |
"sys": { | |
"space": { | |
"sys": { | |
"type": "Link", | |
"linkType": "Space", | |
"id": "28p9vvm1oxuw" | |
} |
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
# 最新のmasterブランチのSHAを取得する | |
current_sha=`curl https://api.github.com/repos/:owner/:repo/git/refs/heads/master | jq ".object" | jq ".sha"` | |
# 最新のmasterブランチをAWS CodeDeployでデプロイする | |
aws deploy create-deployment \ | |
—application-name <value> \ | |
—deployment-group-name <value> \ | |
—deployment-config-name <value> \ | |
—github-location repository=<value>, commitId=${current_sha} |
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
$(function(){ | |
// チェックボックスをクリックした時 | |
$('#sample-checkbox').click(function(){ | |
// チェックボックスがチェックされているか判定 | |
if($('#sample-checkbox').prop('checked')) { | |
alert('チェックされています'); | |
} | |
// チェックされていない場合 | |
else { | |
alert('チェックされていません'); |