Here’s the command list to quickly create a self-signed SSL certificate from the Linux command line. You can copy/paste each line to the shell to generate the key. It assumes you will place each set of SSL files under a directory assigned per domain; at the end you will have a directory that contains the [...]
Read MoreFor techies
Fix WordPress “Fatal error: Allowed memory size” messages
You may (or may not) have noticed this site was down for the past few days, displaying a blank page no matter what URL was entered. After recalling that I had turned off PHP error onscreen outputting, I was presented with this lovely message: Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to [...]
Read MoreUsing hashmarks for URL anchors in Apache rewrites
Today I had to make an Apache rewrite that redirected a custom URL not only to a different page, but also to a specific anchor link on the destination page. In other words, /foobar had to actually load /some/other/url#foobar. However, by default Apache rewrites will escape the hash (#) symbol, converting to its hexcode equivalent [...]
Read MoreRemove parent directories from tar archives
You run a Linux web server, and have painstakingly crafted custom backup processes for all your important data. Undoubtedly, the backup copies end up being stored in the form of a tar archive. Everything works great — copies are made, compressed, and sent off-site. There’s just one naggy little issue: whenever you open one of [...]
Read MoreKey-based logins for SSH
Here’s the scenario: You have a remote-hosted Linux server that you currently access via SSH by entering a username and password. You would like to use a public/private key pair so that you don’t have to enter a password every time you log in. You do most of your work from a Windows/Mac client, where [...]
Read MorePHP IDS website down
PHP IDS is an intrusion detection system written in PHP. It allows developers to incorporate security analysis directly into their systems. Since it’s written in PHP, it can go wherever the site goes, and has minimal server requirements. Plus, since it works at the site level, a developer can pick and choose how and when [...]
Read MoreRequire site visitors to enable Javascript
This one has dogged me for quite some time, but I finally figured out how to force users to turn on Javascript when using sites with a lot of mission critical Javascript logic. Let me first begin by acknowledging that, yes, requiring Javascript flies in the face of site accessibility. Policy wonks for this sort [...]
Read MoreBuilding a complex system? Take easy steps.
After launching Fwd:Vault last month, it’s been a race to add the necessary features and functions to take the service broader. First on the list was more subscription tiers. I launched with just two: free and “unlimited everything.” I did this because, well, it was easy. Your instinct may be to dismiss my decision as [...]
Read More coding theory, crappy coding, software development, standardsToyota’s new logo
I hear Toyota is contemplating a quick makeover to their current logo and tagline… Wish I could take credit for it, but at least it comes complements of fellow PSL member Eight Eleven. Update: I complimented the author Aaron, and the following conversation ensued… Aaron: I’m going to end up in a lawsuit with Toyota [...]
Read More humor, Twitter, usability failRunning the show: A day in the life
We all know most TV is pretty banal, but every now and then something comes along that provides insight, makes you think. So if you ever wondered what it’s really like to be the boss, you need to watch the latest episode of House. They’ve done an excellent job (based on my experience, anyway) capturing [...]
Read More Academia, business support, customer service, entrepreneur