Maintainer: Keil Miller Jr
How to create and manage an AUR package.
The following link should be read:
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 |
(* | |
script to download videos from youtube using the youtube-dl program | |
you can paste this code in a ScriptEditor file or use it inside a | |
'Run AppleScript' block in an Automator Application | |
*) | |
set question to display dialog "Youtube URL to fetch?" default answer "" buttons {"Cancel", "Open in Browser", "Download"} default button 3 | |
set pageURL to (text returned of result) | |
if pageURL is "" then return "No URL" | |
set choice to (button returned of question) |
# Manual opt parsing example | |
# | |
# Features: | |
# - supports short and long flags (ie: -v|--verbose) | |
# - supports short and long key/value options (ie: -f <file> | --filename <file>) | |
# - supports short and long key/value options with equals assignment (ie: -f=<file> | --filename=<file>) | |
# - does NOT support short option chaining (ie: -vh) | |
# - everything after -- is positional even if it looks like an option (ie: -f) | |
# - once we hit an arg that isn't an option flag, everything after that is considered positional | |
function optparsing_demo() { |