This file contains 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
#!/usr/bin/env bash | |
cd mpv | |
git reset --hard | |
git clean --force -d -x | |
git pull origin master | |
set -x | |
# use standalone tools, not Xcode's (avoids xcrun errors) |
This file contains 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
# edit and save this file to /usr/lib/systemd/system/clash.service | |
[Unit] | |
Description=clash | |
After=network.target | |
[Service] | |
WorkingDirectory="your home directory"/.config/clash | |
ExecStart="your home directory"/.config/clash/start-clash.sh | |
ExecStop="your home directory"/.config/clash/stop-clash.sh | |
Environment="HOME=your home directory" |
This file contains 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
[ | |
{ | |
"command": "projectManager.listGitProjects#sideBarGit", | |
"key": "cmd+o" | |
}, | |
{ | |
"command": "expand_region", | |
"key": "ctrl+=", | |
"when": "editorTextFocus" | |
}, |