On Twitter now you can Follow your Facebook friends

The Twitter is micro-blogging site and it is become very famous in last few years. Twitter provides addition of Facebook and LinkedIn to its Find Friends feature.

On Twitter now you can Follow your Facebook friends

On Twitter now you can Follow your Facebook friends
On Twitter now you can Follow your Facebook friends

The Twitter Facebook app now lets you know which of your friends are on Twitter. It lets you save those users to a list or follow them instantly. Users can now also post tweets directly to their Facebook pages, in addition to their profile.

 

On Twitter now you can Follow your Facebook friends

As per Twitter blog post They are saying,

“Many Twitter users follow their favorite celebrities, sports heroes, or brands. They often find and follow even more nearby businesses or experts in their industry. And, of course, people also follow friends, family and associates so that they can keep updated on what’s happening with them. In fact, one of our most frequent requests from users is how they can find and follow the people they are connected to on their social networks.

On Twitter now you can Follow your Facebook friends
On Twitter now you can Follow your Facebook friends

Today, we’re improving our Find Friends section to make it easier to find and follow the people you already know — your friends on Facebook and connections on LinkedIn — who use Twitter. Our Facebook app, which launched in 2007, now shows which of your Facebook friends are on Twitter and lets you follow them instantly and save them to a list. The app also lets you post your Tweets to your Facebook profile and now, to one of your Facebook pages too. With the Tweets application by LinkedIn, you can see which of your LinkedIn connections are on Twitter and follow the ones you choose right from the app. The app also lets you save your LinkedIn connections as a list, post your Tweets to LinkedIn, and add your Twitter account to your LinkedIn profile.

UPDATE: The Facebook app cannot currently access your Facebook friend list. We believe this is an issue on Facebook’s end.”

How to publish wordpress feeds later

When you publish your post,the feed an published to the whole world.That’s very annoying thing. publish wordpress feeds later, That is always good from SEO.

How to publish wordpress feeds later

How to publish wordpress feeds later
How to publish wordpress feeds later

Some times you need to change the content or change the url, that time you got the errors

The following example publishs the post 10 minutes later in your feed:


/**
 * puplish the content in the feed later
 * $where ist default-var in WordPress (wp-includes/query.php)
 * // Apply filters on where and join prior to paging so that any
 * This function an a SQL-syntax
 */
function publish_later_on_feed($where) {
 global $wpdb;

 if ( is_feed() ) {
 // timestamp in WP-format
 $now = gmdate('Y-m-d H:i:s');

 // value for wait; + device
 $wait = '10'; // integer

 // http://dev.mysql.com/doc/refman/5.0/en/date-and-time-functions.html#function_timestampdiff
 $device = 'MINUTE'; //MINUTE, HOUR, DAY, WEEK, MONTH, YEAR

 // add SQL-sytax to default $where
 $where .= " AND TIMESTAMPDIFF($device, $wpdb->posts.post_date_gmt, '$now') > $wait ";
 }
 return $where;
}

add_filter('posts_where', 'publish_later_on_feed');

You need to open the your wordpress themes functions.php file and put above code in that file. Using this function your feed will publish after 10 minute of your wordpress post publishing.

increase the upload_max_filesize in WordPress

The default upload file size is in php settings is 2 MB and for wordpress also default upload size is 2 MB. File upload size is dependent on PHP settings of your server. Upload size is also dependent on your hosting plan or hosting service provider. For shared hosting most of time you cannot increase the file upload limit.

increase the upload_max_filesize in WordPress

When we try to upload big size image or media files in wordpress we got the following error

The uploaded file exceeds the upload_max_filesize directive in php.ini
For fixing the issue use following steps
Use the php.ini file from root folder.

1. Find this line in the php.ini file in your php installation upload_max_filesize = 2MB and replace it with a higher value (e.g. upload_max_filesize = 64MB)
2. Search for this line in your php.ini file post_max_size and increase it.

If you don’t have a php.ini file in your directory,
you can usually generate one from the control panels of your host. or create the file and put following values in that
memory_limit = 32M
upload_max_filesize = 100M
upload_max_filesize = 100M
post_max_size = 100M

increase the upload_max_filesize in WordPress
increase the upload_max_filesize in WordPress

This file is copied into your wp-admin folder, the problem should be solved.

How to install wordpress multisite on subdomain

We given steps to install wordpress multisite on subdomain. Many wordpress developers learned and managing their wordpress sites with multisite on subdomain.  Some even start managing WordPress sites for clients, friends, and family.

How to install wordpress multisite on subdomain

First download the wordpress 3.0 from following location

http://wordpress.org/latest.zip

install wordpress multisite on subdomain
install wordpress multisite on subdomain

Start the wordpress installations:
First create database and put your database information

Second step

Login to wordpress admin panel

 

After Installation completion. Open the wp-config.php file from wordpress root folder.
Find following line.

 /* That's all, stop editing! Happy blogging. */

And change the line as follows:
 define('WP_ALLOW_MULTISITE', true);
 /* That's all, stop editing! Happy blogging. */

 

Now Refresh the wordpress admin panel. In tools tab menu(right side menu) you will find the network link. click on “network” link

install wordpress multisite on subdomain
install wordpress multisite on subdomain

Then click on install button

Complete the following steps to enable the features for creating a network of sites.

install wordpress multisite on subdomain
install wordpress multisite on subdomain

1.Create a blogs.dir directory in /var/www/html/wp3/wp-content. This directory is used to be stored uploaded media for your additional sites and must be writeable by the web server.
2. Add the following to your wp-config.php file in /var/www/html/wp3/ above the line reading /* That’s all, stop editing! Happy blogging.


define( 'MULTISITE', true );
define( 'SUBDOMAIN_INSTALL', false );
$base = '/wp3/';
define( 'DOMAIN_CURRENT_SITE', 'localhost' ); //Put your domain name
define( 'PATH_CURRENT_SITE', '/wp3/' );
define( 'SITE_ID_CURRENT_SITE', 1 );
define( 'BLOG_ID_CURRENT_SITE', 1 );

3. Add the following to your .htaccess file in /var/www/html/wp3/, replacing other WordPress rules:


RewriteEngine On
RewriteBase /wp3/
RewriteRule ^index\.php$ - [L]

# uploaded files
RewriteRule ^([_0-9a-zA-Z-]+/)?files/(.+) wp-includes/ms-files.php?file=$2 [L]

# add a trailing slash to /wp-admin
RewriteRule ^([_0-9a-zA-Z-]+/)?wp-admin$ $1wp-admin/ [R=301,L]

RewriteCond %{REQUEST_FILENAME} -f [OR]
RewriteCond %{REQUEST_FILENAME} -d
RewriteRule ^ - [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(wp-(content|admin|includes).*) $2 [L]
RewriteRule  ^([_0-9a-zA-Z-]+/)?(.*\.php)$ $2 [L]
RewriteRule . index.php [L]

Once you complete these steps, your network is enabled and configured. You will have to log in again. Log In

Now you can click on super admin tag -> sites link and you can create multiple blogs from there.

Firefox 3.6.4 is for Download, with Crash Protection Now Available

Today, Mozilla is happy to release Firefox 3.6.4, the latest security and stability release for Firefox, used by nearly 400 million people around the world to browse the Web. This release provides crash protection for Windows and Linux users by isolating third-party plugins when they crash.

Results from our beta testing show Firefox 3.6.4 will significantly reduce the number of Firefox crashes experienced by users who are watching online videos or playing games. When a plugin crashes or freezes while using Firefox, users can enjoy uninterrupted browsing by simply refreshing the page.

Mozilla recognizes that third-party plugins provide important functionality in many of today’s websites. At the same time, plugins can lead to problems for users as they browse. With the ability to automatically alert users when they have out of date plugins, and now crash protection, Firefox 3.6.4 allows users to experience all the content they love without any of the hassles. (If you’re not running Firefox, Mozilla recommends that you make a habit of visiting the Plugin Check page to keep your plugins up to date.)

At this time Firefox offers crash protection for Adobe Flash, Apple Quicktime and Microsoft Silverlight on Windows and Linux computers. Support for other plugins and operating systems will become available in a future Firefox release.

All Firefox users are encouraged to upgrade for free by using the “Check for Updates” function in the Help menu, or by visiting www.firefox.com. For more information, please visit:

Source Link

deploy rails website with passenger -rails deployment

While working with PHP, I realized that deployment of a PHP application is far more easier as compared to deployment of a Ruby on Rails application. So I was wondering if there could be a way to deploy a Ruby on Rails application in a similar fashion, as easy as you check out the Rails project in a directory on the server, configure a VirtualHost in the webserver, restart the webserver and there you go, everything should work as expected.

deploy rails website with passenger -rails deployment with passenger
deploy rails website with passenger -rails deployment with passenger

Luckily I did find a saviour,

“Phusion Passenger” a.k.a “mod_rails” or “mod_rack”

Here I am putting down steps to ride Rails on Passenger.

Install Passenger

Passenger is available as a Rubygem. As root,

gem install passenger

Install Passenger module for Apache

passenger-install-apache2-module

During installation it will prompt:

The Apache2 module was successfully installed.

Please edit your Apache configuration file, and add these lines:

LoadModule passenger_module /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.11/ext/apache2/mod_passenger.so
PassengerRoot /usr/lib64/ruby/gems/1.8/gems/passenger-2.2.11
PassengerRuby /usr/bin/ruby

NOTE: Do NOT copy-paste from here. Make sure you add the lines that passenger prompts you with.
It is specific to the OS installation. Mine was a Fedora Core 10 64-bit installation.

Next, it will help you to configure a VirtualHost for Apache

<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public

<Directory /somewhere/public>
AllowOverride all
Options -MultiViews
</Directory>

</VirtualHost>

Restart Apache:

As root,

/sbin/service httpd restart

That’s it, we are done.
Point your browser to your domain, and you should be able to see your Ruby on Rails Application.

Do keep in mind that the default Rails environment while using Passenger is “production”
To access your application in “development” or any other environment add the following line in your VirtualHost configuration:

RailsEnv development

Restarting your application deployed in production environment:

To restart your Rails application deployed in production environment you can restart Apache.
But that’s not a good solution if you are hosting multiple applications on the same server, or even generally, it doesn’t sound like a good idea to restart Apache every now and then.
To overcome that, you can restart your application in the following way:

From Rails Root Directory,

touch tmp/restart.txt

That’s it, this will restart you Rails application.

The best part is, Passenger is compatible with all the Rubygems and Rails plugins.

So nothing should break. I personally tried running a complex Rails application that uses Solr as the search engine along with acts_as_solr plugin, backgroundRB server for background processes, attachment_fu for file uploads etc, etc.

Everything worked like a charm.

For further configuration, please refer to the Passenger documentation found here:

You can also use Passenger to serve Non-Rails Ruby web applications. That can be a good alternative to the already prevalent mod_ruby module for Apache.
If you are using Nginx as your webserver, you can use Passenger module for Nginx.

There’s just one disadvantage to Passenger:

It doesn’t work on Windows. In any case, I personally never prefer to develop Rails (or any other) applications on Windows 🙂

Good news for Mac users:

fingertips has come up with an OS X preference pane for Phusion Passenger (a.k.a. mod_rails) that makes it a cinch to deploy Rails applications using Passenger on the Mac. It can be as simple as dragging a Rails application folder onto the preference pane! This is absolutely ideal for quick and easy Rails development on OS X.

You can download the Passenger Preference Pane here

References:

http://www.modrails.com/documentation/Users%20guide%20Apache.html

Apple sells 3 million iPads in first 80 days

Apple Inc. has sold more than 3 million iPads just 80 days after the tablet computer’s launch in the United States.

The touch-screen iPad blew past analysts’ expectations even in its first month when it sold 1 million, and Monday’s 3-million mark signaled that it was not losing any steam.

Apple sells 3 million iPads in first 80 days

Apple sells 3 million iPads in first 80 days
Apple sells 3 million iPads in first 80 days

“People are loving iPad as it becomes a part of their daily lives,” Apple Chief Executive Steve Jobs said in a statement. “We’re working hard to get this magical product into the hands of even more people around the world, including those in nine more countries next month.”

The news came as the prices of iPad’s e-reader competitors — Amazon.com Inc.’s Kindle and Barnes & Noble Inc.’s Nook — were slashed Monday to under $200. The iPad starts at $499.

But it seems price isn’t an issue when it comes to some of the hottest, and coolest, pieces of technology on the market, said Richard Doherty, analyst at Envisioneering Group.

“It’s fashionable and it’s ‘in’ and it’s less geeky than a keyboard,” he said. “It’s the new definition of ‘it.’ ”

Doherty said that at this rate he expected iPad sales to far surpass his original prediction of 5 million to 8 million within a year. And if there’s anyone who has returned an iPad, he’d like to meet them, he said.

According to Reuters, the iPad also is sold in Canada, Japan, Australia, Italy, France and Germany.

Google Voice is out in U.S.


Google Voice is now available for everyone (provided you have a U.S. phone number).

The service, which started life out as GrandCentral, acts as a unified phone number. It can be used to make free calls to the U.S. and Canada, to send free text messages and more. Its voicemail system can even be.

Now, after more than fifteen months of testing with invite-only accounts, Google Voice is ready for the masses.

As great as the service is, it hasn’t existed without controversy. Last summer, Apple was criticized when the company barred the Google Voice iPhone app from its App Store. The battle over Google Voice was arguably the first shot in the current Apple-Google war.

And earlier today, Business Week reported that Frontier Communications is suing Google over alleged patent violations within the Google Voice service.

For many users however, Google Voice is a wonderful solution to the increasingly complex web of communication profiles. Instead of having to try to maintain separate phone numbers, users can just have one central number forwarded to different devices based on time of day or location.

how to install Jmeter on Linux

Jmeter is basically used for load testing of web applications. Application Load testing is very important for every application. Jmeter is loved by every QA and testing software professional. If you are QA software professional then you need to know how install on windows or linux box and how use it properly. Here In this tutorial I shown you to how to Jmeter on Linux.

how to install Jmeter on Linux

install Jmeter on Linux
install Jmeter on Linux

JMeter is to first download the latest production release and install it. The release contains all of the files you need to build and run most types of tests, e.g. Web (HTTP/HTTPS), FTP, JDBC, LDAP, Java, and JUnit.

If you want to perform JDBC testing, then you will, of course, need the appropriate JDBC driver from your vendor. JMeter does not come with any JDBC drivers.

If you want to install the jmeter on your linux box you need to follow my steps:

[viral-lock message=”Installation steps are Hidden! It’s Visible for Users who Liked/Shared This article on Facebook or Twitter or Google+. Like or Tweet this article to reveal the content.”]

1) Goto http://jakarta.apache.org/site/downloads/downloads_jmeter.cgi
2) Download Binary 2.3.4.zip . The zip file name will be “jakarta-jmeter-2.3.4”
3) Paste it in /var/www/html/
4) Unzip “jakarta-jmeter-2.3.4”
5) New folder with name “jakarta-jmeter-2.3.4” will be created
6) Go to command prompt
7) go to “jakarta-jmeter-2.3.4” folder (cd /var/www/html/jakarta-jmeter-2.3.4)
8) go to “bin” folder (cd bin)
9) Now you are in bin folder (i.e /var/www/html/jakarta-jmeter-2.3.4/bin/)
10) type the command “sh jmeter”
11) After a short pause, the JMeter GUI should appear.

[/viral-lock]

After this you can use following commands for load testing.

For non-interactive testing, you may choose to run JMeter without the GUI. To do so, use the following command options

-n This specifies JMeter is to run in non-gui mode

-t [name of JMX file that contains the Test Plan].

-l [name of JTL file to log sample results to].

-r Run the test in the servers specified by the JMeter property “remote_hosts”

-R [list of remote servers] Run the test in the specified remote servers

The script also lets you specify the optional firewall/proxy server information:

-H [proxy server hostname or ip address]
-P [proxy server port]

Example : jmeter -n -t my_test.jmx -l log.jtl -H my.proxy.server -P 8000

wordpress plugin rss feed widget

We collected unique RSS feed wordpress plugins which will increase your wordpress website visitors incredibly. Here list of wordpress plugin rss feed widget

Category Specific RSS feed Subscription

This WordPress Plugin allows you to present a menu with multiple RSS feed subscription option to your site’s visitors in addition to your normal RSS subscription option.

wordpress plugin rss feed widget

wordpress plugin rss feed widget
wordpress plugin rss feed widget

If your site covers multiple topics then your subscribed readers may get annoyed when you update your site with content that they are not interested in and they get a notification in their RSS reader.

I found that most of the time I never subscribe to a site’s RSS feed when it doesn’t have the topic/category specific subscription option, specially when the site covers multiple topics cause I don’t like to be hammered with all the unwanted content updates.

This plugin allows you to configure up to 8 different topic specific RSS feeds.

http://wordpress.org/extend/plugins/category-specific-rss-feed-menu/

WWSGD Plugin

This plugin which uses name of one of the top web celebrity Seth Godin, allows you to display a subscription reminder message above or below blog post.

You can control position & content of message. Also you can customize if message is to be displayed always for only or few initial page views.

What Would Seth Godin Do

Vertically scroll rss feed

his plug-in will scroll the RSS feed title vertically in site sidebar, admin can add/update the RSS link & style via widget management. Internet connection is required to load third party RSS.

  1. Easy installation.
  2. Widgets, so you can add pretty much anything.
  3. Easy style-override system.

Click on the configure button (small down triangle) for the ‘Scroll RSS Feed’ widget and here you can customize all the Scroll RSS Feed front end styles.

http://wordpress.org/extend/plugins/vertically-scroll-rss-feed/

Show RSS Feeds

Displays RSS feed in templates

http://wordpress.org/extend/plugins/show-rss/

Feed Widget Plugin

This plugin will add a WordPress widget, which will display links to various relevant feeds for your WordPress blog. It will always at least display links to the two standard feeds: All Entries and All Comments. It will also display links to category feeds, post feeds or search feeds, depending on the current page being viewed.

I used this long time back. But now this blog have three top level feeds, so I guess using this plugin here will result in too many options. I will definitely add this plugin to my orkutfeeds blog.

Feed Widget Plugin

JP’s Get RSS Feed

This plugin uses WordPress’ ability to return feeds, to get the last X number of items from a given RSS feed. Display the last few items from any RSS feed of your choice. For example, your Twitter feed, or another blog or forum that outputs a RSS feed. Any RSS feed can be grabbed. Call it in your footer to list your last few tweets, and your sidebar to showcase content from another one of your blogs.

Uses fetch_feed, which was introduced in WordPress 2.8. Works and tested in WordPress 2.9.

http://wordpress.org/extend/plugins/jps-get-rss-feed/

URL Absolutifier WordPress Plugin

URL Absolutifier changes all relative URLs in posts to absolute URL, to make the entries work in feed readers that don’t work with relative URLs.

I used a relative URL trick for higher earnings from AdSense product referrals long time back. If you are not sure about your usage of relative URLs then I will strongly recommend you should activate this plugin and then just forget it. I really feel this should be default behavior of wordpress.

URL Absolutifier WordPress Plugin

Full Text Feeds

There was a bug in wordpress which used to cut your feeds in the middle of the post. This behavior used to annoy blogger who like to publish full text feeds.

I am not sure if this bug is fixed in latest version of wordpress as I have modified wordpress core feed files completely when applying firefox full feed hack.

Anyway, if you see partial feeds even after choosing option to display full feeds, you can use this plugin to overcome wordpress bug.

Full Text Feed Plugin

RSS FEED anywhere

You only have to place the swf-file on a server (free-hosting..) and edit the embed-Tag. Finished! With the proxy-feature, you are allowed, to feed your RSS-Stream from anywhere. (Myspace etc.)

You also can get your RSS-Feed from free hosts wordpress.com blogs. (without upload or edit the template files or stuff like that.) You dont have to place a crossdomain.xml (thats useful, because in some cases thats not possible: if you dont have enough permissions.. etc) on your Server! (you can, if you want to disable the proxy-function. But you dont have to! 🙂 )

http://wordpress.org/extend/plugins/rss-feed-anywhere/

FeedBurner FeedSmith Plugin

If you use FeedBurner and love its subscriber count chicklet, then this plugin is must for you.

WordPress have lots of feed formats and most probably you had burnt only one of them with FeedBurner. Now if a user access your wordpress feeds via other URLs then their subscription will not be counted towards FeedBurner count.

This plugin will take care of this. You just give it your FeedBurner URLs and it will redirect all wordpress custom feed requests to your FeedBurner feed.

Originally developed by Steve Smith, this plugin is now officially maintained by FeedBurner.

FeedBurner FeedSmith Plugin

Feed Footer Plugin

This plugin allow you to customize footer text of each post in feed completely. I use this to show referral ads in my feeds. Please do not try AdSense or any JavaScript code in Feed Footer. It will not work as feed readers ignores JavaScript.

This plugin is really basic, but I don’t mind taking some efforts for some extra bucks.

Feed Footer Plugin

RSS Footer

This is very simple plugin. It allows you to insert any message including HTML code into the feeds. You can also choose if added message is to be displayed at top or bottom of the post.

You can use this plugin for advertising instead of above Feed footer plugin. Main difference is, RSS Footer adds same footer at the end of every post, while above Feed footer allows you to add different footer for each post.

One plus point with RSS footer is, it allows addition of link back to your original post, which is good SEO as explained by Daniel Scocco.

RSS Footer Plugin

Similar Posts for Feeds Plugin

Many time, by giving full text feeds, blogger feel they are loosing page-views as a reader may never check their blog.

I use backlinking to my old posts whenever possible to bring readers back to the blog. But often such links go unnoticed or you may not find old post to link back if you are writing on a new topic.

Then its always good idea to display few related posts at the bottom which often attracts clicks. Of course too many links may annoy your reader. So do not show something like 20 related post!