Homecooked.nl - Bas Langenberg

Cooking up some nice code today…

  • Automatically deploy your Hugo website using Github actions

    I’ve been dusting of this blog post in the last couple of weeks, and I thought it might be interesting to write about how I automatically deploy this website. To achieve this, I’m using Github Actions as a CI/CD solution! It essence, the actions works like this: Github Actions watches my repo for new commit on the master branch On commit, it spins up a worker running Ubuntu, which will clone this reposity After the clone is done, the worker will update my theme of choice using a submodule When this cloning is all done, Github Actions will setup Hugo in the build environment for me Finally, it will build my site!

    Read more…
  • GitOps on DigitalOcean Kubernetes services, a case study

    I thought it would be fun to challenge myself during the Christmas period. I’m fascinated by GitOps, and from practical experience, deploying an application composed of multiple microservices can grow quite tedious when their numbers grow. Dependencies between different services can also cause pain from a deployment stand of view. I’d like to solve this problem in a proof of concept. DigitalOcean was so nice to run a challenge for the community.

    Read more…
  • KubeCon / Cloud Native Con Europe 2021

    I went to Virtual KubeCon EU, almost 2 weeks ago. I wrote down some notes, and thought it might be interesting to share them on my blog to wake it up from it’s slumber. UPDATE 07/12/2021: I realise this blogpost is not really coherent, as it came forth from my note taking during the event. I cleaned it up a bit, and I want to publish this, but it is not as polished as I would like.

    Read more…
  • 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. It sure will help me out in the future when touching a Windows 10 box for the first time again.

    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…