Posts

Showing posts from February, 2025

Restoring Your Data in Xampp: A Step-by-Step Guide

First get a copy of data folder and rename it as data copy or whatever name. then  get copy of backup folder and rename it as data. after that copy all   folders except mysql, performance_schema, phpmyadmin, test to new data folder. and also copy ibdata to new data folder from old one. Restoring Your Data: A Step-by-Step Guide Restoring your data can seem daunting, but it doesn't have to be. This guide provides a clear, step-by-step process to help you restore your data effectively. We'll be working with a "data" folder and a "backup" folder, so make sure you have these accessible. Preparation is Key: Before we begin, let's create a backup of your current "data" folder. This is a crucial step in case anything goes wrong during the restoration process. Duplicate your "data" folder: Locate your current "data" folder. Right-click on it and select "Copy." Then, in the same directory, right-click and select "P...

SCSS usage for small and large screens

  Standard Responsive Breakpoints (Based on Bootstrap & Tailwind CSS) Name Screen Width (px) Usage xs (Extra Small) < 576px Very small devices (phones) sm (Small) 576px – 640px Small devices (phones) md (Medium) 641px – 768px Tablets lg (Large) 769px – 1024px Small laptops xl (Extra Large) 1025px – 1280px Desktops 2xl (Double Extra Large) > 1280px Large desktops Example of SCSS Mixin with Breakpoints If your @include sm is part of a mixin, it might be defined like this: scss Copy Edit @mixin xs { @media ( max-width : 575px ) { @content ; } } @mixin sm { @media ( max-width : 640px ) { @content ; } } @mixin md { @media ( max-width : 768px ) { @content ; } } @mixin lg { @media ( max-width : 1024px ) { @content ; } } @mixin xl { @media ( max-width : 1280px ) { @content ; } } @mixin xxl { @media ( max-width : 1536px ) { @content ; } } How to Use These Mixins scss Copy Edit @include sm { font-size : 14px ; margin-bottom :...

Laravel-AdminLTE Documentation

 https://jeroennoten.github.io/Laravel-AdminLTE/sections/configuration/plugins.html https://github.com/jeroennoten/Laravel-AdminLTE/wiki/Plugins-Configuration

How to create slug

In php laravel use Illuminate\Support\Str; class Post extends Model {     protected $fillable = ['title', 'content', 'slug'];     public static function boot() {         parent::boot();         static::creating(function ($post) {             $post->slug = Str::slug($post->title);         });     } } https://chatgpt.com/share/679dae98-24e8-8001-b0d5-02f4b60cb8e3