Skip to content

Instantly share code, notes, and snippets.

@traetox
traetox / tarmerge.go
Created Mar 13, 2020
Simple golang program to merge multiple tar files into a single tar file using parallel compression
View tarmerge.go
package main
import (
"archive/tar"
"flag"
"fmt"
"io"
"log"
"net/http"
"os"
View gist:ea9d7c62d7a4e70416796bda0289b709
package main
import (
"github.com/gravwell/tools/nfgen"
"log"
)
func main() {
//create a new named fields resource using the CSV engine that knows how to deal with 2
//data types, one for login events and one for password failed events
@traetox
traetox / main.go
Created Oct 23, 2018
generate brutally incoherent timestamped line data
View main.go
package main
import (
"fmt"
"flag"
"math/rand"
"time"
"log"
"os"
)
View keybase.md

Keybase proof

I hereby claim:

  • I am traetox on github.
  • I am traetox (https://keybase.io/traetox) on keybase.
  • I have a public key ASBYZc9PQJeayQMrMnw8EODmEFAAyjwsOQjIORpaA9ZLlAo

To claim this, I am signing this object:

View randread.go
package main
import (
"flag"
"fmt"
"log"
"math/rand"
"os"
"path/filepath"
"sync"
You can’t perform that action at this time.