Install WordPress on Lithium Hosting with the One-Click Installer

It’s incredibly easy to install WordPress on a shared hosting plan from Lithium Hosting. It’s called a One-Click Installer, but it ends up being closer to 20 clicks. It’s still a ton easier than setting up database user permissions and everything else along with it!

Continue reading Install WordPress on Lithium Hosting with the One-Click Installer

Control a Raspberry Pi with Node.js

In the last few years, I’ve ended up with a Raspberry Pi, Arduino, and a handful of LEDs and other gizmos that have been sitting in a box under my desk. All of the new AWS IoT announcements piqued my curiosity again, and I finally found the time to sit down and play with my toys. I wanted to put my web dev knowledge to work, so I figured I’d learn to control the Raspberry Pi with Node.js. Here’s what I’ve done in the last week:

Continue reading Control a Raspberry Pi with Node.js

Allowing Insecure HTTP Requests in iOS

I was messing around with some cool frameworks (pods?) in Swift, and built a quick node/express server to serve some JSON so I could fetch it with Alamofire and SwiftyJSON.

Still getting my feet wet with Swift, I built a function similar to the Alamofire example:

func getData(url: NSString) {
    Alamofire.request(.GET, "http://localhost:3000/test")
        .responseJSON { response in
            if let JSON = response.result.value {
                print("JSON: \(JSON)")

Simple enough! One little problem- when I launched the app, my console lit up with the following error:

App Transport Security has blocked a cleartext HTTP (http://) resource load since it is insecure. Temporary exceptions can be configured via your app’s Info.plist file.

Shit! I guess iOS is HTTPS everywhere already. I didn’t want to mess around with SSL certs just to play around with this, so for now we’ll just need to enable insecure HTTP requests. I started searching around and found a solution to allow insecure HTTP requests in iOS.

Continue reading Allowing Insecure HTTP Requests in iOS

Refactoring Javascript Snake – Clocks

Last night, I wrote a clock script that will control the base loop of my javascript snake game. It’s not an AMD module yet- I’m going to hold off on that until I get a little further into the project. I’ve got a little bit of research to do as far as best practice. AMD modules are nice to pick up and use, but I’ve never actually put one together before.

Continue reading Refactoring Javascript Snake – Clocks