Categories
CSS Tutorials

Always align item to one side with Flexbox

Flexbox provides all kind neat solution to complex scenarios. We will use some properties of CSS Flexbox to properly align the orphan flex item. Imagine you have the html form with two buttons. One is called submit and other one is called reset. The reset button resets the form to its initial state. These buttons […]

Categories
Ionic RxJS Tutorials

From Ionic Event to Rxjs Subjects

My Ionic Expense application uses hammerjs to add touch gestures. This app has very little gestures, just couple of swipes when changing dates. So I tried to add them but they are only available in ionic/angular version 5. As soon I updated, the Ionic Events broke, hello to rxjs subjects. Ionic Events are removed from […]

Categories
Git Tutorials

Another Way to Clone a repo

I just created my first ever repo with a boilerplate code. It consist of pixijs and essentials. This article explains a different approach to clone a repo If you don’t want to go through the story than just jump to following section for the meat and butter of this post It is quite a norm […]

Categories
Java Script Tutorials

First Class Function and Callbacks

First class function or first class citizen in JavaScript. But what are first class in general, According to wikipedia A first-class citizen (also type, object, entity, or value) in a given programming language is an entity which supports all the operations generally available to other entities Source First class function are treated like variables. Variables are assigned values. They are passed as an […]

Categories
Angular Ionic Java Script Tutorials

Add Leaflet Markers, Popups and Circle

Although this article is part of series but you can follow along without going through the whole series. All the information provided can be applied to any JavaScript project. Add simple Leaflet Map Add Leaflet Markers, Popup and Circle Previously, we build a simple map with leaflet. In this article we will look into location […]