Stan Hu
Stan Hu
## Description parser 3.3.1.0 introduced https://github.com/whitequark/parser/pull/1000, which causes this failure: ``` % bundle exec ruby -Itest test/unit/profiles/profile_test.rb inspec/lib/inspec/utils/profile_ast_helpers.rb:7:in `': uninitialized constant Parser::AST::Processor::Mixin (NameError) include Parser::AST::Processor::Mixin ^^^^^^^ ``` Fix this by...
# Describe the problem parser 3.3.1.0 introduced https://github.com/whitequark/parser/pull/1000, which causes this failure: ```shell % bundle exec ruby -Itest test/unit/profiles/profile_test.rb /Users/stanhu/github/inspec/lib/inspec/utils/profile_ast_helpers.rb:7:in `': uninitialized constant Parser::AST::Processor::Mixin (NameError) include Parser::AST::Processor::Mixin ^^^^^^^ Did you...
The current sanitizer strips out crucial SVG 1.1 elements (e.g. `style`) and doesn't take into account the full mapping of allowed attributes and elements. I wrote a custom Loofah scrubber...
This commit adds a `preload_links_header` option to `preload_link_tag` to disable sending of the Link header in the HTTP response. Currently `ActionView::Helpers::AssetTagHelper.preload_links_header` only controls whether `javascript_include_tag` and `stylesheet_link_tag` send the Link...
The method was getting large, and in preparation for #141, I thought it would be easier to break up the method into several other methods.
Over the years, we've received many bug bounty reports relating to Server side request forgery (SSRF) attacks. In a nutshell, these attacks use short-lived DNS entries to direct Web hooks...
Sentry has a background job that checks the state of all OAuth2 identities. If the OAuth2 refresh protocol doesn't work, it marks the identity as needing to reauthenticate. The refresh...
I have multiple database with different users: ``` pgbouncer=# show pools; database | user | cl_active | cl_waiting | sv_active | sv_idle | sv_used | sv_tested | sv_login | maxwait...
Thanks for this project! We're looking at shipping a PgBouncer exporter in GitLab but noticed the metric names in this exporter don't adhere to Prometheus naming conventions: https://prometheus.io/docs/practices/naming/ https://github.com/spreaker/prometheus-pgbouncer-exporter#exported-metrics is...
If two threads are running, with one calling waitpid(-1, Process::WNOHANG), and another calling waitpid($some_pid), and then $some_other_pid exits, we would expect the waitpid(-1, Process::WNOHANG) call to retrieve that exit status....