Brandon Ros

Results 284 comments of Brandon Ros

``` var readBody = function(req) { return new Promise(function(resolve, reject) { var body = []; req.on('data', function(chunk) { body.push(chunk); }); req.on('error', function(err) { reject(err); }); req.on('end', function() { resolve(Buffer.concat(body).toString()); });...

Is there a way to get `cargo build` to blend `Cargo.toml` `version` with `[[bin]]` name output? so that the `cargo build --release` makes a `project-name-version.dll` for example?

> However, it is also possible to recieve mouse events from terminal applications. The shell could integrate text selection to provide a better experience. However, I can't think of any...

Would you be interested in supporting in `luajit-src` (and then pulling it into `mlua` behind a feature flag) a LuaJIT 2.0.5 branch?

> I'm happy to contribute via pull request, but I'd need some direction on how you get information about Tradingview's backend / API. I'm almost positive he reverse engineers it...

# Create ```shell curl 'https://pine-facade.tradingview.com/pine-facade/gen_alert/?user_name=brandonros1' \ -H 'authority: pine-facade.tradingview.com' \ -H 'accept: application/json, text/javascript, */*; q=0.01' \ -H 'accept-language: en-US,en;q=0.9' \ -H 'cache-control: no-cache' \ -H 'content-type: application/x-www-form-urlencoded; charset=UTF-8' \...

Does not look like the easiest thing to replicate/reverse.

Was a workaround ever found?

doesn't actually work. curious what I am doing wrong. not telling TypeScript that the T generic is a class?