Wednesday, May 01, 2024
Tuesday, April 30, 2024
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
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
PS C:\prj\hello-world> zig build run
steps [4/7] install... All your codebase are belong to us. Run `zig build test` to run the tests.
Sunday, February 11, 2024
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:
To fix, do:
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
Refs:
https://stackoverflow.com/questions/26740113/virtualbox-shared-folder-permissions
Error opening directory '/media/sf_C_DRIVE': Permission denied
To fix, do:
$: sudo adduser $USER vboxsf
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
https://stackoverflow.com/questions/26740113/virtualbox-shared-folder-permissions
Tuesday, February 06, 2024
How to get CPU and memory info in QNX
How to get CPU and memory info in QNX
To get CPU information in QNX, run pidin infoSammple out below:
# pidin info CPU:X86 Release:6.5.0 FreeMem:846Mb/1023Mb BootTime:Apr 05 01:03:42 UTC 2023 Processes: 33, Threads: 91 Processor1: 131758 Intel 686 F6M1SS7 1999MHz FPU
Tuesday, January 09, 2024
PowerShell Quick Tip: Get alias for a cmdlet
PowerShell Quick Tip: Get alias for a cmdlet
Below shows how to get the aliases for Remove-Item cmdlet.PS C:\prj> Get-Alias -Definition Remove-Item CommandType Name Version Source ----------- ---- ------- ------ Alias del -> Remove-Item Alias erase -> Remove-Item Alias rd -> Remove-Item Alias ri -> Remove-Item Alias rm -> Remove-Item Alias rmdir -> Remove-Item
PowerShell Quick Tip: Delete a folder recursively
PowerShell Quick Tip: Delete a folder recursively
PS C:\> Remove-Item -Recurse -Force .\folder_to_delete\
Or using alias
PS C:\> rm -r -fo .\folder_to_delete\
Subscribe to:
Posts (Atom)
Installing QNX 6.4.1 on Ubuntu 20.04
Installing QNX 6.4.1 on Ubuntu 20.04 Install pre-requisites $: sudo dpkg --add-architecture i386 $: sudo apt update $: sudo apt install li...
-
Installing MonoDevelop in OpenSUSE 12.2 from its repository was very easy. When running it for the first time though I got the message: Th...
-
Tried to update my Ubuntu host today and it did pickup that new version of VirtualBox is available (4.1.8). All other packages installed pro...
-
Press Alt+F1, then type: #: reboot -p Reference(s): https://groups.google.com/forum/#!topic/android-x86/pEI7xAnOpNY