Think Again About Using Your Phone While Driving

Just thought I’d share this rather powerful PSA put out by @SummerBreak.

 

An even more to-the-point PSA on the same topic put out by the Ontario Government’s Youtube Channel below.

Vox: How Stranger Things Got Its Retro Title Sequence

The show was really good and checked many satisfying boxes for me. One of those boxes was the title sequence. Here’s a look from Vox at the making of the title sequence. Anyone else know the font was from the Choose Your Own Adventure books?

Broken Images on Web Pages: Web Developer Browser Tools

broken images web developer

Earlier today I was tasked with finding and fixing broken images on a retailer’s website, where there were of course thousands of images to go through. Here’s what I did to see and fix all the broken images (and the links pointing to them)…

In this case all image links were stored in a database that I was able to access via phpMyadmin. As I could see all the field names I was able to create a “background” webpage on the site that just looped through all the results found when the image link field name was queried. So one webpage that spat out all 8500+ images on one page. Yes it was massive in file size and took about two minutes to render them all.

I was right away able to see all the images on one page and scroll down through them all to find the missing links images. But even doing this quickly, the scrolling still would have taken an hour or more. Fortunately I remembered a setting in the Web Developer Toolbar I use from time to time.

That’s right… with the seemingly never-ending page loaded in front of me, I was able to right-click and choose Web Developer > Images > Find Broken Images. The plugin whirred away for a moment and then beautifully displayed the information I was looking for.

I suspect web developers all ready know of the Web Developer Tools by Chris Pederick. I’m just posting this today as reminder so that one day you may be faced with a gargantuan task which can be reduced to a few clicks. Thanks Chris!

If anyone knows if the above task can be accomplished in the regular browser dev tools please let me know below in the comments. I’m most familiar with Chrome and Firefox dev tools.

Clean Up Double Line Spacing Code View in Dreamweaver

When downloading files from your server to edit in code view in Dreamweaver you’ll sometimes be looking at code that is all double spaced. You can fix this by doing a find/replace right in Dreamweaver.

With the page open, hit CTRL-F and enter \n\s*\n and type Ctrl-Enter in the replace box, making sure the “Use regular expressions” box is ticked.

This should clean things right up for you.

If you’re wondering why this double spacing happens it’s because you’re downloading files from the server that has differently encoded line returns in it. For example your server is Unix and your local environment is Windows.

You can (supposedly) permanently fix these compatibility issues under your Dreamweaver preferences options. Go to Preferences, Code Format, and make sure your Line Break Type is set to the same as your server. I haven’t always had luck with this but wanted you to know the option is there.

Facebook Page: Not Eligible To Create A Username Solution

facebook username solution

This one is going out to all those searching the Facebook help pages that really offer no help. I couldn’t believe just how little help those pages and their comments/information were… especially with no Facebook representatives helping anyone! Anyways…

I recently set up a new business page for a client, from a new Facebook account so my personal life wouldn’t get all mixed in with their business.

When it came time to changing the page’s username, so that the URL for the business site would change from the arbitrarily assigned one, facebook.com/sample-business-name-684192348769/ to a more appropriate one like, facebook.com/samplebusinessname I kept getting an error saying, “You’re not eligible to create a username”.

So¬† a quick search says The Page needs 25 likes before you are eligible to create a username. It’s important to point out it says “The Page” needs 25 likes… because that’s wrong. The page had 50+ likes.

Read more…