No3x

esp2866 grill

A simple UI to control a fan in a lotus grill with an esp8266 with arduino interface. The chip creates an access point (AP) and uses a captive portal to provide easy access to the UI. UI The UI provides the following actions: Turn the fan on/off Set the speed of the fan View the connection status to the server… Read more →

Letsencrypt Wildcard Certificate HowTo

After the delay of the ACMEv2 including the wildcard-endpoint [2] it finally is live today [3]. In addition to the ACME v2 requirement, requests for wildcard certificates require an DNS “TXT” record to verify control over the domain.   Just “upgraded” my certificate to an root certificate follwing these steps: 1. Upgraded my certbot

2. Requested certificate (command is based… Read more →

X-Ring with Google Calendar

As application for the X-Ring RGB Strip I came up with the following idea: querying the next event in my Google Calendar tagged with #wecker and then visualize the remaining time. I have illustrated the structure of all components in the following figure: Google Calendar The Wemos D1 mini queries the next event by accessing my Google Calendar. This is done… Read more →

X-Ring missing documentation

I recently bought a X-Ring WS2812B RGB on AliExpress.com. There is no information about the wiring or the bus how the X-Ring is controlled. So I did a little reverse engineering and want to share the information: At first: the X-Ring is driven by a One-Wire connection. There is a switch on the top: The wiring is the following: When… Read more →

Convert timestring to number Google Spreadsheet

Read more →

JavaFX Gluon Ignite Guice Inject Controller

I had to inject a whole controller into another controller with the guice implementation of gluon ignite. I will show an approach doing so. This is applicable if you have set the controller id in your fxml. Otherwise this snipped requires slightly modifications. I assume you have ignite already running and injecting stuff already but facing the “inject a controller… Read more →

Bootstrap Shortcodes for WordPress Alternatives

Sometimes there are support request on the WordPress plugin bootstrap shortcodes to provide advanced bootstrap components (e.g. table builder). There are 2 reasons bootstrap shortcodes is not that advanced as you might assume: You can’t edit generated shortcodes – it’s not a visual builder There are some components missing I think it’s sufficient for some people that want to take… Read more →

Secure WordPress with Fail2Ban

Fail2Ban is a neat tool that watches your logfiles and executes actions  defined by you if a filter  matches. In the following I want to explain the basic functionality of fail2ban necessary to integrate with WordPress and we will install Slack notifications:  Basics Jails Jails are like configurations for services you want to monitor. You declare services and specify filters, ports, protocol …… Read more →

Resolved Composer Namespace Issues

I actually resolved the namespace conflicts that came with composer. As described in the other post I prefixed these 3rd party libraries and commit them to my repository (I placed them in lib/vendor/<vendor>/<package> ). I also use an PSR-4 autoloader ( from fig-standards ) to load these libs (make sure you prefix the class name at least or put it in your namespace):… Read more →