Android Kotlin: “overrides nothing” error appears on instantiateItem() function of PagerAdapter

I just began learning Kotlin for work and one of the first errors I encountered is “overrides nothing” pointing at the overrides of the function instantiateItem() for my PagerAdapter The function/method signature was like this: override fun instantiateItem(parent: ViewGroup?, position: Int): Any { To fix the error, I simply removed the question mark from the […]

Read More

Laravel 5.X directory permissions / ownership setup

According to the Laravel docs, “After installing Laravel, you may need to configure some permissions. Directories within the storage and the bootstrap/cache directories should be writable by your web server or Laravel will not run”. After running this command to install Laravel via Composer:

Change directory ownership by running these commands:

Then you […]

Read More