I hereby claim:
- I am vraravam on github.
- I am avijayr (https://keybase.io/avijayr) on keybase.
- I have a public key ASDVxohOsQDJzlP6IefK0ywr2A209DReuTPISjz7vYBmOAo
To claim this, I am signing this object:
{"version":1,"resource":"file:///Users/vijay/dev/jd/ecomm/ui/brazil-ui/packages/client/Dockerfile.client.dev","entries":[{"id":"sG6Q.dev","source":"searchReplace.source","timestamp":1728044506562},{"id":"vOLy.dev","source":"searchReplace.source","timestamp":1728044646591},{"id":"auwS.dev","source":"searchReplace.source","timestamp":1728044670361}]} |
This script has been moved here: https://github.com/vraravam/dotfiles |
# file location: ~/.gitconfig-template.inc | |
[user] | |
name = <your-name> | |
email = <your-email> |
I hereby claim:
To claim this, I am signing this object:
This script has been moved here: https://github.com/vraravam/dotfiles |
# frozen_string_literal: true | |
module ParanoiaHelper | |
extend ActiveSupport::Concern | |
module ClassMethods | |
private | |
# This method generates an instance method with the name: associated_sym.to_s.pluralize. | |
# | |
# Example: |
# config/application.rb | |
class Application < Rails::Application | |
config.generators do |g| | |
g.orm :active_record | |
g.template_engine :erb | |
g.stylesheets false | |
g.javascripts false | |
g.test_framework :rspec, | |
fixtures: true, | |
view_specs: false, |
To find the blobs taking up the max space: | |
git rev-list --objects --all | grep "$(git verify-pack -v .git/objects/pack/*.idx | sort -k 3 -n | tail -100 | awk '{print$1}')" | |
To delete blobs from history: | |
git filter-branch -f --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch node_modules/* plugins/* platforms/* resources/ios/* resources/android/*' --tag-name-filter cat -- --all | |
git filter-branch -f --prune-empty --index-filter 'git rm -rf --cached --ignore-unmatch public/assets/*' --tag-name-filter cat -- --all |
# spec/support/database_cleaner.rb | |
RSpec.configure do |config| | |
config.before(:suite) do | |
DatabaseCleaner.clean_with(:truncation) | |
end | |
config.before(:each, js: true) do | |
DatabaseCleaner.strategy = :truncation | |
end |
# frozen_string_literal: true | |
RSpec.configure do |config| | |
config.before(:suite) do | |
begin | |
DatabaseCleaner.start | |
setup_biz | |
FactoryBot.lint unless config.files_to_run.one? | |
ensure | |
DatabaseCleaner.clean |