Alexander Prinzhorn

Results 617 comments of Alexander Prinzhorn

Do we even need a configuration or convention for this? Can't we serve all JavaScript through browserify? If the file doesn't contain any `require` statements, then it will just serve...

Following up my comment on live reload (https://github.com/sintaxi/harp/issues/80#issuecomment-58925661) I'm now doing this ``` watchify index.js -o bundle.js ``` in combination with ``` browser-sync start --proxy 'localhost:9000' --files 'bundle.js' ``` and...

Took a quick look at it https://github.com/sintaxi/terraform/blob/cbd673212b246e76d64c33a43c9059625640e32c/lib/template/processors/ejs.js#L8 :eyes: Introduced here https://github.com/sintaxi/terraform/commit/13bfd03367c9e819adfd6f9d646352363076c76e#diff-7bc4d9d7c5ecce5be75d3e86cf54c1ba33481b10d78426d46290850f2ec17a9bR8 > rmWhitespace Remove all safe-to-remove whitespace, including leading and trailing whitespace. It also enables a safer version of -%>...

> should we add a note about cert pinning here? I don't know if any Electron apps actually successfully employ certificate pinning and how relevant it is for desktop applications...

Just parking this here https://github.com/mitmproxy/mitmproxy/blob/fbcffee87f6ca0e8a4bb48123ddd7778ae64a946/mitmproxy/flow.py#L28

Just parking this here https://github.com/mitmproxy/mitmproxy/blob/fbcffee87f6ca0e8a4bb48123ddd7778ae64a946/mitmproxy/flow.py#L228-L234

> Primary pain points are that the complex example is mentioning `HTTPFlow` (whereas previously there was `WebSocketFlow`) which seems surprising and the internal feeling of the API (why am I...

I'm throwing something in there that would make the code super readable. Somewhat psudo code with some #4504 sprinkled all over it: ```py flow.websocket.inject( content=b"test", destination=CLIENT ) ``` And there's...

@dkasak as a user, how would you feel about the following idea: ```py new_message = WebSocketMessage.make( content=b"test", # More properties ); flow.websocket.inject(new_message) ``` This is a little more to type...

These messages come from Chromium (or whatever browser mitmweb launched) and should be irrelevant. Try `mitmweb --no-web-open-browser` and then manually open http://127.0.0.1:8081/. Does it still show a blank page? For...