<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
 
 <title>Edouard Swiac</title>
 <link href="http://blog.edouardswiac.net/atom.xml" rel="self"/>
 <link href="http://blog.edouardswiac.net/"/>
 <updated>2011-08-03T16:04:48-07:00</updated>
 <id>http://blog.edouardswiac.net/</id>
 <author>
   <name>Edouard Swiac</name>
 </author>

 
 <entry>
   <title>Hacking like a hacker on a Mac using iTerm2, tmux, emacs, irssi (and more).</title>
   <link href="http://blog.edouardswiac.net/2011/07/31/hacking-like-a-hacker-on-a-mac.html"/>
   <updated>2011-07-31T00:00:00-07:00</updated>
   <id>http://blog.edouardswiac.net/2011/07/31/hacking-like-a-hacker-on-a-mac</id>
   <content type="html">&lt;h1&gt;Hacking like a hacker on a Mac using iTerm2, tmux, emacs, irssi (and more).&lt;/h1&gt;
&lt;p&gt;Those are the softwares I use everyday to try to suck less during my hacking sessions. I found that staying inside a terminal and keeping both hand on the keyboard using my ten fingers increased my productivity.&lt;/p&gt;
&lt;h2&gt;iTerm2&lt;/h2&gt;
&lt;p&gt;You probably know or use &lt;a href=&quot;http://iterm.sourceforge.net/&quot;&gt;iTerm&lt;/a&gt;, but did you know &lt;a href=&quot;http://iterm.sourceforge.net/&quot;&gt;iTerm2&lt;/a&gt; ? It&amp;#8217;s an awesome terminal replacement for Terminal.app, and ships with pane splitting, themes, powerful keybinding, window hotkeying (goodbye &lt;a href=&quot;http://visor.binaryage.com/&quot;&gt;Visor&lt;/a&gt;!) &amp;#8230; A quick glance at its &lt;a href=&quot;http://www.iterm2.com/#/section/features/&quot;&gt;features&lt;/a&gt; should definitely convince you.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/split_panes.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;Emacs&lt;/h2&gt;
&lt;p&gt;Pretty easy to install using MacPorts or homebrew. Vim is good too. Using one or the other is mostly a matter of taste. By using the default keybindings, Vim users will find themselves hitting frequently the Esc key, whereas Emacs users have to befriend with Ctrl and Alt keys.&lt;/p&gt;
&lt;p&gt;Emacs can be used either from inside the terminal or in &lt;span class=&quot;caps&quot;&gt;GUI&lt;/span&gt; mode. We are talking about running Emacs inside iTerm2 here ! Run &amp;#8220;emacs -nw&amp;#8221; to shut down that &lt;span class=&quot;caps&quot;&gt;GUI&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/emacs.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h2&gt;tmux&lt;/h2&gt;
&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;GNU&lt;/span&gt; screen on vitamins. Long story short, tmux is to screen what iTerm2 it to Terminal.app. More configurable, overall improvements &amp;#8230; The folks at Hawkhost wrote &lt;a href=&quot;http://blog.hawkhost.com/2010/06/28/tmux-the-terminal-multiplexer/&quot;&gt;a two-part tutorial&lt;/a&gt; on the why&amp;#8217;s and the how&amp;#8217;s of tmux.&lt;/p&gt;
&lt;h2&gt;irssi&lt;/h2&gt;
&lt;p&gt;&lt;span class=&quot;caps&quot;&gt;IRC&lt;/span&gt; in your &lt;del&gt;terminal&lt;/del&gt; iTerm2. More on this tutorial by &lt;a href=&quot;http://quadpoint.org/articles/irssi&quot;&gt;Quadpoint.org&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/irssi.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;Bonus&lt;/h3&gt;
&lt;p&gt;You can also use &lt;strong&gt;Solarized&lt;/strong&gt;, a theme designed for terminal and &lt;span class=&quot;caps&quot;&gt;GUI&lt;/span&gt; usage, declined for almost every existing editor/&lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt; and &lt;strong&gt;Oh my zsh&lt;/strong&gt;, a community-driven framework to manage your zsh configuration.&lt;/p&gt;
&lt;h3&gt;Solarized&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;Solarized is a sixteen color palette (eight monotones, eight accent colors) designed for use with terminal and gui applications. It has several unique properties. I designed this colorscheme with both precise &lt;span class=&quot;caps&quot;&gt;CIELAB&lt;/span&gt; lightness relationships and a refined set of hues based on fixed color wheel relationships. It has been tested extensively in real world use on color calibrated displays (as well as uncalibrated/intentionally miscalibrated displays) and in a variety of lighting conditions.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Download it for your favorite editor/&lt;span class=&quot;caps&quot;&gt;IDE&lt;/span&gt; (vim, emacs, textmate) on the website of its creator, &lt;a href=&quot;http://ethanschoonover.com/solarized&quot;&gt;Ethan Schoonover&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/solarized.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;
&lt;h3&gt;Oh my zsh&lt;/h3&gt;
&lt;blockquote&gt;
&lt;p&gt;A community-driven framework for managing your zsh configuration. Includes 40+ optional plugins (rails, git, &lt;span class=&quot;caps&quot;&gt;OSX&lt;/span&gt;, hub, capistrano, brew, ant, macports, etc), over 80 terminal themes to spice up your morning, and an auto-update tool so that makes it easy to keep up with the latest updates from the community.&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;Fork it from Robby Russel&amp;#8217;s &lt;a href=&quot;https://github.com/robbyrussell/oh-my-zsh&quot;&gt;github repository&lt;/a&gt;. &lt;a href=&quot;http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/&quot;&gt;Steve Losh&lt;/a&gt; details his configuration and   &lt;a href=&quot;http://intridea.com/2011/5/18/its-not-enough-to-bash-in-heads-youve-got-to-bash-in-minds-with-zsh&quot;&gt;Intridea&lt;/a&gt; has a pretty good explanation of the setup and some tips for a homebrewed configuration.&lt;/p&gt;
&lt;p&gt;&lt;img src=&quot;/images/ohmyzsh.png&quot; alt=&quot;&quot; /&gt;&lt;/p&gt;</content>
 </entry>
 
 <entry>
   <title>Giving back to the open source community, one step at a time</title>
   <link href="http://blog.edouardswiac.net/2011/07/24/giving-back-to-the-open-source-community.html"/>
   <updated>2011-07-24T00:00:00-07:00</updated>
   <id>http://blog.edouardswiac.net/2011/07/24/giving-back-to-the-open-source-community</id>
   <content type="html">&lt;h1&gt;Giving back to the open source community, one step at a time&lt;/h1&gt;
&lt;blockquote&gt;
&lt;p&gt;One thing at a time, all things in succession. J.G. Holland&lt;/p&gt;
&lt;/blockquote&gt;
&lt;p&gt;I have been excited by the open source world since 6 years. And it&amp;#8217;s never been that easy to contribute, especially with popular social coding like &lt;a href=&quot;http://github.com&quot;&gt;github&lt;/a&gt; or &lt;a href=&quot;http://bitbucket.org&quot;&gt;bitucket&lt;/a&gt;. Now I reached a point where I feel the need to give back to the community, but on a more regular and serious basis.&lt;/p&gt;
&lt;p&gt;Two years ago I translated missing chapters of the &lt;a href=&quot;http://php.net/docs.php&quot;&gt;&lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; documentation&lt;/a&gt;. I was an avid user of &lt;span class=&quot;caps&quot;&gt;PHP&lt;/span&gt; at that time, and the lack of french documentation for important chapters like inheritance or serialization encouraged me to submit &lt;a href=&quot;http://svn.php.net/viewvc?view=revision&amp;amp;revision=290561&quot;&gt;new translations&lt;/a&gt; to help the french community.&lt;/p&gt;
&lt;p&gt;Now, as an Erlang intern at the awesome start-up &lt;a href=&quot;http://www.2600hz.com&quot;&gt;2600hz&lt;/a&gt;, I work on the next-gen open source telecom platform &lt;a href=&quot;http://www.2600hz.com/products_whistle.html&quot;&gt;Whistle&lt;/a&gt;. Whistle is cool, it&amp;#8217;s written in Erlang and open source, so check us out on &lt;a href=&quot;https://github.com/2600hz/whistle&quot;&gt;github&lt;/a&gt; !&lt;/p&gt;
&lt;p&gt;There are no little contributions, whether it&amp;#8217;s to maintain a blogging activity or to participate to an open source project. Every effort is welcomed, Rome wasn&amp;#8217;t build in a day. It&amp;#8217;s better to take small steps at the beginning to not feel overwhelmed by the task. A good solution is to split the job in small chunks, rather than trying to do everything at once and doing nothing in the end. Who said procrastinating?&lt;/p&gt;
&lt;p&gt;The first step is the creation of this blog. It&amp;#8217;s a simple static blog generated by &lt;a href=&quot;http://jekyllrb.com/&quot;&gt;jekyll&lt;/a&gt; and hosted on &lt;a href=&quot;http://pages.github.com/&quot;&gt;GitHub  pages&lt;/a&gt;.  The template design is forked from &lt;a href=&quot;http://tom.preston-werner.com/&quot;&gt;Tom Preston-Werner&amp;#8217;s blog&lt;/a&gt;. Speaking of Tom (co-founder of GitHub), an interesting reading on his blog is &lt;a href=&quot;http://tom.preston-werner.com/2008/11/17/blogging-like-a-hacker.html&quot;&gt;Blogging like a hacker&lt;/a&gt;, which is one of my main motivation to stay lean for my blogging software solution.&lt;/p&gt;
&lt;p&gt;The second step is the translation of the famous &lt;a href=&quot;http://gitready.com/&quot;&gt;git ready&lt;/a&gt; blog. This blog has been very useful to my git learning, so this is a good project to come back and help. It&amp;#8217;s so easy to fork it and translate it thanks to GitHub, that I feel this is a good beginning and almost a no brainer so I jumped straight into it. My &lt;a href=&quot;https://github.com/gitready/gitready/pull/7&quot;&gt;first pull request&lt;/a&gt; for the french version was sent today, I hope it will make it.&lt;/p&gt;</content>
 </entry>
 
 
</feed>