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
git push origin -d [branch_name] | |
git push origin -d develop |
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
vercel env add | |
#Source: https://vercel.com/docs/cli/env#usage |
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
Yes, it's possible to run `trunk check --fix` on a **specific file**. | |
Here’s how you can do it: | |
```bash | |
trunk check --fix path/to/your/file.ext | |
``` | |
### Example |
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
The command `trunk check list` lists all the **checkable tools** that Trunk knows about in your project. These are typically linters, formatters, or other code quality tools (like ESLint, Prettier, Flake8, etc.). | |
### Specifically, `trunk check list` shows: | |
* Which tools are **enabled** or **disabled**. | |
* What language(s) each tool supports. | |
* If the tool is **autodiscovered** (based on your project files) or **manually enabled**. | |
* Whether the tool is **managed** by Trunk (i.e. automatically downloaded and installed) or **externally provided**. | |
### Example output: |
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
adb reverse tcp:9090 tcp:9090 | |
# Source: https://docs.infinite.red/reactotron/quick-start/react-native/#troubleshooting |
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
If you're using **[Trunk](https://trunk.io)** (a dev tool that includes linting, formatting, etc.), and it detects auto-fixable lint issues, you can run the auto-fix with: | |
```bash | |
trunk check --fix | |
``` | |
### Explanation: | |
* `trunk check`: runs the Trunk pipeline (linters, formatters, etc.) | |
* `--fix`: automatically applies any fixes that the linters support (like ESLint or Prettier). |
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
git checkout <tag-name> | |
# However, note that this puts your repo in a "detached HEAD" state, meaning you're not on a branch, and any new commits won't belong to any branch unless you create one. |
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
#Source: https://github.com/nvm-sh/nvm?tab=readme-ov-file#usage | |
nvm ls-remote |
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
Source: https://chatgpt.com/share/67ec3d1a-af94-8006-b218-af5a02c59418 | |
Yes, you can have multiple versions of Xcode installed on your Mac and choose which one to use. | |
### **How to Install Multiple Versions of Xcode** | |
1. **Download the Xcode Versions** | |
- You can download older versions from Apple's [Developer Downloads](https://developer.apple.com/download/all/). | |
- The latest versions are available in the App Store. | |
2. **Install and Rename** |
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
eas whoami |
NewerOlder