Skip to content

Instantly share code, notes, and snippets.

View rustemmukhamadiev's full-sized avatar

Rustem Mukhamadiev rustemmukhamadiev

View GitHub Profile
@rustemmukhamadiev
rustemmukhamadiev / nginx.conf
Created May 26, 2022 19:36 — forked from plentz/nginx.conf
Best nginx configuration for improved security(and performance). Complete blog post here http://tautt.com/best-nginx-configuration-for-security/
# to generate your dhparam.pem file, run in the terminal
openssl dhparam -out /etc/nginx/ssl/dhparam.pem 2048
<Response>
<Say voice="alice" language="ru-RU">
Alison code 11
</Say>
</Response>
class RecalculateControlsPassedColumnWithNotApplicable < GrcShared::DoctorBase
def invalid_records
Control.joins(:control_tests, :walkthrough)
.where(walkthroughs: { control_verified: [true, nil] })
.where(control_tests: { not_applicable: true })
.distinct
.ids
end
def perform