This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get install -y gpsd | |
sudo apt-get install -y gpsd-clients | |
sudo apt-get install -y python-gps | |
sudo apt-get install -y libcap-dev | |
sudo apt-get install -y pps-tools | |
echo console=ttyACM0,115200 >> /boot/cmdline.txt | |
# edit /etc/rc/local and add (before the exit 0) | |
# sudo gpsd /dev/ttyACM0 -F /var/run/gpsd.sock |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#-- Get the full script here : https://github.com/VimalShekar/PowerShell/blob/master/GetCredmanCreds.ps1 | |
# | |
# Function to read the IE/Edge password vault (Web Credentials portion of credential manager) | |
# | |
function Get-PasswordVaultCredentials { | |
#initilize empty array | |
$CRED_MANAGER_CREDS_LST = @() |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- ========================================= | |
-- simple year-over-year | |
-- ========================================= | |
SELECT | |
SUM(CASE WHEN year = 2008 THEN precipitation ELSE 0 END) AS cy_precipitation, | |
SUM(CASE WHEN year = 2009 THEN precipitation ELSE 0 END) AS py_precipitation, | |
SUM(CASE WHEN year = 2008 THEN precipitation ELSE 0.0 END) / SUM(CASE WHEN year = 2009 THEN precipitation ELSE 0.0 END) - 1.0 as change | |
FROM station_data |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt-get update | |
sudo apt-get install lua5.1 alsa-utils triggerhappy curl libcurl3 | |
wget http://archive.raspberrypi.org/debian/pool/main/r/raspi-config/raspi-config_20160322_all.deb | |
wget http://archive.raspberrypi.org/debian/pool/main/r/rpi-update/rpi-update_20140705_all.deb | |
dpkg -i raspi-config_20160322_all.deb | |
dpkg -i rpi-update_20140705_all.deb |