Raine Virta

Results 98 comments of Raine Virta

Any takers? I might take a stab at this when I have time to learn Go at the same time.

A minor annoyance in that alias is extra empty line that is printed with `cd`.

> If src is defined but loading the image fails for some reason, the onload event is not fired so the placeholder image would still be visible. This is not...

Watching can be easily accomplished with [`npm-watch`](https://www.npmjs.com/package/npm-watch) but what I like about `mocha -w` is that it makes test feedback instantaneous, probably because it doesn't spin up a new process...

I had to do: ```typescript const debouncedSaveWindowState = debounce( (event: any) => mainWindowState.saveState(event.sender), 500 ) mainWindow.on('resize', debouncedSaveWindowState) mainWindow.on('move', debouncedSaveWindowState) ``` @Christilut's code assumes that the window is sent as argument...

I'm getting these locally and on Heroku with node.js v12.8.0. It's an app using express. ``` 2019-09-07T07:27:07.061749+00:00 app[web.1]: level=info message="Blocked for 155.15935900878907ms, operation started here: 2019-09-07T07:27:07.061762+00:00 app[web.1]: at Proxy.stat (fs.js:829:15)...

So, no way to know when the file has actually been saved when working with CamanJS in node? edit: just read the code and will probably use `this.canvas.toBuffer()` directly

`webkit2png` doesn't use Safari's cookies for me. Maybe it has stopped working at some point?

I tried `--cookie-file` with output from the Chrome extension and it sent empty string as cookie string. `--cookie=FOO=BAR` works though.

For anyone interested, in my fork [`raine/master`](https://github.com/raine/webkit2png), I have this change and I added option `--cookie-raw` to allow setting the raw value of the Cookie header. I added it because...