<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearchrss/1.0/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" version="2.0"><channel><atom:id>tag:blogger.com,1999:blog-3286996827505175687</atom:id><lastBuildDate>Wed, 28 Dec 2011 13:18:39 +0000</lastBuildDate><category>install</category><category>prompt</category><category>engines</category><category>keyboard shortcuts</category><category>path</category><category>web</category><category>ram</category><category>Highlighting</category><category>gestures</category><category>initialization</category><category>logitech</category><category>minibufexpl</category><category>firefox</category><category>redhat</category><category>mouse</category><category>Doxygen</category><category>xbindkeys</category><category>shift</category><category>rss</category><category>essentials</category><category>keyboard</category><category>spaces</category><category>virtual</category><category>vim</category><category>eclipse</category><category>Documentation</category><category>c++</category><category>textwidth</category><category>multiple</category><category>core</category><category>g5</category><category>macros</category><category>apt</category><category>format</category><category>omnifunc</category><category>memory</category><category>bash</category><category>compile</category><category>disk usage</category><category>bindings</category><category>c</category><category>edit</category><category>posix</category><category>bar</category><category>build</category><category>software</category><category>reference</category><category>color</category><category>Minimize</category><category>scroll</category><category>Dependencies</category><category>network</category><category>dpi</category><category>cscope</category><category>project</category><category>ubuntu</category><category>thesaurus</category><category>vista</category><category>remove</category><category>subversion</category><category>rxvt</category><category>pgrep</category><category>rm</category><category>perl</category><category>Visual Studio 2005</category><category>lists</category><category>recursive</category><category>indent</category><category>xargs</category><category>explorer</category><category>pidgin</category><category>Comments</category><category>dump</category><category>fedora</category><category>all</category><category>Passing</category><category>vimrc</category><category>rpm</category><category>inputrc</category><category>define</category><category>pthread</category><category>find</category><category>umbrello</category><category>keyword</category><category>plugin</category><category>browser</category><category>Parameter</category><category>horizontal</category><category>uml</category><category>windows</category><category>aggregator</category><category>file</category><category>default</category><category>const</category><category>gesture</category><category>linux</category><category>man</category><category>extensions</category><category>x dell 2405fpw xorg</category><category>tabs</category><category>cygwin</category><category>kubuntu</category><category>Express</category><category>static</category><category>programming</category><category>startup</category><category>autoindent</category><category>force</category><category>Java</category><category>font</category><category>API</category><category>X</category><category>config</category><category>kde</category><category>replace</category><category>du</category><category>outlook</category><category>close</category><category>Syntax</category><category>forward declaration</category><category>gvim</category><category>greatnews</category><category>jframe</category><category>unix</category><category>konqueror</category><category>omnicppcomplete</category><category>dictionary</category><category>search</category><category>cindent</category><category>gcc</category><category>command line</category><category>g++</category><category>bell</category><title>Hey Kevin Le</title><description>Software, web, and programming tips: C++, Java, C, Linux, Windows, Cygwin, Firefox, Vim, WWW, RSS</description><link>http://heykevinle.blogspot.com/</link><managingEditor>noreply@blogger.com (Kevin)</managingEditor><generator>Blogger</generator><openSearch:totalResults>65</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/HeyKevinLe" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="heykevinle" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-5241375282422154820</guid><pubDate>Wed, 14 Dec 2011 07:40:00 +0000</pubDate><atom:updated>2011-12-13T23:40:25.350-08:00</atom:updated><title>Windows 7 Sharing</title><description>Add Authenticated Users to have full control&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-5241375282422154820?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2011/12/windows-7-sharing.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-499176142880899046</guid><pubDate>Mon, 22 Jun 2009 21:17:00 +0000</pubDate><atom:updated>2011-06-27T16:59:25.325-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">keyboard</category><category domain="http://www.blogger.com/atom/ns#">inputrc</category><category domain="http://www.blogger.com/atom/ns#">cygwin</category><category domain="http://www.blogger.com/atom/ns#">rxvt</category><category domain="http://www.blogger.com/atom/ns#">bindings</category><title>Forward- and backword-word in rxvt</title><description>Add this to your ~/.inputrc:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# Control+right&lt;br /&gt;"\eOc": forward-word&lt;br /&gt;# Control+left&lt;br /&gt;"\eOd": backward-word&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;Notice those are O's (the letter) not 0's (zeroes).&lt;br /&gt;&lt;br /&gt;You may need to have this in your .bashrc&lt;br /&gt;&lt;code&gt;export INPUTRC=$HOME/.inputrc&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-499176142880899046?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2009/06/forward-and-backword-word-in-rxvt.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-2889432250855380516</guid><pubDate>Thu, 09 Oct 2008 22:29:00 +0000</pubDate><atom:updated>2008-10-09T15:30:55.074-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">jframe</category><category domain="http://www.blogger.com/atom/ns#">Java</category><category domain="http://www.blogger.com/atom/ns#">close</category><title>Set default close operation</title><description>&lt;code&gt;setDefaultCloseOperation(EXIT_ON_CLOSE)&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-2889432250855380516?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/10/set-default-close-operation.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-3981937250773636427</guid><pubDate>Wed, 08 Oct 2008 17:21:00 +0000</pubDate><atom:updated>2008-10-08T10:27:32.718-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">spaces</category><category domain="http://www.blogger.com/atom/ns#">eclipse</category><category domain="http://www.blogger.com/atom/ns#">tabs</category><title>Tabs to Spaces only in Eclipse</title><description>&lt;ul&gt;&lt;li&gt;&lt;u&gt;W&lt;/u&gt;indow menu → &lt;u&gt;P&lt;/u&gt;references...&lt;/li&gt;&lt;li&gt;Java → Code Style → Formatter → Ne&lt;u&gt;w&lt;/u&gt;... button&lt;/li&gt;&lt;ul&gt;&lt;li&gt;Enter any name → OK&lt;/li&gt;&lt;/ul&gt;&lt;li&gt;In&lt;u&gt;d&lt;/u&gt;entation tab → Under General settings, set Tab polic&lt;u&gt;y&lt;/u&gt; to Spaces only&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-3981937250773636427?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/10/tabs-to-spaces-only-in-eclipse.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1562264449864826899</guid><pubDate>Tue, 19 Aug 2008 03:53:00 +0000</pubDate><atom:updated>2008-08-18T20:54:27.010-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">network</category><category domain="http://www.blogger.com/atom/ns#">vista</category><title>Delete/disconnect network connections/drive in Windows Vista</title><description>&lt;code&gt;net use * /d&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1562264449864826899?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/08/deletedisconnect-network.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1312524908690046690</guid><pubDate>Thu, 17 Jul 2008 01:26:00 +0000</pubDate><atom:updated>2008-07-16T18:27:58.307-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">g++</category><title>Show virtual table</title><description>g++ -fdump-class-hierarchy main.cpp&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1312524908690046690?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/07/show-virtual-table.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-8531003267707353621</guid><pubDate>Sun, 18 May 2008 18:54:00 +0000</pubDate><atom:updated>2008-05-18T11:55:38.126-07:00</atom:updated><title>a.vim</title><description>This plugin lets you switch between source file and header file by typing&lt;br /&gt;&lt;code&gt;:A&lt;/code&gt;&lt;br /&gt;&lt;br /&gt;Script link: &lt;a href="http://www.vim.org/scripts/script.php?script_id=31"&gt;a.vim&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-8531003267707353621?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/05/avim.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-6823795817486724314</guid><pubDate>Sat, 12 Apr 2008 16:30:00 +0000</pubDate><atom:updated>2008-04-12T09:31:11.114-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">g++</category><category domain="http://www.blogger.com/atom/ns#">gcc</category><category domain="http://www.blogger.com/atom/ns#">fedora</category><title>Install developer tools in Fedora Core 8</title><description>sudo yum groupinstall "Development Tools"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-6823795817486724314?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/04/install-developer-tools-in-fedora-core.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-3754873662080779372</guid><pubDate>Fri, 04 Apr 2008 17:48:00 +0000</pubDate><atom:updated>2008-05-18T11:58:52.986-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">c++</category><category domain="http://www.blogger.com/atom/ns#">virtual</category><title>Virtual functions performance cost</title><description>From &lt;i&gt;Efficient C++ Performance Programming Techniques&lt;/i&gt;:&lt;blockquote&gt;Virtual functions seem to inflict a performance cost in several ways:&lt;ul&gt;&lt;li&gt;The vptr must be initialized in the constructor.&lt;li&gt;A virtual function is invoked via pointer indirection. We must fetch the pointer to the function table and then access the correct function offset.&lt;li&gt;Inlining is a compile-time decision. The compiler cannot inline virtual functions whose resolution takes place at run-time.&lt;/li&gt;&lt;/ul&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-3754873662080779372?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/04/virtual-functions-performance-cost.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-5996710368573504257</guid><pubDate>Thu, 13 Mar 2008 23:30:00 +0000</pubDate><atom:updated>2008-03-13T16:32:55.110-07:00</atom:updated><title>Get CPU info in Linux</title><description>&lt;code&gt;cat /proc/cpuinfo&lt;/code&gt;&lt;br /&gt;CPU's with multiple cores show "cpu count       : 2"&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-5996710368573504257?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/03/get-cpu-info-in-linux.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-5565166035360634989</guid><pubDate>Sun, 20 Jan 2008 20:19:00 +0000</pubDate><atom:updated>2008-01-20T12:20:45.698-08:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">firefox</category><category domain="http://www.blogger.com/atom/ns#">outlook</category><category domain="http://www.blogger.com/atom/ns#">windows</category><title>Use FireFox as the default browser to open links in Outlook</title><description>1. Open Explorer&lt;br /&gt;  2. Select Tools and then Folder Options&lt;br /&gt;  3. Select the File Types tab&lt;br /&gt;  4. Select Extension: (NONE), File Type: URL:HyperText Transfer Protocol&lt;br /&gt;  5. Click Advanced toward the bottom of the window&lt;br /&gt;  6. In the Edit File Type window, select open and click Edit&lt;br /&gt;  7. Clear the check for DDE above the DDE message box (which should contain  "%1" or similar)&lt;br /&gt;  8. Click OK, Click OK&lt;br /&gt;  9. Repeat for File Type: HyperText Transfer Protocol with Privacy and FTP&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-5565166035360634989?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/01/use-firefox-as-default-browser-to-open.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-7520242074294884593</guid><pubDate>Mon, 14 Jan 2008 07:51:00 +0000</pubDate><atom:updated>2008-03-13T16:34:00.934-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">c</category><title>High resolution ("real-time") timers</title><description>To compile: &lt;code&gt;gcc -lrt time.c&lt;/code&gt;&lt;br /&gt;More info: &lt;a href="http://mia.ece.uic.edu/~papers/WWW/books/posix4/DOCU_007.HTM"&gt;link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-7520242074294884593?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2008/01/high-resolution-timers.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1078516995635909591</guid><pubDate>Wed, 31 Oct 2007 18:15:00 +0000</pubDate><atom:updated>2007-10-31T11:17:14.725-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">c++</category><category domain="http://www.blogger.com/atom/ns#">define</category><category domain="http://www.blogger.com/atom/ns#">programming</category><category domain="http://www.blogger.com/atom/ns#">c</category><category domain="http://www.blogger.com/atom/ns#">macros</category><title>C/C++ Show macros</title><description>In gcc or g++, to show all of the macros that are defined for a given platform:&lt;br /&gt;&lt;blockquote&gt;gcc -dM -E test.c&lt;/blockquote&gt;or&lt;blockquote&gt;g++ -dM -E test.cpp&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1078516995635909591?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/cc-show-macros.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-8572944606283912572</guid><pubDate>Sun, 28 Oct 2007 20:02:00 +0000</pubDate><atom:updated>2007-10-28T13:07:44.435-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">dump</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">core</category><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Ubuntu - core dump</title><description>From &lt;a href="https://answers.launchpad.net/ubuntu/+question/10616"&gt;https://answers.launchpad.net/ubuntu/+question/10616&lt;/a&gt;&lt;br /&gt;&lt;blockquote&gt;It appears that resource limits (which include the maximum size of a core dump file) are set by PAM on login. The settings for these limits are in /etc/security/limits.conf, which on my system (which is unmodified) is comments only. A quick look at the source code suggests that the default core dump limit is 0 (zero), which means no dump at all is created (even though the message suggests otherwise).&lt;br /&gt;&lt;br /&gt;In summary: edit /etc/security/limits.conf, set the core limit to be non-zero (measured in kilobytes), and log in again.&lt;br /&gt;&lt;br /&gt;I hope that works!&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-8572944606283912572?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/ubuntu-core-dump.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-4547430487548858952</guid><pubDate>Thu, 11 Oct 2007 23:20:00 +0000</pubDate><atom:updated>2007-10-11T16:54:47.230-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">omnifunc</category><category domain="http://www.blogger.com/atom/ns#">vim</category><category domain="http://www.blogger.com/atom/ns#">plugin</category><category domain="http://www.blogger.com/atom/ns#">omnicppcomplete</category><title>VIM - omnicppcomplete</title><description>I had to put these in my ~/.vimrc to get &lt;a href="http://www.vim.org/scripts/script.php?script_id=1520"&gt;omnicppcomplete&lt;/a&gt; to work&lt;br /&gt;&lt;blockquote&gt;autocmd BufNewFile,BufRead,BufEnter *.cpp,*.hpp set omnifunc=omni#cpp#complete#Main&lt;br /&gt;&lt;br /&gt;"ctags&lt;br /&gt;map &amp;lt;C-F12&amp;gt; :!ctags -R --c++-kinds=+p --fields=+iaS --extra=+q .&amp;lt;CR&amp;gt;&lt;br /&gt;&lt;br /&gt;"omnicppcomplete&lt;br /&gt;imap &amp;lt;C-Space&amp;gt; &amp;lt;C-x&amp;gt;&amp;lt;C-o&amp;gt;&lt;br /&gt;let OmniCpp_MayCompleteDot = 0&lt;br /&gt;let OmniCpp_MayCompleteArrow = 0&lt;br /&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-4547430487548858952?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/vim-omnicppcomplete.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-7242535834604584489</guid><pubDate>Thu, 11 Oct 2007 18:15:00 +0000</pubDate><atom:updated>2007-10-11T11:20:11.257-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><category domain="http://www.blogger.com/atom/ns#">plugin</category><category domain="http://www.blogger.com/atom/ns#">file</category><category domain="http://www.blogger.com/atom/ns#">explorer</category><category domain="http://www.blogger.com/atom/ns#">vimrc</category><title>VIM - NERDTree plugin</title><description>Good file explorer.&lt;br /&gt;&lt;br /&gt;plugin: &lt;a href="http://www.vim.org/scripts/script.php?script_id=1658"&gt;link&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Add this to ~/.vimrc&lt;br /&gt;&lt;blockquote&gt;"NERDTree Toggle&lt;br /&gt;noremap &amp;lt;Leader&amp;gt;][ :NERDTreeToggle&lt;cr&gt;&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-7242535834604584489?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/vim-nerdtree-plugin.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-7302218701742884313</guid><pubDate>Wed, 10 Oct 2007 05:06:00 +0000</pubDate><atom:updated>2007-10-09T22:08:30.344-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">man</category><category domain="http://www.blogger.com/atom/ns#">pthread</category><category domain="http://www.blogger.com/atom/ns#">posix</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Ubuntu - Install dev man pages</title><description>&lt;blockquote&gt;sudo apt-get install manpages-dev manpages-posix-dev&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-7302218701742884313?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/ubuntu-install-dev-man-pages.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-8928998625607742153</guid><pubDate>Wed, 03 Oct 2007 05:11:00 +0000</pubDate><atom:updated>2007-10-02T22:14:25.254-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">xbindkeys</category><category domain="http://www.blogger.com/atom/ns#">logitech</category><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">g5</category><title>Linux - xbindkeys for Logitech G5</title><description>This is my ~/.xbindkeysrc for my Logitech G5:&lt;br /&gt;&lt;blockquote&gt;"/usr/bin/xvkbd -xsendevent -text "\[Return]""&lt;br /&gt;  m:0x0 + b:8&lt;br /&gt;"/usr/bin/xvkbd -xsendevent -text "\[Alt]\[Left]""&lt;br /&gt;  m:0x0 + b:7&lt;br /&gt;"/usr/bin/xvkbd -xsendevent -text "\[Alt]\[Right]""&lt;br /&gt;  m:0x0 + b:6&lt;/blockquote&gt;&lt;br /&gt;Additional help: &lt;a href="http://ubuntuforums.org/showthread.php?t=219894"&gt;link&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-8928998625607742153?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/10/linux-xbindkeys-for-logitech-g5.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-2299538890722983404</guid><pubDate>Thu, 20 Sep 2007 17:53:00 +0000</pubDate><atom:updated>2007-09-20T10:55:16.420-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">edit</category><category domain="http://www.blogger.com/atom/ns#">keyboard shortcuts</category><category domain="http://www.blogger.com/atom/ns#">eclipse</category><title>Eclipse - Last Edit Location</title><description>Keyboard shortcuts:&lt;br /&gt;&lt;table&gt;&lt;tr&gt;&lt;td&gt;Last Edit Location&lt;td&gt;ctrl+q&lt;tr&gt;&lt;td&gt;Next Edit Location&lt;td&gt;ctrl+.&lt;/table&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-2299538890722983404?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/09/eclipse-last-edit-location.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-4665493240511641489</guid><pubDate>Mon, 10 Sep 2007 20:27:00 +0000</pubDate><atom:updated>2007-09-10T13:44:59.575-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">scroll</category><category domain="http://www.blogger.com/atom/ns#">horizontal</category><category domain="http://www.blogger.com/atom/ns#">bar</category><category domain="http://www.blogger.com/atom/ns#">gvim</category><title>GVIM - Enable horizontal scroll bar</title><description>Add this to your .vimrc:&lt;br /&gt;&lt;blockquote&gt;set guioptions+=b&lt;/blockquote&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-4665493240511641489?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/09/gvim-enable-horizontal-scroll-bar.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1160477240961854153</guid><pubDate>Wed, 05 Sep 2007 17:24:00 +0000</pubDate><atom:updated>2007-09-10T17:09:13.084-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">linux</category><category domain="http://www.blogger.com/atom/ns#">bash</category><category domain="http://www.blogger.com/atom/ns#">color</category><category domain="http://www.blogger.com/atom/ns#">command line</category><category domain="http://www.blogger.com/atom/ns#">unix</category><category domain="http://www.blogger.com/atom/ns#">prompt</category><title>UNIX/LINUX - Customized bash prompt</title><description>If you want your bash prompt to look like this:&lt;br /&gt;&lt;br /&gt;&lt;font style="color: green"&gt;[10:27:57 AM]&lt;/font&gt; &lt;font style="color: red"&gt;hostname:&lt;/font&gt;&lt;font style="color: yellow"&gt;~/some_dir&lt;/font&gt;&lt;br&gt;&lt;font style="color:white"&gt;$&lt;/font&gt;&lt;br /&gt;&lt;br /&gt;Put this in your &lt;code&gt;.bashrc&lt;/code&gt;:&lt;br /&gt;&lt;pre style="border: solid white 1px"&gt;function proml&lt;br /&gt;{&lt;br /&gt; local BLACK="\[\033[0;30m\]"&lt;br /&gt; local RED="\[\033[1;31m\]"&lt;br /&gt; local GREEN="\[\033[0;32m\]"&lt;br /&gt; local YELLOW="\[\033[1;33m\]"&lt;br /&gt; local BLUE="\[\033[0;34m\]"&lt;br /&gt; local PURPLE="\[\033[0;35m\]"&lt;br /&gt; local CYAN="\[\033[1;36m\]"&lt;br /&gt; local WHITE="\[\033[1;37m\]"&lt;br /&gt;&lt;br /&gt; case $TERM in&lt;br /&gt;  xterm*)&lt;br /&gt;  local TITLEBAR='\[\033]0;\h:\w\007\]'&lt;br /&gt;  ;;&lt;br /&gt;  ansi*)&lt;br /&gt;  local TITLEBAR='\[\033]0;\h:\w\007\]'&lt;br /&gt;  ;;&lt;br /&gt; *)&lt;br /&gt;  local TITLEBAR=''&lt;br /&gt;  ;;&lt;br /&gt; esac&lt;br /&gt;&lt;br /&gt;  PS1="${TITLEBAR}&lt;br /&gt;${GREEN}[\$(date +%r)] ${RED}\h:${YELLOW}\w\&lt;br /&gt;${WHITE}\n$ "&lt;br /&gt;  PS2='&gt; '&lt;br /&gt;  PS4='+ '&lt;br /&gt;}&lt;br /&gt;proml&lt;/pre&gt;&lt;br /&gt;You can change the colors and other properties as well.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1160477240961854153?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/09/unixlinux-customized-bash-prompt.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1697987146988617651</guid><pubDate>Wed, 05 Sep 2007 05:29:00 +0000</pubDate><atom:updated>2007-09-04T22:39:56.001-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">x dell 2405fpw xorg</category><title>X11 - Dell 2405fpw xorg.conf</title><description>&lt;pre&gt;Section "Monitor"&lt;br /&gt;    Identifier     "Monitor0"&lt;br /&gt;    VendorName     "Unknown"&lt;br /&gt;    ModelName      "Unknown"&lt;br /&gt;    HorizSync       30.0 - 110.0&lt;br /&gt;    VertRefresh     50.0 - 150.0&lt;br /&gt;    Option         "DPMS"&lt;br /&gt;    Modeline "1920x1200"  154.128 1920 1968 2000 2080  1200 1203 1209 1235 -hsync -vsync&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Device"&lt;br /&gt;    Identifier     "Device0"&lt;br /&gt;    Driver         "nv"&lt;br /&gt;    VendorName     "NVIDIA Corporation"&lt;br /&gt;EndSection&lt;br /&gt;&lt;br /&gt;Section "Screen"&lt;br /&gt;    Identifier     "Screen0"&lt;br /&gt;    Device         "Device0"&lt;br /&gt;    Monitor        "Monitor0"&lt;br /&gt;    DefaultDepth    24&lt;br /&gt;    SubSection     "Display"&lt;br /&gt;        Depth       24&lt;br /&gt;        Modes      "1920x1200" "1280x1024" "1024x768" "800x600" "640x480"&lt;br /&gt;    EndSubSection&lt;br /&gt;EndSection&lt;/pre&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1697987146988617651?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/09/x11-dell-2405fpw-xorgconf.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-2382405780632204842</guid><pubDate>Thu, 23 Aug 2007 18:51:00 +0000</pubDate><atom:updated>2007-08-23T11:53:51.630-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">vim</category><category domain="http://www.blogger.com/atom/ns#">search</category><title>VIM - Search to end of word</title><description>This will leave your cursor at the end of the searched phrase:&lt;br /&gt;&lt;code&gt;/search phrase/e&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-2382405780632204842?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/08/vim-search-to-end-of-word.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>0</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-1109838517783781420</guid><pubDate>Tue, 14 Aug 2007 01:47:00 +0000</pubDate><atom:updated>2008-08-27T16:26:17.142-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">format</category><category domain="http://www.blogger.com/atom/ns#">vim</category><category domain="http://www.blogger.com/atom/ns#">textwidth</category><title>VIM - format lines to certain width</title><description>First,&lt;br /&gt;:set textwidth=80 (or :set tw=80)&lt;br /&gt;Then,&lt;br /&gt;&lt;table style="border: 1px solid white;"&gt;&lt;tr&gt;&lt;td class="post"&gt;gqq&lt;/td&gt;&lt;td class="post"&gt;Format a single line&lt;/td&gt;&lt;tr&gt;&lt;td class="post"&gt;{Visual}gq&lt;/td&gt;&lt;td class="post"&gt;Format visual selection. (ctrl+v to get to visual mode then use hjkl to navigate)&lt;/td&gt;&lt;/table&gt;&lt;br /&gt;For more help,&lt;br /&gt;:help gq&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-1109838517783781420?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/08/vim-format-lines-to-certain-width.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>1</thr:total></item><item><guid isPermaLink="false">tag:blogger.com,1999:blog-3286996827505175687.post-3132139844041951216</guid><pubDate>Mon, 06 Aug 2007 05:03:00 +0000</pubDate><atom:updated>2007-08-05T22:19:31.066-07:00</atom:updated><category domain="http://www.blogger.com/atom/ns#">pidgin</category><category domain="http://www.blogger.com/atom/ns#">compile</category><category domain="http://www.blogger.com/atom/ns#">ubuntu</category><title>Compile Pidgin for Ubuntu 7.04</title><description>Download source: &lt;a href="http://www.pidgin.im/download/"&gt;http://www.pidgin.im/download/&lt;/a&gt;&lt;br /&gt;Install dependencies:&lt;br /&gt;&lt;code&gt;sudo apt-get install gettext libglib2-dev libgtk2.0-dev libxml2-dev&lt;/code&gt;&lt;br /&gt;For MSN and GoogleTalk:&lt;br /&gt;&lt;code&gt;sudo apt-get install libnss-dev libnspr-dev&lt;/code&gt;&lt;br /&gt;Compile:&lt;br /&gt;&lt;code&gt;./configure&lt;br /&gt;make&lt;br /&gt;sudo make install&lt;br /&gt;make install clean&lt;/code&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3286996827505175687-3132139844041951216?l=heykevinle.blogspot.com' alt='' /&gt;&lt;/div&gt;</description><link>http://heykevinle.blogspot.com/2007/08/compile-pidgin-for-ubuntu-704.html</link><author>noreply@blogger.com (Kevin)</author><thr:total>1</thr:total></item></channel></rss>

