This file contains hidden or 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
/** | |
* CasperJS script to claim NCIX.com newsletter points by batch of emails. | |
* Takes newsletter email URL as CLI argument. | |
* All emails filled in below must be registered to NCIX.com. | |
* | |
* For demo purposes only. | |
*/ | |
var emails = [ | |
'[email protected]', |
This file contains hidden or 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
# 32-bit | |
wget https://phantomjs.googlecode.com/files/phantomjs-1.9.2-linux-i686.tar.bz2 | |
bunzip2 phantomjs-1.9.2-linux-i686.tar.bz2 | |
tar xf phantomjs-1.9.2-linux-i686.tar | |
mv phantomjs-1.9.2-linux-i686/ /opt/ | |
ln -s /opt/phantomjs-1.9.2-linux-i686/ /opt/phantomjs | |
ln -s /opt/phantomjs/bin/phantomjs /usr/local/bin/ | |
#check what you've just done | |
which phantomjs |
This file contains hidden or 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
/** | |
* Node script to query the apple stock JSON blob and report which stores have iphone 6 stock | |
* Change the model nums and models below. | |
* | |
* Based on work done by andyberry88 and jbrooksuk | |
*/ | |
var https = require('https'); | |
var Notification = require('node-notifier'); | |
var Repeat = require('repeat'); |
NewerOlder