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
esphome: | |
name: doorbell | |
esp32: | |
board: esp32dev | |
framework: | |
type: arduino | |
# Enable logging | |
logger: |
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
# Sinilink USB Computer Remote (XY-WPCL) | |
esphome: | |
name: reveille | |
friendly_name: reveille | |
esp8266: | |
board: esp8285 | |
# Enable logging |
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
cd ~/cloudbox && git fetch && git reset --hard @{u} | |
sudo ansible-playbook cloudbox.yml --tags cloudbox | |
cd ~/community; git fetch &> /dev/null; git checkout master &> /dev/null; git reset --hard @{u} &> /dev/null | |
sudo ansible-playbook community.yml --tags delugevpn |
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
#!/usr/bin/env bash | |
# Any copyright is dedicated to the Public Domain. | |
# https://creativecommons.org/publicdomain/zero/1.0/ | |
# This script was used to migrate photos and videos saved | |
# from Dropbox to OneDrive. Since both services use their | |
# own naming scheme, I wanted to maintain consistency between | |
# the newly uploaded files (automatically from my devices) and | |
# the old ones migrated from Dropbox. |
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
package main | |
//https://gitweb.torproject.org/torspec.git/tree/control-spec.txt | |
import ( | |
"fmt" | |
"net" | |
"net/textproto" | |
"os" | |
"time" |
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 ./scripts/stop | |
sudo rm ~/umbrel/lnd/!(lnd.conf) | |
sudo rm ~/umbrel/db/user.json | |
sudo ./scripts/start |
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 fdisk -l | |
sudo parted /dev/vda | |
GNU Parted 3.3 | |
Using /dev/vda | |
Welcome to GNU Parted! Type 'help' to view a list of commands. | |
(parted) resizepart | |
Warning: Not all of the space available to /dev/vda appears to be used, you can fix the GPT to use all of the space (an | |
extra 67108864 blocks) or continue with the current setting? |
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
package lib | |
import java.io.InputStream | |
import java.security.KeyFactory | |
import java.security.interfaces.{RSAPrivateKey, RSAPublicKey} | |
import java.security.spec.{PKCS8EncodedKeySpec, X509EncodedKeySpec} | |
import javax.inject.Inject | |
import play.api.Environment |
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
find /etc/opt/kerberosio/capture -type f -name '*.*' -mtime +7 -exec rm {} \; |
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
docker run -d --name gitlab-runner --restart always -v /var/run/docker.sock:/var/run/docker.sock -v /srv/gitlab-runner/config:/etc/gitlab-runner gitlab/gitlab-runner:alpine | |
docker exec -it gitlab-runner gitlab-runner register |