$ echo 'gem "webpacker"' >> Gemfile
$ bundle install
$ rails webpacker:install
$ yarn add bootstrap@4.0.0-beta jquery popper.jsdiff --git a/config/webpack/environment.js b/config/webpack/environment.js
index d16d9af..86bf1a7 100644| ignored_files = [ | |
| "lib/tetris/shape.ex" | |
| ] | |
| [ | |
| inputs: | |
| Enum.flat_map( | |
| ["{mix,.formatter}.exs", "{config,lib,test}/**/*.{ex,exs}"], | |
| &Path.wildcard(&1, match_dot: true) | |
| ) -- ignored_files |
| # which goes into dev null | |
| # $? is the magic that tells us if it worked 0 = exists | |
| if [[ `which nvm &>/dev/null && $?` != 0 ]]; then | |
| source ~/.nvm/nvm.sh | |
| fi |
| #!/usr/bin/env bash | |
| # To fix the " gpg: WARNING: unsafe permissions on homedir '/home/path/to/user/.gnupg' " error | |
| # Make sure that the .gnupg directory and its contents is accessibile by your user. | |
| chown -R $(whoami) ~/.gnupg/ | |
| # Also correct the permissions and access rights on the directory | |
| chmod 600 ~/.gnupg/* | |
| chmod 700 ~/.gnupg |
| # <type>: <subject> (Max 50 char, Why is this change necessary?) | |
| # |<---- Using a Maximum Of 50 Characters ---->| | |
| # |<---- Try To Limit Each Line to a Maximum Of 72 Characters ---->| | |
| # Explain how the commit addresses the issue | |
| # IMPORTANT!! Describe any side effects of the change. | |
| # Provide links or keys to any relevant tickets, articles or other resources | |
| # Examples: "Jira issue [ABC-123]" or "Closes Github issue #123" |
| "use strict"; | |
| // Load plugins | |
| const autoprefixer = require("autoprefixer"); | |
| const browsersync = require("browser-sync").create(); | |
| const cp = require("child_process"); | |
| const cssnano = require("cssnano"); | |
| const del = require("del"); | |
| const eslint = require("gulp-eslint"); | |
| const gulp = require("gulp"); |
$ echo 'gem "webpacker"' >> Gemfile
$ bundle install
$ rails webpacker:install
$ yarn add bootstrap@4.0.0-beta jquery popper.jsdiff --git a/config/webpack/environment.js b/config/webpack/environment.js
index d16d9af..86bf1a7 100644| # An example global gitignore file | |
| # | |
| # Place a copy if this at ~/.gitignore_global | |
| # Run `git config --global core.excludesfile ~/.gitignore_global` | |
| # Compiled source # | |
| ################### | |
| *.com | |
| *.class | |
| *.dll |
CTRL-C sends INT ("interrupt") signal. Ignores input and creates a new prompt.CTRL-D sends EOT ("end of transmission") signal. Exits.CTRL-Z sends TSTP ("terminal stop") signal. Nothing.| # You will need fswatch installed (available in homebrew and friends) | |
| # The command below will run tests and wait until fswatch writes something. | |
| # The --stale flag will only run stale entries, it requires Elixir v1.3. | |
| fswatch lib/ test/ | mix test --stale --listen-on-stdin |