SASS Versions of
- Fontawesome 5
- Bootstrap 4
in Phoenix 1.3 and 1.4 via Webpack
SASS Versions of
in Phoenix 1.3 and 1.4 via Webpack
image: docker:latest | |
# Remember to set required vars as secret vars on GitLab CI settings | |
variables: | |
DOCKER_DRIVER: overlay | |
CONTAINER_TEST_IMAGE: ${CI_REGISTRY}/${CI_PROJECT_NAMESPACE}/${CI_PROJECT_NAME}:${CI_COMMIT_REF_NAME}_${CI_COMMIT_SHA}_test | |
CONTAINER_DEPLOY_IMAGE: ${HEROKU_REGISTRY}/${CI_PROJECT_NAME}/web | |
HEROKU_API_KEY: ${HEROKU_AUTH_TOKEN} | |
services: |
# Ruby CircleCI 2.0 configuration file | |
# | |
# Check https://circleci.com/docs/2.0/language-ruby/ for more details | |
defaults: &defaults | |
working_directory: ~/split_app | |
parallelism: 2 | |
docker: | |
- image: circleci/ruby:2.5.0-node-browsers |
module Commands | |
module Meeting | |
AcceptSchema = Dry::Validation.Schema do | |
required(:user_id).filled | |
required(:status).value(eql?: :scheduled) | |
end | |
class Accept < Command | |
def call | |
return validate if validate.failure? |
This gist will collects all issues we solved with Rails 5.2 and Webpacker
# Last few parameters(--skip-* part) is only my habbit not actully required
$ rails new <project_name> --webpack=stimulus --database=postgresql --skip-coffee --skip-test
/* debug.css | MIT License | zaydek.github.com/debug.css */ if (!("is_debugging" in window)) { is_debugging = false; var debug_el = document.createElement("style"); debug_el.append(document.createTextNode(`*:not(g):not(path) { color: hsla(210, 100%, 100%, 0.9) !important; background: hsla(210, 100%, 50%, 0.5) !important; outline: solid 0.25rem hsla(210, 100%, 100%, 0.5) !important; box-shadow: none !important; filter: none !important; }`)); } function enable_debugger() { if (!is_debugging) { document.head.appendChild(debug_el); is_debugging = true; } } function disable_debugger() { if (is_debugging) { document.head.removeChild(debug_el); is_debugging = false; } } !is_debugging ? enable_debugger() : disable_debugger(); |
s = status --short --branch --ignore-submodules=untracked | |
find = log --pretty=\"format:%Cgreen%H\n%s\n\n%b\" --name-status --grep | |
amend = commit --amend --no-edit | |
undo = reset HEAD~ | |
upload = "!git push rakyll $(git rev-parse --abbrev-ref HEAD)" | |
prune = "!git co master && git branch --merged | grep -v '\\*' | xargs -n 1 git branch -d" | |
delete = branch -D | |
pr = "!git fetch origin pull/$1/head:pr$1" | |
sync = "!git pull -q -r origin master" |
FROM madnight/docker-alpine-wkhtmltopdf as wkhtmltopdf_savior | |
# STAGE for bundle & yarn install | |
FROM ruby:2.4.3-alpine3.7 as builder | |
ENV CA_CERTS_PATH /etc/ssl/certs/ | |
ENV RAILS_ENV production | |
ENV RAILS_LOG_TO_STDOUT true | |
ENV RAILS_SERVE_STATIC_FILES true |
observatory=> SELECT id, sha256_subject_spki FROM certificates WHERE id > 300 AND id < 305; | |
id | sha256_subject_spki | |
-----+------------------------------------------------------------------ | |
301 | 3EE6B341402851B27E64021A3023AAC7C1A0D2DEF27D5BCE5C2DBEB0B22DCC71 | |
302 | 47C7A149CA82FA7BA940A4D711D010625C6CB0B748B17016C46E25CE7ACD2B0C | |
303 | 8AB4E88556CBF864A5E9FD50171CD4ED8424E8F0801B99E236C810915950AE4B | |
304 | 5E6E52E50B5B9012817E63178BCB63BDE23CF1CC1F9458CED9B93A2BBA7DC4C6 | |
(4 rows) | |
observatory=> UPDATE certificates SET sha256_subject_spki = newvalues.spki |