HHwaryonginblog.hwaryong.com·Nov 6, 2021 · 2 min readKVM GPU Passthrough on Ubuntu 20.04Objectives I can summarize the objectives of the project like the following: Dual OS but without dual boot Ubuntu as the host OS Windows on a VM, but empowered by dGPU Pros and cons Everything is changed in a positive way: Ubuntu wakes up much bet...00
HHwaryonginblog.hwaryong.com·Apr 28, 2021 · 1 min readCopy Image in Clipbaord to Electron AppTL;DR This function returns a code of image source. const copyImage = () => { const _ = clipboard.availableFormats('clipboard') if (_.includes('image/png') || _.includes('image/jpeg')) { return clipboard.readImage('clipboard').toDataURL() }...00
HHwaryonginblog.hwaryong.com·Jan 27, 2021 · 2 min readConfigure Windows Laptop for DevelopmentCreate RamDisk for Cache Install ImDisk Toolkit. Set the size of RamDisk to 8GB, allocate memory statically, mount it on R:\, and set TEMP variables to R:\Temp. Open command line with admin privilege. Paradoxically, you should now close Edge. Delet...00
HHwaryonginblog.hwaryong.com·Jan 27, 2021 · 1 min readCreate and Sign an EXE with PythonThe contents of this post are no longer useful. If you want to turn your python procedure into a signed executable in Windows, just follow the steps below. Note that the strings with captial letters should be changed according to your taste. Requirem...00