Author: Danyal

I'm skilled programmer with expertise in Vue.js/Nux.js for front-end development and PHP Laravel for back-end development. I excel in building APIs and services, and also have experience in web server setup & maintenance. My versatile skill set allows you to develop and maintain web applications effectively, from the user interface to the server-side functionality. I love coding with never ending learning attitude, thanks for visiting danya.dk

PHP: Flip a coin

In this post, we will write a small program that will flip a coin for…

 Posted in PHP, Tips Tagged , , , ,
javascript

JS: require a JS file only once in Node.js?

Tip of the day: If you are wondering how to stop requiring the same resources…

 Posted in javascript Tagged , ,
laravel_blog_image

How to install all required PHP extensions for Laravel?

Problem This problem can occur while creating Laravel project via composer and the system is…

 Posted in Laravel, PHP

Keystudio 37 in 1 for BBC Microbit

Micro:bit is a powerful hand-held, fully programmable, computer designed by the BBC. It is only…

 Posted in Microbit Tagged , , , ,

Vuejs: Lifecycle Hooks

Each Vue component instance goes through a series of initialization steps when it’s created –…

 Posted in Vuejs Tagged , ,

Auth: Cannot read property ‘$cookies’ of undefined 

I faced this problem while developing Nuxt.js authentication middleware. The key this doesn’t work within the middleware,…

 Posted in Nuxt.js Tagged , , , , ,
Linux / Unix

Linux GNU Screen

Have you ever faced a situation where you perform a long-running task on a remote…

 Posted in Linux Tagged ,
Linux / Unix

Local Privilege Escalation Vulnerability in all major Linux distributions

Last night, security firm Qualys released information about a critical vulnerability in all major Linux distributions. The…

 Posted in Linux Tagged , , , , , ,

How to run NUXTJS development env with HTTPS in localhost?

Today most of the developers try to keep the local environment as much as similar…

 Posted in Nuxt.js Tagged , , , , ,

Apollo Client

Apollo Client is a comprehensive state management library for JavaScript that enables you to manage both…

 Posted in GraphQL Tagged , , ,