<dot>vimrc file for vim users

2009-10-01 7 min read Linux Vim Tips

Example vimrc file below:

let g:VIM_CUSTOM = &#8221;/home/amitag/.vim_custom/&#8221;

&#8221; Don&#8217;t use vi compatibility; I want all the new features in Vim

set nocompatible

&#8221; Version 6.0-specific stuff

if version >= 600

syntax enable

filetype on

filetype plugin on

filetype indent on

else

syntax on

endif

set showfulltag &#8221; Get function usage help automatically

set showcmd &#8221; Show current vim command in status bar

set showmatch &#8221; Show matching parentheses/brackets

set showmode &#8221; Show current vim mode

Continue reading

Boot Linux Over HTTP With boot.kernel.org (BKO)

2009-10-01 1 min read Linux Uncategorized

<a href="http://blog.amit-agarwal.co.in/category/linux/">Bookmark this category
  

<font SIZE="6"><a HREF="http://www.debianhelp.org/node/15823">Boot Linux Over HTTP With boot.kernel.org (BKO)

This tutorial shows how you can <a HREF="http://www.howtoforge.com/boot-linux-over-http-with-boot.kernel.org-bko">boot Linux over HTTP with boot.kernel.org (BKO). All that users need is Internet connectivity and a small program (gpxe) to boot the machine. This gpxe program provides network booting facility. BKO allows you to boot into the following distributions: Debian, Ubuntu, Damn Small Linux, Knoppix, Fedora. BKO provides gpxe images for USB sticks, CDs, and also for floppies, i.e., you can boot from a USB sticks, a CD, or a floppy.

Continue reading

phpMyEdit – Mysql table viewer, editor and php code generator.

2009-10-01 1 min read Database Linux

As a developer, whenever you want to write the php code to get the data from the MySQL database, sometimes it becomes tiresome and time taking. And what if you had to do it dynamically. Well I have not generated the code dynamically using <a href="http://www.phpmyedit.org/">phpMyEdit, but I believe that should be pretty much doable.

But what you would definately like this open source php code to view, edit and generate php code, saving you some time to concentrate on better and interesting things. The official website has this description:

Continue reading

7-deadly-linux-commands

2009-09-26 3 min read Linux

You want to learn about Linux, start from learning what not to do. <a href="http://www.junauza.com/2008/11/7-deadly-linux-commands.html" target="_blank">Here is one for the starting point.

So moral of the story is if someone asks you to do something and you dont know what that command will do, then dont do it. If your inner thing does not allow you not to do it, do it with all the care you can take. May be a backup and most importantly &#8221;DONT USE ROOT LOGIN IF U DONT HAVE REASON TO USE IT&#8221;. BTW there are couple of more articles on these kind of advices but the best way to save yourself is to educate yourself on the outcome of the command you are executing.

Continue reading

Configure sendmail for SMTP relay with your ISP

2009-09-26 4 min read Linux

http://cri.ch/linux/docs/sk0009.html

I have copied the document from the above link without modifications

Author:  Sven Knispel
Updated:  05-01-2005
Feedback welcome: <a href="mailto:linux@cri.ch">linux@cri.ch
Free service provided by: <a set="yes" linkindex="2" href="http://cri.ch/">www.cri.ch

The following article explains the setup of sendmail for forwarding mails to your ISP&#8217;s smtp server.
It is assumed that you have sendmail up-to-date and configured properly.
_Note: this setup does not work properly for smtp-server using

  <td>
    <div class="text codecolorer">
      SASL
    </div>
  </td>
</tr>
1

(e.g. like

Continue reading
Older posts Newer posts