From 281fa36a24f81d87543a7791252954414e161565 Mon Sep 17 00:00:00 2001 From: pks Date: Mon, 10 May 2021 13:23:21 +0200 Subject: rm v0 v1 --- v1/get-temps.rb.bak | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100755 v1/get-temps.rb.bak (limited to 'v1/get-temps.rb.bak') diff --git a/v1/get-temps.rb.bak b/v1/get-temps.rb.bak deleted file mode 100755 index ac24051..0000000 --- a/v1/get-temps.rb.bak +++ /dev/null @@ -1,16 +0,0 @@ -#!/usr/bin/env ruby - -while line = STDIN.gets - a = line.split - d = {} - a.each { |i| - name, val = i.split("::") - if name == "temperature" - d["temperature"] = val - end - if name == "device_id" - d["dev"] = val - end - } - puts d.to_s -end -- cgit v1.2.3