dotfiles

<-- duh.
git clone https://hhvn.uk/dotfiles
git clone git://hhvn.uk/dotfiles
Log | Files | Refs | Submodules | LICENSE

randomagent (271B)


      1 #!/bin/rc
      2 
      3 chars = `$nl{head -c 200 /dev/urandom | od -Ad | tr ' ' '\n' | awk -vmin=20 -vmax=40 '{i += $1}; END {print (i % min) + (max - min)}'}
      4 agent = `$nl{head -c$chars /dev/urandom | base64 | tr -d '='}
      5 
      6 echo ':set content.headers.user_agent ' ^ $agent > $QUTE_FIFO