Skip to content

Instantly share code, notes, and snippets.

View FiV0's full-sized avatar
🍌

Finn Völkel FiV0

🍌
View GitHub Profile
@joshjones
joshjones / create-join-threads.clj
Last active May 23, 2021 19:55
Creating and joining threads in clojure
(import '[java.util.concurrent Callable
CountDownLatch
Executors
Semaphore
TimeUnit])
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; Examples of creating and joining threads in clojure
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
(let [numthreads 5
@zparnold
zparnold / one_liner.sh
Last active May 16, 2025 23:47
A simply script to delete all failed pods from Kubernetes
kubectl get pods --all-namespaces | grep Evicted | awk '{print $2 " --namespace=" $1}' | xargs kubectl delete pod
@mikeananev
mikeananev / deps.edn
Created February 24, 2019 22:28
Clojure compress / decompress data examples
{:deps {org.clojure/clojure {:mvn/version "1.10.0"}
com.taoensso/nippy {:mvn/version "2.14.0"}
org.apache.commons/commons-compress {:mvn/version "1.18"}}}
@DeLaGuardo
DeLaGuardo / deps.edn
Created October 22, 2019 12:26
Lambda analyze
{:paths ["."]}
@IanColdwater
IanColdwater / twittermute.txt
Last active April 14, 2025 16:31
Here are some terms to mute on Twitter to clean your timeline up a bit.
Mute these words in your settings here: https://twitter.com/settings/muted_keywords
ActivityTweet
generic_activity_highlights
generic_activity_momentsbreaking
RankedOrganicTweet
suggest_activity
suggest_activity_feed
suggest_activity_highlights
suggest_activity_tweet
;;; -*- lexical-binding: t -*-
;; (when (not (server-running-p))
;; (server-start))
;; Enable copy-paste to/from x clipboard when running in a terminal
(set-frame-font "Iosevka Fixed SS14-22")
(global-linum-mode 1)