This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
narration = การบรรยาย | |
digital recording = การบันทึกแบบดิจิตอล | |
computer screen = หน้าจอคอมพิวเตอร์ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Cheatsheet for our WizardAmigos | |
1. don't forget to bookmark stuff! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
document.querySelector('.play-button').addEventListener('click', function (event) { | |
setTimeout(function () { | |
var iframe = document.querySelector('iframe') | |
var parent = iframe.parentElement | |
parent.removeChild(iframe) | |
iframe.setAttribute('scrolling', 'yes') | |
parent.appendChild(iframe) | |
}, 500) | |
}) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*--------------------------------------------------------------------------- | |
MORE ABOUT FUNCTIONS | |
----------------------------------------------------------------------------*/ | |
/*---------------------------------------- | |
1. WHEN TO USE RETURN | |
-----------------------------------------*/ | |
/*------------------------ | |
1.1. NO OUTPUT NEEDED |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------------------- | |
PUSH TO GITHUB | |
------------------------------------------------------------------*/ | |
// create a repository | |
// go to the folder you want to push | |
git init | |
git add -A | |
git commit -m "First commit" | |
git remote add origin <project url> | |
git push origin <branch name> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------------------- | |
START NEW PROJECT (in the terminal) | |
------------------------------------------------------------------*/ | |
$ mkdir myProject // creates a folder myProject | |
$ cd myProject // change directory to myProject | |
$ npm init | |
// install all the modules | |
$ atom index.js # copy & paste regl.party/exapmples content, save & close | |
$ npm install regl --save | |
$ echo "<body><script src="bundle.js"></script></bundle>" > index.html |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------------------- | |
INSTALL GIT, ATOM and NODE | |
------------------------------------------------------------------*/ | |
git-scm.com | |
https://atom.io/ | |
https://nodejs.org/en/ | |
/*----------------------------------------------------------------- | |
FIND AND OPEN A TERMINAL | |
------------------------------------------------------------------*/ | |
// Linux and Mac -> search for terminal |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------- | |
REQUIRE | |
-------------------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
var chart = require('chart.js') | |
/*----------------------------------------------------- | |
THEME | |
-------------------------------------------------------*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------- | |
REQUIRE | |
-------------------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
var chart = require('chart.js') | |
/*----------------------------------------------------- | |
THEME | |
-------------------------------------------------------*/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/*----------------------------------------------------- | |
REQUIRE | |
-------------------------------------------------------*/ | |
var yo = require('yo-yo') | |
var csjs = require('csjs-inject') | |
var minixhr = require('minixhr') | |
/*----------------------------------------------------- | |
THEME | |
-------------------------------------------------------*/ | |
var font = 'Kaushan Script, cursive' |
NewerOlder