
A system-wide implementation of Dark Mode was first introduced in 2018 as part of macOS Mojave (10.14).
https://apple.fandom.com/wiki/Dark_Mode
6 years later, iMovie still has an onboarding wizard that shines brighter than the sun.
A system-wide implementation of Dark Mode was first introduced in 2018 as part of macOS Mojave (10.14).
https://apple.fandom.com/wiki/Dark_Mode
6 years later, iMovie still has an onboarding wizard that shines brighter than the sun.
I ran npm update
on a project today, which returned this error:
npm error code EACCES
npm error syscall open
npm error path /Users/-username-/.npm/_cacache/index-v5/ab/83/-long-hash-
npm error errno EACCES
npm error
npm error Your cache folder contains root-owned files, due to a bug in
npm error previous versions of npm which has since been addressed.
npm error
npm error To permanently fix this problem, please run:
npm error sudo chown -R 501:20 "/Users/-username-/.npm"
npm error A complete log of this run can be found in: /Users/-username-/.npm/_logs/2024-12-11T10_37_38_225Z-debug-0.log
I avoid running sudo commands, especially when it’s node or npm suggesting this.
My solution:
rm -r /Users/-username-/.npm
And running npm update
again.
Always think twice before running a root command, especially when it’s coming from an online tool.
OrbStack: The fast, light, and easy way to run Docker containers and Linux | Hacker News
OrbStack is on the Orange Site frontpage again. I’ve been meaning to try it out for my personal needs, but didn’t come to it yet.
The con’s:
The pro’s:
Note: this post is about an old version of Drupal: Drupal 7
A rather complex part of building e-commerce solutions is the aspect of “Product variations”. You should analyse your offer to prevent surprises.
Drupal Commerce offers this functionality:
Product attributes are the descriptors we use to define kinds of products. For example, we could describe a tshirt by the color and size. These attributes mean that in the real physical world your store may only carry one red shirt, but you have three sizes or three “variations.” Commerce software must deal with product variations in a flexible way.
Combine this with Commerce Fancy Attributes for the use of images and more advanced selection visualisations.
Mailgun: Programmable Mail Servers
In the same series as Sendgrid.com. If you want more from your outgoing emails. (analytics, deliverability, …)
I am currently using http://www.addemar.com, who also provide mailing functionality ala Mailchimp, Campaignmonitor, …
If you have a task that must occur regularly, but will take a long amount of time to complete, the cron queue might be a good solution. For instance, if you have a lot of nodes that need to stay synchronized with a remote dataset, you might want to synchronize a large portion of them during a cron run, but would like your other cron tasks to complete in a timely manner.
Drupal provides an easy interface to adding such long-running background tasks via hook_cron_queue_info() and hook_cron().
I wish Safari had an option to sort the history by the time the page was closed, rather than by time the page was opened. #safari #ux
Hex Fiend, a fast and clever hex editor for Mac OS X
Check encoding of a text file, check if it has a BOM. Detect what is in that FileWithoutExtension of 800 Mb. Quickly run through a 5 gig logfile and search for an IP.
update posts set content = replace(content,'dog','cat');