<?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>Hacking Corner &#187; tips</title>
	<atom:link href="http://blog.fealdia.org/category/tips/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.fealdia.org</link>
	<description>Ramblings of a free software enthusiast</description>
	<lastBuildDate>Sat, 24 Jul 2010 06:05:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to upgrade all dependencies of a debian package</title>
		<link>http://blog.fealdia.org/2010/06/04/how-to-upgrade-all-dependencies-of-a-debian-package/</link>
		<comments>http://blog.fealdia.org/2010/06/04/how-to-upgrade-all-dependencies-of-a-debian-package/#comments</comments>
		<pubDate>Fri, 04 Jun 2010 18:25:42 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=598</guid>
		<description><![CDATA[Sometimes Debian Unstable users may find it useful to upgrade all dependencies of a package (missing version dependencies etc). The following command can be used to do it: $ aptitude safe-upgrade ~Rpackage~U]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2010/06/04/how-to-upgrade-all-dependencies-of-a-debian-package/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blocking Facebook&#8217;s web history tracking</title>
		<link>http://blog.fealdia.org/2010/05/23/blocking-facebooks-web-history-tracking/</link>
		<comments>http://blog.fealdia.org/2010/05/23/blocking-facebooks-web-history-tracking/#comments</comments>
		<pubDate>Sun, 23 May 2010 09:25:11 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[facebook]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=595</guid>
		<description><![CDATA[Now that Facebook is providing a &#8220;service&#8221; for sites to allow showing an iframe that allows you to like any URL (and see friends who have liked it as well), it is coincidentally collecting data on your browsing habits. Opt-out can be done using Adblock Plus with the following URL: http://www.facebook.com/plugins/like.php?* From privacy point of [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2010/05/23/blocking-facebooks-web-history-tracking/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Separating history of a git repository subtree</title>
		<link>http://blog.fealdia.org/2010/02/20/separating-history-of-a-git-repository-subtree/</link>
		<comments>http://blog.fealdia.org/2010/02/20/separating-history-of-a-git-repository-subtree/#comments</comments>
		<pubDate>Sat, 20 Feb 2010 08:43:38 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=573</guid>
		<description><![CDATA[Most people probably already know that it&#8217;s possible to merge histories of multiple repositories by using the subtree merge strategy [1]. However, sometimes you also need to separate/decouple the history of a repository&#8217;s subdirectory into a stand-alone repository. This post outlines how. In this example we decouple dokuwiki/lib/plugins/piwik from the dokuwiki repository. $ git clone [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2010/02/20/separating-history-of-a-git-repository-subtree/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>git status / utf-8 umlaut tip</title>
		<link>http://blog.fealdia.org/2010/01/16/git-status-utf-8-umlaut-tip/</link>
		<comments>http://blog.fealdia.org/2010/01/16/git-status-utf-8-umlaut-tip/#comments</comments>
		<pubDate>Sat, 16 Jan 2010 09:06:12 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=554</guid>
		<description><![CDATA[git status and other commands display utf-8 filenames containing umlauts (äö etc) differently from the shell, eg. as escaped (\266, \303 etc). So in case you are having problems with umlauts, the following command should help: $ git config core.quotepath false From man git-config(1) for core.quotepath: The commands that output paths (e.g.  ls-files, diff), when [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2010/01/16/git-status-utf-8-umlaut-tip/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>git tips/tricks</title>
		<link>http://blog.fealdia.org/2009/12/14/git-tipstricks/</link>
		<comments>http://blog.fealdia.org/2009/12/14/git-tipstricks/#comments</comments>
		<pubDate>Mon, 14 Dec 2009 18:02:33 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=536</guid>
		<description><![CDATA[I have to admit the more I use git the more I love it. Here are some random tips of commands I have found useful. -p is your friend $ git add -p Hand-pick what changes to add to the next commit. $ git reset -p The same as before, but in reverse. Eg. remove [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2009/12/14/git-tipstricks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sorting dicts by value in python</title>
		<link>http://blog.fealdia.org/2009/11/27/sorting-dicts-by-value-in-python/</link>
		<comments>http://blog.fealdia.org/2009/11/27/sorting-dicts-by-value-in-python/#comments</comments>
		<pubDate>Fri, 27 Nov 2009 15:38:41 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[python]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=515</guid>
		<description><![CDATA[A couple of tips (read: notes to self:) using sorted() and lambda to sort dicts by values in python. Often you need to count occurrences of previously-unknown keys. The most usual way is to store these in a dict like this: d = {} d[key] = d.get(key, 0) + 1 Eventually you end up with [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2009/11/27/sorting-dicts-by-value-in-python/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>CD/DVD tray stuck on Debian Sid</title>
		<link>http://blog.fealdia.org/2009/11/19/cddvd-tray-stuck-on-debian-sid/</link>
		<comments>http://blog.fealdia.org/2009/11/19/cddvd-tray-stuck-on-debian-sid/#comments</comments>
		<pubDate>Thu, 19 Nov 2009 14:43:08 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[debian]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=471</guid>
		<description><![CDATA[In case anyone has run into this peculiar bug, the problem seems to be devkit-disks-daemon (in devicekit-disks package). Debian bug #550316. Killing the daemon allows you to open the tray normally. Bad gnomes this time.]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2009/11/19/cddvd-tray-stuck-on-debian-sid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to modify author of multiple commits in git</title>
		<link>http://blog.fealdia.org/2009/07/12/how-to-modify-author-of-multiple-commits-in-git/</link>
		<comments>http://blog.fealdia.org/2009/07/12/how-to-modify-author-of-multiple-commits-in-git/#comments</comments>
		<pubDate>Sun, 12 Jul 2009 16:59:37 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[git]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=438</guid>
		<description><![CDATA[I needed a nifty way of changing author name/e-mail in multiple commits when someone made commits with wrong authorship details. The orig branch here contains the commits to be modified, and rewrite will contain the rewritten commits. git checkout -b rewrite git reset --hard HEAD~4 # last four commits git format-patch --stdout HEAD..orig &#124; sed [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2009/07/12/how-to-modify-author-of-multiple-commits-in-git/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A good read on vtables</title>
		<link>http://blog.fealdia.org/2009/03/31/a-good-read-on-vtables/</link>
		<comments>http://blog.fealdia.org/2009/03/31/a-good-read-on-vtables/#comments</comments>
		<pubDate>Tue, 31 Mar 2009 16:21:00 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[c++]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=401</guid>
		<description><![CDATA[I happened to find some good reading on C++&#8217;s virtual tables, their implementation (on g++) and dynamic_cast. Nothing too special, but somehow I&#8217;ve always managed to neglect thinking about this. The Wikipedia article &#8220;Virtual method table&#8221; is a good starting point, followed by a more detailed explanation on dynamic_cast, courtesy of  carcino.gen.nz. Don&#8217;t miss the [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2009/03/31/a-good-read-on-vtables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>jmap: UnmappedAddressException</title>
		<link>http://blog.fealdia.org/2008/11/23/jmap-unmappedaddressexception/</link>
		<comments>http://blog.fealdia.org/2008/11/23/jmap-unmappedaddressexception/#comments</comments>
		<pubDate>Sun, 23 Nov 2008 11:52:27 +0000</pubDate>
		<dc:creator>hoxu</dc:creator>
				<category><![CDATA[tips]]></category>
		<category><![CDATA[java]]></category>

		<guid isPermaLink="false">http://blog.fealdia.org/?p=210</guid>
		<description><![CDATA[Exception in thread &#8220;main&#8221; sun.jvm.hotspot.debugger.UnmappedAddressException Googling didn&#8217;t help much, so in case anyone else is looking for solution to this problem: my case was that I was running the java process using 1.6 and running jmap of java 1.5. Bitten by Debian java alternatives once again&#8230; $ readlink -f $(which jmap) The above command is [...]]]></description>
		<wfw:commentRss>http://blog.fealdia.org/2008/11/23/jmap-unmappedaddressexception/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
