Skip to content

Instantly share code, notes, and snippets.

@sebasjm
sebasjm / package.json
Last active August 16, 2023 05:34
preact cli into single html file
{
"name": "preact single html",
"version": "1.0.0",
"description": "",
"scripts": {
"build-single": "preact build --no-sw --no-esm -c preact.single-config.js --dest single && sh remove-link-stylesheet.sh",
},
"keywords": [],
"author": "",
"license": "ISC"
@lmammino
lmammino / example.go
Last active May 2, 2022 17:37
Ldap filter beautifier
package main
import (
"fmt"
"./ldap"
)
var filter = "(&(&(&(& (mailnickname=*) (| (&(objectCategory=person)(objectClass=user)(|(homeMDB=*)(msExchHomeServerName=*))) )))(objectCategory=user)(department=IT)(physicalDeliveryOfficeName=Amsterdam)))"
func main() {