Skip to content

Instantly share code, notes, and snippets.

@Sasun
Sasun / nodejs-cheatsheet.js
Created April 23, 2021 20:59 — forked from LeCoupa/nodejs-cheatsheet.js
Complete Node.js CheatSheet --> UPDATED VERSION --> https://github.com/LeCoupa/awesome-cheatsheets
/* *******************************************************************************************
* THE UPDATED VERSION IS AVAILABLE AT
* https://github.com/LeCoupa/awesome-cheatsheets
* ******************************************************************************************* */
// 0. Synopsis.
// http://nodejs.org/api/synopsis.html
Resources marked with > are used, have been used, or are actively advocated in the threads. This applies for everything in the [Necessities] section.
[Necessities]
Hiragana & Katakana: http://www.realkana.com/
Kanji: http://kanjidamage.com/
Japanese IME: http://www.google.com/intl/ja/ime/
Anki Flashcards: http://ankisrs.net/
Genki (↓Bottom↓)
Tae Kim Japanese: http://www.guidetojapanese.org/learn/grammar
@Sasun
Sasun / essential-bret-victor.md
Created June 7, 2019 07:01 — forked from surganov/essential-bret-victor.md
Essential Bret Victor
@Sasun
Sasun / essential-bret-victor.md
Created June 7, 2019 07:01 — forked from surganov/essential-bret-victor.md
Essential Bret Victor
@Sasun
Sasun / bret_victor-reading_list.md
Created June 7, 2019 07:01 — forked from nickloewen/bret_victor-reading_list.md
Bret Victor’s Reading List

This is a plain-text version of Bret Victor’s reading list. It was requested by hf on Hacker News.


Highly recommended things!

This is my five-star list. These are my favorite things in all the world.

A few of these works have had an extraordinary effect on my life or way of thinking. They get a sixth star. ★

@Sasun
Sasun / DirectoryWatchService.java
Created December 5, 2017 12:52
Java 1.7+: Watching a Directory for File Changes (Requires Java 1.8+ to run because this code uses some features from Java 8 as well)
package <package>;
import <package>.Service;
import java.io.IOException;
/**
* Interface definition of a simple directory watch service.
*
* Implementations of this interface allow interested parties to <em>listen</em>
@Sasun
Sasun / memorySizeOfObject.js
Created August 17, 2017 08:32
calculate memory size of javascript object, it is not a accurate value!
function memorySizeOf(obj) {
var bytes = 0;
function sizeOf(obj) {
if(obj !== null && obj !== undefined) {
switch(typeof obj) {
case 'number':
bytes += 8;
break;
case 'string':
@Sasun
Sasun / introrx.md
Created February 26, 2017 13:59 — forked from staltz/introrx.md
The introduction to Reactive Programming you've been missing