-
First get to the existing directory
$ cd my/folder/
-
Now start a new git repository
$ git init
-
Identify if the current elements on the directory are needed or not and add them to the .gitignore file. When ready...
$ vim .gitignore
-
When ready create the first commit on the server
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//Así se creó el mundo version Programador... (se vale contribuir en los comentarios) | |
//tambien pueden hacer un fork y luego hacemos un merge :P | |
//Genesis... Documentación en http://iglesia.net/biblia/libros/genesis.html | |
1:0 void(); | |
1:1 BEGIN tierra = new Earth(); | |
cielo = new Heaven(); | |
1:2 tierra.oscuridad = 1; | |
tierra.agua = new Water(); | |
1:3 tierra.luz = new Light(); | |
tierra.luz.active = 1; //:megusta: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[ | |
{ | |
"keys": ["command+shift+r"], "command": "browser_refresh", "args": { | |
"auto_save": true, | |
"delay": 0.0, | |
"activate_browser": false, | |
"browser_name" : "all" | |
} | |
}, | |
/* C O N S O L E L O G */ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>ANSIBlueColor</key> | |
<data> | |
YnBsaXN0MDDUAQIDBAUGFRZYJHZlcnNpb25YJG9iamVjdHNZJGFyY2hpdmVyVCR0b3AS | |
AAGGoKMHCA9VJG51bGzTCQoLDA0OVU5TUkdCXE5TQ29sb3JTcGFjZVYkY2xhc3NPECcw | |
LjMzMjQ3Nzk2NzQgMC40MDU2NjQ3MDg4IDAuNjM4OTU3Njc5MwAQAYAC0hAREhNaJGNs | |
YXNzbmFtZVgkY2xhc3Nlc1dOU0NvbG9yohIUWE5TT2JqZWN0XxAPTlNLZXllZEFyY2hp |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php if(!defined("BASEPATH")){ exit("No direct script access allowed"); } | |
/** | |
* Multi-Upload | |
* | |
* Extends CodeIgniters native Upload class to add support for multiple | |
* uploads. | |
* | |
* @package CodeIgniter | |
* @subpackage Libraries |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
func (){ | |
local BLACK=`echo -en '\e[30m'` | |
local RED=`echo -en '\e[31m'` | |
local GREEN=`echo -en '\e[32m'` | |
local YELLOW=`echo -en '\e[33m'` | |
local BLUE=`echo -en '\e[34m'` | |
local MAGENTA=`echo -en '\e[35m'` | |
local CYAN=`echo -en '\e[36m'` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Script for installing tmux on systems where you don't have root access. | |
# tmux will be installed in $HOME/local/bin. | |
# It's assumed that wget and a C/C++ compiler are installed. | |
# exit on error | |
set -e | |
# create our directories |
#Custom git commit
##Install
- Save this bash file to a safe place
- give it execute permissions
chmod +x stage.sh
[3] create an alias on your .bash_profile or .zshrc
alias stage='. ~/path-to-file/stage.sh'
##Usage
$stage 'commit message'
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
javascript:(function() { | |
var bookmarklet = { | |
init: function() { | |
this.parse(); | |
}, | |
parse: function() { | |
page = ""; | |
$(".PlaylistPage:visible") | |
.children(".TrackList") | |
.find(".Track") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module.exports = (grunt)-> | |
grunt.loadNpmTasks 'grunt-contrib-watch'; | |
grunt.loadNpmTasks 'grunt-yui-compressor'; | |
grunt.loadNpmTasks 'grunt-contrib-less'; | |
grunt.loadNpmTasks 'grunt-contrib-clean'; | |
grunt.registerTask('default', ['watch']); | |
grunt.initConfig { | |
watch: { |
OlderNewer