Category: Server

  • Creating an ACF filter on the WordPress Admin Page

    WordPress Advanced Custom Fields (ACF) is fantastic, allows you a simple way to add data and metadata to each post, but by default it doesn’t display or allow you to query on it. I wanted a type to allow me to select different types for a post – specifically for internal review status of all…

  • Managing Encrypted files on Amazon Cloud Drive

    I have implemented a file system on Amazon Cloud Drive for a lot of media with the great acd_cli.  To protect my privacy, I have run this through an encryption layer encfs.  My writeup will follow. A problem I was trying to solve in my mind though, is how to manage – rename and delete…

  • Clone a Clone

    So I had yet another WD MyBook die on me a couple of days ago.  And I still went out and bought another one (what was Einstein’s definition of insanity, again?)… This one was only two years old but these things are still quite cheap and very convenient to get.  Maybe someday when I have more…

  • More hack attempts

    After my last experience, I checked my logs and noticed quite a load of failed attempts on my mail server.  It looks like a brute force script kiddie attack, which I’m pretty sure will fail on my machine. Still, I want to kick out these morons.  So after some research, I found fail2ban.  The installation…

  • Hack Attack

    Someone mentioned they got a bounce from my domain’s email. I went to take a look at the error and discovered a couple of hosts trying to brute force login to my SMTP server. Some quick config changes to create a blacklist, and a fail2ban install and it has stopped now. Lesson 1: check your…

  • Great VPS Experience

    I have been using shared hosting from 1 & 1 for a few years now. No big complaints (except their domain management page is terrible) but I needed a bit more flexibility. I suppose shared hosting with its inherent limitations helps you develop a certain way, but I wanted a bit more. For one, I…

  • REST Authentication

    I did some research the other day to secure my REST API using The Slim framework. I found a tidy little way to force HTTP authentication (basic, in this case) using this article as well as the PHP manual. I get the client to provide the user name and password, then I can look up…

  • MVC Frameworks (PHP)

    I’m on a learning quest again.  This time to get a solid PHP framework under my belt.  I am installing the framework and running the quick start tutorials for each of them, if I get that far.  This is what I have right now (keep in mind my investigation is in progress): CakePHP Pros: Very…

  • Another Javascript book

    I decided I had better complete my Javascript trilogy with the first book.  (The other two are Javascript: the Good Parts and Javascript Patterns) This is a major book for a major language.  I think I agree with this guy to a point, that Javascript is possibly the most important language right now.  It’s weird…

  • WordPress configuration

    I need to figure out the following: Is there a way to blend pages and posts together nicely on the site, so that I don’t have to configure only posts to see them on the main page?  I would like to make a menu that will show me maybe the latest five or so, but…