Generic stuff, compilers, tutorials?
- https://www.youtube.com/watch?v=eF9qWbuQLuw
- https://blog.gopheracademy.com/advent-2014/parsers-lexers/
Ragel:
- https://www.colm.net/open-source/ragel/ (see the PDF guide as well)
Generic stuff, compilers, tutorials?
Ragel:
package main | |
import ( | |
"bytes" | |
"fmt" | |
"io" | |
"math/big" | |
) | |
type BadRand struct { |
#!/bin/bash | |
# This is a bit hardcoded, but it's meant as a proof of concept. | |
# used in kubectl get pods when targeting kafka broker pods | |
KARGS="-n kafka -l release=kafka,app=kafka" | |
# used in kubectl port-forward (setting the namespace, can be omitted) | |
KPORTFWD_ARGS="-n kafka" | |
# port on broker pods to forward | |
DPORT=9092 |
### Keybase proof | |
I hereby claim: | |
* I am valer-cara on github. | |
* I am valer (https://keybase.io/valer) on keybase. | |
* I have a public key ASCDzKVVKFFiME-cyDK9a4peRt0LmzPvZ5KwBiisfqH0fQo | |
To claim this, I am signing this object: |
package main | |
import "fmt" | |
import "time" | |
func main() { | |
valve := make(chan int, 4) | |
for { | |
select { |
#!/usr/bin/env ruby | |
require 'net/http' | |
require 'json' | |
require 'uri' | |
# Get token at https://api.slack.com/custom-integrations/legacy-tokens | |
@token = '' |
package main | |
import ( | |
"bytes" | |
"flag" | |
"io/ioutil" | |
"log" | |
"net" | |
"time" | |
) |