This file contains 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 Store = function() { | |
var data = {}; | |
var keys = []; | |
return { | |
add: function(key, value) { | |
if (keys.indexOf(key) === -1) { | |
keys.push(key); | |
data[key] = value; | |
return true; | |
} |
This file contains 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 fileName = "Web.config"; | |
var number = 17; | |
var fso, fs; | |
fso = new ActiveXObject("Scripting.FileSystemObject"); | |
fs = fso.OpenTextFile(fileName, 1); | |
var text = fs.ReadAll(); | |
var textMod = text.replace(new RegExp("(<add[\\s\\S]*maxInvalidPasswordAttempts=\")[^\"]*(\\\"[^>]*>)"), "$1" + number + "$2"); | |
WScript.Echo(textMod); |
This file contains 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"?> | |
<!-- | |
For more information on how to configure your ASP.NET application, please visit | |
http://go.microsoft.com/fwlink/?LinkId=169433 | |
--> | |
<configuration> | |
<connectionStrings> | |
<add name="ApplicationServices" |
This file contains 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
// ==PREPROCESSOR== | |
// @import "%fb2k_path%scripts\marc2003\v2\common.js" | |
// @import "%fb2k_path%scripts\marc2003\v2\tooltip_buttons.js" | |
// ==/PREPROCESSOR== | |
var bw = 24; | |
var bh = 20; | |
var top_margin = 0; | |
var left_margin = 0; | |
//////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// |
This file contains 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
//Modified by Mesqalito v4 | |
// Flags, used with GdiDrawText | |
// For more information, see: http://msdn.microsoft.com/en-us/library/dd162498(VS.85).aspx | |
var DT_TOP = 0x00000000; | |
var DT_LEFT = 0x00000000; | |
var DT_CENTER = 0x00000001; | |
var DT_RIGHT = 0x00000002; | |
var DT_VCENTER = 0x00000004; | |
var DT_BOTTOM = 0x00000008; | |
var DT_WORDBREAK = 0x00000010; |