$ rails g model User
belongs_to
has_one
| 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, |
| $ 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 |