Environment variables are a way to store configuration settings for your applications. They are key-value pairs that are outside of the application code. Although environment variables work in a similar fashion in both frontend and backend applications, there are some specific considerations for each.
If you are developing a web application and want to test it on your iPhone, you can access your localhost development server directly from your iPhone. Here's how to do it:
- Ensure both your development machine and iPhone are connected to the same local network (e.g., the same WiFi).
- Go to your
vite.config.jsfile. And add your base url to it.
- If your repo name is
Kool-Vite, then your bsae URL is/Kool-Vite/.
- Go to your root
package.jsonfile. Addhomepageanddeployscripts. ```json "homepage": "https://yourGitHubUserName.github.io/repoName/",
As a developer, you may or may not have set up VMs (Virtual Machines).
Developing cross platform we will need to tell our shell such as brew, bash, powershell, or zsh to which path they shall export the command to.
So that the shell can translate what you wanted to do from the command line to a language that your machine can understand and execute.
For most developers we use the good old Bash instead of zsh, both of them works. To check which shell you're using:
| killall Xcode | |
| xcrun -k | |
| xcodebuild -alltargets clean | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang/ModuleCache" | |
| rm -rf "$(getconf DARWIN_USER_CACHE_DIR)/org.llvm.clang.$(whoami)/ModuleCache" | |
| rm -rf /Applications/Xcode.app | |
| rm -rf ~/Library/Caches/com.apple.dt.Xcode | |
| rm -rf ~/Library/Developer | |
| rm -rf ~/Library/MobileDevice | |
| rm -rf ~/Library/Preferences/com.apple.dt.Xcode.plist |
Having to enter passwords for each git pull and git push command is very time consuming when you use Git Bash on PC
PowerShell on PC does not have this problem where the user set the running environment for SSH Agent:
Start-Service ssh-agent
ssh-add "$env:USERPROFILE\.ssh\id_ed25519"- When I use the Git Bash program on PC, though I have set up SSH key correctly, each time I must type in password when I
git pullorgit push.
View this
.mdfile inRawmode to see the codes of markdown format.
Thanks for visiting The Markdown Guide!
This Markdown cheat sheet provides a quick overview of all the Markdown syntax elements. It canβt cover every edge case, so if you need more information about any of these elements, refer to the reference guides for basic syntax and extended syntax.




