<?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>Billy</title>
	<atom:link href="http://billy.com.mx/feed" rel="self" type="application/rss+xml" />
	<link>http://billy.com.mx</link>
	<description>Happy Hacking!</description>
	<lastBuildDate>Fri, 02 Sep 2011 17:16:54 +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>Samsung Galaxy PRO GT-B7510</title>
		<link>http://billy.com.mx/archives/691</link>
		<comments>http://billy.com.mx/archives/691#comments</comments>
		<pubDate>Fri, 02 Sep 2011 17:16:54 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[Blackberry]]></category>
		<category><![CDATA[Hardware]]></category>
		<category><![CDATA[Life]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[News]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Toys]]></category>
		<category><![CDATA[android]]></category>
		<category><![CDATA[galaxy]]></category>
		<category><![CDATA[galaxy pro]]></category>
		<category><![CDATA[GT-B7510]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[phone]]></category>
		<category><![CDATA[samsung]]></category>
		<category><![CDATA[shortcuts]]></category>
		<category><![CDATA[toys]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=691</guid>
		<description><![CDATA[RIP BlackBerry, Hello Android! Since I have memory I always was a BlackBerry fanboy, I know the platform (dare I say) better than anyone. However let&#8217;s face it, Android is the future. It&#8217;s because (and thanks to my old device is almost dead) I bought a new device: Samsung Galaxy PRO GT-B7510 and I have [...]]]></description>
			<content:encoded><![CDATA[<p><strong>RIP <a href="http://blackberry.com">BlackBerry</a>, Hello <a href="http://android.com">Android</a>!</strong></p>
<p><a href="http://billy.com.mx/wp-content/uploads/2011/09/GALAXYPro_large.jpg"><img src="http://billy.com.mx/wp-content/uploads/2011/09/GALAXYPro_large.jpg" alt="" title="Galaxy PRO" width="515" height="384" class="alignnone size-full wp-image-694" /></a><br />
Since I have memory I always was a BlackBerry fanboy, I know the platform (dare I say) better than anyone. However let&#8217;s face it, Android is the future.<br />
It&#8217;s because (and thanks to my old device is almost dead) I bought a new device: <a href="http://www.engadget.com/2011/05/28/samsung-galaxy-pro-review/">Samsung Galaxy PRO GT-B7510</a> and I have only one word: <strong>A W E S O M E</strong></p>
<p>I will don&#8217;t a review, there are a lot of in the <em>interlols</em>, just a some tips and tricks that (I don&#8217;t know why) is very hard get information about this device.</p>
<p><strong>TIPS &#038; TRICKS</strong><br />
<strong>I.- Root the device</strong><br />
YES! it&#8217;s a very sweet stuff, we can (and must) root the android OS.<br />
Only is necessary this tool: <em>SuperOneClick</em><br />
<a href="http://forum.xda-developers.com/showthread.php?t=803682">http://forum.xda-developers.com/showthread.php?t=803682</a><br />
easy as hell!</p>
<p><em>Why to root my android?</em><br />
<a href="http://lifehacker.com/">Life Hacker</a> gives us 5 great reasons:<br />
<a href="http://lifehacker.com/5342237/five-great-reasons-to-root-your-android-phone">http://lifehacker.com/5342237/five-great-reasons-to-root-your-android-phone</a></p>
<p><strong>II.- Device modes</strong><br />
As I said there are a many differences between the other Galaxy models, I thinks is because the physical keyboard.<br />
This shortcuts are very important for flash, hack, recover, upgrade and play with your phone. Press and hold the keys:</p>
<p><strong>Recovery mode</strong>: Power + T<br />
<strong>Download mode</strong>: Power + Q<br />
<strong>System information</strong>: Power + W<br />
<strong>ARM emergency mode</strong>: Power + E<br />
<strong>RAM Dump</strong>: Power + R</p>
<p><strong>III.- Hard reset</strong><br />
To reset and wipe your phone as new, be careful!<br />
There are 2 ways for this</p>
<p>Mode 1:</p>
<ul>
* Turn off the phone.<br />
* Turn on with he recovery mode (Power + T).<br />
* In the recovery menu navigate to: <em>wipe data/factory reset</em> (with the volume key).<br />
* Press <em>Home</em> button for confirm.<br />
* In the next menu navigate to: <em>Yes &#8212; delete all user data</em>.<br />
* Press <em>Hom</em>e button for confirm.<br />
* Press <em>Home</em> button for reboot.
</ul>
<p>Mode 2:<br />
Just type<br />
<em>*2767*3855#</em></p>
<p><strong>IV .- Screenshots!</strong><br />
Everyone loves the screenshots, and they are useful for tutorials, examples, send reports, etc.<br />
To take screenshots in this device without any third  software:</p>
<p><em>Backspace + C</em></p>
<p>The images are stored in the external memory under the album &#8220;ScreenCapture&#8221;</p>
<p>And .. at the moment, that&#8217;s all.</p>
<p>I&#8217;m very interested to develop Android apps, so I hope soon I write my first post and app (at least a &#8220;Hello World&#8221;)</p>
<p>See you freaks!</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/691/feed</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Automatic security updates.</title>
		<link>http://billy.com.mx/archives/680</link>
		<comments>http://billy.com.mx/archives/680#comments</comments>
		<pubDate>Tue, 23 Aug 2011 21:13:44 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Devel]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[automatic]]></category>
		<category><![CDATA[cron-apt]]></category>
		<category><![CDATA[security]]></category>
		<category><![CDATA[sysadmin]]></category>
		<category><![CDATA[upgrades]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=680</guid>
		<description><![CDATA[A friend asked me by twitter for a software for automatic security updates in Debian. Honestly I don&#8217;t trust in automatic stuff, but this software appears interesting. I searched in the cache: apt-cache search automatic update and I found cron-apt. How to use (at least in Debian) I.- Yes Mr. Obviously, install it. # apt-get [...]]]></description>
			<content:encoded><![CDATA[<p>A friend asked me by <a href="http://twitter.com/debianized">twitter</a> for a software for automatic security updates in <a href="http://debian.org">Debian</a>.<br />
Honestly I don&#8217;t trust in automatic stuff, but this software appears interesting.<br />
I searched in the cache: <em>apt-cache search automatic update</em> and I found <strong>cron-apt</strong>.</p>
<p>How to use (at least in Debian)</p>
<p><strong>I.- Yes Mr. Obviously, install it.</strong><br />
<code># apt-get install cron-apt<br />
</code><br />
<strong>II.- Configure.</strong><br />
The main config file is in <em>/etc/cron-apt/config</em><br />
They are a lot of options, but the important is uncomment:<br />
<code>OPTIONS="-o quiet=1 -o Dir::Etc::SourceList=/etc/apt/security.sources.list"<br />
</code><br />
And create the file:<br />
<code># echo "deb http://security.debian.org/ squeeze/updates main contrib non-free" > /etc/apt/security.sources.list<br />
</code><br />
Now we need edit <em>/etc/cron-apt/action.d/3-download</em>, by default is:<br />
<code>root@skynet:~# cat /etc/cron-apt/action.d/3-download<br />
autoclean -y<br />
dist-upgrade -d -y -o APT::Get::Show-Upgraded=true<br />
root@skynet:~#<br />
</code><br />
Change by this:<br />
<code>root@skynet:~# cat /etc/cron-apt/action.d/3-download<br />
autoclean -y<br />
upgrade -u -y<br />
root@skynet:~#<br />
</code></p>
<p>And &#8230; all done dears nerds!</p>
<p><strong>HINT:</strong> Put your email in <em>/etc/cron-apt/config</em> at the var &#8220;MAILTO&#8221; and change the var &#8220;MAILON&#8221; by <em>upgrade</em> to receive and email in every upgrade.</p>
<p>Happy upgrade!</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/680/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Compiling the Linux Kernel</title>
		<link>http://billy.com.mx/archives/623</link>
		<comments>http://billy.com.mx/archives/623#comments</comments>
		<pubDate>Mon, 25 Jul 2011 19:43:21 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Beer]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[compile]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[linux 3.0]]></category>
		<category><![CDATA[manual]]></category>
		<category><![CDATA[source]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=623</guid>
		<description><![CDATA[Last week and how it had been announced, Linus Torvalds released the new version of the Linux Kernel series 3.0 Because of this and the request of several geeks friends, I write this small handbook. Compile the Kernel Source, the Debian way. /me laughs while caresses her black cat, muahaha muahaha Almost all my nerds [...]]]></description>
			<content:encoded><![CDATA[<p><a href="https://plus.google.com/102150693225130002912/posts/CJpyYdCqBL8" target="_blank">Last week</a> and how it had been announced, <a href="http://en.wikipedia.org/wiki/Linus_Torvalds" target="_blank">Linus Torvalds</a> released the new version of the <a href="http://kernel.org/" target="_blank">Linux Kernel</a> series <a href="http://www.kernel.org/pub/linux/kernel/v3.0/ChangeLog-3.0" target="_blank">3.0</a></p>
<p>Because of this and the request of several geeks friends, I write this small handbook.</p>
<p><strong>Compile the Kernel Source, the Debian way.</strong><br />
<em>/me laughs while caresses her black cat, muahaha muahaha</em></p>
<p>Almost all my nerds friends are afraid to &#8220;<a href="http://en.wikipedia.org/wiki/Cuco" target="_blank">El Coco</a>&#8220;, unfaithful girlfriends and to compile the Kernel. Well the first two things they have no solution but compile the kernel it&#8217;s easy.</p>
<p><strong><em>I &#8211; Know your hardware.</em></strong><br />
Knowing your hardware is the key, we can use basic system tools or external tools, I prefer the basic (we&#8217;re old school nerd!).</p>
<p>Processor: <em>cat /proc/cpuinfo</em><br />
<code>root@skynet:~# cat /proc/cpuinfo<br />
processor	: 0<br />
vendor_id	: GenuineIntel<br />
cpu family	: 6<br />
model		: 14<br />
model name	: Intel(R) Core(TM) Duo CPU      T2300  @ 1.66GHz<br />
stepping	: 12<br />
cpu MHz		: 1596.289<br />
cache size	: 6144 KB<br />
fdiv_bug	: no<br />
hlt_bug		: no<br />
f00f_bug	: no<br />
coma_bug	: no<br />
fpu		: yes<br />
fpu_exception	: yes<br />
cpuid level	: 5<br />
wp		: yes<br />
flags		: fpu vme de pse tsc msr mce cx8 apic mtrr pge mca cmov clflush mmx fxsr sse sse2 constant_tsc up pni monitor<br />
bogomips	: 3192.57<br />
clflush size	: 64<br />
cache_alignment	: 64<br />
address sizes	: 32 bits physical, 32 bits virtual<br />
power management:<br />
root@skynet:~#<br />
</code><br />
Memory: <em>cat /proc/meminfo</em><br />
<code>root@skynet:~# cat /proc/meminfo<br />
MemTotal:         514584 kB<br />
MemFree:           15152 kB<br />
Buffers:           38864 kB<br />
Cached:           149592 kB<br />
SwapCached:         2236 kB<br />
Active:           201248 kB<br />
Inactive:         273780 kB<br />
root@skynet:~#<br />
</code><br />
PCI Bus: <em>lspci</em> (we can use the option <em>-vv</em> for verbose mode)<br />
<code>root@skynet:~# lspci<br />
00:00.0 Host bridge: Intel Corporation 440FX - 82441FX PMC [Natoma] (rev 02)<br />
00:01.0 ISA bridge: Intel Corporation 82371SB PIIX3 ISA [Natoma/Triton II]<br />
00:01.1 IDE interface: Intel Corporation 82371AB/EB/MB PIIX4 IDE (rev 01)<br />
00:02.0 VGA compatible controller: InnoTek Systemberatung GmbH Graphics Adapter<br />
00:03.0 Ethernet controller: Intel Corporation 82540EM Gigabit Ethernet Controller (rev 02)<br />
00:04.0 System peripheral: InnoTek Systemberatung GmbH Service<br />
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)<br />
00:06.0 USB Controller: Apple Computer Inc. KeyLargo/Intrepid USB<br />
00:07.0 Bridge: Intel Corporation 82371AB/EB/MB PIIX4 ACPI (rev 08)<br />
00:0b.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller<br />
00:0d.0 SATA controller: Intel Corporation 82801HBM/HEM (ICH8M/ICH8M-E) SATA AHCI Controller (rev 02)<br />
root@skynet:~#<br />
</code><br />
USB: <em>lsusb</em> (also has the <em>-vv</em> option)<br />
<code>root@skynet:~# lsusb<br />
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub<br />
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub<br />
root@skynet:~#<br />
</code><br />
At this point you know your hardware, but you know wich driver is using? don&#8217;t worry, the kernel configuration is too intuitive (knowing our hardware, course).<br />
However <a href="http://kmuto.jp/">Kenshi Muto</a> (a Debian Developer) has made this process easier:<br />
<a href="http://kmuto.jp/debian/hcl/" target="_blank">http://kmuto.jp/debian/hcl/</a> &#8211; Device driver check &#038; report.<br />
In this website you paste the <em>lspci -n</em> output and show us wich driver is used for our hardware, nice right?.</p>
<p><strong>II &#8211; Getting the tools</strong><br />
We need some tools for this adventure</p>
<p><code># apt-get install kernel-package dpkg-dev debianutils binutils libncurses5-dev<br />
</code><br />
And of course the Kernel source, in <a href="http://kernel.org/" target="_blank">kernel.org</a> are the latest stable and experimental versions.<br />
<code># wget http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.bz<br />
</code><br />
And &#8230; I&#8217;m pretty sure that I forget something mmmm oooh yes, the last item: beer (without her this adventure can being bored). Now we are ready to <del datetime="2011-07-22T19:32:43+00:00">the party</del> compile.</p>
<p><strong>III &#8211; Compiling</strong><br />
Ready for the party?</p>
<p>Unpacking the source:<br />
<code># tar xvjf linux-3.0.tar.bz2 -C /usr/src/<br />
</code><br />
Go to <em>/usr/src</em> and see that there are your old and new sources, we&#8217;ll working into the new sources:<br />
<code>root@skynet:~# cd /usr/src/<br />
root@skynet:/usr/src# ls<br />
linux-3.0  linux-headers-2.6.38-2-686  linux-headers-2.6.38-2-common  linux-kbuild-2.6.38<br />
root@skynet:/usr/src# cd linux-3.0/<br />
root@skynet:/usr/src/linux-3.0#<br />
</code><br />
Cleaning (if is the first time that unpacking the source, you can forget this step)<br />
<code># make-kpkg clean<br />
</code><br />
To the next point there are several options:</p>
<ul>make config &#8211; Plain text interface.<br />
make menuconfig &#8211; Text based color menus, radiolists &#038; dialogs.<br />
make nconfig &#8211; Enhanced text based color menus.<br />
make xconfig &#8211; X windows (Qt) based configuration tool.<br />
make gconfig &#8211; X windows (Gtk) based configuration tool.<br />
make oldconfig &#8211; Default all questions based on the contents of your existing ./.config file and asking about new config symbols.</ul>
<p>The easy way (and this post it&#8217;s about easy things) is using: <em>make oldconfig</em>.<br />
Copy your old <em>.config</em> file into the new source path.<br />
<code>root@skynet:/usr/src/linux-3.0# cp /boot/config-`uname -r` .config<br />
root@skynet:/usr/src/linux-3.0# make oldconfig<br />
....<br />
#<br />
# configuration written to .config<br />
#<br />
root@skynet:/usr/src/linux-3.0#<br />
</code><br />
If you forget something or just want play, test or broke your Kernel can run: <em>make menuconfig</em> when you finished, exit and save it. Make the image:<br />
<code>root@skynet:/usr/src/linux-3.0# make-kpkg clean<br />
root@skynet:/usr/src/linux-3.0# make-kpkg --initrd kernel_image kernel_headers --revision 01 --append_to_version -lab<br />
</code><br />
Where:<br />
<em>&#8211;initrd</em> &#8211; To make a initrd for the boot.<br />
<em>kernel_image</em> &#8211; Need explain this?<br />
<em>kernel_headers</em> &#8211; To build the headers package of the image<br />
<em>&#8211;revision</em> &#8211; Set the number of revision that the package will have to control future compilations.<br />
<em>&#8211;apend_to_version</em> &#8211; Set the extraversion in the name of image (to personalize your Kernel).<br />
While you kernel is compiling, I recommend you go for a couple of beers, yes … this will take a long time.<br />
<code>[...]</code><br />
When the compilation is finishing you must see the packages created.<br />
<code>root@skynet:/usr/src/linux-3.0# ls ../<br />
linux-3.0		       linux-headers-3.0.0-lab_01_i386.deb<br />
linux-headers-2.6.38-2-686     linux-image-3.0.0-lab_01_i386.deb<br />
linux-headers-2.6.38-2-common  linux-kbuild-2.6.38<br />
linux-headers-3.0.0-lab<br />
root@skynet:/usr/src/linux-3.0#<br />
</code><br />
Almost done! Install the new Kernel packages<br />
<code>root@skynet:/usr/src/linux-3.0# cd ..<br />
root@skynet:/usr/src# dpkg -i *.deb<br />
</code><br />
Assuming your directory is clean, or install one by one.<br />
Now reboot and <del datetime="2011-07-25T19:32:14+00:00">pray</del> choose the new Kernel.<br />
<strong>Booyah!</strong><br />
<code>root@skynet:~# uname -a<br />
Linux skynet 3.0.0-lab #20 SMP Mon Jul 25 11:10:28 CDT 2011 i686 GNU/Linux<br />
root@skynet:~#<br />
</code><br />
Happy Hacking!</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/623/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Kernel Linux 3.0: &#8220;Documentation/lguest not found&#8221;</title>
		<link>http://billy.com.mx/archives/660</link>
		<comments>http://billy.com.mx/archives/660#comments</comments>
		<pubDate>Sat, 23 Jul 2011 15:38:16 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Hacks]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[Notes]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[kernel]]></category>
		<category><![CDATA[lguest]]></category>
		<category><![CDATA[linux 3.0]]></category>
		<category><![CDATA[notes]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=660</guid>
		<description><![CDATA[While I&#8217;m trying to compile the Kernel Linux 3.0 gave me an error: [...] Documentation/lguest not found [...] This because lguest is not anymore into ./Documentation, now is in ./Documentation/virtual Obviously there are not documentation yet, however I solved this issue with a dirty hacks. Just find the string and change it: $ find "." [...]]]></description>
			<content:encoded><![CDATA[<p>While I&#8217;m trying to compile the <a href="http://www.kernel.org/" target="_blank">Kernel</a> Linux <a href="http://www.kernel.org/pub/linux/kernel/v3.0/linux-3.0.tar.bz2" target="_blank">3.0</a> gave me an error:<br />
<code><br />
[...]<br />
Documentation/lguest not found<br />
[...]<br />
</code><br />
This because <em>lguest</em> is not anymore into <em>./Documentation</em>, now is in <em>./Documentation/virtual</em><br />
Obviously there are not documentation yet, however I solved this issue with a dirty hacks. Just find the string and change it:<br />
<code><br />
$ find "." -type f | xargs grep "Documentation/lguest"<br />
</code><br />
And &#8230;<br />
<code><br />
s,Documentation/lguest,Documentation/virtual/lguest<br />
</code><br />
Voilá<br />
Or simply disable <a href="http://lguest.ozlabs.org/" target="_blank">lguest</a>, I don&#8217;t think you need it, it&#8217;s for virtualization with the minimum of complexity used almost always for for Linux developers. How disable it? edit your <em>.config</em> and change this (don&#8217;t appears ordered):<br />
<code><br />
CONFIG_LGUEST_GUEST=y<br />
CONFIG_PARAVIRT_SPINLOCKS=y<br />
CONFIG_LGUEST=y<br />
</code><br />
for this<br />
<code><br />
# CONFIG_LGUEST_GUEST is not set<br />
# CONFIG_PARAVIRT_SPINLOCKS is not set<br />
# CONFIG_LGUEST is not set<br />
</code><br />
And that&#8217;s all, enjoy the new Kernel!</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/660/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
		<item>
		<title>mental note: quilt without (much) pain</title>
		<link>http://billy.com.mx/archives/609</link>
		<comments>http://billy.com.mx/archives/609#comments</comments>
		<pubDate>Wed, 15 Jun 2011 10:47:22 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Devel]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Mental Notes]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[mental notes]]></category>
		<category><![CDATA[quilt]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=609</guid>
		<description><![CDATA[This is not a Quilt&#8217;s tutorial, is a quick reference (to me :)). Honest I miss dpatch, now in Debian quilt is the &#8220;official&#8221; patch system then: you like it or you like it (that sound better in Spanish) :) Let&#8217;s play! quilt store the patches into: debian/patches (like as usual) and use a file [...]]]></description>
			<content:encoded><![CDATA[<p>This is not a <a href="http://en.wikipedia.org/wiki/Quilt_(software)">Quilt&#8217;s</a> tutorial, is a quick reference (to me :)).</p>
<p>Honest I miss <a href="http://packages.debian.org/dpatch">dpatch</a>, now in <a href="http://debian.org">Debian</a> <a href="http://en.wikipedia.org/wiki/Quilt_(software)">quilt</a> is the &#8220;official&#8221; patch system then: you like it or you like it (that sound better in Spanish) :)<br />
Let&#8217;s play!</p>
<p>quilt store the patches into: debian/patches (like as usual) and use a file called: <em>series</em> to containing the list of all the patches.<br />
Apply the patches:<br />
<code>quilt push [-a]</code></p>
<p>Remove the patches:<br />
<code>quilt pop [-a]</code></p>
<p>Update a patch:<br />
<code>quilt refresh</code></p>
<p>Create a patch:<br />
<code>quilt new $PatchName</code><br />
Example<br />
<code> quilt push -a</code><br />
<code>quilt new mynew.patch</code><br />
<code>quilt add filetomodify</code><br />
Edit <em>filetomodify</em><br />
<code>quilt refresh</code><br />
<code>quilt pop -a</code><br />
Now your new patch is in debian/patches don&#8217;t forget to add in <em>series</em>.</p>
<p>Edit a patch:<br />
To edit a existing patch, this must be on the top of the stack.<br />
<code>quilt pop -a</code><br />
<code>quit push $PatchName [-f]</code><br />
<code>quilt edit filetomodify</code><br />
Make your changes<br />
(at this point you can add new files)<br />
<code>quilt refresh</code></p>
<p>You can save you settings at <em>~/.quiltrc</em>, this is mine:<br />
<code><br />
QUILT_DIFF_ARGS="--no-timestamps --no-index --strip 0 -pab"<br />
QUILT_REFRESH_ARGS="--no-timestamps --no-index --strip 0 -pab"<br />
QUILT_NO_DIFF_INDEX=true<br />
QUILT_DIFF_ARGS="--color=auto -p ab"<br />
QUILT_REFRESH_ARGS="-p ab"<br />
QUILT_PATCHES="debian/patches"<br />
</code></p>
<p>Obviously there are a more lot of options: <em>man quilt</em></p>
<p>Easy right?</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/609/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Debian post-install &#8220;devel&#8221; version</title>
		<link>http://billy.com.mx/archives/604</link>
		<comments>http://billy.com.mx/archives/604#comments</comments>
		<pubDate>Fri, 27 May 2011 01:42:47 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Debian]]></category>
		<category><![CDATA[Devel]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[apt-get]]></category>
		<category><![CDATA[devel]]></category>
		<category><![CDATA[packages]]></category>
		<category><![CDATA[Personal]]></category>
		<category><![CDATA[post-installation]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=604</guid>
		<description><![CDATA[I already read many post about &#8220;Debian post-installation&#8221; most of them focused on packages for multimedia, games, video, eye candy, desktop etc. Personally after to install any desktop environment I install devel packages for obviously reasons, my &#8220;Debian post-installation recipe&#8221;: apt-get install linux-headers-`uname -r` apt-get install vim dpkg-dev git file gcc libc6-dev make patch perl [...]]]></description>
			<content:encoded><![CDATA[<p>I already read many post about &#8220;Debian post-installation&#8221; most of them focused on packages for multimedia, games, video, <em>eye candy</em>, desktop etc.<br />
Personally after to install any desktop environment I install <strong>devel</strong> packages for obviously reasons, my &#8220;Debian post-installation recipe&#8221;:<br />
<code><br />
apt-get install linux-headers-`uname -r`<br />
</code><br />
<code><br />
apt-get install vim dpkg-dev git file gcc libc6-dev make patch perl autoconf automake dh-make debhelper devscripts fakeroot lintian debian-policy developers-reference quilt rpm dpatch gmanedit pbuilder dput<br />
</code><br />
Who knows? maybe it will be useful.</p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/604/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>apt-spy</title>
		<link>http://billy.com.mx/archives/591</link>
		<comments>http://billy.com.mx/archives/591#comments</comments>
		<pubDate>Sun, 22 May 2011 23:22:08 +0000</pubDate>
		<dc:creator>Billy</dc:creator>
				<category><![CDATA[Devel]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[My english sucks]]></category>
		<category><![CDATA[Tips]]></category>
		<category><![CDATA[apt]]></category>
		<category><![CDATA[apt-spy]]></category>
		<category><![CDATA[Debian]]></category>
		<category><![CDATA[fast]]></category>
		<category><![CDATA[mirrors]]></category>

		<guid isPermaLink="false">http://billy.com.mx/?p=591</guid>
		<description><![CDATA[I used SID since I started using Debian, but today I wanted to try testing, the logic tells you that the easiest way is to replace &#8220;unstable&#8221; to &#8220;testing&#8221; in your sources.list. However we can do better, look for the more fastest &#8220;mirrors&#8221; and even filter by country. #apt-get install apt-spy #apt-spy update #apt-spy -d [...]]]></description>
			<content:encoded><![CDATA[<p>I used <a href="http://www.debian.org/releases/sid/">SID</a> since I started using <a href="http://www.debian.org/">Debian</a>, but today I wanted to try <a href="http://www.debian.org/releases/testing/">testing</a>, the logic tells you that the easiest way is to replace &#8220;unstable&#8221; to &#8220;testing&#8221; in your <em>sources.list</em>.<br />
However we can do better, look for the more fastest &#8220;mirrors&#8221; and even filter by country.</p>
<p><code><br />
#apt-get install apt-spy<br />
#apt-spy update<br />
#apt-spy -d testing -a North-America -e 5 -o /etc/apt/sources.list<br />
</code><br />
Basically what I did was, install the software, update the mirrors, and run the program, where:<br />
<code><br />
-d testing (distribution, you can use: stable, unstable or testing)<br />
-a North-America (area, benchmarking only servers on the specify area: Asia, North-America, South-America etc.)<br />
-e 5 (stop benchmarking after the number of servers in this option)<br />
-o /etc/apt/sources.list (output file)<br />
</code><br />
And that&#8217;s all, we have a new <em>source.list</em> with the fresh and fastest mirrors.<br />
Don&#8217;t forget read: <em>man apt-spy</em></p>
]]></content:encoded>
			<wfw:commentRss>http://billy.com.mx/archives/591/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

