Skip to content

Instantly share code, notes, and snippets.

View pedroha's full-sized avatar

Pedro Ha pedroha

  • New York
View GitHub Profile
@pedroha
pedroha / programing-101.txt
Last active June 5, 2017 03:59
Teaching Programming
Programming 101 - Absolute Beginner
===================================
Programming Logic (Karel the Robot)
http://studio.code.org/s/course3/stage/2/puzzle/1 (blocks. basic)
http://light-bot.com/hocflash.html (block. puzzles)
http://codecombat.com/ (javascript)
Kodable:
@pedroha
pedroha / Mentors-outline.txt
Created September 15, 2014 17:02
Outline for Mentors at Coderdojo
Coderdojo provides multiple activities setup in different tables.
The most popular activities are: Scratch, Build a website, and LittleBits
1) Scratch
http://scratch.mit.edu/
You should try the "Get started link"
http://scratch.mit.edu/projects/editor/?tip_bar=getStarted
Another good tutorial
@pedroha
pedroha / gist:731a885f62aa632c0075
Last active August 29, 2015 14:05
Setup Mocha tests with Gulp
1) Running Mocha tests
http://visionmedia.github.io/mocha/#getting-started
$ npm install -g mocha
$ mkdir test
$ $EDITOR test/test.js
var assert = require("assert")
describe('Array', function(){
@pedroha
pedroha / synthesia.txt
Created September 24, 2013 21:37
Synthesia
http://synthesiagame.com/
Maroon 5, Payphone
http://www.youtube.com/watch?v=gXXvZU5EpWY
Alphaville, Forever Young
http://www.youtube.com/watch?v=zWikzFPrFIA
pianoitall.com offers many youtubes on Synthesia, as well as the musical sheet and MIDI file.
@pedroha
pedroha / Minecraft-overtone
Last active December 23, 2015 20:39
Minecraft theme using Overtone
;;
;; Minecraft. Part 1. Right hand.
;; Based on: https://www.youtube.com/watch?v=0v5tE9fwqQo
;;
;; MIDI reference for notes
;; http://computer-music.postbit.com/upload/131/posts/midi-notes-numbers.gif
;; http://www.midimountain.com/midi/midi_note_numbers.html
;;
;; Musical Theory (using JS)
;; https://github.com/saebekassebil/teoria
@pedroha
pedroha / Scratch_Session1.md
Last active December 19, 2015 13:29
First session on Scratch using a Quest Adventure format
@pedroha
pedroha / GetColorPalette.js
Created June 28, 2013 18:29
Retrieve color palettes from Adobe Kuler. 1) Visit: https://kuler.adobe.com/explore/most-favorite/ 2) Open command console and copy/paste the code.
var getPaletteColors = function () {
var $items = $('div.collection-assets-item > .content');
var palette = [];
$items.each(function () {
var self = this;
var $frame = $('.frame', this);
@pedroha
pedroha / gist:5758209
Created June 11, 2013 16:09
Node.js Intro

Introduction to NodeJS

Introduction to NodeJS

NodeJS

  • V8 Javascript Engine
  • Core libraries: process, networking, file, console
  • Server-side Javascript
@pedroha
pedroha / gist:5758125
Created June 11, 2013 15:59
Introduction to Front-End Technologies
@pedroha
pedroha / gist:5758109
Created June 11, 2013 15:57
Introduction to Javascript