<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ben Harris</title>
	<atom:link href="http://www.ben90.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ben90.com</link>
	<description>Not just another wordpress blog</description>
	<lastBuildDate>Fri, 17 Jan 2020 18:59:33 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=5.3.21</generator>
	<item>
		<title>Screenshot video renders</title>
		<link>http://www.ben90.com/2020/01/screenshot-video-renders/</link>
				<comments>http://www.ben90.com/2020/01/screenshot-video-renders/#respond</comments>
				<pubDate>Fri, 17 Jan 2020 18:57:44 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ben90.com/?p=495</guid>
				<description><![CDATA[As appears to be the way, it has been quite some years since I last got around to writing here, but here we are again! This week, I came across a really cool system for generating videos from website screenshots. I was looking to create a promo video, but don&#8217;t have any software to do [&#8230;]]]></description>
								<content:encoded><![CDATA[
<p>As appears to be the way, it has been quite some years since I last got around to writing here, but here we are again!</p>



<p>This week, I came across a really cool system for generating videos from website screenshots. I was looking to create a promo video, but don&#8217;t have any software to do it locally. I found quite a few after effects templates, but it seemed like a lot of work and money for a simple, short video.</p>



<p><a href="https://www.renderforest.com/templates">Renderforest</a> to the rescue! With their system, I was able to create a really cool video in no time at all. Highly recommended and well worth checking out. One of their demos below:</p>



<figure class="wp-block-embed-vimeo wp-block-embed is-type-video is-provider-vimeo wp-embed-aspect-16-9 wp-has-aspect-ratio"><div class="wp-block-embed__wrapper">
<iframe title="Modern Mobile App Kit" src="https://player.vimeo.com/video/305182622?dnt=1&amp;app_id=122963" width="500" height="281" frameborder="0" allow="autoplay; fullscreen" allowfullscreen></iframe>
</div></figure>



<p>Until next time&#8230;</p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2020/01/screenshot-video-renders/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Fixing Download Permissions on QNAP NAS</title>
		<link>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/</link>
				<comments>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/#respond</comments>
				<pubDate>Sun, 03 Feb 2013 23:03:54 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ben90.com/?p=476</guid>
				<description><![CDATA[I have a QNAP 419P+ at home that I use for all of my media, backups etc. I had been using one of the integrated media downloaders, but for some reasons the permissions were always set so that my Raspberry Pi (Raspbmc) media receiver couldn&#8217;t go inside the download directories. Now running the command set_volume_mode Download [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>I have a QNAP 419P+ at home that I use for all of my media, backups etc. I had been using one of the integrated media downloaders, but for some reasons the permissions were always set so that my Raspberry Pi (Raspbmc) media receiver couldn&#8217;t go inside the download directories. Now running the command <code>set_volume_mode Download</code> was enough to fix is in each case, but I wanted a more permanent solution. My solution was to create a cron that ran every minute or so such that it would fix all the media downloads as soon as they were downloaded. Now it is possible to just edit the cron on the NAS (with a <code>crontab -e</code>), but these changes were getting wiped on every reboot!! So anyway, the solution turned up on the <a href="http://wiki.qnap.com/wiki/Add_items_to_crontab">QNAP Wiki</a>. The trick is to add your cron to the crontab file at <code>/etc/config/crontab</code>, reload the crontab with <code>crontab /etc/config/crontab</code> and then restart the cron with <code>/etc/init.d/crond.sh restart</code>.</p>
<p>For reference, my cron line is <code>*/1 * * * * set_volume_mode Download</code> which runs the command every minute. This may be a little un-necessary, but the script runs in a second or less and i&#8217;ve not seen any negative impact on the NAS.</p>
<p>As usual, if you follow these instructions, I take no responsibility for damage caused to persons, property, etc. You follow my instructions completely at your own risk. Bla bla bla :-p.</p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2013/02/fixing-download-permissions-on-qnap-nas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Resizing EBS Root Device on Amazon AWS EC2 Instance</title>
		<link>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/</link>
				<comments>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/#respond</comments>
				<pubDate>Tue, 15 Jan 2013 13:15:12 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://www.ben90.com/?p=472</guid>
				<description><![CDATA[This is just a quick one as I&#8217;m working hard on a big migration at the moment, but I&#8217;m sure it will come in handy in the future and with others. So we were having problems with the EBS disk being full, so I decided to up the disk space. The process is really quite [&#8230;]]]></description>
								<content:encoded><![CDATA[<p><img class="alignright size-medium wp-image-473" alt="aws[1]" src="http://www.ben90.com/wp-content/uploads/2013/01/aws1-300x109.png" width="300" height="109" srcset="http://www.ben90.com/wp-content/uploads/2013/01/aws1-300x109.png 300w, http://www.ben90.com/wp-content/uploads/2013/01/aws1-1024x373.png 1024w, http://www.ben90.com/wp-content/uploads/2013/01/aws1.png 1034w" sizes="(max-width: 300px) 100vw, 300px" />This is just a quick one as I&#8217;m working hard on a big migration at the moment, but I&#8217;m sure it will come in handy in the future and with others. So we were having problems with the EBS disk being full, so I decided to up the disk space. The process is really quite simple.</p>
<ol>
<li><span style="line-height: 13px;" data-mce-mark="1">Login to AWS -&gt; EC2</span></li>
<li>Shut down your EC2 instance</li>
<li>Click Snapshots on the left hand side and create a snapshot of your main root ebs volume</li>
<li>Once completed, click volumes on the left and create a new volume (with the new disk size and the snapshot you just created)</li>
<li>On the volumes page, make a note of the disk location (probably /dev/sda1)</li>
<li>Detach the smaller volume</li>
<li>Attach the larger volume (using the the ref noted above (probably /dev/sda1))</li>
<li>Boot the EC2 instance</li>
<li>Now login to the EC2 instance. If you run <code>df -h</code>, you will see the disk still thinks it is the same size as before. Make a note of the Filesystem (probably /dev/xvda1)</li>
<li>Run <code>resize2fs -p /dev/xvda1</code> where /dev/xvda1 is the Filesystem noted above</li>
<li>run <code>df -h</code>. You should now see that the main partition is the size of the new volume you created.</li>
</ol>
<p>As always, I accept no responsibility for damage caused, loss of data, loss of anything. You use these instructions at your own risk.</p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2013/01/resizing-ebs-root-device-on-amazon-aws-ec2-instance/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Configuring VoipCheap.co.uk Account on Elastix</title>
		<link>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/</link>
				<comments>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/#comments</comments>
				<pubDate>Tue, 31 Jan 2012 15:08:26 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=426</guid>
				<description><![CDATA[I&#8217;ve gone rather mad with VoIP configurations since I decided to move to using my own PBX for my personal and business telephony. My choice of installation was Elastix, mostly because it looks nice, but it works really well. These details will work with pretty much any other Asterisk PBX such as Trixbox though. Right, [&#8230;]]]></description>
								<content:encoded><![CDATA[<p><div id="attachment_428" style="width: 240px" class="wp-caption alignright"><img aria-describedby="caption-attachment-428" class="size-full wp-image-428" title="Elastix Logo" src="http://ben90.com/wp-content/uploads/2012/01/elastix_logo1.gif" alt="Elastix Logo" width="230" height="85" /><p id="caption-attachment-428" class="wp-caption-text">Elastix Logo</p></div></p>
<p>I&#8217;ve gone rather mad with VoIP configurations since I decided to move to using my own PBX for my personal and business telephony. My choice of installation was Elastix, mostly because it looks nice, but it works really well. These details will work with pretty much any other Asterisk PBX such as Trixbox though. Right, so let&#8217;s setup the SIP trunk. The details you need to set are as follows:</p>
<p>Maximum Channels: 2</p>
<p>PEER Details:<br />
<code>allow=alaw&amp;ulaw&amp;G.726&amp;gsm&amp;g729&amp;g723&amp;g777<br />
canreinvite=no<br />
context=from-trunk<br />
disallow=all<br />
dtmfmode=rfc2833<br />
fromdomain=sip.voipcheap.com<br />
fromuser=<strong>USERNAME</strong><br />
host=sip.voipcheap.com<br />
insecure=very<br />
nat=YES<br />
port=5060<br />
qualify=yes<br />
secret=<strong>PASSWORD</strong><br />
srvlookup=yes<br />
type=peer<br />
username=<strong>USERNAME</strong></code></p>
<p>User Context: leave blank</p>
<p>User Details: clear so it&#8217;s blank</p>
<p>Register String: <strong>USERNAME</strong>:<strong>PASSWORD</strong>@sip.voipcheap.com/<strong>USERNAME</strong></p>
<p>So long as you have replaced all of the USERNAME&#8217;s and PASSWORDS with your VoipCheap ones, you should be laughing. Remember that to dial out, you will need to setup and outbound route!</p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2012/01/configuring-voipcheap-co-uk-account-on-elastix/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
							</item>
		<item>
		<title>Change Domain within WordPress Posts</title>
		<link>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/</link>
				<comments>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/#comments</comments>
				<pubDate>Fri, 16 Dec 2011 01:30:36 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=413</guid>
				<description><![CDATA[I find myself using WordPress more and more for client websites. Since 90% of the time, I develop on a dev domain, it means that the links inserted by WordPress point to the dev domain which presents an issue when it&#8217;s time to hold your breath and take the new site live on the clients [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>I find myself using WordPress more and more for client websites. Since 90% of the time, I develop on a dev domain, it means that the links inserted by WordPress point to the dev domain which presents an issue when it&#8217;s time to hold your breath and take the new site live on the clients domain. So anyway, a useful query to update the old domain to the new domain in all of the sites&#8217;s posts is as follows:</p>
<p>&nbsp;</p>
<p><code>UPDATE wp_posts SET post_content = REPLACE (post_content, 'OLD_DOMAIN', 'NEW_DOMAIN');</code></p>
<p>&nbsp;</p>
<p>If you are running on a WP Multi-site installation, you&#8217;ll need to replace &#8220;wp_posts&#8221; with something like &#8220;wp_SITEID_posts&#8221; (e.g. wp_19_posts).</p>
<p>I hope someone will find this useful. Remember to always backup your database before you run any updates or changes just in case it goes wrong <img src="https://s.w.org/images/core/emoji/12.0.0-1/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2011/12/change-domain-within-wordpress-posts/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
							</item>
		<item>
		<title>SSHD Failed to start on fresh VPS</title>
		<link>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/</link>
				<comments>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/#respond</comments>
				<pubDate>Mon, 27 Jun 2011 22:42:05 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[General]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=389</guid>
				<description><![CDATA[After trying to start ssh on a fresh VPS, I got the following error message: sh-3.2# service sshd start Starting sshd: Could not load host key: /etc/ssh/ssh_host_rsa_key Could not load host key: /etc/ssh/ssh_host_dsa_key Disabling protocol version 2. Could not load host key sshd: no hostkeys available &#8212; exiting. [FAILED] The fix is simple, just run [&#8230;]]]></description>
								<content:encoded><![CDATA[<p>After trying to start ssh on a fresh VPS, I got the following error message:</p>
<p>sh-3.2# service sshd start<br />
Starting sshd: Could not load host key: /etc/ssh/ssh_host_rsa_key<br />
Could not load host key: /etc/ssh/ssh_host_dsa_key<br />
Disabling protocol version 2. Could not load host key<br />
sshd: no hostkeys available &#8212; exiting.<br />
[FAILED]</p>
<p>The fix is simple, just run the following commands, then try and start it again and it should work</p>
<p>ssh-keygen -t rsa1 -f /etc/ssh/ssh_host_key -N &#8220;&#8221;<br />
ssh-keygen -t dsa -f /etc/ssh/ssh_host_dsa_key -N &#8220;&#8221;<br />
ssh-keygen -t rsa -f /etc/ssh/ssh_host_rsa_key -N &#8220;&#8221;</p>
]]></content:encoded>
							<wfw:commentRss>http://www.ben90.com/2011/06/sshd-failed-to-start-on-fresh-vps/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
							</item>
		<item>
		<title>Import BCP output file into MySQL database</title>
		<link>http://www.ben90.com/2011/06/import-bcp-output-file-into-mysql-database/</link>
				<comments>http://www.ben90.com/2011/06/import-bcp-output-file-into-mysql-database/#comments</comments>
				<pubDate>Sun, 19 Jun 2011 14:34:31 +0000</pubDate>
		<dc:creator><![CDATA[Ben]]></dc:creator>
				<category><![CDATA[MySQL]]></category>
		<category><![CDATA[BCP]]></category>
		<category><![CDATA[MSSQL]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://ben90.com/?p=379</guid>
				<description><![CDATA[