aspe:keyoxide.org:RLPPCSIG7CQPI3T7UCEQIXTGHI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
FROM quickwit/quickwit:0.6.3 | |
COPY entrypoint.sh /entrypoint.sh | |
RUN mkdir -p /quickwit/config | |
COPY config.yaml /quickwit/config/quickwit.yaml | |
ENTRYPOINT ["/entrypoint.sh"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
async fn transfer(inbound: MeteredIO, outbound: MeteredIO) -> Result<(), Error> | |
{ | |
let (mut ri, mut wi) = tokio::io::split(inbound); | |
let (mut ro, mut wo) = tokio::io::split(outbound); | |
let mut client_to_server = ri.copy(&mut wo).fuse(); | |
let mut server_to_client = ro.copy(&mut wi).fuse(); | |
loop { | |
futures::select! { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
error[E0308]: mismatched types | |
--> src/handlers/tcp.rs:159:5 | |
| | |
159 | tokio::spawn(super::proxy_tcp( | |
| ^^^^^^^^^^^^ one type is more general than the other | |
| | |
= note: expected type `futures_util::future::map::Map<tokio_io::io::shutdown::Shutdown<'_, _>, _>` | |
found type `futures_util::future::map::Map<tokio_io::io::shutdown::Shutdown<'_, _>, _>` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#define KBUILD_MODNAME "load_balancer" | |
#include <uapi/linux/bpf.h> | |
#include <linux/in.h> | |
#include <linux/if_ether.h> | |
#include <linux/if_packet.h> | |
#include <linux/if_vlan.h> | |
#include <linux/ip.h> | |
#include <linux/ipv6.h> | |
BPF_HASH(counter, uint32_t, long); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package main | |
import ( | |
"fmt" | |
"io/ioutil" | |
"os" | |
"strconv" | |
"syscall" | |
"time" | |
"unsafe" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Messages | |
include Enumerable | |
attr_reader :messages | |
delegate :each, to: :messages | |
def initialize(messages = {}) # hash of error messages | |
@messages = messages | |
end | |
def full_messages |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<span id="some-id" class="classname"> | |
<div id="hello" class="world world2"> | |
<span data-some-var="<%= some_var %>"> | |
<span> | |
<span class="deep_nested"> | |
<%= Process.pid %> | |
</span> | |
</span> | |
</span> | |
<span class="alongside" pid="<%= Process.pid %>"> |
I hereby claim:
- I am jeromegn on github.
- I am jerome (https://keybase.io/jerome) on keybase.
- I have a public key whose fingerprint is 0638 8CB6 C529 1977 7911 A36A FAF6 2F81 F60B 40B8
To claim this, I am signing this object:
NewerOlder