William Huang's repositories
functionalProgramming
Read and do the exercises here: http://jhusain.github.io/learnrx/ (Links to an external site.)
angular-facebook
An Angularjs module to take approach of Facebook javascript sdk.
binaryTree
Homework: Read chapter 10 and do the exercises. jslinkedstructures.pdfPreview the documentView in a new window jsobjectrel.pdfView in a new window - Open a pull request and - Submit the url
cf1
code fellow code challenge 1
cf2
code fellow code challenge 2
cf3
code fellow code challenge 3
cf3ex
second method
cf3v3
3rd version
dataStructures
If it says to create a “menu system” - you don’t have to worry about console input or a HTML UI - just make a function that does what the exercise asks for - you can assume whatever “menu system” you have calls the function. - Open a pull request with the completed code - Submit a link to the pull request
dsaJS
Examples of Data Structures and Algorithms in JavaScript
expressWorks
nodeschool.io expressworks tutorial
hyperquest
make streaming http requests
jsonDatabase
Using express, create a simple JSON database with the following functionality: * when a POST request to /:some_name is received write a file to the hard drive called some_name.json with the json data received * when a GET request to /:some_name is received, send back the data read from the hard drive in file some_name.json *TIP* Don't store the JSON files in the root of your project and make sure to add a rule in .gitignore that will make sure no data is committed to github. - Open a pull request with your commits - Submit a link to the pull request
jwtauth
Create a middleware that will verify a user is admin and reject tokens that have expired in jwtauth - Open pull request with commits - Submit link to pull request
modjs
Create an app that demonstrates you know how to use modules AND includes a has-many relationship. For example, write a command line script or (small) express app that has two related resources like classes and students. In a has-many relationship, a student could have many classes, or a class could have many students. Your app should print out or visualize that relationship. The app should also use clean, modular code. Use module.exports. Follow the separation of concerns principle. Have each resource in a separate file. Use JSHint and JSCS to check your code style. Submit a PR to your own repo.
randomGif
given params give back a random gif
react-art
React Bridge to the ART Drawing Library
sassGruntLivereload
process Sass with Grunt
sea-b24-mean-median-node
Submit your Pull Requests to this repository for Mean Median Node homework
sea-b24-simple-express-json-api
Class homework repo for a simple express JSON API
sea-w19-git
Seattle W19 Unix and Git for Everyone
server-configs
Boilerplate configurations for various web servers.
serverAuth
JSON api based authentication: http://www.sitepoint.com/using-json-web-tokens-node-js/ Easy auth with passport: Keep in mind that this is a solution for use with express 3 that has not been updated to express 4 yet. All of the middle is going to need to be replaced if you want to use this code. http://scotch.io/tutorials/javascript/easy-node-authentication-setup-and-local (Links to an external site.)
staticPageExpress
Create your own static file serving express app, include at least one link, one css style sheet and one javascript file. Submit a pull request on your own repo (to yourself, on your express app code)
streamAdventure
playing through stream adventure on nodeschool.io
TravisTesting
Once you've tried testing, you need to try to do something more interesting. We want a Counter object with responsibilities increment() getValue() where the first adds one to the counter, and the second gives you back the current count. The constructor function should take no arguments, but set the initial count to zero. This requires a slightly different construction than we had before – we need a variable in the scope of the function, but that is not a parameter. So, specs: As a developer, I expect that the counter value will be zero after the object is created. As a developer, I expect that the counter value after an increment() will be one more than before. Add tests, and a http://TravisCI.org (Links to an external site.) badge to one of your repos' README that proves your tests pass.