Skip to content

Instantly share code, notes, and snippets.

View dezren39's full-sized avatar
🕵️‍♂️
Processing..

Drewry Pope dezren39

🕵️‍♂️
Processing..
View GitHub Profile
document:sgvowvarjxkte674jdhtvky8#owner@wnfm0cvwfj6fv4kru4pt3dzt
group:engineering#member@group:security#...
group:engineering#manager@group:leadership#member
(definition)platform {
(relation)administrator "user"
(permission)super_admin "administrator"
}
(definition)organization {
(relation)platform "platform"
(permission)platform "super_admin"
}
(definition)resource {
(relation)owner "user" "organization"
go build -a -tags netgo -ldflags "-w -s" -o "/bin/" ./cmd/...
#!/usr/bin/env sh
dietpi-software install 188 # install latest go version (and git)
apt update
apt install -y wget
wget https://github.com/PowerShell/PowerShell/releases/download/v7.4.1/powershell_7.4.1-1.deb_amd64.deb
dpkg -i powershell_7.4.1-1.deb_amd64.deb
apt install -f
rm powershell_7.4.1-1.deb_amd64.deb
# curl -fsSL https://deb.nodesource.com/setup_21.x | bash - &&\
# apt-get install -y nodejs
@dezren39
dezren39 / main.c
Created March 6, 2024 00:06 — forked from mattiasgustavsson/main.c
Minimal code example for creating a window to plot pixels to
#include <stdint.h>
#include <stdlib.h>
#include <stdbool.h>
#include <windows.h>
#pragma comment( lib, "user32.lib" )
#pragma comment( lib, "gdi32.lib" )
#define SCRW 640
#define SCRH 480
package main
import (
"context"
"fmt"
"log"
"net/http"
"net/http/httputil"
"strings"
"time"
package main
import (
"context"
"fmt"
"log"
"net/http"
"net/http/httputil"
"strings"
"time"
// https://github.com/samber/do/issues/30#issuecomment-1705616069
// https://play.golang.org/p/yHLzoV9To_5
package main
import (
"errors"
"fmt"
"sync"
)
package main
import (
"fmt"
)
type Empty interface {
IsEmpty() bool, error
}
type Config interface {
@dezren39
dezren39 / LICENSE
Created February 26, 2024 10:19 — forked from shaneutt/LICENSE
Golang: Demonstrate creating a CA Certificate, and Creating and Signing Certs with the CA
This is free and unencumbered software released into the public domain.
Anyone is free to copy, modify, publish, use, compile, sell, or
distribute this software, either in source code form or as a compiled
binary, for any purpose, commercial or non-commercial, and by any
means.
In jurisdictions that recognize copyright laws, the author or authors
of this software dedicate any and all copyright interest in the
software to the public domain. We make this dedication for the benefit