Skip to content

Instantly share code, notes, and snippets.

🏠
Working from home

Jeroen van der Tuin Jeromche

🏠
Working from home
Block or report user

Report or block Jeromche

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
@Jeromche
Jeromche / watchify.js
Last active Aug 29, 2015
Browserify/Watchify Gulp task with Underscorify and error logging with Gulp Util
View watchify.js
var gulp = require('gulp');
var browserify = require('browserify');
var watchify = require('watchify');
var underscorify = require('node-underscorify');
var source = require('vinyl-source-stream');
var gutil = require('gulp-util');
/**
* Writes a Browserify or Watchify bundle to file.
*/
@Jeromche
Jeromche / index.html
Created Apr 5, 2014
A Pen by Jeroen van der Tuin.
View index.html
<script src="https://www.youtube.com/iframe_api"></script>
View eerst.html
<div class="revealElement" title="Klik hier">
extra inhoud
</div>
... zorgt voor ...
<a href="#">Klik hier</a>
<div class="revealElement" title="Klik hier">
extra inhoud
</div>
@Jeromche
Jeromche / gist:5629162
Last active Dec 17, 2015
Closures in JS
View gist:5629162
<!doctype html>
<script>
var EenClosure = (function() {
// Private
var foo = 'bar';
var otherThing = function() {
// This contains the window object because it is the owner of this function.
console.dir(this);
View gist:5558786
$ alias ant-watch='cd build && when-changed/when-changed.py ../applications/*.js ../applications/**/*.js ../applications/**/**/*.js ../applications/**/**/**/*.js ../applications/**/**/**/**/*.js -c ant dev'
$ ant-watch
@Jeromche
Jeromche / pasz.js
Created Jan 10, 2012
Bare jQuery plugin using revealing module pattern
View pasz.js
/**
* Minimum set up for a revealing module pattern jQuery plugin
*
* This is a bare plugin that uses the revealing module pattern to attach
* public and private vars and methods to a jQuery selector.
*
* Example:
*
* $('#menu').collapsible().init();
* $('#menu').collapsible().open();
@Jeromche
Jeromche / tumblr.js
Created Jul 21, 2011
Funnel example with Tumblr feed
View tumblr.js
// Get Tumblr feed
$('#blog').funnel({
"services": [{
"name": "tumblr",
"user": "jeromche",
"tmpl": {
"regular": "#tmpl_tumblr_regular",
"photo": "#tmpl_tumblr_photo",
"video": "#tmpl_tumblr_video",
"quote": "#tmpl_tumblr_quote"
You can’t perform that action at this time.