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 2019)

Set-up role based access control in Laravel (Updated 2019)

Editor’s Note: This post was initially published for older versions of Laravel and has been updated to work with the current version ( v5.8+). 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 […]

Laravel autocomplete search with typeahead.js

Laravel autocomplete search with typeahead.js

Search autocompletion is a must-have feature for most web applications of today and I have used the Twitter’s typeahead.js autocomplete library in many of the Laravel based projects I have worked on. typeahead.js provides a simple yet robust solution for search autocompletion and it comes coupled with an excellent suggestion […]