Skip to content

Instantly share code, notes, and snippets.

@Nurlan199206
Last active March 20, 2020 17:42
Show Gist options
  • Save Nurlan199206/c430807f6c52f5e43833ab20c31fd83c to your computer and use it in GitHub Desktop.
Save Nurlan199206/c430807f6c52f5e43833ab20c31fd83c to your computer and use it in GitHub Desktop.
curl example
while true; do curl http://35.204.160.171 -d index.php; sleep 1; done
curl -sL https://nationalbank.kz/rss/rates_all.xml | xmllint --format - --xpath "string(//rss/channel/item" | awk '{print$1}' | grep -E 'title|description' | sed -e 's/[^A-Z^0-9^.]//g' | awk 'NR >= 11 && NR <= 12'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment