This file contains hidden or 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
| #!/bin/bash | |
| CONCATED_TEXT="" | |
| # Define the lowercase function | |
| to_lowercase() { | |
| local str="$1" | |
| echo "${str,,}" | |
| } |
This file contains hidden or 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
| # location | |
| C:\Users\mashu\.bashrc | |
| # Alias for pythons | |
| alias py=python | |
| # Alias for composer | |
| alias cr=composer | |
| alias cri="composer install" | |
| alias crd="composer dump-autoload" | |
| alias cru="composer update" |
This file contains hidden or 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\aliases.sh | |
| alias ls='ls -F --color=auto --show-control-chars' | |
| alias ll='ls -l' | |
| # Alias for pythons | |
| alias py=python | |
| # Alias for composer |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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> |