.NET Core on Linux

For a while now we’ve had the .NET Core, which is a cross-platform (Windows, Linux, MacOS) framework that allows you to write stuff in the C# for example and afterwards run it wherever you like. Say what you will, but once you’ve tried Visual Studio it is a bit hard (at least for me) to…

Running GUI apps in Docker containers using VNC

In case you don’t feel like reading yet another rant, this is the gist of it: 1) Run your container and expose port 5901 to your host docker run -p 5901:5901 -t -i ubuntu 2) set up VNC server in the container and run it sudo apt-get install vnc4server vnc4server -geometry 1400×1000 3) export $DISPLAY…

Unrar on a RaspberryPi running Raspbian

To my surprise I found that there’s no usable unrar command on my RaspberryPi. I run Raspbian on it and it so happens that I wanted to unpack a rather large rar file. The unrar-free package is not good enough for some archives, so that is not an option. So how to get a working…

Setting up OpenVPN client on iOS

It goes without saying that it might be a good idea to be careful about what you do on an unsecured wifi. And there are times, such as when travelling, when the only connectivity option is a public, unsecured wifi. Normally, you just avoid doing anything sensitive while on such connection, but during longer trips,…

Xbox and Latvia don’t mix well

Depending on how you define a gamer, I’m pretty sure I don’t fall into that category. That said, I do like to play something from time to time. Over the last xmas holidays I did have the chance to play a bit of Xbox with some friends and decided to buy one for myself. As…

Switching from a MacBook to HP Spectre

I’ve been using a mid 2013 MacBookPro for the last 3 years now and it was time to do a personal tech refresh sort of thing. After latest macbooks being kind of a disappointment and also the dongle life being a factor (at least for now, in 2017), I decided to do something kind of…

Segfaulting VIM. What?

I got quite the surprise today while opening a file for editing using vim. fx@teikapi2:~ sudo vim /etc/hosts Segmentation fault Say what? Vim, segfaulting? Okay. There was an automatic apt-get upgrade on this machine today, so that is the explanation. Still quite weird and most definitely not expected. Quick backtrace under gdb showed: #0 _dl_lookup_symbol_x…

Systemtap on Debian Jessie

So I wanted to play a bit with Systemtap on Debian Jessie. I installed it: sudo apt-get install systemtap Afterwards I wanted to run a quick one-liner: fx@cloudhawk:~$ stap -L ‘nd_syscall.*’ Checking “/lib/modules/3.16.0-4-amd64/build/.config” failed with error: No such file or directory Tip: /usr/share/doc/systemtap/README.Debian should help you get started. It failed, but hey, at least it…

Docker for Windows: shared folders not working

There have been several not so flattering blog entries lately about docker and its maturity level. I was quite excited to move away from having to use VirtualBox and indeed Docker for Mac works great but on my Windows machine I noticed that the shared folders don’t seem to work. After clicking, resetting to default…

PowerShell on Unix

As crazy as that sounds it actually works. MSFT has open sourced PowerShell. I have now tested it on both OSX and Linux and it does indeed work as advertised. Granted some methods throw exceptions as they are missing DLLs and that is explained by the fact that only “core” functionality is currently supported. This…