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
| py_binary( | |
| name = 'generate_compile_command', | |
| srcs = [ | |
| 'generate_compile_command.py', | |
| ], | |
| deps = [ | |
| '//third_party/bazel:extra_actions_proto_py', | |
| ], | |
| ) |
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
| # Apply this config conditionally to all C files | |
| If: | |
| PathMatch: .*\.(c|h)$ | |
| CompileFlags: | |
| Compiler: /usr/bin/gcc | |
| --- | |
| # Apply this config conditionally to all C++ files | |
| If: |
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
| #!/bin/zsh | |
| # This script helps those who want to | |
| # get all Aerial wallpapers on macOS Sonoma | |
| # all at once instead of clicking on settings one by one. | |
| # Dependencies: jq, parallel | |
| # Install all dependencies via `brew install jq parallel` | |
| # After `parallel` installed run `sudo parallel --citation` first to read citation notice (IMPORTANT) |
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
| [wsl2] | |
| dnsTunneling=false | |
| networkingMode=NAT # mirrored | |
| dnsProxy=true | |
| autoProxy=true | |
| firewall=false |
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
| [ | |
| { | |
| "command": "projectManager.listGitProjects#sideBarGit", | |
| "key": "cmd+o" | |
| }, | |
| { | |
| "command": "expand_region", | |
| "key": "ctrl+=", | |
| "when": "editorTextFocus" | |
| }, |
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
| # 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 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
| #!/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) |