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
otherfile diff=differ |
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
#!/bin/bash | |
# Deduplicates files based on md5 hash | |
# | |
# Usage: | |
# ./deduplicate <directory_name> | |
# | |
# | |
# Output like: | |
# [DUPLICATE]: (./Documents/Olympus pics/Stockholm445.JPG) found in: (./Documents/P5310445.JPG) | |
# |
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
#!/bin/bash | |
function get_monitors() { | |
xrandr --listactivemonitors | awk 'NR!=1{print $4}' | |
} | |
function dim_monitor() { | |
xrandr --output $1 --brightness 0 |
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
### Keybase proof | |
I hereby claim: | |
* I am petrmvala on github. | |
* I am petrvala (https://keybase.io/petrvala) on keybase. | |
* I have a public key ASDTY5k8245QmQD2Y5dmRPSkaOfHVmXhUKMneFb3R8dk-wo | |
To claim this, I am signing this object: |