Skip to content

Instantly share code, notes, and snippets.

View firecall's full-sized avatar

Alex Counsell firecall

View GitHub Profile
@firecall
firecall / nord_theme_css_variables_hex_rgb.css
Created February 13, 2025 02:42
Nord Theme. CSS Variables in HEX and RGB.
/* https://www.nordtheme.com/ */
:root {
--nord0: #2e3440;
--nord1: #3b4252;
--nord2: #434c5e;
--nord3: #4c566a;
--nord4: #d8dee9;
--nord5: #e5e9f0;
--nord6: #eceff4;
@firecall
firecall / qbt_excluded_file_names.txt
Created January 26, 2025 04:07
qBittorent Excluded File Names List
*.exe
*.lnk
*.php
*.pif
*.scr
*.bat
*.com
*.arj
*.url
*.txt
@firecall
firecall / .solargraph.yml
Created August 18, 2024 04:41
.solargraph.yml
---
include:
- "**/*.rb"
exclude:
- spec/**/*
- test/**/*
- vendor/**/*
- ".bundle/**/*"
require: []
domains: []
@firecall
firecall / .eslintrc.yml
Created August 18, 2024 04:41
.eslintrc.yml
# .eslintrc.yml
env:
browser: true
es2021: true
jquery: true
extends:
- standard
parserOptions:
ecmaVersion: latest
@firecall
firecall / .erb-lint.yml
Created August 18, 2024 04:40
.erb-lint.yml
---
EnableDefaultLinters: true
linters:
ErbSafety:
enabled: true
better_html_config: .better-html.yml
Rubocop:
enabled: true
rubocop_config:
inherit_from:
@firecall
firecall / .haml-lint.yml
Created August 18, 2024 04:40
.haml-lint.yml
linters:
ConsecutiveComments:
enabled: false
IdNames:
enabled: false
ImplicitDiv:
enabled: false
severity: error
InlineStyles:
enabled: false
@firecall
firecall / install-ruby-3.2.2.sh
Last active September 20, 2023 04:50
Install Ruby 3.2.2 with rbenv and jemalloc on ubuntu
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
@firecall
firecall / Brewfile
Last active June 21, 2024 15:22
Brewfile
# 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"
@firecall
firecall / .rubocop.yml
Last active August 18, 2024 04:38
.rubocop.yml
# 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
@firecall
firecall / rails_form_field.html.erb
Last active January 21, 2022 00:47
Disable Auto Complete and Spell Check in a Rails Form Field
<%= 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,