README is empty
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html style="width:100%; height:100%; overflow:hidden"> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<script> | |
function qr(data, format) { | |
WS.publish('urlopen', atob(data)); | |
} | |
function server() { | |
WS.say('Scan a QR Code'); | |
WS.qr('qr'); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html style="width:100%; height:100%; overflow:hidden" data-test> | |
<head> | |
<!--<script src="https://cdnjs.cloudflare.com/ajax/libs/zepto/1.0/zepto.min.js"></script> | |
<script src="https://cdnjs.cloudflare.com/ajax/libs/underscore.js/1.5.2/underscore-min.js"></script>--> | |
</head> | |
<body style="width:100%; height:100%; overflow:hidden; margin:0"> | |
<canvas id="canvas" width="640" height="360" style="display:block"></canvas> | |
<script> | |
WS.log('Welcome to WearScript'); | |
WS.say('Wearscript is awesome'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
GOAL: return only the rows with the latest dates, for each param | |
EXAMPLE: return ids 6243, 6242, 8814, 8813, 8815 | |
date | id | site_id | param | |
---------------------------------------- | |
2014-04-14 6243 180890022 OZONE-8HR | |
2014-04-14 6242 180890022 OZONE-1HR | |
2014-04-12 8811 180890022 OZONE-8HR | |
2014-04-12 8814 180890022 PM2.5-24hr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var clip_selector = "img[alt='Clip this Coupon']" | |
var next_selector = "div.next-button" | |
while ( jQuery(clip_selector).size() > 0 ){ | |
// click each "clip this coupon" button | |
jQuery(clip_selector).each(function(i,x){x.click()}) | |
// click the next page of coupons buttons | |
jQuery(next_selector).each(function(i,x){x.click()}) | |
} |
README is empty
README is empty
README is empty
README is empty
README is empty
OlderNewer