Skip to content

Instantly share code, notes, and snippets.

View marcoslhc's full-sized avatar
🏳️‍🌈

Marcos Hernández marcoslhc

🏳️‍🌈
View GitHub Profile
@marcoslhc
marcoslhc / gist:4158366
Last active August 2, 2016 21:08
Create a git managed website in webfaction
# based in the joe maller method of
# managing a live website through
# git:
#
# http://joemaller.com/990/a-web-focused-git-workflow/
#
#!/bin/bash
print_help(){
@marcoslhc
marcoslhc / gist:4170535
Last active October 13, 2015 08:48
make twitter bootstrap from dev
#!/bin/sh
echo "# @Autor: Marcos Hernández @email:[email protected]"
echo "# @Licencia:"
echo "# Está obra está sujeta a la licencia "
echo "# GENERAL PUBLIC LICENSE"
echo "# Para ver una copia de esta licencia, visite "
echo "# http://gnu.org/license/gpl.html"
echo
# Crea un directorio build
@marcoslhc
marcoslhc / class.js
Created December 11, 2012 21:12
Export module as object
function Class() {
if(false === (this instanceof Class)) {
return new Class();
}
}
Class.prototype.method = function(var) {
var self = this;
console.log(var);
}
#!/bin/sh
echo "
Cool, let's start.
"
src=$PWD
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 YOUR_NAME_HERE <YOUR_URL_HERE>
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Copyright (c) 2011 Stephen M. McKamey, http://mck.me
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
Version 2, December 2004
Copyright (C) 2011 Sebastien P. https://twitter.com/#!/_sebastienp
Everyone is permitted to copy and distribute verbatim or modified
copies of this license document, and changing it is allowed as long
as the name is changed.
DO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE
@marcoslhc
marcoslhc / gist:4526728
Created January 13, 2013 23:13
How I add CC license in markdown
@marcoslhc
marcoslhc / gist:4678024
Last active December 11, 2015 23:38
Emmet snippets for use with bootsrap

#Some Emmet snippets for twitter bootstrap

##Forms form.form-horizontal>fieldset>legend+(div.control-group>label.controls-label+(div.form-actions>input[type=text]))+(div.control-group>input.btn.btn-primary[type=submit]+input.btn.btn-info[type=button]