code
php artisan make:model Car
php artisan make:model Car -m
php artisan make:model Car --migration
php artisan make:migration create_cars_table
php artisan make:controller UserController
php artisan make:event UserCreated
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 | |
declare(strict_types=1); | |
namespace App\Entity; | |
use Doctrine\ORM\Mapping as ORM; | |
use Gedmo\Timestampable\Traits\TimestampableEntity; |
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 | |
declare(strict_types=1); | |
namespace App\Controller\Profile; | |
use App\Entity\User; | |
use App\Security\UserResolver; |
$.fn.tooltip.Constructor.VERSION
nc -v www.google.com 80
GET / HTTP/1.1↵↵
nc -v localhost 3000
GET /page.html HTTP/1.0 ↵
Header1: Value1 ↵
https://grymoire.com/Unix/Sed.html
sed 10q Gemfile
echo image.jpg | sed 's/\.jpg/.png/'
seq 10 14 | sed 4d
awk '{print $2}' /etc/hosts
awk 'FNR<=10' file
echo "World Hello" | awk '{print $2, $1}'
awk '{print $NF}' Gemfile
seq 1 100 | awk '{s+=$1} END {print s}'
sudo lxc-ls -f
sudo lxc-create -n sandbox -t download
sudo lxc-create -n fedora -t fedora
sudo lxc-start -n sandbox
sudo lxc-attach -n sandbox
sudo lxc-info -n sandbox
sudo lxc-info -n sandbox -i
sudo lxc-info -n sandbox -iH
NewerOlder