Skip to content

Instantly share code, notes, and snippets.

View ungureanuliviu's full-sized avatar

Liviu Ungureanu ungureanuliviu

View GitHub Profile
@tavy315
tavy315 / centos8.bash
Last active February 6, 2020 20:36
CentOS Utils
# PICO
yum -y install nano
ln -s /usr/bin/nano /usr/bin/pico
export EDITOR="pico"
# NTP
dnf install chrony
systemctl start chronyd
systemctl status chronyd
systemctl enable chronyd
/**
* This Google Sheets script keeps data in the specified column sorted any time
* the data changes.
*
* After much research, there wasn't an easy way to automatically keep a column
* sorted in Google Sheets, and creating a second sheet to act as a "view" to
* my primary one in order to achieve that was not an option. Instead, I
* created a script that watches for when a cell is edited and triggers
* an auto sort.
*