Mike Nicholaides

Results 12 comments of Mike Nicholaides

Here's a better solution: ``` ruby def links_in_email(email) part = email.default_part if part.content_type =~ /text\/html/ Nokogiri::HTML::Document.parse(part.body.to_s).search('a').map{|a| a[:href] } else URI.extract(part.body.to_s, ['http', 'https']) end end ```

+1 I have the same issue

For future Googlers, I fixed the issue by using the `useFlashForFirefox: false` flag.

+1. Still slow, even for small files.

Oh, and Crack should be in the gemspec as a requirement if it's going to be used.

Also, can we be certain that every OS will have `base64`?

Sorry-- I meant, the shell command/executable `base64`. I was wondering how certain we can be that it's available on every OS. Brian's point that we can rely on Python being...

Oh, I forgot-- IIRC command line arguments on Mac/Linux are C-strings, so a `\0` will terminate the string anyway. But, jo still has this problem when a shell isn't involved,...

zsh on MacOS Sonoma ```console % $SHELL --version zsh 5.9 (x86_64-apple-darwin23.0) ```

> will inevitably lead to a different set of issues raised here, viz. "you can't get there (embedded nulls) from here (your current shell, except zsh)". I get that. I...