Skip to main content

Posts

Mouse cursor disappers inside the VirtualBox VM when installing CentOS 7

Tried to create a VM using CentOS 7 ISO on VirtualBox 6. The VM booted fine and showed WELCOME TO CENTOS 7 screen, the issue is that clicking inside the VM would cause the mouse cursor to disapper. The VM is still usable but you have to use the keyboard to navigate the OS. To workaround the issue, shutdown the VM and change the settings System | Pointing Device to USB Tablet .

CentOS 7 networking not working on VirtualBox

It seems like this is by design (for security?) that CentOS 7 does not have networking working by default. Anyway, to fix this on VM running VirtualBox, edit /etc/sysconfig/network-scripts/ifcfg-enp0s3 and change the line that says ONBOOT=no to ONBOOT=yes and then reboot the machine. Refs: https://superuser.com/questions/915536/centos-7-virtualbox-no-internet-access

UnrealEngine GenerateProjectFiles.bat error - could be due to missing RPCUtility.exe

Tried to run  GenerateProjectFiles.bat to build Unreal Engine from source ( link ),  but got error like below: C:\>Users\x\UnrealEngine>GenerateProjectFiles.bat Setting up Unreal Engine 4 project files... GenerateProjectFiles ERROR: It looks like you're missing some files that are required in order to generate projects.  Please check that you've downloaded and unpacked the engine source code, binaries, content and third-party dependencies before running this script. To fix, run setup.bat like: C:\Users\x\prj\UnrealEngine>setup.bat Note that you have to say no to the prompt Would you like to overwrite your changes (y/n)? .

Installing QNX SDP 6.6 Linux on Ubuntu 18.10

QNX SDP 6.6 (Software Development Platform) on Linux is a 32-bit application. Now it can be installed on Ubuntu 18.10 64-bit OS but you need to install the following pre-requisite libraries: $: sudo apt install libc6:i386 default-jre-headless:i386 libgtk2.0-0:i386 libcanberra-gtk-module:i386 gtk2-engines-murrine:i386 libatk-adaptor:i386 You should be able to run QNX Momentics at this point ( /opt/qnx660/run-qde.sh ) but you will get a lot of error messages on the console like below: (qde:8603): Gtk-WARNING **: 01:12:34.312: Unable to locate theme engine in module_path: "adwaita", . To clean it up, do: $: sudo apt install gtk2-engines-murrine:i386 gtk2-engines-pixbuf:i386 gtk2-engines:i386 gnome-themes-extra:i386 </>

C#: Convert SecureString to String

Sample code to convert C# SecureString to String. Note that this is not the most secure to access SecureString. Line 20 is one example of converting SecureString to String, this only works for .Net Framework 4.0 or later. Lines 23 to 38 converts SecureString to String and works using .Net Framework 2.0 or up. Reference(s): https://stackoverflow.com/questions/818704/how-to-convert-securestring-to-system-string </>