Skip to content

Instantly share code, notes, and snippets.

Daniel Fernando Lourusso dflourusso

Block or report user

Report or block dflourusso

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@dflourusso
dflourusso / cloudSettings
Last active Oct 17, 2019
VSCode settings
View cloudSettings
{"lastUpload":"2019-10-17T20:44:12.110Z","extensionVersion":"v3.4.3"}
@dflourusso
dflourusso / README.md
Last active Aug 29, 2019
Comandos úteis para shell
View README.md

cut

Emite as partes selecionadas das linhas de cada ARQUIVO na saída padrão.

# Comando
echo 'daniel:fernando:lourusso' | cut -d : -f 1,3

# Saida
# daniel:lourusso
View shrc aliases
alias gs='git status'
unalias ga &> /dev/null
ga() { git add -A $* && git status }
unalias gc &> /dev/null
gc() { noglob git commit -m "$*" && git status }
alias gp="git push -v --progress --follow-tags"
alias gu='git pull --rebase --autostash'
alias gx='gitg'
alias gui='gitg'
alias gxx='git log --graph --color --all --decorate'
View .gitconfig
[user]
email = dflourusso@gmail.com
name = Daniel Fernando Lourusso
[core]
excludesfile = ~/.gitignore_global
editor = vi
eol = lf
pager = less -F -X
View soma.php
<?php
$notas = [
999 => 8,
456 => 3,
789 => 5,
123 => 2,
]; // 8 5 3 2
asort($notas);
You can’t perform that action at this time.