Skip to content

Instantly share code, notes, and snippets.

View ysugimoto's full-sized avatar
🕘
GMT+9 JST

Yoshiaki Sugimoto ysugimoto

🕘
GMT+9 JST
View GitHub Profile
@ysugimoto
ysugimoto / 0_reuse_code.js
Created October 7, 2016 18:35
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@ysugimoto
ysugimoto / generate.sh
Created October 26, 2017 16:53 — forked from shinofara/generate.sh
SSL GENERATE MAC ONLY
#!/bin/bash
set -eu
atexit() {
[[ -n $tmpdir ]] && rm -fr "$tmpdir"
[[ -n $sslconf ]] && rm -fr "$sslconf"
}
tmpdir=`mktemp -d`
sslconf=`mktemp`
trap atexit EXIT
trap 'trap - EXIT; atexit; exit -1' SIGHUP SIGINT SIGTERM