This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!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> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"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, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?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; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 "$@"' |