ElCanut@jlai.lu to Technology@beehaw.org · 7 months agoHe revealed the secrets !jlai.luimagemessage-square54fedilinkarrow-up1409arrow-down10cross-posted to: programmer_humor@programming.dev
arrow-up1409arrow-down1imageHe revealed the secrets !jlai.luElCanut@jlai.lu to Technology@beehaw.org · 7 months agomessage-square54fedilinkcross-posted to: programmer_humor@programming.dev
minus-squarebitwolf@lemmy.onelinkfedilinkarrow-up4·7 months agoHey, how do you get the creative Commons attribution to automatically appear under your comments?
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up2·7 months agoUnfortuately, it’s manual :) Keyboard shortcut to put the text into the clipboard and then paste it into the comment. If you're on linux using X11 #!/usr/bin/env nix-shell #!nix-shell -i bash --packages xautomation xclip sleep 0.2 printf '[Anti Commercial-AI license](https://creativecommons.org/licenses/by-nc-sa/4.0/)' | xclip -selection clipboard #(echo '::: spoiler Anti Commercial AI thingy #[CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/) # #Inserted with a keystroke running this script on linux with X11 #```bash' #cat "$0" #echo '``` #:::') | xclip -selection clipboard xte "keydown Control_L" "key V" "keyup Control_L" Anti Commercial-AI license
minus-squaredev_null@lemmy.mllinkfedilinkarrow-up1·7 months agoObviously your way works fine, but I think a browser extension could make it 100% automatic.
minus-squareonlinepersona@programming.devlinkfedilinkEnglisharrow-up1·7 months agoIf you’re willing to make one, that’d be great 🙂 Anti Commercial-AI license
Hey, how do you get the creative Commons attribution to automatically appear under your comments?
Unfortuately, it’s manual :) Keyboard shortcut to put the text into the clipboard and then paste it into the comment.
If you're on linux using X11
Anti Commercial-AI license
Obviously your way works fine, but I think a browser extension could make it 100% automatic.
If you’re willing to make one, that’d be great 🙂
Anti Commercial-AI license