timtowtdi
This t-shirt is meant for all people who know what the thing written on the tshirt means ![]()
I could have done it in many ways or by using different fonts and colors as there is more than one way to do it !
.vimrc config file
Here is my vimrc file.Before vim starts, it reads the configuration file .vimrc (if available - not present by default) present in the root folder. vim is heavily customizable and you can even write some scripts within this config file. This very attribute makes it really the best editor for most purposes, specially for programming and scripting purposes. Lets tweak it a bit and make it more happening!
To create or read the existing one do this
$ vim ~/.vimrc
Its advisable to have the package vim-full
To have a look at my .vimrc file visit this url :
http://home.iitb.ac.in/~zubin_mehta/vimrc.txt
Save this txt file and rename it as .vimrc and place it in your root folder.
To get an explanation on each of the line written in the config file visit the following Reference : http://vimdoc.sourceforge.net/htmldoc/help.html
PS : i will elaborate more on some of the features mentioned in the vimrc and also how to create your own colorscheme for your vim editor.
Digg’s Recommendation Engine
Today the new beta digg’s recommendation engine got activated for my account! Well lets talk about - why the need for such an engine and how is it gonna affect the internet world.
Over many years there have been ‘n’ number of debates in the SEO world regarding which of the web-2.0 portal is the best in helping the common man’s website up in ranks; alas it was and will always be a never ending debate. But it has some true facts associated with it.
It has always been the case that majorly some news sites or some really famous sites generally get on the Digg front pages and the others which make it till there are indeed really good ones - no doubt. But there exists a comman man with not so great links but definitely worth sharing and with this sense of charity in mind he/she/it submits that little story on Digg. What happened then? Yes, these stories get lost and if lucky are dugg by 1 or 2 other comman man. But definitely, there wasn’t much of a publicity thing for a common man @ Digg until the recommendation engine was launched. People always believed that stumbleupon was the common men thing but it was too weird and relative to make any assumptions but yeah people say it does work.
But now with the launch of Digg’s recommendation engine, there is happiness everywhere
- it recommends you on the basis of your past history; it recommends you nearby users(the one whose thinking is same as yours and may be the same set of things turns both of you on.) as well as stories. Basically the Recommendation Engine suggests upcoming stories by matching you with Diggers like you. Now you have much more common links to visit rather than just the recently popular and most popular links. Seriously, over years i have missed so many good links that might have interested me becuase they never turned up to me. But now we get what we like!
Awesome concept by Digg. Also it has a column on the right-hand side which lists the users whose choices were most compatible to that of yours, the concept which we first saw on last.fm - a music portal where in the songs you hear decides your taste and your compatibility with the neighbours.
WordPress “previous | next post” links!
Hello world! - My first post will be on how to put previous and next post link on the individual post. Why? Obviously, in a normally installed wordpress copy when you comment on a post or click on a post, you reach a place from where you don’t know how to act. To the wordpress bloggers - Many of your viewers have a tendency of closing the tab and running away from your blog. Why scare them away ! Instead link your individual post page with the previous and next posts
Here is how to do it -
Add these lines of code in the index.php file after the following line (wordpress 2.5.1)-
while (have_posts()) : the_post();
<?php if ($single) { ?>
<div class=”navigation”><?php previous_post_link(’« « % |’, ”, ‘yes’);?> <a href=”/”> Home </a> <?php next_post_link(’| % » » ‘, ”, ‘yes’);?></div>
<?php } ?>
More documentation help if required for more cleanliness and flexibility can be found here - http://codex.wordpress.org/Template_Tags/previous_post_link
PS: writing a “code” in wordpress is a real big job. By default, WordPress will convert unrecognized uses of < and > into characters which actually look like < and >, which will “look” like a when posted. Or, if it finds the use of an HTML tag within the post, it will use the tag like it is HTML and you will have funky looking text and a messed up layout.
PS2: Use of previous_post is deprecated and previous_post_link should be used instead.
