Coding with Titans

so breaking things happens constantly, but never on purpose

Install Ubuntu Server 19.04 on Windows 10 Hyper-V

I am a really trouble guy and having problems and spending sleepless nights seems quite often to me. But gee, it’s 2019! and still it’s not very obvious, why sometimes it’s so hard to do things that in theory should be so easy. You probably noticed, that I like TeamCity. Since I am going to participate in JetBrain’s latest TeamCity Plugin Contest 2019 I came up with idea of setting up virtual machine with a test instance of the CI, instead of messing up my production one to only test the plugin. Read more →

Enable Android Emulator on Windows 10 Hyper-V

During installation of Android Studio we usually end-up with Android Emulator using Intel HAXM. This is still pretty good virtualization platform. Unfortunately might lead to a clash, since only one virtualization technology could be used at a time. And if you continue using Docker for Windows or any other Hyper-V based virtual machine with Linux system, something will not work (depending, what was launched first). Fortunately Microsoft solved this problem with 1803 release for Windows 10. Read more →

Minimalizowanie rozmiaru pliku VHD

Poniższa prosta procedura gwarantuje odzyskanie dużej ilość miejsca zajętego przez dynamiczne dyski VHD maszyny wirtualnej utworzonej w Hyper-V w Windows 8 Pro: Włącz system, który będzie optymalizowany. Opróżnij kosz, usuń pliki z katalogów ‘temp’, usuń zbędne punkty przywracania systemu, wyłącz hibernację, zmniejsz plik stronicowania. Defragmentuj dysk (najlepiej x3 w Windows XP) Wyzeruj wolne miejsce używając sdelete.exe (dostępne tutaj od SysInternals). Wyłącz system. W Hyper-V kompaktuj rozmiar dysku VHD. Gotowe! Read more →