The apt-daily.service makes users feel very slow when running at startup. There is a workaround to delay its execution after system boot up:
Do the following:
sudo systemctl edit apt-daily.timer
And paste the config to the config file:
# apt-daily timer configuration override
[Timer]
OnBootSec=15min
OnUnitActiveSec=1d
AccuracySec=1h
RandomizedDelaySec=30min
References:
https://askubuntu.com/questions/800479/ubuntu-16-04-slow-boot-apt-daily-service
https://ubuntu-mate.community/t/shorten-boot-time-apt-daily-service/12297
Thursday, September 26, 2019
Thursday, September 19, 2019
Android Emulator 29.2.0 problem with Ubuntu 19.04
It just crashed with segmentation fault.
From https://androidstudio.googleblog.com/2019/09/emulator-2920-stable.html, the OS may crashes with incompatible Vulkan drivers.
Temporary rollback to emulator 29.1.12-5839083 as a workaround.
Monday, September 2, 2019
Adjust VirtualBox VMS BIOS time
Syntax
VBoxManage modifyvm "VMS Name" --biossystemtimeoffset -ms
Note:
ms - milliseconds
For example
VBoxManage modifyvm "VMS Name" --biossystemtimeoffset -86400000
Subscribe to:
Posts (Atom)
Sync multiple git repo at once
Use the following command in Linux will do the job: ls -d RepoNames* | xargs -I{} git -C {} pull
-
When Office2003 couldn't find file SKU011.CAB: regedit -> [HKEY_LOCAL_MACHINE] -> [SOFTWARE] -> [Microsoft] -> [Office] -&...
-
The resolution can be changed by editing the BlueStack's registry: HKLM\SOFTWARE\BlueStacks\Guests\Android\FrameBuffer\0\Height and ...
-
To count the number lines of files / stdout in Linux, we uses "wc -l" to achieve. In Windows, we use the following instead: find...