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 | |
# ./certcheck.sh [domain name] | |
DOMAIN=$1 | |
notAfter=$(echo -n Q | openssl s_client -connect ${DOMAIN}:443 -servername ${DOMAIN} 2>/dev/null | openssl x509 -noout -enddate | grep notAfter | sed 's/notAfter=//') | |
notAfterEpic=$(date -d "${notAfter}" +\%s) | |
twoWeeksLaterEpic=$(date -d 'now + 2 weeks' +\%s) | |
nowEpic=$(date +\%s) |
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
package main | |
import ( | |
"context" | |
"log" | |
"net" | |
"os" | |
"collectd.org/format" | |
"collectd.org/network" |
- みほうさい
- 獏
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
<!DOCTYPE html> | |
<!--[if lt IE 7]> <html class="no-js ie6" lang="en"> <![endif]--> | |
<!--[if IE 7]> <html class="no-js ie7" lang="en"> <![endif]--> | |
<!--[if IE 8]> <html class="no-js ie8" lang="en"> <![endif]--> | |
<!--[if gt IE 8]><!--> <html class="no-js" lang="en"> <!--<![endif]--> | |
<head> | |
<meta charset="utf-8"> | |
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1"> | |
<title>Welcome to GitHub Japan</title> |
- 東京らあめんタワー 芝大門本店 (大門/ラーメン)
- Soy sauce soup
- 利尻昆布ラーメン くろおび (大門/ラーメン) - Clear seaweed broth
- 麺恋処 き楽 (御成門/ラーメン)
- Soy sauce soup, fishy
- 光麟堂 (御成門/ラーメン)
- Clear soy sauce soup
- 風土木 (大門/居酒屋)
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
package main | |
import ( | |
"fmt" | |
"path/filepath" | |
"strings" | |
"time" | |
"github.com/ziutek/rrd" | |
) |
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
alias wr='/usr/sbin/networksetup -setairportpower en0 off && sleep 1 && /usr/sbin/networksetup -setairportpower en0 on' |
NewerOlder