Team Foundation Build error when saving (FSharp)
You probably see past the obvious on this one if you get it. When trying to save a build definition you may get an error complaining about the FSharp assembly is missing. Don’t panic, you probably did what I did and uninstall F# thinking ‘I don’t need that!’ Well, it turns out you do Here’s…
Cumulative totals with CTE
Following on from this post, here is an alternative that uses a lot less grunt. (Using the same testtable) ;with cte (i,v,running_total) as { select i,v,v from testtable where i = 1 // initialise the first entry union all select x.i, x.v, cte.running_total + x.v from cte join testtable x on cte.i+1 = x.i }…
VM (vSphere) CLI for powering VM’s
Start with ~ # vim-cmd vmsvc/getallvms use the ID returned for the VM in question to ~ # vim-cmd vmsvc/power.getstate <ID> then ~ # vim-cmd vmsvc/power.on <ID> And we’re done… If you want to kill a machine remotely (lets say you want to shutdown your teenage daughters machine because it’s past her curfew) net…