Catatan

Tunjukkan catatan dari September, 2023

DOCKER command

Imej
  show list of docker image service > docker ps > docker ps -a run container image > docker run hello-world > docker run nginx // run nginx in detach mode > docker run -d nginx > docker run php:8.1-alpine start/stop a container > docker start acdb > docker stop acdb remove docker >docker rm <imageid> image apa yg kita ada > docker image ls > docker images -a check network > docker network > docker network ls run nginx untuk specific container > docker exec -it nginx_app_1 nginx -t > docker exec -it nginx_app_1 nginx -s reload > docker run -d --name nginx-app -p 80:80 nginx cleanup docker env > docker system prune -a untuk run compose, multiple image in one command only > docker compose check logs > docker logs 1ddd run mysql > docker run -d -e MYSQL_ROOT_PASSWORD=123456 mysql docker tagging - alpine 9linuxOS0 - forker access docker container using command > docker exec -it eaduan2-server-1 sh

PHP Artisan command

Imej
Reset env > php artisan view:clear > php artisan route:clear >php artisan route:cache > php artisan optimize > php artisan migrate:fresh --seed Create view  > php artisan make:view about Create Model > php artisan make:Model Report -mc Create controller  > php artisan make:controller UserController > php artisan make:controller ReportResourceController --resource Create request > php artisan make:request StoreReportRequest Create Seeder (dummy data) > php artisan make:seeder ReportSeeder > php artisan db:seed Migrate database > php artisan make:migration create_reports_table > php artisan migrate How to cache > php artisan clear > php artisan config:cache > php artisan route:cache > php artisan view:cache Untuk deployment Autoloader optimization > composer install --optimize-autoloader --no-dev

Arduino board simulator

 https://www.tinkercad.com/dashboard

Apa itu Role-based access control (RBAC) ?

Imej
  What is Role-Based Access Control | RBAC vs ACL & ABAC

Laragon phpmyadmin mysql reset password

Imej
  Command >  mysql -u root > ALTER USER 'root'@'localhost' IDENTIFIED BY 'password';