Skip to content

Instantly share code, notes, and snippets.

View AndreaGhizzoni's full-sized avatar

Andrea Ghizzoni AndreaGhizzoni

View GitHub Profile
@AndreaGhizzoni
AndreaGhizzoni / thunderbird-settings.md
Last active January 16, 2018 12:51
thunderbird-settings.md

Thunderbird settings

My personal guide to setup Thunderbird.

  1. uncheck View -> Display Attachments Inline.
  2. In Edit > Account Settings > Composition & Addressing uncheck Compose Message in HTML format to send plain text for that account.
  3. Open Edit > Preferences > Advanced > Config Editor and search for the following keys:
    • mailnews.display.disable_format_flowed_support and set to true
    • mailnews.send_plaintext_flowed and set to false
@AndreaGhizzoni
AndreaGhizzoni / ubuntu_audio_bluetooth_dondle.md
Last active March 4, 2018 10:58
ubuntu_audio_bluetooth_dondle.md

Ubuntu audio via bluetooth dongle

1. Dependency

sudo apt-get install pulseaudio-module-bluetooth

and start the bluetooth daemon

sudo service bluetooth start
@AndreaGhizzoni
AndreaGhizzoni / installing_fonts.md
Last active November 22, 2017 10:23
installing_fonts.md

Installing fonts

Personal tutorial to properly install Powerline fonts and patch it with Nerd Fonts.

1. Install Powerline fonts

For me this set of font is required to display powerline symbols for vim-airline.

git clone https://github.com/powerline/fonts.git fonts
./fonts/install.sh
fc-cache -f
@AndreaGhizzoni
AndreaGhizzoni / personal_fresh_install_steps.md
Last active December 9, 2017 10:04
personal_fresh_install_steps.md
sudo passwd

mkdir -p Documents
cd Documents

wget https://github.com/AndreaGhizzoni/configurations/archive/master.zip
unzip master.zip
cd conficurations-master/installs
sudo ./0_init.install.bash
@AndreaGhizzoni
AndreaGhizzoni / copy-glyph-in-vim.md
Created November 12, 2017 15:46
copy-glyph-in-vim.md
@AndreaGhizzoni
AndreaGhizzoni / eclipse.md
Last active October 27, 2017 08:17
eclipse.md

Eclipse on linux

Notes while using Eclipse Mars on linux.

GTK

Force Eclipse to use GTK 2 by replacing

--launcher.defaultAction
openFile

with

@AndreaGhizzoni
AndreaGhizzoni / vlc-volume-stick-with-system-volume.md
Last active October 24, 2017 09:24
vlc-volume-stick-with-system-volume.md

Seems that the problem is caused by pulse audio. To change this behaviour just:

  • Tools
  • Preferences
  • Show Settings - All
  • Main Interface
  • And select as Interface Module Qt interface
  • Then select Audio - Output Modules
  • And change to ALSA audio output
@AndreaGhizzoni
AndreaGhizzoni / java-multiple-version.md
Last active October 24, 2017 09:24
java-multiple-version.md

Managing multiple version of Java

Installing openjdk-8 and openjdk-9

$ sudo apt-get install openjdk-8-jdk openjdk-9-jdk

jvm location

The defult location of all java jvm is /usr/lib/jvm. There you can find something like this:

@AndreaGhizzoni
AndreaGhizzoni / bash-scripting-references.md
Last active January 11, 2018 13:08
bash-scripting-references.md

BASH Scripting References

Sha-Bang

#!/usr/bin/env bash

Script Parametes

script.bash

@AndreaGhizzoni
AndreaGhizzoni / raspberrypi-enable-usb-boot.md
Last active October 2, 2023 19:42
raspberrypi-enable-usb-boot.md

Program USB Boot Mode

Before a Raspberry Pi 3 will boot from a mass storage device, it needs to be booted from an SD card with a config option to enable USB boot mode. This will set a bit in the OTP (One Time Programmable) memory in the Raspberry Pi SoC that will enable booting from a USB mass storage device. Once this bit has been set, the SD card is no longer required. Note that any change you make to the OTP is permanent and cannot be undone.

First update the system (just in case..)