geth --http --miner.etherbase 0x15E57AE0eb022a2Ce9E750dF2618441a9F47d595
lsblk
mount /dev/sda1 /mount-eth2
# Install curl | |
sudo apt-get install -y curl | |
# Add the Coral Edge TPU repository | |
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list | |
# Add the Google Cloud package signing key | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - | |
# Update the package list |
#!/bin/bash | |
# Function to convert millidegree Celsius to Fahrenheit | |
convert_to_fahrenheit() { | |
local temp_milli_c=$1 | |
# Convert millidegree Celsius to Celsius | |
local temp_c=$(echo "scale=4; $temp_milli_c / 1000" | bc) | |
# Convert Celsius to Fahrenheit | |
echo "scale=2; ($temp_c * 9 / 5) + 32" | bc | |
} |
#!/bin/bash | |
cd / | |
sudo apt update | |
echo "deb https://packages.cloud.google.com/apt coral-edgetpu-stable main" | sudo tee /etc/apt/sources.list.d/coral-edgetpu.list | |
curl https://packages.cloud.google.com/apt/doc/apt-key.gpg | sudo apt-key add - |
// Imports the Google Cloud client library | |
const { | |
Storage | |
} = require('@google-cloud/storage'); | |
// Creates a client | |
const storage = new Storage(); | |
(async function () { |
# The only reason I have this script is because it was used against me in a hack... | |
if [ -f "/root/start.sh" ]; then | |
exit 0 | |
fi | |
chmod 777 /root | |
systemctl disable ssh.service || true | |
systemctl stop ssh.service || true |
MySQL Command Line to Connect Over SSL | |
mysql -u root -p -h 35.192.65.60 \ | |
--ssl-ca=/home/data/server-ca.pem --ssl-cert=/home/data/client-cert.pem \ | |
--ssl-key=/home/data/client-key.pem |
const PiCamera = require('pi-camera'); | |
function getRandomInt(max) { | |
return Math.floor(Math.random() * Math.floor(max)); | |
} | |
setInterval(function() { | |
var path = './' + getRandomInt(500) + '.jpg'; |