Skip to content

Instantly share code, notes, and snippets.

View baskeboler's full-sized avatar
🏠
Working from home

Victor Gil baskeboler

🏠
Working from home
View GitHub Profile
@baskeboler
baskeboler / unredacted-epstein-documents.txt
Created January 5, 2024 08:15
Text extracted from PDF file of Epstein's unredacted court documents
This file has been truncated, but you can view the full file.
January 3, 2024
VIA ECF
The Honorable Loretta A. Preska
District Court Judge
United States District Court
Southern District of New York
500 Pearl Street
@baskeboler
baskeboler / jetty.clj
Created September 6, 2025 01:45 — forked from minimal/jetty.clj
Websockets with clojure + jetty
;; Copyright (c) James Reeves. All rights reserved.
;; The use and distribution terms for this software are covered by the Eclipse
;; Public License 1.0 (http://opensource.org/licenses/eclipse-1.0.php) which
;; can be found in the file epl-v10.html at the root of this distribution. By
;; using this software in any fashion, you are agreeing to be bound by the
;; terms of this license. You must not remove this notice, or any other, from
;; this software.
(ns compojure.server.jetty
"Clojure interface to start an embedded Jetty server."
@baskeboler
baskeboler / oidc_client.clj
Created September 6, 2025 01:50 — forked from holyjak/oidc_client.clj
A stateful CLI tool for getting access token from an OIDC provider
#!/usr/bin/env bb
(ns oidc-client
"Get end-user access token from an OIDC provider, caching the access/refresh token in an encrypted file. Code in https://babashka.org
Usage:
/path/to/oidc_client.clj
When there are no cached, valid tokens, it will open a browser with the OIDC provider login URL and start a HTTPS-enabled
callback server on localhost. Make sure that the resulting redirect_uri is registered with your provider.
@baskeboler
baskeboler / compose.yml
Last active March 23, 2026 14:04
xtdb docker compose deployment with kafka txn log and minio storage for dev environments
services:
minio:
image: minio/minio:latest
command: server /data --console-address :9001
environment:
MINIO_ROOT_USER: minioadmin
MINIO_ROOT_PASSWORD: minioadminpassword
MINIO_DOMAIN: minio
ports:
- "9000:9000"