Friday, June 28, 2019

some more ls aliases

# some more ls aliases
alias ll='ls -alFrth --color=auto'
alias la='ls -a --color=auto'
alias l='ls -CF --color=auto'

Set Default Browser?

sudo update-alternatives --config x-www-browser
sudo update-alternatives --config gnome-www-browser 

Wednesday, May 08, 2019

.gitconfig


[alias]
    lol = log --graph --decorate --pretty=oneline --abbrev-commit
    lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
    pushall = !git remote | xargs -L1 git push --all
    pushalltags = !git remote | xargs -L1 git push --tags
    fetchall = !git fetch --all --tags
    squash-all = "!f(){ git reset $(git commit-tree HEAD^{tree} \"${1:-}\");};f"
[color]
    branch = auto
    diff = auto
    interactive = auto
    status = auto
    ui = true
[user]
    name = Daniel Abrantes
    email = daniel.abrantes@gmail.com
[diff]
    tool = meld
[merge]
    tool = meld
[format]
    pretty = oneline
[push]
    default = simple

Thursday, January 31, 2019

How Do I manually remove malformed Packages?

sudo vi /var/lib/dpkg/status 
remove all entries about the package and save , then try again.
sudo apt-get update

How to revert comments Youtube layout?

#see video for details  https://www.youtube.com/watch?v=J0L_nYtNlqs #uBlock Origin  https://chrome.google.com/webstore/detail/ublock-o...