Skip to content

Instantly share code, notes, and snippets.

View jackhwl's full-sized avatar

Jack Huang jackhwl

  • Toronto Canada
View GitHub Profile
@jackhwl
jackhwl / introrx.md
Created April 11, 2018 00:15 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing
@jackhwl
jackhwl / gist:46e66ab3a8bc19b91dca5232bc5457f4
Created April 6, 2018 02:08
Reference Error vs Type Error.md
ReferenceError is Scope resolution-failure related, whereas TypeError implies that Scope resolution was successful, but
that there was an illegal/impossible action attempted against the result.
@jackhwl
jackhwl / gist:b8a6b969bd4ff12cd71ba83bf4b4b5ad
Last active March 30, 2018 12:43
whether to use == or === in various situations, here are simple rules

To boil down a whole lot of details to a few simple takeaways, and help you know whether to use == or === in various situations, here are my simple rules:

  • If either value (aka side) in a comparison could be the true or false value, avoid == and use === .
  • If either value in a comparison could be of these specific values ( 0 , "" , or [] -- empty array), avoid == and use === .
  • In all other cases, you're safe to use == . Not only is it safe, but in many cases it simplifies your code in a way that improves readability.
@jackhwl
jackhwl / gist:fba2dd20b9cbd8cff25d512edf19ce4c
Last active March 30, 2018 13:21
What are the top 10 websites a web developer must see?

https://www.quora.com/What-are-the-top-10-websites-a-web-developer-must-see/answer/Jonathan-Danylko

Over the years, here are my top websites that every web developer must see and examine indepth and why I believe they are important:

CSS Zen Garden (The Beauty of CSS Design) - The CSS Zen Garden opened my eyes to CSS and gave me a great understanding of the difference between presentation and structure. On the site, the HTML is the same across all pages...the only thing different is the CSS. Sitepoint (SitePoint – Learn HTML, CSS, JavaScript, PHP, Ruby & Responsive Design) - I believe Sitepoint to be a great site to learn a number of web technologies. Most of the tutorials are bite-sized and great to digest and learn from. A List Apart (For People Who Make Websites) - A List Apart is another site for the latest web technologies and providing value and assistance for web developers. DZone (DZone: Programming & DevOps news, tutorials & tools) - I first chatted about this site back in 2006 on my site (dZone: D

@jackhwl
jackhwl / testcoins_rinkeby.txt
Created November 28, 2017 02:37
testcoins_rinkeby
0x29f2bBcC958D0B1E3e0039D9E6575DfD62d5Ae9B