Homecooked.nl - Bas Langenberg

Cooking up some nice code today…

  • Velocity Berlin, 2019

    I went to VelocityConf and I blogged about it on my employers site. I forgot to link them here, so just before 2019 ends, I’ll update this for reference reasons. Day 1 Day 2 Day 3

  • Two days with Uncle Bob, Robert C Martin @ Rabobank / Java User Group Utrecht

    On the seventh and eight of February, I attended the Utrecht’s Java User Group meetup with Robert “Uncle Bob” Martin. This was done in collaboration with my old customer Rabobank. I had a lot of fun, and it was nice to be at the auditorium of Rabobank again. I’ve written a blog about this on my employers website. You can find it here

  • Fix a Crashing WebLogic Instance

    Recently, I had some very strange behavior at a customer. The AdminServer of a freshly create domain refused to start. It was very strange since all the prerequisites were installed and the jvm version was supported. We tested a bunch of things: Downgrade Java to the version in the prebuild virtualbox image provided by Oracle; Play with some ulimit settings for user Oracle; Make oracle user able to dump it’s core; Try to actually get debug symbols for the core dump; One of the things I saw once during debugging is problems with becoming a different user on the OS within the JVM.

    Read more…
  • Move to Hugo

    We’re moving! I’m not against Jekyll all of a sudden, but I tend to change computers a lot. Installing a bunch of Ruby dependencies / Gems while wanting to write a quick blog is not fun. I also wanted to start hosting this site on my own VPS @ DigitalOcean for more control and bespoke stuff I’d like to track. (Which I cannot think of now) Go check out Hugo if you want a simple site which you can setup quickly!

    Read more…
  • How to remap your caps lock to an additional left control in Windows 10

    I always remap my capslock to an additional control. Since I googled how to do this for the 1000th time today, I’d like to document this on my blog. Create a capslock-to-control.reg file somewhere on your computer Add the following content: REGEDIT4 [HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Keyboard Layout] "Scancode Map"=hex:00,00,00,00,00,00,00,00,02,00,00,00,1d,00,3a,00,00,00,00,00 Apply the file to the registry by double clicking and confirming the change Reboot Yer done! Hope this helps someone out.

    Read more…
  • How to setup Apache to proxy and renegotiate an SSL connection

    I have no clue how to call this, but it solved a problem we had at a customer earlier this year. The problem: An ancient version of Java running SOA Suite 11g not being up to spec to speak the newes SSL ciphers. To make a longer story short - We put a proxy in the middle and configured that to upgrade the connection. Here is the file: # Configures outbound connection in Apache # Location: /etc/httpd/conf.

    Read more…
  • Lets try the official Oracle Docker container

    a month ago Oracle released official Docker images for use by developers. The images are usable on any public cloud or on premise, bare metal servers. Reason enough for me to take them for a spin. Prerequisites A Docker account; A Linux VM; Note that the beauty of Docker makes it irrelevant which Linux distribution you use. It is recommended to make sure the kernel is fairly recent and a current version of Docker is installed.

    Read more…
  • Inspecting WebLogic with Puppet

    Recently, I was talking with some colleagues about Puppet and the added value it brings to everything infrastructure. The reason I mostly talk about Puppet is because of the superb WebLogic and Oracle database support existing for it. There are modules for WebLogic in Chef, but these only install the software. With Puppet, you can manage much more. A lot of other blogs mentioning Puppet mostly show how you can provision the software.

    Read more…
  • How to make systemd run a script on shutdown while networking is still there

    This took me way to long to sort out. In Linux, sometimes you want to make sure a script is ran which interacts with a service on the network or internet. This means that when the shutdown or reboot sequence is started, it needs to run before the networking services are stopped. So just in case I forget how to do this or someone else is in dire need this functionality, please find the solution for my problem below.

    Read more…
  • How to build vim from scratch

    I ran into a problem this weekend. I was unable to compile Vim with Python 2 support on a virtual machine I upgraded earlier from Ubuntu 14.04 to 16.04. In Ubuntu 16.04, Python 2 is not installed by default anymore, so Vim is also compiled without support for this language. Sadly, my Vim setup requires Python 2 to be available since I use 2 plugins which rely on it. YouCompleteMe and Ultisnip, yet replacable, are staples in my Vimming.

    Read more…