This guide has been updated for elementaryOS v5.0+.
sudo apt-get update
sudo apt-get -y install software-properties-common
#!/usr/bin/env bash | |
# Taken from (and freely modified as no license was specified): | |
# https://gist.github.com/ecompayment/b1054421eb90f296bbca226683c7ff7e | |
# https://gist.github.com/pwnsdx/1217727ca57de2dd2a372afdd7a0fc21 | |
# Before running this script, you must: | |
# - Disable FileVault (if it is enabled) Note: You will not be able to re-enable FileVault AND keep these customisations. | |
# - Reboot your Mac into Recovery Mode. | |
# - Select Terminal from top menu and run the following commands: |
#!/bin/bash | |
# Download the last version of elementaryOS Juno on https://elementary.io/ free or pay what you want ;) | |
# Organized by @dennissenner | |
# Ter Out 30 | |
# Download this script, edit if you want. | |
# We are not liable for any technical difficulties you may incur arising from the use of these software and hardware. | |
# Use at your own risk. Please review the code below before using. | |
# To execute: | |
# sudo chmod +x -v filename.sh |
with table_stats as ( | |
select psut.relname, | |
psut.n_live_tup, | |
1.0 * psut.idx_scan / greatest(1, psut.seq_scan + psut.idx_scan) as index_use_ratio | |
from pg_stat_user_tables psut | |
order by psut.n_live_tup desc | |
), | |
table_io as ( | |
select psiut.relname, | |
sum(psiut.heap_blks_read) as table_page_read, |
# First you update your system | |
sudo apt-get update && sudo apt-get dist-upgrade | |
# Clean-up System | |
sudo apt-get purge epiphany-browser epiphany-browser-data #browser | |
sudo apt-get purge midori-granite #browser | |
sudo apt-get purge noise | |
sudo apt-get purge scratch-text-editor #text-editor | |
sudo apt-get purge modemmanager | |
sudo apt-get purge geary #email |
#Start with a dist upgrade | |
sudo apt dist-upgrade | |
# Get chrome | |
wget https://dl.google.com/linux/direct/google-chrome-stable_current_amd64.deb | |
sudo dpkg -i ./google-chrome*.deb | |
sudo apt-get install -f | |
# dev (php, docker, git, node, bower, electron, composer) | |
sudo apt install -y \ |
#!/bin/bash | |
# Download the last version of elementaryOS on https://elementary.io/ free or pay what you want ;) | |
# Organized by @dennissenner | |
# 2017-Jan-13, yeah, Friday 13th | |
# Download this script, edit if you want. | |
# To execute: | |
# sudo chmod +x -v eOS_loki_perfect.bash | |
# sudo ./eOS_loki_perfect.bash |
/********* | |
* Panel * | |
********/ | |
/* Paste this on file /usr/share/themes/Lion/gtk-3.0/apps.css */ | |
.panel { | |
background-color: alpha (#000, 0.0); | |
color: #fff; | |
font-weight: bold; | |
} |
#!/bin/bash | |
clear | |
# Create a secure tmp directory | |
tmp=${TMPDIR-/tmp} | |
tmp=$tmp/oduso.$RANDOM.$RANDOM.$RANDOM.$$ # Use a random name so it's secure | |
(umask 077 && mkdir "$tmp") || { # Another security precaution | |
echo "Could not create temporary directory! Exiting." 1>&2 | |
exit 1 | |
} |
{ | |
"theme": "Spacegray.sublime-theme", | |
// "theme": "Default Dark.sublime-theme", | |
// "theme": "SoDaReloaded Dark.sublime-theme", | |
"color_scheme": "Packages/Theme - Spacegray/base16-ocean.dark.tmTheme", | |
// "color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme", | |
// "color_scheme": "Packages/Color Scheme - Default/Twilight.tmTheme", | |
// "color_scheme": "Packages/Color Scheme - Default/Blackboard.tmTheme", |