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
nslookup -type=txt o-o.myaddr.l.google.com ns1.google.com | grep "text = " | awk '{print $4}' | tr -d '"' |
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
# just wrap this in a CronJob. | |
# this example uses https://github.com/schickling/dockerfiles/tree/master/mysql-backup-s3 | |
# ideally you use a backup image you trust in your own CR | |
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: mysqldump-to-spaces | |
namespace: db | |
spec: |
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
apiVersion: batch/v1 | |
kind: CronJob | |
metadata: | |
name: loadbalancer-add-port-forward | |
spec: | |
schedule: "*/10 * * * *" | |
concurrencyPolicy: Forbid | |
failedJobsHistoryLimit: 1 | |
jobTemplate: | |
spec: |
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
# first, install docker if it's not already w/ Synology Package Center, ensure SSH is enabled. | |
# it probably installed to /volume1/ but make sure. if it didn't, note the path. | |
# ssh in as user you want to run docker as and get the id/gid. should be a user that has R/W | |
# to the download location. don't run this as root (duh) | |
russ@russ-nas1:/$ id | |
uid=1026(russ) gid=100(users) groups=100(users),101(administrators) | |
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
section: screens | |
ISILDUR: | |
halfDuplexCapsLock = false | |
halfDuplexNumLock = false | |
halfDuplexScrollLock = false | |
xtestIsXineramaUnaware = false | |
switchCorners = none | |
switchCornerSize = 0 | |
russ-mbp: | |
# alt = meta |
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
apiVersion: v1 | |
kind: Pod | |
metadata: | |
name: pod-from-tarball | |
spec: | |
initContainers: | |
- name: doit | |
image: docker.io/library/docker:dind | |
command: | |
- sh |
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
# Inserts a blank line between shell prompts | |
add_newline = true | |
# Replace the "❯" symbol in the prompt with "➜" | |
[character] | |
success_symbol = "[➜](bold green)" | |
# success_symbol = "[λ](bold green)" | |
[aws] |
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
{ | |
"Version": "2012-10-17", | |
"Statement": [ | |
{ | |
"Action": [ | |
"iam:CreateVirtualMFADevice", | |
"iam:ListVirtualMFADevices", | |
"iam:DeactivateMFADevice", | |
"iam:DeleteVirtualMFADevice", | |
"iam:EnableMFADevice", |
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
cat /usr/share/applications/whatsapp-webapp.desktop | |
#!/usr/bin/env xdg-open | |
[Desktop Entry] | |
Name=WhatsApp | |
GenericName=WhatsApp | |
Comment=WhatsApp desktop webapp | |
#Exec=webapp-container --store-session-cookies --webappUrlPatterns=https?://*.whatsapp.com/* --user-agent-string='Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/41.0.2228.0 Safari/537.36' https://web.whatsapp.com %u | |
Exec=/opt/google/chrome/google-chrome --app=https://web.whatsapp.com/ |
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
--- | |
apiVersion: v1 | |
kind: Namespace | |
metadata: | |
name: duckdns | |
--- | |
apiVersion: v1 | |
kind: Secret | |
metadata: | |
name: secret-duckdns |
NewerOlder