Skip to content

Instantly share code, notes, and snippets.


Riccardo Pittau elfosardo

  • Red Hat
  • France
Block or report user

Report or block elfosardo

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
elfosardo / ubuntu_install
Last active May 29, 2018
ubuntu install
View ubuntu_install
sudo apt install gnome-tweak-tool
# run gnome-tweaks
# change mouse/touchpad to use right button correctly
# change date/time
# remove icons from desktop
# customize ubuntu dock/dash
# reduce icon size
# remove icons from left bar
# if virtual-box, disable automatic screen lock and set blank screen to never
gsettings get org.gnome.desktop.screensaver lock-enabled
elfosardo / python_convert_dict_to_list
Created Mar 10, 2018
[python] convert dictionary to list
View python_convert_dict_to_list
# A list of the keys of dictionary
list_keys = [ k for k in dict ]
# or a list of the values
list_values = [ v for v in dict.values() ]
# or just a list of the list of key value pairs
list_key_value = [ [k,v] for k, v in dict.items() ]
elfosardo /
Last active Apr 4, 2017 — forked from ryin/
bash script for installing tmux without root access
# Script for installing tmux on systems where you don't have root access or you want a different version.
# tmux will be installed in $HOME/local/bin.
# It's assumed that wget and a C/C++ compiler are installed.
# To install in a box with no external connection donwload the source files and put them in the temp_dir.
# manage local source files better
# exit on error
You can’t perform that action at this time.