Firefox 4.0 Theme Mockups
Those Mozilla people must not even sleep anymore! It was less than a month ago when the they released Firefox 3.5 and now they’re working on Firefox 4.0 already. Below are the screenshots from Mozilla’s wiki page:
Personally, I prefer to have the tabs on the bottom, but that’s just me. We’ll just have to wait to see what Mozilla decides to do. If they gave you a vote, which would you choose?
Easily rename files with Advanced Renamer
Advanced Renamer is freeware program for renaming multiple files or folders at once. It can use several different methods for calculating the new name including multimedia tools for sound and picture files.
Advanced Renamer makes it easy to set up an advanced batch job using multiple methods on a large amount of files. The eight different methods make it possible for you to change the names, attributes and timestamps of files in one go.
With Advanced Renamer you can construct new file names by adding, removing, replacing, changing case, or giving the file a brand new name based on known information about the file.
This program is a great utility for organizing digital pictures for both professionals and beginners. The thumbnail mode lets you display thumbnails directly in the file list giving you maximum control of the renaming process. With this program you can rename all your photos in a snap.
MP3 files often have messed up names and contain weird characters. With Advanced Renamer you can change the names of your favorite music files to more suitable names using the built-in ID3 functions.
Renaming Methods
- New Name with Tags
- New Case
- Remove / Delete
- Replace
- Add / Insert
- List
- File Attributes
- File Timestamp
This software is free and saves a ton of time when working with a large amount of files. I personally recommend this software if you don’t already have a file renaming tool in your software arsenal.
You can download it here – http://aren.hulubulu.net/
Do you think Google will take over the world?
Google isn’t just a search engine anymore. Let’s face it, Google is a household name (and a verb in some cases). Sure, it started as a search engine, but they have branched out into so many other free services like email, maps, website analytics and even their own web browser. Yesterday, Google introduced the new Google Chrome OS.
“Speed, simplicity and security are the key aspects of Google Chrome OS. We’re designing the OS to be fast and lightweight, to start up and get you onto the web in a few seconds. The user interface is minimal to stay out of your way, and most of the user experience takes place on the web. And as we did for the Google Chrome browser, we are going back to the basics and completely redesigning the underlying security architecture of the OS so that users don’t have to deal with viruses, malware and security updates. It should just work.” Read Full Article
What’s next for Google? How long will it take before I’m driving to work in a Google car? What about a Google restaurant? “Hun, do you want to eat at Google tonight?” LOL
Watch the clock tomorrow!
At exactly five minutes and six seconds past four o’clock in the morning, this coming July eighth, we as people who have been here for hundreds of thousands of year will experience an exact time alignment including six digits. It looks as follows: 4:05:06 am of 07/08/09.
This is a special even in time because it will not happen again for another one thousand years. Our relatives will have changed the world we live in so much by that point that it may not have the same meaning. Humans may not even exist at that point in the future, so this may be even rarer because it could end up being a one time occurrence.
Exact Time Alignment Including Six Digits
Wordpress: Add Content Based on Post Count
A couple months ago I redesigned one of my sites to use Wordpress as a CMS. It is a site that displays small video clips with a few lines of text underneath. Everything went well with the transformation and I was happy with the way it turned out, but there was one minor problem.
The pages on the site are setup to show 15 posts per page. If there aren’t 15 posts on the page, the layout gets broken. Pages 1 & 2 are fine, but page 3 doesn’t have 15 posts yet. You can see from the screenshot below what I’m talking about.
Somehow I needed to add blank posts at the end to fill up the rest of the page. Yesterday, while looking through a Wordpress tip site, I found something that made me think it would be possible. Display a text/code only if more than X posts are published
<?php $count_posts = wp_count_posts(); if ($count_posts->publish > 10) { //Your code to be displayed only if more than ten posts have been published } ?> |
That code would have worked fine, but I needed it to display a dynamic number of blank posts based on the current post count. I also needed it to only display those blank posts on page 3. It was a good starting point though.
Let me start off by saying that I am NOT a php programmer, so this may be a little messy. I knew what I wanted it to do, but I had to Google everything to see how it was done in php. After piecing everything together, I finally came up with this:
1 2 3 4 5 6 7 | <?php $page_url=$_SERVER['REQUEST_URI']; $page_number= 'page/3'; $published_posts = wp_count_posts()->publish; while ($published_posts < 45 && strstr($page_url, $page_number) ) { ?> <div class="videoitem">...</div> <?php $published_posts = $published_posts + 1; if($published_posts == 45) break; } ?> |
Line 1 – start php
Line 2 – reads the URL of the website
Line 3 – declares $page_number as “page/3″.
Line 4 – uses built in function of Wordpress to declare $published_posts
Line 5 – says that while the number of posts is less than 45 and the URL contains ”page/3″, then display the html code below
Line 6 – the html that I want shown if Line 5 is true
Line 7 – add 1 to the post count and loop it until 45
All of the code that I created went under the normal Wordpress post loop. See below:
<?php if (have_posts()) : while (have_posts()) : the_post(); ?> <div class="videoitem">...</div> <?php endwhile; else: ?> <?php endif; ?> right here |
The end result now looks like this:

If you want to see it in action, go here.













