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 user.email "Email Adress" | |
| git config --global user.name "David Scholz" | |
| git config --global commit.gpgSign true | |
| git config --global user.signingKey <pgp key> | |
| We can show the PGP keys as follows: | |
| gpg --list-keys |
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 kill -9 $(sudo lsof -t -i:1234) |
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
| // we should be careful here. | |
| git reset --hard HEAD~x | |
| git push -f |
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
| Check if any pulseaudio instance is running: | |
| ```bash | |
| pulseaudio --check | |
| ``` | |
| Kill pulseaudio: | |
| ```bash | |
| pulseaudio -k | |
| ``` |
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
| Create a file named `fish_title.fish` ins `~/.config/fish/functions` and add the following content. | |
| ```bash | |
| function fish_title | |
| set -q argv[1]; or set argv fish | |
| echo (fish_prompt_pwd_dir_length=4 prompt_pwd): $argv; | |
| end | |
| ``` |
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
| Execute the following command. | |
| ```bash | |
| sudo nvim /usr/share/applications/matlab.desktop | |
| ``` | |
| Add the following content. | |
| ```bash | |
| [Desktop Entry] |
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
| I got problems installing Matlab R2022a on Arch. Running the installer throws the following error: | |
| ``` | |
| terminate called after throwing an instance of 'std::runtime_error' | |
| what(): Failed to launch web window with error: Unable to launch the MATLABWindow application. The exit code was: 127 | |
| fish: Job 1, 'sudo ./install' terminated by signal SIGABRT (Abort) | |
| ``` | |
| I fixed it by running the following commands. |
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
| rm ~/Library/Caches/CocoaPods | |
| rm -rf ~/Library/Developer/Xcode/DerivedData | |
| Inside project directory | |
| cd ios | |
| pod deintegrate | |
| pod setup | |
| pod install |
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 gem install cocoapods | |
| Update pod | |
| pod setup | |
| Confirm via | |
| pods --version |
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
| List all available devices. | |
| xcrun simctl list devices | |
| Start device | |
| npx react-native run-ios --simulator="iPhone SE (1st generation)" |
NewerOlder