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
| javascript:(function(){document.documentElement.style += "; filter: invert(0.9) hue-rotate(180deg); background-color: rgba(0,0,0,.9);"; document.head.innerHTML += "<style>img, video{filter: invert(1) hue-rotate(180deg);}</style>";}()) |
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
| <!-- Copied from Microsoft.Common.CurrentVersion.targets --> | |
| <Target | |
| Name="_DeploymentSignClickOnceDeployment"> | |
| <!-- Sign manifests and the bootstrapper --> | |
| <SignFile | |
| CertificateThumbprint="$(_DeploymentResolvedManifestCertificateThumbprint)" | |
| TimestampUrl="$(ManifestTimestampUrl)" | |
| SigningTarget="$(_DeploymentApplicationDir)$(_DeploymentTargetApplicationManifestFileName)" | |
| TargetFrameworkVersion="v4.0" |
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
| var telemetryWindow = window.open(null, "telemetry").document.body; | |
| telemetryWindow.style = "font-family: monospace; white-space: pre;"; | |
| var stages = [ | |
| { end: 6005, control: { thrust: 0, rcs: { pitch: 0, yaw: 0 }}}, | |
| { end: 291, control: { thrust: 1, rcs: { pitch: 0, yaw: 0.022 }}}, | |
| { end: 291, control: { thrust: 0, rcs: { pitch: 0, yaw: -0.022 }}}, | |
| { end: 2300, control: { thrust: 0, rcs: { pitch: 0, yaw: 0.00008 }}}, | |
| { end: 100, control: { thrust: 1, rcs: { pitch: 0, yaw: 0 }}}, | |
| { end: -1, control: { thrust: 0, rcs: { pitch: 0, yaw: 0.0 }}} |
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
| .gauge { | |
| display: inline-block; | |
| position: relative; | |
| width: 2em; | |
| height: 1em; | |
| overflow: hidden; | |
| border-top-left-radius: 1em; |
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
| window.onload = function () { | |
| var html = document.body.innerHTML; | |
| var tags = ["SECTION", "HEADER", "FOOTER", "ARTICLE", "NAV", "ASIDE", "section", "header", "footer", "article", "nav", "aside"]; | |
| for(var i = 0; i<tags.length; i++) { | |
| var match; | |
| while(match = html.indexOf("<" + tags[i]) != -1) { | |
| html = html.replace("<" + tags[i], "<DIV class='html-" + tags[i].toLowerCase() + "'><DIV"); | |
| } |
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
| // Delete nameless cookies (do not use DeleteCookieNamed method as it has a glitch that removes too many cookies when using empty name) | |
| (driver as OpenQA.Selenium.Remote.RemoteWebDriver).ExecuteScript("document.cookie = '; expires=Thu, 01 Jan 1970 00:00:00 GMT';"); | |
| // Won't throw exception | |
| driver.Manage().Cookies.AllCookies |
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
| /* | |
| Returns a wrapped deferred object with a new cancel method | |
| Note: All done callback parameters are wrapped in arrays from each deferred | |
| */ | |
| $.asCancellableDeferred = function (dfr) { | |
| var cancelFuse = $.Deferred(); | |
| // If the original deferred is resolved before it is canceled, defuse the cancel trigger | |
| // to allow the done operation to be notified across all handlers |