Skip to content
jansipke.nl

jansipke.nl

Photography, programming, puzzles and more…

Menu

Programming

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

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 28 Comments 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

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

Storm in pictures

We’ve been using Storm for some time now. It is quite easy to start using it in a local environment (e.g. your IDE), but it can be a bit daunting to install a cluster and then really understand what Storm

jansipke 2014-02-142021-09-12 Programming 5 Comments Read more

Changing the number of columns in WordPress dashboard

The latest version of WordPress sets the number of columns in its dashboard to 4. This gives ugly results with some plugins that expect more horizontal room for their content, such as the Google Analytics plugin. Until the WordPress team

jansipke 2014-02-112021-09-12 Programming No Comments Read more

Getting metrics from the Java Virtual Machine (JVM)

Sometimes it is useful to see what the Java Virtual Machine (JVM) is doing when it is running your program. In this blog we will see how to get metrics about memory, buffers, threads and the garbage collection (gc) process

jansipke 2014-02-042021-09-12 Programming No Comments Read more

WebSocket tutorial with Java server (Jetty) and JavaScript client

WebSocket is a web technology providing full-duplex communications channels over a single TCP connection. WebSocket is designed to be implemented in web browsers and web servers, but it can be used by any client or server application. In this tutorial

jansipke 2013-09-192021-09-12 Programming 22 Comments Read more

Running dynamic Java code

Using a Java library called Javassist it is possible to create class files on the fly and use them in the same program that created them. Sounds funky, and it is… First download the jar file from the JBoss download

jansipke 2013-04-222021-09-12 Programming No Comments Read more

Installing a Storm cluster on CentOS hosts

Storm is a distributed, realtime computation system to reliably process unbounded streams of data. The following picture shows how data is processed in Storm: This tutorial will show you how to install Storm on a cluster of CentOS hosts. A

jansipke 2013-01-302021-09-12 Cloud Computing, 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.