Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
TODO after Ubuntu instalation
sudo apt update && sudo apt dist-upgrade -y
sudo add-apt-repository -y ppa:webupd8team/java &&
sudo add-apt-repository -y ppa:webupd8team/y-ppa-manager &&
sudo add-apt-repository -y ppa:webupd8team/terminix &&
sudo add-apt-repository -y ppa:nilarimogard/webupd8 &&
sudo add-apt-repository -y ppa:otto-kesselgulasch/gimp &&
sudo add-apt-repository -y ppa:snwh/pulp &&
sudo add-apt-repository -y ppa:moka/daily &&
sudo add-apt-repository -y ppa:stefansundin/truecrypt &&
sudo add-apt-repository -y ppa:unit193/encryption &&
sudo add-apt-repository -y ppa:snwh/pulp &&
sudo add-apt-repository -y ppa:teejee2008/ppa &&
sudo add-apt-repository -y ppa:dawidd0811/neofetch &&
sudo add-apt-repository -y ppa:team-xbmc/ppa &&
sudo apt-add-repository -y ppa:teejee2008/ppa &&
sudo add-apt-repository -y ppa:noobslab/icons &&
sudo add-apt-repository -y ppa:noobslab/themes &&
sudo add-apt-repository -y ppa:papirus/papirus &&
sudo add-apt-repository -y ppa:xuzhen666/gnome-mpv &&
sudo add-apt-repository -y ppa:noobslab/apps &&
sudo add-apt-repository -y ppa:libreoffice/ppa &&
sudo add-apt-repository -y ppa:mozillateam/firefox-next &&
sudo add-apt-repository -y ppa:ubuntuhandbook1/audacity &&
sudo add-apt-repository -y ppa:tista/adapta
sudo apt update &&
sudo apt install curlew screenfetch gnome-mpv trimage ttf-ancient-fonts nnn imgp tilix adapta-gtk-theme adapta-backgrounds arc-theme papirus-icon-theme numix-gtk-theme flatabulous-theme ultra-flat-icons oracle-java8-installer faenza-icon-theme ubuntu-restricted-extras tagtool easytag id3tool nautilus-script-audio-convert lame libmad0 mpg321 libavcodec-extra gnome-tweak-tool p7zip-rar p7zip-full unace unrar zip unzip sharutils rar arj cabextract file-roller gimp gimp-data gimp-plugin-registry gimp-data-extras htop fonts-roboto ttf-anonymous-pro git filezilla inkscape paper-icon-theme paper-gtk-theme veracrypt autoconf automake pkg-config libgtk-3-dev gnome-themes-standard gtk2-engines-murrine aptik ukuu audacity neofetch shutter openvpn network-manager-openvpn-gnome deluge-gtk audacious audacious-plugins libncurses5-dev ruby ruby-dev ruby-colorize
sudo gem install colorls
sudo snap refresh &&
sudo snap install keepassxc
##
# GNOME SHELL EXTENSION
##
https://extensions.gnome.org/extension/19/user-themes/
https://extensions.gnome.org/extension/723/pixel-saver/
https://extensions.gnome.org/extension/1037/customcorner/
https://extensions.gnome.org/extension/484/workspace-grid/
https://extensions.gnome.org/extension/2/move-clock/
https://extensions.gnome.org/extension/750/openweather/
https://extensions.gnome.org/extension/39/put-windows/
# https://extensions.gnome.org/extension/354/maximus/
##
# DROPBOX
##
cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
~/.dropbox-dist/dropboxd
######################################
# subliminal subtitles finder Nautilus
######################################
sudo -H pip install subliminal
wget https://raw.githubusercontent.com/Diaoul/nautilus-subliminal/master/install.sh -O - | sudo bash
##
# CHROME
##
echo "Installing Google Chrome" && wget https://dl.google.com/linux/direct/google-chrome-beta_current_amd64.deb && sudo dpkg -i google-chrome-beta_current_amd64.deb && rm -f google-chrome-beta_current_amd64.deb
##
# SPOTIFY https://www.spotify.com/es/download/linux/
##
sudo apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys BBEBDCB318AD50EC6865090613B00F1FD2C19886
echo deb http://repository.spotify.com stable non-free | sudo tee /etc/apt/sources.list.d/spotify.list
sudo apt update && sudo apt-get install spotify-client
###
# ELECTRUM BTC WALLET
###
sudo apt-get install python-qt4 python-pip && sudo pip2 install https://download.electrum.org/2.9.3/Electrum-2.9.3.tar.gz
##
# Stacer
##
https://github.com/oguzhaninan/Stacer/releases/latest
##
# Flush DNS
##
sudo /etc/init.d/dns-clean
##
# Bash-it [https://itsfoss.com/bash-it-terminal-tool/]
##
git clone --depth=1 https://github.com/Bash-it/bash-it ~/.bash-it && cd ~/.bash-it && ./install.sh
##
# Le capitane icon theme
##
mkdir $HOME/.icons && cd $HOME/.icons && git clone https://github.com/keeferrourke/la-capitaine-icon-theme.git && cd la-capitaine-icon-theme && ./configure
mkdir ~/Git && cd ~/Git && git clone https://github.com/keeferrourke/capitaine-cursors.git && cd capitaine-cursors && ./build.sh &&
##
# Obsidian icons
##
cd ~/.icons && git clone https://github.com/madmaxms/iconpack-obsidian.git && sudo cp -r iconpack-obsidian/ /usr/share/icons/
##
# FONTS
##
mkdir ~/Git && cd ~/Git && git clone https://github.com/ryanoasis/nerd-fonts.git && cd nerd-fonts && ./install.sh
##
# .bashrc
##
gedit ~/.basrch
## alias
alias lc='colorls'
alias ls='colorls -la'
alias rcp='rsync -avzuP --compress-level=9 --progress'
### Show screenfetch
if [ -f /usr/bin/screenfetch ]; then screenfetch; fi
##
# TOR
##
wget https://www.torproject.org/dist/torbrowser/7.5a6/tor-browser-linux64-7.5a6_es-ES.tar.xz
####################
# SYSCTL.CONF TWEAKS
# https://gist.github.com/jgeiger/d1a2f72b42adb3ab048f
# https://easyengine.io/tutorials/linux/sysctl-conf/
####################
sudo cp /etc/systcl.conf /etc/systcl.old
sudo gedit /etc/systcl.conf
#kernel.domainname = example.com
# Uncomment the next two lines to enable Spoof protection (reverse-path filter)
# Turn on Source Address Verification in all interfaces to
# prevent some spoofing attacks
net.ipv4.conf.default.rp_filter=1
net.ipv4.conf.all.rp_filter=1
# Uncomment the next line to enable TCP/IP SYN cookies
# See http://lwn.net/Articles/277146/
# Note: This may impact IPv6 TCP sessions too
net.ipv4.tcp_syncookies=1
# Do not accept IP source route packets (we are not a router)
net.ipv4.conf.all.accept_source_route = 0
net.ipv6.conf.all.accept_source_route = 0
### IMPROVE SYSTEM MEMORY MANAGEMENT ###
# Increase size of file handles and inode cache
fs.file-max = 2097152
# Do less swapping
vm.swappiness = 10
vm.dirty_ratio = 60
vm.dirty_background_ratio = 2
### GENERAL NETWORK SECURITY OPTIONS ###
# Number of times SYNACKs for passive TCP connection.
net.ipv4.tcp_synack_retries = 2
# Allowed local port range
net.ipv4.ip_local_port_range = 7000 65535
# Protect Against TCP Time-Wait
net.ipv4.tcp_rfc1337 = 1
# Decrease the time default value for tcp_fin_timeout connection
net.ipv4.tcp_fin_timeout = 15
# Decrease the time default value for connections to keep alive
net.ipv4.tcp_keepalive_time = 3600
net.ipv4.tcp_keepalive_probes = 5
net.ipv4.tcp_keepalive_intvl = 15
net.core.default_qdisc=fq
net.ipv4.tcp_congestion_control=bbr
### TUNING NETWORK PERFORMANCE ###
# Default Socket Receive Buffer
net.core.rmem_default = 31457280
# Maximum Socket Receive Buffer
net.core.rmem_max = 12582912
# Default Socket Send Buffer
net.core.wmem_default = 31457280
# Maximum Socket Send Buffer
net.core.wmem_max = 12582912
# Increase number of incoming connections
net.core.somaxconn = 65535
# Increase number of incoming connections backlog
net.core.netdev_max_backlog = 65535
# Increase the maximum amount of option memory buffers
net.core.optmem_max = 25165824
# Increase the maximum total buffer-space allocatable
# This is measured in units of pages (4096 bytes)
net.ipv4.tcp_mem = 65535 131072 262144
net.ipv4.udp_mem = 65535 131072 262144
# Increase the read-buffer space allocatable
net.ipv4.tcp_rmem = 8192 87380 16777216
net.ipv4.udp_rmem_min = 16384
# Increase the write-buffer-space allocatable
net.ipv4.tcp_wmem = 8192 65535 16777216
net.ipv4.udp_wmem_min = 16384
# Increase the tcp-time-wait buckets pool size to prevent simple DOS attacks
#net.ipv4.tcp_max_tw_buckets = 1440000
#net.ipv4.tcp_tw_recycle = 1
#net.ipv4.tcp_tw_reuse = 1
fs.inotify.max_user_watches=524288
sudo sysctl -p
#################
# OLD OLD OLD OLD
#################
sudo add-apt-repository -y ppa:twodopeshaggy/jarun &&
sudo add-apt-repository -y ppa:bablu-boy/nutty.0.1 &&
sudo add-apt-repository -y ppa:videolan/master-daily &&
sudo add-apt-repository -y ppa:webupd8team/tor-browser &&
sudo add-apt-repository -y ppa:atareao/atareao &&
terminator keepassx flashplugin-installer vlc nutty pomodoro-indicator zsh gxine indicator-cpufreq
unity-tweak-tool
libdvdread4 icedax
uudeview mpack kodi
##
# OH MY ZSH
##
#curl -L http://install.ohmyz.sh | sh
#which zsh #/usr/bin/zsh
#chsh -s /usr/bin/zsh
##
# ANBOX
##
# snap install --classic anbox-installer && anbox-installer
## 17.04 Not working
sudo add-apt-repository -y ppa:keepassx/daily &&
sudo add-apt-repository -y ppa:thefanclub/ubuntu-after-install &&
sudo add-apt-repository -y ppa:moka/stable &&
## 17.04 Not Working
gstreamer0.10-plugins-ugly ubuntu-after-install
# 17.04 Not working
sudo sh -c "echo 'deb http://download.opensuse.org/repositories/home:/Horst3180/xUbuntu_16.04/ /' >> /etc/apt/sources.list.d/vertex-theme.list"
sudo apt-get update && sudo apt-get install vertex-theme
wget http://download.opensuse.org/repositories/home:Horst3180/xUbuntu_16.04/Release.key
sudo apt-key add - < Release.key
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment