WordPress is one of the awesome blogging platform being used in current information age. WordPress is being developed and enhanced every day to meet the dynamic evolving requirements of the users. If you are a WordPress user then you should have already heard about Jetpack. It is an awesome plug-in and must have for all […]
Archives for September 2012
iPhone 5 Pre-Order Starts in Sri Lanka
For the first time ever one of the network providers in the country taking pre-orders for iPhone 5. There was a failed attempt by Dialog few year back which was revealed as not an official release. That time Dialog released iPhone 3G to the market. We know lately Etisalat giving good run for gadgets with […]
How to Handle iOS 6 POST Caching Bug in C# Web Service
Last week many users were changing to iOS 6 and one of our products running on jQuery Mobile started to behave odd. Service started to return old values and all. Some Google search reveled that it is a bug in iOS 6. You can tackle this issue in C# Web Services by disabling cache. public […]
Click Event for Collapsible Blocks in jQuery Mobile
I was trying to bind click event for Collapsible Blocks in jQuery Mobile as we do for buttons. But with latest framework update it was not working at all. Spend some time to figure out the events for Collapsible blocks. $(‘#my-collaspible’).bind(‘expand’, function () { alert(‘Expanded’); }).bind(‘collapse’, function () { alert(‘Collapsed’); });
MS SQL Server Management Studio and Dropbox
I was keep on getting following error few days repeatedly on MS SQL Management studio when I tried to execute lengthy Stored Procedures. But the funny thing is that it was running on other machines. Msg 10054, Level 20, State 0, Line 0 A transport-level error has occurred when sending the request to the server. […]
Calculating Week days in MSSQL
Had a requirement to calculate the weekdays between given date range (No of Days – Weekends). Finally with the help of WWW, I manage to figure out a way to do it in MS SQL DECLARE @START_DATE = ‘2012-09-17’ DECLARE @WEEKDAYS INT SELECT @WEEKDAYS = ( (DATEDIFF(dd, @START_DATE, GETDATE()) + 1) -(DATEDIFF(wk, @START_DATE, GETDATE()) * […]
Get Only Time out of DateTime Variable in C#
I was working with C# web-service today and had a requirement to get the time in HH:mm format and save it in a String variable. Here how you do it in C# DateTime dt = DateTime.Parse(“6/22/2009 07:00:00 AM”); dt.ToString(“HH:mm”); // 07:00 // 24 hour clock // hour is always 2 digits dt.ToString(“hh:mm tt”); // 07:00 […]
WordPress 3.4.2 Available
Starting from today you’ll get notification about WordPress new update as WordPress released new security and maintenance release. WordPress Says.. Version 3.4.2 also fixes a few security issues and contains some security hardening. The vulnerabilities included potential privilege escalation and a bug that affects multisite installs with untrusted users. These issues were discovered and fixed by the […]
Get rid of Ugly spinners in Webkit browsers
If you make a input type as Number then webkit browsers such as Chrome, Safari will make an ugly spinner button. It is useful at times but visual point of view it’s very ugly. Use following CSS to override webkit browser’s CSS. input::-webkit-outer-spin-button, input::-webkit-inner-spin-button { /* display: none;
iPhone 5 Launch Date is Finally Here….!
Finally Apple officially confirms the iPhone 5 launch date. They have invited the members of the press for the launch event which is to be held on September 12th. Now it is rumored that only iPhone 5 will be launched on this occasion and iPad mini (it will be 7 inches mini tablet to battle […]