Skip to content

Instantly share code, notes, and snippets.

View lynchbomb's full-sized avatar

Marc Lynch lynchbomb

View GitHub Profile
@krisselden
krisselden / main.rs
Created May 5, 2021 18:40
Chrome Devtools Protocol with Rust
use libc;
use serde_json::{json, Value};
use std::error;
use std::ffi::OsString;
use std::fs::File;
use std::io;
use std::io::prelude::*;
use std::io::{BufReader, BufWriter};
use std::os::unix::io::RawFd;
use std::os::unix::prelude::*;