added comment luv plugin.

2010-04-12 1 min read Linux

Added a plugin called comment luv, now you would love commenting. I am also looking for suitable plugin to raise a ticket on the blog. This would enable the users to raise their concerns and feature or plugin request for the blog. If you have any suggestions, please leave a comment.

Quick notepad in bash without any editor

2010-04-12 1 min read Bash

$ «.>note Bash internal quick note taker, avoiding calling external programs like cat

  • <a href="http://www.commandlinefu.com/commands/view/3939/quick-notepad">View this command to comment, vote or add to favourites
  • <a href="http://feeds2.feedburner.com/commands/by/netizen">View all commands by <a href="http://feeds2.feedburner.com/commands/by/netizen">netizen

<a href="http://www.commandlinefu.com"><img src="http://blog.amit-agarwal.co.in/wp-content/uploads/2010/08/header-logo.jpg" alt="" align="bottom" />

by David Winterbottom (<a href="http://codeinthehole.com">codeinthehole.com)

<a href="http://feedads.g.doubleclick.net/~a/aAyNWJ1rcV4brCukeWT51QSbCZs/0/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/aAyNWJ1rcV4brCukeWT51QSbCZs/0/di" alt="" align="bottom" />
<a href="http://feedads.g.doubleclick.net/~a/aAyNWJ1rcV4brCukeWT51QSbCZs/1/da"><img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~a/aAyNWJ1rcV4brCukeWT51QSbCZs/1/di" alt="" align="bottom" />

<img src="http://blog.amit-agarwal.com/wp-content/uploads/img.zemanta.com/~r/Command-line-fu/~4/luL4fGyQxqk" alt="" width="1" height="1" align="bottom" />

URL: <a href="http://feedproxy.google.com/~r/Command-line-fu/~3/luL4fGyQxqk/quick-notepad">http://feedproxy.google.com/~r/Command-line-fu/~3/luL4fGyQxqk/quick-notepad

Get the mappings from tex file for vim plugins

2010-04-12 1 min read Linux

Get the mappings from tex file for the vim plugins.

#!/bin/bash –
#===============================================================================

#          FILE:  get_mappings_from_tex_for_vim.sh

#         USAGE:  ./get_mappings_from_tex_for_vim.sh

#   DESCRIPTION:  Get the mappings from tex file

#       OPTIONS:  —
#  REQUIREMENTS:  —
#          BUGS:  —
#         NOTES:  —
#        AUTHOR:  Amit Agarwal (AKA), amit.agarwal@amit-agarwal.co.in
#       COMPANY:  Individual
#       VERSION:  1.0
#       CREATED:  09/06/2009 09:19:19 PM IST
#      REVISION:  —
#===============================================================================

set -o nounset                              # Treat unset variables as an error

Continue reading

change the window in split screen.

2010-04-11 1 min read Firefox Linux Vim Tips

I use the split screen in vim very in-frequently, so I did not really know how to move from one screen to the other. There is also very little or no documentation that I found on this on the first page of google, so here it is :
press &#8221;ctrl+w and ctrl + w&#8221; to change to other window.

If you are not sure how to get the split screen, then you can type help split in vim to get the help on split screen.

Continue reading

F12 Wallpaper Sprinting

2010-04-11 1 min read Fedora

I’ve been working with Jon McCann, Charlie Brej, Nicu Buculei, Jeremy Perry, María Leandro, and Ian Weller’s help and critique the past few days on trying to come up with a slicker version of the F12 background for the final. 1 newly color-managed Thinkpad, 4 Gimp brushes, several CC-BY and CC-BY-SA textures from Flickr, 2 dozen SLR photos of shower water, and <a href="http://duffy.fedorapeople.org/art/f12/oct%2020/">62 mockups later… this is what we have so far. Please let me know what you think. We are working to get it packaged by this coming Tuesday so we can make it, and be awesome while we’re at it. If you have any suggestions or modifications you’d like to propose please reply here or on design-team at lists dot fedoraproject dot org.

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

Firefox Tips

2010-04-11 1 min read Linux

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
Firefox Tips Mozilla Firefox has been outperforming Internet Explorer for a number of years, and its latest version is even faster than ever. However, there is a new, lean, free web browser on the block which runs web pages at lightning speed. It goes by the name of Google Chrome. Google released the source code of Chrome, including its custom JavaScript engine as an open source project entitled Chromium.

Continue reading
Older posts Newer posts