Skip to content

Instantly share code, notes, and snippets.

$ git log
$ git config --global alias.[su palabra] "[comando]"
Ejemplo:
$ git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all"
git log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all
@ebermudezGit
ebermudezGit / index.md
Last active July 1, 2016 06:07 — forked from rstacruz/index.md
Rails models cheatsheet

Rails Models

Generating models

$ rails g model User

Associations

belongs_to

has_one

@ebermudezGit
ebermudezGit / Instructions
Created September 25, 2017 17:13 — forked from arreisGit/Instructions
INTELISIS new Exp to old Exp
Use any plain text editor ( vim , notepad ++) that allows you to seek and replace regular expresions, then look and replace the next
regex for <BR>.
REGEX: /(\(Inicio\)|=\(Fin\)|=(,?<?\w+>?(\.|\,|\ )?)+)\r?\n?/ig
The above instruction would turn:
[Table.tbl/Tabla.SQL]
(Inicio)=SELECT
SELECT=Campo1,