First of all, the title of the article is misleading. You don't have to forget about all other composer command obviously. We are talking here about composer install and composer update . Here's the quick truth : you never should run composer up...
Posted by mydnic on Aug 18 2017

Every developer, when working on a project, start at some point wandering about the performances of his application. In the Laravel world, the most frequent question you may have is "are my sql queries fast enough ?". If Eloquent is doing a great jo...
Posted by mydnic on Jun 19 2017

As it may seem an easy thing to do, and to be honnest : it is, creating environment variables in your Homestead Virtual Machine is something you cannot find in the documentation. While it is missing from the official Laravel Documentation, you can...
Posted by mydnic on Apr 12 2017

Alongside Laravel 5.4 update, a new tool came up : Laravel Dusk. If you were used to run tests on your Laravel application, and particularly "Feature tests", you are most likely used to write test cases in which you can actually fill forms, click b...
Posted by mydnic on Mar 08 2017

Here is a basic guideline to help you reminder some important things when estimating a Project Budget. What's a Project Budget ? The total "projected" costs to complete a project during a specific period of time with a specific result. Those c...
Posted by mydnic on Jan 17 2017

I encountered a small issue last week, while updating my music library. I noticed that some new mp3 files that I added were corrupted and thus could not be read by my radio. The problem is that I do not remember what song exactly is corrupted and...
Posted by mydnic on Dec 12 2016

Today I'll show a bit of python that could help you remotely manage your Android device. The goal here is to setup an SSH connection between a Raspberry Pi and an Android device in order to transfer files from your local environment (a NAS for examp...
Posted by mydnic on Nov 21 2016

There is quite an amount of work behind my radio stream . I download lots of new music file everyday, and at some point, I need to transfer all these mp3 files to my NAS, in order to add the new songs to the pool of songs used by the Pi Radio . O...
Posted by mydnic on Nov 07 2016

This article was updated to match Laravel 5.4 One day I wrote an article on this blog about solving an issue with the non-persitent App SetLocale of Laravel 5 . To my big surprise this article became quite popular and received more or less 1.000...
Posted by mydnic on Oct 27 2016

Several months ago I wrote an article on How to create a Simple Like System For Laravel . In the comment of this article, a cool guy asked me about using a "Many to Many Polymorphic Relationship" for this "Like" logic. I found the idea very appeal...
Posted by mydnic on Jun 04 2016

Things to remember: Every song has a structure of 16 or 32 beats Once your first song hits a change in its structure, you can start the second song at a specific point (with its volume down a bit so it's not to disturbing)
Posted by mydnic on May 29 2016

The tell of a journey of self-discovery, acceptance and growth.
Posted by mydnic on May 25 2016

So if you have a LED that should be powered by 3.2v and 0.024 amps, and a 9v battery, the calculation should be: (9 - 3.2) / 0.024 And that gives you 240 ohms Bonus : Watts Calculation If you want to calculate the watts  of t...
Posted by mydnic on Apr 26 2016

In AngularJS there one thing that you cannot do properly: Call a controller's method from another controller. In order to do that you must use $broadcast() and $watch() in both controllers. In my opinion, you should avoid using all these $ methods f...
Posted by mydnic on Apr 25 2016

Ingrédients 1 Oignon 1 Courgette 1 Poivron Lardons (100g) Pâte feuilletée 2 ou 3 œufs Lait Crème légère Farine Sel / Poivre Fromage de Chèvre Fromage rappé Huile d'olive Préparation Ajouter l'oignon, la courgette et le poivron en...
Posted by mydnic on Apr 23 2016