get systemd journal entries on web interface.

2013-12-12 1 min read Fedora

Just in case you need it, you can get the journalctl entries from systemd in the web page.

First install :

yum install systemd-journal-gateway

Once you have done this you can get the journal entries with wget as well with

wget http://localhost:19531/entries

or if you prefer, you can browse with a browser at http://localhost:19531/. It has a nice little interface for browsing the entries, nothing too fancy but just sufficient.

Continue reading

quick notepad in firefox.

2013-05-20 1 min read Firefox

If you quickly need to note something and you do not want to leave your browser then just add a bookmark to :

data:text/html, <html contenteditable>

and whenever you need to get the notepad, just open this bookmark. Sorry, I do not remember, where I got this from, but this is something that I did not discover but since I do not remember where I got this from, I am not able to credit the authour.

Continue reading

Script to get yourself some conkyrc files

2011-10-08 1 min read Fedora Learning Linux

Continuing from where we left, here is a script that can do all this for you 🙂

curl http://ubuntuforums.org/showthread.php?t=281865\&page=$i | sed -n '/\\/pr/ p'| sed '// d'| sed 's##\n-----------------------------------\n\n\n#' >conkyrc
	dos2unix conkyrc
	cp conkyrc .test
	while [ $(wc -l .test|sed 's/[^0-9]//g') != 0 ]
	do
		sed -n '1,/------------------------/ p' .test|sed '$d' >conkyrc.$count
		diff .test conkyrc.$count |sed 's/^<.//'|sed '1, /---------------------/ d;2d'>.test
		((count++))
	done

This will create couple of conkyrc.files in the current directory. Each of these is one from the web-page that I mentioned earlier. So, enjoy….

Continue reading

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

check out http://browsershots.org/

2009-12-19 1 min read Learning Uncategorized

If you are a web developer and are worried about how your <a class="zem_slink" href="http://en.wikipedia.org/wiki/Website" title="Website" rel="wikipedia">website would look like in the various browsers and do not have the resources to test all the browsers, what do you do? Check out the <a class="zem_slink" href="http://en.wikipedia.org/wiki/Web_page" title="Web page" rel="wikipedia">webpage at

<a href="http://browsershots.org/">http://browsershots.org/<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.macstories.net/iphone/website-iphone/">Setting Up Your Website to Run on iPhone Browser (macstories.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" href="http://reblog.zemanta.com/zemified/8d5363f4-7641-40c8-b111-4a4d12d41ba5/" title="Reblog this post [with Zemanta]"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_e36.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading