Posts

PowerShell script to automatically clone/update all repos in Kiln

Image
PowerShell Script files Download the files here . Change and replace the following url Change https://your fogbugz root url to be your root url for fogbugz. For example, if your companies fogbugz url is something like https://secure.bbc.com/FogBugz/default.asp, then your root url will be https://secure.bbc.com Obtaining a Kiln Token The first thing you need to do before you can use this script is to obtain a Kiln token. Copy and alter the following link in your browsers URL https://your fogbugz root url/FogBugz/api.asp?cmd=logon&email=[yourEmail]&password=[yourpassword] Changing the text in square brackets (and also removing the brackets). You should receive something like this: ymjt123f8882a6s7td0j8eefa6u2g8 Take the token text: ymjt123f8882a6s7td0j8eefa6u2g8 and paste it into the powerShell script (edit your local copy instead of the SVN one) Running the script Start PowerShell and run the script passing in the root path of your Kiln repos. Will it clone every...

Ecommerce site

Image
I forgot to blog about an ecommerce site I created for an artist: Shop I used Zen Cart and make my own custom template to match the main home site: www.lookonthebrightside.co.uk Website E-Commerce site

www.lizigns.com

Image
Just finished a new website for a friend called lizigns.com I played with three CMS systems: Joomla , concrete5 and finally settled on WordPress CMS system. I'm pleased with the result. It looks fresh and has all the meta tags Liz wanted. Plus is quick and snappy to use. My views on the CMS systems I tried: Jooma has good customisation of templates, and a very good admin side of things, but its actually quite slow in use. Concrete5 is excellent in everyway, apart from one major stumble. You can't modify any of the template colours in the admin panel. I couldn't find the right template I wanted, so I ditched it. WordPress . Good admin panel, so I was confident Liz could use it to edit her pages after I handed it over. And it has lots and lots of free template and plugins (like a gallery) to choose from.

Microsoft's 'Roslyn' compiler as a service project

Microsoft plans to share more information on its "Roslyn" compiler-as-a-service (CaaS) project during its annual Microsoft Research Faculty Summit this week.   Roslyn, at a high level, is Microsoft's vehicle for "taking .Net to the cloud." Microsoft's stated goal with Roslyn is to "build a compiler architecture that is amenable to use as a foundation for modern tools."   http://www.zdnet.com/blog/microsoft/…   You can do all sorts of fancy tricks with the compiler pipeline, like automatic parallelization for example.   I forsee compiler add-in companies sprouting up all over the place now. Development teams will have to agree on what add-ins to use, possibly even the ordering of the add-ins, so that the exe's match. Build-servers will have to include this technology, unless you can config the compiler+addins outside of FinalBuilder.   Overall I see this is as a good thing, a bit like Firefox+add-ins. But I fear there will be only a few...

How to stop Skype crashing upon startup

Open a command prompt and run the following: c: cd\users del shared.xml /s Now you can run skype without it crashing.

Setting the PowerShell execution policy - the trap

I was recently pulling my hair out trying to run a powerShell script in VisualStudio. I kept getting the error: "File SomeScript.ps1 cannot be loaded because the execution of scripts is disabled on this system. Please see "get-help about_signing" for more details." So I ran the script: powershell set-executionpolicy remotesigned Tried a gain, and still it fails! Only until I spoke to my developer collegue Damian Powell did he say you actually have to run that command for both x86 and x64 powershells. So I ran: C:\Windows\System32\WindowsPowerShell\v1.0\powershell set-executionpolicy remotesigned C:\Windows\SysWOW64\WindowsPowerShell\v1.0\powershell set-executionpolicy remotesigned Hey presto! All works. Thanks Damian!

Service Broker sys.transmission_queue clean up

If you’re developing a Service Broker application and you misspell your services, forget to create a master key, or do any of the many things that result in your messages not being delivered, then your transmission queue will fill up. Due to the nature of service broker, errors don't occur at the client but rather your messages go in to Service Brokers sys.transmission_queue and are then subsequently processed. If they fail, they stay in the queue. Some errors can be resolved, i.e. missing services. However, others can't, or are just plain difficult. I.e. You've misspelt something, or not used the correct security. To clear your transmission queue you need to end the conversations, this is a handy little script for doing this. Be aware this ends ALL conversations in the queue and so should NEVER be used on a production system. To see how many messages are in your transmission queue, use this SELECT   COUNT ( 1 )   FROM   sys . transmission_queue On my system i7, D...