Skip to content

Instantly share code, notes, and snippets.

@mazuhl
Created November 14, 2011 00:38
Show Gist options
  • Save mazuhl/1362978 to your computer and use it in GitHub Desktop.
Save mazuhl/1362978 to your computer and use it in GitHub Desktop.
Generate HTTP expires header for date 1 year from now
ruby -e "puts (Time.now + 52*7*24*60*60).strftime('%a, %d %b %Y 23:59:00 GMT')"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment