List of iPod products

Many times We are searching for iPod products. Here in article I will give more overview about iPod products. First we will talk about:

What is iPod?

The iPod is a portable media player designed and marketed by Apple and launched on October 23, 2001. As of June 2010, the product line-up includes the hard drive-based iPod Classic, the touchscreen iPod Touch, the video-capable iPod Nano, and the compact iPod Shuffle. Former iPod models include the iPod Mini and the spin-off iPod Photo (since reintegrated into the main iPod Classic line). iPod Classic models store media on an internal hard drive, while all other models use flash memory to enable their smaller size (the discontinued Mini used a Microdrive  miniature hard drive). As with many other digital music players, iPods can also serve as external data storage devices. Storage capacity varies by model, ranging from 2 GB for the iPod Shuffle to 160 GB for the iPod Classic.

iPod Shuffle

The iPod Shuffle (trademarked, marketed and stylized as iPod shuffle) is a digital audio player designed and marketed by Apple Inc. It is the smallest model in Apple’s iPod family, and the first to use flash memory. The first model was announced at the Macworld Conference & Expo  on January 11, 2005; the current third generation model, introduced on March 11, 2009, weighs 10.7 grams

iPod Nano

The iPod Nano (trademarked, marketed, and stylized as iPod nano) is a portable media player designed and marketed by Apple. The first generation of the iPod Nano was introduced in the end of 2005 as a replacement for the iPod mini.[1]  It uses flash memory, like the iPod Shuffle, but with a 56 millimetres (2.2 in) QVGA display on the latest model, and the “click wheel” found on the iPod Classic. The iPod Nano has gone through five models, or generations, since its introduction. The fifth generation (current) supports FM radio, video recording, a microphone for voice memos, a pedometer, and a slightly larger screen than that of the previous generation.

iPod Classic

The iPod Classic (trademarked, marketed, and stylized as iPod classic and known before its sixth generation as simply iPod) is a portable media player marketed by Apple Inc. To date, there have been six generations of the iPod Classic, as well as a spin-off (the iPod Photo) that was later re-integrated into the main Classic line. All generations use a 1.8-inch hard drive for storage.

iPod Touch

The iPod Touch (stylized, trademarked, and marketed as iPod touch), is a portable media player, personal digital assistant, and Wi-Fi mobile platform designed and marketed by Apple Inc. The product was launched on September 5, 2007, at an event called The Beat Goes On.  The iPod Touch adds the multi-touch  graphical user interface to the iPod line. It is the first iPod with wireless access to the iTunes Store, and also has access to Apple’s App Store, enabling content to be purchased and downloaded directly on the device. Apple Inc. has sold over 32 million iPod Touch units as of the end of 2009.

The 2nd generation iPod Touch, featuring external volume controls, a built-in speaker, a contoured back, built-in Nike+, Bluetooth support, and the ability to connect a microphone, was unveiled on September 9, 2008, at the “Let’s Rock” keynote presentation.

Nike iPod

The Nike+iPod Sports Kit is a device which measures and records the distance and pace of a walk or run. The Nike+iPod consists of a small accelerometer[1]  attached to or embedded in a shoe, which communicates with either the Nike+ Sportband, a receiver plugged into an iPod nano, or directly with a 2nd or 3rd Generation iPod Touch, iPhone 3GS and iPhone 4. If using the iPod or the iPhone 3GS, iTunes software can be used to view the walk or run history.

wordpress stat service is temporarily down

Today we millions of self hosted websites are facing issue with wordpress stats plugin. When we checked the stats We saw the following result.

wordpress stat service is temporarily down

“Writes to the service have been disabled, we will be bringing everything back online ASAP”

Follwing issue is happening with only self hosted wordpress websites. We checked with wordpress but we did not got any update from wordpress site.

Some time back wordpress.com written on Twitter saying

WordPress.com experienced a service disruption this morning, but we’re back now. Thanks for your patience.


We are looking more update from WordPress

how to find largest tables on MySQL Server

Using following article You can find the largest tables from Mysql database. Finding largest tables on MySQL instance is no brainier in MySQL 5.0+ thanks to Information Schema but I still wanted to post little query I use for the purpose so I can easily find it later, plus it is quite handy in a way it presents information:

how to find largest tables on MySQL Server

PLAIN TEXT

SQL:

mysql> SELECT concat(table_schema,’.’,table_name),concat(round(table_rows/1000000,2),’M’) rows,concat(round(data_length/(1024*1024*1024),2),’G’) DATA,concat(round(index_length/(1024*1024*1024),2),’G’) idx,concat(round((data_length+index_length)/(1024*1024*1024),2),’G’) total_size,round(index_length/data_length,2) idxfrac FROM information_schema.TABLES ORDER BY data_length+index_length DESC LIMIT 10;
+————————————-+——–+——–+——–+————+———+
| concat(table_schema,’.’,table_name) | rows | DATA | idx | total_size | idxfrac |
+————————————-+——–+——–+——–+————+———+
| art87.link_out87 | 37.25M | 14.83G | 14.17G | 29.00G | 0.96 |
| art87.article87 | 12.67M | 15.83G | 4.79G | 20.62G | 0.30 |
| art116.article116 | 10.49M | 12.52G | 3.65G | 16.18G | 0.29 |
| art84.article84 | 10.10M | 10.11G | 3.59G | 13.70G | 0.35 |
| art104.link_out104 | 23.66M | 6.63G | 6.55G | 13.18G | 0.99 |
| art118.article118 | 7.06M | 10.49G | 2.68G | 13.17G | 0.26 |
| art106.article106 | 9.86M | 10.19G | 2.76G | 12.95G | 0.27 |
| art85.article85 | 6.20M | 9.82G | 2.51G | 12.33G | 0.26 |
| art91.article91 | 8.66M | 9.17G | 2.66G | 11.83G | 0.29 |
| art94.article94 | 5.21M | 10.10G | 1.69G | 11.79G | 0.17 |
+————————————-+——–+——–+——–+————+———+
10 rows IN SET (2 min 29.19 sec)

I do some converting and rounding to see number of rows in millions and data and index size in GB so I can save on counting zeros.
The last column shows how much does the index take compared to the data which is mainly for informational purposes but for MyISAM can also help you to size your key buffer compared to operating system cache.

I also use it to see which tables may be worth to review in terms of indexes. Large index size compared to data size often indicates there is a lot of indexes (so it is well possible there are some duplicates, redundant or simply unused indexes among them) or may be there is long primary key with Innodb tables. Of course it also could be perfectly fine tables but it is worth to look.

Changing the query a bit to look for different sorting order or extra data – such as average row length you can learn quite a lot about your schema this way.

It is also worth to note queries on information_schema can be rather slow if you have a lot of large tables. On this instance it took 2.5 minutes to run for 450 tables.

UPDATE: To make things easier I’ve added INFORMATION_SCHEMA to the query so it works whatever database you have active. It does not work with MySQL before 5.0 still of course

drag and drop sortable list javascript

We written this post and again we are publishing this post. drag and drop sortable list javascript. involving something like up/down arrows next to each item. The most heinous require server roundtrips for each modification.

 

drag and drop sortable list javascript

 

drag and drop sortable list javascript
drag and drop sortable list javascript

Various implementations of Drag & Drop sortable lists using JS and CSS.

In Web applications I’ve seen numerous — and personally implemented a few — ways to rearrange items in a list. All of those were indirect interactions typically involving something like up/down arrows next to each item. Then I came across Simon Cozens’ example of rearranging a list via drag & drop. I was so inspired I had to try it out myself.

Link: Drag & Drop Sortable Lists with JavaScript and CSS

Which IDE is best for wordpress development

Question is, Which IDE is best for wordpress development, Every programmer has his own choice of IDEs But I like the NetBeans so much for PHP, Java, Ruby on Rails, javascript Development. Being Programmer I like NetBeans so much.

Which IDE is best for wordpress development

NetBeans does not have any good think for wordpress still I do development in Netbeans. I know every wordpress developers first choice is Dreamweaver. I also used Dreamweaver for so many times. I can personally say Dreamweaver is really good tool for Web Designer. If you are having advanced knowledge of dreamweaver then you can develop any site in any language.

Dreamweaver is first choice for web designers. Here in this article I am going to talk about the best IDE for wordpress development.

Adobe DreamWeaver CS5

For WordPress development Dereamweaver is really great tool. You need to watch this video.

Dreamweaver is ever made IDE for wordpress development.

Netbeans

Which IDE is best for wordpress development
Which IDE is best for wordpress development

What I like about Netbeans is that is free. every update you got that is free. WordPress made in PHP and you will great support for PHP in netbeans. What you want more.  Only think I did not like about Netbeans is that is very slow on windows and linux also.

Eclipse

Eclipse is another IDE which is very popular among the programmers. I used eclipse for years. I like that so much. Eclipse has no support for wordpress but it has good support for PHP. So I like eclipse also.

How to add pagination in wordpress

Many times adding the custom pagination in wordpress blog is very important. Adding custom pagination in wordpress blog is good. In this article, we will show you, How to add pagination in wordpress with plugin and without wp plugin

How to add pagination in wordpress

  • Simple WordPress Default pagination

You need to open the your index.php file from wordpress theme and put following code in that file.

<div class="navigation">
<div class="alignleft"><?php next_posts_link('Previous') ?></div>
</div>
<div class="alignright"><?php previous_posts_link('Next') ?></div>

If you want the pagination in single post then you can use the following code:

<?php next_posts_link($label , $max_pages); ?>
<?php prev_posts_link($label , $max_pages); ?>

More pagination style visit above URL: wordpress pagination style without wordpress plugin

There are some very nice wordpress plugin available for wordpress pagination.

How to add pagination in wordpress
How to add pagination in wordpress

PageNavi wordpress plugin is really nice. I personally like this plugin so much. With this plugin you can apply your custom css also.

  • Changing the CSS

If you need to configure the CSS style of WP-PageNavi, you can copy the pagenavi-css.css file from the plugin directory to your theme’s directory and make your modifications there. This way, you won’t lose your changes when you update the plugin.

Alternatively, you can uncheck the “Use pagenavi.css?” option from the settings page and add the styles to your theme’s style.css file directly.

how to insert php code in wordpress post

Some time we need to execute and use the php code in wordpress post and page. There is solution for inserting the php code in to wordpress post.

how to insert php code in wordpress post.

 

how to insert php code in wordpress post
how to insert php code in wordpress post

I found very useful wordpress plugin for that. But my advise is don’t use this plugin ever try to put your php code as possible in wordpress theme.

Exec-PHP

The Exec-PHP plugin executes PHP code in posts, pages and text widgets.

Features:

  • Executes PHP code in the excerpt and the content portion of your posts and pages
  • Configurable execution of PHP code in text widgets (for WordPress 2.2 or higher)
  • Write PHP code in familiar syntax, eg. php ... ?>
  • Works in your newsfeeds
  • Information about which users are allowed to execute PHP with the current security settings (for WordPress 2.1 or higher)
  • Configurable user warnings for inappropriate blog and user settings (for WordPress 2.1 or higher)
  • Restrict execution of PHP code in posts and pages to certain users by using roles and capabilities
  • Update notifications through the ‘Plugins’ menu in WordPress if a new version of the Exec-PHP plugin is available (for WordPress 2.3 or higher)
  • Internationalization support (english and german included, many more available)
  • Comes with documentation

Inline PHP

The plugin can execute php string in posts/pages, and display the output as the contents of posts/pages. Just quote what you want to execute in <exec>...</exec> or [exec]...[/exec] tag.

You can put the php code in post following way.

       $filestr = file_get_contents('http://www.seocompany.ca/pagerank/page-rank-update-list.html');
       if (preg_match('/</pre>
.*<\/p>/ums', $filestr, $matches)){
           echo str_replace("

<a href="\&quot;#page-rank-update-list-history\&quot;">Top of Page Rank Update List History</a>
<pre>", "", str_replace("", "", $matches[0]));
       }
   

code syntax highlighter through wordpress plugins

When ever we write some code in post. That code need to visible very easily. Here are some code syntax highlighter through wordpress plugins which will be useful for developers and coders. There are some useful wordpress plugins for highlighting the code in wordpress post.

code syntax highlighter through wordpress plugins
code syntax highlighter through wordpress plugins

 

code syntax highlighter through wordpress plugins

While WordPress.com doesn’t allow you to use potentially dangerous code on your blog, there is a way to post source code for viewing. We have created a shortcode you can wrap around source code that preserves its formatting and even provides syntax highlighting for certain languages, like so:

To accomplish the above, just wrap your code in these tags:

 your code here
 

The language parameter controls how the code is syntax highlighted. The following languages are supported:

  • actionscript3
  • bash
  • coldfusion
  • cpp
  • csharp
  • css
  • delphi
  • erlang
  • fsharp
  • diff
  • groovy
  • javascript
  • java
  • javafx
  • matlab (keywords only)
  • objc
  • perl
  • php
  • text
  • powershell
  • python
  • ruby
  • scala
  • sql
  • vb
  • xml

If the language parameter is not set, it will default to “text” (no syntax highlighting).

Code in between the source code tags will automatically be encoded for display, you don’t need to worry about HTML entities or anything.

There are some free plugins also helpful for syntax highlighting.  I specially like the SyntaxHighlighter Evolved wordpress plugin. SyntaxHighlighter Evolved allows you to easily post syntax-highlighted code to your site without loosing it’s formatting or making any manual changes.

You can download this plugin form here:

SyntaxHighlighter Evolved

There is another plugin for syntax highlighting which also really nice.

WP-Syntax provides clean syntax highlighting using GeSHi — supporting a wide range of popular languages. It supports highlighting with or without line numbers and maintains formatting while copying snippets of code from the browser.

It avoids conflicts with other 3rd party plugins by running an early pre-filter and a late post-filter that substitutes and pulls the code snippets out first and then pushes them back in with highlighting at the end. The result is source code formatted and highlighted the way you intended.

You can download the this from here:

WP-Syntax

WordPress 3.0.1 is released

Today WordPress released the WordPress 3.0.1 version. You can download latest wordpress from follwoing link

WordPress 3.0.1 is released

Download

This maintenance release addresses about 50 minor issues. The testing many of you contributed prior to the release of 3.0 helped make it one of the best and most stable releases we’ve had.

Download 3.0.1 or update automatically from the Dashboard > Updates menu in your site’s admin area.

The latest stable release of WordPress (Version 3.0.1) is available in two formats from the links to your right. If you have no idea what to do with this download, we recommend signing up with one of our web hosting partners that offers a one click install of WordPress or getting a free account on WordPress.com.

Note: If you downloaded 3.0.1 in the first 20 minutes of release (before 2200 UTC), you’ll want to reinstall it, which you can do right from your Updates screen.

How do you get the Vanity URL in facebook account

Facebook launched the Vanity URL long back but still many of people don’t know how to do or use the vanity URLs in facebook and What is importance of unique url.
Personalized Urls are very much important your business or for your unique identity. I like personalized Urls very much.This is great to promote your website or blog or yourself through very personal URL.

How do you get the Vanity URL in facebook account

The question is how to get the personalized URLs in facebook. I logged in to my facebook account but I did not find any link or setting to get my vanity url or creating the personalized URL.

Here I am going to give you the steps for creating the vanity url in facebook:

First login to your facebook account and Hit the following URL:

http://www.facebook.com/username/

If your facebook account is old then you will got the options for choosing the your name in URL.

But your account is new then you will got the following webpage

How do you get the Vanity URL in facebook account
How do you get the Vanity URL in facebook account

You need to click on continue button and you need to put your mobile phone no in text box and hit submit button. Within 10 second you will get the sms about confirmation code. Put that code in text-area and click on verify button.

Now you can able to choose or create your vanity url in facebook.

My facebook vanity URL is http://facebook.com/purabkharat. Please do add me as your friend.