I use du -h –max-depth=1 all the time to determine the disk usage of the folders in my current directory, but my fingers always stumble over –max-depth=. The better way (which I learned thanks to explainshell.com): Some helpful variants:
Category: guides
Want a quick answer? If you answered yes to both of those, just buy a holiday eSIM from Orange here. Then follow the before leaving the US and setting up my eSIM instructions. If not, you’ll need a different device, or a physical SIM. See the sections below to make the best decision for you. […]
SiteGround already has a great guide for this process, but it assumes a bit of familiarity with their SiteTools dashboard. If you’d like a ‘whole-process’ guide, hopefully this page can provide that for you. After logging in to your SiteGround account, click your initials in the top-right corner, and click Manage Users. From the Users […]
Get an Apple MFA Code from Device Settings
Copy/pasted from Apple Support Get a code from Settings on your trusted device If you can’t receive a verification code on your trusted devices automatically, you can get one from Settings, even if your device is offline. From your iPhone, iPad, or iPod touch If your device is online: Go to Settings > [your name]. […]
In case you don’t want to give full access to all of your registered domains to a user with delegated access, GoDaddy allows you to specify which domains each delegated user has access to. Sometimes, an invited Delegated User doesn’t get the access you expect. You can also follow these steps to verify or correct […]
Automating Sorting Photos & Videos
This uses @andrewning’s sortphotos script My typical use is roughly: Caveats: I put in very little effort, but couldn’t get it to work globally, so I run from the [repo]/src folder. It does not support ~ alias, so even if your src or dest folders are in your home folder, you’ll need to specify them […]
Unloading Photos from an iOS Device
Personally, I like Android, and love that I can plug it in, access the filesystem, and copy GBs of files off of it in seconds. To me, that “just works“. Unfortunately, that doesn’t seem to possible on iOS, but maybe there is some redemption here anyway. After all, if saving photos on your phone in […]
Part of a collection on cache clearing Make sure you are on the Site Tools page for your site, and not just the Site Ground admin area for your account. Accessing Site Tools Below: Accessing the Site Tools cache area Cycling SiteGround Nginx Direct Delivery Flushing SiteGround Dynamic Cache Flushing SiteGround Memcached Accessing the Site Tools […]
SiteGround: Accessing Site Tools
“Site Tools” is the admin area of SiteGround’s web hosting for managing a site’s files, databases, caching, and more. To access Site Tools, follow these steps: First, Login to SiteGround From the top-navigation, select Websites If your account does not “own” the hosting package, but you’ve been invited to be a collaborator, choose the “Collaborations” […]
Clearing Caches
If your website loads, but just looks miserable (plain white background, not your fonts, etc), or is not showing edits you recently made on the site – it is probably an issue with an outdated cache in your website or on your web host. My experience with caches is primarily in WordPress sites, so this […]