What do you want to save?
Add Code snippet
New code examples
-
Shell/Bash 2021-08-31 18:14:02
linux bash export vars between shell instances
export_global_var () { filename=/tmp/env test -f $filename || touch $filename { flock 0 #prevents isssues with multi thread process #set -x #enables verbose/debug . /tmp/env [ $# -eq 0 ] || export "$@" echo "$@&q... Add solution -
Other 2021-08-29 11:50:01
Added sleep to Nextion Display in Nextion GUI Editor
//The following code is only run once when power on, and is generally used for global variable definition and power on initialization data int sys0=0,sys1=0,sys2=0 thsp=5 //Sleep on No Touch thup=1 //Auto wake up on touch page 0 ... Add solution -
VBA 2021-08-28 04:53:02
excelvba declare global constant
'In VBA, GLOBAL variables must be declared ABOVE all procedures in a module: Public MyGlobalString As String '<-- global to ALL modules Private MyGlobalLong As Long '<-- global to THIS module (Private) Public Const HELP As String = "Pres... Add solution