Skip to content

Instantly share code, notes, and snippets.

View monperrus's full-sized avatar

Martin Monperrus monperrus

View GitHub Profile
@monperrus
monperrus / bitmex.log
Created April 30, 2024 12:31
excepert of BitMex proof-of-reserve YAML file
height:
839754
blockhash:
0000000000000000000282707ec0ca6233e6dc44ee01e784a49bbfa1a98022cb
chain:
main
claim:
m: 3
n: 4
total:
@monperrus
monperrus / okx_por_2024041301.csv
Created April 30, 2024 11:04
OKx proof of reserve CSV (first lines)
coin amount
TONCOIN-NEW 42989694
BCHN 235624
ETH 1172412
UNI 11894747
FIL 66966103
USDC 198328589
EOS 90160677
DOT 23506117
ETC 5628678
@monperrus
monperrus / busctl.log
Created April 30, 2024 05:26
busctl tree org.freedesktop.systemd1
└─/org
└─/org/freedesktop
├─/org/freedesktop/LogControl1
└─/org/freedesktop/systemd1
├─/org/freedesktop/systemd1/job
│ └─/org/freedesktop/systemd1/job/7898
└─/org/freedesktop/systemd1/unit
├─/org/freedesktop/systemd1/unit/ModemManager_2eservice
├─/org/freedesktop/systemd1/unit/NetworkManager_2dwait_2donline_2eservice
├─/org/freedesktop/systemd1/unit/NetworkManager_2eservice
@monperrus
monperrus / 0x3fb60ad76992222e540200f1d514509845a1d195.sol
Created April 29, 2024 09:56
etherscan data of 0x3fb60ad76992222e540200f1d514509845a1d195.txt
>>>>>>creator_addr:
0x5f40c0104527c79ac98281acc8b3901d62f941c2
>>>>>>creator_trans_hash:
0xe1f43b4c16e93776ddba47b9e44eb490d47ff7efbc11bd3628b9f2c8952adca8
>>>>>>contract_name:
Contributor
>>>>>>compiler_version:
@monperrus
monperrus / Google Takeout for Chrome History.json
Created April 9, 2024 09:02
JSON Data format of Google Takeout for Chrome Browser History
{
"Browser History": [
{
"favicon_url": "https://cdn.semanticscholar.org/3467f6265edeea1b/img/darkmode/apple-touch-icon-152x152.png",
"page_transition": "LINK",
"title": "Research Dashboard | Semantic Scholar",
"ptoken": {},
"url": "https://www.semanticscholar.org/me/research",
"client_id": "haZcHX/Q4yroJPDOP3OmDw==",
"time_usec": 1712091511057699
@monperrus
monperrus / mlton.txt
Created March 17, 2024 06:33
mlton --help mlton-20210117-1.amd64-linux-glibc2.23/bin/mlton
$ mlton --help
MLton 20210117
usage: mlton [option ...] file.{c|mlb|o|sml} [file.{c|o|s|S} ...]
-align {8|4} object alignment
-as-opt <opt> pass option to assembler
-cc-opt <opt> pass option to C compiler
-codegen {native|amd64|c|llvm} which code generator to use
-const '<name> <value>' set compile-time constant
-default-ann <ann> set annotation default for mlb files
-default-type '<ty><N>' set default type
@monperrus
monperrus / errors.txt
Created March 17, 2024 05:43
abc compilation errors with mlton see https://github.com/monperrus/abc/
/tmp/mlton-20210117-1.amd64-linux-glibc2.23/bin/mlton -output abc.exe abc.mlb
Error: ../sml-lib/port/mlton.sml 3.19-3.22.
Variable in structure disagrees with signature (type): memorySize.
structure: val memorySize: _ -> [LargeInt.int]
defn at: ../sml-lib/port/mlton.sml 18.7-18.16
signature: val memorySize: _ -> [int]
spec at: ../sml-lib/port/port-sig.sml 25.7-25.16
Error: ckit/parser/util/old-pp.sml 63.20-63.83.
Variable in argument signature but not in structure: Device.ellipses.
signature: val Device.ellipses: {consumer: string -> unit,
{
"articles" : [
{
"abstract" : "While vulnerability databases are important sources of information for software security, it is known that information in these databases is inconsistent. How to rectify these incorrect data is a challenging issue. In this article, we employ developer logs and patches to automatically identify vulnerable source code versions that each CVE really affects. Our tool organizes all versions of a piece of software into a version tree, and identifies the first vulnerable version, and the last vulnerable versions in the version tree trunk and branches. For evaluation, we took Linux Kernel as the case study and quantified the error rate of the vulnerable versions reported by the NVD. The total number of vulnerable Linux Kernel versions reported by the NVD was 43,727 (as of September 2020), of which the total number of false positives reached 2,497 and the total number of false negatives reached 9,330, accounting for 5.7% and 21.34%, respectively. In addition, we compa
{
"paperId" : "30c8289d345f09823455a76f8d880d60d997fbea",
"title" : "Generative AI to Generate Test Data Generators",
"embedding" : {
"model" : "specter_v1",
"vector" : [
-0.45684552192688,
1.37008857727051,
-1.50615215301514,
3.43142795562744,
@monperrus
monperrus / evm.txt
Created March 5, 2024 14:31
evm --help 1.14.0-unstable-66e1a6ef-20240305
NAME:
evm - the evm command line interface
USAGE:
evm [global options] command [command options] [arguments...]
VERSION:
1.14.0-unstable-66e1a6ef-20240305
COMMANDS: