Skip to content

Instantly share code, notes, and snippets.

View t1m0thyj's full-sized avatar

Timothy Johnson t1m0thyj

View GitHub Profile
@t1m0thyj
t1m0thyj / 20-cgit.conf
Created January 17, 2024 04:49
CGit and Lighttpd config for GitHub mirror
server.modules += ( "mod_cgi", "mod_alias" )
$HTTP["url"] =~ "^/cgit" {
server.document-root = "/usr/lib/"
server.indexfiles = ("cgit.cgi")
cgi.assign = ("cgit.cgi" => "")
mimetype.assign = ( ".css" => "text/css" )
url.access-deny = ( "~", ".inc" )
}
@t1m0thyj
t1m0thyj / Dockerfile
Created September 4, 2025 17:48
Demo of using `password-store` instead of `gnome-keyring-daemon` to store Zowe CLI credentials
FROM node:lts-slim
RUN apt-get update && \
apt-get install -y --no-install-recommends ca-certificates dbus gpg libsecret-1-0 pass procps wget && \
apt-get clean
RUN wget -O /usr/local/bin/pass-secret-service https://github.com/grimsteel/pass-secret-service/releases/download/v0.5.0/pass-secret-service-$(uname -m) && \
chmod +x /usr/local/bin/pass-secret-service
RUN npm install -g @zowe/cli && \