USB Mount on Ubuntu 18
NOTE: To mount usb drive in fstab is better. See Mount USB Drive Automatically on Ubuntu
Change Swap Size on Ubuntu 18
From Ubuntu 17, the swap partition has been changed as img file. It makes it easy to reszie the swap partition.
Mouse cursor in KVM guest
Problem
On windows guest, the mouse movement is a bit jerky.
JavaFx VM Parameters
Java FX is a standalone package after Java 8. To run Java FX application, we must add VM parameters as below.
Netplan pre-up-down post-up-down scripts
From Ubuntu 18, the network IFUPDOWN has been replaced by NETPLAN. Netplan doesn’t provide up/down hook scripts. But we can do it using networkd-dispatcher.
JavaScript Array Methods
JavaScript array methods to help you make your code easier.
[filter
, find
, map
, reduce
, every
, more
]
Delete Domain User From A Computer
Open up “Control Panel | System and Security | System
”
In the dialog click on “Advanced system settings
” (requires Admin rights)
The “System Properties
” dialog will be displayed
Make sure you are in the “Advanced
” register
In the “User Profiles
” section click on “Settings”
The “User Profiles
” dialog is displayed
Select the account. Hit Delete.
Wrong IP address from DHCP client on Ubuntu 18.04
The cause of the problem is that the built-in network config of Ubuntu 18.04 no longer uses the NIC Mac address as the default id for DHCP requests.
Using static IPs with LXD
lxc stop c1
lxc network attach lxdbr0 c1 eth0 eth0
lxc config device set c1 eth0 ipv4.address 10.99.10.42
lxc start c1