Auto Key press fill forms through simulating key presses | Linux.com

2010-07-31 2 min read Bash Linux

This script can be used to repeatedly press <a class="zem_slink" title="Electronic keyboard" rel="wikipedia" href="http://en.wikipedia.org/wiki/Electronic_keyboard">keys on the <a class="zem_slink" title="Keyboard (computing)" rel="wikipedia" href="http://en.wikipedia.org/wiki/Keyboard_%28computing%29">keyboard, it was used to fill out 100 odd entries on a <a class="zem_slink" title="Web page" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_page">web page while testing without having to physically enter the data.

Save the code below some where like <a class="zem_slink" title="Filesystem Hierarchy Standard" rel="wikipedia" href="http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard">/usr/bin/ with what ever file name you like, set the file to be <a class="zem_slink" title="Executable" rel="wikipedia" href="http://en.wikipedia.org/wiki/Executable">executable with <a class="zem_slink" title="Chmod" rel="wikipedia" href="http://en.wikipedia.org/wiki/Chmod">chmod +x /usr/bin/keyrepeat

Continue reading

Adding a sub-menu in the wordpress admin menu :)

2010-07-29 2 min read Wordpress

For the impatient ones, first the code:
(in wp-admin folder, open the file menu.php) and locate the code:

$submenu[&#8217;edit.php&#8217;][10]  = array( _x(&#8217;Add New&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;post-new.php&#8217; );

and add the below:

$submenu[&#8217;edit.php&#8217;][7]  = array( _x(&#8217;Pending&#8217;, &#8217;post&#8217;), &#8217;edit_posts&#8217;, &#8217;edit.php?post_status=pending&post_type=post&#8217; );

And now the explanation and why do you need this 🙂

Problem:

There is no direct mechanism to access the pending posts in WP admin. I generally post through email and mark them as pending. So, whenever I go to my admin POSTs page, I will look through the list of pending items and post them as and when required. For this, when I am done with changes in one item, I need to either modify the address bar or need to go to posts link and then click the Pending items.

Continue reading

Find who is using my network – top for network utilization

2010-07-27 1 min read Fedora Linux

Ok here is something that I have been looking for something.  Now that I have conky installed, so I can see the bandwidth usage on my desktop but was wondering for sometimes, where actually so much is being used. So did some quick search to see if I can get that info and did not have to go too far 🙂

There is s  utility called iftop in the Fedora repo and at the <a href="http://www.ex-parrot.com/~pdw/iftop/" target="_blank">URL. Oh and how to use it, just type sudo iftop or if you have multiple network interface then you can do &#8221;iftop -f &#8221;. Thats pretty simple and cool.

Continue reading

Over 50 Free, Must-Have Open Source Resources

2010-07-27 0 min read Linux
\"no
Image via Wikipedia

OStatic: &#8221;n this post, you&#8217;ll find an updated set of more than 45 collections and resources. Hopefully, you&#8217;ll find something to learn from here, and the good news is that everything found in this post is free.&#8221;

<a class="zem_slink freebase/guid/9202a8c04000641f800000000003f3a0" title="Uniform Resource Locator" rel="wikipedia" href="http://en.wikipedia.org/wiki/Uniform_Resource_Locator">URL: <a href="http://linuxtoday.com/news_story.php3?ltsn=2009-11-23-003-35-RV-SW">http://linuxtoday.com/news_story.php3?ltsn=2009-11-23-003-35-RV-SW<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://technology.johnsamuel.in/main/index.php/2009/10/25/bit-ly-more-than-just-a-url-shortener/">bit.ly: More than just a URL shortener (technology.johnsamuel.in) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/01000062-d486-42d2-bd70-1cb729684b22/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b18.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

PuTTY alternatives - AlternativeTo.net

2010-07-27 1 min read Uncategorized

I like PuTTY quite a bit but do not like the fact that it does not have any tab feature. So, if I am working on multiple machines then un-necessarily I will have too many windows open cluttering my desktop. So, here is the result of my quest to find the alternative:
<a href="http://alternativeto.net/desktop/putty/">http://alternativeto.net/desktop/putty/<h6 class="zemanta-related-title" style="font-size: 1em;">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/06/05/putty-ssh-without-password/">PuTTY ssh without password (amit-agarwal.co.in) <li class="zemanta-article-ul-li"><a href="http://www.downloadsquad.com/2010/05/18/kitty-is-win32-native-putty/?zemanta-tracking">KiTTY is Win32-native PuTTY (downloadsquad.com) <li class="zemanta-article-ul-li"><a href="http://lifehacker.com/5541871/kitty-adds-session-saving-portability-and-more-to-putty">KiTTY Adds Session Saving, Portability, and More to PuTTY [Downloads] (lifehacker.com) <li class="zemanta-article-ul-li"><a href="http://blog.amit-agarwal.co.in/2010/04/11/putty-export-client-display-on-login-for-opening-x-application-and-terminal/">PuTTY export client display on login for opening X application and terminal. (amit-agarwal.co.in) <div class="zemanta-pixie" style="margin-top: 10px; height: 15px;"><a class="zemanta-pixie-a" title="Enhanced by Zemanta" href="http://www.zemanta.com/"><img class="zemanta-pixie-img" style="border: medium none; float: right;" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e3.png" alt="Enhanced by Zemanta" /><span class="zem-script more-related pretty-attribution">

Continue reading

importing outlook pst files in evolution in Fedora 13 ( Goddard)

2010-07-25 1 min read Fedora Linux

If you were using outlook and moved to some other <a class="zem_slink freebase/en/e-mail_client" title="Email client" rel="wikipedia" href="http://en.wikipedia.org/wiki/Email_client">mail client then you know the pain of moving the mails from outlook mail from outlook to any other client.

If you are using evolution on <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora, then you are in luck. Just install the plug-in and select the file to import as simple as that.

sudo yum install evolution-pst

Continue reading
Older posts Newer posts