Thursday, August 25, 2016

taxonomy

i was getting cant do toString on null erros when accessing taxonomy.

I thought the problem was that there wasn't a default taxanomy - but the real reason was I forget to add a reference to taxonomy.js

Thursday, August 11, 2016

powershell permissions to execute

I had to add this to commnd line

PS > powershell -ExecutionPolicy ByPass -File blah.ps1


adding to file permissions did not help

Tuesday, August 9, 2016

add jquery to console script

var jq = document.createElement('script');
jq.src = "https://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js";
document.getElementsByTagName('head')[0].appendChild(jq);

Monday, August 8, 2016

wpf center a popup

PowerOff PO = new PowerOff();
            PO.Owner = Application.Current.MainWindow;            PO.WindowStartupLocation = WindowStartupLocation.CenterOwner;

            PO.Show();

Thursday, August 4, 2016

$http.get

will fail on local files - test on web server

Wednesday, August 3, 2016

add handler mapping on windows 7 iis

iaspi module was here
C:\Windows\Microsoft.NET\Framework\v4.0.30319\aspnet_isapi.dll

HTTP Error 401.3 - Unauthorized

on local - make sure IUSR has rights to folder