Menu

Brandon Rome

web, optimal, and things

Cellphones suck the Life from the Moment

Notifications ask for a quick glance. Coworkers want you to drop everything else to help them. Passing thoughts beg for your focus.

One’s focus & time are both precious and fleeting. Regain them by changing your surroundings, starting with that pocket computer.

(more…)

How I Work: Mastering Email & Your Time

If you need me immediately, do not email me. Call me.

First, try the office. Then, my cell phone. If you do not have my cell phone, send me a message on Google Hangout, or ask someone at the office for it. Leave me voicemail.

In an attempt to reduce distractions, I am only checking emails three times a day: AM, lunch, and PM. If you have any interest as to why, please continue reading.

(more…)

Magento Cron on Media Temple Grid (GS) Server

I ran in to a challenging situation the other day.

I recently helped fast-lane an ecommerce site for a small book store, and the traffic has been booming. Where I expected a few dozen orders out-of-the-gate, and to slowly correct any issues, it blew everyone’s expectations away, taking in hundreds of orders the first week. They’ve seen over 2k orders (that’s individual orders, not dollars) in less than a month. Awesome for the bookshop! Not so awesome for the over-whelmed dev :x

Initially, Paypal was the only payment gateway, and Paypal sends confirmation emails when orders are placed.

No news is good news, right? Wrong.

We integrated another payment gateway, only to realize Magento wasn’t automatically sending out order confirmation emails… All of the prior order confirmation emails had been sent by Paypal. And Magento hadn’t sent squat! Ruh-roh.

(more…)

Read More, Read Better

I use a few tools to manage my e-reading. These tools allows me to follow dozens of blogs, listen to a handful of podcasts, and quickly digest random Internet content with ease.

(more…)

PHP Header not working due to Unicode Signature (BOM)

I was editing a site for a customer in Dreamweaver CS5.5, and I was redirecting an old page to a new version via PHP (though a 301 is the proper method, but that’s another post):

<? header(‘location: newurl.com/goes-here’); ?>

Simple enough? Nothing before or after. Certainly no spaces. These were the only characters in the entire file.

Except, upon checking out the page, I received an error:

Warning: Cannot modify header information – headers already sent by (output started at /home/www/redirect.php:1) in /home/www/redirect.php on line 1

Hmm. But there isn’t anything else on that line…

(more…)

Simple jQuery Smooth Scroll with Scroll to Top

This came up while working on a little one-page site for a customer.

After some digging, I found a few snippits that combined to make this a rather pain-free process. It’s not flashy, and I’m sure there are 100 ways to do it better, but this worked for me.

(more…)

Trello & the Personal Kanban

Day 1

I stumbled upon this Personal Kanban 101 slideshow the morning of Monday, December 23rd. By 10AM, I had all of my personal and private tasks under one roof, Trello. This was previously spread over Wunderlist, HabitRPG, and Evernote.

(more…)

Good Enough

Perfect is a subjective, moving target. Learn to not let that prevent you from gaining ground.

Good enough is a great start.