Skip to content

Instantly share code, notes, and snippets.

View MikeChristianson's full-sized avatar
👋

Mike Christianson MikeChristianson

👋
View GitHub Profile
@pmoranga
pmoranga / datadog-snmp-synology.yaml
Created May 25, 2020 07:44
Datadog SNMP configuration to collect Synology statistics. Should be put into `conf.d` folder. SNMP User should be created / enabled on Synology (RO access)
init_config:
mibs_folder: /mibs
profiles:
generic:
definition_file: _generic-host-resources.yaml
instances:
- ip_address: $REPLACE_WITH_SYNOLOGY_IP_ADDRESS
community_string: public
snmp_version: 2
@gboudreau
gboudreau / AuthyToOtherAuthenticator.md
Last active July 26, 2024 17:24 — forked from Ingramz/AuthyToOtherAuthenticator.md
Export TOTP tokens from Authy
@L422Y
L422Y / osx_automount_nfs.md
Last active July 19, 2024 10:12
Automounting NFS share in OS X into /Volumes

I have spent quite a bit of time figuring out automounts of NFS shares in OS X...

Somewhere along the line, Apple decided allowing mounts directly into /Volumes should not be possible:

/etc/auto_master (see last line):

#
# Automounter master map
#

+auto_master # Use directory service

@SlexAxton
SlexAxton / .zshrc
Last active April 25, 2023 03:57
My gif workflow
gifify() {
if [[ -n "$1" ]]; then
if [[ $2 == '--good' ]]; then
ffmpeg -i $1 -r 10 -vcodec png out-static-%05d.png
time convert -verbose +dither -layers Optimize -resize 600x600\> out-static*.png GIF:- | gifsicle --colors 128 --delay=5 --loop --optimize=3 --multifile - > $1.gif
rm out-static*.png
else
ffmpeg -i $1 -s 600x400 -pix_fmt rgb24 -r 10 -f gif - | gifsicle --optimize=3 --delay=3 > $1.gif
fi
else