Site-to-Site VPN From Linux to UDM Pro (work in progress)

Finding good documents on how to set up a site-to-site VPN with a Ubiquiti UDM to a non-Ubiquiti node (i.e. linux) has been a challenge. The documents on Ubiquiti’s site are laughably incomplete (and generally way out of date). So I am working through each of the steps and trying to shoe horn in a … Read more

Wafflehouse Waffle Recipe

Ingredients: 1 1/2 cups all-purpose flour  1 teaspoon salt  1/2 teaspoon baking soda  1 egg 1/2 cup granulated sugar 1 tablespoon malt (or substitute additional sugar) 2 tablespoons butter, softened  2 tablespoons shortening  1/2 cup half-and-half  1/2 cup milk  1/4 cup buttermilk  1/4 teaspoon vanilla Directions: Combine flour, salt and baking soda in a medium bowl … Read more

Encoding Video with ffmpeg using NVENC

In playing with values for ffmpeg to try to get a similar output to my “standard” settings in HandBrake, this is what I came up with: ffmpeg -i “$1” -c:v hevc_nvenc -preset slow -profile:v main10 -rc-lookahead:v 32 -spatial_aq 1 -cq 29 -tag:v hvc1 -c:a libfdk_aac -profile:a aac_he -b:a 80k “$( basename “$1″ .avi ).mp4” This … Read more

Allowing Any File Upload in WordPress

Since WordPress is stupid about limiting what kinds of files you can upload with no method of changing it other than installing yet-another-plugin™, there is a quick way to disable the checks entirely if you’re running your own server and are the only one allowed to upload. This fix is global to WordPress, so be … Read more

Settings for SAMBA Shares to Play Nicely with MacOS

Add the following to the global section: min protocol = SMB2 ea support = yes vfs objects = fruit streams_xattr acl_xattr fruit:appl = yes fruit:metadata = stream fruit:model = MacSamba fruit:veto_appledouble = no fruit:posix_rename = yes fruit:zero_file_id = yes fruit:wipe_intentionally_left_blank_rfork = yes fruit:delete_empty_adfiles = yes fruit:locking = netatalk In the individual shares if you want … Read more