- Create a new folder for you project
- Navigate to that folder
- Initialize node.js boilerplate
mkdir zetta-hello-world
// Creates a 'range' Array, extracted from Liquid.js | |
function makeRange(from, to) { | |
var arr= [], | |
left= parseInt(from), | |
right= parseInt(to); | |
// Check if left and right are NaN, if so try as characters | |
if( isNaN(left + right) ) { | |
// TODO Add in error checking to make sure ranges are single | |
// character, A-Z or a-z, etc. | |
left = from.charCodeAt(0); |
module.exports = function(server) { | |
var buttonQuery = server.where({type: 'button'}); | |
server.observe([buttonQuery], function(button){ | |
button.on('click', function(b){ | |
console.log(b); | |
}) | |
}); |
layout | title | author | difficulty | duration | description | repo | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
recipe |
|
|
|
1-3 hours |
Large intro text goes here
|
|
layout | title | author | tags | ||||
---|---|---|---|---|---|---|---|
recipe |
IoT Security System |
Matt Dobson |
|
#Choose Your Own Adventure!
##1. My Brain Is Running In Circles (Loops)
###Exercise 1: Harmonic Sum
Write a program to compute the sum of a harmonic series, as shown below, where n=50000. Calculate the sum from left-to-right, and then from right-to-left.
Harmonic(n) = 1 + 1/2 + 1/3 + 1/4 + .... + 1/n
#Welcome to Deckdown | |
##Deckdown is | |
a brand new way to create slide decks | |
*** | |
It take a markdown file, and creates a _reveal.js_ powered slide deck | |
##How? |
| Left-Aligned | Center Aligned | Right Aligned | | |
| :------------ |:---------------:| -----:| | |
| col 3 is | some wordy text | $1600 | | |
| col 2 is | centered | $12 | | |
| zebra stripes | are neat | $1 | |