Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 56 for Dotenv (0.03 sec)

  1. container-tests/build.gradle.kts

    val platform = System.getProperty("okhttp.platform", "jdk9")
    val testJavaVersion = System.getProperty("test.java.version", "21").toInt()
    
    tasks.withType<Test> {
      useJUnitPlatform()
      onlyIf("By default not in CI") {
        System.getenv("CI") == null
          || (project.hasProperty("containerTests") && project.property("containerTests").toString().toBoolean())
      }
    
      jvmArgs(
        "-Dokhttp.platform=$platform",
      )
    
      if (platform == "loom") {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Mar 17 14:46:34 UTC 2024
    - 1.1K bytes
    - Viewed (1)
  2. docs/pt/docs/environment-variables.md

    Por exemplo, você poderia ter um arquivo `main.py` com:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Dica
    
    O segundo argumento para <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> é o valor padrão a ser retornado.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  3. tests/connpool_test.go

    	c.got = append(c.got, query)
    	return c.db.QueryRowContext(ctx, query, args...)
    }
    
    func TestConnPoolWrapper(t *testing.T) {
    	dialect := os.Getenv("GORM_DIALECT")
    	if dialect != "mysql" {
    		t.SkipNow()
    	}
    
    	dbDSN := os.Getenv("GORM_DSN")
    	if dbDSN == "" {
    		dbDSN = "gorm:gorm@tcp(localhost:9910)/gorm?charset=utf8&parseTime=True&loc=Local"
    	}
    	nativeDB, err := sql.Open("mysql", dbDSN)
    Registered: Sun Sep 07 09:35:13 UTC 2025
    - Last Modified: Sun May 25 07:40:40 UTC 2025
    - 5.5K bytes
    - Viewed (0)
  4. docs/bn/docs/environment-variables.md

    উদাহরণস্বরূপ, আপনার `main.py` নামে একটি ফাইল থাকতে পারেঃ
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> এর দ্বিতীয় আর্গুমেন্টটি হলো এর ডিফল্ট ভ্যালু যা রিটার্ন করা হবে।
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Thu Jun 05 08:15:56 UTC 2025
    - 17.2K bytes
    - Viewed (0)
  5. docs/es/docs/environment-variables.md

    Por ejemplo, podrías tener un archivo `main.py` con:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip | Consejo
    
    El segundo argumento de <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> es el valor por defecto a retornar.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  6. maven-tests/mvnw

    	public class Downloader extends java.net.Authenticator
    	{
    	  protected java.net.PasswordAuthentication getPasswordAuthentication()
    	  {
    	    return new java.net.PasswordAuthentication( System.getenv( "MVNW_USERNAME" ), System.getenv( "MVNW_PASSWORD" ).toCharArray() );
    	  }
    	  public static void main( String[] args ) throws Exception
    	  {
    	    setDefault( new Downloader() );
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 12 12:05:57 UTC 2025
    - 10.4K bytes
    - Viewed (0)
  7. settings.gradle.kts

    include(":samples:static-server")
    include(":samples:tlssurvey")
    include(":samples:unixdomainsockets")
    include(":container-tests")
    
    project(":okhttp-logging-interceptor").name = "logging-interceptor"
    
    val androidHome = System.getenv("ANDROID_HOME")
    val localProperties = Properties().apply {
      val file = File("local.properties")
      if (file.exists()) {
        load(file.inputStream())
      }
    }
    val sdkDir = localProperties.getProperty("sdk.dir")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jul 19 13:41:00 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. docs/zh-hant/docs/environment-variables.md

    例如,你可以建立一個名為 `main.py` 的檔案,其中包含以下內容:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    第二個參數是 <a href="https://docs.python.org/zh-tw/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> 的預設回傳值。
    
    如果沒有提供,預設值為 `None`,這裡我們提供 `"World"` 作為預設值。
    
    ///
    
    然後你可以呼叫這個 Python 程式:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sat Nov 09 12:17:55 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. docs/ja/docs/environment-variables.md

    例えば、以下のような`main.py`ファイルを用意します:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> の第2引数は、デフォルトで返される値を指定します。
    
    この引数を省略するとデフォルト値として`None`が返されますが、ここではデフォルト値として`"World"`を指定しています。
    
    ///
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Jan 27 15:39:04 UTC 2025
    - 9.4K bytes
    - Viewed (0)
  10. docs/vi/docs/environment-variables.md

    Ví dụ, bạn có một file `main.py` với:
    
    ```Python hl_lines="3"
    import os
    
    name = os.getenv("MY_NAME", "World")
    print(f"Hello {name} from Python")
    ```
    
    /// tip
    
    Tham số thứ hai cho <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> là giá trị mặc định để trả về.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Feb 07 22:17:13 UTC 2025
    - 9.8K bytes
    - Viewed (0)
Back to top