Skip to content

Instantly share code, notes, and snippets.

View raffis's full-sized avatar
🍌

raffis

🍌
View GitHub Profile
@raffis
raffis / gist:c0c469d994072c173889b416f2edf7ab
Created September 26, 2024 13:31
flux-build deadlock stacktrace
```
SIGQUIT: quit
PC=0x479c61 m=0 sigcode=0
goroutine 0 gp=0x3920f80 m=0 mp=0x3922700 [idle]:
runtime.futex(0x3922840, 0x80, 0x0, 0x0, 0x0, 0x0)
/home/raffael/.gvm/pkgsets/go1.22/global/pkg/mod/golang.org/[email protected]/src/runtime/sys_linux_amd64.s:557 +0x21 fp=0x7ffdd08a33b0 sp=0x7ffdd08a33a8 pc=0x479c61
runtime.futexsleep(0x7ffdd08a3428?, 0x410110?, 0x1d08a3458?)
/home/raffael/.gvm/pkgsets/go1.22/global/pkg/mod/golang.org/[email protected]/src/runtime/os_linux.go:69 +0x30 fp=0x7ffdd08a3400 sp=0x7ffdd08a33b0 pc=0x43a5d0
runtime.notesleep(0x3922840)
@raffis
raffis / go
Created October 9, 2019 13:59
migrate file based acl pre balloon v2.7
package main
import "fmt"
import "sync"
import "net/http"
import "io/ioutil"
import "encoding/json"
import "encoding/base64"
import "bytes"
@raffis
raffis / php
Created October 8, 2019 07:50
pure md5 algorithm written in php with serialization support
<?php
namespace Hash;
/**
* PHP implementation of the MD5 algorithm according RFC-1321.
* This implementation has support for hash context serialization which the php inbuilt HashContext has not.
*/
class MD5
{
/**