Skip to content

Instantly share code, notes, and snippets.

View tmarkovski's full-sized avatar

Tomislav Markovski tmarkovski

View GitHub Profile
@fraune
fraune / touch_id_sudo.sh
Last active September 11, 2024 02:12
Let Touch ID authorize the `sudo` terminal command in macOS 14+
sudo sh -c 'echo "auth sufficient pam_tid.so" > /etc/pam.d/sudo_local'
@marekyggdrasil
marekyggdrasil / figures_thumbnail.sh
Last active December 20, 2022 15:33
Example code for the tutorial on Pedersen Commitments and Confidential Transactions available under https://mareknarozniak.com/2021/06/22/ct/
#!/bin/sh
convert -background none inputs_before.png inputs_after.png +append inputs.png
@mcastorina
mcastorina / Cargo.toml
Created August 6, 2020 02:03
Clap and rustyline tab completion integration
[package]
name = "tmp"
version = "0.1.0"
authors = ["Miccah Castorina <[email protected]>"]
edition = "2018"
[dependencies]
clap-v3 = { version = "3.0.0-beta.1", features = ["yaml"] }
rustyline = "6.2.0"
serde_yaml = "0.8"
@magnetikonline
magnetikonline / README.md
Last active October 10, 2024 17:31
List all Git repository objects by size.

List all Git repository objects by size

Summary

Bash script which will:

  • Iterate all commits made within a Git repository.