Skip to content

Instantly share code, notes, and snippets.

View vitamink's full-sized avatar

David Kirkland vitamink

  • HexLab Ltd
  • Aichi, Japan
  • 15:16 (UTC +09:00)
View GitHub Profile
@adriengibrat
adriengibrat / Object.prototype.watch.js
Last active April 23, 2020 19:24
Object.prototype.watch "polyfill"
/**
* Object.prototype.watch polyfill
* @see https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/watch
*
* Known limitations:
* - `delete object[property]` will remove the watchpoint
*
* Based on Eli Grey gist https://gist.github.com/eligrey/384583
* Impovements based on Xose Lluis gist https://gist.github.com/XoseLluis/4750176
* This version is optimized for minification
@mariodivece
mariodivece / CsvReader.cs
Last active April 6, 2017 11:17
Very simple CSV file reader. Not to be used for very large files.
/// <summary>
/// Author: Mario Di Vece <mario@unosquare.com>
/// Date: 3/19/2014
/// Updated: 9/18/2014
/// License: MIT
/// </summary>
namespace Unosquare.Utils
{
using System;
using System.Collections.Generic;
@edwardhotchkiss
edwardhotchkiss / Gruntfile.js
Created March 1, 2013 04:02
Grunt 0.4.0 with LESS, Uglify, Concat, CSSMin, Watch production ready file.
/*!
* @description Grunt@!!!!!
*/
module.exports = function(grunt) {
grunt.initConfig({
pkg: grunt.file.readJSON('package.json'),
uglify: {