- Check your execution policy:
PS> Get-ExecutionPolicy - The execution policy is "Restricted" by default
- Change it to "Unrestricted"
PS> Set-ExecutionPolicy Unrestricted - Then you can run your script
e.g. PS> .\scriptfile.ps1
Wednesday, May 22, 2013
Executing PowerShell script
Thursday, May 2, 2013
ESRI ArcGIS JS API version 3.4 hiding the Dojo Dnd style "dojoDndAvatar"
For ArcGIS JS API v3.4, if you include "esri.css" in your project, then your Dojo Dnd Avatar (the floating hints while you're doing drag and drop) will be disappeared.
Why? Because in "esri.css", esri.css got the following style:
.dojoDndAvatar {display: none;}
God... What the hell ESRI guys are doing ?!
Why? Because in "esri.css", esri.css got the following style:
.dojoDndAvatar {display: none;}
God... What the hell ESRI guys are doing ?!
Subscribe to:
Comments (Atom)
CSP on Apache
To add CSP to root if sort of funny. The following will NOT work for most cases !! <LocationMatch "^/$"> Header s...
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
Suppose you got a file in Big5 containing some HKSCS characters (e.g. 深水埗, 赤鱲角, etc). When your environment (Ref: Charset.defaultCharset( ) ...