Programming Challenge Day 3.

Task for today are: – Ask for a name – If its Bob/Alice, display one message – If its not Bob/Alice, display a different message. Javascript var stdIn = WScript.StdIn var str = “” stdOut.WriteLine(“Name?”); while (!stdIn.AtEndOfStream) { str = stdIn.ReadLine() if (str == “Bob”) {sayHello(str)} else if (str == “Alice”) {sayHello(str)} else {WScript.Echo (“Hello”)}… Read More »

Raspberry Pi Adventures

I gave my son a Raspberry PI this year for Christmas to see if he could make it do anything. First a couple of notes. Sometimes the HDMI output can not be plugged into a DVI convertor on older monitors. I’ve so far connected it to four seperate screens (two fairly new TVs with HDMIs),… Read More »

Programming Challenge. Day 1. Hello World

So, found this link the other day: Simple Programming Problems http://t.co/wdA3uiM8l9 I’m going to try and do all of these in Powershell, C#, Javascript and HP OO — Adrian Farnell (@techfrontierUK) December 10, 2013 (Twitter post is me, I accept that, but follow the short link :D)

Setting up Powershell Remoting (Server 2012 R2)….

….bit of an experiment this one. I wanted to set up a Windows Server 2012 R2 instance, not hooked up to Active Directory (so just in a workgroup), with a self signed certificate (mainly because I couldn’t be bothered to setup a full certificate chain).