- 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:
Posts (Atom)
Sync multiple git repo at once
Use the following command in Linux will do the job: ls -d RepoNames* | xargs -I{} git -C {} pull
-
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 ...
-
To count the number lines of files / stdout in Linux, we uses "wc -l" to achieve. In Windows, we use the following instead: find...