I use Spotlight more than I like to admit, usually for launching apps. Recently, some of my apps and files stopped appearing — even ones I access frequently.
For me, upgrading to MacOS Sierra broke a lot of things that use SSH, including Transmit, Sequel Pro, and a handful of other apps. In fact, it seems to break any app that uses an SSH key with a passphrase. 🤔
If your PHP
mail() function is slow or failing, it's probably because sendmail isn't installed on your server. Here's how you can fix it.
Here's a cheat sheet for working with virtual hosts on an Ubuntu server. The instructions assume you're not logged in as the root user. Change example.com to your own domain/subdomain.
Here's the best way to flush DNS cache on OS X:
I stumbled across a tweet by Quincy Larson the other day and it's been resonating in my mind ever since. Mostly because it's something I tend to have a problem with.
Twitter is great for a number of reasons, but it's best feature is that you can follow and connect with virtually anyone—and nobody will call you a "stalker".
Last week I wrote that you can sort lines of text alphabetically in Sublime Text 3. Whilst playing with features under the Edit menu, I happened across the Permute Lines menu. Here's what it does.
Since my audience consists primarily of web developers, I decided to try a little experiment the other day. I added a console greeting to the site for anyone who decides to look under the hood. Here's how I did it.
Have you ever wondered what color that certain shade of blue is? Or maybe you've named your Less/Sass variables something like gray, light gray, lighter gray, etc. Here's a tool that will give you more reasonable names for all those colors.
Both Chrome and Firefox render PDF files in the browser, making them easier for users to view. Today I wanted to send someone a link to a certain page in a PDF user's manual. Here's how I did it.
Ever wish you turn the volume up or down just a tiny bit more on your Mac? Well, you can.
It's been over two years since Paul Irish famously posted the box-sizing trick that would bring us back to the days of early Internet Explorer.
If you need alpha transparency on the web, 24-bit PNGs are usually your best bet. The only problem is that PNGs are lossless and can grow in file size very quickly—much larger than your average JPEG. So what if there was a way for JPEGs to support alpha channels?
It's tempting to take out your frustrations on the support person answering your email, but don't send out a message raging about their incompetence. Don't tell them how their product sucks or doesn't work the way you expect it to. Don't TYPE IN ALL CAPS to make sure they understand that you're frustrated. It won't get you faster help—it just makes you look like an asshole.
It's easy to remove the underline button from TinyMCE's interface, but clever users can still use keyboard shortcuts (CTRL+U / CMD+U) to throw in a nasty underline here and there. Here's one way to disable it once and for all.
search property will be a raw query string. This isn't very useful if you need to access certain variables in said query string. Thus, the following function expands on this paradigm, providing an additional property that contains an object based on the original query string.
There are a number of ways to make "clean URLs" work on your site, but this one is pretty straight forward. It allows you to access
/any-page.php by simply going to
/any-page. Just place the following into your
.htaccess file (and make sure that
mod_rewrite is enabled):