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…)

Every Action Has Impact

If two ships set sail on an identical course, and one shifts it’s course by a mere 1%, the distance between the two will increase over time as they continue on their own respective paths.

Likewise, each action you take (or don’t) shifts your personal axis that much more in that direction.

Take control of your thoughts. Respond, do not react. Be the person you want to be, one conscious action at a time.

Saying Words & Expanding Your Vocabulary

What’s going on when you say a word?

For the sake of a thought experiment, temporarily forget everything you know about language. I’m going to paint a picture of someone speaking to someone else:

(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…)

New Horizons

No man ever steps in the same river twice, for it’s not the same river and he’s not the same man.

Heraclitus

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…)