Skip to content

Instantly share code, notes, and snippets.

View moorchegue's full-sized avatar

moorchegue moorchegue

View GitHub Profile
<script>
"use strict";
window.onload=getExif;
function getExif() {
var imgs = document.getElementsByTagName("img");
for (var i=0; i<imgs.length; i++) {
let img = imgs[i];
EXIF.getData(img, function() {
var meta = EXIF.getAllTags(this);
img.title = `Artist: ${meta.Artist}
#!/usr/bin/bash
FILE=$(realpath "$1")
OPTION="$(exiftool -G0 -a -s $FILE | grep -vP '\[(ExifTool|File|Composite)\]' | sed 's/\s{10} : / : /' | rofi -dmenu -i -l 30 -p "Select tag")"
if [ $? -ne 0 ]; then
echo "No tag selected"
exit
fi
TAG="$(echo $OPTION | awk -F ': ' '{print $1}' | sed 's/^\[\?/-/' | sed 's/\]/:/' | sed 's/\s\+//g')"
@moorchegue
moorchegue / 500px.css
Created January 24, 2025 06:17
500px.com decluttering
/* 500px */
div:has(>a[href*="pulsepx.com"]) {
display: none !important;
}
@moorchegue
moorchegue / da.css
Last active January 24, 2025 06:16
Detrans deviantart
/* deviantart */
#outdated_banner {
display: none;
}
header g path {
fill: white;
}
.-xQQ9 tbody>:not(:first-child) {
filter: none;
}