A Pen by Kentaro Fujiy on CodePen.
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
# Model | |
class Profile < ApplicationRecord | |
has_one_attached :avatar | |
accepts_nested_attributes_for :avatar_attachment, allow_destroy: true | |
end | |
# Controller | |
class ProfilesController < ApplicationController | |
before_action :set_profile, only: [:show, :edit, :update, :destroy] |
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
{ | |
"editor.suggestSelection": "first", | |
"remote.SSH.remotePlatform": { | |
"165.227.100.91": "linux", | |
"192.168.15.18": "linux", | |
"seminovos-kentaro": "linux", | |
"142.93.108.210": "linux", | |
"servidor-home": "linux", | |
"sotreq-novosite-rails": "linux", | |
"sotreq-novosite-vue": "linux", |
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
body { | |
background-color: #F8F8F8; | |
font-family: 'Open Sans', sans-serif; | |
font-size: 14px; | |
font-weight: normal; | |
line-height: 1.2em; | |
margin: 15px; | |
} | |
h1, p, td, th, label, table { |
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
<style id="jsbin-css"> | |
#myVideo { | |
position: absolute; | |
width: 100%; | |
} | |
#myVideo2 { | |
position: absolute; | |
width: 100%; | |
} | |
#myVideo3 { |
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
![Alt text](path.ext?raw=true) |
NewerOlder