Snap packages

August 28, 2018 Leave a comment

Read more about it here: . It’s used in Ubuntu, so it’s time to get acquainted with it :)

Why are snaps important? Read more about it here.

Install snapd, then “sudo systemctl enable --now snapd.socket“. More info here. The snap folder was here: /var/lib/snapd/snap . Under Ubuntu I found it under /snap .

Categories: linux Tags: ,

[Office2007] Configuration starts every time

Office 2007 worked well for me. Then, suddenly, it started to configure itself every time I wanted to open a document / presentation / etc. The process took minutes and it was very annoying.

I found the solution in this video. In short: locate the file “C:\Program Files (x86)\Common Files\microsoft shared\OFFICE12\Office Setup Controller\SETUP.EXE” and rename it to something else, for instance “SETUP_old.EXE“. The stupid configuration won’t appear again.

Categories: windows Tags: ,

[tumblr] extract data from a specific post

There is a specific tumblr post whose content you want to extract. Say it contains an image that you want to grab (sample).

You can use the following API call (example):

post_url = ""

api_call = ""

The output is a JSON answer. For this you need an API key too.

The official API doc is here.

Categories: api Tags: ,

Ubuntu 18.04

I upgraded some of my machines to Ubuntu 18.04. It looks good and the installation went flawlessly. Here is a nice post with some post-installations tips: Things To Do After Installing Ubuntu 18.04 Bionic Beaver Linux.

I did the followings:

  • install Gnome Tweaks
  • place titlebar buttons to the left
  • Make workspaces static. Number of workspaces: 4.
  • Install the the Gnome shell extension TaskBar. With this I can see the running apps in a bottom panel.
  • Redefine the lock screen shortcut to Ctrl + Alt + L.
  • force Alt + TAB to switch only on current workspace (read more)
Categories: ubuntu Tags: , ,

What is dependency injection?

April 18, 2018 Leave a comment

See this blog post: Dependency Injection Demystified. In short: “Dependency injection means giving an object its instance variables.”. For a slightly longer explanation, read the blog post.

Reddit comments are here.

Categories: programming Tags: , ,

C# is awesome

April 12, 2018 Leave a comment

I started to play with C# and I really enjoy it. I found a great book that explains the concepts very well: The C# Player’s Guide by RB Whitaker. I found the 2nd edition in our library but it also has a 3rd edition.

I started a C# project, which is a collection of custom extensions. You can find it here:

I also have a little utility (written in Python) that facilitates C# development under Linux in the command-line:

I’m playing with C# under Linux. JetBrains has a cross-platform IDE for .NET called Rider. It works very well for me.


Categories: book, csharp