I hereby claim:
- I am mwleeds on github.
- I am mwleeds (https://keybase.io/mwleeds) on keybase.
- I have a public key ASDWAgO2yRvegI7y_pZdZBTFDzxvwUBRgoJd-j5xXTz7dwo
To claim this, I am signing this object:
t timeline -n 100 CutePetsBHam | awk '{if (NF > 2) {print $(NF-1)}}' | xargs -I + curl -s -o /dev/null -I -w "%{redirect_url}\n" + | sort | uniq |
I hereby claim:
To claim this, I am signing this object:
# Install the MySQL client and server software (on Ubuntu/Debian) | |
sudo apt-get update && sudo apt-get install mysql-client mysql-server | |
# you'll set a root password for the server instance and the mysql service should start on localhost | |
# you can also install the mysql-workbench package if you want a GUI | |
# download the CompanyDB.DDL.txt file from the website and rename it | |
wget -O - http://cs457.cs.ua.edu/CompanyDB.DDL.txt > CompanyDB.DDL.sql | |
# Connect to your server (enter the root password at the prompt) | |
mysql --host=localhost --user=root -p |
Verifying that "mwleeds.id" is my Blockstack ID. https://onename.com/mwleeds |
#!/bin/bash | |
# This script is a quick hack to run a flatpak build of GNOME Builder. | |
# It should be run from Builder's source directory. | |
# Beware the hardcoded directories if you're attempting to reuse it. | |
# Redirect stdout and stderr to log files | |
exec 1<&- | |
exec 2<&- | |
exec 1<>flatpak-builder.log |
#!/bin/bash | |
if [[ ! -f speedtest.py ]]; then | |
wget https://raw.githubusercontent.com/sivel/speedtest-cli/master/speedtest.py | |
fi | |
for i in `seq 400`; do | |
echo -e "\n`date --iso-8601=seconds`\n" >> speedtest.log | |
python speedtest.py --simple |& tee -a speedtest.log | |
echo "Connectivity: `nmcli networking connectivity`" >> speedtest.log |
#!/bin/bash | |
cd | |
for d in /sys/class/drm/*DP*; do | |
tar -czf `basename $d`.tgz $d/edid $d/dpms $d/enabled $d/modes $d/status &>/dev/null | |
done |
#!/bin/bash | |
# This script enables zram on Endless OS systems with 4 GB of memory or less, | |
# and attempts to do it in a way that both persists across reboots and can be | |
# overwritten by an OS update. | |
if [[ -e /dev/zram0 ]]; then | |
echo "zram is already enabled" | |
exit 0 | |
fi |
#!/bin/bash | |
set -e | |
set -o xtrace | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root" | |
exit 1 | |
fi |
#!/bin/bash | |
set -o xtrace | |
if [[ $EUID -ne 0 ]]; then | |
echo "This script must be run as root (use sudo)" | |
exit 1 | |
fi | |
sudo -u `logname` killall gnome-software |