Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am garncarz on github.
  • I am gar_o (https://keybase.io/gar_o) on keybase.
  • I have a public key ASBKpFPBHcVm6ixOalv6pVKSOuqgkE9J61xjWsZnrRNTOwo

To claim this, I am signing this object:

@garncarz
garncarz / firefox-clean.sql
Last active October 6, 2015 21:48
Making Firefox faster again
select count(*) from moz_historyvisits;
-- 14304
select count(*) from moz_historyvisits where visit_date >= (
select min(visit_date) from (
select visit_date from moz_historyvisits order by visit_date desc limit 2000
)
);
-- 2000
-- making sure it'll work
@garncarz
garncarz / common
Last active August 29, 2015 14:24
Roundcube on Nginx
index index.html index.htm;
location ~ /\.|^\. {
deny all;
}
access_log /var/log/nginx/$host-access_log;
error_log /var/log/nginx/error_log;