LXD and lxc runs on top of LXC. LXC provides the basic functionality used under the hood by LXD. However, it should not be confused with the lxc CLI client tool provided by LXD.
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
#!/bin/bash | |
# | |
# A simple command to untar any tarball. | |
# | |
# For times when you don't care whether it was compressed | |
# with bzip2 or gzip, you just want to untar it already! | |
# | |
# Usage: untar [-v|--verbose] file | |
# |
Find all available devices arp -a
Locate Raspberry (b8:27:eb) in Network: Pi Finder
- Connect to device via SSH + Name:
ssh pi@rasperrypi
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
package main | |
import ( | |
"crypto/tls" | |
"flag" | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
"os/user" |
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
#!/bin/bash | |
# | |
# Script for updating DNS records on Hurricane Electirc's DNS system (https://dns.he.net). | |
# | |
# The record will be updated with the IP address that originates the request. | |
# | |
# Usage | |
# ----- | |
# | |
# Create config file `/etc/he-dns-update.conf`: |
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
[ | |
{ | |
"name": "Afghanistan", | |
"code": "AF" | |
}, | |
{ | |
"name": "Åland Islands", | |
"code": "AX" | |
}, | |
{ |