Skip to content
View tohuuuuu's full-sized avatar
  • Karlsruhe, Germany
Block or Report

Block or report tohuuuuu

Report abuse

Contact GitHub support about this user’s behavior. Learn more about reporting abuse.

Report abuse

Pinned Loading

  1. XSLT Stylesheet to create single nfo... XSLT Stylesheet to create single nfo files from VideoStation metadata exported to XML
    1
    <xsl:stylesheet
    2
        version="2.0"
    3
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
    4
        xmlns:xhtml="http://www.w3.org/1999/xhtml"
    5
        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
  2. Powershell command to create a SSH t... Powershell command to create a SSH tunnel
    1
    start-process -NoNewWindow powershell `
    2
     {ssh -f <user>@<host> `
    3
          -L 10443:127.0.0.1:443 `
    4
          -N }
  3. Sign multiple jars using keystore / ... Sign multiple jars using keystore / key passwords from env variables
    1
    export storepass="mystorepassword"
    2
    export keypass="mykeypassword"
    3
    for i in ./*.jar; do jarsigner -storepass:env storepass -keypass:env keypass "$i" key_alias;done
  4. OpenSSH Tunnel (bash) OpenSSH Tunnel (bash)
    1
    ssh -f <user>@<host> -L <localport>:<remoteserver>:443 -N
  5. OCRmyPDF Loop over pdf files in curr... OCRmyPDF Loop over pdf files in current dir and append _ocr to resulting pdfs (Language: German)
    1
    for i in *.pdf
    2
    do
    3
      ocrmypdf -l deu -i "$i" "${i/%.pdf/_ocr.pdf}"
    4
    done