Search Options

Results per page
Sort
Preferred Languages
Advance

Results 261 - 270 of 2,054 for bash (0.02 sec)

  1. docs/zh/docs/advanced/settings.md

    /// tip
    
    如果您已经知道什么是"环境变量"以及如何使用它们,请随意跳到下面的下一节。
    
    ///
    
    环境变量(也称为"env var")是一种存在于 Python 代码之外、存在于操作系统中的变量,可以被您的 Python 代码(或其他程序)读取。
    
    您可以在 shell 中创建和使用环境变量,而无需使用 Python:
    
    //// tab | Linux、macOS、Windows Bash
    
    <div class="termy">
    
    ```console
    // 您可以创建一个名为 MY_NAME 的环境变量
    $ export MY_NAME="Wade Wilson"
    
    // 然后您可以与其他程序一起使用它,例如
    $ echo "Hello $MY_NAME"
    
    Hello Wade Wilson
    ```
    
    </div>
    
    ////
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 12.7K bytes
    - Viewed (0)
  2. docs/site-replication/run-ssec-object-replication.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo -n "Cleaning up instances of MinIO ..."
    	pkill minio || sudo pkill minio
    	pkill -9 minio || sudo pkill -9 minio
    	rm -rf /tmp/minio{1,2}
    	echo "done"
    }
    
    cleanup
    
    export MINIO_CI_CD=1
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. mvnw

      done
      printf '%s' "$(
        cd "$basedir" || exit 1
        pwd
      )"
    }
    
    # concatenates all lines of a file
    concat_lines() {
      if [ -f "$1" ]; then
        # Remove \r in case we run on Windows within Git Bash
        # and check out the repository with auto CRLF management
        # enabled. Otherwise, we may read lines that are delimited with
        # \r\n and produce $'-Xarg\r' rather than -Xarg due to word
        # splitting rules.
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Mon Oct 14 22:24:15 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  4. docs/bucket/replication/setup_2site_existing_replication.sh

    #!/usr/bin/env bash
    
    echo "Running $0"
    
    set -x
    
    trap 'catch $LINENO' ERR
    
    # shellcheck disable=SC2120
    catch() {
    	if [ $# -ne 0 ]; then
    		echo "error on line $1"
    		for site in sitea siteb; do
    			echo "$site server logs ========="
    			cat "/tmp/${site}_1.log"
    			echo "==========================="
    			cat "/tmp/${site}_2.log"
    		done
    	fi
    
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Sep 06 09:42:21 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. docs/distributed/decom.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    rm -rf /tmp/xl
    rm -rf /tmp/xltier
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    export CI=true
    export MINIO_SCANNER_SPEED=fastest
    
    (minio server http://localhost:9000/tmp/xl/{1...10}/disk{0...1} 2>&1 >/tmp/decom.log) &
    pid=$!
    
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 6.4K bytes
    - Viewed (0)
  6. docs/es/docs/deployment/concepts.md

    Aquí hay algunas ideas posibles:
    
    * Un "Contenedor de Inicio" en Kubernetes que se ejecuta antes de tu contenedor de aplicación
    * Un script de bash que ejecuta los pasos previos y luego inicia tu aplicación
        * Aún necesitarías una forma de iniciar/reiniciar *ese* script de bash, detectar errores, etc.
    
    /// tip | Consejo
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Tue Dec 16 16:33:45 UTC 2025
    - 20.1K bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/FilesSimplifyPathTest.java

     * the License.
     */
    
    package com.google.common.io;
    
    import static com.google.common.io.Files.simplifyPath;
    import static java.nio.charset.StandardCharsets.UTF_8;
    
    import com.google.common.base.CharMatcher;
    import com.google.common.base.Splitter;
    import java.io.IOException;
    import java.net.URL;
    import java.util.Iterator;
    import junit.framework.TestCase;
    import org.jspecify.annotations.NullUnmarked;
    
    /**
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. docs/site-replication/run-multi-site-oidc.sh

    #!/usr/bin/env bash
    
    # shellcheck disable=SC2120
    exit_1() {
    	cleanup
    
    	echo "minio1 ============"
    	cat /tmp/minio1_1.log
    	echo "minio2 ============"
    	cat /tmp/minio2_1.log
    	echo "minio3 ============"
    	cat /tmp/minio3_1.log
    
    	exit 1
    }
    
    cleanup() {
    	echo "Cleaning up instances of MinIO"
    	pkill minio
    	pkill -9 minio
    	rm -rf /tmp/minio{1,2,3}
    }
    
    cleanup
    
    unset MINIO_KMS_KES_CERT_FILE
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Tue Sep 24 08:03:58 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  9. docs/distributed/decom-encrypted-kes.sh

    #!/bin/bash
    
    if [ -n "$TEST_DEBUG" ]; then
    	set -x
    fi
    
    pkill minio
    pkill kes
    rm -rf /tmp/xl
    
    if [ ! -f ./mc ]; then
    	wget --quiet -O mc https://dl.minio.io/client/mc/release/linux-amd64/mc &&
    		chmod +x mc
    fi
    
    if [ ! -f ./kes ]; then
    	wget --quiet -O kes https://github.com/minio/kes/releases/latest/download/kes-linux-amd64 &&
    		chmod +x kes
    fi
    
    if ! openssl version &>/dev/null; then
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Mon May 27 19:17:46 UTC 2024
    - 7.1K bytes
    - Viewed (1)
  10. docs/ru/docs/advanced/settings.md

    /// tip | Совет
    
    Чтобы это работало, вам нужно `pip install python-dotenv`.
    
    ///
    
    ### Файл `.env` { #the-env-file }
    
    У вас может быть файл `.env` со следующим содержимым:
    
    ```bash
    ADMIN_EMAIL="******@****.***"
    APP_NAME="ChimichangApp"
    ```
    
    ### Чтение настроек из `.env` { #read-settings-from-env }
    
    Затем обновите ваш `config.py` так:
    
    //// tab | Pydantic v2
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 18.3K bytes
    - Viewed (0)
Back to top