Skip to main content

Posts

How to call MessageBoxW using Zig in Windows

How to call MessageBoxW using Zig in Windows OS: Windows 10 22H2 Zig: 0.12 Compile messageboxw.zig: PS C:\prj> zig build-exe -lc .\msgboxw.zig
Recent posts

Fedora install screen chronicle

Fedora 39 Workstation Fedora 38 Workstation Fedora 37 Workstation Fedora 36 Workstation Fedora 35 Workstation Fedora 34 Workstation Fedora 33 Workstation Fedora 32 Workstation Fedora 31 Workstation Fedora 30 Workstation Fedora 29 Workstation Fedora 28 Workstation Fedora 27 Workstation Fedora 26 Workstation Fedora 25 Workstation Fedora 24 Workstation Fedora 23 Workstation Fedora 22 Workstation Fedora 21 Workstation Fedora 20 Fedora 19 Fedora 18 Fedora 17 Fedora 16 Fedora 15 Fedora 14 Fedora 13

Fedora 39 Workstation installation screen capture

Just an itch, wanted to see how Fedora 39 Workstation looks like. For other versions see  here

Zig - hello world

Hello world in Zig PS C:\prj> mkdir hello-world PS C:\prj> cd .\hello-world\ PS C:\prj\hello-world> zig init You should see this output during init info: created build.zig info: created build.zig.zon info: created src\main.zig info: created src\root.zig info: see `zig build --help` for a menu of options Run it like this PS C:\prj\hello-world> zig build run The output should look like this steps [4/7] install... All your codebase are belong to us. Run `zig build test` to run the tests.

Error opening directory '/media/sf_C_DRIVE': Permission denied

I tried to share a folder from Windows 10 host to Kali 2020.1 Linux guest using VirtualBox but I am getting the following error message: Error opening directory '/media/sf_C_DRIVE': Permission denied To fix, do: $: sudo adduser $USER vboxsf Then log-off then log back in. If this does not work, reboot the VM Getting similar issue using Fedora 33 on VirtualBox 7.0.12, below is the error message This location could not be displayed You do not have the permissions necessary to view the contents of "sf_D_DRIVE" To fix do the following and reboot the VM. $: sudo usermod -a -G vboxsf $USER Refs: https://stackoverflow.com/questions/26740113/virtualbox-shared-folder-permissions