Nomis

My personal blog, where i share tips and tricks about frontend, backend developement. Enjoy!


Its been a bit over a year since i started on my startup adventure and one of the most important things i've come to learn, then its the importancy of your network. Lets say you…

Here i collected a list of ways to vertically align center depending on what kinda browsers you need to support, there are multiple options to go with Hope you find the solution that fits you…

Why do people say they are full stack, and what is an actual full stack developer. In my book a full stack developer knows all these skills to an expert level. HTML Writes clean and…

Found this cool article, selecting elements shouldn't require the huge library of jquery or similar. If you can live with the 10+ support you can in all cases use document.querySelectorAll('YOUR SELECTOR'); http://blog.…

Found this great article on doing flexbox with IE10 support https://philipwalton.com/articles/normalizing-cross-browser-flexbox-bugs/…

It's about all the does and dont's: https:[email protected][email protected].1zonepik1…

I got inspired this article from css-tricks; "Don’t Overthink It Grids" I think we've seen to many grid systems these days and they dont take maintainability into account. Im convinced that silenced grids is…

Credits to @VinayDabral found on front-end front https://jsfiddle.net/pakastin/1kzbnt2v/ So this basically a very simple calendar function function createCalendar (year, month) { var results = []; // find out first and last days of the month…

This little helper will create an object based on the params that the url have set. function getQueryParams(qs) { qs = qs.split('+').join(' '); var params = {}, tokens, re = /[?&]?([^=]+)=([^&]*)/g; while…

We have the following ways of saving our users data and match it with the user without a login system Cookie Session LocalStorage LocalStorage is widely supported it goes from IE8 and up. It contains…

I got intrigued to write this article, because I've been in the same company for 8 months now, and seen the code thats been written before my time. And i think that some of the…

Here is some of my linux alias which i use a lot and i always are building on to improve - i also add my ssh addresses and then i just have a private key…

Loaded in an iframe or not - came across this issue while developing a product where we give some partners iframes of our solutions so they can run it, and it thought what about an…

This is just a function that remove null values from a object recursively var removeNulls = function(obj){ var isArray = obj instanceof Array; for (var k in obj){ if (obj[k]===null) { if(isArray) { obj.splice(…

This is a list of nice to know stuff when using digitalocean Wordpress premissions sudo chown www-data:www-data * -R Nginx setup This is a nice way of routing with nginx, when you have multiple node…

A nice service to encode and decode objects - i will share because it feels well done :) (function() { 'use strict'; /** * # xorcipher[module] */ /** * @name Xorcipher[factory] */ angular .module('xorcipher', []) .factory("Xorcipher",[function(){ var b64_table = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+…

If you been frontend developing you might have the knowledge of the animate.css library which is a collection of animations which is very useful, i did a sass version of that library back in…