Skip to content

Instantly share code, notes, and snippets.

View frozenfung's full-sized avatar
🏠
Working from home

frozenfung frozenfung

🏠
Working from home
View GitHub Profile
@frozenfung
frozenfung / Run.js
Last active September 8, 2018 06:46
跑酷對話
const content = {
chap: {
whichChap: "第一幕第一場",
title: "奔跑吧開特力",
content: "前往劇場的道路危機四伏,尤其是那些上了年紀的人",
buttonText: "開始",
},
chapStory: [
[
@frozenfung
frozenfung / index.js
Last active September 11, 2016 04:39
if (typeof module !== ‘undefined’ && module.exports) {
module.exports = TinySlide;
} else if (typeof define === ‘function’ && typeof define.amd === ‘object’ && define.amd) {
define(‘TinySlide’, [], function () {
return TinySlide;
});
} else {
window.TinySlide = TinySlide;
}
@frozenfung
frozenfung / compiler.js
Created March 25, 2016 18:14
Assemble compiler for nandToTetris project 06
// NandToTetris Part One Final Project
// https://www.coursera.org/learn/build-a-computer/home/welcome
#!/usr/bin/js
// Handling basic I/O
const XMLHttpRequest = require("./node_modules/xmlhttprequest").XMLHttpRequest;
const fs = require("fs");
// Global variable