Skip to content

Instantly share code, notes, and snippets.

@dmitryvk
Created October 8, 2014 19:55
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dmitryvk/38ea700369bca0383be2 to your computer and use it in GitHub Desktop.
Save dmitryvk/38ea700369bca0383be2 to your computer and use it in GitHub Desktop.
$ cd ~/.mozilla/firefox/*.default
$ $ sqlite3 places.sqlite "select date(t0.visit_date / 1000000, 'unixepoch', 'localtime'), count(*) from moz_historyvisits t0 join moz_places t1 on t0.place_id=t1.id and t1.url='http://twitter.com/' group by date(t0.visit_date / 1000000, 'unixepoch', 'localtime') order by 1 desc limit 10"
2014-10-08|5
2014-10-07|12
2014-10-06|2
2014-10-05|3
2014-10-04|4
2014-10-03|13
2014-10-02|8
2014-10-01|10
2014-09-30|7
2014-09-29|13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment