This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/// <summary> | |
/// Converts Unix time to a regular DateTime. | |
/// </summary> | |
/// <param name="unixTime"></param> | |
/// <returns></returns> | |
public static DateTime ConvertUnixTimestamp(double unixTime) | |
{ | |
DateTime stdDateTime = new DateTime(1970, 1, 1, 0, 0, 0, 0); | |
stdDateTime = stdDateTime.AddMilliseconds(unixTime).ToLocalTime(); | |
return stdDateTime; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/* Transparency for all browsers */ | |
.transparent { | |
zoom: 1; /* gives the object layout */ | |
-ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=85)"; | |
-webkit-filter: alpha(opacity=85); | |
-moz-filter: alpha(opacity=85); | |
-o-filter: alpha(opacity=85); | |
filter: alpha(opacity=85); | |
-moz-opacity: 0.85; | |
-khtml-opacity: 0.85; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Use Gists to store code you would like to remember later on | |
console.log(window); // log the "window" object to the console |