Skip to content

Instantly share code, notes, and snippets.

View Vintharas's full-sized avatar
👶
Parenting

Jaime Vintharas

👶
Parenting
View GitHub Profile
@Vintharas
Vintharas / gulp.config.js
Last active July 17, 2018 07:59
Sample gulpfile for a complete pipeline with ES6 and SASS
/* 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 / random-attendee.js
Last active April 5, 2017 08:57 — forked from mzabriskie/random-attendee.js
Select random Meetup attendee
// 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 / settings.json
Created July 27, 2019 18:10
VSCode config
{
"window.zoomLevel": 2,
// Define profile for specified syntax or use your own profile with specific rules.
"emmet.includeLanguages": {
"javascript": "javascriptreact"
},
// prettier
"editor.formatOnSave": true,
"javascript.updateImportsOnFileMove.enabled": "always",
// vim
@Vintharas
Vintharas / .block
Last active August 21, 2019 20:43
Simple example moving divs
license: mit
@Vintharas
Vintharas / .block
Last active August 21, 2019 20:54
Simple example circle
license: mit
@Vintharas
Vintharas / .block
Last active August 21, 2019 21:43
Simple example rect data bind
license: mit
@Vintharas
Vintharas / .block
Last active August 22, 2019 08:19
Simple example scales
license: mit
@Vintharas
Vintharas / .block
Last active August 22, 2019 08:53
Simple example axes
license: mit
@Vintharas
Vintharas / .block
Last active August 22, 2019 09:16
Create a simple bar chart
license: mit
@Vintharas
Vintharas / .block
Last active August 22, 2019 09:16
Create Kirby's Face
license: mit