This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
git config --global http.proxy http://192.168.100.1:8080 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ALTER USER 'root'@'localhost' IDENTIFIED with mysql_native_password BY 'mysql'; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<h1>PHP-Skript mit Formular</h1> | |
<h2>Formular</h2> | |
<form method="post" action=""> | |
<input type="text" name="vorname" value=""> | |
<input type="text" name="nachname" value=""> | |
<input type="submit" name="begruessen" value="Begrüßen"> | |
</form> | |
<h2>Auswertung</h2> | |
<?php |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// READ FROM LOCALSTORAGE | |
if(localStorage.getItem('data')){ | |
let dataString = localStorage.getItem('data'); | |
dataArray = JSON.parse(dataString); | |
}else{ | |
dataArray = []; | |
} | |
// WRITE TO LOCALSTORAGE | |
let dataString = JSON.stringify(dataArray); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for datei in $(ls -1 verzeichnis) | |
do | |
echo "<li><a href=\"/wp-content/uploads/2018/08/$datei\"></a> ()</li>" | |
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# creates a file ${NAME}.txt for every subdirectory in current directory | |
# the content of all .html, .php, .css and .js-files is included in this one file | |
for NAME in $( ls -1 ); do | |
if [ -d $NAME ]; then # only directories | |
echo '=========================' > ${NAME}.txt | |
echo ' '$NAME >> ${NAME}.txt | |
echo '=========================' >> ${NAME}.txt |