This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<% @name = "Integration logs for #{@integrator.integration[:name]}" %> | |
<% @tab = :admin %> | |
<div class='container container--medium'> | |
<div class='toolbar'> | |
<%= render "breadcrumbs", include_self: true %> | |
</div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class PasswordsController < Test::BaseController | |
def index | |
records = AssetPassword.all | |
domain = "google.com" | |
records = records | |
.where("url ~ 'stripe.co([\/?]|$)'") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
REQUIREMENTS: | |
- Query must be done using SQL (preferably utilizing ActiveRecord, but can also be raw SQL queries) | |
JOB DESCRIPTION: | |
We have a few RAILS models: | |
# company.rb (app/models) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Version 2019/08/01 - Changelog: https://github.com/linuxserver/docker-letsencrypt/commits/master/root/defaults/default | |
# redirect all traffic to https | |
server { | |
listen 80 default_server; | |
listen [::]:80 default_server; | |
server_name _; | |
return 301 https://$host$request_uri; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -eu | |
# Docker | |
sudo apt remove --yes docker docker-engine docker.io \ | |
&& sudo apt update \ | |
&& sudo apt --yes --no-install-recommends install \ | |
apt-transport-https \ | |
ca-certificates \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Recordingable | |
extend ActiveSupport::Concern | |
included do | |
has_many :recordings, as: :recordingable | |
after_commit :record_item | |
end |