-
Download MinGW
- Go to the MinGW download link and download the ZIP file.
-
Extract the ZIP File
- After downloading, extract the contents of the ZIP file to a folder of your choice.
- Move the extracted folder to
C:\(e.g.,C:\winlibs-x86_64-posix-seh-gcc-14.2.0-mingw-w64msvcrt-12.0.0-r3).
-
Find
gcc.exe
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
| cd in to below directory | |
| cd C:\users\<username>\AppData\Local\Microsoft\WindowsApps | |
| change the user to root | |
| <linuxdistro>.exe config --default-user root | |
| open wsl and now the user will be root | |
| passwd <default_username> | |
| execute this in the above directory and change default user to your user |
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
| Use hashRouter instead of the BrowserRouter | |
| import { HashRouter as Router, Routes, Route } from 'react-router-dom'; | |
| const root = ReactDOM.createRoot( | |
| document.getElementById('root') as HTMLElement | |
| ); | |
| root.render( | |
| <React.StrictMode> | |
| {/* <App /> */} |
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
| go to <project>\build\app\outputs\apk\debug | |
| in a cmd | |
| keytool -printcert -jarfile app-debug.apk | |
| sha-1 copy then | |
| go to firebase and project overview then go to the connected apps | |
| click the setting icon in android | |
| paste the sha1 as a new fingerprint | |
| for ios setup https://www.youtube.com/watch?v=k7TVYn5jwQk | |
| go to googleservices-info.plist in ios/runner | |
| then get the reverse client id |
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
| ----for compile | |
| g++ -o output_filename input_filename.cpp | |
| ----for running the code | |
| ./output_filename |
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
| npm config set https-proxy http://10.50.225.222:3128 | |
| npm config set proxy http://10.50.225.222:3128 | |
| npm config delete proxy | |
| npm config delete https-proxy | |
| vscode proxi | |
| http://10.50.225.222:3128 |
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 config --global http.proxy http://10.50.225.222:3128 | |
| git config --global https.proxy https://10.50.225.222:3128 | |
| git config --global --unset http.proxy | |
| git config --global --unset https.proxy |