Skip to content

Instantly share code, notes, and snippets.

View cugu's full-sized avatar

Jonas Plum cugu

View GitHub Profile
@cugu
cugu / process_xor4_const.go
Created March 30, 2018 12:11
XOR generation for kaitai in go
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
package test_formats
import "github.com/kaitai-io/kaitai_struct_go_runtime/kaitai"
type ProcessXor4Const struct {
Key []byte
Buf []byte
_io *kaitai.Stream
@cugu
cugu / repeat_eos_struct.go
Created March 30, 2018 12:41
Repeat eos generation for kaitai in go
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
package test_formats
import goio "io"
import "github.com/kaitai-io/kaitai_struct_go_runtime/kaitai"
type RepeatEosStruct struct {
Chunks []*RepeatEosStruct_Chunk
_io *kaitai.Stream
// This is a generated file! Please edit source .ksy file and use kaitai-struct-compiler to rebuild
import "github.com/kaitai-io/kaitai_struct_go_runtime/kaitai"
type SwitchManualInt struct {
Opcodes []*SwitchManualInt_Opcode
_io *kaitai.Stream
_root *SwitchManualInt
_parent interface{}
}
@cugu
cugu / README.md
Last active November 13, 2024 04:07
Webhooks for PocketBase

Webhooks for PocketBase

A simple webhook plugin for PocketBase.

Adds a new collection "webhooks" to the admin interface, to manage webhooks.

Example

The webhook record in the following example send create, update, and delete events in the tickets collection to http://localhost:8080/webhook.