Skip to content

Instantly share code, notes, and snippets.

View trekawek's full-sized avatar

Tomek Rekawek trekawek

View GitHub Profile
{
"esp8266id":"2392534",
"software_version":"NAMF-2020-35",
"sensordatavalues":[
{
"value_type":"SDS_P1",
"value":"15.23"
},
{
"value_type":"SDS_P2",
{"esp8266id": "16477095", "software_version": "NAMF-2020-15", "sensordatavalues":[{"value_type":"SDS_P1","value":"0.35"},{"value_type":"SDS_P2","value":"0.10"},{"value_type":"BME280_temperature","value":"24.06"},{"value_type":"BME280_humidity","value":"39.49"},{"value_type":"BME280_pressure","value":"100163.05"},{"value_type":"samples","value":"163290"E��U��e_type":"min_micro","value":"1079"},{"value_type":"max_micro","value":"22816"},{"value_type":"signal","value":"-71"},]}
<!-- aqi.eco widget BEGIN -->
<script>
(function() {
var eventMethod = window.addEventListener ? "addEventListener" : "attachEvent";
var eventer = window[eventMethod];
var messageEvent = eventMethod === "attachEvent" ? "onmessage" : "message";
eventer(messageEvent, function(e) {
if (e.data.hasOwnProperty("aqi-widget") && e.data['aqi-widget'] == 103) {
var iframe = document.getElementById("aqi-widget-103");
if (iframe) {
Info about each package (including copyrights) can be found under https://packages.ubuntu.com/en/bionic/PACKAGE_NAME
adduser
apt
base-files
base-passwd
bash
bsdutils
bzip2
coreutils
path=crx-quickstart/repository/datastore
minRecordLength=4096
diff --git a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeState.java b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeState.java
index fb1c991..5c317eb 100644
--- a/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeState.java
+++ b/oak-core/src/main/java/org/apache/jackrabbit/oak/plugins/memory/MemoryNodeState.java
@@ -16,6 +16,7 @@
*/
package org.apache.jackrabbit.oak.plugins.memory;
+import static com.google.common.collect.Maps.newHashMap;
import static org.apache.jackrabbit.oak.plugins.memory.EmptyNodeState.EMPTY_NODE;
@trekawek
trekawek / datastore-list-example.txt
Created July 27, 2016 10:31
LengthCachingDataStore configuration
4432|dd10bca036f3134352c63e534d4568a3d2ac2fdc
32167|dd10bca036f3134567c63e534d4568a3d2ac2fdc
@trekawek
trekawek / fp.md
Last active August 29, 2015 14:10
FP and Haskell links
@trekawek
trekawek / Fold.hs
Created October 17, 2014 16:53
Implementation of the left folding using right folding.
myFoldl :: (a -> b -> a) -> a -> [b] -> a
myFoldl f z xs = foldr step id xs z
where step x g a = g (f a x)
@trekawek
trekawek / brokenLinks.groovy
Created October 4, 2014 07:27
Following groovy script finds broken internal links under the given site