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
| Windows Registry Editor Version 5.00 | |
| [HKEY_CURRENT_USER\Software\ConEmu\.Vanilla\Tasks] | |
| "Count"=dword:00000009 | |
| [HKEY_CURRENT_USER\Software\ConEmu\.Vanilla\Tasks\Task1] | |
| "Name"="{PowerShell}" | |
| "GuiArgs"="/single /Dir %userprofile%" | |
| "Cmd1"="%SystemRoot%\\system32\\WindowsPowerShell\\v1.0\\powershell.exe" | |
| "Active"=dword:00000000 |
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
| # Loosely based on http://www.vistax64.com/powershell/202216-display-image-powershell.html | |
| [void][reflection.assembly]::LoadWithPartialName("System.Windows.Forms") | |
| $file = (get-item 'C:\Users\Public\Pictures\Sample Pictures\Chrysanthemum.jpg') | |
| #$file = (get-item "c:\image.jpg") | |
| $img = [System.Drawing.Image]::Fromfile($file); | |
| # This tip from http://stackoverflow.com/questions/3358372/windows-forms-look-different-in-powershell-and-powershell-ise-why/3359274#3359274 |
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
| /* | |
| * object.watch polyfill | |
| * | |
| * 2012-04-03 | |
| * | |
| * By Eli Grey, http://eligrey.com | |
| * Public Domain. | |
| * NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. | |
| */ |
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 getAFuckingLifeYouAsshatMonkeyShitHurler() { | |
| var null = ''; | |
| var methodProxy = javacast('null',chr(0)); | |
| var args = {1='scum sucking asshat-wearing Neanderfuck'}; | |
| var ctx = getPageContext().getFusionContext(); | |
| ctx.parent._set('methodProxy', ctx.parent.createObject('java','coldfusion.runtime.java.JavaProxy').init( ctx.parent._autoscalarize( ctx.parent._get('plainOldComponent').echo )) ); | |
| actual = methodProxy.invoke(null, null, ctx.parent, args); | |
| debug(actual); | |
| assertEquals( 'scum sucking asshat-wearing Neanderfuck' , actual ); | |
| } |
NewerOlder