Your cart is currently empty!
Author: Website Admin
Linux: Stopping HDD
Once in a blue moon, you want to change your hard disk without shutting down your system. And all you need to do is run this command:
OpenSSL: SSL Certificate X.509
Root certificate (CA) Create root certificate private key with password: To generate private key without password just takeout the -des3 option Create root certificate public key: Create root private key and X.509 certificate (self-signed) in one go: Server certificate Create server certificate private key. Create server certificate request. Output certificate request Signing Sign certificate request…
Join Ubuntu to LDAP/Active Directory
Install these packages: Join the domain List the domain Leave the domain /etc/sssd/sssd.conf By default you will need to login with [email protected]. To login using username without @domain.name, change the use_fully_qualified_names to false. /etc/sudoers If you find yourself unable to execute sudo, then you might want to edit these lines. You also can add yourself…
Laravel Environment File .env
Generate application key Most of the time this is done via Laravel artisan command php artisan key:generate. But if you want to set it manually, you just need to fill APP_KEY inside the .env file with:– random 32 characters or– something with the length of 32 bytes encoded in base64. If you choose to go…
Git: Working with Remote Repository
Add remote repository– This will set fetch and push url to remote_url Update push url– Sometimes we do not have an access to push to remote_url Fetch remote– Do not forget to do this after you add your remotes Merge from remote Pull from remote If you encounter “fatal: refusing to merge unrelated histories” while…
Bypass HTTPS Certificate Validation
This only works on Google Chrome, Microsoft Edge, or any other browser using Chromium engine. Type “badidea” or “thisisunsafe” with browser window active.
Laravel Database Pesimistic Locking
get() sharedLock() lockForUpdate() update() SELECT… OK OK OK OK SELECT… LOCK IN SHARE MODE OK OK WAIT WAIT SELECT… FOR UPDATE OK WAIT WAIT WAIT UPDATE…, DELETE… OK WAIT WAIT WAIT MariaDB 10 id name balance 1 Anto 25,000 2 Budi 80,000 … … … Table: wallets CASE #1 id name balance 1 Anto…
Lenovo Ideapad Yoga 300 11IBY
laptops and netbooks :: yoga series :: yoga 300 11iby – Lenovo Support ID Note to self: For Windows 10 installation Bluetooth Power Management Motherboard Devices (install all except Bitland G-sensor)
Linux Date Time Update Tanpa Menggunakan NTP
Ketika sedang mencoba image Ubuntu Server 20.10 (64-bit) untuk Raspberry Pi, saya mendapati bahwa date/time pada sistem tidak sesuai. Hal ini menyebabkan Ubuntu tidak bisa melakukan sistem update. Untuk mengatasi masalah tersebut saya coba untuk menjalankan perintah ntpdate untuk mensinkronkan date/time ke NTP server. Tetapi setelah saya check, ternyata ntpdate tidak terinstall juga. Jika anda…