Tailwindcss plugin that adds a small box in the lower right corner of the screen showing the current breakpoint
Uses a position: fixed after css pseudo element on the body, so no extra markeup, and it get the breakpoint list by itself.
Tailwindcss plugin that adds a small box in the lower right corner of the screen showing the current breakpoint
Uses a position: fixed after css pseudo element on the body, so no extra markeup, and it get the breakpoint list by itself.
| # Shutdown the laravel app | |
| php artisan down | |
| # Install new composer packages | |
| composer install --no-dev --prefer-dist | |
| # Cache boost configuration and routes | |
| php artisan cache:clear | |
| php artisan config:cache | |
| php artisan route:cache |
| <?php | |
| /** | |
| * LaravelExceptionHandler.php | |
| * | |
| * Use this exception handle for your Laravel 5 based JSON APIs. | |
| * It serves properly formatted JSON responses instead of the default Laravel HTML error pages. | |
| * | |
| * <https://gist.github.com/tannernelson/cb2d981a3cfeabd425b8> | |
| */ |
| # Assume we are in your home directory | |
| cd ~/ | |
| # Clone the repo from GitLab using the `--mirror` option | |
| $ git clone --mirror [email protected]:mario/my-repo.git | |
| # Change into newly created repo directory | |
| $ cd ~/my-repo.git | |
| # Push to GitHub using the `--mirror` option. The `--no-verify` option skips any hooks. |
| <?php | |
| $url = array ( | |
| 'http://youtu.be/dQw4w9WgXcA', | |
| 'http://www.youtube.com/embed/dQw4w9WgXcB', | |
| 'http://www.youtube.com/watch?v=dQw4w9WgXcC', | |
| 'http://www.youtube.com/?v=dQw4w9WgXcD', | |
| 'http://www.youtube.com/v/dQw4w9WgXcE', | |
| 'http://www.youtube.com/e/dQw4w9WgXcF', | |
| 'http://www.youtube.com/user/username#p/u/11/dQw4w9WgXcG', |
| /** | |
| * Get YouTube ID from various YouTube URL | |
| * @author: takien | |
| * @url: http://takien.com | |
| * For PHP YouTube parser, go here http://takien.com/864 | |
| */ | |
| function YouTubeGetID(url){ | |
| var ID = ''; | |
| url = url.replace(/(>|<)/gi,'').split(/(vi\/|v=|\/v\/|youtu\.be\/|\/embed\/)/); |