Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| # ignore everything in the root except the "wp-content" directory. | |
| !wp-content/ | |
| # ignore everything in the "wp-content" directory, except: | |
| # "mu-plugins", "plugins", "themes" directory | |
| wp-content/* | |
| !wp-content/mu-plugins/ | |
| !wp-content/plugins/ | |
| !wp-content/themes/ |
| WordPress Block Development Made Easy | |
| https://webdevstudios.com/2020/06/16/wordpress-block-development/ | |
| Using Markdown and Localization in the WordPress Block Editor | |
| https://css-tricks.com/using-markdown-and-localization-in-the-wordpress-block-editor/ | |
| Gutenberg blocks: Add custom default class names | |
| https://poolghost.com/add-custom-default-class-names-to-gutenberg-blocks/ | |
| How to Create a Simple Gutenberg Block Pattern in WordPress |
Since Chrome apps are now being deprecated. Download postman from https://dl.pstmn.io/download/latest/linux
Although I highly recommend using a snap
sudo snap install postman
tar -xzf Postman-linux-x64-5.3.2.tar.gz| <?php | |
| class CleanerS3Helper | |
| { | |
| public function getCleanImageUri() { | |
| $adapter = Storage::disk('s3')->getDriver()->getAdapter(); | |
| $command = $adapter->getClient()->getCommand('GetObject', [ | |
| 'Bucket' => $adapter->getBucket(), |
| alias gs="git status" | |
| alias gl="git log" | |
| alias glp="git log --graph --decorate --pretty=oneline --abbrev-commit" | |
| alias gcom="git checkout master" | |
| alias ga="git add" | |
| alias gaa="git add ." | |
| alias gc="git commit -m " | |
| alias gp="git push" | |
| alias fuckthat="git reset --hard && git clean -df" | |
| alias art="php artisan" |
1.create a docker volume for mysql data docker volume create mysql_data
docker run --name some-mysql -e MYSQL_ROOT_PASSWORD=password -v mysql_data:/var/lib/mysql -p 3306:3306 -d mysql:5.7| @echo off | |
| net session >nul 2>&1 | |
| if %errorLevel% == 0 ( | |
| @echo on | |
| mountvol X: /s | |
| copy %WINDIR%\System32\SecConfig.efi X:\EFI\Microsoft\Boot\SecConfig.efi /Y | |
| bcdedit /create {0cb3b571-2f2e-4343-a879-d86a476d7215} /d "DebugTool" /application osloader | |
| bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} path "\EFI\Microsoft\Boot\SecConfig.efi" | |
| bcdedit /set {bootmgr} bootsequence {0cb3b571-2f2e-4343-a879-d86a476d7215} | |
| bcdedit /set {0cb3b571-2f2e-4343-a879-d86a476d7215} loadoptions DISABLE-LSA-ISO,DISABLE-VBS |
| { | |
| axios: { | |
| prefix: '/api/', | |
| proxy: true, | |
| }, | |
| proxy: { | |
| '/api': { | |
| target: apiUrl, | |
| pathRewrite: { '^/api/': '' }, | |
| headers: { 'X-API-KEY': apiKey }, |
| <?php | |
| public function boot() | |
| { | |
| Route::bind('course', function ($value) { | |
| return Course::where('slug', $value)->orWhere(function ($query) use ($value) { | |
| if (is_numeric($value)) { | |
| $query->where('id', $value); | |
| } |