I have finally set this domain up on a secure connection (HTTPS). I used Let’s Encrypt service where you can get free SSL/TLS certificates. I followed this guide and it literally took 5 minutes along with setting up the cron job for auto renewal of certificates. I also set up my other domain fossari.is so now they’re both on HTTPS.
I have been using Angular for over 3 years. A few months ago Angular 1.5 came out and they introduced the
.component() method, which is basically the same as an element directive but with a much simpler API. Since then I’ve fallen more and more in love with Angular so I decided to write a small todo app utilizing the component architecture along with some cool things in the Angular world.
First of all I’m not much of a designer so I want to thank TodoMVC for the UI.
Anyway, the app consists of:
- Angular 1.5 because of components!
- UI-Router 1.0.0-beta.1 so I can route to components
- MobX for managing my state
- Webpack for module bundling
I’m not gonna talk much about these in depth, only high-level about what they are and why I chose them. This article will mainly be about how I decided to structure and implement the app.
Version 2 of Sublime Text was initially released in 2011 and last release was in July 2013. Still it’s the main version! Version 3 last release was in March 2015 — and it’s still in beta and hasn’t gotten an update for 10 months. Don’t get me wrong, Sublime is awesome, but it’s not under active development. Atom is very active and has been from the start, Sublime is not. Atom is also open-source, Sublime is not.
However, this is about my Atom setup, not a rant about why Atom is better than Sublime.
Have you ever been busy working on a branch but needed to push something to another branch without disrupting work on your current branch? Enter the worktree feature! It was introduced in Git 2.5 and is very handy when working on multiple branches simultaneously, without disrupting your work on the other branch. It got me very confused at first but it’s quite simple.
Rebasing in Git is basically replaying commits on top of each other. But with interactive rebase you are in control of how they should be replayed and what should be done with them. You can re-arrange them, skip them, reword them, edit their changes and squash them together. This is a very powerful tool.