This file contains hidden or 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
x=0 ; while [ $x -ne 5 ]; do sleep 1 && echo -ne "\r"$x ; x=$(($x+1)); done;ef="Das $x Sekunden Ei ist fertig !"; if [ $(which espeak) ] ; then espeak -vde "$ef" ; else echo -e "\n$ef" ;fi | |
# oder so etwas kürzer, etwas moderner | |
x=0 ; while [ $x -ne 5 ]; do sleep 1 && echo -ne "\r"$x ; x=$(($x+1)); done;ef="Das $x Sekunden Ei ist fertig !";which espeak > /dev/null 2>&1 && espeak -vde "$ef"||echo -e "\n$ef" | |
# noch kompakter | |
for x in {1..5}; do sleep 1 && echo -ne "\r"$x ;done;ef="Das $x Sekunden Ei ist fertig !";which espeak > /dev/null 2>&1 && espeak -vde "$ef"||echo -e "\n$ef" | |
#Bei Sprchausgabe zusätzlich mit Text "Das x Sekundenei ist fertig" | |
for x in {1..15}; do sleep 1 && echo -ne "\r"$x ;done;ef="Das $x Sekunden Ei ist fertig !";which espeak > /dev/null 2>&1 && echo -e "\n$ef" && espeak -vde "$ef" || echo -e "\n$ef" | |
#Countdow espeak only | |
for x in {10..0}; do sleep 1 && espeak -ven "$x";done;ef="We have a lift off !" ;espeak -ven "$ef" |
This file contains hidden or 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
# Using an LDAP test server we will authenticate the user newton | |
# http://www.forumsys.com/tutorials/integration-how-to/ldap/online-ldap-test-server/ | |
# method 1: using ldapwhoami | |
# should return "Result: Success (0)" if authentication was successful | |
ldapwhoami -vvv -h ldap.forumsys.com -D "uid=newton,dc=example,dc=com" -x -w password | |
# method 2: using ldapsearch | |
# should return "result: 0 Success" if authentication was successful | |
ldapsearch -h ldap.forumsys.com -x -D uid=newton,dc=example,dc=com -w password -b "dc=example,dc=com" "(uid=newton)" |
This file contains hidden or 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
Example infrastructure outage incident report | |
Friday, May 13, 2077 | |
By the Example Security Team | |
Earlier this week we experienced an outage in our API infrastructure. Today we’re providing an incident report that details the nature of the outage and our response. | |
The following is the incident report for the Example Security outage that occurred on April 30, 2077. We understand this service issue has impacted our valued developers and users, and we apologize to everyone who was affected. |