Top "Variables" questions

THIS IS AMBIGUOUS; USE SPECIFIC-LANGUAGE TAGS WHENEVER APPLICABLE.

How to base64 encode image in linux bash / shell

I'm trying to base64 encode an image in a shell script and put it into variable: test="$(printf DSC_0251.JPG | …

linux image shell variables base64
Static vs class functions/variables in Swift classes?

The following code compiles in Swift 1.2: class myClass { static func myMethod1() { } class func myMethod2() { } static var myVar1 = "" } func doSomething() { myClass.…

function class swift variables static
Beautiful way to remove GET-variables with PHP?

I have a string with a full URL including GET variables. Which is the best way to remove the GET …

php url variables get
How to define a variable in a Dockerfile?

In my Dockerfile, I would like to define variables that I can use later in the Dockerfile. I am aware …

variables docker dockerfile
Remove an element from a Bash array

I need to remove an element from an array in bash shell. Generally I'd simply do: array=("${(@)array:#<element …

arrays bash variables
Best way to retrieve variable values from a text file?

Referring on this question, I have a similar -but not the same- problem.. On my way, I'll have some text …

python variables text-files
Variables within app.config/web.config

Is it is possible to do something like the following in the app.config or web.config files? <appSettings&…

c# variables web-config app-config
How to print a groovy variable?

I have the following code within a Jenkins pipeline: stage ('Question') { try { timeout(time: 1, unit: 'MINUTES') { userInput = input message: 'Choose …

variables jenkins groovy jenkins-pipeline
Best way to test for a variable's existence in PHP; isset() is clearly broken

From the isset() docs: isset() will return FALSE if testing a variable that has been set to NULL. Basically, isset() …

php variables isset