Skip to content

Instantly share code, notes, and snippets.

  • laravel new

  • php artisan migrate:fresh

  • php artisan make:view Table

  • #651: Add automated test

  • #652: File upload library

  • #653: CRUD for tables

  • #654: Js and PHP Validation template

  • #655: Sorting library

  • #656: Table db columns to fields

Install Packages

sudo apt-get install composer
sudo apt-get install git
sudo apt-get install npm

Copy Public Key to Gitlab

cd ~/.ssh/
assets\/img\/quiz\/q([1234])\/choice_([abcd])\.png
{{ asset('img/quiz/q$1/choice_$2.png') }}
assets\/img\/result\/([^\/]*)\/([1234]).png
{{ asset('img/result/$1/$2.png') }}
id="(?:.*)" data-name="(?:.*?)"
<path id="Path_2831" data-name="Path 2831" d="M475.4,615.966h4.767V611.2H475.4Zm.868-3.9H479.3V615.1h-3.034Zm0,0" transform="translate(-6.599 -16.133)" fill="#fff"/>
(./assets/images(.*?)") # match including double quote
git init --bare test.git
git --work-tree=/var/www/test --git-dir=/var/www/test.git remote add git@bitbucket.org:claw68/crawler.git