Document included in the project https://github.com/fawno/Modbus
https://github.com/fawno/Modbus/blob/master/DDS238-2%20ZN-S%20Modbus.md
Register(s) | Meaning | Scale Unit | Data format | R/W |
---|
import java.io.IOException; | |
import java.net.URL; | |
import java.util.Date; | |
import java.util.List; | |
import java.util.logging.Level; | |
import org.json.*; | |
import org.openqa.selenium.*; | |
import org.openqa.selenium.chrome.*; | |
import org.openqa.selenium.logging.*; |
/** | |
* @fileoverview Pearson correlation score algorithm. | |
* @author [email protected] (Matt West) | |
* @license Copyright 2013 Matt West. | |
* Licensed under MIT (http://opensource.org/licenses/MIT). | |
*/ | |
/** | |
* Calculate the person correlation score between two items in a dataset. |
<?XML version="1.0"?> | |
<scriptlet> | |
<registration | |
progid="PoC" | |
classid="{F0001111-0000-0000-0000-0000FEEDACDC}" > | |
<!-- Proof Of Concept - Casey Smith @subTee --> | |
<!-- License: BSD3-Clause --> | |
<script language="JScript"> | |
<![CDATA[ | |
#include <stdio.h> | |
#include <string.h> | |
#include <stdarg.h> | |
/* Composes a string accordingly to format with correctly escaping JSON literals. | |
* Correctly fails when runs up of output buffer space. | |
* Replaces all occurences of ' with " in format string for convenience. | |
* Terminates a string with '\0'. | |
* Format specifiers: | |
* %% - literally '%' |
Document included in the project https://github.com/fawno/Modbus
https://github.com/fawno/Modbus/blob/master/DDS238-2%20ZN-S%20Modbus.md
Register(s) | Meaning | Scale Unit | Data format | R/W |
---|
This is a collection of code snippets for various features on the STM8S family microcontrollers (specifically the STM8S003F3). These are written against the STM8S/A SPL headers and compiled using SDCC.
Some of this controller's functions aren't particularly intuitive to program, so I'm dumping samples for future reference here. These are based on the STM8S documentation:
#!/usr/bin/env python3 | |
''' | |
GOAL : Pure python solution for RSA small exponent attack | |
since cipher is a very large integer python generally throws | |
overflow error, to solve that I have used decimal module which is | |
part of the standard python library | |
decimal module offers user defined precision which can be increased |