This file contains hidden or 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
| <!doctype html> | |
| <html data-theme="light"> | |
| <head> | |
| <meta charset="utf-8"> | |
| <link href="https://cdn.jsdelivr.net/npm/daisyui@5.8.0/daisyui.css" rel="stylesheet"> | |
| <link href="https://cdn.jsdelivr.net/npm/daisyui@5.8.0/themes.css" rel="stylesheet"> | |
| </head> | |
| <body class="p-8"> | |
| <ul class="menu bg-base-100 w-56"> | |
| <li class="menu-title">Menu title</li> |
This file contains hidden or 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
| <% # frozen_string_literal: true %> | |
| <html> | |
| <head> | |
| <meta content="text/html; charset=utf-8" http-equiv="Content-Type"/> | |
| <scss> | |
| body { | |
| font-family: Helvetica, Arial, sans-serif; | |
| .message { | |
| width:600px; | |
| border-top: 2px dashed; |
This file contains hidden or 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
| app/views/active_storage/blobs/_blob.html.haml | |
| <%= render "active_storage/blobs/blob", blob: @post.avatar %> | |
| <figure class="attachment attachment--<%= blob.representable? ? "preview" : "file" %> attachment--<%= blob.filename.extension %>"> | |
| <% if blob.representable? %> | |
| <%= image_tag blob.representation(resize_to_limit: local_assigns[:in_gallery] ? [ 800, 600 ] : [ 1024, 768 ]) %> | |
| <% elsif blob.image? %> | |
| <%= image_tag blob, width: "200px" %> | |
| <% elsif blob.audio? %> |
This file contains hidden or 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
| constraints SubdomainRequired do | |
| root to: 'dashboards#show', as: 'subdomain_root' | |
| end | |
| class SubdomainRequired | |
| def self.matches?(request) | |
| request.subdomain.present? && request.subdomain != "www" | |
| end | |
| end |
This file contains hidden or 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
| # All AWS C9 envments | |
| https://eu-central-1.console.aws.amazon.com/cloud9/home?region=us-east-1 | |
| # Instance management | |
| https://console.aws.amazon.com/ec2/home?region=eu-central-1#Instances:sort=instanceId | |
| # Create AWS C9 environment | |
| https://eu-central-1.console.aws.amazon.com/cloud9/home/create | |
| Setting - set tabs to 2 |