Category "environment-variables"

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Storing Ipv4 address into a .env variable

I am trying to find a way on how to store a IPV4 address into a variable in .ENV file in my ReactJS project, but my problems are: 1.) How can I get the IPV4 add

Appending values to existing values of environment variables in go

How can I append another value to an existing value of a go environment variable? If CGO_CXXFLAGS has the value "-I/blah/blah" Since the following doesn't work

Subprocess $Env:Path python: The filename, directory name, or volume label syntax is incorrect

I am trying to change the windows environment variables, but I am having trouble doing so. Before I tried to use os.environ() I tried out using powershell comma

How to set environment variable in Postman depending on other values in response?

Using GET request, I have the following response: [ { "id": "ID_1", "name": "", "color": "orange" },

How to Deploy from Gitlab-ci to multiple kubernetes namespaces?

I have two variable containing my namespaces names: $KUBE_NAMESPACE_DEV ="stellacenter-dev" $KUBE_NAMESPACE_STAGE "stellacenter-stage-uat" Now I want to modif

How can we change two values dynamically by using one variable? in yaml script?

we are using gitlab for ci/cd we have two branches for frontend dev branch- workflow: rules: - if: $CI_COMMIT_BRANCH == $CI_DEFAULT_BRANCH || $CI_COMMIT_B

How to build react native apps specific to an environment in nx.dev

I used nx.dev for my react native application, I have configured the 3 environments. Dev, QA, and Staging. Added productFlavors for the same. ENVFILE=.env.qa &a

Adding a Private Key Environment Variable to Windows

I am trying to assign an environment variable in Windows from the contents of a RSA Private Key File. In Linux this is easily accomplished with the export comma

Caused by: java.net.SocketTimeoutException: Accept timed out

I am getting this error while running pyspark package in pycharm using python 3.9 using this below code. from pyspark.sql import SparkSession from pyspark.sql.t

Use environment variables in CMD

Can I use environment variables in my CMD stanza in a Dockerfile? I want to do something like this: CMD ["myserver", "--arg=$ARG", "--memcache=$MEMCACHE_11211

Expo app cannot see env variable from Github action

We store our configurations on the vault and during the Github action workflow we pull this and intend to use this for the app during build time. This is our wo

How To Access Repository Secret

I've made a repository on GitHub and have added a Repository secret. However, I can't seem to grab the secret's value. Any help would be greatly appreciated!

module lookup disabled by GOPROXY=off, but go env shows GOPROXY is set

When trying to lookup some modules, I am having an issue from VS Code where the error pictured below indicates that my GOPROXY is set to off, but when I run go

how to set env in Sheel for node.js [closed]

shell:$ set CONF = 44 const mytext = process.env.CONF console.log(mytext); //undefined

echoing PROMPT_COMMAND from terminal and from bash script

while trying to write a bash script i encountered a strange issue when i try to execute it. i want to echo the $PROMPT_COMMAND variable thus, i have the followi

.env file shows errors(red underlines) in vscode - it works fine though

I'm having this project structure: Although the file works correctly but it shows errors(red underlines) in VSCODE. Why does this happen and how can we solve t

How do I provide environmental variable with my custom Cloud Foundry buildpack?

I have extra simple custom sidecar buildpack. All it does in /bin/supply is downloading and untarring to $DEPS_DIR/$DEPS_IDX/mylibrary certain dependency librar

How do I read a .env file from a .ps1 script?

I have a .env file like this one: TESTCASE_GROUP_SIZE=25 . . . And I want to get its value (read it) into a .ps1 script. How can I do it?

Is it possible to persist .env values in the .whl files when installed on a Databricks cluster? I'd prefer to keep all values in library (.whl)

I have created a project in Pycharm. This project has a .py file with functions, init.py and a .env file with my secret values. I need to be able to run this in