Skip to content

Instantly share code, notes, and snippets.

View hshimo's full-sized avatar

Hiroshi Shimo hshimo

View GitHub Profile
@hshimo
hshimo / keybase.md
Created September 12, 2019 06:58
keybase proof

Keybase proof

I hereby claim:

  • I am hshimo on github.
  • I am hshimo (https://keybase.io/hshimo) on keybase.
  • I have a public key ASDBMgt4TaotWM7aAkiaL5PVDFEvhmOVG9auILqPv0vwcwo

To claim this, I am signing this object:

@hshimo
hshimo / script.js
Created April 16, 2018 15:59 — forked from nwatab/google-app-script-qbhouse-email-notification.js
QBHouse-mail-notification-for-no-waiting
/**
* 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 = 'http://www.qbhouse.co.jp/search/detail.php?id=475'; // QB HOUSE Kojimachi
var text = UrlFetchApp.fetch(url).getContentText('utf-8');
2016-07-23 16:59:30 +0900
make
/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/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/Makefile2 all
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f CMakeFiles/cpp-ethereum_BuildInfo.h.dir/build.make CMakeFiles/cpp-ethereum_BuildInfo.h.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/secp256k1/CMakeFiles/secp256k1.dir/build.make utils/secp256k1/CMakeFiles/secp256k1.dir/depend
/Applications/Xcode.app/Contents/Developer/usr/bin/make -f utils/libscrypt/CMakeFiles/scrypt.dir/build.make utils/libscrypt/CMakeFiles/scrypt.dir/depend
@hshimo
hshimo / gist:d3b74396164f6ec379db
Created January 18, 2015 02:57
Verify onename.com/hshimo
Verifying that +hshimo is my openname (Bitcoin username). https://onename.com/hshimo
#!/bin/sh
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
hshimo / getTimeFromUuidv1.js
Last active December 27, 2015 12:59
get time from uuid.v1 string
/**
* extract time from uuid.v1 string
*
* originally from
* node-uuid/uuid.js at master · krassif/node-uuid
* https://github.com/krassif/node-uuid/blob/master/uuid.js
*
* @param buf buffer
* @param offset offset
* @returns {number} msec
@hshimo
hshimo / .gitignore
Created September 3, 2013 19:45 — forked from karmi/.gitignore
.DS_Store
*.log
tmp/
@hshimo
hshimo / file0.txt
Last active December 20, 2015 13:49
簡単、自動! MySQL を AutoMySQLBackup + cron でバックアップ ref: http://qiita.com/hshimo/items/b993416e0ff645c0bd50
#!/bin/sh
/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 {} \;
$result = $igo->wakati("すもももももももものうち");
print_r($result);