Skip to content

Instantly share code, notes, and snippets.

{"id":"QDtHVagEaFF3-hPIiYEpCJBTQgLv3WXzzL9NYRQKcwM","clients":[{"scenario":[{"connect":{"server_id":0,"server_connection_id":0,"client_connection_id":0}}],"connections":[{"ops":[{"open_bidirectional_stream":{"stream_id":0}},{"send":{"stream_id":0,"bytes":1000}},{"receive":{"stream_id":0,"bytes":50000000}},{"send_finish":{"stream_id":0}},{"receive_finish":{"stream_id":0}}]}],"certificate_authorities":[0]}],"servers":[{"connections":[{"peer_streams":[[{"receive":{"stream_id":0,"bytes":1000}},{"send":{"stream_id":0,"bytes":50000000}},{"send_finish":{"stream_id":0}},{"receive_finish":{"stream_id":0}}]]}],"private_key":1,"certificate":2,"certificate_authority":0}],"certificates":[{"pem":"-----BEGIN CERTIFICATE-----\r\nMIIBwTCCAWegAwIBAgIJAPFUYCg2ciJiMAoGCCqGSM49BAMCMCUxCzAJBgNVBAYM\r\nAlVTMRYwFAYDVQQDDA1uZXRiZW5jaCBDQSAwMCAXDTc1MDEwMTAwMDAwMFoYDzQw\r\nOTYwMTAxMDAwMDAwWjAlMQswCQYDVQQGDAJVUzEWMBQGA1UEAwwNbmV0YmVuY2gg\r\nQ0EgMDBZMBMGByqGSM49AgEGCCqGSM49AwEHA0IABFxmLKlPIiR2ySwmXK8SGvM3\r\nE+/fThnOTktqFncSQOgkpxCpHOj5c
@toidiu
toidiu / ack-vs-main-loss05-rate200mb-s2n-quic-server.json
Last active May 12, 2022 17:58
ack-vs-main-loss05-rate200mb-s2n-quic-server
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"axes": [
{
"format": "%ss",
"formatType": "time",
"orient": "top",
"scale": "scale$x"
},
{
@toidiu
toidiu / ack_vs_main-norestraints-s2n-quic-server.json
Created May 12, 2022 17:53
ack_vs_main-norestraints-s2n-quic-server
{
"$schema": "https://vega.github.io/schema/vega/v5.json",
"axes": [
{
"format": "%ss",
"formatType": "time",
"orient": "top",
"scale": "scale$x"
},
{
{"$schema":"https://vega.github.io/schema/vega/v5.json","axes":[{"format":"%ss","formatType":"time","orient":"top","scale":"scale$x"},{"format":"%ss","formatType":"time","orient":"bottom","scale":"scale$x"},{"format":"~s","orient":"left","scale":"scale$statValue","title":{"signal":"ui$view"}}],"config":{"axis":{"grid":true,"gridColor":"#ccc","gridOpacity":1,"gridWidth":0.5,"labelPadding":10,"tickSize":5,"tickWidth":0.5},"background":"#fff","legend":{"labelBaseline":"middle","labelFontSize":11,"symbolSize":50,"symbolType":"square"}},"data":[{"name":"data$stats","values":[{"p":0,"s":0,"x":0,"y":0.0},{"p":0,"s":1,"x":0,"y":1508000.0},{"p":0,"s":2,"x":0,"y":8802304000.0},{"p":0,"s":3,"x":0,"y":0.0},{"p":0,"s":4,"x":0,"y":0.0},{"p":0,"s":5,"x":0,"y":0.0},{"p":0,"s":6,"x":0,"y":0.0},{"p":0,"s":7,"x":0,"y":0.0},{"p":0,"s":8,"x":0,"y":0.0},{"p":0,"s":9,"x":0,"y":0.0},{"p":0,"s":10,"x":0,"y":0.0},{"p":0,"s":11,"x":0,"y":0.0},{"p":0,"s":12,"x":0,"y":0.0},{"p":0,"s":13,"x":0,"y":0.0},{"p":0,"s":14,"x":0,"y":0.0},{"p":0,
======== New model
case class LiveStationRecsResult(
recs: Seq[Recs]
contentName: String,
contentType: RecsType,
contentId: String
)
enum RecsType
## mongo queries for updating the new thumbs location with the old thumbs data
```
# Timeline of data migration and dual-writing thumbs data
event 1 event 2
__________________________________________________________________
| region 1 | region 2 | region 3 |
// github-backups is a program for saving a local copy of all the repositories
// you've created or starred on GitHub.
//
// It expects the "API_TOKEN" environment variable to be set to a valid oauth2
// token so you can login using the github client. For convenience, you can use
// a `dotenv` file.
package main
import (
"context"
==========curl-format.txt==========
n
time_namelookup: %{time_namelookup}n
time_connect: %{time_connect}n
time_appconnect: %{time_appconnect}n
time_pretransfer: %{time_pretransfer}n
time_redirect: %{time_redirect}n
time_starttransfer: %{time_starttransfer}n
----------n
time_total: %{time_total}n
@toidiu
toidiu / zshrc
Last active April 9, 2017 17:15
export ZSH=/Users/apoorv/.oh-my-zsh
################ theme
# See https://github.com/robbyrussell/oh-my-zsh/wiki/Themes
ZSH_THEME="robbyrussell"
#ZSH_THEME="agnoster"
#ZSH_THEME="powerlevel9k/powerlevel9k"
################ custom config
# so as not the show the hostname
# This is Git's per-user configuration file.
[user]
# Please adapt and uncomment the following lines:
[user]
name = toidiu
email = toidiu@protonmail.com
[alias]
br = branch
co = checkout
s = status