Catatan

gitlab ssh: Could not resolve hostname gitlab.com: Name or service not known

Imej
 solve this error on gitlab ssh: Could not resolve hostname gitlab.com: Name or service not known fatal: Could not read from remote repository. Please make sure you have the correct access rights and the repository exists. The error message you're seeing suggests that Git is unable to resolve the hostname "gitlab.com" to an IP address, which means it's having trouble connecting to GitLab over SSH. Here are some steps to troubleshoot and potentially resolve this issue: 1. Check your internet connection:    Ensure that your internet connection is stable and working correctly. 2. Verify the GitLab URL:    Make sure you are using the correct GitLab URL. It should be "gitlab.com" unless you are using a self-hosted GitLab instance. 3. Check your SSH configuration:    Make sure you have an SSH key configured and added to your SSH agent. You can check this by running the following command:    ```shell    ssh -T git@gitlab.com    `...

BitArray in C#

Imej
  BitArray in C# - https://code-maze.com/csharp-bitarray/ C# Bitwise and Bit Shift Operators -  https://www.programiz.com/csharp-programming/bitwise-operators Bit Processing in C# -  https://derekwill.com/2015/03/05/bit-processing-in-c/ How can I convert BitArray to single int? -  https://stackoverflow.com/questions/5283180/how-can-i-convert-bitarray-to-single-int BitArray Class -  https://learn.microsoft.com/en-us/dotnet/api/system.collections.bitarray?view=net-7.0 C# | Inverting all bit values in BitArray -  https://www.geeksforgeeks.org/c-sharp-inverting-all-bit-values-in-bitarray/ Convert from BitArray to Byte -  https://stackoverflow.com/a/560131

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';