Turais
  • Home
  • Arduino
  • Coding
  • Unix
  • Home Automation
  • Computer Science
  • Misc
  • Impressum

Coding

Tutorials, things, tricks and lessons learned.

How to load an HDRI Panorama as a Cubemap in  OpenGl
opengl

How to load an HDRI Panorama as a Cubemap in OpenGl

In this post I want you to show how to load an Panorama Image into an Cube Map. The Panorama Image is commonly abbreviated as HDRI. It is often an HDRI, but the

  • Johannes
    Johannes
6 min read
Using Shaders for Image Post-processing with OpenGL
Coding

Using Shaders for Image Post-processing with OpenGL

In this post I'd like to show you some Kernels and their effects on the image and how to use modern OpenGL for Image Post-processing. What you already need to know before advancing

  • Johannes
    Johannes
3 min read
GameDev Log #3
Coding

GameDev Log #3

Long time no see, or read? Well, either way here I am with a new GameDev Log. And of course I don't really know it this gets read by someone at all. If

  • Johannes
    Johannes
3 min read
Software Design Patterns: Adapter
Computer Science

Software Design Patterns: Adapter

The Adapter is a very common Software Design Pattern. Sometimes it is known as Wrapper, often in Projects you'll find Adapters and Wrappers all over. As in the physical world, for example an

  • Johannes
    Johannes
3 min read
Home Automation

TP-Link HS-100 Smartplug Status abrufen

Ich hatte schonmal ein kleines Skript vorgestellt den Smatplug an bzw. aus zuschalten. (Link) Mittlerweile hat sich jemand die mühe gemacht ein kleines Python-Skript zu bauen, um direkt die States über die Command-Line

  • Johannes
    Johannes
3 min read
Creating 9-Patch Textures in SDL - Game DevLog Series #2
Coding

Creating 9-Patch Textures in SDL - Game DevLog Series #2

Last week I wrote a bit about everything and my progress so far. I just want to continue this series and write loosely about my experience in writing my own little game engine.

  • Johannes
    Johannes
4 min read
5 Minute Coding Chill - Pomodoro Timer for work
Coding

5 Minute Coding Chill - Pomodoro Timer for work

Create an quick commandline pomodoro timer to use in mac os x or linux.

  • Johannes
    Johannes
1 min read
Game DevLog Series #1
Miscellaneous

Game DevLog Series #1

In this Game DevLog I'm writing about my experience, ups and downs coding my own little 2d game engine.

  • Johannes
    Johannes
5 min read
Home Automation

TP-Link HS100 mit Skript an und ausschalten

In diesem kleinen Blogpost erkläre ich euch, wie man die TP-Link HS100 Steckdose mit einem kleinen Python Skript an und ausschalten könnt. Update (Juli 2020): Link nutzt das softscheck.com Skript, bisschen verändert.

  • Johannes
    Johannes
1 min read
Unittest your Flask Application - Test your File Upload Method
Coding

Unittest your Flask Application - Test your File Upload Method

In this post I'll shortly explain how to unittest your Flask-Upload-Method. Normally you don't want to use your hard drive, so an in memory file would be ideal. def test_fileupload(self): user

  • johannes
    johannes
1 min read
Coding

FXRoot Construct in JavaFX - HowTo

In this small tutorial I'll show you how to implement an FXRoot (fx:root) construct in JavaFX and with this you can use an JavaFX scene like an Vbox or AnchorPane as the

  • johannes
    johannes
1 min read
Custom ListCell in a JavaFX ListView
Coding

Custom ListCell in a JavaFX ListView

In this Blog post I'll show you how to implement an custom ListView in JavaFX like the one below: SOME PRE WORK First, we need some Data. So I came up with a

  • johannes
    johannes
4 min read
Coding

FXMLLoader in JavaFx - How To

FXMLLoader With the FXMLLoader you can load *.fxml files generated with SceneBuilder into your Application. For example: Parent parent; try { parent = FXMLLoader.load(getClass().getResource("/fxml/Settings.fxml")); } catch (IOException e)

  • johannes
    johannes
1 min read
Turais © 2025
Latest Posts Ghost