Slick Knowledge Base brings you dozens of articles from various topics. Web design, programming, operating systems, software, hardware. Explore and enjoy!
Knowledge is the biggest treasure of humanity. I believe that by sharing my experience from IT sector and big passion to it, I will be able to wake up creativity inside you.
Recently I was playing around with an app that had a feature to assign a profile picture. What caught my attention was the fact, that the popup that allows to do so, shows all my profile pictures I used to have since macOS Mavericks in a section called Recents. This section however does not appear… read more
Removing a symlink in terminal (both applicable to macOS and Linux) is exactly the same process as removing a regular file. Open terminal, locate the symlink and use rm to remove it. For example You’re done.
Let’s assume your full name is Billy Example and you’re lucky enough to be owner of the following domains: billyexample.com billexample.com bexample.com example.com (why not) You want to use example.com as the main domain and point all other domains to the main one. By saying “point to” I mean redirect absolutely every GET request with… read more
When you use Homestead, all files you work with are stored physically on your local directory that is mapped through Homestead.yaml file. You simply don’t need to worry about these file when you have to destroy the box itself. The problem s with corresponding databases. All databases live within the box, so destroying it means… read more
Converting a song from one format to another using FFmpeg is extra handy. What if you have a whole directory of files you would like to convert to mp3? Let’s check below example. Open Terminal and go to the directory that contains files you would like to convert, then type: Accordingly change: to the extension… read more
As a backend developer you may encounter a situation where you have to perform some HTTP redirects. This is a handy way to not let your visitors see a 404 error page. However what if you need to get rid of it? How to tell browser to stop redirecting? In Google Chrome open new tab… read more
Vagrant is a great tool to manage your development environments. Recently I wanted to add new box with Homestead to start working on another Laravel project but I was unable to download the box. To add new box, I opened Terminal and typed: After several seconds after downloading process began, below error was interrupting the whole… read more
In OS X Yosemite your login screen is usually made from your currently set wallpaper mixed with a Blur effect. This version of OS X gives you easy way to change this picture to something completely different. All you need to do is to prepare the image you want to use and save it as… read more
Recently I did a handy feature to allow my users upload their own files into my Laravel application. I decided to use built-in Filesystem storage. Everything worked like a charm until I reached to a significant problem – how to display a resource uploaded by some user when the storage directory is obviously located outside… read more
If you work with migrations in your Laravel application, sooner or later you may see an error that will forbid you to truncate a table that is referenced in a foreign key constrain. You will get the following error as soon as you reach to the first method call. Solution Open you main seeder file… read more