Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for tmp (0.11 sec)

  1. src/test/resources/before_script.sh

    #!/bin/bash
    set -xuo pipefail
    
    temp_log_file=/tmp/fess-build.$$
    unzip target/releases/fess-*.zip > ${temp_log_file} 2>&1
    tail ${temp_log_file}
    
    ./fess-*/bin/fess > ${temp_log_file} 2>&1 &
    
    temp_json_file=/tmp/fess-log.$$
    touch ${temp_json_file}
    error_count=0
    while true ; do
      status=$(curl -w '%{http_code}\n' -s -o ${temp_json_file} "http://localhost:8080/api/v1/health")
      cat ${temp_json_file}
      if [[ x"${status}" = x200 ]] ; then
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 863 bytes
    - Viewed (0)
  2. src/main/assemblies/files/generate-thumbnail

      check_command unoconv
      tmp_pdf_file=/tmp/thumbnail.$$.pdf
      unoconv -e PageRange=1-1 -o ${tmp_pdf_file} -f pdf "${target_file}"
      if [[ ! -f ${tmp_pdf_file} ]] ; then
        echo "unoconv does not work."
        exit 1
      fi
      tmp_png_prefix=/tmp/thumbnail.png.$$
      pdftoppm -png -singlefile ${tmp_pdf_file} ${tmp_png_prefix}
      tmp_png_file="${tmp_png_prefix}.png"
      rm -f ${tmp_pdf_file}
      if [[ ! -f ${tmp_png_file} ]] ; then
    Shell Script
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Mon Jun 12 13:13:28 GMT 2023
    - 2.5K bytes
    - Viewed (0)
Back to top