Monday, January 4, 2016

KeePassX that works with chromeIPass

There is a custom build of KeePassX that works with ChromeIPass. See this discussion.

TL;DR:
For interested, Ubuntu packages are at:https://launchpad.net/~eugenesan/+archive/ubuntu/ppa/+packages?field.name_filter=keepassx and OSX homebrew formula is at https://github.com/eugenesan/keepassx/raw/2.0-http-totp/share/macosx/keepassx.rb

on OSX run:

  • brew install https://github.com/eugenesan/keepassx/raw/2.0-http-totp/share/macosx/keepassx.rb
  • brew linkapps keepassx

Thursday, April 17, 2014

Fix for a bug with unittest and multiprocessing on Python 2.x on Windows

There is a bug in all Pythons up to 2.7.6 (i.e. all 2.x so far) that breaks using unittest and multiprocessing module on Windows.

If you see complaints about __main__ in multiprocessing/forking.py that's this bug


To fix, patch your global python with this fix http://hg.python.org/cpython/rev/c82588ca3a79


It's fixed in new Pythons 3.x but haven't been backported to 2.x yet

Monday, April 14, 2014

HDD vs SSD performance

Comparison between HDD (WD3200BPVT, 5400RPM) and SSD (Corsair GT3) on the same laptop (Acer 1430Z-4677) using CrystalDiskMark.


Friday, June 14, 2013

How to restore call phone button in Gmail

At some point a button to call phones disappeared from from my GMail. With that nice new "Hangout" I can video call to another computer but not the phone numbers. After spending some time googling (that's the Google support for you) I found a solution:

New "Hangout" removes that functionality for you. Switch back to old ugly Google Chat and you have "call phone" button again.
On the left side of GMail there is a list of your Hangout contacts. Click down arrow next to you image there and select "Revert to old chat".

Some guy even put a video explanation:

Saturday, April 6, 2013

How to get a serial Wacom tablet to work in Windows 8 x64


This may not be the shortest way to install it, but here's how I finally got it working. My setup:
  • Windows 8, x64
  • Wacom Intuos GD-0608-R serial tablet
  • Trendnet TU-S9 usb-com adapter (based on Prolific PL2303HXD)
  1. Uninstall any Wacom drivers you had before, unplug your tablet and reboot
  2. Download and install usb-com adapter drivers, set port to COM2
  3. Download pro610-6_int.exe drivers from Wacom
  4. Essentially it's an archive, unpack it (I used 7zip for example)
  5. This post recommends to set compatibility mode to Windows 2000. Unfortunately in Windows 8 that option was removed. You can get it back using Microsoft Application Compatibility Toolkit. Download and install it.
  6. Launch Compatibility Administrator (32 bit) and follow this instruction. Create an Application fix. Point to setup.exe you've unpacked on step 4. Set compatibility to Win 2000. Faced with "select matching files" page of the wizard click "Auto-Generate" and "Select All".
  7. Once the fix is created, hit "Run" button in toolbar and proceed with install.
  8. Reboot your machine and connect your tablet.
  9. 6xx Drivers have hard time recognizing serial tablets. Point them in right direction by editing c:\Users\*your username*\AppData\Roaming\WTablet\Wacom_Tablet.dat. It'd look like this:
  10. PrefsFileVersion 4
    DriverOn1Off0 1
    DriverLanguage 0
    LeftHandedMouse 0
    FunkyButtonMode 0
    PTKDisplayBrightness 2
    NoStartWarnings 0
    HowManyTablets 1
    TabletType 0
    TabletModel 201
    CommPort COM2
    TabletOn1Off0 1
    TabletPhysicallyOn 1
    TabletFlags 0
    HowManyTransducers 0
    
    "TabletModel 201" corresponds to Intuos GD-0608-R. If you don't know yours, try to install old pro493-3_int drivers and look for "tablet.dat" file in system32 dir of Windows. You may need to adjust registry as described here for the drivers to find the tablet.
  11. Finally, restart "TabletServiceWacom" service to pick up new settings.

    Probably you may get away with Win XP compatibility mode to skip steps 6-7, but it didn't work for me for some reason.

Tuesday, April 2, 2013

Chrome 27, Firefox 20, still no support for multiple color profile

Neither Chrome 27 nor Firefox 20 support color management on dual monitors. They just pick color profile from the main screen. Quite a disappointment. Windows Photo Viewer does it just fine. Not to praise Microsoft, latest Internet Explorer 10 don't even bother with color management at all.

When one of your monitors is wide gamut and the other sRGB, colors on the secondary screen are a bit off :-(

Friday, February 10, 2012

You can measure execution time of a command in Windows command line out-of-the-box, just run
cmd /v:on /c "echo !TIME! & mycommand & echo !TIME!"

If you have PowerShell installed, get much more information with
Measure-Command mycommand

On Linux simply use
time mycommand

taken from: http://stackoverflow.com/questions/673523/how-to-measure-execution-time-of-command-in-windows-command-line