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
#!/usr/bin/env node | |
var os = require('os'); | |
var fs = require('fs'); | |
var curl = require('curlrequest'); // Required via npm | |
var shelljs = require('shelljs'); // Required via npm | |
var jsonfile = require('jsonfile'); // Required via npm | |
// Transmission-daemon settings.json file | |
var transFile = '/etc/transmission-daemon/settings.json'; | |
// Private internet access username |
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
// David Richer - Shopify challenge Winternship 2015 | |
'use strict'; | |
var request = require("request"); // run npm install request | |
request({ | |
// Shopify JSON feed | |
url: 'http://shopicruit.myshopify.com/products.json', | |
json: true // the response will be json | |
}, function (err, response, items) { |