Skip to content

Instantly share code, notes, and snippets.

View apparition47's full-sized avatar
📱
(╯°□°)╯︵ ┻━┻

Aaron Lee apparition47

📱
(╯°□°)╯︵ ┻━┻
View GitHub Profile
@apparition47
apparition47 / ncix_rewards.js
Last active April 3, 2017 03:01
NCIX.com Newsletter Rewards Claimer
/**
* 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 = [
'ncix_registerd@example.net',
# 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
@apparition47
apparition47 / index.js
Last active August 29, 2015 14:07 — forked from andy-berry-dev/index.js
iPhone 6 Availability Checker
/**
* 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');