Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 10 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -64,4 +64,13 @@ yarn-error.*
# vites
coverage

js/coverage
js/coverage

# results outputs
./**/domain-results.*
./**/domain-check-results.*
js/domain-results.*
js/domain-check-results.*

js/domains-to-test.*
domains-to-test.*
612 changes: 580 additions & 32 deletions .pnp.cjs

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,25 @@ Key scripts designed to boost developer productivity:
- **Usage**: `rn-fix`
- **Saves Time**: 5-10 minutes of manual cleanup per fix

### macOS File Descriptor Management

**`fix-max-files-temp`** - Temporary File Descriptor Limit

- **Problem Solved**: "Too many open files" errors when running file watchers or tools that open many file descriptors
- **How It Works**: Applies temporary system-level file descriptor limits for the current session using `launchctl`
- **Usage**: `fix-max-files-temp`
- **Duration**: Session only; resets on reboot
- **Perfect For**: Quick fixes during development sessions

**`fix-max-files-permanently`** - Permanent File Descriptor Configuration

- **Problem Solved**: Sets persistent file descriptor limits across reboots
- **How It Works**: Installs LaunchDaemon configuration at `/Library/LaunchDaemons/limit.maxfiles.plist`
- **Usage**: `fix-max-files-permanently`
- **Requirements**: The `limit.maxfiles.plist` file should be located alongside the script
- **Warning**: Will not override an existing configuration file
- **Perfect For**: Permanent solution on development machines

**`rnios` / `rnra`** - iOS/Android Launch Shortcuts

- **Usage**: `rnios` (iOS) or `rnra` (Android)
Expand Down
24 changes: 0 additions & 24 deletions apps/watchman/set-max-file-limit.sh

This file was deleted.

5 changes: 5 additions & 0 deletions entry.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -132,6 +132,11 @@ if [[ "${OSA_CONFIG_COMPONENTS_MAC_TOOLS}" == "true" ]] || [[ "${OSA_CONFIG_SNIP
[[ -f "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/rmAsync.zsh" ]] && source "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/rmAsync.zsh"
fi

# macOS File Descriptor Management
if [[ "${OSA_CONFIG_SNIPPETS_OSASNIPPETS_FILELIMITS}" == "true" ]] || [[ "${OSA_CONFIG_SNIPPETS_OSASNIPPETS_FILELIMITS}" == "true" ]]; then
[[ -f "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/set-max-file-limit.sh" ]] && source "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/set-max-file-limit.sh"
fi

# macOS eGPU Management
if [[ "${OSA_CONFIG_COMPONENTS_EGPU}" == "true" ]] || [[ "${OSA_CONFIG_SNIPPETS_OSASNIPPETS_EGPU}" == "true" ]]; then
[[ -f "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/egpu.zsh" ]] && source "$OSA_SCRIPTS_ZSH_ROOT/platform/mac/egpu.zsh"
Expand Down
Loading
Loading