Skip to content

Instantly share code, notes, and snippets.

View hshimo's full-sized avatar

Hiroshi Shimo hshimo

View GitHub Profile
@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');
@hshimo
hshimo / .gitignore
Created September 3, 2013 19:45 — forked from karmi/.gitignore
.DS_Store
*.log
tmp/