Skip to content

Instantly share code, notes, and snippets.

👶
Parenting

Jaime Vintharas

👶
Parenting
Block or report user

Report or block Vintharas

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Create Kirby's Face
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Create a simple bar chart
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Simple example axes
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 22, 2019
Simple example scales
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 21, 2019
Simple example rect data bind
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 21, 2019
Simple example circle
View .block
license: mit
@Vintharas
Vintharas / .block
Last active Aug 21, 2019
Simple example moving divs
View .block
license: mit
@Vintharas
Vintharas / random-attendee.js
Last active Apr 5, 2017 — forked from mzabriskie/random-attendee.js
Select random Meetup attendee
View random-attendee.js
// Create bookmark with javascript: CODE_HERE
// Click on bookmark in meetup website
(function () {
var list = document.getElementById('rsvp-list').children,
item = list[Math.floor(Math.random() * list.length)],
name = item ? item.querySelector('h5.member-name a').innerHTML : 'N/A';
item && item.parentNode.removeChild(item);
alert("And the winner!!! Is.... " + name);
@Vintharas
Vintharas / gulp.config.js
Last active Jul 17, 2018
Sample gulpfile for a complete pipeline with ES6 and SASS
View gulp.config.js
/* eslint strict: [2, "global"] */
'use strict';
/*** Main paths ***/
var projectRoot = './',
root = './myProject.web/', // project root
index = root + 'Views/Shared/Layouts/',
src = root + 'Content/', // source code
temp = root + 'temp/', // temporary folder
dist = src + 'dist/', // generated code
@Vintharas
Vintharas / memoize.js
Last active Jan 22, 2016
Memoize using a promise (angular $q)
View memoize.js
/*
*
* Memoizes call to a service using a promise
*
*/
function memoizeWithPromise(getFn) {
let memoizedCalls = new Map();
return function(...args) {
let serializedArgs = JSON.stringify(args);
You can’t perform that action at this time.