<?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>tools Archives - Cube Websites</title>
	<atom:link href="https://cubewebsites.com/tag/tools-2/feed/" rel="self" type="application/rss+xml" />
	<link>https://cubewebsites.com/tag/tools-2/</link>
	<description>web design and development</description>
	<lastBuildDate>Tue, 03 Jan 2023 12:30:23 +0000</lastBuildDate>
	<language>en-GB</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>

<image>
	<url>https://cubewebsites.com/wp-content/uploads/2019/04/cropped-favicon-32x32.png</url>
	<title>tools Archives - Cube Websites</title>
	<link>https://cubewebsites.com/tag/tools-2/</link>
	<width>32</width>
	<height>32</height>
</image> 
	<item>
		<title>How To: Check Which Docker Container Is Using A Port</title>
		<link>https://cubewebsites.com/guides/how-to-check-which-docker-container-is-using-a-port/</link>
					<comments>https://cubewebsites.com/guides/how-to-check-which-docker-container-is-using-a-port/#respond</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Tue, 03 Jan 2023 12:30:23 +0000</pubDate>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[docker]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">https://cubewebsites.com/?p=1197</guid>

					<description><![CDATA[<p>This morning I had a Docker service fail to start. On inspection of the error, it turned out it was because the port was in use by another service. In this particular case, my Docker service was trying to use port 8029 so that&#8217;s what I&#8217;ve used in the examples below. This searches through your [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/guides/how-to-check-which-docker-container-is-using-a-port/">How To: Check Which Docker Container Is Using A Port</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[
<p>This morning I had a Docker service fail to start.  On inspection of the error, it turned out it was because the port was in use by another service.  In this particular case, my Docker service was trying to use port 8029 so that&#8217;s what I&#8217;ve used in the examples below.</p>



<pre class="wp-block-code"><code>docker ps | grep 8029</code></pre>



<p>This searches through your docker containers, and finds any that are running on port 8029.  The output should look like this:</p>



<pre class="wp-block-code"><code>fec0c35f0b2d directus/directus:latest "docker-entrypoint.s…" 15 minutes ago Up 5 minutes 127.0.0.1:8029->8055/tcp directus-example</code></pre>



<p>In the above example you can see that port 8029 was identified to be in use by the directus-example container.  It turns out I did a test install of Directus on that port, and then forgot to delete it.</p>



<p>Stop the docker container:</p>



<pre class="wp-block-code"><code>docker stop fec0c35f0b2d</code></pre>



<p>The container ID (<code>fec0c35f0b2d</code>) used above is from the first command which provided the container ID</p>



<p>Delete the docker container. In my case I no longer needed this Directus container, so I deleted the container too.  If you need to keep your container, then just change its configuration to run on a different port that doesn&#8217;t clash.</p>



<pre class="wp-block-code"><code>docker rm fec0c35f0b2d</code></pre>



<p>With this complete, I was able to start the Docker container that&#8217;s actually supposed to be running on port 8029 with no issues.</p>



<p>In my case I knew that the port would be used by Docker because I use that port range for Docker only.  If you don&#8217;t know for sure that it&#8217;s Docker using the port, then you can use the following to check which service is using the port.  Note that you will need sudo access to run this.</p>



<pre class="wp-block-code"><code>sudo netstat -tulpn | grep 8029</code></pre>



<p>The output from this should tell you which service is using that port.</p>
<p>The post <a href="https://cubewebsites.com/guides/how-to-check-which-docker-container-is-using-a-port/">How To: Check Which Docker Container Is Using A Port</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/guides/how-to-check-which-docker-container-is-using-a-port/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>FIX: Vagrant php-memcached error</title>
		<link>https://cubewebsites.com/development/fix-vagrant-php-memcached-error/</link>
					<comments>https://cubewebsites.com/development/fix-vagrant-php-memcached-error/#respond</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Thu, 14 Jan 2016 16:57:16 +0000</pubDate>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[vagrant]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=450</guid>

					<description><![CDATA[<p>I normally use PuPHPet to configure my Vagrant boxes. On my latest box using CentOS 5.6 the setup worked normally, but when trying to run my application I was getting the Class &#8216;Memcache&#8217; not found error. Usually this is a simple fix, just go in and type: sudo yum install -y php-memcached However, this time [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/development/fix-vagrant-php-memcached-error/">FIX: Vagrant php-memcached error</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>I normally use PuPHPet to configure my Vagrant boxes.<br />
On my latest box using CentOS 5.6 the setup worked normally, but when trying to run my application I was getting the Class &#8216;Memcache&#8217; not found error.</p>
<p>Usually this is a simple fix, just go in and type:</p>
<p><code>sudo yum install -y php-memcached</code></p>
<p>However, this time round the above was giving me the following error:</p>
<p><code>Transaction Check Error:<br />
  file /usr/lib64/libhashkit.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.centos6.x86_64<br />
  file /usr/lib64/libmemcached.so.11.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.centos6.x86_64<br />
  file /usr/lib64/libmemcachedutil.so.2.0.0 conflicts between attempted installs of libmemcached-last-libs-1.0.18-2.el6.remi.x86_64 and libmemcached10-1.0.16-1.ius.centos6.x86_64</code></p>
<p>After smashing my head against the desk a few times during numerous attempts at installing the module, reprovisioning the vagrant box and anything else I could think of doing to fix it, I tried something that hadn&#8217;t occurred to me before; to install the dependency it was complaining about first.</p>
<p>Using the following commands fixed my issue, and should also work for you:<br />
<code><br />
sudo yum install -y libmemcached-last<br />
sudo yum install -y php-memcached<br />
sudo service php-fpm restart<br />
</code></p>
<p>Hope this helps!</p>
<p>The post <a href="https://cubewebsites.com/development/fix-vagrant-php-memcached-error/">FIX: Vagrant php-memcached error</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/development/fix-vagrant-php-memcached-error/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Impress.js &#8211; A JavaScript Presentation Library</title>
		<link>https://cubewebsites.com/development/javascript/impress-js-a-javascript-presentation-library/</link>
					<comments>https://cubewebsites.com/development/javascript/impress-js-a-javascript-presentation-library/#comments</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Tue, 03 Jan 2012 21:28:42 +0000</pubDate>
				<category><![CDATA[JavaScript]]></category>
		<category><![CDATA[impress]]></category>
		<category><![CDATA[library]]></category>
		<category><![CDATA[presentation]]></category>
		<category><![CDATA[prezi]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=350</guid>

					<description><![CDATA[<p>If you’ve ever come across Prezi you may have been slightly wow-ed by it’s amazing little transition effects as you browse through each little presentation. Now, there’s a free and open-source JavaScript library called Impress.js (the author says no rhyme intended!) which will blow your mind.  It’s a JavaScript adaptation of Prezi (which uses Flash), [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/development/javascript/impress-js-a-javascript-presentation-library/">Impress.js &#8211; A JavaScript Presentation Library</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>If you’ve ever come across <a href="http://prezi.com/" rel="nofollow" target="_blank">Prezi</a> you may have been slightly wow-ed by it’s amazing little transition effects as you browse through each little presentation.</p>
<p><img decoding="async" style="display: inline;" title="image" src="http://www.cubewebsites.com/blog/wp-content/uploads/2012/01/image1.png" alt="image" width="700" height="501" /></p>
<p>Now, there’s a free and open-source JavaScript library called Impress.js (the author says no rhyme intended!) which will blow your mind.  It’s a JavaScript adaptation of Prezi (which uses Flash), which uses CSS3 transforms and transitions to create really cool effects similar to those on Prezi, and on top of that it’s also uses CSS3 3D animations which takes things one-step further and lets you have 3D effects in your presentation too.</p>
<p>The downside is that at the moment it’s only guaranteed to work on the latest versions of Chrome and Safari.  Non-webkit browsers do have a fall-back mode, which is a simple display of the slides but without any of the animation.  It does work with the alpha versions of Firefox 10 and IE10 builds, so once those are out the browser support will be much better.</p>
<p>Whilst the browser requirements may be a deterrent for most folks, it’s amazing to see what can be achieved using CSS3 and maybe highlights the shape of things to come.</p>
<p>It’s certainly worth bookmarking and having a play with.</p>
<p><a href="http://bartaz.github.com/impress.js/" rel="nofollow" target="_blank">Click here for a live demo</a> (use Chrome or Safari)<br />
<a href="https://github.com/bartaz/impress.js" target="_blank">Source code on GitHub</a></p>
<p>The post <a href="https://cubewebsites.com/development/javascript/impress-js-a-javascript-presentation-library/">Impress.js &#8211; A JavaScript Presentation Library</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/development/javascript/impress-js-a-javascript-presentation-library/feed/</wfw:commentRss>
			<slash:comments>3</slash:comments>
		
		
			</item>
		<item>
		<title>SimpLESS &#8211; A Free Open-Source LESS CSS Compiler</title>
		<link>https://cubewebsites.com/development/tools/simpless-a-free-open-source-less-css-compiler/</link>
					<comments>https://cubewebsites.com/development/tools/simpless-a-free-open-source-less-css-compiler/#respond</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Thu, 29 Dec 2011 17:10:13 +0000</pubDate>
				<category><![CDATA[CSS]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[less]]></category>
		<category><![CDATA[open-source]]></category>
		<category><![CDATA[simpless]]></category>
		<category><![CDATA[tools]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=318</guid>

					<description><![CDATA[<p>Less CSS is a great way to develop your stylesheets for websites.  It lets you create nested rules, specify variables, functions and so much more. To use Less on a website you have 2 options: Use JavaScript to compile on-the-fly.  This isn&#8217;t really recommended as you&#8217;re now relying on JavaScript for your website to look [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/development/tools/simpless-a-free-open-source-less-css-compiler/">SimpLESS &#8211; A Free Open-Source LESS CSS Compiler</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p><a href="http://lesscss.org/">Less CSS</a> is a great way to develop your stylesheets for websites.  It lets you create nested rules, specify variables, functions and so much more.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-319" title="less" src="http://www.cubewebsites.com/blog/wp-content/uploads/2011/12/less.jpg" alt="" width="391" height="282" srcset="https://cubewebsites.com/wp-content/uploads/2011/12/less.jpg 391w, https://cubewebsites.com/wp-content/uploads/2011/12/less-300x216.jpg 300w" sizes="(max-width: 391px) 100vw, 391px" /></p>
<p>To use Less on a website you have 2 options:</p>
<ol>
<li>Use JavaScript to compile on-the-fly.  This isn&#8217;t really recommended as you&#8217;re now relying on JavaScript for your website to look the way it should.  It also creates additional overhead as your page needs to load in the JS file, load your less stylesheet and finally render your stylesheet by parsing it through the Less Javascript library.</li>
<li>Compile your Less stylesheet into CSS, and include is as a normal stylesheet.</li>
</ol>
<p>The compilation method is obviously the best option as you get the benefits of using Less, and then using it as any other CSS stylesheet.</p>
<p>Whilst the compiled method might be great for when you&#8217;ve finished developing, during development you&#8217;d still have to use the Less JS method or compile your Less file into CSS each time you make modifications, which can easily become tedious.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-320" title="simpless" src="http://www.cubewebsites.com/blog/wp-content/uploads/2011/12/simpless.jpg" alt="" width="215" height="50" /></p>
<p>This is where SimpLESS comes in.  SimpLess is real-time Less compiler.  You simply drag and drop your less file(s) into the app, and it recompiles your Less file into a CSS file every time you save it.</p>
<p><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-321" title="simpless-app" src="http://www.cubewebsites.com/blog/wp-content/uploads/2011/12/simpless-app.jpg" alt="" width="332" height="306" srcset="https://cubewebsites.com/wp-content/uploads/2011/12/simpless-app.jpg 332w, https://cubewebsites.com/wp-content/uploads/2011/12/simpless-app-300x276.jpg 300w, https://cubewebsites.com/wp-content/uploads/2011/12/simpless-app-325x300.jpg 325w" sizes="(max-width: 332px) 100vw, 332px" /></p>
<p>This app is totally free, open-source and available on Windows, Mac and Linux. As well as doing the compilation, it minifies your CSS too saving you precious bytes during HTTP requests.</p>
<p><a href="http://wearekiss.com/simpless">Download SimpLESS</a><br />
<a href="https://github.com/paratron/SimpLESS/">Fork SimpLESS on Github</a></p>
<p>The post <a href="https://cubewebsites.com/development/tools/simpless-a-free-open-source-less-css-compiler/">SimpLESS &#8211; A Free Open-Source LESS CSS Compiler</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/development/tools/simpless-a-free-open-source-less-css-compiler/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>Twipsum &#8211; The Fresh/Relevant/Inappropriate Dummy Text Generator</title>
		<link>https://cubewebsites.com/development/tools/twipsum-the-freshrelevantinappropriate-dummy-text-generator/</link>
					<comments>https://cubewebsites.com/development/tools/twipsum-the-freshrelevantinappropriate-dummy-text-generator/#respond</comments>
		
		<dc:creator><![CDATA[Cube Websites]]></dc:creator>
		<pubDate>Wed, 28 Dec 2011 10:08:36 +0000</pubDate>
				<category><![CDATA[Tools]]></category>
		<category><![CDATA[dummy]]></category>
		<category><![CDATA[generator]]></category>
		<category><![CDATA[lipsum]]></category>
		<category><![CDATA[lorem ipsum]]></category>
		<category><![CDATA[tools]]></category>
		<category><![CDATA[utilities]]></category>
		<guid isPermaLink="false">http://www.cubewebsites.com/blog/?p=300</guid>

					<description><![CDATA[<p>Most web developers are familiar with the default dummy text generator, lipsum.  However, today I discovered an alternative text generator which creates more unique content using Twitter. How It Works Twipsum allows you to enter a keyword, then it finds Tweets on Twitter based on that word and combines them into paragraphed text which you [&#8230;]</p>
<p>The post <a href="https://cubewebsites.com/development/tools/twipsum-the-freshrelevantinappropriate-dummy-text-generator/">Twipsum &#8211; The Fresh/Relevant/Inappropriate Dummy Text Generator</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></description>
										<content:encoded><![CDATA[<p>Most web developers are familiar with the default dummy text generator, <a href="http://www.lipsum.com/">lipsum</a>.  However, today I discovered an alternative text generator which creates more unique content using Twitter.</p>
<p><a href="http://twipsum.org"><img loading="lazy" decoding="async" class="aligncenter size-full wp-image-301" title="Twipsum" src="http://www.cubewebsites.com/blog/wp-content/uploads/2011/12/twipsum.png" alt="" width="653" height="141" srcset="https://cubewebsites.com/wp-content/uploads/2011/12/twipsum.png 653w, https://cubewebsites.com/wp-content/uploads/2011/12/twipsum-300x64.png 300w, https://cubewebsites.com/wp-content/uploads/2011/12/twipsum-500x107.png 500w" sizes="(max-width: 653px) 100vw, 653px" /></a></p>
<p><strong>How It Works</strong></p>
<p>Twipsum allows you to enter a keyword, then it finds Tweets on Twitter based on that word and combines them into paragraphed text which you can copy and paste into wherever you need it.</p>
<p>It&#8217;s a nice little spin on the default lorem ipsum text which we&#8217;re all probably sick of seeing.  However, bear in mind that some of the content may be a little inappropriate so it&#8217;s probably not the best idea to use it for populating a client website.</p>
<p><a href="http://twipsum.org">Visit Twipsum</a></p>
<p>The post <a href="https://cubewebsites.com/development/tools/twipsum-the-freshrelevantinappropriate-dummy-text-generator/">Twipsum &#8211; The Fresh/Relevant/Inappropriate Dummy Text Generator</a> appeared first on <a href="https://cubewebsites.com">Cube Websites</a>.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://cubewebsites.com/development/tools/twipsum-the-freshrelevantinappropriate-dummy-text-generator/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
