Skip to content

Instantly share code, notes, and snippets.

Avatar

Miguel de Icaza migueldeicaza

View GitHub Profile
@nicerobot
nicerobot / chrome-cookies.sh
Created Dec 7, 2011
Convert Google Chrome sqlite Cookies into cookies.txt. Useful for utilities like curl.
View chrome-cookies.sh
sqlite3 -separator ' ' ${COOKIES:-Cookies} \
'select host_key, "TRUE", path, "FALSE", expires_utc, name, value from cookies'