August 5, 2014 at 17:19 · Filed under AWS
I’ve recently been working more day to day on Amazon Web Services, and I found it a little unwieldy to navigate around policy documents assigned to IAM groups.
Sometimes you just want to have a local copy of the policies to edit/play with/look at.
Therefore, I came up with a quick script to solve this. Enjoy…
Of course, the AWS SDK for Powershell is required.
I host this blog in WordPress, and it’s a great micro CMS with all the bells and whistles. I also publish and host the XML file for a podcast of the Angry Human. It’s picked up by feed burner, and then iTunes takes the feed burner RSS feed and et voila! All the Apple listeners to the show Angry Human by David Biedny get their recent shows!
I recently had an issue where I’ve moved this site from Rackspace Cloud Sites to the Godaddy Managed WordPress sites. One of the things that was happening was the URI for the podcast XML RSS feed was returning as a 404 not found; even though it was there. Nothing I tried made this thing work, and nowhere could I find other people talking about RSS XML files published alongside wordpress not working. Even adding a new .htaccess file in the subfolder on the server to turn off URL rewrites did not work.
Another client I had recently worked with wanted some SEO optimisations, and we ended up implementing the awesome WordPress SEO plugin by Joost de Valk . One of the things I had noted about this plugin on the Godaddy hosting, was that the XML site map feature used to help bots index the site, was not working. We fixed this quite easily with a commonly known fix in the .htaccess file on the WordPress host.
I had not groked this similar error until an “Aha” moment when I realised an XML file, whether it be sitemap.xml or angryhuman.xml had been invoking the same rewrite error causing a 404 not found on a valid URI for a hosted file. Double checking and I had indeed implemented WordPress SEO plugin on this site.
The root cause: any self published XML file outside of the standard wordpress folders on a GoDaddy Managed WordPress Site – will return a 404 not found if you are using WordPress 3.9 and WordPress SEO by Yoast.
Therefore the fix in this case for my self published XML feed for Angry Human was adding this to the .htaccess:
February 20, 2014 at 13:41 · Filed under unix
I came across a useful bash alias. I don’t know where. I’ll call it dureport.
alias dureport='du -sdk * | awk '\''{printf "%12d\t%s\n", $1, substr($0,index($0,$2),80)}'\'' |sort -r'
Everyone loves automated processes.
With BizTalk 2013 if you want to provide a repeatable install; you need automation. PowerShell is where it’s at.
Lucky for me, other very skilled people already have written PowerShell scripts providing the capability to create hosts and host instances. Sandro Pereira has written and published a PowerShell script to create your BizTalk host instances based upon the best practice of host separation. However, it’s only written for BizTalk 2010.
I’ve gone and modified it for BizTalk 2013. It provides the exact same capability, with BizTalk 2013 capabilities.
This includes new Receive Port Handlers:
- SB-Messaging
- SFTP
- WCF-BasicHttpRelay
- WCF-NetTcpRelay
And New Send Port Handlers:
- SB-Messaging
- SFTP
- WCF-BasicHttpRelay
- WCF-NetTcpRelay
- WCF-WebHttp (the new adapter supporting REST)
The diff to the BTS2010 version from Sandro is:
You can grab my updated BizTalk 2013 script over at my BizTalk 2013 GitHub repository.
« Previous entries ·
Next entries »