<?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>code(alpha)</title>
	<atom:link href="http://www.codealpha.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.codealpha.net</link>
	<description>Tips &#38; Tutorials for Linux</description>
	<lastBuildDate>Fri, 09 Mar 2012 14:04:26 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>CSS3 box-shadow on left and right sides only</title>
		<link>http://www.codealpha.net/840/css3-box-shadow-on-left-and-right-sides-only/</link>
		<comments>http://www.codealpha.net/840/css3-box-shadow-on-left-and-right-sides-only/#comments</comments>
		<pubDate>Sat, 25 Jun 2011 21:50:14 +0000</pubDate>
		<dc:creator>Arnaud Soyez</dc:creator>
				<category><![CDATA[Tips]]></category>
		<category><![CDATA[css]]></category>
		<category><![CDATA[css3]]></category>
		<category><![CDATA[shadow]]></category>

		<guid isPermaLink="false">http://www.codealpha.net/?p=840</guid>
		<description><![CDATA[It is possible to have inset shadows on both left and right sides of a block. It is a matter of showing only one side of the box-shadow at a time, and so you need two box-shadows (one for each side of the block you wish to have shadows, and we can put both CSS [...]]]></description>
			<content:encoded><![CDATA[<p>It is possible to have inset shadows on both left and right sides of a block. It is a matter of <strong>showing only one side of the box-shadow at a time</strong>, and so you need two box-shadows (one for each side of the block you wish to have shadows, and we can put both CSS codes in the same property).</p>
<p>Here is an example that should be compatible with Firefox, Chrome and Opera.</p>

<div class="wp_syntax"><div class="code"><pre class="css" style="font-family:monospace;">box <span style="color: #00AA00;">&#123;</span>
    -moz-box-shadow<span style="color: #00AA00;">:</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">,</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">-5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
    -webkit-box-shadow<span style="color: #00AA00;">:</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">,</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">-5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
    box-shadow<span style="color: #00AA00;">:</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">,</span>
        <span style="color: #993333;">inset</span> <span style="color: #933;">-5px</span> <span style="color: #cc66cc;">0</span> <span style="color: #933;">5px</span> <span style="color: #933;">-5px</span> <span style="color: #cc00cc;">#333</span><span style="color: #00AA00;">;</span>
<span style="color: #00AA00;">&#125;</span></pre></div></div>

<p>Here is the result:</p>
<div style="background-color:#ccc;padding:4em;width:40%;-moz-box-shadow:inset 5px 0 5px -5px #333,inset -5px 0 5px -5px #333;-webkit-box-shadow:inset 5px 0 5px -5px #333,   inset -5px 0 5px -5px #333;    box-shadow:        inset 5px 0 5px -5px #333,        inset -5px 0 5px -5px #333;">Lorem ipsum...</div>
<p>Inspired from <a href="http://demente-design.com/component/k2/item/68-playing-with-css3-box-shadow">Playing with CSS3 box shadow [demente-design.com]</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codealpha.net/840/css3-box-shadow-on-left-and-right-sides-only/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>fetchyahoo 2.14.0 deb package for Ubuntu 10.10 Maverick</title>
		<link>http://www.codealpha.net/789/fetchyahoo-2-14-0-deb-package-ubuntu-maverick/</link>
		<comments>http://www.codealpha.net/789/fetchyahoo-2-14-0-deb-package-ubuntu-maverick/#comments</comments>
		<pubDate>Sat, 04 Dec 2010 14:15:16 +0000</pubDate>
		<dc:creator>Arnaud Soyez</dc:creator>
				<category><![CDATA[.deb Packages]]></category>
		<category><![CDATA[deb]]></category>
		<category><![CDATA[fetchyahoo]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.codealpha.net/?p=789</guid>
		<description><![CDATA[On Nov. 16th, fetchyahoo 2.14.0 was released, and I did not find any deb package available for it on the Launchpad PPA's. And I used to package it before, so it took me not very long to update the package to the newest version. Fetchyahoo is a script written in Perl which fetches your email [...]]]></description>
			<content:encoded><![CDATA[<p>On Nov. 16th, <strong>fetchyahoo</strong> <strong>2.14.0</strong> was released, and I did not find any deb package available for it on the Launchpad PPA's. And I used to package it before, so it took me not very long to update the package to the newest version.</p>
<p>Fetchyahoo is a script written in Perl which fetches your email from Yahoo! Mail and either saves it in your mbox or can also send it to an IMAP folder. It pulls email using the web interface which is very useful for those with Yahoo Mail who do not have POP3 or IMAP access, since POP3 access for Yahoo Mail seems to be a paid service.</p>
<p>The deb package for fetchyahoo 2.14.0 is available from <a href="https://launchpad.net/~weboide/+archive/ppa">my PPA</a>. You can either add it to your sources.list:</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> add-apt-repository ppa:weboide</pre></div></div>

<p>or you can directly download it from launchpad:<br />
<strong><a href="https://launchpad.net/~weboide/+archive/ppa/+files/fetchyahoo_2.14.0-0ubuntu1_all.deb">fetchyahoo_2.14.0-0ubuntu1_all.deb</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codealpha.net/789/fetchyahoo-2-14-0-deb-package-ubuntu-maverick/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&quot;We are more than 1%&quot; campaign, get counted!</title>
		<link>http://www.codealpha.net/775/get-counted-more-than-1-percent-linux-campaign/</link>
		<comments>http://www.codealpha.net/775/get-counted-more-than-1-percent-linux-campaign/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 23:21:34 +0000</pubDate>
		<dc:creator>Arnaud Soyez</dc:creator>
				<category><![CDATA[Miscellaneous]]></category>

		<guid isPermaLink="false">http://www.codealpha.net/?p=775</guid>
		<description><![CDATA[Image licensed under CC BY-NC-SA edited by Weboide originally made by Treviño. DudaLibre just launched a new campaign called "We are more than 1%" to attempt to prove wrong the Press and most of people's opinion about Linux's world market share not being more than 1%. Make sure you get counted and that you share [...]]]></description>
			<content:encoded><![CDATA[<div class="center"><img src="/wp-content/uploads/2010/11/balance.jpg" alt="" width="220" height="174" class="aligncenter size-full wp-image-780" /><br />
<small>Image licensed under <a href="http://creativecommons.org/licenses/by-nc-sa/2.0/">CC BY-NC-SA</a> edited by <a href="http://www.codealpha.net/">Weboide</a> originally made by <a href="http://www.flickr.com/photos/trevi55/">Treviño</a>.</small>
</div>
<p>DudaLibre just launched a new campaign called "<strong><a href="http://www.dudalibre.com/gnulinuxcounter?lang=en">We are more than 1%</strong></a>" to attempt to prove wrong the Press and most of people's opinion about Linux's world market share not being more than 1%.</p>
<p>Make sure you get counted and that you share the link with your linux friends!</p>
<p><strong><a href="http://www.dudalibre.com/gnulinuxcounter?lang=en">http://www.dudalibre.com/gnulinuxcounter?lang=en</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codealpha.net/775/get-counted-more-than-1-percent-linux-campaign/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Advertising Video about Ubuntu!</title>
		<link>http://www.codealpha.net/767/ubuntu-video-advertising-ad/</link>
		<comments>http://www.codealpha.net/767/ubuntu-video-advertising-ad/#comments</comments>
		<pubDate>Wed, 27 Oct 2010 22:05:12 +0000</pubDate>
		<dc:creator>Arnaud Soyez</dc:creator>
				<category><![CDATA[News]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[video]]></category>

		<guid isPermaLink="false">http://www.codealpha.net/?p=767</guid>
		<description><![CDATA[After releasing their new 10.10 version on Oct. 10th 2010, an ad about Ubuntu, the libre open source operating system, has just been released today and looks very promising!!!]]></description>
			<content:encoded><![CDATA[<p>After releasing their new 10.10 version on Oct. 10th 2010, an ad about <a href="http://www.ubuntu.com">Ubuntu</a>, the <em>libre</em> open source operating system, has just been released today and looks very promising!!!</p>
<p><object width="480" height="295"><param name="movie" value="http://www.youtube-nocookie.com/v/vYTJPaM82nQ?fs=1&amp;hl=fr_FR&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6"></param><param name="allowFullScreen" value="true"></param><param name="allowscriptaccess" value="always"></param><embed src="http://www.youtube-nocookie.com/v/vYTJPaM82nQ?fs=1&amp;hl=fr_FR&amp;rel=0&amp;color1=0x2b405b&amp;color2=0x6b8ab6" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="480" height="295"></embed></object></p>
]]></content:encoded>
			<wfw:commentRss>http://www.codealpha.net/767/ubuntu-video-advertising-ad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to restrict a specific package from installing (apt pinning)</title>
		<link>http://www.codealpha.net/737/how-to-restrict-a-specific-package-from-installing-apt-pinning/</link>
		<comments>http://www.codealpha.net/737/how-to-restrict-a-specific-package-from-installing-apt-pinning/#comments</comments>
		<pubDate>Sun, 17 Oct 2010 14:46:02 +0000</pubDate>
		<dc:creator>Arnaud Soyez</dc:creator>
				<category><![CDATA[Tutorials]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[pinning]]></category>
		<category><![CDATA[ubuntu]]></category>

		<guid isPermaLink="false">http://www.codealpha.net/?p=737</guid>
		<description><![CDATA[I tend to be very picky so there are a couple of packages which I do not want installed on my machines: msttcorefonts: the Microsoft-like fonts. If you have those installed, Firefox will use them and you will get ugly windows-like font on most websites which I personally hate. wine: Application to run windows programs [...]]]></description>
			<content:encoded><![CDATA[<p>I tend to be very picky so there are a couple of packages which I do not want installed on my machines:</p>
<ul>
<li><strong>msttcorefonts</strong>: the Microsoft-like fonts. If you have those installed, Firefox will use them and you will get ugly windows-like font on most websites which I personally hate.</li>
<li><strong>wine</strong>: Application to run windows programs on linux. For security reasons.</li>
<li><strong>postfix</strong>: a mail server. Just because I do not want to run a mail server on my netbook.</li>
<li>...and some other</li>
</ul>
<p>The best way to restrict those packages from being installed is through <strong>Apt Pinning</strong>.</p>
<h3>Apt pinning</h3>
<p>It is very easy to pin packages and restrict them from being installed.<br />
You will need to edit /etc/apt/preferences and add something like this:</p>

<div class="wp_syntax"><div class="code"><pre class="text" style="font-family:monospace;">Package: msttcorefonts
Pin: version  0.0
Pin-Priority: -1
&nbsp;
Package: ttf-liberation
Pin: version  0.0
Pin-Priority: -1
&nbsp;
Package: ttf-mscorefonts-installer
Pin: version  0.0
Pin-Priority: -1
&nbsp;
Package: wine
Pin: version  0.0
Pin-Priority: -1
&nbsp;
Package: postfix
Pin: version  0.0
Pin-Priority: -1</pre></div></div>

<p><strong>Pin-Priority: -1</strong> restricts the given version from being installed, and the <strong>version  0.0</strong> does not exist and should be a lower version than any versions of the given packages. As a conclusion, they will never be installed.</p>
<p>Be careful what you pin, though, as you might be too restrictive and could prevent installing or upgrading other useful packages.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.codealpha.net/737/how-to-restrict-a-specific-package-from-installing-apt-pinning/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

