Wednesday, 19 February 2020

How to replace Nitro boots TLS laces

Yes, today something completely different! :)

At the start of the winter session, I noticed that the laces of my boots were attacked by a mouse squad and almost unusable.

I was searching the internet and managed to found the replacement at the Czech sports shop Snowboard Zezula.

But still there didn't found any tutorial on how to replace them, so I made a few pictures of the process, I hope someone finds it useful.

Boots before the replacement

First,, with very fin screwdriver remove the laces holder, yes it will stay as-is - I was afraid that it might fall into the pieces

Now it will very easy to remove existing and insert the new laces

Then just continue removing the old one and instantly replacing it with the new one, that's it.

Have a nice ride!



Tuesday, 11 February 2020

Cordova / Ionic barcode scaner with native camera preview

I just forked the cordova-plugin-qrscanner and added support for standard barcode images (initially, it supports only QR Scanning).

Comments welcome https://github.com/papsl/cordova-plugin-qrscanner. It can also be used with Ionic Native QR-Scanner.



Monday, 11 November 2019

Mr. Clippy is in a bad mood

Made by my youngest, she had no idea why I'm laughing at her creation.


Mr. Clippy is in a bad mood today

Friday, 15 February 2019

Some (n)unit tests run on TFS are failing with System.OutOfMemoryException

Symptom:
- some tests are failing with "----> System.OutOfMemoryException : Exception of type 'System.OutOfMemoryException' was thrown." error


Solution:
- add "/platform:x64" to VSTest step

Additional info:
under the hood, TFS is running "vstest.console.exe" and it looks that is run as a 32bit application by default


Monday, 28 November 2016

Migrating Mercurial (Hg) repository to GIT

Here a just a few random notes to get you starting with the migration of existing Mercurial Hg repository to GIT without loosing history.
Read:
Install:

Tuesday, 5 May 2015

How to use Visual Studio’s 2015 Android Emulator in Android Studio or Eclipse

Microsoft introduced Android Emulator in Visual Studio 2015, which is currently available as Release Candidate, this emulator uses Hyper-V with virtual machines running on Android x86 platform. So emulator is super fast and has a lot of nice features previously known just to Windows Phone emulators, like zooming, easy location mocking, simulating camera with real images, drag and drop APK files etc, ...

But the best part is, that this great emulator with all its nice features can be also used when developing Android applications with Android Studio or Eclipse. Just with two additional steps:

1.) Prepare and run desired VS Android emulator in Visual Studio, for detail read this article

2.) Check IP address of Android emulator device Settings \ WiFi \ Advanced\ Ip Address

Getting current IP address of Android device

3.) Run Command "ADB connect ipaddress"


4.) Now VS Android emulator should be available for running and debugging Android applications in either Eclipse or Android Studio.


Enjoy!

Thursday, 5 March 2015

How can SQL code behave differently in or outside procedure and about poor error handling

During refactoring of very old code, I found a ancient/ugly and in the end even totally wrong error handling script. Interesting is that the developer probably tested it outside of procedure and it did "kind a work" for him, ... :)

I'll add details later (or much later).