<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Html on Amit Agarwal Linux Blog</title>
    <link>/tags/html/</link>
    <description>Recent content in Html on Amit Agarwal Linux Blog</description>
    <generator>Hugo -- gohugo.io</generator>
    <language>en</language>
    <lastBuildDate>Mon, 03 Jul 2017 01:19:50 +0000</lastBuildDate>
    
	<atom:link href="/tags/html/index.xml" rel="self" type="application/rss+xml" />
    
    
    <item>
      <title>Eight CSS Tips for Advanced Layouts and Effects</title>
      <link>/2017/07/03/css-tips-advanced-layouts-effects/</link>
      <pubDate>Mon, 03 Jul 2017 01:19:50 +0000</pubDate>
      
      <guid>/2017/07/03/css-tips-advanced-layouts-effects/</guid>
      <description>&lt;p&gt;The realm of web front-end &lt;a class=&#34;zem_slink&#34; title=&#34;Glossary of chess&#34; href=&#34;http://en.wikipedia.org/wiki/Glossary_of_chess&#34; target=&#34;_blank&#34; rel=&#34;wikipedia noopener&#34;&gt;development&lt;/a&gt; has made considerable progress over the last few years. However, the web front-end, as the users see it, is still the same: &lt;a class=&#34;zem_slink&#34; title=&#34;HTML element&#34; href=&#34;http://en.wikipedia.org/wiki/HTML_element&#34; target=&#34;_blank&#34; rel=&#34;wikipedia noopener&#34;&gt;HTML markup&lt;/a&gt; styled with CSS.&lt;/p&gt;
&lt;p&gt;Many layout problems can seem simple at first but often proves to be tricky. Without extensive knowledge of how certain CSS features work, these advanced layouts can seem impossible to achieve with CSS alone.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>rfc2html – php script to view rfc with index and links.</title>
      <link>/2014/07/21/rfc2html-php-script-view-rfc-index-links/</link>
      <pubDate>Mon, 21 Jul 2014 01:26:32 +0000</pubDate>
      
      <guid>/2014/07/21/rfc2html-php-script-view-rfc-index-links/</guid>
      <description>&lt;p&gt;If you have to keep viewing RFC’s and you miss index and links in RFC while viewing rfc, then you should check-out rfc2html. It is scrtip that takes plain text rfc and converts it to html.&lt;/p&gt;
&lt;p&gt;You can get the original code from &lt;a href=&#34;https://sourceforge.net/projects/rfc2html-php/&#34;&gt;sourceforge&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;However, I found some small issues with the script and have sent a mail to the authour about the same. In the meantime, you can use the diff below to fix the issue’s or download this diff file &lt;a href=&#34;http://blog.amit-agarwal.co.in/wp-content/uploads/2014/07/rfc2html.diff_.gz&#34;&gt;rfc2html.diff&lt;/a&gt; and apply the diff:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>get the contents of whole site like some wiki or wikia</title>
      <link>/2014/02/24/contents-site-wiki-wikia/</link>
      <pubDate>Mon, 24 Feb 2014 01:08:14 +0000</pubDate>
      
      <guid>/2014/02/24/contents-site-wiki-wikia/</guid>
      <description>&lt;p&gt;For &lt;a class=&#34;zem_slink&#34; title=&#34;Wiki&#34; href=&#34;http://en.wikipedia.org/wiki/Wiki&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;wikis&lt;/a&gt; and wikia, generally if you are trying to get some url mirror, then websucker.py is an excellent option. This script is in the python sources so, to get this tool,&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;yumdownloader --source python&lt;/pre&gt;
&lt;p&gt;Install the rpm downloaded in &lt;a class=&#34;zem_slink&#34; title=&#34;Working directory&#34; href=&#34;http://en.wikipedia.org/wiki/Working_directory&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;current directory&lt;/a&gt; and then go to ~/rpmbuild/SOUURCES.  You should find a &lt;a class=&#34;zem_slink&#34; title=&#34;Python (programming language)&#34; href=&#34;http://www.python.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Python&lt;/a&gt;-*.tar.xz file here, just extract with&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;tar xvf Python*.tar.xz&lt;/pre&gt;
&lt;p&gt;and there you go, you should find the tool in &lt;strong&gt;Tools/webchecker/websucker.py.&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>get all the urls in html file (local or on server).</title>
      <link>/2014/02/17/urls-html-file-local-server/</link>
      <pubDate>Mon, 17 Feb 2014 10:35:53 +0000</pubDate>
      
      <guid>/2014/02/17/urls-html-file-local-server/</guid>
      <description>&lt;p&gt;To use this, you will need the &lt;a class=&#34;zem_slink&#34; title=&#34;Lynx&#34; href=&#34;http://en.wikipedia.org/wiki/Lynx&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;lynx&lt;/a&gt; tool, so install that first.&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install lynx&lt;/pre&gt;
&lt;p&gt;Now, to get list of all the &lt;a class=&#34;zem_slink&#34; title=&#34;Uniform resource locator&#34; href=&#34;http://en.wikipedia.org/wiki/Uniform_resource_locator&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;URLs&lt;/a&gt; in local html file or some URL, just execute this:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;lynx -dump -listonly&lt;/pre&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul zemanta-article-ul-image&#34; style=&#34;margin: 0; padding: 0; overflow: hidden;&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://stackoverflow.com/questions/20797087/trouble-in-using-file-get-contents&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i2.wp.com/i.zemanta.com/noimg_97_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://stackoverflow.com/questions/20797087/trouble-in-using-file-get-contents&#34; target=&#34;_blank&#34;&gt;Trouble in using file_get_contents()&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://stackoverflow.com/questions/21453767/how-to-send-image-to-server-with-url-in-ios&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/noimg_43_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://stackoverflow.com/questions/21453767/how-to-send-image-to-server-with-url-in-ios&#34; target=&#34;_blank&#34;&gt;How to send image to server with url in ios&lt;/a&gt;
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li-image zemanta-article-ul-li&#34; style=&#34;padding: 0; background: none; list-style: none; display: block; float: left; vertical-align: top; text-align: left; width: 84px; font-size: 11px; margin: 2px 10px 10px 2px;&#34;&gt;
    &lt;a style=&#34;box-shadow: 0px 0px 4px #999; padding: 2px; display: block; border-radius: 2px; text-decoration: none;&#34; href=&#34;http://christianheilmann.com/2014/01/05/endangered-species-of-the-web-the-link/&#34; target=&#34;_blank&#34;&gt;&lt;img style=&#34;padding: 0; margin: 0; border: 0; display: block; width: 80px; max-width: 100%;&#34; alt=&#34;&#34; src=&#34;https://i0.wp.com/i.zemanta.com/236173680_80_80.jpg?w=688&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;a style=&#34;display: block; overflow: hidden; text-decoration: none; line-height: 12pt; height: 80px; padding: 5px 2px 0 2px;&#34; href=&#34;http://christianheilmann.com/2014/01/05/endangered-species-of-the-web-the-link/&#34; target=&#34;_blank&#34;&gt;Endangered species of the Web: the Link&lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt; &lt;/p&gt;</description>
    </item>
    
    <item>
      <title>quick notepad in firefox.</title>
      <link>/2013/05/20/quick-notepad-firefox/</link>
      <pubDate>Mon, 20 May 2013 00:53:57 +0000</pubDate>
      
      <guid>/2013/05/20/quick-notepad-firefox/</guid>
      <description>&lt;p&gt;If you quickly need to note something and you do not want to leave your browser then just add a bookmark to :&lt;/p&gt;
&lt;pre class=&#34;brush: html; gutter: true; first-line: 1&#34;&gt;data:text/html, &amp;lt;html contenteditable&amp;gt;&lt;/pre&gt;
&lt;p&gt;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.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>viewvc – serve current directory in web interface.</title>
      <link>/2013/02/18/viewvc-serve-current-directory-web-interface/</link>
      <pubDate>Mon, 18 Feb 2013 00:35:01 +0000</pubDate>
      
      <guid>/2013/02/18/viewvc-serve-current-directory-web-interface/</guid>
      <description>&lt;p&gt;Here is the description of viewvc:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;ViewVC&#34; href=&#34;http://www.viewvc.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;ViewVC&lt;/a&gt; is a browser interface for &lt;a class=&#34;zem_slink&#34; title=&#34;Concurrent Versions System&#34; href=&#34;http://savannah.nongnu.org/projects/cvs&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;CVS&lt;/a&gt; and &lt;a class=&#34;zem_slink&#34; title=&#34;Apache Subversion&#34; href=&#34;http://subversion.apache.org/&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;Subversion&lt;/a&gt; &lt;a class=&#34;zem_slink&#34; title=&#34;Revision control&#34; href=&#34;http://en.wikipedia.org/wiki/Revision_control&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;version control&lt;/a&gt;&lt;br&gt;
repositories. It generates templatized &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;HTML&lt;/a&gt; to present navigable directory,&lt;br&gt;
revision, and change log listings. It can display specific versions of files&lt;br&gt;
as well as &lt;a class=&#34;zem_slink&#34; title=&#34;Diff&#34; href=&#34;http://en.wikipedia.org/wiki/Diff&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;diffs&lt;/a&gt; between those versions. Basically, ViewVC provides the bulk&lt;br&gt;
of the report-like functionality you expect out of your version control tool,&lt;br&gt;
but much more prettily than the average textual &lt;a class=&#34;zem_slink&#34; title=&#34;Command-line interface&#34; href=&#34;http://en.wikipedia.org/wiki/Command-line_interface&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;command-line program&lt;/a&gt; output.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Battery performance improvement with powertop and using xidel.</title>
      <link>/2012/12/24/battery-performance-improvement-powertop-xidel/</link>
      <pubDate>Mon, 24 Dec 2012 01:13:51 +0000</pubDate>
      
      <guid>/2012/12/24/battery-performance-improvement-powertop-xidel/</guid>
      <description>&lt;p&gt;For those of you, who have not heard about powertop, it is a tool to monitor the &lt;a class=&#34;zem_slink&#34; title=&#34;Electric energy consumption&#34; href=&#34;http://en.wikipedia.org/wiki/Electric_energy_consumption&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;power consumption&lt;/a&gt; on your system. It has a tab which shows the tuneable parameters. Doing the changes suggested in those would improve the life to quite an extent. Here is the description of powertop:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;PowerTOP&#34; href=&#34;http://www.lesswatts.org/projects/powertop&#34; target=&#34;_blank&#34; rel=&#34;homepage&#34;&gt;PowerTOP&lt;/a&gt; is a tool that finds the &lt;a class=&#34;zem_slink&#34; title=&#34;Component-based software engineering&#34; href=&#34;http://en.wikipedia.org/wiki/Component-based_software_engineering&#34; target=&#34;_blank&#34; rel=&#34;wikipedia&#34;&gt;software component&lt;/a&gt;(s) that makeyour computer use more power than necessary while it is idle.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>convert word document to html</title>
      <link>/2012/06/27/convert-word-document-html/</link>
      <pubDate>Wed, 27 Jun 2012 01:45:05 +0000</pubDate>
      
      <guid>/2012/06/27/convert-word-document-html/</guid>
      <description>&lt;p&gt;First install the required package:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install wv&lt;/pre&gt;
&lt;p&gt;Description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : Wv is a program that understands the &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Word&#34; href=&#34;http://office.microsoft.com/en-us/word/&#34; rel=&#34;homepage&#34; target=&#34;_blank&#34;&gt;Microsoft Word&lt;/a&gt; 6/7/8/9&lt;/dt&gt;
&lt;dd&gt;&lt;a class=&#34;zem_slink&#34; title=&#34;Binary file&#34; href=&#34;http://en.wikipedia.org/wiki/Binary_file&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;binary file format&lt;/a&gt; and is able to convert Word&lt;/dd&gt;
&lt;dd&gt;documents into &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;HTML&lt;/a&gt;, which can then be read with a browser.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;And here is the list of the programs that this utility provides:&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1; highlight: [6,12,13]&#34;&gt;/usr/bin/wvAbw
/usr/bin/wvCleanLatex
/usr/bin/wvConvert
/usr/bin/wvDVI
/usr/bin/wvDocBook
/usr/bin/wvHtml
/usr/bin/wvLatex
/usr/bin/wvMime
/usr/bin/wvPDF
/usr/bin/wvPS
/usr/bin/wvRTF
/usr/bin/wvSummary
/usr/bin/wvText
/usr/bin/wvVersion
/usr/bin/wvWare
/usr/bin/wvWml&lt;/pre&gt;
&lt;p&gt;So, if you want to convert a &lt;a class=&#34;zem_slink&#34; title=&#34;DOC (computing)&#34; href=&#34;http://en.wikipedia.org/wiki/DOC_%28computing%29&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;doc file&lt;/a&gt; to html just do:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>symlinks -delete all invalid soft links in Linux/Fedora</title>
      <link>/2012/06/12/symlinks-delete-invalid-soft-links-linuxfedora/</link>
      <pubDate>Tue, 12 Jun 2012 01:05:34 +0000</pubDate>
      
      <guid>/2012/06/12/symlinks-delete-invalid-soft-links-linuxfedora/</guid>
      <description>&lt;p&gt;First of all, install symlinks if it is not installed :&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;sudo yum install symlinks&lt;/pre&gt;
&lt;p&gt;and here is the description:&lt;/p&gt;
&lt;blockquote&gt;
&lt;dl&gt;
&lt;dt&gt;Description : The symlinks utility performs maintenance on &lt;a class=&#34;zem_slink&#34; title=&#34;Symbolic link&#34; href=&#34;http://en.wikipedia.org/wiki/Symbolic_link&#34; rel=&#34;wikipedia&#34; target=&#34;_blank&#34;&gt;symbolic links&lt;/a&gt;.&lt;/dt&gt;
&lt;dd&gt;Symlinks checks for symlink problems, including dangling symlinks&lt;/dd&gt;
&lt;dd&gt;which point to nonexistent files.  Symlinks can also automatically&lt;/dd&gt;
&lt;dd&gt;convert absolute symlinks to relative symlinks.&lt;/dd&gt;
&lt;dd&gt;&lt;/dd&gt;
&lt;dd&gt;Install the symlinks package if you need a program for maintaining&lt;/dd&gt;
&lt;dd&gt;symlinks on your system.&lt;/dd&gt;
&lt;/dl&gt;
&lt;/blockquote&gt;
&lt;p&gt;and the help for the same:&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>using `!#$’ to referance backward-word</title>
      <link>/2011/11/03/referance-backward-word/</link>
      <pubDate>Thu, 03 Nov 2011 07:20:20 +0000</pubDate>
      
      <guid>/2011/11/03/referance-backward-word/</guid>
      <description>&lt;div class=&#34;zemanta-img&#34; style=&#34;margin: 1em; display: block;&#34;&gt;
  &lt;p&gt;
    &lt;figure style=&#34;width: 240px&#34; class=&#34;wp-caption alignright&#34;&gt;&lt;a href=&#34;http://www.flickr.com/photos/8945974@N08/5507068816&#34;&gt;&lt;img class=&#34;zemanta-img-configured&#34; title=&#34;Operating System Tablet Strategy&#34; src=&#34;https://i1.wp.com/blog.amit-agarwal.co.in/wp-content/uploads/zemanta//5507068816_ded55139d2_m.jpg?resize=240%2C124&#34; alt=&#34;Operating System Tablet Strategy&#34; width=&#34;240&#34; height=&#34;124&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;figcaption class=&#34;wp-caption-text&#34;&gt;Image by jeffalldridge via Flickr&lt;/figcaption&gt;&lt;/figure&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;Here is something that I found on the &lt;a href=&#34;http://www.commandlinefu.com/commands/view/9327/using-to-referance-backward-word&#34; target=&#34;_blank&#34;&gt;commandlinefu&lt;/a&gt;&lt;/p&gt;
&lt;pre class=&#34;brush: bash; gutter: true; first-line: 1&#34;&gt;cp /work/host/phone/ui/main.cpp !#$:s/host/target&lt;/pre&gt;
&lt;p&gt;Ah well…its very interesting and very useful.&lt;/p&gt;
&lt;p&gt;Some explanation:&lt;/p&gt;
&lt;p&gt;!# – means the current command (similar to !! being the last command)&lt;/p&gt;
&lt;p&gt;$ – represents the last parameter&lt;/p&gt;
&lt;p&gt;:s – is used for substitution.&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.makeuseof.com/tag/commandlinefu-amazing-collection-command-line-gems-linux-mac/&#34;&gt;CommandLineFu: Amazing Collection Of Command Line Gems [Linux &amp; Mac]&lt;/a&gt; (&lt;a class=&#34;zem_slink&#34; title=&#34;MakeUseOf&#34; href=&#34;http://www.makeuseof.com/dir/&#34; rel=&#34;homepage&#34;&gt;makeuseof.com&lt;/a&gt;)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://ftalphaville.ft.com/blog/2011/10/28/715136/oh-the-iron-y/&#34;&gt;Oh, the Iron-y&lt;/a&gt; (ftalphaville.ft.com)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>bash math</title>
      <link>/2011/01/30/bash-math/</link>
      <pubDate>Sat, 29 Jan 2011 22:42:26 +0000</pubDate>
      
      <guid>/2011/01/30/bash-math/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;some quick links :&lt;/p&gt;
&lt;p&gt;&lt;a rel=&#34;no-follow&#34; href=&#34;http://mainstreetanswers.org/bash/math.php&#34;&gt;&lt;a href=&#34;http://mainstreetanswers.org/bash/math.php&#34;&gt;http://mainstreetanswers.org/bash/math.php&lt;/a&gt;&lt;/a&gt;&lt;br&gt;
&lt;a rel=&#34;no-follow&#34; href=&#34;http://www.faqs.org/docs/abs/HTML/mathc.html&#34;&gt;&lt;a href=&#34;http://www.faqs.org/docs/abs/HTML/mathc.html&#34;&gt;http://www.faqs.org/docs/abs/HTML/mathc.html&lt;/a&gt;&lt;/a&gt;&lt;br&gt;
&lt;a rel=&#34;no-follow&#34; href=&#34;http://tldp.org/LDP/abs/html/mathc.html&#34;&gt;&lt;a href=&#34;http://tldp.org/LDP/abs/html/mathc.html&#34;&gt;http://tldp.org/LDP/abs/html/mathc.html&lt;/a&gt; &lt;/a&gt;&lt;/p&gt;
&lt;h6 class=&#34;zemanta-related-title&#34; style=&#34;font-size: 1em;&#34;&gt;
  Related articles
&lt;/h6&gt;
&lt;ul class=&#34;zemanta-article-ul&#34;&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://www.readwriteweb.com/hack/2010/10/w3c-announces-mathml-3-new-sta.php&#34;&gt;W3C Announces MathML 3, New Standards for Math on the Web&lt;/a&gt; (readwriteweb.com)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/01/20/find-missing-paths-path-variable-bash-script/&#34;&gt;Find all the missing paths in the PATH variable in bash script&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://greenbananablog.org/2011/01/nice-site-for-math-related-games-and-resources/&#34;&gt;Nice site for Math related games and resources&amp;#8230;&lt;/a&gt; (greenbananablog.org)
  &lt;/li&gt;
  &lt;li class=&#34;zemanta-article-ul-li&#34;&gt;
    &lt;a href=&#34;http://blog.amit-agarwal.co.in/2011/01/15/bash-40-feature-mapfile/&#34;&gt;bash 4.0 &amp;#8211; new feature mapfile&lt;/a&gt; (amit-agarwal.co.in)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Building a Finite State Machine Using DFA::Simple</title>
      <link>/2010/12/15/building-a-finite-state-machine-using-dfasimple/</link>
      <pubDate>Wed, 15 Dec 2010 14:37:44 +0000</pubDate>
      
      <guid>/2010/12/15/building-a-finite-state-machine-using-dfasimple/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&lt;a href=&#34;http://www.perl.com/pub/2004/09/23/fsms.html&#34;&gt;http://www.perl.com/pub/2004/09/23/fsms.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Building a &lt;a class=&#34;zem_slink&#34; title=&#34;Finite-state machine&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Finite-state_machine&#34;&gt;Finite State Machine&lt;/a&gt; Using DFA::Simple By Bill Ruppert on September 23, 2004 12:00 AM I am converting some articles from &lt;a class=&#34;zem_slink&#34; title=&#34;Microsoft Word&#34; rel=&#34;homepage&#34; href=&#34;http://office.microsoft.com/en-us/word/&#34;&gt;MS Word&lt;/a&gt; to &lt;a class=&#34;zem_slink&#34; title=&#34;HTML&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/HTML&#34;&gt;HTML&lt;/a&gt; by hand. I often use bulleted outlines so I face a lot of work creating lists with nested sub-lists. It didn’t take opening and closing many&lt;/p&gt;
&lt;p&gt;and&lt;/p&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;tags to realize I wanted to automate the task.
It’s very easy to use filters with my text editor and I’ve written several in &lt;a class=&#34;zem_slink&#34; title=&#34;Perl&#34; rel=&#34;homepage&#34; href=&#34;http://www.perl.org/&#34;&gt;Perl&lt;/a&gt; to speed up my HTML formatting. I decided to create a filter to handle this annoying chore. After a little thought I decided the logic involved was just tricky enough to use a finite state machine (FSM) to keep things straight.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>[Solved] Abbreviations not working in vim</title>
      <link>/2010/10/02/solved-abbreviations-working-vim/</link>
      <pubDate>Sat, 02 Oct 2010 15:17:39 +0000</pubDate>
      
      <guid>/2010/10/02/solved-abbreviations-working-vim/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Today I found that abbreviations are not working in vim in my current login. I searched log of blog’s and sill did not find any solution so I decided to take the matters in my hand.&lt;/p&gt;
&lt;p&gt;To start with I &lt;a class=&#34;zem_slink&#34; title=&#34;Disability&#34; rel=&#34;wikipedia&#34; href=&#34;http://en.wikipedia.org/wiki/Disability&#34;&gt;disabled&lt;/a&gt; all the plugin’s by moving my &lt;a class=&#34;zem_slink&#34; title=&#34;WordPress Plugin Directory&#34; rel=&#34;homepage&#34; href=&#34;http://wordpress.org/extend/plugins/&#34;&gt;plugin directory&lt;/a&gt;. This did not help me solve the issue, so the only other option left was to now disable the vimrc file completely. Once I removed the vimrc file, the abbreviations started working.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>cURL – Tutorial</title>
      <link>/2010/09/15/curl-tutorial/</link>
      <pubDate>Wed, 15 Sep 2010 07:22:57 +0000</pubDate>
      
      <guid>/2010/09/15/curl-tutorial/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;Here are linkw to two nice tutorials on curl and how to use curl to login before we try to fetch a page. Hope you find them useful.&lt;br&gt;
&lt;a href=&#34;%5C&#34;&gt;http://curl.haxx.se/docs/httpscripting.html&lt;/a&gt; &lt;a href=&#34;%5C&#34;&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;http://www.youtube.com/watch?v=XcgQUsorF_8&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href=&#34;%5C&#34;&gt;http://scriptasy.com/php_11/tutorial-curl-login_44.html&lt;/a&gt;&lt;/p&gt;
&lt;h6 id=&#34;related-articles-by-zemanta-zemanta-related-title&#34;&gt;Related articles by Zemanta {.&amp;quot;zemanta-related-title&amp;quot;}&lt;/h6&gt;
&lt;ul class=&#34;\&amp;quot;zemanta-article-ul\&amp;quot;&#34;&gt;
  &lt;li class=&#34;\&amp;quot;zemanta-article-ul-li\&amp;quot;&#34;&gt;
    &lt;a href=&#34;\&#34;&gt;How To Display Just The HTTP Response Code In CLI Curl&lt;/a&gt; (beerpla.net)
  &lt;/li&gt;
&lt;/ul&gt;
&lt;div class=&#34;zemanta-pixie&#34; style=&#34;margin-top: 10px; height: 15px;&#34;&gt;
  &lt;a class=&#34;zemanta-pixie-a&#34; title=&#34;Enhanced by Zemanta&#34; href=&#34;http://www.zemanta.com/&#34;&gt;&lt;img class=&#34;zemanta-pixie-img&#34; style=&#34;border: medium none; float: right;&#34; src=&#34;https://i1.wp.com/img.zemanta.com/zemified_e.png?w=688&#34; alt=&#34;Enhanced by Zemanta&#34; data-recalc-dims=&#34;1&#34; /&gt;&lt;/a&gt;&lt;span class=&#34;zem-script more-related pretty-attribution&#34;&gt;&lt;/span&gt;
&lt;/div&gt;</description>
    </item>
    
    <item>
      <title>Auto Key press fill forms through simulating key presses | Linux.com</title>
      <link>/2010/07/31/auto-key-press-fill-forms-simulating-key-presses-linuxcom/</link>
      <pubDate>Sat, 31 Jul 2010 03:16:33 +0000</pubDate>
      
      <guid>/2010/07/31/auto-key-press-fill-forms-simulating-key-presses-linuxcom/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;This script can be used to repeatedly press &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Electronic keyboard&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Electronic_keyboard&amp;quot;&amp;gt;keys&lt;/a&gt; on the &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Keyboard (computing)&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Keyboard_%28computing%29&amp;quot;&amp;gt;keyboard&lt;/a&gt;, it was used to fill out 100 odd entries on a &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Web page&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Web_page&amp;quot;&amp;gt;web page&lt;/a&gt; while testing without having to physically enter the data.&lt;/p&gt;
&lt;p&gt;Save the code below some where like &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Filesystem Hierarchy Standard&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard&amp;quot;&amp;gt;/usr/bin&lt;/a&gt;/ with what ever file name you like, set the file to be &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Executable&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Executable&amp;quot;&amp;gt;executable&lt;/a&gt; with &amp;lt;a class=&amp;quot;zem_slink&amp;quot; title=&amp;quot;Chmod&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Chmod&amp;quot;&amp;gt;chmod&lt;/a&gt; +x /usr/bin/keyrepeat&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Linux command to repeat a string n times - Super User</title>
      <link>/2010/07/20/linux-command-to-repeat-a-string-n-times-super-user/</link>
      <pubDate>Tue, 20 Jul 2010 03:47:09 +0000</pubDate>
      
      <guid>/2010/07/20/linux-command-to-repeat-a-string-n-times-super-user/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;I was working on something and needed to output the string n times. I have required this even to print a line with &amp;amp;#8217;-&amp;amp;#8217; or &amp;amp;#8217;=&amp;amp;#8217; but this time I badly wanted it in bash. So I searched google and found this:&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;printf &amp;amp;#8221;Amit Agarwal%.0s&amp;amp;#8221; {1..5}&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Explanations and other examples: &amp;lt;a href=&amp;quot;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&amp;quot;&amp;gt;http://superuser.com/questions/86340/linux-command-to-repeat-a-string-n-times&lt;/a&gt;&amp;lt;h6 class=&amp;quot;zemanta-related-title&amp;quot; style=&amp;quot;font-size: 1em;&amp;quot;&amp;gt;Related articles by Zemanta&lt;/h6&gt; &amp;lt;ul class=&amp;quot;zemanta-article-ul&amp;quot;&amp;gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.rateitall.com/i-3177235-flat-rate-us-terminations.aspx&amp;quot;&amp;gt;1 reviews of Flat-Rate US Terminations&lt;/a&gt; (rateitall.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.brighthub.com/computing/linux/articles/75743.aspx&amp;quot;&amp;gt;Top Linux GUI&lt;/a&gt; (brighthub.com)&lt;/li&gt; &amp;lt;li class=&amp;quot;zemanta-article-ul-li&amp;quot;&amp;gt;&amp;lt;a href=&amp;quot;http://www.gnu.org/software/emacs/tour/&amp;quot;&amp;gt;A guided tour of Emacs&lt;/a&gt; (gnu.org)&lt;/li&gt; &lt;/ul&gt; &amp;lt;div class=&amp;quot;zemanta-pixie&amp;quot; style=&amp;quot;margin-top: 10px; height: 15px;&amp;quot;&amp;gt;&amp;lt;a class=&amp;quot;zemanta-pixie-a&amp;quot; title=&amp;quot;Enhanced by Zemanta&amp;quot; href=&amp;quot;http://www.zemanta.com/&amp;quot;&amp;gt;&amp;lt;img class=&amp;quot;zemanta-pixie-img&amp;quot; style=&amp;quot;border: medium none; float: right;&amp;quot; src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/zemified_e6.png&amp;quot; alt=&amp;quot;Enhanced by Zemanta&amp;quot; /&amp;gt;&lt;/a&gt;&amp;lt;span class=&amp;quot;zem-script more-related pretty-attribution&amp;quot;&amp;gt;&lt;/span&gt;&lt;/div&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Mirror or download a website with a tool much better than wget</title>
      <link>/2010/05/19/mirror-download-website-tool-wget/</link>
      <pubDate>Wed, 19 May 2010 16:38:39 +0000</pubDate>
      
      <guid>/2010/05/19/mirror-download-website-tool-wget/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;If you want to mirror a &amp;lt;a class=&amp;quot;zem_slink freebase/en/website&amp;quot; title=&amp;quot;Website&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Website&amp;quot;&amp;gt;website&lt;/a&gt;, the simplest tool I know if is &amp;lt;a class=&amp;quot;zem_slink freebase/en/wget&amp;quot; title=&amp;quot;Wget&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.gnu.org/software/wget/&amp;quot;&amp;gt;wget&lt;/a&gt;. Once you have used wget, you know the troubles associated with it. You also get added couple of files as search html files, which are useless and wastage of bandwidth for you as well as the &amp;lt;a class=&amp;quot;zem_slink freebase/en/web_server&amp;quot; title=&amp;quot;Web server&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Web_server&amp;quot;&amp;gt;webserver&lt;/a&gt;.&lt;/p&gt;
&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;lftp -e &amp;amp;#8221;mirror -c&amp;amp;#8221;  &lt;URL&gt;&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>How To Modify Your Wordpress Theme Via The Browser Using Stiqr</title>
      <link>/2010/04/27/modify-wordpress-theme-browser-stiqr/</link>
      <pubDate>Tue, 27 Apr 2010 16:07:43 +0000</pubDate>
      
      <guid>/2010/04/27/modify-wordpress-theme-browser-stiqr/</guid>
      <description>&lt;!--[ad#ad-2]--&gt;
&lt;p&gt;&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/%7Ea/O7jc_lFA7WTnPLGHjbYaxjhpRBM/0/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/%7Ea/O7jc_lFA7WTnPLGHjbYaxjhpRBM/0/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;br&gt;
&amp;lt;a href=&amp;quot;http://feedads.g.doubleclick.net/%7Ea/O7jc_lFA7WTnPLGHjbYaxjhpRBM/1/da&amp;quot;&amp;gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/%7Ea/O7jc_lFA7WTnPLGHjbYaxjhpRBM/1/di&amp;quot; alt=&amp;quot;&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;img src=&amp;quot;http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/00_Stiqr_logo.jpg&amp;quot; alt=&amp;quot;00_Stiqr_logo.jpg&amp;quot; width=&amp;quot;253&amp;quot; height=&amp;quot;114&amp;quot; align=&amp;quot;bottom&amp;quot; /&amp;gt;Ordinary &amp;lt;a href=&amp;quot;http://www.makeuseof.com/tag/how-to-build-a-self-hosted-wordpress-blog-for-free/&amp;quot;&amp;gt;self-hosted WordPress&lt;/a&gt; users know only too well that even though choosing and using thousands of available themes is a snap, creating one is an almost impossible task. You could use &amp;lt;a href=&amp;quot;http://www.makeuseof.com/tag/customize-design-wordpress-theme-easily-constructor/&amp;quot;&amp;gt;one of the customizable themes&lt;/a&gt; to modify the look to your liking, but that’s as far as you can go. Theme creating is not for the faint-hearted who are afraid to plunge into &amp;lt;a class=&amp;quot;zem_slink freebase/en/html&amp;quot; title=&amp;quot;HTML&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/HTML&amp;quot;&amp;gt;HTML&lt;/a&gt;, &amp;lt;a class=&amp;quot;zem_slink freebase/en/php&amp;quot; title=&amp;quot;PHP&amp;quot; rel=&amp;quot;homepage&amp;quot; href=&amp;quot;http://www.php.net/&amp;quot;&amp;gt;PHP&lt;/a&gt; and &amp;lt;a class=&amp;quot;zem_slink freebase/en/cascading_style_sheets&amp;quot; title=&amp;quot;Cascading Style Sheets&amp;quot; rel=&amp;quot;wikipedia&amp;quot; href=&amp;quot;http://en.wikipedia.org/wiki/Cascading_Style_Sheets&amp;quot;&amp;gt;CSS&lt;/a&gt; coding.&lt;/p&gt;</description>
    </item>
    
    <item>
      <title>Script to generate a html file with link to all files in directory</title>
      <link>/2009/09/26/script-to-generate-a-html-file-with-link-to-all-files-in-directory/</link>
      <pubDate>Sat, 26 Sep 2009 03:19:10 +0000</pubDate>
      
      <guid>/2009/09/26/script-to-generate-a-html-file-with-link-to-all-files-in-directory/</guid>
      <description>&lt;p&gt;&lt;strong&gt;ls -1 |awk -F&amp;amp;#8221;.&amp;amp;#8221; &#39;{print  &amp;amp;#8221;&lt;p&gt;&lt;a href=\&amp;#8221;\&amp;#8221;,$_,\&amp;#8221;\&amp;#8221;&gt; &amp;amp;#8221;,$2,&amp;amp;#8221;.&amp;amp;#8221;,$3,&amp;amp;#8221; &lt;/a&gt;&lt;/p&gt;&amp;amp;#8221; ;}&amp;amp;#8217; &amp;gt; index1.html&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;And if you want to do it recursively&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;ls -1R |awk -F&amp;amp;#8221;.&amp;amp;#8221; &#39;{print  &amp;amp;#8221;&lt;p&gt;&lt;a href=\&amp;#8221;\&amp;#8221;,$_,\&amp;#8221;\&amp;#8221;&gt; &amp;amp;#8221;,$2,&amp;amp;#8221;.&amp;amp;#8221;,$3,&amp;amp;#8221; &lt;/a&gt;&lt;/p&gt;&amp;amp;#8221; ;}&amp;amp;#8217; &amp;gt; index1.html&lt;/strong&gt;&lt;/p&gt;</description>
    </item>
    
  </channel>
</rss>
