Skip to content

Instantly share code, notes, and snippets.

Tatsuru WATANABE tatsuru

Block or report user

Report or block tatsuru

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@tatsuru
tatsuru / awsevent2gcal
Last active May 25, 2018 — forked from i2tsuki/awsevent2gcal
AWS のイベントを calendar に登録するくん
View awsevent2gcal
#!/bin/sh
set -eux
PROFILE="default"
RESP="$(aws --profile ${PROFILE} --region "us-east-1" health describe-events --query 'events[?eventTypeCategory==`scheduledChange` && statusCode == `upcoming`]')"
LENGTH="$(echo ${RESP} | jq 'length')"
for i in $(seq 0 $(($LENGTH-1)))
@tatsuru
tatsuru / gist:3296314
Created Aug 8, 2012 — forked from onishi/gist:1630307
Media queries for Hatena Group
View gist:3296314
@media screen and (max-device-width: 480px) {
* {
font-size: 48px;
line-height: 64px;
word-break: break-all;
}
table#banner, div#simple-header, div.sidebar, div.caption {
display:none
}
img.hatena-star-comment-button, img.hatena-star-add-button, img.hatena-star-star {
You can’t perform that action at this time.