<?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>Freeway Projects</title> <atom:link href="http://www.freewayprojects.com/feed/" rel="self" type="application/rss+xml" /><link>http://www.freewayprojects.com</link> <description>Web Development and Graphic Design Services</description> <lastBuildDate>Wed, 16 May 2012 09:59:22 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <item><title>Sound not working in Xubuntu 12.04 on my new HP Elitebook, will not unmute with media button &#8211; SOLVED</title><link>http://www.freewayprojects.com/2012/05/sound-not-working-in-xubuntu-12-04-on-my-new-hp-elitebook-will-not-unmute-with-media-button-solved/</link> <comments>http://www.freewayprojects.com/2012/05/sound-not-working-in-xubuntu-12-04-on-my-new-hp-elitebook-will-not-unmute-with-media-button-solved/#comments</comments> <pubDate>Mon, 14 May 2012 00:10:55 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1721</guid> <description><![CDATA[Bit of a pain this one&#8230; I&#8217;ve been absolutely delighted with Xubuntu 12.04 &#8211; fast, clean and nicely designed.  However, suddenly I have sound issues &#8211; probably caused by an update. It looks like Pulseaudio is not compatible with the standard sound setup in XFCE and needs to be removed.  After various things I ended [...]]]></description> <content:encoded><![CDATA[<p>Bit of a pain this one&#8230;</p><p>I&#8217;ve been absolutely delighted with Xubuntu 12.04 &#8211; fast, clean and nicely designed.  However, suddenly I have sound issues &#8211; probably caused by an update.</p><p>It looks like Pulseaudio is not compatible with the standard sound setup in XFCE and needs to be removed.  After various things I ended up completely reintstalling the sound system with</p><p># apt-get purge linux-sound-base alsa-base alsa-utils</p><p># apt-get install linux-sound-base alsa-base alsa-utils</p><p># apt-get install xubuntu-desktop</p><p>NB &#8211; It&#8217;s very important to re-install the xubuntu-desktop &#8211; you may need to install gdm as well if you set up XFCE from an initial Ubuntu install and not from Xubuntu.</p><p>Then rebooted.</p><p>So we&#8217;ve now got Xubuntu back to its default settings &#8211; but this has also re-installed pulseaudio (if you has removed it).</p><p>Then I removed pulaseaudio with</p><p># apt-get &#8211;purge remove pulseaudio</p><p>Then rebooted, went into mixer settings and unmuted speakers and headphones.  And sound is working fine &#8211; including my media buttons.</p><p>Use this procedure with caution &#8211; it&#8217;s been a bit tricky to get this far and there may be other steps which are needed.</p><p>One further point &#8211; watch out when installing a KDE app such as kgpg.  This will pull in tons of KDE stuff including pulseaudio (again!).  When I did that I had to go through this whole procedure again to get sound working again.</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/05/sound-not-working-in-xubuntu-12-04-on-my-new-hp-elitebook-will-not-unmute-with-media-button-solved/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Monitor the CPU temperature(s) on an HP Elitebook</title><link>http://www.freewayprojects.com/2012/04/monitor-the-cpu-temperatures-on-an-hp-elitebook/</link> <comments>http://www.freewayprojects.com/2012/04/monitor-the-cpu-temperatures-on-an-hp-elitebook/#comments</comments> <pubDate>Mon, 16 Apr 2012 11:36:38 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1718</guid> <description><![CDATA[This is about the best way I found of being able to monitor the temperature on an HP Elitebook. http://ynottech.blogspot.co.uk/2011/12/ubuntu-1110-setting-up-cpu-temperature.html When running the &#8216;sensors-detect&#8217; command I selected all defaults apart from allowing the command to edit the configuration file. It looks like coretemp-isa-0000 is where the CPU temperatures are shown.  I can only get the [...]]]></description> <content:encoded><![CDATA[<p>This is about the best way I found of being able to monitor the temperature on an HP Elitebook.</p><p><a href="http://ynottech.blogspot.co.uk/2011/12/ubuntu-1110-setting-up-cpu-temperature.html">http://ynottech.blogspot.co.uk/2011/12/ubuntu-1110-setting-up-cpu-temperature.html</a></p><p>When running the &#8216;sensors-detect&#8217; command I selected all defaults apart from allowing the command to edit the configuration file.</p><p>It looks like coretemp-isa-0000 is where the CPU temperatures are shown.  I can only get the status bar to show one temperature at a time &#8211; but this is sufficient for me to keep an eye on the temperature.</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/04/monitor-the-cpu-temperatures-on-an-hp-elitebook/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Replacement for sshmenu in Ubuntu Unity</title><link>http://www.freewayprojects.com/2012/04/replacement-for-sshmenu-in-ubuntu-unity/</link> <comments>http://www.freewayprojects.com/2012/04/replacement-for-sshmenu-in-ubuntu-unity/#comments</comments> <pubDate>Sun, 15 Apr 2012 12:41:26 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1714</guid> <description><![CDATA[This is worth creating a link to for us sysadmins! On Ubuntu some of us may have used sshmenu to be able to access servers quickly &#8211; but this is not available under the Unity interface. Here&#8217;s what I&#8217;ve found as a replacement: http://www.gulecha.org/2011/07/29/sshplus-a-sshmenu-compatible-appindicator/]]></description> <content:encoded><![CDATA[<p>This is worth creating a link to for us sysadmins!</p><p>On Ubuntu some of us may have used sshmenu to be able to access servers quickly &#8211; but this is not available under the Unity interface. Here&#8217;s what I&#8217;ve found as a replacement:</p><p><a href="http://www.gulecha.org/2011/07/29/sshplus-a-sshmenu-compatible-appindicator/">http://www.gulecha.org/2011/07/29/sshplus-a-sshmenu-compatible-appindicator/</a></p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/04/replacement-for-sshmenu-in-ubuntu-unity/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Nice answer to the old question of an &#8216;svn -u status&#8217; equivalent in git</title><link>http://www.freewayprojects.com/2012/04/nice-answer-to-the-old-question-of-an-svn-u-status-equivalent-in-git/</link> <comments>http://www.freewayprojects.com/2012/04/nice-answer-to-the-old-question-of-an-svn-u-status-equivalent-in-git/#comments</comments> <pubDate>Tue, 10 Apr 2012 12:59:16 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1709</guid> <description><![CDATA[Thought I&#8217;d post this up as it&#8217;s the best answer I&#8217;ve found for the git equivalent of &#8216;svn -u status&#8217; http://stackoverflow.com/questions/1138990/git-equivalent-of-svn-status-u There is an excellent explanation of git principles at: http://longair.net/blog/2009/04/16/git-fetch-and-merge/ Basically &#8211; what I do is: git fetch This will pull down any new commits which have been uploaded by others to the repository [...]]]></description> <content:encoded><![CDATA[<p>Thought I&#8217;d post this up as it&#8217;s the best answer I&#8217;ve found for the git equivalent of &#8216;svn -u status&#8217;</p><p><a href="http://stackoverflow.com/questions/1138990/git-equivalent-of-svn-status-u">http://stackoverflow.com/questions/1138990/git-equivalent-of-svn-status-u</a></p><p>There is an excellent explanation of git principles at:</p><p><a href="http://longair.net/blog/2009/04/16/git-fetch-and-merge/">http://longair.net/blog/2009/04/16/git-fetch-and-merge/</a></p><p>Basically &#8211; what I do is:</p><p><strong>git fetch</strong></p><p>This will pull down any new commits which have been uploaded by others to the repository and point my local pointer</p><p>origin/branchname</p><p>to that commit.</p><p>Then I can call:</p><p><strong>git diff branchname origin/branchname</strong></p><p>which shows a diff between my current version of a branch and the current version of that branch from the repository.</p><p>When I want to merge in the changes from upstream to my local copy I make sure I&#8217;m on (i.e. have checked out) the branchname branch and call:</p><p><strong>git merge origin/branchname</strong></p><p>which merges in the the current remote repository version (which has been brought down by &#8216;git fetch&#8217; to my local remote tracking branch origin/branchname)) &#8211; into the currently checked out branch called &#8216;mybranch&#8217;.</p><p>&nbsp;</p><p>Git can be conceptually difficult &#8211; but this may explain things&#8230;</p><p>Local branches are local &#8211; fair enough.  &#8217;Remote&#8217; branches (origin/branchname etc) are your local copies of any code which is in the repository.  They can be behind your local branch (which is normal is you&#8217;ve updated code locally) or ahead of your local branch version (if you&#8217;ve used git fetch to pull down remote versions).</p><p>&#8216;git fetch&#8217; works primarily on remote branches.</p><p>Certain git commands &#8211; like &#8216;git pull&#8217;, &#8216;git checkout &#8211;track -b refactored origin/refactored&#8217; work on local and remote branches at the same time and may tie them together.</p><p>HTH!</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/04/nice-answer-to-the-old-question-of-an-svn-u-status-equivalent-in-git/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Git diff showing horrible escape characters</title><link>http://www.freewayprojects.com/2012/04/git-diff-showing-horrible-escape-characters/</link> <comments>http://www.freewayprojects.com/2012/04/git-diff-showing-horrible-escape-characters/#comments</comments> <pubDate>Mon, 09 Apr 2012 16:55:13 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1706</guid> <description><![CDATA[Funny little one this&#8230; When running a git diff command I was getting horrible escape characters everywhere.  Turns out this is because my terminal was in colour mode &#8211; (set up by the server admin) &#8211; and this was causing the escape characters. Simply ran the git diff command with the &#8211;no-color option to get [...]]]></description> <content:encoded><![CDATA[<p>Funny little one this&#8230;</p><p>When running a git diff command I was getting horrible escape characters everywhere.  Turns out this is because my terminal was in colour mode &#8211; (set up by the server admin) &#8211; and this was causing the escape characters.</p><p>Simply ran the git diff command with the &#8211;no-color option to get the output back to a nice normal diff output.</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/04/git-diff-showing-horrible-escape-characters/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Drupal, drush and the &#8211;user setting being ignored</title><link>http://www.freewayprojects.com/2012/04/drupal-drush-and-the-user-setting-being-ignored/</link> <comments>http://www.freewayprojects.com/2012/04/drupal-drush-and-the-user-setting-being-ignored/#comments</comments> <pubDate>Mon, 09 Apr 2012 16:26:19 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1701</guid> <description><![CDATA[Posted up to help others&#8230; When using the Drush it is possible to run various commands for Drupal from the command line.  This is a brilliant way of being able to script admin tasks etc for Drupal. However, since the command line is used it is not obvious how to set which Drupal user the [...]]]></description> <content:encoded><![CDATA[<p>Posted up to help others&#8230;</p><p>When using the Drush it is possible to run various commands for Drupal from the command line.  This is a brilliant way of being able to script admin tasks etc for Drupal.</p><p>However, since the command line is used it is not obvious how to set which Drupal user the commands are run as.  This is important as only certain users can carry out certain functions such as delete nodes etc.</p><p>So &#8211; we see the command line option &#8211;user=1 to set the user to run as &#8211; and under &#8216;drush status&#8217; it shows that the admin user is being used.</p><p>I&#8217;d built my own module and no matter what I tried the command I was running would not delete a node &#8211; it was as if the user being set was being ignored.  Then I found the reason &#8211; Drush bootstrap level.</p><p>When setting up a Drush command the Drush bootstrap level is set.  I&#8217;d set mine to  DRUSH_BOOTSTRAP_DRUPAL_FULL as this seemed to be what I initially wanted &#8211; however, I should have set it (or left it) to the default level of DRUSH_BOOTSTRAP_DRUPAL_LOGIN.</p><p>The &#8211;user option is then honoured!</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2012/04/drupal-drush-and-the-user-setting-being-ignored/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>For all Drupal devlopers who use Emacs!</title><link>http://www.freewayprojects.com/2011/12/for-all-drupal-devlopers-who-use-emacs/</link> <comments>http://www.freewayprojects.com/2011/12/for-all-drupal-devlopers-who-use-emacs/#comments</comments> <pubDate>Wed, 14 Dec 2011 11:32:06 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1590</guid> <description><![CDATA[You must install drupal-mode from https://github.com/nyuhuhuu/drupal-mode/blob/master/drupal-mode.el You may need to create the ~/.emacs.d/plugins/drupal-mode-el/ directory to put the drupal-mode.el file into.  And on Debian/Ubuntu you will probably have to install the w3m-el package &#8211; but after that you have a Drupal specific php-mode called drupal-mode. This fixes the issue whereby arrays in php-mode are not indented in [...]]]></description> <content:encoded><![CDATA[<p>You must install drupal-mode from <a href="https://github.com/nyuhuhuu/drupal-mode/blob/master/drupal-mode.el">https://github.com/nyuhuhuu/drupal-mode/blob/master/drupal-mode.el</a></p><p>You may need to create the ~/.emacs.d/plugins/drupal-mode-el/ directory to put the drupal-mode.el file into.  And on Debian/Ubuntu you will probably have to install the w3m-el package &#8211; but after that you have a Drupal specific php-mode called drupal-mode.</p><p>This fixes the issue whereby arrays in php-mode are not indented in the same way that Drupal Coding Standards specify.</p><p>&nbsp;</p><p>&nbsp;</p><p>&nbsp;</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2011/12/for-all-drupal-devlopers-who-use-emacs/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>DO NOT CTRL-ALT-DEL during a boot</title><link>http://www.freewayprojects.com/2011/12/do-not-ctrl-alt-del-during-a-boot/</link> <comments>http://www.freewayprojects.com/2011/12/do-not-ctrl-alt-del-during-a-boot/#comments</comments> <pubDate>Sat, 03 Dec 2011 11:26:18 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category> <category><![CDATA[Uncategorized]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1580</guid> <description><![CDATA[I don&#8217;t normally do this &#8211; but today &#8211; in a rush &#8211; I hit Ctrl-Alt-Del dring POST on a new HP mail server being set up.  And when the server came back up on of the two RAID 1 drives had its amber light on showing drive failure &#8211; Doh! I shut the server [...]]]></description> <content:encoded><![CDATA[<p>I don&#8217;t normally do this &#8211; but today &#8211; in a rush &#8211; I hit Ctrl-Alt-Del dring POST on a new HP mail server being set up.  And when the server came back up on of the two RAID 1 drives had its amber light on showing drive failure &#8211; Doh!</p><p>I shut the server down &#8211; pulled the drive out and pushed it back in again &#8211; and powered back up.  The drive is now showing the 1 second green flash to show that it is being rebuilt.  Hopefully, the drive should be OK as the server is brand new and it was my forced reboot which caused the error.</p><p>As a side note &#8211; just how do you reset the NIC on a Debian server after a config change these says.  It used to be an easy:</p><p># /etc/init.d/networking restart</p><p>but that doesn&#8217;t seem to work any more.  Maybe I should be using this new &#8216;ip&#8217; command somehow?</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2011/12/do-not-ctrl-alt-del-during-a-boot/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Solving the &#8216;Your branch is ahead of &#8216;origin/master&#8217; by x commits&#8217; issue after pulling using git.</title><link>http://www.freewayprojects.com/2011/11/solving-the-your-branch-is-ahead-of-originmaster-by-x-commits-issue-after-pulling-using-git/</link> <comments>http://www.freewayprojects.com/2011/11/solving-the-your-branch-is-ahead-of-originmaster-by-x-commits-issue-after-pulling-using-git/#comments</comments> <pubDate>Wed, 30 Nov 2011 12:19:19 +0000</pubDate> <dc:creator>kbailey</dc:creator> <category><![CDATA[Bailey's Blog]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1554</guid> <description><![CDATA[This is an annoyingly simple issue &#8211; so simple that it may not be blogged elsewhere. You have a remote repository and push some code updates to it from a local repository &#8211; you then switch to a different local repository and pull down the updated code from the remote repository with: $ git pull [...]]]></description> <content:encoded><![CDATA[<p>This is an annoyingly simple issue &#8211; so simple that it may not be blogged elsewhere.</p><p>You have a remote repository and push some code updates to it from a local repository &#8211; you then switch to a different local repository and pull down the updated code from the remote repository with:</p><p>$ git pull origin mybranch</p><p>which updates your local mybranch nicely.</p><p>Now when you run</p><p>$ git status</p><p>it says everything is up-to-date &#8211; but you get the horrible &#8217;Your branch is ahead of &#8216;origin/master&#8217; by x commits&#8217; message &#8211; WTF!</p><p>What this is saying is that your local branch &#8211; mybranch &#8211; is ahead of your local <strong>copy</strong> of the remote &#8211; origin/mybranch.</p><p><img title="git" src="http://www.freewayprojects.com/content/uploads/2011/11/git-300x153.png" alt="git" width="300" height="153" /></p><p>See &#8211; your local copy of origin/mybranch (in this case origin/6.x-1.x) still points to the previous commit.</p><p>The thing is &#8211; I was being too clever and trying to avoid pulling and updating master.  What I should have run was:</p><p>$ git pull origin</p><p>This will fetch and merge the current branch from the remote to my local branch- and also update my local tracking branch &#8211; origin/mybranch &#8211; to point to the latest commit.</p><p>If you run</p><p>$ git pull origin</p><p>after running</p><p>$ git pull origin mybranch</p><p>it seems to be safe and to sort out the issue of &#8217;Your branch is ahead of &#8216;origin/master&#8217; by x commits&#8217;.</p><p>Hopefully this quick note might help someone who found themselves in the same position as me.</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2011/11/solving-the-your-branch-is-ahead-of-originmaster-by-x-commits-issue-after-pulling-using-git/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>We have moved!</title><link>http://www.freewayprojects.com/2011/10/we-have-moved/</link> <comments>http://www.freewayprojects.com/2011/10/we-have-moved/#comments</comments> <pubDate>Thu, 06 Oct 2011 12:04:35 +0000</pubDate> <dc:creator>Anna Bailey</dc:creator> <category><![CDATA[News & Announcements]]></category><guid isPermaLink="false">http://www.freewayprojects.com/?p=1269</guid> <description><![CDATA[As of the 1st of October 2011, Freeway Projects has moved to a new office at Salt Quay House in Sutton Harbour, Plymouth. Our new office, which is on the fourth floor, has an amazing view over the marina, and is a great place to work from, and we are hoping the move will help [...]]]></description> <content:encoded><![CDATA[<p><strong>As of the 1st of October 2011</strong>, Freeway Projects has moved to a new office at <strong>Salt Quay House</strong> in <strong>Sutton Harbour</strong>,<strong> Plymouth</strong>. Our new office, which is on the fourth floor, has an amazing view over the marina, and is a great place to work from, and we are hoping the move will help to provide quality service to our clients.</p><p>Why not pop in and see us over a cup of coffee, admire the view and maybe even talk business!</p><p><strong>Our new full address is:</strong></p><p>4th Floor Salt Quay House,<br /> 6 North East Quay,<br /> Sutton Harbour,<br /> Plymouth,<br /> PL4 0HP</p> ]]></content:encoded> <wfw:commentRss>http://www.freewayprojects.com/2011/10/we-have-moved/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Served from: www.freewayprojects.com @ 2012-05-18 19:36:12 by W3 Total Cache -->
