ar1=(1); ar2=(1); [ $ar1 = $ar2 ] && echo true || echo false
true
# oneliner | |
for link in $(curl https://dribbble.com/jobs.rss | grep link | cut -d'>' -f2 | cut -d'<' -f1); do echo $link; curl -I --location $link | grep -E '(Location|HTTP)' | cut -d' ' -f2; echo "--------------------"; done | |
# expanded | |
for link in $(curl https://dribbble.com/jobs.rss | grep link | cut -d'>' -f2 | cut -d'<' -f1); # cut the URL out of "<link>http://example.com</link>" from our jobs RSS feed | |
do echo $link # print it | |
curl -I --location $link | grep -E '(Location|HTTP)' | cut -d' ' -f2 # get the URL, follow any redirects, and print out each redirect and the ending HTTP status code | |
echo "--------------------" | |
done |
Show overview: http://www.imdb.com/title/tt3322312/
I hereby claim:
To claim this, I am signing this object:
#!/usr/bin/env ruby | |
# | |
# Usage: | |
# strace_parser.rb < file.out | |
# head -n100 file.out | strace_parser.rb | |
# strace_parser.rb file.out | |
class StraceEntry | |
attr_accessor :line | |
attr_accessor :pid, :timestamp, :command, :args, :result, :runtime |
For reference, the ciphertext from the note included with your first package:
GR QRW WKURZ DZDB DQBWKLQJ ZH VHQG BRX
Hint: This encrypted with a Ceaser cipher.