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
//////////////////////////////////////////////////////////////////////////////// | |
// | |
// JASPER BLUES | |
// Copyright 2013 Jasper Blues | |
// All Rights Reserved. | |
// | |
// NOTICE: Jasper Blues permits you to use, modify, and distribute this file | |
// in accordance with the terms of the license agreement accompanying it. | |
// | |
//////////////////////////////////////////////////////////////////////////////// |
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
<?xml version="1.0" encoding="UTF-8"?> | |
<project name="get-machine-name" default="default"> | |
<target name="default"> | |
<exec executable="hostname" outputproperty="computer.hostname"/> | |
<echo level="info">${computer.hostname}</echo> | |
</target> | |
</project> |
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 getNumberOfDays ( year, month ) | |
{ | |
return 32 - new Date(year, month, 32).getDate(); | |
} |
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
<?xml version="1.0"?> | |
<root> | |
<appdef> | |
<appname>Intellij</appname> | |
<equal>com.jetbrains.intellij</equal> | |
</appdef> | |
<appdef> | |
<appname>SUBLIME</appname> |
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
static function Main() | |
{ | |
var today: Date = new Date(); | |
FiddlerObject.StatusText = " CustomRules.js was loaded at: " + today; | |
//*/ | |
FiddlerObject.UI.lvSessions.AddBoundColumn("Client IP", 120, "x-clientIP"); | |
//*/ | |
} |
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
static function OnBeforeRequest(oSession: Session) | |
{ | |
//*/ | |
if (oSession["X-CLIENTIP"] != null && oSession["X-CLIENTIP"].EndsWith("ffff:127.0.0.1")) | |
{ | |
oSession["ui-hide"]="hiding local host"; //String value not important | |
} | |
//*/ | |
// remainder ... |
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.onerror = function ( descr, script, loc ) | |
{ | |
console.log("!!!!!!!!!!!"); | |
console.log("!!! ERROR: " + JSON.stringify( { description: descr, script: script, line: loc } )); | |
console.log("!!!!!!!!!!!"); | |
/*/ | |
return true; //stops error propagation | |
//*/ | |
}; |