Skip to content

Instantly share code, notes, and snippets.

View jlyu's full-sized avatar

Chain Yu jlyu

View GitHub Profile
@jlyu
jlyu / 0_reuse_code.js
Created June 9, 2017 02:35
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@jlyu
jlyu / Singleton.js
Last active September 25, 2017 07:24
var Singleton = (function(){
var _instance;
function init() {
function privateMethod() {}
var privateVariable = "42";
var privateRandomX = Math.random();
return {
publicMethod: function() {},
publicProperty: "23",
getRandomX: function() { return privateRandomX; }

Effective Engineer - Notes

What's an Effective Engineer?

  • They are the people who get things done. Effective Engineers produce results.

Adopt the Right Mindsets