(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
(by @andrestaltz)
If you prefer to watch video tutorials with live-coding, then check out this series I recorded with the same contents as in this article: Egghead.io - Introduction to Reactive Programming.
[your-slack].slack.com/services/new/hubot
If you want to rename the automatically generated heroku domain name:
#!/bin/bash | |
# | |
# description: DevShelf service | |
# processname: node | |
# pidfile: /var/run/devshelf.pid | |
# logfile: /var/log/devshelf.log | |
# | |
# Based on https://gist.github.com/jinze/3748766 | |
# | |
# To use it as service on Ubuntu: |
module.exports = function(grunt) { | |
grunt.initConfig({ | |
pkg: grunt.file.readJSON('package.json'), | |
app: { | |
name: '<%= pkg.name %>' | |
}, | |
clean: { |
Read the blog at http://fokkezb.nl/2013/09/20/url-schemes-for-ios-and-android-2/
#!/usr/bin/env node | |
var cordova_util = require('cordova/src/util'); | |
var projectRoot = cordova_util.isCordova(process.cwd()); | |
var projectXml = cordova_util.projectConfig(projectRoot); | |
var projectConfig = new cordova_util.config_parser(projectXml); | |
projectConfig.name(); | |
var fs = require ('fs'); |
note: I converted this script into the much easier to install joinopenwifi
module on NPM
see https://github.com/maxogden/joinopenwifi#joinopenwifi for installation instructions
var moment = require('moment'); | |
var tz = require('timezone/loaded'); | |
var time = require('time'); | |
module.exports = function() { | |
var strftime_format = '%F %T %z'; // used to convert a date into a normalized strftime format with timezone | |
var moment_format = 'YYYY-MM-DD HH:mm:ss zz'; // moment.js LDML format for parsing date strings | |
/** | |
* Convert a Javascript Date into node-time wrapper with the appropriate timezone. |
// Wire up LCD as described here: | |
// http://learn.adafruit.com/character-lcds/overview | |
var five = require("johnny-five"), | |
board, lcd; | |
board = new five.Board(); | |
board.on("ready", function() { |