[ Add new entry ]
« 1 2 3 4 5 6 ... 13 14 »

In this article we shall learn how to connect to several databases using Microsoft visual studio or VB .NET. We shall practice the simplest code to connect to each database one by one. 

 

1. MS Access Database:

Dim con As New OleDb.OleDbConnection

'Dim conString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\SHANKAR\Documents\Employee.accdb;User Id=admin;Password=shanky;"

Dim conString As String = "Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\Users\SHANKAR\Documents\Employee.accdb;User Id=admin;Password=;"

        &nb ... Read more »

Category: Technical Solution | Views: 2220 | Added by: shanky | Date: 2015-08-15 | Comments (0)

There are several ways for filing ITR. But what I used and found the easilway is :

cleartax for ITR

 


Just follow below simlple steps and you can finish it in one hour:

clearTax for ITR

  • Upload your Form-16.

... Read more »

Category: Cool Stuffs | Views: 1456 | Added by: shanky | Date: 2015-07-28 | Comments (2)

Logical Volume Manager is a device mapper in LINUX which provides Logical Volume management.

 

With LVM, we can create logical partitions that can span across one or more physical hard drives.

 

LVM virtualizes the memory and the biggest advantage of LVM is that it allows disks to be added, replaced, reduced, resized without any downtime or service disruption.

 

LVM allows file systems to be easily resized later as per our need.


Creating and managing LVM is very simple. Just follow 3 steps process:

  1. First the hard drives are divided into physical volumes(PV).
  2. ... Read more »
Category: Open System-Linux | Views: 1797 | Added by: shanky | Date: 2015-07-18 | Comments (0)

In this article we shall try to undestand grep and extended grep(grep with '-E' option).

 -E, --extended-regexp
              Interpret PATTERN as an extended regular expression (ERE, see below).  (-E is specified by POSIX.)


Basic vs Extended Regular Expressions
       In basic regular expressions the meta-characters ?, +, {, |, (, and ) lose their special meaning; instead use the backslashed versions \?, \+, \{, \|, \(, and \).

       Traditional egrep did not support the { meta-character, and some egrep implementations support \{ instead, so portable scripts should avoid  {  in grep -E patterns and should use [{] to match a lite ... Read more »

Category: Open System-Linux | Views: 1922 | Added by: shanky | Date: 2015-07-12 | Comments (0)

To create SWAP space/file in your system, you just need to follow below simple steps. First we shall see how much free space we are having using free -k or swapon -s command.

shankar@shankar-desktop ~ $ free -k
             total       used       free     shared    buffers     cached
Mem:       2061716     936484    1125232          0      43624     367612
-/+ buffers/cache:     525248    1536468
Swap:      492536          0    492536
shankar@shankar-desktop ~ $ swapon -s
... Read more »

Category: Open System-Linux | Views: 1615 | Added by: shanky | Date: 2015-06-19 | Comments (0)

ALIEN - Convert FILES from/to rpm, lsb, deb, solaris packages or install an alien binary package.

FORMAT
        alien [--to-deb] [--to-rpm] [--to-tgz] [--to-slp] [options] file [...]


DESCRIPTION
       alien is a command line utility that converts between Red Hat rpm, Debian deb, Stampede slp, Slackware tgz, and Solaris pkg file formats to/from one another.

If you want to use a package from another linux distribution than the one you have installed on your system, you have to use alien to convert it to your preferred package format and install it.

It also supports LSB packages.

... Read more »

Category: Open System-Linux | Views: 1661 | Added by: shanky | Date: 2015-06-16 | Comments (0)

FORMAT:
       xrandr [-help]  [-display display] [-q] [-v] [--verbose] [--dryrun] [--screen snum] [--q1] [--q12]

Per-output options
       [--output  output] [--auto] [--mode mode] [--preferred] [--pos xxy] [--rate rate] [--reflect reflection] [--rotate orientation] [--left-of output] [--right-of output] [--above output] [--below output] [--same-as output] [--set property value] [--off] [--crtc crtc] [--gamma red:green:blue]

 

 



DESCRIPTION
... Read more »

Category: Open System-Linux | Views: 1632 | Added by: shanky | Date: 2015-06-13 | Comments (0)

CHAGE - the command is used to change/show user's password related information like when it will expire, when it must be changed, when user should be warned to change the password etc.

FORMAT:
For root users:      

chage [-D binddn] [-P path] [-m mindays]
             [-M maxdays] [-d lastday] [-I inactive] [-E expiredate] [-W warndays] user

For normal user      

chage -l [user]


DESCRIPTION
... Read more »

Category: Open System-Linux | Views: 1723 | Added by: shanky | Date: 2015-06-08 | Comments (0)

STAT command : It is used to show the statistics of a file or filesystem in Linux

Format       stat [OPTION] FILE/FILESYSTEM...


DESCRIPTION
       It shows the statistics of a file or file system with the informations like block size, inode number, acces/modifcation time, permssions, type of file/filesystem etc.

       -f, --file-system
              it display file system status instead of file status

       -c  --format=FORMAT
              use th ... Read more »

Category: Open System-Linux | Views: 1532 | Added by: shanky | Date: 2015-06-03 | Comments (0)

dig - stands for domain information groper

dig -  a tool in linux to lookup or query DNS server for ip-address/name resolution.

Format:
       dig [@server] [-b address] [-c class] [-f filename] [-k filename] [-p port#] [-q name] [-t type] [-x addr]
           [-y [hmac:]name:key] [-4] [-6] [name] [type] [class] [queryopt...]

       dig [-h]

       dig [global-queryopt...] [query...]


DESCRIPTION
 

  • dig (domain information groper) is a flexible tool ... Read more »
Category: Open System-Linux | Views: 1800 | Added by: shanky | Date: 2015-06-01 | Comments (0)