Mirror or download a website with a tool much better than wget

2010-05-19 1 min read Bash Fedora Linux

If you want to mirror a <a class="zem_slink freebase/en/website" title="Website" rel="wikipedia" href="http://en.wikipedia.org/wiki/Website">website, the simplest tool I know if is <a class="zem_slink freebase/en/wget" title="Wget" rel="homepage" href="http://www.gnu.org/software/wget/">wget. 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 <a class="zem_slink freebase/en/web_server" title="Web server" rel="wikipedia" href="http://en.wikipedia.org/wiki/Web_server">webserver.

lftp -e &#8221;mirror -c&#8221; 

Continue reading

Linux Advocacy and cool things to do with Linux.

2010-04-12 2 min read Linux

I have heard a lot of Linux advocacy and read probably a couple of artilcles also on them but they lack one thing : the end user perspective. Linux is great no doubt, but there are far too many things to confuse people at all levels. For example, if you do a google search for which distro is good for me, you will find different sites giving you different results. So, whats my point?

Continue reading

In (any) vi, add a keystroke to format the current paragraph.

2010-04-11 1 min read Linux

<a id="aptureLink_F2g9MXMw3t" href="http://en.wikipedia.org/wiki/Vi">vi editor is very powerful in the sense that you can use maps, abbreviations and recordings. One such example is when you are trying to write a email or trying to write a paragraph and you want to format it. You can create a mapping like so, in your .exrc or .vimrc and use it to format the paragraph.

map ^A !}fmt<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://www.slumpedoverkeyboarddead.com/2009/08/19/nano-text-editor-course/">Nano Text Editor Course (slumpedoverkeyboarddead.com) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/af58b127-c811-4fc3-bce6-9f44fcdc03c3/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b22.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading

There is only one reason left why Windows exists

2010-04-01 0 min read Linux
\"Image
Image via CrunchBase

<span style="background-color: #ffffff;"><span style="font-size: small;">156 minutes of pain compared with 26 minutes of success. That&#8217;s the difference between a Windows installation and a Linux installation. After two and a half hours fiddling with a Windows install on my Toshiba laptop, it became pretty obvious what is one major reason why Windows remains a viable operating system.

Continue reading

Break Free and let firefox remember all the passwords even the ones that are not saved by default

2010-03-28 2 min read Fedora Linux

Here we go against one more security policy of most of the sites like Bank and paypal and so on. These sites do not allow Firefox or any other browser to save the password. This is using some tags in the html/code of the page that would mark the field as not completeable or savable. So, what do you do?

I am on a home computer to which no one has access so why not save the password!! Let do it. There are couple of hacks that have been found to make firefox remember all the passwords. Here are a few of them (but Linux is not covered in any of them).<h1 id="article-title"><a title="Permanent Link to Tweak Firefox’s Password Saver Without An Extension" rel="bookmark" href="http://cybernetnews.com/2006/06/07/tweak-firefoxs-password-saver-without-an-extension/">Tweak Firefox’s Password Saver Without An Extension <h1 id="article-title"><a title="Permanent Link to Make Firefox Remember Passwords without a Bookmarklet" rel="bookmark" href="http://cybernetnews.com/2009/02/13/firefox-remember-passwords/">Make Firefox Remember Passwords without a Bookmarklet

Continue reading

Ubuntu Sucks Like a Shopvac and Other Linux Rants

2010-03-16 1 min read Linux

Almost 100 articles and blogs on the topic of “ubuntu sucks” were published in the past month alone, and about as many were published that unequivocally state Windows is better than Ubuntu.<table border="0">

<span style="font-size: x-small;">
But upon closer examination, I found that a substantial portion of these negative reactions to Ubuntu stem from unrealistic comparisons.

Almost all of the hurdles people seem to have when switching from Windows to Ubuntu appear to be errors in judgment and assessment, rather than actual problems with the OS.

Continue reading

prepend to a file with sponge from moreutils

2010-03-16 1 min read Linux

<a href="http://bashcurescancer.com/prepend-to-a-file-with-sponge-from-moreutils.html">A few weeks I wrote about a tool, which helps you easily prepend to a file. I submitted prepend to moreutils and Joey was kind enough to point out this could be done with `sponge&#8217;.? sponge reads standard input and when done, writes it to a file:
Probably the most general …<h6 class="zemanta-related-title">Related articles by Zemanta <ul class="zemanta-article-ul"> <li class="zemanta-article-ul-li"><a href="http://helpdeskgeek.com/linux-tips/crontab-howto-tutorial-syntax/">Automating Tasks in Linux Using Crontab (helpdeskgeek.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/progrium/sxsw-evented-web">How WebHooks Will Make Us All Programmers (slideshare.net) <li class="zemanta-article-ul-li"><a href="http://almirkaric.com/2010/01/07/debugging-python-multiprocessing/">Debugging python (multi)processing (almirkaric.com) <li class="zemanta-article-ul-li"><a href="http://www.slideshare.net/royzimmer/you-can-do-it-start-using-perl-to-handle-your-voyager-needs">You Can Do It! Start Using Perl to Handle Your Voyager Needs (slideshare.net) <div class="zemanta-pixie"><a class="zemanta-pixie-a" title="Reblog this post [with Zemanta]" href="http://reblog.zemanta.com/zemified/b2b2afad-1679-46ab-831c-90ae0cc4d30f/"><img class="zemanta-pixie-img" src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/reblog_b14.png" alt="Reblog this post [with Zemanta]" /><span class="zem-script more-related more-info pretty-attribution paragraph-reblog">

Continue reading
Older posts Newer posts