Posts

Showing posts from January, 2018

Faster composer

Image
Hey fellow coders! This short post is for PHP developers. We have a wonderful tool composer , which helps us manage our dependencies. However, we sometimes need to install the whole framework with many packages which might take quite some time. You are lucky if you did this before and have most of the packages in cache, but that is not always the case :) hirak/prestissimo package comes to the help! You install it globally and installation time will be reduced up to 10 times! Creating a new Laravel project without parallelisation and no cache: Doing the same with hirak/prestissimo installed: Easy to install and joy to use. Try it out :)

My .bash_aliases

Image
Hey, fellow developers! So this post is more for IT people, but for other I will explain what aliases are. Bash is a terminal shell - basically a framework which can interpret your commands, execute them and give the output. Bash is only one of shells like sh , zsh , fish , kzsh , tcsh , etc. Being a developer involves quite a lot of work with a terminal, thus typing many commands a day. Typing a command takes time. Moreover, when you have to type it many times in a row or in a short period of time, it might get really annoying (at least for me 🙂). However, there is a way to speed it up and ease the typing - aliases. Aliases allow you to name a certain longer command and run it next time just by typing the name. So without further due, here is my list current aliases: Docker alias dr="docker-compose run" alias de="docker-compose exec" alias db="docker-compose build" Composer alias c='composer' alias t='c test'  -

My YouTube subscriptions

Image
I have to admit. I'm kinda addicted to YouTube. It's like a never ending stream of knowledge and fun. However, lets be honest - it's a real time eating machine. Hours will fly by as minutes while you are exploring the wonders of online videos. YouTube can help you discover and learn a lot of new things, but you better be very careful with the content you choose to watch and making a decision to click on that next video. I used to be subscribed to like a hundred of channels. Some were really great and others... Well, lets just say I probably seen like one or two videos from them. So, one day as I caught myself wasting time on random videos the nth time, I have decided to clean everything up (Facebook also didn't got away, by the way, and was cleaned up from various useless page subscriptions). I will share what channels survived my cleanup with a short description about them. I hope you will find something worth your time as well. Be Inspired This channel is g

Hello world!

At least that's what we programmers make our computers to say, when we learn a new programming language. Welcome to my new blog! I am Ernestas from Lithuania, however I have recently moved to the Netherlands. I enjoy coding since childhood and have been more and more interested in self growth, healthy mind and body. Therefore, I hope to combine those two things end not only to grow as a person, but grow the code I write also. This is what this blog will mostly be about. I had a blog before. Frankly, it's still up and running. You can read it here  https://forex-blog.pro/ . However, the hosting I use had upgraded PHP version, which caused some issues and I was forced to reinstall the CMS, therefore loosing all the changes and fixes I have made. Moreover, it was focused mainly on forex. However, my plans have changed a little bit and many times I wanted to share something related to coding, but not necessarily to forex. That's why I decided to create a new blog. I will no