This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Usage: ./pw.sh Github.com | |
op get item $1 | jq -r '.details.fields[] | select(.designation=="password").value' | xclip -selection c |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Taken from https://docs.github.com/en/github/authenticating-to-github/removing-sensitive-data-from-a-repository | |
# Warning: | |
# -------- | |
# All stashes may be lost! | |
PATH_TO_REMOVE=big-folder/commited/by/error | |
# 1. Force Git to process, but not check out, the entire history of every branch and tag | |
# 2. Remove the specified file, as well as any empty commits generated as a result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(ns util.redis | |
(:refer-clojure :exclude [memoize]) | |
(:require [taoensso.carmine :as car])) | |
;; boilerplate stuff that is not in Carmine | |
(def ^:dynamic ^:private *pool*) | |
(def ^:dynamic ^:private *spec*) | |
(defmacro with-redis |
OlderNewer