2010
Get a Double Random Number | Quick Tip
This is useful since the Random() object can only export a double number between 0.0 and 1.0
class Program { static void Main(string[] args) { double dr = GenRand(1.0, 20.0); Console.WriteLine(dr); Console.ReadLine(); } static double GenRand(double one, double two) { Random rand = new Random(); return one + rand.NextDouble() * (two - one); } } Resources: here
2010
CSS | Hide Overflow Vertical Scrollbar
When you set a div style like this:
div#tbl-container
{
width: 600px;
overflow: auto;
scrollbar-base-color:#ffeaff
}
it will show both the horizontal and vertical scrollbars if the content is large enough to require them.
However in IE due to a bug, you can still see them.
The solution would be to use the following css styling to hide the vertical scrollbar: Continue reading »
2010
Convert degrees to minutes for Google Maps in Excel
Normal Formula
=”N” & INT(H2) & ” ” & ROUND(((H2 – INT(H2)) * 60), 6)
Advanced Excel Formula:
= IF(INT(F41) < 0, “”, “E” & INT(F41) & ” ” & IF((F41 – INT(F41)) * 60 < 10, “0″, “”) & ROUND(((F41 – INT(F41)) * 60), 6))
If less than zero, show nothing and also adds a 0 if less than 10
2010
Mime Types
Was searching for the flash content mime type and found this list of all the mime types available.
They are listed first by content type and then by file extension. Check it out here on w3 schools website
The mime types I needed where for:
- flash (swf) which is application/x-shockwave-flash
- and jpegs which is image/jpeg
What you missed
Check these Out!
Favourite Links
Tags
Archives
- May 2013 (2)
- January 2013 (2)
- December 2012 (5)
- November 2012 (4)
- October 2012 (3)
- September 2012 (1)
- August 2012 (4)
- July 2012 (2)
- June 2012 (1)
- May 2012 (10)
- February 2012 (6)
- December 2011 (2)
- October 2011 (3)
- September 2011 (1)
- April 2011 (6)
- March 2011 (14)
- February 2011 (9)
- January 2011 (10)
- December 2010 (6)
- November 2010 (10)
- October 2010 (6)
- September 2010 (10)
- August 2010 (4)
- June 2010 (10)
- May 2010 (2)
- April 2010 (1)
- March 2010 (1)
- July 2009 (1)
- June 2009 (1)
- April 2009 (4)
- March 2009 (1)
- February 2009 (5)
- January 2009 (10)
- December 2008 (8)
- November 2008 (4)
- September 2008 (6)
- August 2008 (11)
- June 2008 (2)
- May 2008 (3)
- March 2008 (1)
- February 2008 (1)
- November 2007 (1)
- September 2007 (2)
- July 2007 (2)
- June 2007 (1)
- May 2007 (2)
- February 2007 (3)
- January 2007 (4)
- November 2006 (1)
- October 2006 (1)
Categories
- Android (3)
- Apple (5)
- ASP.Net (37)
- Be Creative (1)
- Blackberry OS (1)
- CMS (5)
- Creative Computing (4)
- Crystal Reports (5)
- Day to Day (22)
- Deep Design Malta (8)
- Design and Development (22)
- Development Tools (15)
- Facebook (1)
- Games (3)
- Google Analytics (3)
- Google Gmail (1)
- Hotmail (1)
- Internet Explorer (7)
- iPhone/3G (19)
- iPod Touch (6)
- JavaScript (13)
- JQuery (3)
- Lumia (4)
- Microsoft (18)
- Microsoft SQL Server (21)
- Microsoft Visual Studio (27)
- MS Office (3)
- MVC (2)
- My Blog (3)
- NetBeans (1)
- Nokia (4)
- Off Topic (16)
- Online Services (3)
- Permissions (1)
- Phones and Tablets Platforms (7)
- Project NINE (11)
- PSP NGP (1)
- Quickie (9)
- SEO (7)
- Silverlight For WP7 (4)
- Sitefinity (1)
- Sony (1)
- Uncategorized (32)
- Utilities (57)
- VB .Net (1)
- Windows 7 (14)
- Windows 8 (3)
- Windows Live (3)
- Windows Mobile (5)
- Windows Phone 7 (18)
- Windows Phone 8 (1)
- Windows Vista (15)
- Wordpress (1)
- WP Apps (2)
- Yellow Pages (4)





