-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathi've-joined-the-dark-side.html
23 lines (21 loc) · 11.4 KB
/
i've-joined-the-dark-side.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!DOCTYPE html>
<html> <head lang=en><meta charset=UTF-8><title>I've joined the dark side | EF</title><link href=//cdnjs.cloudflare.com/ajax/libs/font-awesome/4.2.0/css/font-awesome.min.css rel=stylesheet><link href=http://fonts.googleapis.com/css?family=Inconsolata rel=stylesheet type=text/css><link rel=stylesheet href=http://nafiulis.me/theme/css/main.css><link rel=stylesheet href=http://nafiulis.me/theme/css/pygment.css><script src=http://nafiulis.me/theme/js/jquery.min.js></script><script src=http://nafiulis.me/theme/js/main.js></script></head> <body> <!--Heading at the top saying "Engineering Fantasy"--> <div id=header_top> <div class=title> <a href=http://nafiulis.me><span id=engineering>Engineering</span><span id=fantasy>Fantasy</span></a> </div> </div> <button type=button class="js-menu-trigger sliding-menu-button button-nav"> <img src=https://raw.githubusercontent.com/thoughtbot/refills/master/source/images/menu-white.png alt="Menu Icon"> </button> <!--Navigation Bar--> <nav class="js-menu sliding-menu-content"> <span class=section-header>Pages</span> <ul> <li><a href=http://nafiulis.me>Home</a></li> <li><a href=http://nafiulis.me/tags.html>Tags</a></li> <li><a href=http://nafiulis.me/pages/about-me.html>About Me</a></li> </ul> <span class=section-header>Categories</span> <ul> <li><a href=http://nafiulis.me/category/anime.html>Anime</a></li> <li><a href=http://nafiulis.me/category/education.html>Education</a></li> <li><a href=http://nafiulis.me/category/productivity.html>Productivity</a></li> <li><a href=http://nafiulis.me/category/programming.html>programming</a></li> <li><a href=http://nafiulis.me/category/rants.html>rants</a></li> </ul> </nav> <div class="js-menu-screen menu-screen"></div> <!--Main Container--> <div class=container> <!--Top most menu--> <div id=menu> <div class=left> <a href=http://nafiulis.me/feeds/all.atom.xml><i class="fa fa-rss
icon"></i></a> <a href=https://twitter.com/gamesbrainiac><i class="fa fa-twitter icon"></i></a> </div> <div class=center> <h1 class=message>Nafiul Islam on casting spells with code</h1> </div> <div class=right> <a href=https://github.com/gamesbrainiac><i class="fa fa-github icon"></i></a> <a href=http://stackoverflow.com/users/1624921/games-brainiac><i class="fa fa-stack-overflow icon" style="padding-right: 30px"></i></a> </div> </div> <!--Main blog list container--> <div id=blogroll> <div class=article-container> <h1>I've joined the dark side</h1> <p class=time>Sunday, 23 March 2014</p> <div class=article-content> <div class="contents topic" id=table-of-contents> <p class="topic-title first">Table of Contents</p> <ul class=simple> <li><a class="reference internal" href=#some-developer-apps id=id2>Some developer apps</a><ul> <li><a class="reference internal" href=#oh-my-zsh id=id3>Oh-My-ZSH</a></li> <li><a class="reference internal" href=#homebrew id=id4>Homebrew</a></li> <li><a class="reference internal" href=#pyenv id=id5>pyenv</a></li> <li><a class="reference internal" href=#sublime-text-3 id=id6>Sublime Text 3</a></li> <li><a class="reference internal" href=#pycharm id=id7>PyCharm</a></li> <li><a class="reference internal" href=#keka id=id8>Keka</a></li> <li><a class="reference internal" href=#appcleaner id=id9>AppCleaner</a></li> </ul> </li> <li><a class="reference internal" href=#the-switch id=id10>The Switch</a></li> </ul> </div> <p>So, after debating about it for quite some time, I finally got myself a Mac! Now, I got myself a Mac book pro 15 inch and it pretty much cost me a fortune. So far, I've been playing around with it, and I gotta say, that I would prefer a Mac over windows for Python development, any day. But before I tell you why its so great, let me share a couple of tools that I've found immensely useful. So, here's a list that any Python dev would find useful on a new Mac:</p> <div class=section id=some-developer-apps> <h2><a class=toc-backref href=#id2>Some developer apps</a></h2> <div class=section id=oh-my-zsh> <h3><a class=toc-backref href=#id3>Oh-My-ZSH</a></h3> <img alt="Oh my ZSH!" class=align-center src=images/omzsh.png> <p>This is a must install for me on <em>any</em> *nix system. It gives me some <em>awesome</em> auto-completion, and some very beautiful themes. Frankly, I don't even think I want <em>need</em> to justify why one should install this awesome tool, just give it a tool, if you don't like it, then you can always change back. Check it out on <a class="reference external" href=https://github.com/robbyrussell/oh-my-zsh>oh-my-zsh</a>.</p> </div> <div class=section id=homebrew> <h3><a class=toc-backref href=#id4>Homebrew</a></h3> <p>This is such a wonderful package manager for Mac. I was initially split between Macports and Homebrew, but most of the people I talked to, overwhelmingly favored Homebrew. What <em>really</em> got me to pick Homebrew was that Pyenv supported a direct installation via Homebrew (Pyenv is next on the list). With homebrew installed with a quick:</p> <div class=highlight><pre><span></span>ruby -e <span class=s2>"</span><span class=k>$(</span>curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install<span class=k>)</span><span class=s2>"</span>
</pre></div> <p>And bam! All installed. I just copied and pasted the text from the <a class="reference external" href=http://brew.sh/ >homebrew website</a>, so I did not even notice that I was using ruby. You gotta love *nix systems for having python and ruby installed by default. With brew, I made my first install:</p> <div class=highlight><pre><span></span>brew install pyenv
</pre></div> </div> <div class=section id=pyenv> <h3><a class=toc-backref href=#id5>pyenv</a></h3> <p>This allows you to manage different versions of Python with ease. Really useful if you want to work with different versions of python on the command line. Check it out <a class="reference external" href=https://github.com/yyuu/pyenv>here</a>.</p> </div> <div class=section id=sublime-text-3> <h3><a class=toc-backref href=#id6>Sublime Text 3</a></h3> <img alt="Sublime Text 3" class=align-center src=images/st3.png> <p>Wonderful text editor, I use this for small projects or a quick edit. For more intensive projects, I use pycharm. Although their website says that ST3 is still in beta, its been pretty stable for me, and the package manager for ST3 works very well. I suggest using ST3 because its starts up instantly, compared to ST2. If you're going to be using this, then I suggest you install the package manager as soon as you've installed ST3, <a class="reference external" href=https://sublime.wbond.net/installation>instructions here</a>.</p> </div> <div class=section id=pycharm> <h3><a class=toc-backref href=#id7>PyCharm</a></h3> <p>Well, I was bound to install this at <em>some</em> point. In my honest opinion, this is the Python IDE to beat. Just make sure you create the <code>charm</code> Terminal variable, through "Create Command Line Launcher" option:</p> <img alt="Creating PyCharm command line launcher" class=align-center src=images/commandlinelauncher.png> </div> <div class=section id=keka> <h3><a class=toc-backref href=#id8>Keka</a></h3> <img alt=Keka class=align-center src=images/keka.png> <p>This is for unpacking archives. Really simple to use tool. Its available on the Mac Store as well.</p> </div> <div class=section id=appcleaner> <h3><a class=toc-backref href=#id9>AppCleaner</a></h3> <img alt="App Cleaner" class=align-center src=images/appcleaner.png> <p>Simple app that completely uninstalls your installed apps. Works like a charm. Get it <a class="reference external" href=http://www.freemacsoft.net/appcleaner/ >on their site</a>. I recommend this as a must install since a lot of the times, your apps leave behind settings, that come back to bite you if you reinstall.</p> <p>And thats a wrap. You can find loads of other tools available, and <code>git</code> comes installed by default. If you want to install mercurial, then its a simple <code>brew install hg</code>.</p> </div> </div> <div class=section id=the-switch> <h2><a class=toc-backref href=#id10>The Switch</a></h2> <p>For me, it was <em>very</em> painful at first. The keyboard was just plain <em>wrong</em>, it had the <code>control</code> key in the <em>wrong</em> place. I say <em>wrong</em> because the standard keyboard for windows and Linux is very different. I just wish Apple had followed the general keyboard layout, it would make migration so much simpler. However, this was probably the only problem I had with my new Mac Book pro, and everything else is pretty neat. The best thing about Mac is that the platform had <em>many</em> apps for windows virtualisation. My pick would be Vmware Fusion, it allows you to run Windows apps as if they were mac applications.</p> <p>The only qualm I have right now is that I haven't been able to find a download manager that comes close to Internet Download Manager (IDM). I'm using the free version of Folx. It sucks. It looks nice, but it sucks.</p> <p>Other than that, I feel that a Mac was exactly what I needed since although Ubuntu is nice, it lacks some good commercial software for screen recording, which is something that I <em>really</em> need.</p> <p>If you make the switch to Mac, and you're an open source developer, I assure you that you won't regret it. Funnily enough, three days after I got my mac, my PC just died. I took it to the repair guy, and he told me that the motherboard was broke. I had just spend 50 bucks on repairs a week ago. The motherboard would cost me another $250.</p> <p>I won't my fixing my PC any time soon.</p> </div> </div> </div> <div class=post-meta><span class=meta-type>Category: </span> <span><a href=http://nafiulis.me/category/programming.html>Programming</a></span> <span class=meta-type> Tags: </span> <span> <a href=http://nafiulis.me/tag/python.html>Python</a>, <a href=http://nafiulis.me/tag/mac.html>Mac</a>, <a href=http://nafiulis.me/tag/windows.html>Windows</a>, <a href=http://nafiulis.me/tag/apple.html>Apple</a>, <a href=http://nafiulis.me/tag/tools.html>Tools</a>, <a href=http://nafiulis.me/tag/pycharm.html>PyCharm</a> </span> </div> <div id=disqus_thread style="margin-top: 10px; margin-left: 20px; margin-right: 20px;"></div> <script type=text/javascript>
/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
var disqus_shortname = 'nafiulisme'; // required: replace example with your forum shortname
/* * * DON'T EDIT BELOW THIS LINE * * */
(function() {
var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
dsq.src = '//' + disqus_shortname + '.disqus.com/embed.js';
(document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
})();
</script> <noscript>Please enable JavaScript to view the <a href=http://disqus.com/?ref_noscript>comments powered by Disqus.</a></noscript> </div> <!--Footer--> <div id=footer> <footer> Code examples licenced under MIT License <br> Copyright <i class="fa fa-copyright"></i> 2018 Quazi Nafiul Islam </footer> </div> </div> <script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-55554110-1', 'auto');
ga('send', 'pageview');
</script> </body> </html>