Skip to content

Instantly share code, notes, and snippets.

View nickangtc's full-sized avatar

Nick Ang nickangtc

View GitHub Profile
@nickangtc
nickangtc / linked-list.js
Last active June 15, 2022 04:37
Linked list in JavaScript
/**
* Read the original blog post for a detailed explanation!
* http://www.nickang.com/linked-list-explained-part-1/
* http://www.nickang.com/linked-list-implementation-part-2/
*/
/**
* Constructor functions
*/
/*
 * Basically my own implementation of JavaScript's built-in Set object
 * but only accepting integers
 * https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Set
 *
 * Create a MySet object that contains an array of integers
 * Check for intersection and union between 2 MySet objects
*/
@nickangtc
nickangtc / scikit_setup.md
Created October 27, 2016 06:04 — forked from undramatized/scikit_setup.md
Setup and Installation of Scikit Learn

Written with StackEdit.

##Machine Learning with Scikit ###Setup and Installation

For this tutorial we will be working with a Python framework called Scikit Learn. This is a free machine learning library that will allow us to execute multiple ML techniques and methodologies.

@nickangtc
nickangtc / simple_calendar_tutorial.md
Created October 15, 2016 02:07
How to use Simple Calendar Rails gem

Using Simple Calendar for Rails

Objectives

  • Use simple_calendar gem to easily generate calendars in a Rails project.
  • Understand how the calendar is generated and how to customise it.

What is simple calendar?

Simple calendar is a Rails gem that generates a calendar for use in your views.

You can use simple calendar to generate monthly and weekly calendars.