REST endpoints become very popular in SaaS applications in recent times. We need to understand what http method used for what operation in general. The important HTTP methods are as follows: GET method requests data from the resource and should notContinue reading… HTTP methods (verbs)
Category: Tools
TCPDUMP – Packet size limited during capture HTTP truncated
http://thompsonng.blogspot.in/2013/01/tcpdump-packet-size-limited-during.html
Force a windows desktop application to run in 32bit process on 64bit OS
Recently, I faced an issue with a downloaded windows application binary/executable. When I double clicked, it throws error popup saying that wrong architecture mismatch. Then my target is to run that age old application to run on my latest x64Continue reading… Force a windows desktop application to run in 32bit process on 64bit OS
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
Vim: Reverse all lines
One of rare occasion that we have to reverse the whole file or part of the file content in line order. Vim handles such cases effortlessly. This command given in below will reverse all lines in the current buffer: :g/^/m0Continue reading… Vim: Reverse all lines
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
SSL Authentication in HTTP : Using cURL – Part 3
Open source curl is one of best & stable http client tool as well as library. In this article, we’ll see how can we use libcurl library as well as curl command line utility for two way client authentication. UsingContinue reading… SSL Authentication in HTTP : Using cURL – Part 3
SSL Authentication in HTTP : Basics – Part 2
This article covers to setup both client and server for SSL authentication. Consider we have java server and keytool utility comes with java sdk. To create a server certificate follow these steps: 1. Create the keystore. 2. Export the certificateContinue reading… SSL Authentication in HTTP : Basics – Part 2
SSL Authentication in HTTP : Basics – Part 1
Before going into any details of SSL, best thing is to know the following terminology and file formats. HTTP(s) is basically used for secure transactions in HTTP like payments etc. HTTPS : HTTP protocol on Secure shell which is encryptedContinue reading… SSL Authentication in HTTP : Basics – Part 1
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