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.Diagnostics; | |
| using System.IO; | |
| using System.Linq; | |
| using Microsoft.Win32; | |
| namespace skat.Printserver | |
| { | |
| /// <summary> | |
| /// A wrapper around Adobe Acrobat Reader that helps to print PDF files. |
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
| if(!$credential){ | |
| $credential = Get-Credential | |
| } | |
| $baseurl = 'http://zabbix.global.root' | |
| $params = @{ | |
| body = @{ | |
| "jsonrpc"= "2.0" | |
| "method"= "user.login" | |
| "params"= @{ | |
| "user"= $credential.UserName |
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
| ################################################################################################################################ | |
| # | |
| # Script Name : SmoDb | |
| # Version : 1.0 | |
| # Author : Vince Panuccio | |
| # Purpose : | |
| # This script generates one SQL script per database object including Stored Procedures,Tables,Views, | |
| # User Defined Functions and User Defined Table Types. Useful for versionining a databsae in a CVS. | |
| # | |
| # Usage : |
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
| <# | |
| .SYNOPSIS | |
| Converts files to the given encoding. | |
| Matches the include pattern recursively under the given path. | |
| .EXAMPLE | |
| Convert-FileEncoding -Include *.js -Path scripts -Encoding UTF8 | |
| #> | |
| function Convert-FileEncoding([string]$Include, [string]$Path, [string]$Encoding='UTF8') { | |
| $count = 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
| /***************** | |
| * bossFight.js * | |
| ***************** | |
| * | |
| * NO FARTHER, DR. EVAL!!!! | |
| * YOU WILL NOT GET OUT OF HERE ALIVE!!!! | |
| * IT'S TIME YOU SEE MY TRUE FORM!!!! | |
| * FACE MY ROBOT WRATH!!!!! | |
| */ |
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
| /**************************** | |
| * documentObjectMadness.js * | |
| **************************** | |
| * | |
| * I can't believe it! I can't believe you made it onto | |
| * Department of Theoretical Computation's web server! | |
| * YOU SHOULD HAVE BEEN DELETED! This shouldn't even be | |
| * possible! What the hell were the IT folks thinking? | |
| * | |
| * No matter. I still have the Algorithm. That's the |
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
| /********************** | |
| * superDrEvalBros.js * | |
| ********************** | |
| * | |
| * You're still here?! Well, Dr. Eval, let's see | |
| * how well you can operate with one less dimension. | |
| * | |
| * Give up now. Unless you have a magic mushroom | |
| * up your sleeve, it's all over. | |
| */ |
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
| /*************** | |
| * pointers.js * | |
| *************** | |
| * | |
| * You! How are you still alive? | |
| * | |
| * Well, no matter. Good luck getting through this | |
| * maze of rooms - you'll never see me or the Algorithm again! | |
| */ |
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
| /******************** | |
| * theLongWayOut.js * | |
| ******************** | |
| * | |
| * Well, it looks like they're on to us. The path isn't as | |
| * clear as I thought it'd be. But no matter - four clever | |
| * characters should be enough to erase all their tricks. | |
| */ | |
| function startLevel(map) { |
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
| /**************** | |
| * drones101.js * | |
| **************** | |
| * | |
| * Do you remember, my dear Professor, a certain introductory | |
| * computational rationality class you taught long ago? Assignment | |
| * #2, behavior functions of autonomous agents? I remember that one | |
| * fondly - but attack drones are so much easier to reason about | |
| * when they're not staring you in the face, I would imagine! |
NewerOlder