Posts

Thirty Minutes of Side Projects a Day - a Different New Year’s Resolution Worth Making

Thirty Minutes of Side Projects a Day - a Different New Year’s Resolution Worth Making Logo

The other day I tweated a link to One Hour of Side Project Coding a Day*— a New Year’s Resolution Worth Making by Andy O’Sullivan for two reasons. The first was that I found the article to be interesting (which is why I felt it was worth sharing) and the other was that I was already planning on doing something similar. My plan this year is to spend thirty minute (instead of an hour) every night working on side projects. It won’t necessarily be coding because I want to work on this blog and my wife and I have plans to expand her business that I can only do at night.

Sticking with Andy’s “there are no rules” rule I also have a set of guildlines:

Read More

Fixing a Request Timeout Error When Uploading Files To Rackspace Cloud Files

Cloud File Upload Error Logo

We’re storing user uploaded files using Rackspace’s Cloud Files. We have a process that allows the user to upload to our server and then we “lazy” upload it to Rackspace. We do this because there have been a couple cases where we can’t cleanly upload them (due to a bug in our code) and having the local copy has made people feel better (we’re going to slowly roll this back once we determine we’re in good shape). As part of this process, we verify the file has been uploaded (making sure the file size in Cloud Files matches the file size on disk) and then we upload the file to a separate container in a different region so we have a backup (some of these files can’t be recreated so we’re being overly cautious).

Read More

Looking Back at 2017 and Looking Forward to 2018

Looking Back at 2017 and Looking Forward to 2018 Logo

As I normally try to do this time of year it’s time take a little retrospective on what’s been done over the last year and what I want to accomplish in the coming year.

Read More

Link Post and Podcast Roundup: December 2017 Edition

Link Post Logo

December’s links.

Read More

Link Post and Podcast Roundup: November 2017 Edition

Link Post Logo

November’s links.

Read More

Force A Gluster Share To Unmount

The other day we had a problem on one of our servers that caused the memory usage to skyrocket. After this event our shared Gluster drive was inaccessible by this server. While troubleshooting I received the following message:

ls: cannot access shared: Transport endpoint is not connected

After a lot of high pressure Google searches I found the following works to fix this:

fusermount -uz /path/to/mount
mount /path/to/mount

Hopefully, this will help someone else as well.

Link Post and Podcast Roundup: October 2017 Edition

Link Post Logo

October’s links.

Read More

Maximizing Your Efficiency in Sublime Text - View Menu

Header

There are a couple features inside the “View” menu that will really help you maximize your efficiency in Sublime Text. This article goes through several of those options and where it’s helpful.

Read More

Getting The Content When Testing a Controller in Zend Framework 1

The other day I was working on a unit test that ran against a Zend Framework 1 controller and I couldn’t figure out what the actual contents of the body was. In order to get the full text, I had to dig into Zend_Test_PHPUnit_ControllerTestCase to determine I could access it using:

$this->response->outputBody();

For some reason I had a hard time finding this using Google so I figured I should document it here.

Link Post and Podcast Roundup: September 2017 Edition

Link Post Logo

September’s links.

Read More
RSS

Join Our Mailing List!

View previous campaigns.

Top Posts

  1. Working With Soft Deletes in Laravel (By Example)
  2. Fixing CMake was unable to find a build program corresponding to "Unix Makefiles"
  3. Upgrading to Laravel 8.x
  4. Get The Count of the Number of Users in an AD Group
  5. Multiple Vagrant VMs in One Vagrantfile
  6. Fixing the "this is larger than GitHub's recommended maximum file size of 50.00 MB" error
  7. Changing the Directory Vagrant Stores the VMs In
  8. Accepting Android SDK Licenses From The OSX Command Line
  9. Fixing the 'Target class [config] does not exist' Error
  10. Using Rectangle to Manage MacOS Windows

subscribe via RSS

All content copyright This Programming Thing 2012 - 2021
Blogging about PHP, MySQL, Zend Framework, MySQL, Server Administration and Programming in general