Connect to SQL Server in Perl and in VBScript

Say my database name is Jessica_DB, my user name is jessica, and my password jessica_pwd. Perl To connect to Microsoft SQL Server using Perl with Win32::ODBC module use Win32::ODBC; my $dsn = "DSN=Jessica_DB;UID=jessica;PWD=jessica_pwd;"; my $DB = Win32::ODBC->new($dsn); $DB->Sql("SELECT f1, f2, f3 FROM MyTable"); $DB->FetchRow(); ($f1, $f2) = $DB->Data("f1", "f2"); print "f1 = ". $f1; $DB->Close(); … Read moreConnect to SQL Server in Perl and in VBScript

Reflection in Inkscape, GIMP, and Photoshop

Ever wonder how to create those cool images with reflection, such as the image below? You can create them using Inkscape and GIMP, two free Open Source tools, and of course, with Photoshop. When I need to add reflection to an image quickly, I usually use Inkscape. Check it out! It’s great for making simple … Read moreReflection in Inkscape, GIMP, and Photoshop

SNMP Intro

What is SNMP?

SNMP stands for Simple Network Management Protocol. It is used in network management systems to monitor network devices. It is part of Internet Protocol (IP) software suite.

Using SNMP, one can monitor and control a network device. Moreover, one can receive notification from a network device. A SNMP-managed system consists of three components: SNMP agents, Managed Devices, and Network Management Systems. A SNMP agent is a software process that manages network information on a Managed Device. A Managed Device is also called a SNMP-enabled device; routers, switches, PC, lab tops, or even smart phones are all examples of Managed Devices. A Network Management System is a computer that polls from Managed Devices and organizes the data in either textual or visual form.

Read moreSNMP Intro