Although Fit Guest Now was enabled after open-vm-tools was installed in Arch Linux, however clicking on Fit Guest Now did not have effect. I tried these steps and worked for me. Enable Accelerate 3D graphics in VM's display settings Install xf86-video-vmware driver sudo pacman -S xf86-video-vmware Ensure vmtoolsd starts, if not do this sudo systemctl … Continue reading [Arch Linux]Cannot fit to guest in Vmware workstation
The snap-store installation instruction can be found here. After installation the snap store fonts cannot be properly displayed, at first thought you may think it is due to fonts not installed, but actually a simple workaround can solve this issue. sudo rm -f /var/cache/fontconfig/* No restart is required on Arch Linux, relaunch the snap store … Continue reading [snap-store]Snap store fonts cannot be displayed in Arch Linux
I am using the raw module of SQLAlchemy, and not the Flask's version of SQLAlchemy, Flask's version is easier to use than the original as more abstraction has been implemented by Flask. This post is to record how tables can be created. Requirements.txt These python libraries are necessary, for this example I am using Mariadb … Continue reading [python]Create table with SQLAlchemy
Ok I did this to prevent my pc got hacked, my company has a policy that whomever pc is left turned unattended anyone can hack it. And I always forgot to do the super + L, so I decided to do a short cut and put in my menu bar, just a click will lock … Continue reading Creating lock pc shortcut.
This is a personal note for me if I need to install Arch Linux on virtual box again. Arch Linux is unlike Linux Mint, it only comes with a shell after installation you will need to install the software you need by using pacman. Grand reference is to use the Arch Wiki. Live CD There … Continue reading [Linux]Arch Linux installation until xfce desktop
I have made the grub configuration with grub-mkconfig -o /boot/grub/grub.cfg in the arch-chroot environment, after i generated the grub config I exited from the arch-chroot and unmount the /mnt then reboot, Arch could not be booted but instead my console was stucked in grub. this is because I have not downloaded the linux-firmware which includes … Continue reading [Arch Linux]Could not boot to Arch and stuck in grub shell
I first tried the Dragonfly and I felt Dragonfly is not for me, it does not share the same repo as FreeBSD despite it is based on FreeBSD. So I tried the FreeBSD then tried the OpenBSD, and I still like FreeBSD because the installation as compared with OpenBSD is friendlier and more automatic than … Continue reading [FreeBSD] Installation and setting up
So on my XFCE i cannot click on shutdown or restart, both buttons are greyed out. So I check the information with this command pkg info -D xfce4-session which gives this information. So I created a new rule file known as shutdown.rules and put the following contents inside the file. there is no need to … Continue reading [FreeBSD]Grey out shutdown and restart button in XFCE
Dragonfly is a FreeBSD distribution, the installation wizard is the command line type of menu, I had a feeling of nostalgic, I am a Windows and Linux user on modern Linux desktop distribution especially those forked from Debian or Ubuntu have very intuitive and attractive installation wizard which even tries to dynamically detect the hardware … Continue reading [FreeBSD]Installing Dragonfly BSD
There are two functions in python which can convert the ascii to the integer equivalent and vice versa. To convert ascii character to integer representation use ord(), to convert integer to ascii representation use chr(). Example: Result [104, 101, 108, 108, 111, 32, 119, 111, 114, 108, 100, 33] hello world!