- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 37 for Getenv (0.03 sec)
-
tests/tests_test.go
log.Printf("failed to ping sqlDB, got error %v", err) os.Exit(1) } RunMigrations() } } func OpenTestConnection(cfg *gorm.Config) (db *gorm.DB, err error) { dbDSN := os.Getenv("GORM_DSN") switch os.Getenv("GORM_DIALECT") { case "mysql": log.Println("testing mysql...") if dbDSN == "" { dbDSN = mysqlDSN } db, err = gorm.Open(mysql.Open(dbDSN), cfg) case "postgres":
Registered: Sun Dec 28 09:35:17 UTC 2025 - Last Modified: Mon Jul 21 02:46:58 UTC 2025 - 3.7K bytes - Viewed (0) -
docs/en/docs/environment-variables.md
For example you could have a file `main.py` with: ```Python hl_lines="3" import os name = os.getenv("MY_NAME", "World") print(f"Hello {name} from Python") ``` /// tip The second argument to <a href="https://docs.python.org/3.8/library/os.html#os.getenv" class="external-link" target="_blank">`os.getenv()`</a> is the default value to return.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Aug 31 09:15:41 UTC 2025 - 8.1K bytes - Viewed (0) -
src/main/java/org/codelibs/core/lang/SystemUtil.java
* * @param key the environment variable key * @return the environment variable value, or null if not found */ public static String getEnv(String key) { return System.getenv(key); } /** * Returns the system environment variable value for the specified key, or the default value if not found. * * @param key the environment variable keyRegistered: Sat Dec 20 08:55:33 UTC 2025 - Last Modified: Thu Jul 31 08:16:49 UTC 2025 - 3.6K bytes - Viewed (0) -
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 Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 8.5K bytes - Viewed (0) -
settings.gradle.kts
include(":samples:tlssurvey") include(":samples:unixdomainsockets") include(":container-tests") include(":module-tests") project(":okhttp-logging-interceptor").name = "logging-interceptor" val androidHome = System.getenv("ANDROID_HOME") val localProperties = Properties().apply { val file = rootProject.projectDir.resolve("local.properties") if (file.exists()) { load(file.inputStream()) } }Registered: Fri Dec 26 11:42:13 UTC 2025 - Last Modified: Sat Oct 11 09:17:37 UTC 2025 - 2K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/s3/Handler.java
if (connected) { return; } final String endpoint = System.getenv().get("S3_ENDPOINT"); final String accessKey = System.getenv().get("S3_ACCESS_KEY"); final String secretKey = System.getenv().get("S3_SECRET_KEY"); final String region = System.getenv().getOrDefault("S3_REGION", "us-east-1"); // Validate endpoint before attempting connection
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 07:57:44 UTC 2025 - 9.5K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/storage/Handler.java
return; } final String endpoint = System.getenv().get("STORAGE_ENDPOINT"); final String accessKey = System.getenv().get("STORAGE_ACCESS_KEY"); final String secretKey = System.getenv().get("STORAGE_SECRET_KEY"); final String region = System.getenv().get("STORAGE_REGION"); // Validate endpoint before attempting connectionRegistered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Nov 20 08:52:56 UTC 2025 - 11.1K bytes - Viewed (0) -
docs/ru/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 Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Sep 30 11:24:39 UTC 2025 - 12.7K bytes - Viewed (0) -
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 Dec 26 11:42:13 UTC 2025 - Last Modified: Thu Sep 25 18:22:49 UTC 2025 - 10.4K bytes - Viewed (0) -
fess-crawler/src/main/java/org/codelibs/fess/net/protocol/gcs/Handler.java
if (connected) { return; } final String projectId = System.getenv("GCS_PROJECT_ID"); final String endpoint = System.getenv("GCS_ENDPOINT"); final String credentialsFile = System.getenv("GCS_CREDENTIALS_FILE"); // Validate projectId before attempting connection if (StringUtil.isBlank(projectId)) {
Registered: Sat Dec 20 11:21:39 UTC 2025 - Last Modified: Thu Dec 11 08:38:29 UTC 2025 - 9.6K bytes - Viewed (0)