Load Boostrap 4 alpha into Vue.js project

Once upon a time one usually desires to add Bootstrap into one’s project. Adding support for Bootstrap might seem a little hard without understanding Webpack or even despite the understanding. I started working with Vue.js (by the way, it’s great!) using the official webpack template and indeed – I struggled for a few hours.

Thus, I describe foreseen steps for the weary travelers who want Bootstrap-ify their Vue.js project.

→ Continue reading

Selenium Server without X Window System – xvfb

For my acceptance tests configured in Jenkins I wanted to omit installing of any kind of X Window System. That’s pretty obvious when there is not enough RAM or we have to pay for every megs of it. But how a real browser like Firefox or Chrome would run without X servers? The answer is: X virtual buffer.

Let’s configure Selenium Server on top of xvfb on Ubuntu.

→ Continue reading

Summary of #dajsiepoznac competition

The “Daj Się Poznać 2016” (in polish: Show Yourself / Get To Know / Get Yourself Known) competition have finally come to an end. Multiple finalists shared their summaries before The Final Gala. I decided to do this after the event. This post summarises whole event in a short manner.

→ Continue reading

Argument completion for commands in The Console

Argument completion should improve developer’s everyday life. Everywhere. That’s why I decided to have argument completion in The Console. To have the best thing – I want scriptable argument completion with already built-in filesystem paths completion.

Giving a few words about the process between hitting a TAB key and performing the magic.

→ Continue reading

Java: enforce a single instance of an app

The Console is an app which typical usecase fits within running a single instance. That’s by design. However, we sometimes forget to check whether some the app is waiting for us in the background and try to launch them. That’s when disaster happens. Two consoles placed on top of window and reacting to same hotkey? Cannot be!

Here’s a short story about preventing from having multiple instances of same app made in Java. There’s a note about communication, too.

→ Continue reading

JavaFX: Prevent TextField auto-selection on refocus

JavaFX punched me in the face with a feature which I consider as a kind of general over-assumption and as a bug in The Console. When TextField is refocused through other event than click then it auto selects it’s whole content. I want my previous selection or caret position.

A workaround/hack/fix is introduced in this post. Oh, by the way, there’s a bug report.

→ Continue reading

babun + gitk

When I use git VCS, I simply work in a shell. Even more complicated branching can be resolved using git show-branch  command. But this time I wanted to compare that again with gitk. Since I work on Windows I use babun which is based on Cygwin. And we know that Cygwin can actually launch gitk properly, right? Well, yes – when you configure it.

→ Continue reading