Internship
Tuesday, 20 December 2022
Successfully create AWS Account with gitlab integration
›
1. create aws ec2 account && with generated pair keys 2. create gitlab repository and push your local files git remote add origin ht...
Sunday, 11 December 2022
Spatie Laravel Permission & Check Role
›
$role = Role::findById(3, null); //use spatie\permissions\model\role to get role model; $role->hasPermissionTo('Complaint Review'...
Saturday, 10 December 2022
Request Laravel Compare Route
›
Example of getting route name and path in Laravel 8 //get all uri except domain host request()->getRequestUri(); //raw path info after do...
Monday, 5 December 2022
docker commands cli
›
docker commands (vital) : docker-compose exec php bash -c 'ls' list of commands : -pwd -docker images -docker ps -docker container...
Wednesday, 19 October 2022
Git Reset and Clean Unstaged files
›
unstage all files git reset --hard remove all git unstage files git clean -df Git Force Merge
Sunday, 18 September 2022
Multiple SSH credentials gitlab and github
›
https://gist.github.com/Sotatek-NuiTran/a20d6827d874ca5f5b7b01e1a6d8fd01 https://docs.github.com/en/authentication/connecting-to-github-wit...
Apache2 & laravel installation in Ubuntu 20.04
›
step 1 - login github & create new repo step 2 - generate ssh id_rsa and add to github ssh-keygen -t rsa -b 4096 "your_email"...
›
Home
View web version