Your cart is currently empty!
Category: Uncategorized
Ubuntu: VPN Client Command Line
#1. Install these packages. #2. Edit /etc/ipsec.conf. For Cloudraya IPSec (minimal) setting: #3. Edit /etc/ipsec.secrets. #4. Start the ipsec. #5. Connect the ipsec. #6. Disconnect the ipsec. #7. Edit /etc/xl2tpd/xl2tpd.conf. #8. Edit /etc/ppp/options.l2tpd.client. #9. Start xl2tpd. #10. Connect L2TP. #11. Disconnect L2TP. #12. Check IP address. You should have a new interface called PPP0. #13.…
MySQL: Replication
#1. On the master server, edit /etc/mysql/my.cnf. #2. Restart/reload the master server. #3. On the master server add user and grant replication privileges. #4. Flush privileges and lock the tables so that the log index does not move. #5. On the master server, get posision of the log index. #6. On the slave server, edit…
Vim: Color Scheme
Curent color scheme List available color scheme Ubuntu: Fedora 37: Set color scheme
Cypress: Contains
The html bellow does not render neither Hello nor World visually. But it does show in the page source. Using this assertion will pass the test. Using this assertion will NOT pass the test.
Golang: GORM Association
Has Many Company has many Employees. Has Many – Belongs To You just need to add Company Company inside Employee struct. Has One Account has one Profile. Has One – Belongs To Unlike Has Many relationship, you can not just add Account Account inside the Profile struct. If you do, you will get an error…