${foo:-bar} If $foo exists and is not null, return $foo. If it doesn't exist or is null, return bar. export foo=""
echo ${foo:-one}
one
echo $fo...
${foo:=bar} If $foo exists and is not null, return $foo. If it doesn't exist or is null, set $foo to bar and return bar export foo=""
echo ${foo:=one}
one
echo $foo...
${foo:+bar} If $foo exists and is not null, return bar. If it doesn't exist, or is null, return a null. export foo="this is a test"
echo ${foo:+... name:-word}
If varname exists and isn't null, return its value; otherwise return word.
Purpose:
Returning a default value if t
# Error message to stderr.
exit $E_NOARGS
# Returns 65 as exit status of script (error code).
fi
... bstitute 'less' if desired.
exit $? # Script returns exit status of pipe.
# Actually "exit $?" is unnecessary, as the script will, in any case,
#+ return the exit status of the last command executed.
</c... comparison ====
-a
logical and
exp1 -a exp2 returns true if both exp1 and exp2 are true.
----
-o
lo
ein (ohne die Anführungszeichen), das für alle Returns steht. Die Returns ersetzen Sie in diesem ersten Schritt durch eine... tungen durch "%%%%" – hier standen nämlich zwei Returns.
Kümmern Sie sich im zweiten Schritt um diese
you do.
Please note down the number that lswm returns (that looks similar to 00:2A:34:95:FE:B0), this ... address for your Wii remote (the one that lswm returned).
===== Using your Wii remote as a mouse using... ght tracking ability as a mouse, and the other to turn off the wminput daemon that I started on the othe... g these two icons to run wminput, is that you can turn off your Wii remote (by pressing and holding the
This generates a lot of output, so if
# you turn this on, be sure that the
# file defined in... lt = H)
#SENSITIVITY H
# UPS delay after power return (seconds)
# WAKEUP 000 060 180 300 (default = 0... 253
# Battery change needed to restore power
# RETURNCHARGE 00 15 50 90 (default = 15)
#RETURNCHARGE 15
# Alarm delay
# 0 = zero delay after pwr fail, T = p
ve a vertical (normal) and a horizonal position. Turn the key to the horizonal position and turn on the machine. On the front door you will see a... will place the setting into memory. You can then turn the key to the normal play position to resume pla
(first joystick)
-autorepeat
Turns on and optionally specifies autorepeat frequency... t Right Up Down
START ines
-X
-buttons z a Tab Return
-axis Left Right Up Down
START quake2
# set the ... X
-axis Left Right Up Down
-buttons s x d c a z Return space
</code>
===== ShanWan SJ@JX Gamepad =====
... button once.
The LED blinks a few times and then turns off, and the setting is successful.
(1) Button
?t=535659))
It's worth noting that if the Wii is turned off, so is the sensor bar, so you have to have it turned on. This means that if your Wiimotes are paired... inding the directory of uinput in openSuSE, which turned out to be the same as in Feisty. Once you are s
// TaskValueSet 4,2,%uptime%
endif
endon
on TurnOn do
if [PUMP#Relay]=0
gpio,12,1
TaskValueSet 4,3,([Dummy#Hum]+2)
endif
endon
on TurnOff do
if [PUMP#Relay]=1
gpio,12,0
TaskV... do
if [SENSOR#Humidity]<[Dummy#Hum]
event TurnOn
else
event TurnOff
endif
endon
on Rules#Timer=2 do
TaskValueSet 4,1,0
Event CheckHum
t
ued. After this amount of time, the relay will be turned OFF.
0 / OFF = disable use of PulseTime for th... e deaktiveren:
<code>PulseTime1 0</code>
===== Turn on Auto-discovery for Home Automation =====
Go... onsole and enter <code>SetOption19 1</code>
This turns on auto discover.
Then in HA go to Configuratio
by the options specified on the command line. To turn off caps lock key, enter:
<code>setxkbmap -option... ps"</code>
Replace "swapcaps" with "nocaps" to turn both keys into "Control."
With X, there are at ... name of your modmap file is.</code>
This will turn your caps lock into a control key. You won't have
ead.
After installation, in GNOME or Kubuntu, '''turn off visual effects''' or you will notice a flicke... without flicker. The Textured video option can be turned on, but this can cause flicker or diagonal arti... >DISPLAY=:0 glxinfo | grep render</code>
:If it returns an ATI renderer, it means that xgl is being disp