#id ... genau ein Html element
.classname ... alle elemente mit dieser klasse
Beispiele:
h1 { color:red}
h2,h3 { color:blue}
.myClass {color:orange}
#myId {color:yellow}
meine Sys/Db admin & Developper Notitzen - wer Rechtschreibfehler findet darf sie behalten ... my Sys/Db Admin and developper notes - I don't care about typos
sfdisk -l
lsblk -f
cat /proc/partitions
lshw -class disk -short
df -h
du -h
| task | VisualStudio | Eclipse | |
|---|---|---|---|
| go to definition | F12 | F3 | |
| last location | CRT - | CRT Q | |
| task | c# | java | |
|---|---|---|---|
| override | override | @Override | |
| Datum | DateTime | Date | |
# 1024x768 59.92 Hz (CVT 0.79M3) hsync: 47.82 kHz; pclk: 63.50 MHz Modeline "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync
xrandr --newmode "1024x768_60.00" 63.50 1024 1072 1176 1328 768 771 775 798 -hsync +vsync xrandr --addmode DVI-0 "1024x768_60.00" xrandr --output DVI-0 --mode "1024x768_60.00"
| <html> | |
| <head> | |
| <meta name="viewport" content="width=device-width" /> | |
| <title>Schalter</title> | |
| </head> | |
| GPIO 23 schalten: | |
| <form method="get" action="pool.php"> | |
| <input type="submit" value="Licht ein" name="Lichtein"> | |
| <input type="submit" value="Licht aus" name="Lichtaus"> | |
| </form> | |
| <?php | |
| $modeon18 = exec("gpio mode 23 out"); | |
| if(isset($_GET["Lichtein"])){ | |
| $val = exec("gpio write 23 1"); | |
| echo "Licht an"; | |
| } | |
| else if(isset($_GET["Lichtaus"])){ | |
| $val = exec("gpio write 23 0"); | |
| echo "Licht aus"; | |
| } | |
| echo "<hr/>"; | |
| $val = exec("gpio read 23"); | |
| echo " gpio23 = $val "; | |
| echo " <hr />" | |
| ?> | |
| </body> | |
| </html> |