[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 = "https://different-landscapes.tumblr.com/post/174158537319"

api_call = "https://api.tumblr.com/v2/blog/different-landscapes.tumblr.com/posts/photo?id=174158537319&api_key=YOUR_API_KEY"

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: https://github.com/jabbalaci/JabbaCustomExtensions-for-C-Sharp.

I also have a little utility (written in Python) that facilitates C# development under Linux in the command-line: https://github.com/jabbalaci/C-Sharp-CLI-Helper.

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

[manjaro] edit PKGBUILD and install a package

March 30, 2018 Leave a comment

You try to install a package with “yaourt pkg_name” but the installation fails. How to edit the PKGBUILD file manually and then install the package?


$ cd /tmp
$ yaourt -G pkg_name
$ cd pkg_name
# modify the file PKGBUILD with your favourite text editor
$ makepkg -i

Where “pkg_name” is the name of the package you want to install.

Categories: manjaro Tags: , ,