Skip to content

Instantly share code, notes, and snippets.

View HogeBlekker's full-sized avatar

HogeBlekker

View GitHub Profile
@HogeBlekker
HogeBlekker / flask.tsx
Last active April 4, 2024 10:59
Grafana Canvas Panel custom experimental element
import React from 'react';
import { ColorDimensionConfig, ScalarDimensionConfig } from '@grafana/schema';
import { DimensionContext } from 'app/features/dimensions';
import { ColorDimensionEditor, ScalarDimensionEditor } from 'app/features/dimensions/editors';
import { CanvasElementItem, CanvasElementProps, defaultBgColor } from '../element';
interface FlaskData {
height: number;
@HogeBlekker
HogeBlekker / _etc_fail2ban_filter.d_nginx-loxone.conf
Created August 9, 2020 16:38
Loxone behind nginx reverse proxy with fail2ban
[Definition]
failregex = (444|404|403|401|400) <HOST>

Keybase proof

I hereby claim:

  • I am hogeblekker on github.
  • I am frederikvl (https://keybase.io/frederikvl) on keybase.
  • I have a public key ASCQ3cSZtJFvlQXHGwQD1ZZvOllZfVAqQnQ71RfLFMBHRgo

To claim this, I am signing this object:

@HogeBlekker
HogeBlekker / gist:5927107
Created July 4, 2013 12:05
Running a resque worker in the laravel 4 environment
<?php
/**
* Trying to make resque workers run with Laravel
* http://spibey.com/blog/2012/12/using-php-resque-with-laravel/
* http://blog.jesse-obrien.ca/2012/12/laravel-3-workers-with-php-resque.html
*/
use Illuminate\Console\Command;
use Symfony\Component\Console\Input\InputOption;