Bei sämtlichen hier aufgeführten Paketen handelt es sich um 4 Byte Daten. Das letzte Byte ist immer 0x00
und muss weg gelassen werden.
ID | Name | Einh. |
---|---|---|
0x1c104009 | VL HK1 (S1) | °C/10 |
0x1c10400a | VL HK2 (S2) | °C/10 |
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 |
<!DOCTYPE html> | |
<html lang="de"> | |
<head> | |
<title>HTML5 Dokument</title> | |
<meta charset="utf-8"> | |
</head> | |
<body> | |
<header> | |
<h1>Der Header</h1> | |
</header> |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd"> | |
<html lang="de"> | |
<head> | |
<title>HTML4 Dokument</title> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
</head> | |
<body> | |
<div id="branding"> | |
<h1>Der Header</h1> | |
</div> |
<?xml version="1.0" encoding="UTF-8"?> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="content-type" content="application/xhtml+xml; charset=UTF-8" /> | |
<meta charset="UTF-8" /> | |
<title> | |
Story: 1828128 from BAB / BNH, page 3 from Thursday, July 25, 2013 – DC-X 1.7.8.0 BTAG API | |
</title> | |
<link href="http://dcxtrunk.digicol.de/dcx_static/trunk/bootstrap/css/bootstrap.min.css" type="text/css" rel="stylesheet" /> | |
</head> |
if RUBY_PLATFORM =~ /java/ | |
require 'java' | |
# Add ojdbc to the Java classpath | |
$CLASSPATH << File.expand_path('../../lib/ojdbc5.jar', __FILE__) | |
# Simply add all apache tomcat libs (some juli.jar might need to be added too) | |
Dir.glob("/usr/local/Cellar/apache-tomcat/6.0.24/lib/*.jar") do |filename| | |
$CLASSPATH << filename | |
end |
# Usage: | |
# | |
# customers = Customer.all | |
# customers.eager_load(Customer.orders.line_items.item, Customer.address) | |
# | |
module DataMapper | |
module EagerLoading | |
def eager_load(*query_paths) |
module DataMapper | |
module MyHelpers | |
def all_errors(seen=[]) | |
return [] if seen.include?(self) | |
seen << self | |
res = self.errors | |
parent_relationships.each do |relationship| | |
association = relationship.get!(self) |
#libaries | |
require 'rubygems' rescue nil | |
require 'irb/completion' | |
begin | |
# load hirb | |
$: << '/Library/Ruby/Gems/1.8/gems/hirb-0.5.0/lib' | |
require "hirb" | |
# start hirb |