Skip to content

Instantly share code, notes, and snippets.

Matt Juszczak mjuszczak

Block or report user

Report or block mjuszczak

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View montyhall.rb
require 'bigdecimal'
switch = true
wins = 0
1000.times do |k|
doors = [false, false, false]
doors[rand 3] = true
View gist:211e086a80cf5102b127
### Keybase proof
I hereby claim:
* I am mjuszczak on github.
* I am mjuszczak ( on keybase.
* I have a public key whose fingerprint is B8C0 CB75 5045 A210 C8CC 73A1 14F3 6AF6 A14D F20C
To claim this, I am signing this object:
mjuszczak / gist:7143459
Created Oct 24, 2013
PostgreSQL Differences
View gist:7143459
[root@blah tmp]# diff postgresql.conf postgresql.conf.pgtune
< max_connections = 100 # (change requires restart)
> # max_connections = 100 # (change requires restart)
< shared_buffers = 32MB # min 128kB
> # shared_buffers = 32MB # min 128kB
You can’t perform that action at this time.