Skip to content

Instantly share code, notes, and snippets.

@selimslab selimslab/curl.sh

Last active Feb 21, 2020
Embed
What would you like to do?
curl -Is www.google.com | head -1
# HTTP/1.1 200 OK
heroku login
heroku git:remote -a remotename
git push heroku master
heroku container:login
heroku container:push name
heroku container:release name
sudo -u postgres psql
CREATE USER steve WITH PASSWORD 'secret';
CREATE DATABASE testdb WITH OWNER secret;
cat words.txt | tr -s ' ' '\n' | sort | uniq -c | sort -r | awk '{print , }'
# device info
cat /proc/meminfo
cat /proc/cpuinfo
# initial setup
rsync --archive --chown=selim:selim ~/.ssh /home/selim
write
SomeCommand > SomeFile.txt
append
SomeCommand >> SomeFile.txt
youtube-dl --extract-audio --audio-format mp3
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.