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.
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
Attaching an event handler against selector that already exists in DOM is pretty easy but what if you have to work with non-static content that is appended and injected dynamically? Let’s assume that we have the following document structure Now, triggering an action when this particular link is clicked can look like this or Extremely easy, right? So let’s… read more
Recently I reached to the point in my Laravel 5 application where I’ve started repeating some small parts of my code in many places. I knew that in the future it can easily get out of control when there will be a need to change something. Obviouslly solution like “search and replace” is something we… read more
It may happen that after you started downloading an application from App Store, the whole process will be interrupted by a broken internet connection or any other situation that can occur. In this case, application which hasn’t been correctly downloaded or updated will be marked with an error on the list. Any attempt to re-download… read more
One of the reasons why I felt in love with Macs and OS X is the combination of interface beauty and power of Unix. Although I do like Debian and Ubuntu in terms of doing my development stuff, both systems are extremely ugly and don’t give much visual pleasure. But let’s focus on OS X.… read more
To get current author’s attributes in a template, simply fetch them by using Now you can access fields such as or
It took me a while to realize what is going on with this strange issue. You did a migration that worked fine? Then you wanted to populate newly created table by seeding your database? You made a proper file, you called the file inside DatabaseSeeder.php using exactly the same class name as in the recent… read more
Creating multilingual project in Laravel isn’t as hard as it may look like. In this article I will show you how to apply basic localization feature. For purposes of this article we will implement two languages. English language will be set as the main one and as a fallback language as well. Second one doesn’t… read more
Some time ago I wrote an article about installing Wget equivalent in OS X. Now, thanks to Homebrew you can have Wget instead of using cURL which has a little bit more complex syntax. I assume that you already have Homebrew installed. If not, then please follow this page. Now in Terminal simply type Yes!… read more
Sooner or later you will reach the point where your application will have to send e-mails from your local environment. I will show you how to properly set MAMP and Postfix in OS X to be able to push messages using PHP’s mail function or using terminal command. Requirements One of the further steps will… read more