Skip to content

Instantly share code, notes, and snippets.

View jansanchez's full-sized avatar

Jan Sanchez jansanchez

View GitHub Profile
{
// --------------------------------------------------------------------
// JSHint Configuration, Strict Edition
// --------------------------------------------------------------------
//
// This is a options template for [JSHint][1], using [JSHint example][2]
// and [Ory Band's example][3] as basis and setting config values to
// be most strict:
//
// * set all enforcing options to true
{
// Settings
"passfail" : false, // Stop on first error.
"maxerr" : 100, // Maximum errors before stopping.
// Predefined globals whom JSHint will ignore.
"browser" : true, // Standard browser globals e.g. `window`, `document`.
"node" : true,
@jansanchez
jansanchez / gist:8720303
Created January 30, 2014 21:31
Agregando un tag de git al proyecto

Agregando un tag de git al proyecto

Creando tag

git tag -a v1.6 -m "add jshint"

subiendo tag

@jansanchez
jansanchez / gist:8867881
Last active August 29, 2015 13:56
modulo.js yOSON
/**
Descripción del modulo yOSON
@class nombre_del_modulo
@main nombre_archivo_js_actual
@author Nombre del Autor
*/
yOSON.AppCore.addModule('nombre_del_modulo', function (Sb) {
/**
Main settings of the module(these can be overridden)
@property st
@jansanchez
jansanchez / gist:9398009
Created March 6, 2014 19:52
Install phantomjs a browser in console
@jansanchez
jansanchez / gist:9568126
Last active August 29, 2015 13:57
Crunchbang Basics
@jansanchez
jansanchez / gist:9707a56759770acc021e
Last active August 29, 2015 14:00
Estandares de codigo para Jade y Stylus

Jade

  • minúsculas.
  • inglés.
  • guión bajo para clases de más de 1 palabra.
  • solo los IDs, serán camelCase y no minúsculas.
  • los estandares para los nombres de los IDs: http://goo.gl/YrBLlP
  • las variables serán en minúsculas, su composición es igual a la de las clases.
  • los mixins serán en camelCase.
  • no abreviar las palabras excepto(fb, tw, gplus), no importa si la clase se hace muy larga.
@jansanchez
jansanchez / gist:ba6acbe2f34c9537a586
Created May 5, 2014 16:54
conky standard configuration
# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:

Getting Started with NPM (as a developer)

If you haven't already set your NPM author info, now you should:

npm set init.author.name "Your Name"
npm set init.author.email "you@example.com"
npm set init.author.url "http://yourblog.com"

npm adduser

@jansanchez
jansanchez / gist:4584b2b1ce627a078db4
Last active August 29, 2015 14:04
Server: /etc/bind/named.conf.options

INSTALAR DNS (BIND9)

aptitude install bind9 bind9-doc dnsutils

CONFIGURAR DNS (BIND9)