Kategorien
Sport

Crossfit Open Workout 17.1

Update Ich habe das Workout Rx in 19:30 geschafft.

Das Crossfit Open WOD 17.1 ist angekündigt:

17.1 For Time

  • 10 Dumbbell Snatches (22,5kg / 15kg)
  • 15 Burpee Box Jump Over
  • 20 Dumbbell Snatches
  • 15 Burpee Box Jump Over
  • 30 Dumbbell Snatches
  • 15 Burpee Box Jump Over
  • 40 Dumbbell Snatches
  • 15 Burpee Box Jump Over
  • 50 Dumbbell Snatches
  • 15 Burpee Box Jump Over

Time Cap für das Workout sind 20min.

Klingt erstmal nicht so schlimm, aber die Kombination ist natürlich ein Killer für den Rücken.

Run Feedbin in your local Kubernetes cluster

After listening to the Changelog Podcast, episode 240 today I wanted to run Feedbin in a local kubernetes cluster. I’ll skip the installation of kubernetes for now, but you can read about setting kubernetes up with minikube elsewhere. For this short article, I’ll just describe the commands that are needed to get a first version of Feedbin up and running in your local cluster.

First of all, create a Postgres database:

$ kubectl run postgres --image=postgres --port=5432
$ kubectl expose service postgres --type=NodePort

Because this is purely for demonstration, I’m not setting a custom postgres username nor password. Don’t do this if you want to run Feedbin for real.

The first command actually created the container to run postgres, the second command created a kubernetes service for it. From the docs:

A Kubernetes Service is an abstraction which defines a logical set of
Pods and a policy by which to access them – sometimes called a micro-service.
The set of Pods targeted by a Service is (usually) determined by a Label
Selector (see below for why you might want a Service without a selector).
As an example, consider an image-processing backend which is running with
3 replicas. Those replicas are fungible – frontends do not care which backend
they use. While the actual Pods that compose the backend set may change, the
frontend clients should not need to be aware of that or keep track of the list
of backends themselves. The Service abstraction enables this decoupling.

So now we have a postgres service which can be used by other pods in the cluster. You can always check the status of your pods with the following command:

$ kubectl get pods
NAME                              READY     STATUS    RESTARTS   AGE
postgres-1342422565-hzgx9         1/1       Running   0          1m

Next is running Feedbin and I’m using an existing docker image scavone/feedbin:

$ kubectl run feedbin --image=scavone/feedbin --port=9292 --env POSTGRES_USERNAME=postgres --env POSTGRES=postgres --env POSTGRES_PASSWORD=
$ kubectl expose deployment feedbin --type=NodePort

The first command creates the Feedbin pod and provides the postgres connection settings via environment variables. Kubernetes takes care of the service name postgres, so the new feedbin pod can actually talk to the database which was created and exposed as a service earlier. The second command again exposes the new pod as a service in Kubernetes, so others can access it.

Using minikube you can now open a browser for your Feedbin installation:

$ minikube service feedbin

This should open your default browser and show the Feedbin login.

As always, if you have questions or corrections, please leave a comment or send me an email.

Running Threema Web in Docker

Because I’m currently using Threema again, but also use multiple devices, I was very happy when the company announced Threema Web. Threema Web is a webapp which you can run and communicate with your contacts – sounds like the same thing Signal is doing with their Chrome Extension.

But because I’m also a huge fan of Docker, I created a simple Dockerfile to run Threema Web in a container: docker-threema. This image is based on nodejs 7.5. I didn’t use Threema Web very much yet and additional pieces like SaltyRTC and a STUN Server are missing at the moment. But if you just want to try Threema Web and play around, you might find it use full.

Here are the steps to get running:

  • install Docker
  • clone my repository git clone https://github.com/MoriTanosuke/docker-threema.git
  • change into the cloned directory and build the image docker build -t threema .
  • run the image docker run --rm -it -p 9966:9966 threema (the container will be removed after you stopped it!)
  • open your browser at http://localhost:9966/

Here are some screenshots running the Docker container on one of my Windows machines:

Screenshot von Threema Web
Screenshot von Threema Web
Screenshot von Threema Web
Screenshot von Threema Web

Neues Workout Video

Ich übe immer noch das Editieren von Videos. Diesmal habe ich mehrere Tage zusammengeschnitten, ausserdem war ich nochmal mit meiner neuen DJI Phantom 3 fliegen.