Skip to content

Instantly share code, notes, and snippets.

@c-nv-s
c-nv-s / diffc-diffh.bash
Created September 17, 2023 00:27 — forked from sebastiancarlos/diffc-diffh.bash
Custom variations of diff: diffh (diff history) and diffc (diff commands)
#!/usr/bin/env bash
# All my gist code is licensed under the terms of the MIT license.
# Video demo: https://www.youtube.com/watch?v=nf3ddQniw-o
#!/usr/bin/env bash
# diffc - diff commands
# - allows to call as: diffc 'command one' 'command two'
@c-nv-s
c-nv-s / qrshot.sh
Created May 7, 2022 11:08
script to decode qr code from a screenshot
#!/usr/bin/env bash
#
# Siddharth Dushantha 2022
#
# https://github.com/sdushantha/bin
#
image_file="/tmp/ocr.png"
# Check if the needed dependencies are installed