Skip to content

Instantly share code, notes, and snippets.

View vsbarba's full-sized avatar

Victor Soto Barba vsbarba

View GitHub Profile
@vsbarba
vsbarba / [Grunt] Watch LESS Files.md
Last active August 29, 2015 14:00
[Grunt] Watch LESS files
/*global module:false*/
module.exports = function (grunt) {

  /** 
   * Load required Grunt tasks. These are installed based on the versions listed
   * in `package.json` when you do `npm install` in this directory.
   */
   
  grunt.loadNpmTasks('grunt-contrib-watch');
@vsbarba
vsbarba / [Resources] Front-End Developer Journal.md
Last active August 29, 2015 14:00
[Resources] Front-End Developer Journal
@vsbarba
vsbarba / [install]ohmyzsh.md
Last active August 29, 2015 14:00
[INSTALL] OH-MY-ZSH

ZSH Installation

This is an install guide for ZSH [Terminal on Steroids]

1. Install via CURL

$ curl -L http://install.ohmyz.sh | sh

# After Installation proceed to the next step.
@vsbarba
vsbarba / oh-my-zsh
Created May 5, 2014 01:45
[Installation] OH-MY-ZSH Guide
# ZSH Installation
# This is an install guide for ZSH [Terminal on Steroids]
1. https://github.com/robbyrussell/oh-my-zsh
# The automatic installer… (do you trust me?)
# via `curl`
curl -L http://install.ohmyz.sh | sh
@vsbarba
vsbarba / dabblet.css
Created March 25, 2014 00:46
The first commented line is your dabblet’s title
/**
* The first commented line is your dabblet’s title
*/
background: #f06;
background: linear-gradient(45deg, #f06, yellow);
min-height: 100%;
@vsbarba
vsbarba / jquery-datepicker.html
Created March 7, 2014 07:47
jQuery Datepicker
<html>
<head>
<link rel="stylesheet" href="//code.jquery.com/ui/1.10.4/themes/smoothness/jquery-ui.css">
<script src="//code.jquery.com/jquery-1.9.1.js"></script>
<script src="//code.jquery.com/ui/1.10.4/jquery-ui.js"></script>
<link rel="stylesheet" href="/resources/demos/style.css">
</head>
<script>
$(function () {
$("#datepicker").datepicker({
@vsbarba
vsbarba / 0_reuse_code.js
Created February 7, 2014 06:32
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console
@vsbarba
vsbarba / merge.md
Created January 30, 2014 06:00 — forked from jt/merge.md

If someone forks a gist and you'd like to merge their changes. Do this:

  1. clone your repo, I use the name of the gist

     git clone git://gist.github.com/1163142.git gist-1163142
    
  2. add a remote for the forked gist, I'm using the name of my fellow developer

     git remote add aaron git://gist.github.com/1164196.git