| get-random-ad.sh - tgtimes - The Gopher Times | |||
| git clone git://bitreich.org/tgtimes git://enlrupgkhuxnvlhsf6lc3fziv5h2hhfrinws65d7roiv6bfj7d652fid.onion/tgtimes (git://bitreich.org) | |||
| Log | |||
| Files | |||
| Refs | |||
| Tags | |||
| README | |||
| --- | |||
| get-random-ad.sh (215B) | |||
| --- | |||
| 1 #!/bin/sh | |||
| 2 | |||
| 3 source ./opus | |||
| 4 | |||
| 5 cd opus${v} | |||
| 6 adfilename="$(($RANDOM % 8 + 2))-advertisement-$RANDOM.raw" | |||
| 7 curl -s gophers://bitreich.org/0/ads/random \ | |||
| 8 > $adfilename | |||
| 9 printf "opus%s/%s generated.\n" "${v}" "${adfilename}" | |||
| 10 |
Response: application/gopher-menu
| Original URL | gopher://bitreich.org/1/scm/tgtimes/file/auto-content/get... |
|---|---|
| Content-Type | application/gopher-menu; charset=utf-8 |