Skip to content

Instantly share code, notes, and snippets.

@syaroz
syaroz / install-ubuntu.sh
Created June 19, 2019 08:49 — forked from pedropombeiro/install-ubuntu.sh
Set up dev environment in Ubuntu
#!/bin/sh
rm -f ~/Downloads/*
# Adapt Firefox settings
def_Pfile=`cat "$HOME/.mozilla/firefox/profiles.ini" | sed -n -e 's/^.*Path=//p' | head -n 1`
# Enable FIDO U2F in Firefox
echo "user_pref(\"security.webauth.u2f\", \"true\");" >> $HOME/.mozilla/firefox/$def_Pfile/prefs.js
sudo apt update