My Secret Love For Atom — Going From Sublime Text to ATOM

One of the best sidekick for awesome programmer is the tool he/she chooses. I know that relying completely on a tool can slow us down but some tools are very important which defines a programmer. One of them is the editor he chooses. Long long back ago, one of my favourite was (sometimes still) is notepad++ when I’m working in Windows. I never could find a better, fast, easy editor like notepad++. Every since I moved on to linux for development, notepad++ was missing! It was a great lose to me in the beginning. I tried lot of editors like gedit, eclipse and etc. All of them are, well… okay to some extent but it never made me feel like “its the one“. Then i meet Sublime Text which I fell in love instantly and using it for more than 3 years now! But, after this long while and I fell in love again… for ATOM text editor.

My Blossoming Love With Sublime Text 2 & 3

Never I could find such a finer editor in my life, it is the best I could say which exist! Its perfect in all the way, It is smooth, lighting fast, tons of themes and dozens of packages. Below are the few reasons which makes a Sublime Text an awesome editor.

  • Like i said, smooth, lighting fast!
  • Based on Python and all settings are in JSON files (easy customizing)
  • Ease to install packages and themes
  • ctrl+p the life saver! Easy switch to files.
  • Tons of key bindings and shortcuts and easy way to customize them
  • Supports in Windows, Linux and OS X
  • Its free!!!

And here are the some of the finest packages/themes provided by Sublime Text

One Loves that Fades… Another Blossoms!

As times goes by (its like 3 years with Sublime Text), it started to feel little bored and I couldn’t see any huge difference in Sublime Text 2 to 3. Lot of packages and themes still growing and ofcourse, its still fastest when i met! But, there isn’t much huge change or cool updates.

Lately, I took resolution to study Python this year and found this book useful “learn python the hard way” (and its free online). The installation suggest to try something new called atom– yet another editor! I remember trying ATOM text editor long time ago and went off as it looks same as sublime and my love of sublime was more then! Today I tried again to give it a whirl (why not!). But I’m pretty much in awe after installating it! Its somewhat more grand and smooth! Its like falling in love at first sight! (not the first ofcourse). Some of the stuffs which got me loving this Atom text editor are

First impression, Best impression!

As soon as double click the ATOM icon, the first page look awesome! It was neat! Great start page. Its like Sublime but in a neater way!

ATOM welcome page
ATOM welcome page

Look at the above screenshot, neat 2 column layout with one introduction and right has everything you need to get started! Where as in Sublime Text, introduction will printed as text and no! information about how to get things started with themes and packages. We gotta install the package manager separately and start installing. This small but finer and clear information about these installation in the way beginning highly impressed me! (So I continued further…)

Theming – much easier to install!

Installing the theme is just a click way. I feel like Windows! Everything done snappy in click button.

ATOM settings page
ATOM settings page

As you can see, instead of Sublime Text everything is like HTML inputs, checkbox, color picker. There are lots of options to mess around. And yea, it also has the Google material theme.

ATOM Google UI
ATOM Google UI

But I’m lost the love of Android to Apple last year, so yea… I love the default ‘One Light’ UI and Syntax which is simple and elegant.

Looks – Smoothier and More Appealing!

Interface (sidebar + syntax area) is smooth similar to Sublime Text. The theme ‘One Light’ makes a milky look to the editor. It has the default ‘bracket matcher’, markdown preview, Git diff, able to add snippets.

ATOM package menu
ATOM package menu

It also has the variety of selections like select word, multiple word selection similar to pressing ctrl + d like in sublime text. There is a extra one which i found is the ‘select inside brackets’ which is seriously help for me as I work with huge unprettified XML & HTML files, its easy for me to select a chunk of a node. There is a shortcut of the same in Sublime Text or was it using an ‘add on’? Not sure. But its not clear as it is ATOM text editor.

Even the ctrl + shift + p is appealing in ATOM text editor.

ATOM smooth looks
ATOM smooth looks

Overall ATOM text editor is as good as Sublime Text but I’m starting to feel its much more than Sublime Text. But, I’m still going to use Sublime as my editor as i cannot replace with ATOM text editor just by using it in one day. So, I’m going to use partially for a week and then lets see. Both are great editors and best out there! So gonna for either one of them!

Ubuntu Budgie — The Newest Ubuntu Flavour

Ubuntu Budgie is the newest and coolest of the Ubuntu version which just landed! It digs some awesome looks LightDMArc GTK and Faba Icons. It has really smooth interface (feels like mac) and tons of update!

codelikeapoem-budgie-menu

So what is Ubuntu Budgie!?!

  1. This a version of the operating system which uses the relatively new Budgie environment.
  2. Budgie Remix 16.04 is based on Ubuntu 16.04 LTS
  3. It includes the latest Budgie Desktop 10.2.5. Budgie Desktop
  4. Budgie Remix 16.04 includes Nautilus 3.18

Budgie is the flagship desktop of Solus and is a Solus project. It focuses on simplicity and elegance

Installing Ubuntu Budgie

or download directly from https://budgie-remix.org/downloads/

Check it few screenshots

codelikeapoem-budgie-remix

 

codelikeapoem-gnome-videos

codelikeapoem-libreoffice

Installing Docker For Windows 10

I just started another day to write some code and Aurelia Framework caught my eyes. There are several ways in which we can install but using Node and Webpack seems neater way. Also, I’m in much favour for writing programs in Linux rather in Windows (Windows 10 is awesome though!). Previously install dual boot of linux in my system but just thinking, why the hell i need a dual boot if only i need just for programming. Ta-da! There is Docker ofcourse and recent version of them even provides Docker for Windows 10 directly. So, here we are today going to see and installing docker for windows 10.

Installing Docker for Windows 10

There are ways in which you can install Docker for Windows

Pre requirements

  1. 64 bit Windows 10 Pro, Enterprise and Education
  2. The Hyper-V package (Virtual machine!)

If you have passed requirement no 1, lets started on 2. (else use Docker toolbox) Even though according Docker, “The Docker for Windows installer will enable it for you, if needed.”.

You have to enable one more thing for “Hyper-V” first, else you will get the below error message after installing docker.

Hardware-assisted virtualization and data execution protection must be enabled in the BIOS

1. How to Enable Virtualization in Windows 10:

This is a tricky part for beginners, but very simple one. You have enable it BIOS screen.

  1. Restart your system
  2. Proceed to BIOS page (F2 for ASUS)
  3. Search for Virtualization Technology and enable it
  4. Save and reboot

Thats it. For the next step.

2. How to Enable Hyper-V:

You can either let Docker do this or you can do it yourself (It’s always useful to learn it manually!)

  1. Enter Turn windows features on or off in Search
  2. Scroll and see Hyper-V and check it!
  3. Restart again!
enabling-hyper-v-in-windows-10
enabling-hyper-v-in-windows-10

Finally, all our pre requirements has been completed. Now, lets see how to install Docker for Windows 10.

3. Installing Docker

  1. Download the stable Docker for Windows
  2. https://download.docker.com/win/stable/InstallDocker.msi
  3. Follow the simple Wizard and Hit finish.
  4. Thats it, as simple as that.

Now let’s verify whether Docker is installed, go to Powershell and type docker --version. Did you get the below

docker-in-windows-10
docker-for-windows

You have successfully installed Docker in Windows 10, awesome!!!

4. Installing Ubuntu on Docker for Windows.

Next stop, let’s install Ubuntu in Docker to achieve our final goal

In powershell, give following command
$ docker run -it ubuntu bash

docker-for-windows-10
docker-for-windows

This will install ubuntu Docker Image in our Virtual Machine.
Now you are root user root@014150a01c9f:/# i.e. you are inside the Ubuntu Virtual Machine!
Type cat /etc/*release, you got the Ubuntu 16.04

Thats it!! We have installed Ubuntu 16.04 in Windows 10 Machine!

Hopefully this will give you the way to harness the power of both Ubuntu and Windows in a single machine! Stay tuned for more about using Docker