Skip to content

Instantly share code, notes, and snippets.

Avatar
🕘
JST +09:00

Yoshiaki Sugimoto ysugimoto

🕘
JST +09:00
View GitHub Profile
@ysugimoto
ysugimoto / generate.sh
Created Oct 26, 2017 — forked from shinofara/generate.sh
SSL GENERATE MAC ONLY
View generate.sh
#!/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
@ysugimoto
ysugimoto / 0_reuse_code.js
Created Oct 7, 2016
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console