> nc google.de 80
GET /search?q=test
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
declare -a elems=( | |
"a 1" | |
"b 2" | |
"c 3 word" | |
"d 4" | |
) | |
for elem in "${elems[@]}"; do | |
read -a strarr <<< "$elem" # uses default whitespace IFS | |
echo ${strarr[0]} ${strarr[1]} ${strarr[2]} |
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
yes 'This is a test file.' | head -c 10000000 > testfile.txt |
cat << EOF >> ~/.profile
alias k=kubectl
alias kc=kubectl
alias ll='ls -als'
alias pd='kubectl delete -k .'
alias po='kubectl get pods'
alias pw='kubectl get pods -w'
alias svc='kubectl get svc'
alias events='kubectl get events --watch'
curl -0 -X POST -u $STUDIO_USERNAME:$STUDIO_PASSWORD $SERVICE_URL/studio/api/2/repository/add_remote \
-H 'Content-Type: application/json; charset=utf-8' \
--resolve $CONTAINER_FQDN_AUTHORING:443:$CONTAINER_URL_AUTHORING \
--data-binary @- << EOF
{
"siteId": "$SITE",
"remoteName": "$REMOTE_NAME",
"remoteUrl": "$GIT_REPO",
"authentication_type": "basic",
curl --resolve example.com:443:127.0.0.1 https://example.com
git log --follow --patch -- <path>
oip=<>;nip=<>;sudo gsed -i "s/$oip/$nip/g" /etc/hosts
sudo nvram SystemAudioVolume=" "
https://www.howtogeek.com/260693/how-to-disable-the-boot-sound-or-startup-chime-on-a-mac/
NewerOlder