meta

what's the meta about say it ditto dot net?

User Tools

Site Tools


terminal:miscbash

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
terminal:miscbash [2025/08/16 02:30] meloterminal:miscbash [2026/07/11 23:18] (current) melo
Line 2: Line 2:
  
 aliases and stuff aliases and stuff
 +
 +==== paste 2FA QR code image to pass ====
 +
 +<code bash>
 +paste_img | zbarimg -q --raw - | pass otp insert 2fa/$SERVICE_NAME
 +</code>
 +
 +''paste_img'' is a wrapper script for ''xclip'':
 +
 +<code bash>
 +xclip -sel clip -target image/png -o
 +</code>
  
 ==== number files from start ==== ==== number files from start ====
Line 44: Line 56:
 </code> </code>
  
-==== fake-time with makeMKV ====+==== PDF to PNG ====
  
-[[http://makemkv.com/|makeMKV]] is currently broken, in that it has no working free license key right now, so the only way to get it in a functional state is to use an old key and trick the program into thinking the time is different. i use ''faketime'' for this:+not used in a while
  
 <code bash> <code bash>
-# makemkv workaround +gs -sDEVICE=pngalpha -o file-%03d.png -r144 zine.pdf
-# see link +
-# https://old.reddit.com/r/makemkv/comments/1mek9fa/beta_registration_key/ +
-alias makemkv="faketime '2025-06-01 12:00:00' makemkv"+
 </code> </code>
terminal/miscbash.1755311411.txt.gz · Last modified: by melo

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki