Home

QR Codes in Laravel: A Complete Guide.

QR Codes in Laravel: A Complete Guide.

QR-code is a machine-readable code consisting of an array of black and white squares, typically used for storing URLs or other information for reading by the camera on a smart phone. Let me show you how you can generate different types of QR codes in Laravel. QR codes in Laravel: I […]

getopt – command line arguments in Python [Part 2]

getopt – command line arguments in Python [Part 2]

In the last article we learnt how to handle command line arguments in Python using sys.argv. We also noticed that it is not the ideal solution if your use case is a bit more complex. Now let’s see getopt,- a python module which builds on `sys.argv`. getopt provides us with […]

sys.argv – command line arguments in Python [Part 1]

sys.argv – command line arguments in Python [Part 1]

In the programming world, an expression often comes across that “a problem can be solved in many different ways”. Hence the programmer has to decide which solution is best for him/her.  Same holds true if you want to process Command Line Arguments (CLA) in Python. There can be many options […]

Set up Role Based Access Control in Laravel (Updated 2020)

Set up Role Based Access Control in Laravel (Updated 2020)

Editor’s Note: This post was initially published for older versions of Laravel and has been updated to work with the current version ( v6.2+). Many a time in a web application, you will need to protect specific resources from being accessed by all of your users. While an authentication system […]