Monthly Archives: March 2011

Stack Overflow: Unicorns

Just noticed when you upvote on Stack Overflow there are unicorns, balloons, and hearts appearing. Has this been going on for a while? Could it be an 4/1 joke?

Posted in Random, Tech Tips | Leave a comment

Set Finder to Search “File Name” instead of “Contents” on Mac OS X Leopard

Here’s my solution to getting the “File Name” box by default when pressing Cmd-F when in a finder window on Mac OS X. This is not perfect, but it’s pretty good. Since it has to call automator / applescrpt there might be a 1 second delay after you press the key. Let me know if anybody has a way to speed that up. So… Note: There is an easier way to do this (than below). Instead of using cmd-f just use cmd-shift-f and it will default to file name instead of contents :) However, if you are really set on having Cmd+f search file names, check out the section below. Part I: Create a Service with Automator Launch Automator and choose “New Service” Click on the record button and when it is recording, choose a finder window, and do something, like change the view prefernces (icons, list, anything really). Then press stop recording. Back in automator you will now have your recording, but at the top you will also have something that says “Service Receives” and change that from “text” to “no input” and then choose “Finder” for the application. If you didn’t do the previous step of recording something where you activated finder, you won’t be able to select finder her. Remove the thing you recorded in the right hand pane, and then choose Applescript from the left side. Paste in this code: on run {input, parameters} tell application “System Events” to tell process “Finder” set frontmost to true … Continue reading

Posted in Mac, Tech Tips | Tagged , , , , | 5 Comments

Disable Top-Bar in Gmail (Nav Bar)

Google has a navigation bar, it includes items like Gmail Calendar Documents Photos Reader Web More and a few months ago they added it to G-mail. I don’t use it because I have gmail running as an Application Shortcut / Fluid Instance, and so it has it’s own, dedicated window, and the Google Bar at the top just takes up space. Why would I need to access Calendar Documents Photos Reader Web More when I’m in this mode? So, there is no option to disable it (that I have found) so I’ve written a custom user script. When using Fluid on Mac you can simply use the script icon on the meun bar and add a custom script. On a PC, or with Chrome you will add a new extension. With Firefox you can use Grease Monkey. So, without further delay, here is the script that I’m using: // ==UserScript== // @name Remove Nav Bar in G-Mail // @namespace // @description Removes Google Nav Bar (Documens, Etc) at the top of G-mail // @include // @author Will // ==/UserScript== (function () { if (window.fluid) { function myRemoveIframe(){ try{ var d = document.getElementById(“canvas_frame”); d.contentWindow.document.getElementById(“gb”).style.display = ‘none’; }catch(e){ setTimeout(function(){ myRemoveIframe(); },500); } } myRemoveIframe(); } })();

Posted in Tech Tips, Web Development | Tagged , , , , | Leave a comment

Recently one of my clients experienced an exploit where the following code was added to the bottom of their website: <iframe src=”” width=”0″ height=”0″ frameborder=”0″></iframe> Following the compromise, Google picked up on it and started warning people visiting the site about Malware, Viruses, and Security. Google then sent the following notification: Dear site owner or webmaster, We recently discovered that some of your pages can cause users to be infected with malicious software. We have begun showing a warning page to users who visit these pages by clicking a search result on Below is an example URL on your site which can cause users to be infected (space inserted to prevent accidental clicking in case your mail client auto-links URLs): Here is a link to a sample warning page: We strongly encourage you to investigate this immediately to protect your visitors. Although some sites intentionally distribute malicious software, in many cases the webmaster is unaware because: 1) the site was compromised 2) the site doesn’t monitor for malicious user-contributed content 3) the site displays content from an ad network that has a malicious advertiser If your site was compromised, it’s important to not only remove the malicious (and usually hidden) content from your pages, but to also identify and fix the vulnerability. We suggest contacting your hosting provider if you are unsure of how to proceed. StopBadware also has a resource page for securing compromised sites: Once you’ve secured your site, you can request that the … Continue reading

Posted in Web Development | Tagged | Leave a comment

Cisco VPN Profile Location on Mac OS X

If you’re trying to find where CiscoVPN stores your profiles on the mac, look no further than this folder: /private/etc/opt/cisco-vpnclient/Profiles/ Most applications will store user data in the ~/Library/Preferences folder or the ~/Application Support folder. Not Cisco!

Posted in Tech Tips | Tagged , | 1 Comment

Google Lucky Search URL

The URL for a Google’s “I’m Feeling Lucky” search is: You can replace the %s with your query. This is especially helpful when creating a keyword search in a browser. As a related note, you can do an automatic image search with this:

Posted in Tech Tips | Tagged , | Leave a comment

This American Life Podcast Downloads

A great way to see all This American Life podcasts. It’s a quick index, which works on mobile devices, and links to downloads for the TAL website:

Posted in Marketing | Tagged | 1 Comment

My Struggle with Google Adwords Help

I created a new Google Adwords Campaign for a small client. Everything seemed to be going OK. The client wanted to run a second ad with a different offer. I duplicated my current ad, changed the offer, and then was met with a “Limited due to Trademark” restriction. I thought that was rather odd because the first ad was nearly identical to the second – and none of the words that were different were trademarked. Actually, I don’t think any of the words, even in the client’s name (the title of the ad – blurred for privacy), or the client’s web address, were trademarked. I was confused and decided to e-mail Google’s Adwords team. Here is where I’m currently at with them. I included the same screenshot included here with my e-mail. TL;DR: Just skim my short responses to get an idea of what’s happening :) Original Message Follows: ———————— From: Will Date: Tue, 1 Mar 2011 Thanks for your previous help. I’ve duplicated and edited an ad, but I’m getting the same "trade mark" error as before. I’ve attached a screenshot. What did I do wrong? How can we fix it? On Wed, Mar 2, 2011 at 8:01 AM, AdWords Support <[email protected] wrote: Hello Will, Thanks for writing in. I am sorry that you’ve been getting the same trademark issue as before when you submitted your ad. I am not sure of the exact reason why that happened, it may be that your message was triggered for potential trademark … Continue reading

Posted in Random, Web Development | Tagged , | Leave a comment

The iPod of 2004

I have some old magazines laying around. This morning I was looking at one and flipped it over; And I thought, “Wow. Today the iPad 2 is coming out. And I don’t think of this magazine as being all that old.” Was it really that long ago that we would pay $299 for a 20GB mp3 player who’s advertising highlighted it’s ability to shuffle songs? No color screen, no video capabilities, no WiFi, and less memory than on a typical USB flash drive. Crazy.

Posted in History, Etymology, Mac, Marketing, Random | Tagged , , | 7 Comments

Dropbox: Download Latest Version

To download the latest Beta, Stable, or Testing release of the Dropbox Client. You can download any version to suit your needs. This includes version 0.6 to version 1.1+ Dropbox Latest Release If you simply wish to download the latest stable release for your OS, use this link.

Posted in Software, Tech Tips | Tagged | Leave a comment