This file contains hidden or 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
| #!/usr/bin/env zsh | |
| # ============================================================================= | |
| # tm-exclude-dev.sh — Complete Time Machine setup for macOS developers | |
| # ============================================================================= | |
| # | |
| # What this does: | |
| # 1. Excludes 70+ global cache/VM/tool directories from Time Machine | |
| # 2. Scans for per-project dependency dirs (node_modules, target, .venv, etc.) | |
| # 3. Installs & starts asimeow to auto-exclude new per-project deps every 6h | |
| # |
This file contains hidden or 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
| class CustomSearch < Spree::Core::Search::Base | |
| protected | |
| def add_search_scopes(base_scope) | |
| statement = nil | |
| search.each do |property_name, property_values| | |
| property = Spree::Property.find_by_name(property_name.gsub("_any", "")) | |
| next unless property | |
| substatement = product_property[:property_id].eq(property.id).and(product_property[:value].eq(property_values.first)) |
This file contains hidden or 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
| This is soultion how to fix no splash screen in Ubuntu after nvidia proprietary driver installation. It's no matter what Ubuntu version you use, it should work anyway. | |
| Open your terminal and type | |
| sudo apt-get install v86d | |
| Then | |
| sudo gedit /etc/default/grub | |
| Find this line |
This file contains hidden or 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 sed -i 's/es.archive.ubuntu.com/archive.ubuntu.com/' /etc/apt/sources.list |