Skip to content

Instantly share code, notes, and snippets.

View BenMatheja's full-sized avatar
🎯
Focusing

Ben Matheja BenMatheja

🎯
Focusing
  • Dr. ing. h.c. F. Porsche AG
  • Stuttgart
View GitHub Profile
2016/02/16 18:16:02 [INFO] EOLIS - Beginne das HLB-Testdatenset zu erzeugen.
2016/02/16 18:16:03 [INFO] EOLIS - Retrieving technical feasible battery<->scenario assignments for 89 scenarios and 200 batteries
Loading required package: slam
Using the GLPK callable library version 4.47
2016/02/16 18:35:50 [INFO] EOLIS - Found technical feasible batteries for 86 scenarios
----------------------
New Assignment - Battery Leaf BatteryPack and Zwischenspeicher
Beginning Creation of Variant 1
Minimum Configuration added following services
16 Gewährleistung 2 Jahre
estimatePeaks = function (dfOfClusters) {
# helper: source: https://github.com/kerschke/flacco/blob/master/R/feature_ela_distribution.R
number_of_peaks = function(x, smoothing.bandwidth = "SJ", modemass.threshold = 0.01, ...) {
intdens = function(a, b) {
mean(y[a:b]) * diff(d$x[c(a, b)])
}
d = density(x, bw = smoothing.bandwidth, ...)
y = d$y
n = length(y)
index = 2L : (n - 1L)

Keybase proof

I hereby claim:

  • I am benmatheja on github.
  • I am benmatheja (https://keybase.io/benmatheja) on keybase.
  • I have a public key whose fingerprint is A6C0 3B7C 3C79 89BC 55A2 E0DB 51AD 55C9 A872 7DD0

To claim this, I am signing this object:

@BenMatheja
BenMatheja / config.gateway.json
Last active December 5, 2020 21:21
This USG configuration Redirects DNS traffic to my pihole at .9, .10 and .11. In addition forwarded traffic is disguised so the client will not recognize that he did not hit 8.8.8.8
{
"service": {
"nat": {
"rule": {
"1": {
"description": "DNS Redirect to pihole",
"destination": {
"address": "!192.168.1.1-192.168.1.11",
"port": "53"
},