Skip to content

Instantly share code, notes, and snippets.

View komelgman's full-sized avatar

Sergey Yungman komelgman

View GitHub Profile
import java.util.List;
import java.util.Optional;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import com.github.robtimus.os.windows.registry.BinaryValue;
import com.github.robtimus.os.windows.registry.DWordValue;
import com.github.robtimus.os.windows.registry.QWordValue;
import com.github.robtimus.os.windows.registry.RegistryKey;
<html>
<head>
<script lang="js">
console.log('test');
</script>
</head>
<body>
test
</body>
</html>
@komelgman
komelgman / livolo.js
Created September 19, 2019 12:44
Incoming message intercepting in extension
/* istanbul ignore file */
// todo (magic toggle)
const utils = require('../util/utils');
const interval = utils.secondsToMilliseconds(1);
const logger = require('../util/logger');
/**
* Extension required for Livolo device support.
*/
class Livolo {
@komelgman
komelgman / AF.c
Created September 18, 2019 09:31
Livolo support for cc2531 (zstack 1.2.2)
/**************************************************************************************************
Filename: AF.c
Revised: $Date: 2014-11-04 10:53:36 -0800 (Tue, 04 Nov 2014) $
Revision: $Revision: 40974 $
Description: Application Framework - Device Description helper functions
Copyright 2004-2014 Texas Instruments Incorporated. All rights reserved.