Author: Danyal

I'm working as programmer since 2002. Born, grew up, studied and worked in Pakistan now Im located in Denmark since 2006.

Python: Formatting methods

Sting formatting with .format() method A good way to format objects into the strings to…

 Posted in Python Tagged , , ,

Docker: Prune volumes

Volumes can be used by one or more containers, and take up space on the…

 Posted in Docker Tagged , ,

Docker: Prune containers

When you stop a container, it is not automatically removed unless you started it with…

 Posted in Docker Tagged , ,

Laravel Mix & Vue : Module parse failed: Unexpected token

npm errors & solutions.

 Posted in Laravel Tagged , ,

jQuery: Attribute Starts With Selector

Selects elements that have the specified attribute with a value beginning exactly with a given string.

 Posted in javascript Tagged , ,

jQuery: Form data serialization

jQuery has a function .serialize(), encode a set of form elements as a string for submission.

 Posted in javascript Tagged , , ,

Drupal: How to enable HTTPS support in Drupal

In order to enable https on Drupal site, you need to implement following .htaccess snippet. Obviously

 Posted in CMS Tagged , , , ,

Laravel: Login with email or phone

How to login with phone or email in Laravel passport?

 Posted in Code snippets, Laravel, PHP, Programming Tagged , ,

Build issue with Xcode 12.3 – file not found #include “ruby/config.h”

I got this error while installing Cocopods by running following command with or without sudo….

 Posted in xcode Tagged , , , ,

Do you know fact about NSObject?

When you code in Swift, NSObject is the most basic class of the Apple. This is the simplest and most generic component.

 Posted in Uncategorized Tagged , ,