Skip to content

Instantly share code, notes, and snippets.

View mariomarin's full-sized avatar

Mario Marín mariomarin

View GitHub Profile
### Keybase proof
I hereby claim:
* I am mariomarin on github.
* I am mariomarin (https://keybase.io/mariomarin) on keybase.
* I have a public key whose fingerprint is 827F B85C 480D 3D77 6407 5C20 0ADF 813D 05F4 3FE7
To claim this, I am signing this object:
<?xml version='1.0' encoding='utf-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html lang='en-US' xml:lang='en-US' xmlns='http://www.w3.org/1999/xhtml'>
<head>
<title>
passwordComplexity jQuery plugin demo
</title>
<style type='text/css'>
* {
font-family: Helvetica, Arial, sans-serif;
.sidebar-nav-fixed {
position:fixed;
top:100;
left:0;
}
@mariomarin
mariomarin / .jshintrc
Created September 27, 2012 19:58 — forked from haschek/.jshintrc
JSHint Configuration, Strict Edition
{
// --------------------------------------------------------------------
// 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
@mariomarin
mariomarin / archgitlab.sh
Created September 24, 2012 21:01 — forked from axilleas/archgitlab.sh
Install Gitlab on Archlnux
#!/bin/bash
##########################
## Check if run as root ##
##########################
if [[ $EUID -ne 0 ]]; then
echo "This script must be run as root" 1>&2
exit 1
fi
@mariomarin
mariomarin / hg-git-reverse-workflow.rst
Created August 23, 2012 09:51 — forked from dobata/hg-git-reverse-workflow.rst
I prefer to work in Git and push changes out to Hg
@mariomarin
mariomarin / jquery.isObject.js
Created August 31, 2011 17:41 — forked from rkatic/jquery.isObject.js
jquery.isObject.js
(function(jQuery){
var toString = Object.prototype.toString,
hasOwnProp = Object.prototype.hasOwnProperty;
jQuery.isObject = function( obj ) {
if ( toString.call(obj) !== "[object Object]" )
return false;
//own properties are iterated firstly,