This file contains 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
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset="UTF-8"> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
<meta http-equiv="X-UA-Compatible" content="ie=edge"> | |
<title>Music Player</title> | |
</head> | |
<body> |
This file contains 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
#!/bin/bash | |
treehouses rename pinode1 | |
# expands the filesystem | |
treehouses expandfs | |
treehouses bluetooth on | |
# set up the default ip | |
# treehouses staticwifi <ip> <mask> <gateway> <dns> <ESSID> [password] | |
treehouses staticwifi 192.168.0.10 255.255.255.0 192.168.0.1 8.8.8.8 NETGEAR11 blueteapot615 | |
# treehouses wifi NETGEAR11 blueteapot615 |
This file contains 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
INFO global: Vagrant version: 2.2.6 | |
INFO global: Ruby version: 2.4.9 | |
INFO global: RubyGems version: 2.6.14.4 | |
INFO global: VAGRANT_DEFAULT_PROVIDER="libvirt" | |
INFO global: VAGRANT_INSTALLER_VERSION="2" | |
INFO global: VAGRANT_EXECUTABLE="/opt/vagrant/embedded/gems/2.2.6/gems/vagrant-2.2.6/bin/vagrant" | |
INFO global: VAGRANT_INSTALLER_ENV="1" | |
INFO global: VAGRANT_INSTALLER_EMBEDDED_DIR="/opt/vagrant/embedded" | |
INFO global: VAGRANT_LOG="debug" | |
WARN global: resolv replacement has not been enabled! |
This file contains 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 screen /dev/ttyUSB0 115200 |
This file contains 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
https://raw.githack.com/treehouses/treehouses.github.io/serial_cable/ |
This file contains 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
# This file has been auto-generated by i3-config-wizard(1). | |
# It will not be overwritten, so edit it as you like. | |
# | |
# Should you change your keyboard layout some time, delete | |
# this file and re-run i3-config-wizard(1). | |
# | |
# i3 config file (v4) | |
# | |
# Please see https://i3wm.org/docs/userguide.html for a complete reference! |
This file contains 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
``` | |
pi@treehouses:~ $ treehouses version | |
1.10.7 | |
pi@treehouses:~ $ route | |
Kernel IP routing table | |
Destination Gateway Genmask Flags Metric Ref Use Iface | |
default 0.0.0.0 0.0.0.0 U 206 0 0 br-c8ee21a7dc8f | |
link-local 0.0.0.0 255.255.0.0 U 206 0 0 br-c8ee21a7dc8f |
This file contains 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
gistup |
This file contains 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
function move_to_trash () { | |
# check if you have the backup directory. | |
if [ -d "/home/`whoami`/backup/" ]; then | |
mkdir -p "/home/`whoami`/backup/"; | |
fi | |
# copy the files or folders before deleting it. | |
cp -r "$@" "/home/`whoami`/backup/" && command rm -rf "$@" && echo "Moved to trash"; |