Skip to content
jansipke.nl

jansipke.nl

Photography, programming, puzzles and more…

Menu

Bash prompt with kubernetes context and git branch

The bash prompt can be adjusted to ones needs, see this manual page. For example, you can display the current user, directory and time. The Ubuntu default prompt looks like this: PS1=’${debian_chroot:+($debian_chroot)}[\033[01;32m]\u@\h[\033[00m]:[\033[01;34m]\w[\033[00m]\$ ‘ It is also possible to add the

jansipke 2020-11-062021-09-12 Programming No Comments Read more

Ubiquiti UniFi Access Points

In our three-story concrete house our old WiFi situation wasn’t optimal to say the least. I used to have an all-in-one router/switch/wifi thing which worked reasonably well on the first floor, but any device on the second or let alone

jansipke 2019-07-302021-09-12 Networking No Comments Read more

Docker Cheat Sheet

The Docker cheat sheet provides some examples of commands for building images, running containers, etc. Build an image from the Dockerfile in the current directory and tag the image: docker build -t myimage:1.0 .List all images that are locally stored

jansipke 2018-10-152021-09-12 Cloud Computing No Comments Read more

Test TCP connection without telnet or nc

Sometimes you need to test if a network connection works without actually using the intended client program. Normally you would use a tool like telnet or nc to do this, e.g. $ telnet www.google.com 80 Trying 172.217.20.68… Connected to www.google.com.

jansipke 2017-06-122021-09-12 Networking 9 Comments Read more

PV Display

PV Output Display is an Android app to view data on the PV Output website. You can view live solar panel data and browse through historical data. The data is presented in five different tabs in both graphical and tabular

jansipke 2016-11-062021-09-12 Programming 26 Comments Read more

Enable HTTPS on Jenkins

Jenkins uses HTTP by default. You can enable HTTPS by performing a couple of steps. You need to acquire an SSL certificate and corresponding key for a domain that is under your control, and tell Jenkins that it needs to

jansipke 2016-09-262021-09-12 Security 11 Comments Read more

Enable HTTPS on Gitlab

The Gitlab self-hosted application uses HTTP by default. You can enable HTTPS by performing a couple of steps. You need to acquire an SSL certificate and corresponding key for a domain that is under your control, and tell Gitlab that

jansipke 2016-09-262021-09-12 Security 1 Comment Read more

Monitoring hosts with CollectD, InfluxDB and Grafana

In this article we will install a monitoring solution on CentOS 7 consisting of CollectD, InfluxDB and Grafana. The first step is to install CollectD: yum -y install epel-release yum -y install collectd At the time of writing, this resulted

jansipke 2015-11-262021-09-12 Programming 13 Comments Read more

Linux network auto shutdown from APC UPS

The APC Smart-UPS series of UPS devices allows you to power servers and switches when there is a power failure in the grid. When the UPS is running on batteries, you want your servers to be notified and properly shutdown.

jansipke 2015-11-052021-09-12 Hardware No Comments Read more

Serialize and deserialize a list of polymorphic objects with GSON

GSON is a great Java library for serializing and deserializing objects to and from JSON strings. When you have a list of polymorphic objects you want to serialize and deserialize, things get a bit more difficult. You have to tell

jansipke 2015-08-152021-09-12 Programming 8 Comments Read more
  • « Previous




You can contact me at jansipke at gmail.com

  • Artificial Intelligence
  • Cloud Computing
  • Energy
  • Hardware
  • Networking
  • Papers
  • Photography
  • Programming
  • Puzzles
  • Robotics
  • Security
  • Storage
Copyright © 2023 jansipke.nl. All rights reserved. Theme Spacious by ThemeGrill. Powered by: WordPress.