Maintainer: Keil Miller Jr
How to create and manage an AUR package.
The following link should be read:
# List all deleted pods | |
kubectl get pods -o json | jq -r '.items[] | select(.metadata.deletionTimestamp != null)' |
if [[ "$OSTYPE" == "linux-gnu"* ]]; then | |
local DISTRIB=$(awk -F= '/^NAME/{print $2}' /etc/os-release) | |
if [[ ${DISTRIB} = "Ubuntu"* ]]; then | |
if uname -a | grep -q '^Linux.*Microsoft'; then | |
# ubuntu via WSL Windows Subsystem for Linux | |
else | |
# native ubuntu | |
fi | |
elif [[ ${DISTRIB} = "Debian"* ]]; then | |
# debian |
#!/bin/bash | |
# curl -sL https://gist.githubusercontent.com/RichardBronosky/31660eb4b0f0ba5e673b9bc3c9148a70/raw/touchid_sudo.sh | bash | |
# This script is ready to copy-paste in whole, or just the line above (without the leading #) | |
# Use TouchID for sudo on modern MacBook Pro machines | |
# This script adds a single line to the top of the PAM configuration for sudo | |
# See: https://apple.stackexchange.com/q/259093/41827 for more info. | |
touchid_sudo(){ |
Maintainer: Keil Miller Jr
How to create and manage an AUR package.
The following link should be read:
version: '3.2' | |
services: | |
changedetection: | |
image: ghcr.io/dgtlmoon/changedetection.io:latest | |
container_name: changedetection | |
hostname: changedetection | |
volumes: | |
- changedetection-data:/datastore | |
environment: |
u = User.new(username: 'test_user', email: '[email protected]', name: 'Test User', password: 'password', password_confirmation: 'password') | |
# u.assign_personal_namespace | |
u.skip_confirmation! # Use only if you want the user to be automatically confirmed. If you do not use this, the user receives a confirmation email. | |
u.save! |
Minio is an object storage server compatible with the S3 protocol. Head to https://minio.io/ to learn more.
Hint: You might want to use MINIO_WORM=on
to pretect against accidental or malicious deletion of your backups.
Since RELEASE.2018-10-18T00-28-58Z minio supports seperate users with attached IAM policies. Instead of (or additionally to) using MINIO_WORM=on
you could create a new user and attach a writeonly policy:
# Moved to https://github.com/hyunbinseo/blog/blob/master/posts/setup-ssh.md | |
### Preparation ############################################################### | |
# macOS bundled OpenSSH does not support FIDO. | |
# https://developer.apple.com/forums/thread/698683 | |
# https://github.com/apple-oss-distributions/OpenSSH/pull/1 | |
brew install openssh |
#!/bin/sh | |
# Remove the performance overlay, it meddles with some tasks | |
unset LD_PRELOAD | |
# Fetch Resolution | |
RES=$(xdpyinfo | awk '/dimensions/{print $2}') | |
# Apply Resolution in env and start a new nested gnome with a new dbus | |
env MUTTER_DEBUG_DUMMY_MODE_SPECS=$RES dbus-run-session -- gnome-shell --wayland --nested |