background preloader

Extra links

Facebook Twitter

Epoch Converter - Unix Timestamp Converter. Accounts. Accounts. HTTP vs REST vs SOAP. 20 Jan, 2009 HTTP vs REST vs SOAP Posted by Bhavin Turakhia I have been an active proponent of SOAP since its inception.

HTTP vs REST vs SOAP

SOAP revolutionzed RPC and loose coupling to a great extent. However off late I have been giving APIs and interfaces considerable thought and am leaning a lot more towards simple HTTP based APIs with an XML or JSON response format as opposed to SOAP. Introduction Let me first clarify the terminology - SOAP refers to Simple Object Access Protocol HTTP based APIs refer to APIs that are exposed as one or more HTTP URIs and typical responses are in XML / JSON. Typing SOAP provides relatively stronger typing since it has a fixed set of supported data types. Client-side effort Making calls to an HTTP API is significantly easier than making calls to a SOAP API. Testing and Troubleshooting It is also easy to test and troubleshoot an HTTP API since one can construct a call with nothing more than a browser and check the response inside the browser window itself.

Convert a Unix timestamp to a .NET DateTime. The POSIX time, or Unix time , is the number of seconds elapsed from the midnight of January 1st 1970 in UTC coordinates.

Convert a Unix timestamp to a .NET DateTime

This timestamp is used in all *nix languages; probably you will never need to use a Unix timestamp in .NET, but if you have to interact with other application or sites, maybe built in PHP or Java, you will probably have to deal with it. But .NET doesn't have a method to convert a Unix timestamp to a DateTime and viceversa (or I didn't find it), so I had to implement it. static DateTime ConvertFromUnixTimestamp( double timestamp) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); return origin.AddSeconds(timestamp); } static double ConvertToUnixTimestamp(DateTime date) { DateTime origin = new DateTime(1970, 1, 1, 0, 0, 0, 0); TimeSpan diff = date - origin; return Math.Floor(diff.TotalSeconds); } The first method converts a Unix timestamp to its DateTime equivalent, and the second takes a DateTime and convert it to the Unix time.

Develop a Facebook application with Eclipse Galileo. Getting started with Galileo Before you begin developing your Facebook SimpleRestaurantSearch application, you need to download and install the Galileo package of Eclipse (see Resources).

Develop a Facebook application with Eclipse Galileo

In this section, you'll learn how to set it up. Downloading Galileo The Galileo package represents the next incremental release for Eclipse, and as such, means a new installation of the Eclipse platform. As with all Eclipse releases, there are a number of packages to choose from, depending upon your development needs. Download the Eclipse IDE for Java™ EE Developers version, as it has everything you need to develop and deploy a Facebook application.

The Eclipse Web site provides a comparison chart, shown in Figure 1. Figure 1. When the download is complete, unzip the package where you want Eclipse to be installed, then double-click the Eclipse icon to run it. Figure 2. Setting up Tomcat in Eclipse. Lesson 14 - Glottal Stop - English Pronunciation. Talks. Archived: Windows Loader - The Official Thread. Dictionary and Thesaurus - Merriam-Webster Online. Today's Paper. Bangalore 2011 Edition - The Quizzers. UP Judicial Service Civil Judge (Junior Division) Examination 2012. The Public Service Commission, Uttar Pradesh, shall hold a preliminary examination at various centres in the Districts mentioned in the notification for selecting suitable candidates for admission to the UP Judicial Service Civil Judge (Junior Division) Examination 2012.

UP Judicial Service Civil Judge (Junior Division) Examination 2012

Number of Post & Number of Vacancies Civil Judge (Junior Division): 76 vacancies Important Dates Opening date for obtaining OMR application form from post office: 31 January 2012Last date for sale of application form/ receipt of application: 1 March 2012 up to 5 pmDate for Preliminary Examination: 13 May 2012 Eligibility Criteria Educational Qualification Age Limit (as on 1 July 2012): Minimum 22 years; Maximum 35 years Pay Scale: Rs 27700-770-35090-920-40450-1080-44770 Application Fee: Rs 155 to be paid by General/ OBC of UP and all candidates of other States, and fee for SC/ ST category candidates of UP is Rs 95.

Selection Procedure: The competitive examination comprise three successive stages viz:- ICPC : Results : Asia Amritapuri 2011.