Basically an updated version of https://gist.github.com/i0rek/369a6bcd172e214fd791
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:dns-oarc/dnsperf| use std::io::prelude::*; | |
| use std::net::{TcpListener, TcpStream}; | |
| fn handle_client(mut stream: TcpStream) { | |
| println!("Youpi"); | |
| let mut buffer = Vec::new(); | |
| stream.read_to_end(&mut buffer).unwrap(); | |
| println!("{}", buffer.len()); | |
| // println!("{buffer:?}"); | |
| stream.write(&buffer).unwrap(); |
| inp w inp w inp w inp w inp w inp w inp w inp w inp w inp w inp w inp w inp w inp w | |
| mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 mul x 0 | |
| add x z add x z add x z add x z add x z add x z add x z add x z add x z add x z add x z add x z add x z add x z | |
| mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 mod x 26 | |
| div z 1 div z 1 div z 1 div z 26 div z 1 div z 1 div z 26 div z 26 div z 1 div z 26 div z 1 div z 26 div z 26 div z 26 | |
| add x 11 add x 14 add x 13 add x -4 add x 11 add x 10 add x -4 add x -12 add x 10 add x -11 add x 12 add x -1 add x 0 add x -11 | |
| eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w eql x w | |
| eql x 0 eql x 0 eql x 0 eql x 0 eql x 0 eql x |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "strings" | |
| "time" | |
| ) |
| package main | |
| import ( | |
| "fmt" | |
| "io/ioutil" | |
| "os" | |
| "strconv" | |
| "time" | |
| ) |
| --- /dev/fd/12 2021-10-17 22:41:24.781976179 +0200 | |
| +++ /dev/fd/13 2021-10-17 22:41:24.782659614 +0200 | |
| @@ -1,16 +1,18 @@ | |
| [ | |
| { | |
| - "Id": "sha256:72d07b8a8fe82dd9b2bfbd0563cde24bef1f96850d24fe5064d8f4332a1d69ad", | |
| - "RepoTags": [], | |
| + "Id": "sha256:aee45b190f924dc26249645e038a168a5d5d25ca857e39452efa5e0c6c70c532", | |
| + "RepoTags": [ | |
| + "badouralix/toolbox:latest" |
| apiVersion: v1 | |
| kind: Pod | |
| metadata: | |
| name: {{ $pod_name }} | |
| labels: | |
| service: {{ $service }} | |
| annotations: | |
| ad.datadoghq.com/{{ $container_name }}.check_names: '["openmetrics"]' | |
| ad.datadoghq.com/{{ $container_name }}.init_configs: '[{}]' | |
| ad.datadoghq.com/{{ $container_name }}.logs: | |
Basically an updated version of https://gist.github.com/i0rek/369a6bcd172e214fd791
sudo apt update
sudo apt install software-properties-common
sudo add-apt-repository ppa:dns-oarc/dnsperf$ poetry install
Updating dependencies
Resolving dependencies... (0.2s)
SolverProblemError
Because no versions of black match >21.9b0,<22.0
and black (21.9b0) depends on typing-extensions (>=3.10.0.0), black (>=21.9b0,<22.0) requires typing-extensions (>=3.10.0.0).
And because tensorflow (2.6.0) depends on typing-extensions (>=3.7.4,<3.8.0)| server { | |
| listen 81; | |
| server_name localhost; | |
| access_log off; | |
| allow 127.0.0.1; | |
| allow 172.17.0.0/16; # docker bridge cidr | |
| allow 10.42.0.0/16; # rancher managed cidr | |
| deny all; |
| #!/usr/bin/env python2 | |
| # -*- coding: utf-8 -*- | |
| """ | |
| PoC of an intresting buggy behavior in Python. | |
| """ | |
| from pprint import pprint | |