Skip to content

Instantly share code, notes, and snippets.

View dx7's full-sized avatar

Rafael Carvalho dx7

  • Brazil
View GitHub Profile
module Base16
def self.strict_encode16(s)
s.unpack1('H*')
end
def self.strict_decode16(s)
[s].pack('H*')
end
end
@dx7
dx7 / main.go
Created August 9, 2024 02:08 — forked from KatelynHaworth/main.go
Example of run an interactive process on the current user from system service on windows (Golang)
package main
import (
"github.com/kardianos/service"
"log"
"flag"
)
type Service struct {}