Craeating a sequence in OpenOffice.org calc.

2010-05-06 1 min read Linux
Creating a numberd list in the calc with alphabets can be really tiresome sometimes. I found a simple solution to this. Create the numbered list in vim and then paste it into Openoffice.org calc. Here’s how I do it: Open vim type the first in sequence (ex Amit_aga_001) Follow the below sequence to create a macro: Esc [Atl]+q+(any alphabet say ’a’) — this will start recording the macro yy – yank the current line Continue reading

Solved -- Errors with afraid-dyndns in Goddard (Fedora 13)

2010-05-06 2 min read Fedora Learning Linux
Since I updated to the <a class="zem_slink freebase/en/fedora" title="Fedora" rel="homepage" href="http://fedoraproject.org/">Fedora 13, I was getting error from the <a class="zem_slink freebase/en/dynamic_dns" title="Dynamic DNS" rel="wikipedia" href="http://en.wikipedia.org/wiki/Dynamic_DNS">Dynamic DNS client for afraid. I was not getting enough time to fix this, so finally I decided to fix this in the night itself 🙂 Problem: On running afraid-dyndns I was getting the error: Entity: line 100: <a class="zem_slink freebase/en/parsing" title="Parsing" rel="wikipedia" href="http://en.wikipedia.org/wiki/Parsing">parser error : Opening and ending tag mismatch: br line 99 and div Continue reading

xterm – select font name and size from command line and set it as default

2010-05-05 2 min read Fedora Linux
I have been very busy last week and specially yesterday with 20 hours of continueous work, but managed to get this working :). When you right click on Xterm with Ctrl pressed, there pops up a menu for selecting the size of the font. I have always wondered how to set this as default font and/or use this from the command line. So I searched my old homedir and looked for few of the docs that I had to get the information. Continue reading

Find out why a program can't seem to access to a file

2010-05-05 2 min read Fedora Linux
$ strace php tias.php -e open,access 2>&1 | <a class="zem_slink freebase/en/grep" href="http://en.wikipedia.org/wiki/Grep" title="Grep" rel="wikipedia">grep foo.txt Sometimes a program refuses to read a file and you&#8217;re not sure why. You may have display_errors turned off for <a class="zem_slink freebase/en/php" href="http://www.php.net/" title="PHP" rel="homepage">PHP or something. In this example, fopen(&#8217;/var/www/test/foo.txt&#8217;) was called but doesn&#8217;t have read access to foo.txt. Strace can tell you what went wrong. E.g., if php doesn&#8217;t have read access to the file, strace will say &#8221;EACCESS (Permission denied)&#8221;. Continue reading

captcha\’s implemented finally.

2010-04-30 1 min read Linux
For last couple of time I had tried to set the captcha to avoid spam. Getting nearly 2-3 spam now everyday and is on the increasing side, so finally I worked out to put the spam control meaasure – captcha&#8217;s. With the captcha&#8217;s in place, I have removed the moderation on the comments, but still reserver the right to remove a comment without any reason. If you find any issues with the captcha let me know at wordpress@amit-agarwal. Continue reading

AndreaMosiac.. The way to create a mosaic.

2010-04-30 1 min read Linux
<a href="http://www.andreaplanet.com/andreamosaic/download/" target="_blank">Download from here, AndreaMosaic. It us cinoketekt free for personal use and does just what the name says, creates mosaic. I tried this on Linux and was flawless with wine. Good show 🙂 Here&#8217;s how to use it: Start AndreaMosaic <img class="size-full wp-image-657" title="andreamosaic" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/screenshot-andreamosaic2.jpg" alt="andreamosaic" width="585" height="477" /><div class="zemanta-pixie">and select your base file by clicking on the &#8221;+&#8221;:<img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/pixy.gif" alt="" /> <div class="zemanta-pixie"> <img class="size-full wp-image-658" title="andreamosaic" src="http://blog. Continue reading
Older posts Newer posts