I hereby claim:
- I am djbrowning on github.
- I am djb (https://keybase.io/djb) on keybase.
- I have a public key whose fingerprint is 3B95 3A1D A1EE 2CDC 4655 BF0B FB54 9CA9 F810 8E74
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
| gem list | cut -d" " -f1 | xargs gem uninstall -aIx |
| def call(env) | |
| @render_pdf = false | |
| set_request_to_render_as_pdf(env) if env['PATH_INFO'].match(/\.pdf$/) | |
| status, headers, response = @app.call(env) | |
| request = Rack::Request.new(env) | |
| if @render_pdf && headers['Content-Type'] =~ /text\/html|application\/xhtml\+xml/ | |
| body = response.body | |
| env ARCHFLAGS="-arch x86_64" gem install mysql -- --with-mysql-config=/usr/local/mysql/bin/mysql_config |