I hereby claim:
- I am schlamar on github.
- I am schlamar (https://keybase.io/schlamar) on keybase.
- I have a public key whose fingerprint is CC55 6FAF D135 81EF 89F6 C671 E5AA 0181 2304 FE32
To claim this, I am signing this object:
| use std::fs; | |
| use std::time::Instant; | |
| use rand::Rng; | |
| use rusqlite::{Connection, Result}; | |
| fn insert_data(conn: &mut Connection) -> Result<()> { | |
| let mut rng = rand::thread_rng(); | |
| let mut t: u64 = 1600000000; | |
| let num_entries = 1000 * 1000; |
| import json | |
| import requests | |
| def transform_data(data: dict) -> dict: | |
| return { | |
| "url": data["url"], | |
| "tag_names": data["tags"], | |
| "unread": bool(data["is_archived"]), |
| import json | |
| import subprocess | |
| def main(): | |
| with open("wallabag-all.json") as fobj: | |
| data = json.load(fobj) | |
| for entry in reversed(data): | |
| cmd = ["docker", "compose", "exec", "shiori", "shiori", "add", "-a", | |
| entry["url"], "-i", entry["title"]] | |
| if entry["tags"]: |
| package main | |
| import ( | |
| "encoding/hex" | |
| "os" | |
| "syscall" | |
| "time" | |
| "unsafe" | |
| "golang.org/x/sys/unix" |
| package main | |
| import ( | |
| "fmt" | |
| "runtime/debug" | |
| "sort" | |
| "time" | |
| "periph.io/x/periph/conn/gpio/gpioreg" | |
| "periph.io/x/periph/host" |
| Dr. Memory version 1.8.0 build 8 built on Sep 9 2014 16:27:02 | |
| Dr. Memory results for pid 20340: "run-tests.exe" | |
| Application cmdline: ""c:\Users\schlaich\Desktop\libuv\Debug\run-tests.exe" fs_stat_missing_path fs_stat_missing_path" | |
| Recorded 108 suppression(s) from default C:\Users\schlaich\Desktop\Apps\DrMemory\bin\suppress-default.txt | |
| =========================================================================== | |
| FINAL SUMMARY: | |
| DUPLICATE ERROR COUNTS: |
| 0:000:x86> !analyze -v | |
| ******************************************************************************* | |
| * * | |
| * Exception Analysis * | |
| * * | |
| ******************************************************************************* | |
| FAULTING_IP: | |
| python27!PyEval_EvalFrameEx+273 [c:\build27\cpython\python\ceval.c @ 1057] |
I hereby claim:
To claim this, I am signing this object:
| class Func(object): | |
| _on_start = list() | |
| _on_exit = list() | |
| @classmethod | |
| def register_on_start(cls, callback): | |
| cls._on_start.append(callback) |
| from ctypes import WINFUNCTYPE, windll | |
| from ctypes.wintypes import BOOL, DWORD | |
| import zmq | |
| kernel32 = windll.LoadLibrary('kernel32') | |
| PHANDLER_ROUTINE = WINFUNCTYPE(BOOL, DWORD) | |
| SetConsoleCtrlHandler = kernel32.SetConsoleCtrlHandler |