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
(function(){return 2*3;}).toString() === (function(){return 6;}).toString(); // true in FF & Opera, false in IE & WebKit |
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
parseInt("12.5") === ~~"12.5"; // true |
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
/* | |
Ping | |
*/ | |
$.extend($, { | |
Ping: function Ping(url, timeout) { | |
timeout = timeout || 1500; | |
var timer = null; | |
return $.Deferred(function deferred(defer) { |
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
function has3D() { | |
var has3D, | |
el = document.createElement("p"), | |
transforms = { | |
'WebkitTransform': '-webkit-transform', | |
'OTransform': '-o-transform', | |
'MSTransform': '-ms-transform', | |
'MozTransform': '-moz-transform', | |
'Transform': 'transform' | |
}; |
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
using System; | |
using System.Windows.Forms; | |
namespace Script | |
{ | |
public class Script | |
{ | |
public void Main() | |
{ | |
int no = 52123456; |
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
net stop uxsms | |
net start uxsms |
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
/// C# float differences: | |
-3.40282347E+38 // float.MinValue | |
-3.402823E+38 // database | |
float.MinValue == float.Parse(float.MinValue.ToString()) // false | |
float.MinValue == Convert.ToSingle(float.MinValue) // true |
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
// GET: /Brokers/Edit/5 | |
public ActionResult Edit(Guid id) | |
{ | |
Broker broker = db.Brokers.Find(id); | |
if (broker == null) | |
{ | |
return HttpNotFound(); | |
} | |
ViewBag.BrokerValues = GetBrokerValues(broker); |
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
content/addons4-overlay.xul | 30 ++++++++++++++++++------------ | |
1 file changed, 18 insertions(+), 12 deletions(-) | |
diff --git a/content/addons4-overlay.xul b/content/addons4-overlay.xul | |
index 8016358..fc55b16 100644 | |
--- a/content/addons4-overlay.xul | |
+++ b/content/addons4-overlay.xul | |
@@ -45,18 +45,24 @@ | |
label="&Show;" accesskey="&Show.accesskey;" class="greasemonkey greasemonkeyNoHide" | |
/> |
OlderNewer