Skip to content

Instantly share code, notes, and snippets.

View Bigsby's full-sized avatar
💭
I have my moments...

Bruno Bernardo Bigsby

💭
I have my moments...
View GitHub Profile
alias.graph=log --oneline --graph
alias.cm=commit -m
alias.unstage=reset HEAD --
alias.aa=add .
color.ui=auto
git config --global alias.co checkout
nano ~/.inputrc
# alternate mappings for "page up" and "page down" to search the history
"\e[5~": history-search-backward
"\e[6~": history-search-forward
# mappings for Ctrl-left-arrow and Ctrl-right-arrow for word moving
"\e[1;5C": forward-word
"\e[1;5D": backward-word
"\e[5C": forward-word
"\e[5D": backward-word
"\e\e[C": forward-word

copy to bash

AUTOSTART_FOLDER=~/.config/autostart
AUTOSTART_SCRIPTFILE=$AUTOSTART_FOLDER/.desktop
SCRIPT_FILE=~/set-dislay.sh
if [ ! -d "$AUTOSTART_FOLDER" ]; then
 mkdir $AUTOSTART_FOLDER; 
fi
echo -e "xrandr --output eDP-1 --scale .5x.5\n" > $SCRIPT_FILE
chmod +x $SCRIPT_FILE
[global_config]
suppress_multiple_term_dialog = True
title_inactive_bg_color = "#2e3436"
title_inactive_fg_color = "#ffffff"
title_transmit_bg_color = "#8f5902"
[keybindings]
[layouts]
[[default]]
[[[child1]]]
parent = window0
gsettings set org.gnome.nautilus.desktop trash-icon-visible false
gsettings set org.gnome.nautilus.desktop volumes-visible false
gsettings set org.gnome.nautilus.desktop home-icon-visible false
gsettings set org.gnome.desktop.background primary-color '#152233'
gsettings set org.gnome.desktop.background secondary-color '#152233'
gsettings set org.gnome.desktop.background picture-uri ''
gsettings set org.gnome.desktop.screensaver primary-color '#152233'
gsettings set org.gnome.desktop.screensaver secondary-color '#152233'
gsettings set org.gnome.desktop.screensaver picture-uri ''
@Bigsby
Bigsby / nixtricks.md
Last active June 22, 2018 13:12
Useful *-nix stuff

Aptitude

Search packages

$ apt-cache search «keyword»

System

Users and Groups

Create user

get-appxpackage -all | where name -eq "app-name" | remove-appxpackage -all

Jazz has inspired some of the most popular TV Series. Here some of the favourites:

"Sax and the City" - a bunch of saxophone players desperately try to find serious musical relations but always end up playing in disturbed jams.

"Orange is the new Black" - Obama-Trump transition from a jazz musician point of view, in women's preason.

"The Simpsounds" - The most musical family of Swingfield faces their archrivals Wes Montgomery Burns and Sideshow Bop.

"Baking Brad" - Walter White apllies his knowledge in chemistry and harmony to cook some pills that make normal people play piano like Brad (Mehldau).