Simple and automatic Github deployment using PHP
September 11, 2015
If you’re like me, every project you work on worth anything gets put in GitHub. It’s safe and you get all the benefits of using Git. Of course those benefits include deployment hooks, if you’ve got the system setup for it. On small projects it may seem like it’s more hassle to setup deployment hooks, after all SFTP is simple enough, however it’s actually quite easy to do and only take a few minutes to setup. My use case is JonDavis.name (which is kept in a private GitHub repo) and this has made life much easier for me, even for a single-page website.
Using Cloudflare as a Banhammer
December 23, 2014
These days “Snowulf” has become a loosely knit network of sites and projects. Most of the hosting is for myself, projects I’m involved with, or friends. Since I already pride myself in keeping my server online for the Snowulf Blog, adding a few other sites to the same server isn’t much of an issue. However the major headache of any site addition is… security. Every site and piece of software is slightly different. Most of the work is offloaded to Cloudflare’s Web Application Firewall however they’re not 100%. With some cheap tricks (and PHP), I’ve taught Cloudflare how to be a big banhammer.
A collection of useful/nifty/cool ST2 Plugins
July 30, 2013
A little while back during my exploration of PHP IDEs, I evaluated Sublime Text 2. At that point I had found a number of nifty plugins for ST2, mostly for PHP development. Since then I’ve found even more plugins that I find useful/nifty/cool. They are not PHP specific and I do not use all of them on a regular basis, but I think they are all worth sharing. Of course, as my collection of shinies is always growing, I welcome suggestions (that’s what the comment section is for)!
Exploring PHP IDEs: Sublime Text
May 23, 2013
On my last post, I discussed my hunt for a PHP IDE, specifically PhpStorm. Development Environments are about as widely varied as there are ways to skin a cat, so I didn’t stop with PhpStorm. The second IDE on the evaluation list is a smaller product known as Sublime Text (or ST2).
Exploring PHP IDEs: PhpStorm
May 21, 2013
These days, I’m not much of a coder. I never was an uber-coder (as John will attest), but I managed to dabble fairly frequently. However, in the last couple of weeks I’ve been doing a fair bit of PHP. Most of it revolves around a couple projects for work using the AWS SDK for PHP 2. At first I was using my standard go-to-development environment… nano. However, as my project grows, having an good solid IDE seems more and more useful, so I started looking about. In the end, I’ve spent some time evaluating Sublime Text and PhpStorm
Using Geckoboard with HelpSpot
February 14, 2013
Geckoboard in Action One of the cool tech toys I’ve been introduced to at my job is called Geckoboard. It’s a nice slick website that allows you (or your company) to have a custom web-based dashboard with whatever data you want. Geckoboard is cool, but the power lays in its ability to be used for custom widgets. With these custom widgets, you can push/pull data from any source you want and have it displayed on your dashboard. My IT department runs HelpSpot for ticket tracking and I really want to have a more visual feel for how things are going. Since Geckoboard doesn’t have built-in widgets for HelpSpot, this seemed like the perfect time to write some PHP and run my own custom widgets.
The introduction of PDNSOps2
March 6, 2012
I’ve not made any mention of PDNSOps since the original blog post back in October 2011. This isn’t for lack of trying, it’s just that the holidays were a busy time and didn’t allow for a lot of programming time. We have made some progress dealing with a bunch of bugs, and we’ve also figured out our future plans for the project.
October 21, 2011
By Dsv (Own work) Public domain, via Wikimedia CommonsFor the last few years, my DNS server of choice (when I run my own) is PowerDNS. It is very simple to use, and the ability to run multiple “backends” makes it wonderfully configurable. My choice setup is PowerDNS running the MySQL backend. Of course the question is “How do I manage the MySQL backend?” and that is where PDNSOps comes in.
Automated Screen Launch
September 13, 2011
At my previous company I set myself up a screen server as mentioned in my previous post, “A screen/shell server is awesome!". There were only a half dozen servers there so if the screen server got rebooted, it wasn’t a big deal to get my sessions back up and running. At my new company we use virtual machines, so there are quite a number more “servers” to connect to. As I was setting up my screen server, I realized that I didn’t want to deal with the hassle of reconnecting them all, so I sought an automated solution.