I hereby claim:
- I am joeybeninghove on github.
- I am joeybeninghove (https://keybase.io/joeybeninghove) on keybase.
- I have a public key ASBdYH3-nFNSqHKVs7DrM5uCmMR7jaz4BcdPKrendX4Lcgo
To claim this, I am signing this object:
I hereby claim:
To claim this, I am signing this object:
plugins: | |
postcss-import: {} | |
postcss-cssnext: {} | |
tailwindcss: "./app/javascript/src/tailwind.js" |
body.debug * { | |
outline: 1px solid red !important; | |
} |
require 'irb/ext/save-history' | |
IRB.conf[:SAVE_HISTORY] = 100 | |
IRB.conf[:HISTORY_FILE] = "#{ENV['HOME']}/.irb-history" |
class Object | |
def interesting_methods | |
case self.class | |
when Class | |
self.public_methods.sort - Object.public_methods | |
when Module | |
self.public_methods.sort - Module.public_methods | |
else | |
self.public_methods.sort - Object.new.public_methods | |
end |
<!DOCTYPE html> | |
<html> | |
<head> | |
<title>App</title> | |
<%= csrf_meta_tags %> | |
<%= stylesheet_pack_tag "application", media: "all", "data-turbolinks-track": "reload" %> | |
<%= javascript_pack_tag "application", "data-turbolinks-track": "reload" %> | |
</head> |
const { environment } = require('@rails/webpacker') | |
const webpack = require('webpack') | |
environment.plugins.prepend( | |
'Provide', | |
new webpack.ProvidePlugin({ | |
$: 'jquery', | |
jQuery: 'jquery', | |
jquery: 'jquery' | |
}) |
# Define an application-wide content security policy | |
# For further information see the following documentation | |
# https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy | |
Rails.application.config.content_security_policy do |p| | |
p.default_src :self, :https | |
p.font_src :self, :https, :data | |
p.img_src :self, :https, :data | |
p.object_src :none | |
p.script_src :self, :https |
plugins: | |
postcss-import: {} | |
postcss-cssnext: {} | |
tailwindcss: "./app/javascript/src/tailwind.js" |
@tailwind preflight; | |
@tailwind utilities; |