Posts

Set up Genymotion Android with Google service

Install Genymotion 2.6.0 Start Genymotion. Download the device image Google Nexus 5X - 6.0.0 - API 23 - 1080x1920. Start the device image in Genymotion. Download Genymotion-ARM-Translation_v1.1.zip . Drag it to the screen of the started VM to flash it. Restart. Use the same procedure to flash gapps-L-4-21-15.zip .  Sign in into your google account by starting the gmail app for instance. Flash benzo-gapps-M-20151011-signed-chroma-r3.zip and restart. Reference: https://gist.github.com/wbroek/9321145

Docker quick start (Firefox container as an example)

Below are the minimal commands needed to get a working Mozilla Firefox docker container in Ubuntu. Install docker client and server sudo apt-get install docker.io Allow the docker user to communicate with your X session xhost +local:docker Download a Firefox docker image and start it as a container sudo docker run -v $HOME/Downloads:/home/firefox/Downloads:.rw -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/snd:/dev/snd --privileged -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name firefox chrisdaish/firefox Once the image has been downloaded, it can be started with the following command instead: sudo docker r un -v /tmp/.X11-unix:/tmp/.X11-unix -v /dev/snd:/dev/snd --privileged -e uid=$(id -u) -e gid=$(id -g) -e DISPLAY=unix$DISPLAY --name firefox chrisdaish/firefox Note the id or name of the container. Later if you want to get back to the container, you need that id. sudo docker attach [id or name] sudo docker start [id or name> Before you can run again, ...

Time change due to Windows-Ubuntu dual boot

This happens because Windows thinks the hardware clock tracks local time, while Ubuntu thinks the clock tracks UTC. If the time is reset in Ubuntu, the time would be wrong in Windows. A good solution is to set Ubuntu to treat the hardware clock as local time. For older systems, edit /etc/default/rcS as root and make sure that UTC=no . For newer systems using systemd (15.04+), you shall run the following command. timedatectl set-local-rtc 1 Reference Reference 2

Install gcin on Raspbian

Run the following command in a terminal sudo apt-get install gcin im-config imconfig Choose gcin as the default input method. Logout and log in again.

Useful iPhone Open Source/Ad Free apps

View your iphone SMS on a Windows PC: all your text Navigation app that allows offline destination search and turn by turn navigation: maps.me

Sleeping Dogs Definitive Edition Crashes in Windows 10 -- workaround

The trick is to disable the "Touch Keyboard and Handwriting Panel Service" service. For those who don't know how to disable the service, here is one way: Open Control Panel -> System and Security -> Administrative Tools -> Services. There, look for the service called "Touch Keyboard and Handwriting Panel Service". Right click on it and select "stop" to stop the service. You may also ban the service from automatically starting there. Note that you need to disable the service before starting steam. Reference

Windows server 2012 on ASUS N550JV

Follow the instruction here in general. Then download the following drivers from the ASUS support page . For the Nvidia graphics card to work, install the V9.18.13.1193 version of the Nvidia driver under Windows 8, VGA. You may need a few reboot to finally get the driver working. For Direct X to be fully functional, follow the instruction here to install missing .dlls. For Xbox 360 controller: Use the Windows 7 driver available here . Indeed I can't get the controller in any steam games however. I use xb360ce as a workaround. For the radio control driver, use ATK4001 . Bluetooth is not supported on Windows server 2012.