Firefox 4 Artwork

I have to say that the artwork for FF4 is pretty sweet:

firefox 4 beta artwork

And a larger version:

image

Posted in Tech Tips, Web Development | Tagged , , | 4 Comments

The 17 Hottest Web Development Technologies of 2010

Server-Side Languages

  • PHP
  • Ruby
  • Java
  • Python
  • Node.js
  • Clojure
  • Erlang
  • Perl

Databases

  • PostgreSQL
  • MySQL
  • CouchDB
  • MongoDB
  • Riak
  • HBase
  • Redis
  • Cassandra
  • Voldemort
Posted in Web Development | Leave a comment

Most Common Firefox User Agent

The most common fire fox useragent (for mac and windows) are:

* Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.2b5) Gecko/20091204 Firefox/3.6b5
* Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.6; en-US; rv:1.9.2) Gecko/20091218 Firefox 3.6b5

Change this setting by modifying general.useragent.override in about:config

Posted in Web Development | Tagged , | 1 Comment

Cliff Halliday ([email protected]) & similar craigslist spam

There is a new bot on Craigslist today mass mailing people.

If you get any messages, especially from your Craig’s List posting, from a Cliff Halliday with an e-mail address of [email protected], then it’s spam, so delete it :)

Here are some other names and e-mail addresses I believe are being used for spam on Craigs List:

[email protected] (thanks ktina!)
Shannon Popp – [email protected]
Chris Bolcato – [email protected]

Update (12/30) – There seems to be some new spam regarding Cliff Halliday and something to do with the “CEO” of Craigslist – this is also spam! Hope this helps.

Please tell others about your spam message in the comments to help identify these threats / annoyances :)

Posted in Marketing, Random | Tagged , | 127 Comments

Dropbox 1.0 Released!

In short, here are the reasons you should upgrade to the new version of Dropbox:

  • Thousands of bug fixes
  • Huge performance enhancements, including faster syncing and 50% less memory used
  • Better user experience, and a rewritten client based on Cocoa
  • Selective Sync for everyone – not just the beta versions!
  • Extended Attribute Sync – including forked file data!

Also check out my article which allows you to always find the latest versions of Dropbox (both RC and Beta)

Posted in Software, Tech Tips | Tagged , , | 1 Comment

Applescript: How to Activate the File Menu

set front_app_path to path to frontmost application as Unicode text
delay .2 //short delay, get your hands off the keys you used to activate
tell application "System Events"
	//tell the front application
	tell application front_app_path
		//press control+f2 (activate apple menu)
		key code 120 using {control down}
		key code 124 //right
		key code 124 //right
		key code 125 //down
	end tell
end tell
Posted in Tech Tips | Tagged , | Leave a comment

Where Linux Mail files are stored on OS X

“1 new message” – a common notification when you start the terminal, especially if you have cron jobs set up and an error occurs. You can use the built-in “mail” function to check and erase messages, or you can manually edit / delete the files located in the directory:

/var/mail

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

wordpress post.php error 501

I was trying to write an article which had a text string like the following on my blog:

/etc /opt /cisco-vpnclient

I ran into a error 501 / method not supported error page. After spending quite a lot of time on this, I realized that my hosting provider had either the mod_security or mod_security2 module installed, and that particular string (with no spaces) was triggering a php-injection flag and the post (method) was being rejected.

I simply removed that line from the post I wanted, but I have also asked the hosting provider to update their rules. (mod_security rules may be editable via the “SecRuleInheritance Off” flag in .htaccess, or a similar setting, but mod_security2 is not configurable via .htaccess)

I suggest you try posting a large block of lorem ipsum with no special characters to your blog if you are having this problem. If that works then the problem is most likely with mod_security.

Articles on Mod Security / WordPress

Other reasons your post may be rejected

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

Command Line Cisco VPN on Mac OS X

Starting the VPN Client

This is a two step process. In the first step, you will need to start the VPN service by typing the following line (as root):

/System/Library/StartupItems/CiscoVPN/CiscoVPN start

This will load the cisco_ipsec kernel module.

Making the Connection

To establish a secure VPN connection, type

vpnclient <profile name>

If you profile name is profile.pcf, just type profile (leave off the extension). This should start your connection.

Using the CLI Client

You will need to leave the terminal window open (as far as I know) to stay connected. To put the VPN Client process in the background, press ctrl-z. To disconnect from the VPN, you can either kill the process manually or type vpnclient disconnect (after pressing ctrl+z).

For other options, type vpnclient and a list of commands will be displayed:

  Cisco Systems VPN Client Version 4.9.01 (0100)  
  Copyright (C) 1998-2006 Cisco Systems, Inc. All Rights Reserved.  
  Client Type(s): Mac OS X  
  
  Usage:  
  vpnclient connect <profile> [user <username>] [eraseuserpwd | pwd <password>]  
  [nocertpwd]  
  vpnclient disconnect  
  vpnclient stat [reset] [traffic] [tunnel] [route] [repeat]  
  vpnclient notify  
  vpnclient verify [autoinitconfig]  
  vpnclient autoinit  
Posted in Web Development | Leave a comment

Replacing Variables with Bash

$(var:pos[:len]) # extract substr from pos (0-based) for len

$(var/substr/repl) # replace first match
$(var//substr/repl) # replace all matches
$(var/#substr/repl) # replace if matches at beginning (non-greedy)
$(var/##substr/repl) # replace if matches at beginning (greedy)
$(var/%substr/repl) # replace if matches at end (non-greedy)
$(var/%%substr/repl) # replace if matches at end (greedy)

${#var} # returns length of $var
${!var} # indirect expansion

Posted in Web Development | Tagged , | Leave a comment