Excellent Analytics – Import Google Analytics into Excel
I ran into this nice Excel Plugin that lets you import web analytics data from Google Analytics into a spreadsheet. It’s an open source project and 100% free to download and use for individuals and businesses.
Add Magento search plugin to Firefox Search bar
I’ve been working with Magento for some time now. I found myself searching for help countless times on the Magento website. I thought it would be useful to have a search feature built right into Firefox’s list of search engines to search the Magento site. So I went through Mozilla’s Developer Center and found instructions on the Open Search Syntax. So here you go, you can download it here. Hope you find it helpful!
I also have one for PHP which comes in handy as well. If your interested, you can grab it here.
Javascript – Passing Multiple Parameters through setTimeout
One of the problems that I’ve faced with Javascript is passing multiple parameters through the setTimeout function. I found this little snippet on the internet a few months ago and would like to share it with you. I don’t know who the original author is so I could not give him/her proper credit. Thanks!
var _st = window.setTimeout;
window.setTimeout = function(fRef, mDelay) {
if(typeof fRef == "function") {
var argu = Array.prototype.slice.call(arguments,2);
var f = (function(){ fRef.apply(null, argu); });
return _st(f, mDelay);
}
return _st(fRef,mDelay);
}
Define your function to call with setTimeout:
function alertMe(message, name) {
alert(message + name);
}
Now, just call the function.
var message = 'Hello, '; var name = 'Richard'; setTimeout(alertMe, 2000, message, name);
Hope this helps someone!
.htaccess – Limit website access by IP
I’ve been asked many times how to limit website access by allowable IP’s. This is fairly simple to accomplish with .htaccess. Simply follow the steps below:
- Create a file and name it .htaccess. Paste the code into it. Replace 255.255.255.255 with you IP address. (If you don’t know it, you can get it here: WhatsMyIP)
-
order deny,allow deny from all allow from 255.255.255.255
- Once the file is created, put it in the root directory. That’s it!
Google Wave – A New Communication Platform.
Google Wave is a new model for communication and collaboration on the web, coming later this year. In Google Wave, users create and invite other people to “waves”. Everyone on a wave can use richly formatted text, photos, gadgets, and even feeds from other sources on the web. They can insert a reply or edit the wave directly. It’s concurrent rich-text editing, where you see what other users on the wave are typing in real-time. That means Google Wave is just as well suited for quick messages as for persistent content – it allows for both collaboration and communication. You can also use “playback” to rewind the wave to see how it evolved.
Apple iPhone Apps for Designers & Developers
I purchased an iPhone about 2 months ago and I must say I love it. The only gripe I would say I have with this beautiful machine would be the Multi-media messages or lack thereof. This is something that Apple and AT&T really need to address. For a phone with all of this great technology to lack a feature that most basic phones come standard with is horrible. Anyway, (I needed to vent) here are a list of some really cool Apps that I’ve come across and use:
- FTP On The Go – Allows you to Download, Edit, and Upload web pages or any other text files on your FTP servers.
- List of Cheat Sheets – Cheatsheets for Regular Expressions, MySQL, World of Warcraft, CSS, jQuery, JavaScript, Google, PHP and HTML
- OmniFocus – OmniFocus Keeps track of actions by project, place, person, or date. Bring up a shopping list, agenda items to discuss at work, tasks for home, and any other lists you need.
- WordPress – The official WordPress iPhone app, for writing drafts and publishing on-the-go.
- Ego – A delicious looking app for tracking Google Analytics, Twitter followers, RSS subscribers and Google Analytics.
- Air Sharing – Mount your iPhone or iPod touch as a wireless drive on any computer, drag-and-drop files, and view them on your device.
- TwitterFon – is a simple, clean, easy to use, and is a superfast Twitter client for your iPhone and iPod Touch.
List some of your favorites…
WordPress – List your most popular Posts
This function below creates a list of links of the top commented posts on your WordPress blog.
<?php
function listPopularPosts() {
global $wpdb;
$strBuidler = '';
$result = $wpdb->get_results("SELECT comment_count, ID, post_title FROM $wpdb->posts ORDER BY comment_count DESC LIMIT 0 , 5");
foreach ($result as $post) {
setup_postdata($post);
$postId = $post->ID;
$title = $post->post_title;
$commentCount = $post->comment_count;
if ($commentCount != 0) {
$strBuidler .= '<li>';
$strBuidler .= '<a href="' . get_permalink($postId) . '" title="' . $title . '">' . $title . '</a> ';
$strBuidler .= '(' . $commentCount . ')';
$strBuidler .= '</li>';
}
}
return $strBuidler;
}
?>
Call the function in your sidebar of footer like this:
<h2><?php _e('Popular Posts'); ?></h2>
<ul>
<?php echo(listPopularPosts()); ?>
</ul>
-
Beware the heat-seeking Nerf machine-gun coming to a cubicle near you http://om.ly/svHF #fb
- Follow me
Last Tweet
-
Archives
Categories
My Favorites
- 37 Signals
- Andrew Warner
- Chris Coyier
- Chris Shiflett
- Collis Ta'eed
- Development Seed
- Drupal
- HubSpot
- James Padolsey
- Joel On Software
- John Resig
- jQuery
- Kevin Rose
- Life Hacker
- Magento
- Mashable
- Matt Cutts
- Matt Ryan
- MySQL
- NetTuts
- Noupe
- Photoshop Tutorials
- PHP
- Smashing Magazine
- Tech Crunch
- WoorkUp
- Wordpress

