http://thompsonng.blogspot.in/2013/01/tcpdump-packet-size-limited-during.html
Category: Programming
Poodle fix for all the users of libcurl
As you know, SSLv3, most popular TLS protocol, is announced as victim of this Poodle vulnerability. After this announcement, all the enterprise community rushed to disable SSLv3 & SSLv2 protocols as part of their security enforcements. This page explains theContinue reading… Poodle fix for all the users of libcurl
Base64 Encoding and Decoding in C
Base64 is a method of encoding arbitrary data as plain ASCII text. It is one of the techniques employed by the MIME standard to send data other than plain text. Base64 encoding takes three bytes, each consisting of eight bits,Continue reading… Base64 Encoding and Decoding in C
xerces-c: C++ SAX2 Parser
Basics of validating xmls with a given schema in C++. 1. Create parser instance. SAX2XMLReader* parser = XMLReaderFactory::createXMLReader(); 2. Set required features to parser instance as follow. // Enable the parser’s schema support parser->setFeature(XMLUni::fgXercesSchema, true); // Schema validation requires namespaceContinue reading… xerces-c: C++ SAX2 Parser
Eclipse: resource is outof sync with the file system – permanent solution
Mysteriously got the following exception when trying to build an Eclipse project: “resource is out of sync with the file system” Although I can’t be sure, I think I may have deleted a file outside of Eclipse. To fix theContinue reading… Eclipse: resource is outof sync with the file system – permanent solution
xerces-c: C++ SAX2 Parser
Basics of validating xmls with a given schema. 1. Create parser instance. SAX2XMLReader* parser = XMLReaderFactory::createXMLReader(); 2. Set required features to parser instance as follow. // Enable the parser’s schema support parser->setFeature(XMLUni::fgXercesSchema, true); // Schema validation requires namespace processing toContinue reading… xerces-c: C++ SAX2 Parser
J2EE Basics: JDBC Driver Connections
JDBC Driver Connection Method list There are many version of the Friends to find JDBC driver or the driver often ask how to use,In here I simply sort out driver with more typical usage.1. Microsoft SQL Server series (6.5, 7.xContinue reading… J2EE Basics: JDBC Driver Connections
SQL Loader: Import CSV to Oracle table
One of the very common task in oracle environment is export/import of CSV files to Oracle database. Export is pretty straight forward as many of oracle clients provide this as standard functionality for any query. But for import, we canContinue reading… SQL Loader: Import CSV to Oracle table
MySQL Error Number 1005 Can’t create table ‘.mydb#sql-328_45.frm’ (errno: 150)
If you get this error while trying to create a foreign key, it can be pretty frustrating. The error about not being able to create a .frm file seems like it would be some kind of OS file permission errorContinue reading… MySQL Error Number 1005 Can’t create table ‘.mydb#sql-328_45.frm’ (errno: 150)
java.sql.SQLException: Io exception: Invalid Packet Lenght
Similar exceptions are : 1. java.io.IOException: Io exception: Unexpected packet 2. java.sql.SQLException: Protocol violation 3. java.sql.SQLException: Io exception: Bad packet type 4. java.sql.SQLException: Bigger type length than Maximum 5. java.sql.SQLException: Io exception: Invalid Packet Lenght 6. java.sql.SQLException: Closed Connection 7.Continue reading… java.sql.SQLException: Io exception: Invalid Packet Lenght