Skip to main content

Posts

What is 169.254.x.x IPv4 address?

169.254.x.x is a link-local IP address that gets assigned automatically when, generally, DHCP is not available. On Windows operating system, this is called APIPA (Automatic Private IP Addressing). RFC 3927 defines the 169.254.0.0/16 address block for use in the link-local assignments. Note that routers are not supposed to route traffic from this address block. Reference: https://en.wikipedia.org/wiki/Link-local_address

BlackBerry Tablet Simulator Mouse Gestures

Mouse Gestures for BlackBerry Tablet Simulator Description Mouse Show top bar (notification area) Move mouse top middle and click Show Browser options Move mouse top right and click Show applications running Move mouse bottom middle and click Show application home screen (aka desktop) Move mouse bottom middle and click twice Show on screen keyboard Move mouse to lower left and click https://developer.blackberry.com/develop/simulator/simulator_gestures.html

BlackBerry Tablet Simulator shows black screen

On Windows 10 Enterprise version 1511 build 10586.589 + VMware Workstation 11.1.4, powering up a BlackBerry PlayBook Simulator 2.1 shows blank/black screen. The simulator was created around September 2012, it may have worked back in the day but with latest versions of the host OS and VMware it is not working using default configuration. The link from here mentions about supported graphics card, thus say, should support OpenGL 2.0. I am using a machine that supports Open GL 4.1 and still not working. To have a partially working simulator, change QNX boot option to 2. You can play with the simulator but developing an application that needs EGL does not work. Reference: https://developer.blackberry.com/develop/simulator/simulator_installing.html Hints/Keywords: Blank screen Black screen BlackBerry Table Simulator Not working on VMware Workstation

Installing BlackBerry Tablet Simulator 2.1 fails with "Windows error 2 occured while loading the Java VM"

Installing BlackBerry Tablet Simulator 2.1 on Windows 10 fails with the error message as shown below. --------------------------- LaunchAnywhere Error --------------------------- Windows error 2 occured while loading the Java VM --------------------------- OK --------------------------- To fix this install x86 version of JRE (tested with jre-8u102-windows-i586.exe). Running the installer again will still fail. Workaround is to pass command line argument to the installer, like: BlackBerryPlayBookSimulator-Installer-2.1.0-1032-Win-201209272349 LAX_VM "C:\Program Files (x86)\Java\jre1.8.0_102\bin\java.exe" -i GUI Run the above command on elevated prompt. Tested on Windows 10 1511 (OS Build 10586.545) Reference: https://supportforums.blackberry.com/t5/Adobe-AIR-Development/Window-error-2-occurred-when-loading-java-vm/td-p/1300033

Add a regular user in Kali Linux

Create a new user, say timus . # adduser timus Add user to sudoers group. This enables the user to become root when needed, for example to install new software. # usermod -a -G sudo timus References: http://8thstring.blogspot.com/2013/07/howto-create-new-user-in-lubuntu.html http://8thstring.blogspot.com/2012/12/adding-existing-user-to-group-in-ubuntu.html

Install Linux headers in Kali

In Kali Linux 2016.2, Linux headers were not installed when build-essential package was installed. Linux-headers is need when installing VirtualBox guest additions. To install the headers, do: # apt install linux-headers-$(uname -r) This should apply to the following distribution as well: - Debian - Ubuntu and derivatives Reference(s): http://askubuntu.com/questions/75709/how-do-i-install-kernel-header-files

OS X Keyboard Shortcuts

Key Action Notes ⌘+⇧+4 Screen capture of user defined screen Saves the screenshot on the Desktop Document Shortcuts Fn+Left Arrow Home: Scroll to the beginning of a document. Fn+Right Arrow End: Scroll to the end of a document. Fn+Up Arrow Page Up: Scroll up one page. Fn+Down Arrow Page Down: Scroll down one page. mc - Midnight Commander Esc+c Quick cd (M-c) Change directory Esc+s Search/Go to directory Legends ⌘ Command ⌥ Option ⇧ Shift ⌃ Control https://support.apple.com/en-us/HT201236 http://www.osxkeyboardshortcuts.com/keyboard-symbols.html Under construction. References: https://gist.github.com/sgergely/3793166