Mydnic


A blog about Laravel, AngularJS, Philosophy, Cinema and Domotic

How To Create a Project Budget

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 costs can...

Find all corrupted mp3 files on Linux

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 need...

Transfer files from a Raspberry Pi to your android phone over WiFi with Python

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 exampl...

Tidy up mp3 files in per-artist directory

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.On my NA...

How To Build An Efficient and SEO Friendly Multilingual Architecture For Your Laravel Application

This article was written for Laravel 5.3One 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 unique visi...

The Ultimate Like System For Laravel Thanks To Many to Many Polymorphic Relationships

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 appealing a...

How to Mix With Your Traktor

Things to remember:Every song has a structure of 16 or 32 beatsOnce 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)

Music: Koloto - Fay

The tell of a journey of self-discovery, acceptance and growth.

Minimum Resistance Calculation

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.024And that gives you 240 ohmsBonus : Watts CalculationIf you want to calculate the watts of this LED (which is actuall...

AngularJS: Forget About $broadcast() And Say Hi To The SharedContextService

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 fr...

Recette Quiche Maison

Ingrédients1 Oignon1 Courgette1 PoivronLardons (100g)Pâte feuilletée2 ou 3 œufsLaitCrème légèreFarineSel / PoivreFromage de ChèvreFromage rappéHuile d'olivePréparationAjouter l'oignon, la courgette et le poivron en petits morceaux dans une poêle avec...

Life Lessons Episode 04 - Random Thoughts About Being

Of course I’ll hurt you. Of course you’ll hurt me. Of course we will hurt each other. But this is the very condition of existence. To become spring, means accepting the risk of winter. To become presence, means accepting the risk of absence. It is at...

Some New Tips About PHP7

It's been several months that PHP 7 was released, and the latests frameworks already upgraded to be compatible with this version.Laravel Homestead, the OOTB server environment is now up to date as well, so all your new projects will run on a PHP 7 se...

How To Detect That AdBlock Is Enabled On Your Website

You are running a website that contains a bit of advertisments, exactly like this blog, hoping that it will be enough to cover your hosting costs, but it's not working very well because most of your visitors do not see these ads ? Especially thanks t...

Cinema: 31 by Rob Zombie

It's been a very long time since I wrote a movie review, and I kinda miss that. Yesterday evening I went to the BIFFF in Brussels to see the last Rob Zombie film: 31.To put things in context, you have to know that, at this Film Festival, the atmosphe...