Skip to content

Instantly share code, notes, and snippets.

View jamespeerless's full-sized avatar

James Peerless jamespeerless

View GitHub Profile
npm ERR! fetch failed https://registry.npmjs.org/buffer-writer/-/buffer-writer-1.0.0.tgz
npm http 404 https://registry.npmjs.org/bignumber.js/-/bignumber.js-1.0.1.tgz
npm http 200 https://registry.npmjs.org/sliced/-/sliced-0.0.5.tgz
npm http 200 https://registry.npmjs.org/generic-pool/-/generic-pool-2.0.3.tgz
npm ERR! Error: 404 Not Found
npm ERR! at null.<anonymous> (/usr/lib/nodejs/npm/lib/utils/fetch.js:47:16)
npm ERR! at EventEmitter.emit (events.js:115:20)
npm ERR! at WriteStream.flush (fs.js:1514:12)
npm ERR! at fs.close (/usr/lib/nodejs/npm/node_modules/graceful-fs/graceful-fs.js:92:5)
npm ERR! at Object.oncomplete (fs.js:297:15)
runtime "node"
file "instrument.js"
file "crawl_site.js"
file "phantomjs"
file "iron.json"
file "package.json"
build "npm install"
npm ERR! Error: SSL Error: CERT_UNTRUSTED
npm ERR! at ClientRequest.<anonymous> (/usr/lib/nodejs/npm/node_modules/request/main.js:525:26)
npm ERR! at ClientRequest.g (events.js:185:14)
npm ERR! at ClientRequest.EventEmitter.emit (events.js:88:17)
npm ERR! at HTTPParser.parserOnIncomingClient [as onIncoming] (http.js:1455:7)
npm ERR! at HTTPParser.parserOnHeadersComplete [as onHeadersComplete] (http.js:111:23)
npm ERR! at CleartextStream.socketOnData [as ondata] (http.js:1366:20)
npm ERR! at CleartextStream.CryptoStream._push (tls.js:495:27)
npm ERR! at SecurePair.cycle (tls.js:849:20)
npm ERR! at EncryptedStream.CryptoStream.write (tls.js:230:13)
{
"name": "abine_crawler_worker",
"version": "0.0.1",
"description": "crawl worker for iron.io",
"main": "crawl_driver.js",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
},
"author": "Abine",
"license": "BSD",
var client = {
query: function(text, values, cb){
pg.connect(conString, function(err, cl, done){
if(err){
setTimeout(function(){client.query(text,values,cb);}, 250);
} else {
cl.query(text, values, function(err, result){
done();
cb(err, result);
class List.EmailPaginator extends Backgrid.Extension.Paginator
controls:
fastForward: null
rewind: null
back:
label: "<"
title: "Back"
forward:
label: ">"
title: "Next"
pageableGrid = new Backgrid.Grid
className: gridClassName
emptyText: emptyText
columns: @getTableColumns()
collection: emails
paginator = new List.EmailPaginator
className: "backgrid-paginator"
collection: emails
Spree (vs. Magento)
- Spree does not offer media management as a CMS function
- One page checkout is available on Magento, but not Spree
- Spree does not allow product Q & A functionality
- Magento provides extensive SEO capabilities, while Spree does not
- Spree does not have an RSS feed of products like Magento
- Magento offers product tagging and enables customers to search by tagging
- Spree does not support gift certificates
- Users cannot save their shopping cart in Spree
- Magento offers sales management tools; Spree does not
mike-pc:src peerless$ sudo npm install -ddd socket.io
npm info it worked if it ends with ok
npm verb cli [ 'node',
npm verb cli '/Users/peerless/local/node/bin/npm',
npm verb cli 'install',
npm verb cli '-ddd',
npm verb cli 'socket.io' ]
npm info using [email protected]
npm info using [email protected]
npm verb config file /Users/peerless/.npmrc