Skip to content

Instantly share code, notes, and snippets.

@garncarz
garncarz / lotka_volterra_music.mp3
Last active July 24, 2025 13:39
Lynx-hare cycle / Lotka–Volterra equations producing varying music on the Help! chords, using some of my Haskell synth definitions, coded by Copilot
This file has been truncated, but you can view the full file.

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;