<?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>artlayer.com &#187; Web Development</title>
	<atom:link href="http://www.artlayer.com/category/web-development/feed" rel="self" type="application/rss+xml" />
	<link>http://www.artlayer.com</link>
	<description></description>
	<lastBuildDate>Thu, 15 Apr 2010 15:21:35 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to install Git support on a Bluehost (or Hostmonster) shared account</title>
		<link>http://www.artlayer.com/how-to-install-git-support-on-bluehost-or-hostmonster-shared-account</link>
		<comments>http://www.artlayer.com/how-to-install-git-support-on-bluehost-or-hostmonster-shared-account#comments</comments>
		<pubDate>Thu, 05 Nov 2009 00:03:30 +0000</pubDate>
		<dc:creator>Nelson Mendes</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Git]]></category>
		<category><![CDATA[Hosting]]></category>
		<category><![CDATA[Version Control]]></category>

		<guid isPermaLink="false">http://www.artlayer.com/?p=27</guid>
		<description><![CDATA[I had a couple of sites hosted on a Bluehost shared account and I&#8217;ve recently moved from using SVN (Subversion) to Git (I&#8217;ll try to post soon a beginner&#8217;s guide to Git), and I really wanted a fast and feasible solution for the deployment of those sites updates (really a better way than to FTP ]]></description>
			<content:encoded><![CDATA[<p>I had a couple of sites hosted on a <a title="Bluehost" href="http://www.bluehost.com">Bluehost</a> shared account and I&#8217;ve recently moved from using <a title="SVN (Subversion)" href="http://subversion.tigris.org/">SVN</a> (Subversion) to <a title="Git" href="http://git-scm.com/">Git</a> (I&#8217;ll try to post soon a beginner&#8217;s guide to Git), and I really wanted a fast and feasible solution for the deployment of those sites updates (really a better way than to FTP the changes, believe me).</p>
<p>Bluehost doesn&#8217;t support Git &#8220;out of the box&#8221;, but if you have SSH access to your account (if you don&#8217;t, just open a support ticket and ask for it. Probably you&#8217;ll need to fax or e-mail them your ID card) you can install it yourself.</p>
<p>1. Log into your Bluehost account via the terminal with SSH: <code>ssh youruser@yourdomain.com</code> (you&#8217;ll be asked for the password) and you&#8217;ll get into your home dir:</p>
<p><code>Last login: Mon Nov  2 08:34:58 2009 from 253.116.54.71.rev.vodafone.pt<br />
user@domain.pt [~]#</code></p>
<p>2. Now we need to download the Git software:</p>
<p><code>user@domain.pt [~]# wget http://kernel.org/pub/software/scm/git/git-1.6.5.2.tar.bz2</code></p>
<p>This will download the Git package (compressed as tar.bz2) into the home dir of our account (please note that I&#8217;m getting the last Git version available at the time of this post but you&#8217;ll want the latest one, so make sure to check the filename first on the <a title="Git" href="http://git-scm.com/">Git</a> website.</p>
<p>3. Extract the files from the downloaded package:</p>
<p><code>user@domain.pt [~]# tar -xjvf git-1.6.5.2.tar.bz2</code></p>
<p>4. Go into the extracted directory and compile Git:</p>
<p><code>user@domain.pt [~]# cd git-1.6.5.2<br />
user@domain.pt [~]# make</code></p>
<p>5. This will take a couple of seconds. Then you&#8217;ll be ready to install it:</p>
<p><code>user@domain.pt [~]# make install</code></p>
<p>And that&#8217;s it! You now have Git installed on your Bluehost account!</p>
<p>Now you can type git and hit return and you&#8217;ll get the list of the Git commands:<br />
<code>git<br />
usage: git [--version] [--exec-path[=GIT_EXEC_PATH]] [--html-path]<br />
[-p|--paginate|--no-pager]<br />
[--bare] [--git-dir=GIT_DIR] [--work-tree=GIT_WORK_TREE]<br />
[--help] COMMAND [ARGS]</code></p>
<p><code>The most commonly used git commands are:<br />
add        Add file contents to the index<br />
bisect     Find by binary search the change that introduced a bug<br />
branch     List, create, or delete branches<br />
checkout   Checkout a branch or paths to the working tree<br />
clone      Clone a repository into a new directory<br />
commit     Record changes to the repository<br />
diff       Show changes between commits, commit and working tree, etc<br />
fetch      Download objects and refs from another repository<br />
grep       Print lines matching a pattern<br />
init       Create an empty git repository or reinitialize an existing one<br />
log        Show commit logs<br />
merge      Join two or more development histories together<br />
mv         Move or rename a file, a directory, or a symlink<br />
pull       Fetch from and merge with another repository or a local branch<br />
push       Update remote refs along with associated objects<br />
rebase     Forward-port local commits to the updated upstream head<br />
reset      Reset current HEAD to the specified state<br />
rm         Remove files from the working tree and from the index<br />
show       Show various types of objects<br />
status     Show the working tree status<br />
tag        Create, list, delete or verify a tag object signed with GPG</code></p>
<p><code>See 'git help COMMAND' for more information on a specific command.<br />
user@domain.pt [~]#</code></p>
]]></content:encoded>
			<wfw:commentRss>http://www.artlayer.com/how-to-install-git-support-on-bluehost-or-hostmonster-shared-account/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Drop Firefox and Firebug and try the Webkit&#8217;s Web Inspector</title>
		<link>http://www.artlayer.com/drop-firefox-and-firebug-and-try-the-webkits-web-inspector</link>
		<comments>http://www.artlayer.com/drop-firefox-and-firebug-and-try-the-webkits-web-inspector#comments</comments>
		<pubDate>Tue, 03 Nov 2009 19:08:39 +0000</pubDate>
		<dc:creator>Nelson Mendes</dc:creator>
				<category><![CDATA[Web Development]]></category>
		<category><![CDATA[Firebug]]></category>
		<category><![CDATA[Firefox]]></category>
		<category><![CDATA[Webkit]]></category>

		<guid isPermaLink="false">http://artlayer.com/wp/?p=3</guid>
		<description><![CDATA[Firefox and the Firebug extension have been my companion tools for web development for quite a time now. I&#8217;ve no serious complains about them, they really helped me a lot. But an alternative is just around the corner and I&#8217;m really enjoying it. I really like Safari, but the lack of a proper web development ]]></description>
			<content:encoded><![CDATA[<p>Firefox and the Firebug extension have been my companion tools for web development for quite a time now. I&#8217;ve no serious complains about them, they really helped me a lot. But an alternative is just around the corner and I&#8217;m really enjoying it. I really like Safari, but the lack of a proper web development helper life Firebug have kept me away from using it more often. But <a title="Bogojoker blog" href="http://blog.bogojoker.com/2009/10/improving-the-web-inspector/" target="_self">recently</a> the Web Inspector of Webkit (the engine behind Safari) has really been improved and it&#8217;s starting to kick Firebug&#8217;s ass.</p>
<p>Don&#8217;t take my word for it. Just try it yourself. Here&#8217;s how:</p>
<p>1. Download  a nightly build of <a title="webkit nightly build download" href="http://nightly.webkit.org/">Webkit</a> and install it on your machine (don&#8217;t worry, it won&#8217;t replace your Safari app, it&#8217;s a separate app).</p>
<p>2. Launch Terminal and type this on your command line: <code>defaults write com.apple.Safari WebKitDeveloperExtras -bool true</code></p>
<p><span style="color: #ff6600;">Update: </span>Thanks to <a title="Webkit Blog" href="http://webkit.org/blog">Maciej Stachowiak</a> for pointing out the easier way to access the Web Inspector: Just open the Webkit preference menu, go to the Advanced tab and check the &#8220;Show Develop menu in menu bar&#8221;.</p>
<div class="wp-caption aligncenter" style="width: 480px"><img class=" " title="Turn on the Develop Menu in Webkit" src="http://emberapp.com/zyon/images/advanced-1/sizes/m.png" alt="Turn on the Develop Menu in Webkit" width="470" height="318" /><p class="wp-caption-text">Turn on the Develop Menu in Webkit</p></div>
<p>3. Open Webkit and load a webpage.</p>
<p>4. Right Click anywhere and choose Inspect Element and voilá&#8230;</p>
<div class="wp-caption aligncenter" style="width: 455px"><img title="Webkit Web Inspector" src="http://img.skitch.com/20091103-jx1ft36dqubagnbhkxruixfy1n.png" alt="Web Inspector" width="445" height="284" /><p class="wp-caption-text">Web Inspector</p></div>
]]></content:encoded>
			<wfw:commentRss>http://www.artlayer.com/drop-firefox-and-firebug-and-try-the-webkits-web-inspector/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
