Skip to content

Instantly share code, notes, and snippets.


Hiroshi Shimo hshimo

View GitHub Profile
hshimo /
Created Sep 12, 2019
keybase proof

Keybase proof

I hereby claim:

  • I am hshimo on github.
  • I am hshimo ( on keybase.
  • I have a public key ASDBMgt4TaotWM7aAkiaL5PVDFEvhmOVG9auILqPv0vwcwo

To claim this, I am signing this object:

hshimo / script.js QBHouse-mail-notification-for-no-waiting
View script.js
* This is a code for Google App Script to see if there is a line for QBHouse at Kojimachi.
* main(): Access to qb house kojimachi homepage and check the number of people in line.
* Replace an email with yours.
* doGet(): This function is for publishing a web service as API (only one endpoint).
function main() {
var url = ''; // QB HOUSE Kojimachi
var text = UrlFetchApp.fetch(url).getContentText('utf-8');
View cpp-ethereum_02.make
2016-07-23 16:59:30 +0900
/usr/local/Cellar/cmake/3.6.0_1/bin/cmake -H/tmp/cpp-ethereum-20160723-75649-1e7kds0 -B/tmp/cpp-ethereum-20160723-75649-1e7kds0 --check-build-system CMakeFiles/Makefile.cmake 0
/usr/local/Cellar/cmake/3.6.0_1/bin/cmake -E cmake_progress_start /tmp/cpp-ethereum-20160723-75649-1e7kds0/CMakeFiles /tmp/cpp-ethereum-20160723-75649-1e7kds0/CMakeFiles/progress.marks
/Applications/ -f CMakeFiles/Makefile2 all
/Applications/ -f CMakeFiles/cpp-ethereum_BuildInfo.h.dir/build.make CMakeFiles/cpp-ethereum_BuildInfo.h.dir/depend
/Applications/ -f utils/secp256k1/CMakeFiles/secp256k1.dir/build.make utils/secp256k1/CMakeFiles/secp256k1.dir/depend
/Applications/ -f utils/libscrypt/CMakeFiles/scrypt.dir/build.make utils/libscrypt/CMakeFiles/scrypt.dir/depend
hshimo / gist:d3b74396164f6ec379db
Created Jan 18, 2015
View gist:d3b74396164f6ec379db
Verifying that +hshimo is my openname (Bitcoin username).
brew install lv
brew install wget
brew install zsh-completions
brew install mobile-shell
brew install emacs
# programming font Ricty
#brew tap sanemat/font
hshimo / getTimeFromUuidv1.js
Last active Dec 27, 2015
get time from uuid.v1 string
View getTimeFromUuidv1.js
* extract time from uuid.v1 string
* originally from
* node-uuid/uuid.js at master · krassif/node-uuid
* @param buf buffer
* @param offset offset
* @returns {number} msec
hshimo / file0.txt
Last active Dec 20, 2015
簡単、自動! MySQL を AutoMySQLBackup + cron でバックアップ ref:
View file0.txt
/usr/local/bin/automysqlbackup /etc/automysqlbackup/myserver.conf
chown root.root /var/backup/db* -R
find /var/backup/db* -type f -exec chmod 400 {} \;
find /var/backup/db* -type d -exec chmod 700 {} \;
View file0.txt
$result = $igo->wakati("すもももももももものうち");