I hereby claim:
- I am andrewpmiller on github.
- I am andrewpmiller (https://keybase.io/andrewpmiller) on keybase.
- I have a public key whose fingerprint is CD51 AC3B 2FF6 1E99 82DD C7D3 2FC3 2B74 3DE6 A9F2
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
Everyone hates antivirus software – except IT departments.
Sophos does a particularly annoying thing on my work MacBook... some process (I think it's called "Sweep") constantly changes the permissions on /usr/local/bin so that I can't update or install Homebrew packages.
This unlocks things temporarily:
sudo chown -R $(whoami) /usr/local/bin
| /* | |
| Calculating Pi with the Leibniz formula: | |
| 1 1 1 1 π | |
| 1 - ––– + ––– - ––– + ––– - ... = ––– | |
| 3 5 7 9 4 | |
Repository for the upcoming Gymnasium course.
sudo apt-get remove --purge libreoffice*
sudo apt-get clean
sudo apt-get autoremove| /* | |
| +-----+ | |
| +----[PWR]-------------------| USB |--+ | |
| | +-----+ | | |
| | GND/RST2 [ ][ ] | | |
| | MOSI2/SCK2 [ ][ ] A5/SCL[ ] | C5 | |
| | 5V/MISO2 [ ][ ] A4/SDA[ ] | C4 | |
| | AREF[ ] | | |
| | GND[ ] | | |
| | [ ]N/C SCK/13[ ] | B5 |
| #!/bin/bash | |
| # getload | |
| # | |
| # This miniscule script is a hack to return the current | |
| # CPU load. It is simply stripping off the first | |
| # value returned from loadavg. | |
| cat /proc/loadavg | head -n1 | cut -d " " -f1 | |
| exit 0 |
| #!/bin/bash | |
| # cpustatus | |
| # | |
| # Prints the current state of the CPU like temperature, voltage and speed. | |
| # Temperature is reported in degrees Fahrenheit (F) - converting from C requires bc | |
| # CPU speed is calculated in megahertz (MHz). | |
| function convert_to_MHz { | |
| let value=$1/1000 | |
| echo "$value" |