I hereby claim:
- I am tillsc on github.
- I am tillsc (https://keybase.io/tillsc) on keybase.
- I have a public key whose fingerprint is F789 21B7 A0EA 859A DDB8 97F8 E861 8608 B8CF E1E1
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
# -*- encoding : utf-8 -*- | |
module DataMapper | |
module Xlsx | |
module Model | |
def xlsx_columns | |
self.properties.reject{ |p| p.options[:no_export] }. | |
sort{ |a, b| (a.options[:export_pos] || 0) <=> (b.options[:export_pos] || 0) }. |
function setup() { | |
// create driver and other stuff | |
// ... | |
driver.get(url); | |
var realWidth = inject(driver, 'return document.documentElement.clientWidth'); | |
if (realWidth < size.width) { | |
var w = 2 * size.width - realWidth; |
M42 P4 S255 ; led green | |
M42 P5 S50 ; led red | |
M42 P6 S50 ; led blue | |
M104 S0 ; nozzle heater off | |
M140 S0 ; bed heater off | |
G92 E1 ; relative positioning mode | |
G1 E-1 F300 ; Retract the filament | |
G28 X ; Home the X axis | |
G0 Y280 F600 ; Bring the bed to the front for easy print removal |
// Replace this with your specific query/selection | |
base = from(bucket: "hassio") | |
|> range(start: v.timeRangeStart, stop: v.timeRangeStop) | |
|> filter(fn: (r) => r["_measurement"] == "kw") | |
|> filter(fn: (r) => r["entity_id"] =~ /bhz3_leistung_zus/) | |
|> filter(fn: (r) => r["_field"] == "value") | |
|> window(every: v.windowPeriod) | |
|> sort(columns: ["_time"], desc: false) | |
// This does NOT caclulate the correct mean (maybe `timeWeightedAvg` would be the right choice here but I couldn't |