Janko Marohnić

Results 184 comments of Janko Marohnić
trafficstars

Just FYI, in [Shrine](https://github.com/janko-m/shrine) this protection works for any type of file, because you can use generic tools like [MimeMagic](https://github.com/minad/mimemagic) for extracting the MIME type. The main advantage of Fastimage...

@DarthSim Happy to help 😃 Just wanted to add that you can still use Fastimage for extracting dimensions, because it also accepts IO objects: ``` rb remote_file = Down.open("http://example.com/image.jpg") mime_type...

Could you post a self-contained script reproducing the issue from the template included in the contributing guide?

Thanks for providing a reproducible example, I will investigate.

@Seybo Here is how you can configure vim-test to do this: ```vim let test#project_root = "client" let test#javascript#jest#executable = "NODE_ENV=test TZ=UTC $(yarn bin)/jest path/to/my.spec.js" ```

@Seybo You should put this in a project-local `.vimrc`. You just need to make sure you've `set exrc` in your `~/,vimrc` for Vim to automatically pick up project-local `.vimrc` files.

Oh, right, for a moment I thought they are separate apps. Ok, then I think vim-test should support specifying g:project_root only for specific testing framework, probably using a dictionary where...

I just wanted to note that I tried [danabr/multipart-parser](https://github.com/danabr/multipart-parser), and surprisingly I found it to be significantly slower than Rack's multipart parser. I generated a multipart body from a 25MB...

I came back to this one now, sorry for the long wait. The API looks mostly good to me, I'm just wondering why the argument to the signer proc isn't...

For me the last example works on AWS S3, so it seems it's an issue with DigitalOcean Spaces. Here is a self-contained example showing my recommended configuration: ```rb require "shrine"...