Menu
The Tech Paper
  • Home
  • Interview Questions
    • PHP String Interview Question
    • PHP Array Interview Qutions
    • jQuery Interview Quetions
    • PHP Interviwe Question on php.ini file
    • htaccess File Interview Quetions
  • About
The Tech Paper

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…

Hide protected files in Laravel

If you have multiple folder on live/development server for demo purpose and you want to hide .env and package file then use below code. Create .htaccess file in root folder and past below code: # Disable index viewOptions -Indexes   # Hide a specific file<Files “.*”>    Order allow,deny    Deny from all</Files>   <Files…

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

Questions

Difference between static and dynamic function in php oops 2.What is constant and defined in php 3. Laravel event 4. Laravel store processor 5. user table -> cv table company tabel -> company_user table find the company which user has cv 6. jquery jsone.parse and other 7. jquery crose browser request error 8. function((array)$a,(string)$b){ }…

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…

Interview Basic Questions

Laravel database table naming convention : Laravel’s naming convention for pivot tables is singularized table names in alphabetical order separated by an underscore. So, if one table is features, and the other table is products, the pivot table will be feature_product. You are free to use any table name you want (such as product_feature), but…

Interview Question

How session data is store on server session expire time chache expire time set session time what is data base collection, utf8_genral_ci, uf8_md array sum delete some key value from array.. last .. 2nd last.. with function without function adding any string in array..end   N’th height sallary if some values are same in table…

  • 1
  • 2
  • Next

Recent Posts

  • Create a swap memory in Linux December 2, 2020
  • Hide protected files in Laravel September 21, 2020
  • Make a bootable pendrive in Linux September 10, 2020
  • Docker Commands July 3, 2020
  • Git Commands January 8, 2020

Contact Us

©2021 The Tech Paper | Powered by SuperbThemes & WordPress