Skip to content

Instantly share code, notes, and snippets.

View mashud-rana's full-sized avatar
🇧🇩

Md. Mashud Rana mashud-rana

🇧🇩
View GitHub Profile
# ALIASES ---------------------------------------------------------------------
alias unmount_all_and_exit='unmount_all && exit'
alias d=docker
alias dc=docker-compose
alias dkill="pgrep \"Docker\" | xargs kill -9"
alias hcat='highlight -O ansi'
alias v='nvim -w ~/.vimlog "$@"'
alias vi='nvim -w ~/.vimlog "$@"'
alias vim='nvim -w ~/.vimlog "$@"'
#Windows location
#C:\Program Files\Git\etc\profile.d
# Alias for pythons
alias py=python
# Alias for composer
alias cr=composer
alias cri="composer install"
alias crd="composer dump-autoload"
@mashud-rana
mashud-rana / redis-setup-windows.txt
Created August 22, 2022 07:01 — forked from lnfel/redis-setup-windows.txt
Laravel 8 Redis setup on Windows with xampp
Laravel 8 Redis setup on Windows with xampp
Note: test done using windows 7
1. Install predis on your project
https://laravel.com/docs/8.x/redis#introduction
composer require predis/predis
- un-comment 'Redis' => Illuminate\Support\Facades\Redis::class, in your config/app.php
- on your .env make sure you have the following variables:
<?php
use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;
use Illuminate\Http\Request;
use Illuminate\Support\Facades\Log;
use Illuminate\Support\Facades\Session;
use Illuminate\Support\Facades\Storage;
use Illuminate\Support\Facades\Validator;
{
"editor.suggestSelection": "first",
"vsintellicode.modify.editor.suggestSelection": "automaticallyOverrodeDefaultValue",
"workbench.iconTheme": "material-icon-theme",
"workbench.colorTheme": "Night Owl",
"editor.fontFamily": "'Operator Mono Lig Book',Menlo, Monaco, 'Courier New', monospace",
"editor.fontWeight": "500",
"editor.formatOnPaste": true,
"material-icon-theme.folders.color": "#8C59D0",
"editor.fontSize": 16,
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
</head>
<body>
<div id="google-reviews"></div>