Some email services (Spectrum/TWC/Road Runner, Yahoo!, etc.) allow forwarding but not automatic deletion of forwarded email, leading to potential quota exceedance over time.
This slightly-modified* Python script by codersofthedark can be scheduled or run manually to batch delete all messages in the Inbox:
#!/usr/bin/env python import imaplib box = imaplib.IMAP4_SSL('imap.example.com', 993) box.login("email@example.com","password") box.select('Inbox') typ, data = box.search(None, 'ALL') for num in data.split(): box.store(num, '+FLAGS', '\\Deleted') box.expunge() box.close() box.logout()
Under iOS, use a-Shell (App Store | GitHub) to edit and save the script (e.g., "emptyinbox") in vim, then set as executable (
chmod +x ./emptyinbox). Run simply as
emptyinbox or pair with Shortcuts (specifying the full path, /private/var/mobile/Containers/Data/Application/long-string/Documents/emptyinbox) and add an icon to the Home screen via the Action icon.
* Added the shebang, corrected a typo, and genericized domain names.
/misc | Jul 03, 2020
In almost a decade and a half of using Brother MPrint MW series mobile printers, the only problem I've had is with the paper feed roller (aka the "pick-up roller"), which generally stops feeding paper after 4 or 5 years.
Brother's MW-140BT's FAQs & Troubleshooting includes a document entitled The paper does not feed., which recommends checking that the paper is properly loaded, the cover closed, etc.
However, the final suggestion (reproduced below) to clean the pick-up roller with a piece of cellophane tape is marginally useful; it would sometimes allow one or two more prints before failing altogether (though it seemed to have less to do with cleaning and more to do with making the roller just tacky/sticky enough to pick up the paper):
1. Affix a piece of cellophane tape to the pick-up roller.
2. Remove the cellophane tape from the pick-up roller.
3. Rotate the pick-up and repeat the procedure to clean the entire surface of the roller.
Searching for a real solution to the paper feed problem, I stumbled onto No more paper jams or misfeeds!, which suggests using a rubber restorer like one of these:
(A similar product not mentioned in the article: CleanTex Rubber Roller Restorer.)
I went with CaiKleen RBR due to its diminutive size and applicator.
Applying a few drops to a couple of Q-tips and cleaning the roller with them worked wonders - several units that I had given up on began feeding perfectly.
One of the units needed a new battery; Brother would not ship their $92 BT100 MW-145BT Li-ion battery to my location, so I ordered NextBatteries' Brother MW-145BT battery (listed as a compatible replacement for Brother's BW-100 and BW-105 batteries) for $20.90 - it charged right up in an MW-120. (The original battery is held down by tape, so a bit of force is required to remove it.)
The A7 paper (model C-11 or C11S) required by the MPrint MW 100 series printers is still available from Brother.
/misc | Jun 17, 2020
macOS 10.14.6 Mojave (Enhanced Dictation is not available in Catalina - see note 3 below)
One or more audio recordings
Run Soundflower installer twice
System Preferences > Sound > set both input and output device to "Soundflower (2ch)"
System Preferences > Keyboard > Dictation > set "Dictation:" to "On", check "Use Enhanced Dictation", and set microphone to "Soundflower (2ch)".
System Preferences > Accessibility > Dictation > uncheck "Mute audio output while dictating"
Begin playback of audio file
Press Fn twice in TextEdit to start converting audio to text
To uninstall Soundflower, delete Soundflower.kext from /Library/Extensions (and /System/Library/Extensions if present),
sudo kextcache --prune-staging, and restart.
Sound Siphon ($49) or Loopback ($99) can be substituted for Soundflower.
Enhanced Dictation has been removed from Catalina. Therefore, all Dictation data (along with a slew of other information) is sent to Apple for processing:
This regrettable change, coupled with an error message sometimes encountered in Mojave ("Dictation languages aren't available to download at this time. Try again later."), makes it all the more advisable to backup a copy of the Enhanced Dictation files once they are downloaded. They can be found in /System/Library/Speech/Recognizers/SpeechRecognitionCoreLanguages/ with filenames like en_US.SpeechRecognition, ja_JP.SpeechRecognition, etc.
/mac | Jun 16, 2020
Ability to toggle WiFi on/off per app, just like Cellular
Add date to the iPhone's Status Bar
Ability to auto reply to text messages without having to enter Do Not Disturb mode (or at least allow removing the mandatory "I'm not receiving notifications. If this is urgent, reply "urgent" to send a notification through with your original message.")
/misc | Jun 14, 2020
Tom Ehlert's portable Drive Snapshot has been a longtime favorite for disk image backups, but it does not offer disk cloning.
Another product from Germany, Miray's HDClone, does; it can clone a running Windows system to another drive via the portable hdclone.exe.
However, HDClone comes in a dizzying array of versions:
all of which (other than the free version) are hobbled with activation schemes; even "Professional Portable", which is intended "for professional use on arbitrary PCs", requires a USB dongle:
Use on any PC to be serviced with a USB token provided by us. The software may be permanently installed on those PCs, but can only be used when the token is connected.
While the free version is saddled with a number of artificial limitations (max copy rate of 30MB/s, no support for USB 3.0 or disks over 2TB, no cloning to smaller disks, etc.), it does offer hot disk cloning of live, running Windows instances without the need to install any software or wrangle with activation.
The problem with activation schemes is highlighted by btesoroni's post Lost USB Token and hit limit of December 2019 (which went unanswered, prompting a followup post the next day, Is this company still in business???? which is also unanswered).
Miray, please stop punishing your customers with activation schemes and learn from Tom's nearly two decades of success with his activation-free Drive Snapshot.
/windows | Jun 14, 2020
(One way in which the police should emulate the military: Why the US military usually punishes misconduct but police often close ranks)
/misc | Jun 11, 2020
"[A] man is rich in proportion to the number of things which he can afford to let alone." —Henry David Thoreau, Walden
"Receive [wealth or prosperity] without arrogance; and be ready to let it go." —Marcus Aurelius, Meditations
"We have heard it said that a great king once went into a forest and there met a sage. He talked with the sage a little and was very much pleased with his purity and wisdom. The king then wanted the sage to oblige him by receiving a present from him. The sage refused to do so, saying, 'The fruits of the forest are enough food for me; the pure streams of water flowing down from the mountains give enough drink for me; the barks of the trees supply me with enough covering; and the caves of the mountains form my home. Why should I take any present from you or from anybody?' The king said, 'Just to benefit me, sir, please take something from my hands and please come with me to the city and to my palace.' After much persuasion, the sage at last consented to do as the king desired and went with him to his palace. Before offering the gift to the sage, the king repeated his prayers, saying, 'Lord, give me more children; Lord, give me more wealth; Lord, give me more territory; Lord, keep my body in better health', and so on. Before the king finished saying his prayer, the sage had got up and walked away from the room quietly. At this the king became perplexed and began to follow him, crying aloud, 'Sir, you are going away, you have not received my gifts.' The sage turned round to him and said, 'I do not beg of beggars. You are yourself nothing but a beggar, and how can you give me anything? I am no fool to think of taking anything from a beggar like you. Go away, do not follow me.'" —Vivekananda, The Triangle of Love
/misc | Jun 09, 2020
Environment: Windows 10 with an existing default install of Mozilla Thunderbird ("C:\Program Files\Mozilla Thunderbird")
Install desired second version (e.g., 60.9.1) to a new directory (e.g., "C:\Program Files\Mozilla Thunderbird 60") by selecting "Custom" as setup type
Once installation completes, uncheck "Launch Mozilla Thunderbird now" and click Finish
Edit Thunderbird 60's Desktop shortcut, appending a path to a new data directory (e.g.,
-profile "C:\Users\user\Documents\TB60DATA") to the Target field, which should then read
"C:\Program Files\Mozilla Thunderbird 60\thunderbird.exe" -profile "C:\Users\user\Documents\TB60DATA"
On first launch, close the "Set Up an Existing Email Account" and "System Integration" windows
Right click the title bar then click "Menu Bar" > File > Offline > Work Offline
Click Tools > Options > Advanced > Update > check "Never check for updates" > OK
At this point, you can setup an account, add extensions, etc.
In this example, we'll add Kaosmos' ImportExportTools and his updated version of Torge Kummerow's Email Address Crawler, both of which are compatible with Thunderbird 60.* (but no higher; see Christopher Leidigh's ImportExportTools NG for more recent versions):
Download XPI files
false in Config Editor (Tools > Options > Advanced > General > Config Editor) to enable Kaosmos' updated Email Address Crawler
Install XPI files (Tools > Add-ons > Extensions > drag XPI files into window)
/windows | Jun 07, 2020
mboxviewer (alternately described as "Windows MBox Viewer" (on the cover of the impressive user guide) and "Simple MBox Viewer" (in the About dialog box)) is an open source MBOX viewer for Windows. Features include: large (>4GB) file support; export individual messages to EML; print some or all messages to CSV, plain text, HTML, or PDF; advanced search and sort; merge multiple MBOX files and remove duplicate messages; and more. One small undocumented quirk: files must have a .mbox extension in order to load (neither .mbx nor extensionless files will open).
/windows | Jun 06, 2020
While macOS has been relegated to the back burner (with disastrous if predictable results), a few intrepid developers continue to craft apps so performant and pleasing that I look for excuses to launch them:
Claquette ("Working with video doesn't have to feel heavy") by Thomas Zoechling. If you edit video, create screen recordings, or work with GIFs, you want this in your life.
Fileloupe ("A Ludicrously Fast File Browser for macOS") by Kenny Carruthers, who previously worked on Finder at Apple and BeOS at Be (and it shows).
MacDown ("The open source Markdown editor for macOS") by Tzu-ping Chung. Makes writing lengthy posts or presentations an absolute joy.
Sublime Text ("A sophisticated text editor for code, markup and prose") by Jon Skinner (and team, now). Legendary native performance across Linux, macOS, and Windows.
All four can be launched consecutively before Messages can open or iTunes stop beachballing.
/mac | Jun 03, 2020
Subscribe or visit the archives.