Skip to content

Instantly share code, notes, and snippets.

View pvdrz's full-sized avatar
🐕
Working from home

Christian Poveda Ruiz pvdrz

🐕
Working from home
  • Ferrous Systems
  • Bogotá, Colombia
  • 00:05 (UTC -05:00)
View GitHub Profile
local on_windows = vim.loop.os_uname().version:match 'Windows'
local function join_paths(...)
local path_sep = on_windows and '\\' or '/'
local result = table.concat({ ... }, path_sep)
return result
end
vim.cmd [[set runtimepath=$VIMRUNTIME]]
@pvdrz
pvdrz / lib.rs
Created March 15, 2023 18:41
Christian's Solution
//! Board Support Crate (BSC) for the nRF52840 Development Kit
#![deny(missing_docs)]
#![no_std]
use core::{
convert::TryFrom,
fmt, ops,
sync::atomic::{self, Ordering},
time::Duration,
@pvdrz
pvdrz / client.log
Last active August 31, 2023 15:35
rustls 0-RTT
* Sending first request:
ConnectionCore::for_client(server_name=DnsName("localhost"))
start_handshake(server_name=DnsName("localhost"))
emit_client_hello_for_retry()
CommonState::send_msg(m.typ=Handshake::ClientHello, must_encrypt=false)
CommonState::queue_tls_message(m.payload.len=231, m.typ=Handshake)
ChunkVecBuffer::append(bytes.len=236) <<<BUFFERING>>>
Stream::complete_prior_io()
ConnectionCommon::complete_io()
ConnectionCommon::write_tls()
@pvdrz
pvdrz / client.log
Created September 5, 2023 03:46
rustls 0.5-RTT
* Sending first request:
ConnectionCore::for_client(server_name=DnsName("localhost"))
start_handshake(server_name=DnsName("localhost"))
emit_client_hello_for_retry()
CommonState::send_msg(m.typ=Handshake::ClientHello, must_encrypt=false)
CommonState::queue_tls_message(m.payload.len=231, m.typ=Handshake)
ChunkVecBuffer::append(bytes.len=236) <<<BUFFERING>>>
Stream::complete_prior_io()
ConnectionCommon::complete_io()
ConnectionCommon::write_tls()
amd-ucode
baobab
base
base-devel
bat
bluez
bluez-utils
cheese
chromium
clang
@pvdrz
pvdrz / client.log
Last active September 18, 2023 18:51
client-cert-verification
Running `/home/christian/Workspace/ferrous-systems/rustls/rustls/target/debug/tl
sclient-mio --http --port 1443 --cafile /home/christian/.local/share/mkcert/rootCA.pe
m --auth-key localhost_client-client-key.pem --auth-certs localhost_client-client.pem
localhost`
ConnectionCore::for_client(server_name=DnsName("localhost"))
start_handshake(server_name=DnsName("localhost"))
emit_client_hello_for_retry()
CommonState::send_msg(m.typ=Handshake::ClientHello, must_encrypt=false)
CommonState::queue_tls_message(m.payload.len=231, m.typ=Handshake)
ChunkVecBuffer::append(bytes.len=236) <<<BUFFERING>>>