Skip to content

Instantly share code, notes, and snippets.

View gaboesquivel's full-sized avatar
👾
buidl

Gabo Esquivel gaboesquivel

👾
buidl
View GitHub Profile
@yeco
yeco / empirejs-links.md
Last active August 29, 2015 14:01
EmpireJS Talks Links
@v0lkan
v0lkan / frameworks.md
Last active August 29, 2015 14:05
Do You Rely On Any Frameworks?

This is an excerpt from an interview that I had recently.

Just wanted to share.

Volkan


Since how long do you develop for the web ? Front-end or Back-end?

// Generated on 2014-12-15 using
// generator-webapp 0.5.1
'use strict';
// # Globbing
// for performance reasons we're only matching one level down:
// 'test/spec/{,*/}*.js'
// If you want to recursively match all subfolders, use:
// 'test/spec/**/*.js'
@djekl
djekl / dabblet.css
Created December 17, 2011 15:25
3D Now In Beta Ribbon
/**
* 3D Now In Beta Ribbon
*/
/*@font-face {
font-family: Collegiate;
src: url("Collegiate.ttf");
}*/
.ribbon-holder {
@dirkk0
dirkk0 / layout.jade
Created February 8, 2012 16:54
layout.jade for Twitters Bootstrap 2 (kudos httpwww.andyjarrett.co.ukblogindex.cfm20111221layoutjade-for-Twitters-Bootstrap )
!!!
html
head
title= title
link(rel='stylesheet', href='/bootstrap.css')
link(rel='stylesheet', href='/bootstrap-responsive.css')
body
div.navbar.navbar-fixed-top
div.navbar-inner
@frnz
frnz / tarea.js
Created April 2, 2012 23:17
Tarea
Un url shortener. Tipo Bitly.
-----------------------------
HTML
----
Me meto al sitio y tengo un formulario con un campo, que solo tiene un campo, la url.
Pongo una url, le doy submit y por medio de AJAX (sin reload) se me muestra la url corta.
@jstrimpel
jstrimpel / gist:2473110
Created April 23, 2012 19:02
underscore valid object chain and truth test
_.mixin({
validChain: function (chain, test) {
var parts = chain.split('.'), valid = false, struct = window;
if (parts[0] === 'window') parts.splice(0, 1);
valid = _.all(parts, function (part) { return struct = struct[part]; });
if (test && valid) {
if (typeof test === 'function')
return test(struct);
document.addEventListener("DOMContentLoaded", init, false);
function init() {
console.log("Run my init, yo!");
var cblocks = document.querySelectorAll("pre code");
if(cblocks.length) {
for(var i=0, len=cblocks.length; i<len; i++) {
var dom = cblocks[i];
@OverZealous
OverZealous / lazypipe.js
Last active January 3, 2016 18:39
Lazy Pipe for Gulp
var combine = require('stream-combiner');
function lazypipe() {
var createPipeline = function(tasks) {
var build = function() {
return combine.apply(null, tasks.map(function(t) {
return t.task.apply(null, t.args);
}));
};
build.pipe = function(task) {
@OverZealous
OverZealous / 1 gulpfile.js
Last active May 26, 2016 19:39
Gulpfile for replicating ngboilerplate
//<editor-fold desc="Node Requires, gulp, etc">
var gulp = require('gulp'),
autoprefixer = require('gulp-autoprefixer'),
clean = require('gulp-clean'),
concat = require('gulp-concat'),
csso = require('gulp-csso'),
debug = require('gulp-debug'),
footer = require('gulp-footer'),
gutil = require('gulp-util'),
gzip = require('gulp-gzip'),