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
--- | |
include: | |
- "**/*.rb" | |
exclude: | |
- spec/**/* | |
- test/**/* | |
- vendor/**/* | |
- ".bundle/**/*" | |
require: [] | |
domains: [] |
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
# .eslintrc.yml | |
env: | |
browser: true | |
es2021: true | |
jquery: true | |
extends: | |
- standard | |
parserOptions: | |
ecmaVersion: latest |
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
--- | |
EnableDefaultLinters: true | |
linters: | |
ErbSafety: | |
enabled: true | |
better_html_config: .better-html.yml | |
Rubocop: | |
enabled: true | |
rubocop_config: | |
inherit_from: |
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
linters: | |
ConsecutiveComments: | |
enabled: false | |
IdNames: | |
enabled: false | |
ImplicitDiv: | |
enabled: false | |
severity: error | |
InlineStyles: | |
enabled: false |
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
sudo apt-get update | |
sudo apt-get install libjemalloc-dev | |
RUBY_CONFIGURE_OPTS='--with-jemalloc' rbenv install 3.2.2 | |
# test (look for jemalloc warnings) | |
MALLOC_CONF=invalid_flag:foo ruby -v |
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
# TO USE | |
# xcode-select --install | |
# /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
# brew bundle | |
tap "homebrew/core" | |
tap "homebrew/bundle" | |
tap "homebrew/cask" | |
tap "homebrew/services" | |
tap "homebrew/cask-fonts" |
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
# Omakase Ruby styling for Rails | |
inherit_gem: | |
rubocop-rails-omakase: rubocop.yml | |
# Your own specialized rules go here | |
Layout/SpaceInsideArrayLiteralBrackets: | |
Enabled: false | |
Style/StringLiterals: | |
Enabled: false |
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
<%= f.text_field :fname, { | |
placeholder: 'First Name', | |
class: 'form-control', | |
required: true, | |
spellcheck: false, | |
autocomplete: 'off', | |
autocomplete: 'chrome-off', | |
autocorrect: 'off', | |
autocapitalize: 'off', | |
'data-gramm': false, |
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
eval "$(/opt/homebrew/bin/brew shellenv)" | |
eval "$(rbenv init -zsh)" | |
export PATH="$HOME/.rbenv/bin:$PATH" | |
export PATH="/opt/homebrew/bin:$PATH" | |
export PATH="/opt/homebrew/sbin:$PATH" | |
#export PATH="/opt/homebrew/opt/openssl@1.1/bin:$PATH" | |
#export PATH="$(brew --prefix openssl@1.1)/bin:$PATH" | |
#export RUBY_CONFIGURE_OPTS="--with-openssl-dir=$(brew --prefix openssl@1.1)" | |
If you need to have openssl@3 first in your PATH, run: |
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
// To view the default settings, hold "alt" while clicking on the "Settings" button. | |
// For documentation on these settings, see: https://aka.ms/terminal-documentation | |
{ | |
"$schema": "https://aka.ms/terminal-profiles-schema", | |
"defaultProfile": "{2c4de342-38b7-51cf-b940-2309a097f518}", | |
"profiles": |
NewerOlder