If you have been using Linux for a while, you would know Bluetooth and Linux don’t go well. Whatever may be the reason, it’s always face problem when you update Linux versions. Recently, since my upgrade to Ubuntu 20.04, I have come to notice that Bluetooth devices stop working. I check my system not able…
Git Log Commands
Show logs with file differences(we can add number of the commit which we want to see like -1,-2): git log -p Show logs with addition and deletion in a particular commit: git log –stat Show commits in one line: git log –pretty=oneline Show commit in short form: git log –pretty=short Show log from last two…
Create a swap memory in Linux
Swap memory is like RAM, in Linux is used when the amount of RAM is full. If the system needs more memory resources and the RAM is full then, other inactive pages in RAM are moved to the swap memory. While swap space can help machines with a small amount of RAM. Swap memory creates…
Make a bootable pendrive in Linux
Using DD command: Step 1:- “sudo fdisk -l” to find usb name in the system. like /dev/sdc (you can identify by Drive size)Step 2:- “sudo dd bs=4M if=Downloads/boss-8.0-amd64-DVD-301019.iso of=/dev/sdc1 status=progress && sync”(Make Sure you have selected Correct Drive Name and iso File path) Restore back for Bootable Drive Step 1:- “sudo wipefs –all /dev/sdd”Step 2:-…
Docker Commands
Install Docker in Linux ubuntu sudo apt install docker.io Check Docker Status sudo systemctl status docker It provides all the information of docker, and also use to check it is installed or not. docker info It will show a list of commands that available for us with a short description of what it does. docker…
Git Commands
git –version Set user name and email git config –list ( for list all configuration settings) git config –global user.name “abhinav” git config –global user.email “abc@yopmail.com” Remove git added file: git reset <filename> Remove git commit file: local changes will not remove. git reset HEAD^ git reset HEAD ~ 1 Remove git commit with changes:…
Lazy loader/Infinite Scroll Pagination Using Laravel & jScroll – Laraget
Instead of having to click a link to get to the next set of content, infinite scrolling (also known as lazy loading, endless scrolling, autopager, endless pages, etc.) pulls the next content automatically into view when the reader approaches the bottom of the page. If you want to implement infinite scroll pagination using Laravel, get…
Resource in laravel
Routes In Edit form you have to add <input type=”hidden” name=”_method” value=”put” /> after form tag Method Patch can you when need to update only single value
Laravel interview Questions
Difference between static and dynamic function in php oops Should we make all function as static. What is constant and defined in php Laravel event Laravel store processor Jquery json.parse and other type of json object Jquery cores browser request error Function((array)$a,(string)$b){ } Function overloading and overwriting trait class User table has users data and…
Telephonic Round Questions in PHP
inheritance : normal inherit or call parent class property to child encapsulation : Public , Private(only defined class can user), Protected (only child class can use) (access modifier) polymorphic : simply assigning the value and behavior in sub class which is already defined friend function : are function which defined in class and allow to…