Search This Blog

Monday, December 28, 2015

KMP algorithm test word


[-1, 0, 0, 0, 1, 2, 0, 1, 2, 3, 4, 5, 3]

Tuesday, September 8, 2015

WPF tutorial

WPF data binding:

WPF built-in value converts:

Missing dialogs in WPF:

Common interface controls:

Missing code for Users in code-behind for
public class User
    string _name;
    public string Name
        get { return _name; }
        set { _name = value; }
    int _age;
    public int Age
        get { return _age; }
        set { _age = value; }

Friday, September 4, 2015

Universal Windows apps?

Universal Windows apps

Friday, July 24, 2015

Server less than $500

NUC5i5RYH $360
16GB Kit (8GBx2) DDR3-1600 MT/s (PC3-12800) 204-Pin SODIMM $92.96


smtp server
web server
db server (MySQL or MariaDB)

* Wordpress uses PHP and MySQL

Friday, July 3, 2015

OS X synergys test in bash

OS X synergys test in bash

Error message: FATAL: An error occurred: assistive devices does not trust this process, allow it in system settings.

Enable the accessibility of '' or ''

Tuesday, March 10, 2015

Special characters in Octave or Gnuplot

Tuesday, February 24, 2015

Used Apple TV







Power cable

Remote control top

Remote control  bottom

Play apple trailer

Main screen

Diverse menu provided

Subtitle is also possible

Now restoring it to factory default

Saturday, February 21, 2015

Racing wheels (rims)

Volk rims

Good place to check for a car

Available rims for Kia Rio

BBS rims

Wednesday, February 18, 2015

Create user for pi

sudo adduser

sudo deluser

sudo adduser

usermod -a -G group1,group2


Monday, February 16, 2015

Recovery from Semaphore leak

There is no way to recover the semaphore. Therefore, if a process is going to be killed or crashed, using semaphore will note be a good idea. In other words, the process needs to manage semaphore create/release very carefully.

Saturday, February 14, 2015

Lego NXT communication protocol

Friday, February 13, 2015

Google gave up XMPP server-to-server federation!

Consequently, other XMPP servers cannot talk to google talk (or hangout).

Thursday, February 12, 2015

Invalid or unreadable path specified for ssl_ca_path. at /opt/local/lib/perl5/site_perl/5.16.3/XML/ line 640.


XML::Stream CPAN install error

Make sure that /etc/hosts has the information of the  $HOSTNAME

Perl CPAN module install

perl -MCPAN -e 'install HTML::Template'

* sudo may be required!

OSX Semaphore probem

Wednesday, February 4, 2015

Saturday, January 10, 2015

Unison profiles

Unison profile location

Linux: ~/.unison
OS X: ~/Library/Application Support/Unison

ar*: unison archive
fp*: unison fingerprint cache

A general recommendation for trouble shooting is to delete the archive files (ar*) on both replicas.

Blog Archive