This should help you to get started writing a Yats test case. We will create a Visual Studio solution, set up project dependencies and debug a very simple test case. We are assuming that Yats is installed at C:\Program Files\Yats Create a new C# DLL project: Add the following DLL dependencies to the project: attributes.dll,… Read More »
This is a working solution how to start an Android Activity as the only one in the Back stack.
This is the second time I step into this crap. Let’s save some handy commands for the future. After updating the distribution of my Ubuntu Server box, the ZFS kernel module is missing. I get the following error during the upgrade: configure: error: *** Please make sure the kmod spl devel <kernel> package for your… Read More »
I’ll describe my solution on how to resize a view under a SlidingDrawer. When the drawer is collapsed, the view (a map in my app) scales to take the additional place. I ended up having two layers (two LinearLayouts in a FrameView), each containing its actual contents and a dummy padding view. During runtime, two… Read More »
This is not shown in VirtualBox manual, but it makes a better sense to me to address the raw disk or partition by its name or UUID when creating the VMDK file: instead of it is better to use e.g.: This way, the virtual device is not affected by the device name (dev/sdX) change
A working method to restore the Grub bootloader. Assuming the hard drive to be repaired is /dev/sda. If not, change accordingly. Boot from a live CD, USB stick etc. Open terminal and execute the following commands: Reboot
A few photos of my take on the Mastech MS8229 multimeter RS232 hack discussed at http://www.eevblog.com/forum/projects/mastech-ms8229-rs232-hack/. Basically, this adds PC data logging support. The SMD resistors, before hot glue
Unlike some other I2C EEPROM IC drivers, AT24C08 / AT24C08A need their 2 MSB address bits sent in the first device address byte. This assumes the A2 pin is connected to ground: