Skip to content

Instantly share code, notes, and snippets.

andrepcg / shipitfile.js
Created Jan 20, 2018 — forked from jbraithwaite/shipitfile.js
Shipit deploy with Slack integration
View shipitfile.js
var pack = require('./package.json');
var request = require('request');
var name =;
module.exports = function (shipit) {
var deployTo = '/var/www/FOLDER_TO_DEPLOY_TO';
var deployToCurrent = deployTo + '/current';
var slackWebhookURL = 'SLACK_HOOK_URL';
View dlib and face_recognition on raspberry

Install dlib and face_recognition on a Raspberry Pi

Instructions tested with a Raspberry Pi 2 with an 8GB memory card. Probably also works fine on a Raspberry Pi 3.


Download the latest Raspbian Jessie Light image. Earlier versions of Raspbian won't work.

Write it to a memory card using Etcher, put the memory card in the RPi and boot it up.

andrepcg / 0_reuse_code.js
Created Oct 20, 2015
Here are some things you can do with Gists in GistBox.
View 0_reuse_code.js
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console