Enable guest WiFi without hotspot portal landing page in UniFi Network Application 8.0.26 #

Tested on a UniFi Express, which comes with a preset IP address of 192.168.1.1. Note that the Express is limited to managing 5 UniFi devices, including itself.

1. Create VLAN

  1. Go to Networks: https://192.168.1.1/network/default/settings/networks

  2. Click "New Virtual Network"

  3. Set Network Name and Gateway IP/Subnet as desired

  4. Next to "Advanced" click "Manual"

  5. Set VLAN ID as desired

  6. Check "Network" next to "Isolation" → click "Add"

2. Create guest WiFi network

  1. Go to WiFi: https://192.168.1.1/network/default/settings/wifi

  2. Click "Create New"

  3. Set Name and Password as desired, and set Network to VLAN created above.

  4. Optionally enable "Client Device Isolation" under Advanced → Manual

  5. Click "Add WiFi Network"

3. Disable hotspot landing page

  1. Go to Landing Page settings: https://192.168.1.1/network/default/hotspot/portal → "Settings" (This page was not discoverable via "Search Settings" using the terms "landing", "hotspot", "portal", or "guest".)

  2. Under "Landing Page Settings", uncheck "Show Landing Page" → click "Save"

/misc | Jan 20, 2024

macOS: Batch delete calendar events via Shortcuts.app #

While Automator and AppleScript fail to reliably batch delete thousands of calendar events in recent macOS versions (see Archiving Calendar.app events as plain text), Shortcuts.app is surprisingly successful:

Steps

  1. Backup all calendars

  2. File → New Shortcut

  3. Action Library → Apps → Calendar

  4. Drag "Find Calendar Events" into the shortcut editor (aka "main window")

  5. Change Start Date as desired then click the plus symbol to the right and add additional criteria (e.g., "Calendar is Travel", "Calendar is not US Holidays", "End Date is Before 1/1/2023, 00:00", etc.)

  6. Drag the "Remove Events" action underneath → click "Show More" → leave "Include Future Events:" unchecked to preserve repeating events linked to ones that will be deleted

  7. Before running the shortcut, open Shortcuts Preferences... → Advanced and enable "Allow Deleting Large Amounts of Data"

Examples

Delete all events in the Travel calendar within the last 8 years that took place before 1/1/23 while preserving any repeating events after that date:

Batch deleting events in a given calendar via Shortcuts.app

Delete events in all calendars other than Birthdays and US Holidays within the last 13 years that took place before 1/1/23 while preserving any repeating events after that date:

Batch deleting events in all but two calendars via Shortcuts.app

Notes

/mac | Dec 11, 2023

Thunderbird message list columns missing #

If the columns in Thunderbird's message list have disappeared, it may be due to Supernova's "Modernized Cards View". Revert to the original layout and get your columns back by clicking on the new "Message list display options" icon at top right and selecting "Table View":

Message list display options

/misc | Dec 11, 2023

iOS & iPadOS: Export or attach email message from Mail.app to EML file #

iPadOS (tested under 17.1.1):

Much like on macOS, emails can be easily exported as EML files by dragging them from Mail.app to Files.app in Split View.

iOS (tested under 17.1.1):

As iPhones lack Split View support, a workaround is required to export EML files:

  1. Tap the Compose icon.

  2. Swipe down from the top bar of the New Message window to minimize it.

  3. Tap and drag desired email message onto the small New Message window at the bottom of the screen.

  4. Lift your finger when the New Message window reopens; this will attach the selected email as an EML file.

/misc | Dec 01, 2023

Tracking filesystem changes in macOS; #

or, Monitoring app installers/activity:

Carbon Copy Cloner & Beyond Compare

  1. Clone entire boot volume with Carbon Copy Cloner 5 (or 6 via Legacy Bootable Copy Assistant)

  2. Install or run app

  3. Repeat step 1

  4. Compare clones with Beyond Compare in a root session: sudo /Applications/Beyond\ Compare.app/Contents/MacOS/BCompare

Local Time Machine snapshots & Beyond Compare

  1. Create a local snapshot:1 tmutil localsnapshot

  2. Install or run app

  3. Repeat step 1

  4. Find snapshot names: tmutil listlocalsnapshots /

    com.apple.TimeMachine.2023-10-16-184148.local
    com.apple.TimeMachine.2023-10-16-184247.local
  5. Create mount points and attach snapshots:2

    % mkdir ~/snapshot1 ~/snapshot2
    % mount_apfs -o ro -s com.apple.TimeMachine.2023-10-16-184148.local /System/Volumes/Data ~/snapshot1
    % mount_apfs -o ro -s com.apple.TimeMachine.2023-10-16-184247.local /System/Volumes/Data ~/snapshot2
  6. Compare snapshots with Beyond Compare as above

  7. Unmount snapshots and optionally delete mount points (~/snapshot1 & ~/snapshot2) and snapshots (e.g., tmutil deletelocalsnapshots 2023-10-16-184247) when done.

Live monitoring

Static PKG installers

Legacy apps

Related

Footnotes

  1. Time Machine backups exclude a number of files and folders and others may be excluded via the com_apple_backup_excludeItem extended attribute (uncover them via sudo mdfind "com_apple_backup_excludeItem = 'com.apple.backupd'"). 

  2. Grant Terminal Full Disk Access to avoid mount_apfs: volume could not be mounted: Operation not permitted

/mac | Oct 17, 2023

Firefox: "No video with supported format and MIME type found." #

Several MP4 files hosted on this site are encoded using H.265 (HEVC). While most browsers support playback, Mozilla Firefox 118.0.1 returns an error:

Firefox: No video with supported format and MIME type found.

Suggestions such as enabling pass-through support or providing a more descriptive error message have been made; alack, to no avail as yet.

Handy one-liner for returning the encoding type of all MP4 files in the current directory:

find . -type f -name "*.mp4" -exec sh -c 'echo -n "{}: "; ffprobe -v error -select_streams v:0 -show_entries stream=codec_name -of default=noprint_wrappers=1:nokey=1 "{}"' \;

/misc | Sep 29, 2023

Fauci on masking #

2019:

2020:

2023:

Sources:

  1. Bloomberg: The David Rubenstein Show: Anthony Fauci, May 22, 2019

  2. Spectrum News: Disease Expert: Flu a Bigger Risk in the US Than Coronavirus

  3. 60 Minutes: March 2020: Dr. Anthony Fauci talks with Dr Jon LaPook about Covid-19 (See also Preventing coronavirus: Should you wear a face mask?)

  4. Spectrum News: Disease Expert: Flu a Bigger Risk in the US Than Coronavirus

  5. CNBC: Anthony Fauci on The News with Shepard Smith, October 28, 2020 (See also Fauci voices support for national mask mandate)

  6. CNN: Dr. Fauci responds to study that says masks didn't work

Related:

/misc | Sep 18, 2023

FACT CHECK: Fauci's claim that "CDC doesn't mandate anything" #

Rating: FALSE

Anthony Fauci was interviewed by CNN's Micheal Smerconish* and made the following claim:

"Organizations like the CDC recommend (CDC doesn't mandate anything) I mean recommends, that people wear masks." 📺

The CDC itself contradicts him:

"The Centers for Disease Control and Prevention (CDC) issued an Order [PDF – 11 pages] on January 29, 2021 requiring the wearing of masks by people on public transportation conveyances or on the premises of transportation hubs to prevent spread of the virus that causes COVID-19. This Order was effective February 1, 2021 and was published in the Federal Register on February 3, 2021.

"The terms of the Order, which were no longer enforceable as a result of a court order (effective, April 18, 2022), have now expired due to the conclusion of the Public Health Emergency on May 11, 2023."

Footnote

* Apparently on September 2, 2023 based on the CNN URL.

Related

/misc | Sep 03, 2023

Switching a Pixel 4a from CalyxOS back to stock Android #

seems simple enough, but both the web installer and manual factory image methods failed repeatedly under Windows and Linux. PixelFlasher saved the day (H/T: u/Malaka__).

/misc | Aug 26, 2023

Hacking Tower Swap with Cheat Engine or Bit Slicer #

Environment

Bit Slicer

  1. Open Tower Swap in Firefox and press Play (optionally go offline once game has loaded)

  2. Press Shift+Esc to open Firefox's Process Manager and find the Tower Swap tab process ID (e.g., 696)

  3. Launch Bit Slicer → from the drop-down menu at top left, select the process ID found in step 2 (e.g., "FirefoxCP Isolated Web Content (696)")

  4. Enter the current number of swaps in Tower Swap (e.g., 5) in the box at top right and press Return

  5. Make a move in Tower Swap to change the number of swaps to 4 → enter 4 in the box at top right and press Return

  6. Repeat step 5 until only two addresses remain

  7. Double click value for first address → change value to desired number of swaps → press Return (if the number of swaps does not change, repeat using the second address)

Cheat Engine3

  1. Install Rosetta 2 if missing (optionally back up for offline use)

  2. Open Tower Swap in Firefox and press Play (optionally go offline once game has loaded)

  3. Press Shift+Esc to open Firefox's Process Manager and find the Tower Swap tab process ID (e.g., 696)

  4. In Terminal, convert the process ID from decimal to hex via printf '%x\n' 6962b8

  5. Launch Cheat Engine → File → Open Process → click Processes tab → click process matching hex vaule (e.g., "000002B8-FirefoxCP Isolated Web Content") → click Open

  6. Enter the current number of swaps in Tower Swap (e.g., 5) in "Value:" → click "First Scan"

  7. Make a move in Tower Swap to change the number of swaps to 4 → enter 4 for "Value:" → click Next Scan

  8. Repeat step 8 until only two addresses remain

  9. Double click first address → double click the decimal value in the bottom pane → change value to desired number of swaps → click OK

Footnotes

  1. Failure to disable SIP returns "Search Failure: FirefoxCP Isolated Web Content's memory cannot be searched due to system protections." in Bit Slicer and "Error while opening this process. Have you disabled 'System Integrity Protection (SIP) yet?" in Cheat Engine. 

  2. Unlike Cheat Engine, Bit Slicer is: signed and notorized, a Universal 2 binary (i.e., Apple silicon-native), and not time-limited trialware. Both projects maintain GitHub repositories: CE | BS

  3. H/T: Piepop101 

/mac | Aug 07, 2023


Subscribe or visit the archives.