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/sh | |
| # make sure you have homebrew already installed | |
| brew installed llvm | |
| git clone https://github.com/ziglang/zig.git | |
| cd zig | |
| mkdir -p build | |
| cd build | |
| # for fast build |
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 Ctrl-p > configure snnippets > c++ | |
| // then copy paste this file | |
| // use keyword `omg` to trigger | |
| "plain ahh cp snippet": { | |
| "prefix": ["omg"], | |
| "body": ["#include <bits/stdc++.h>\nusing namespace std;\n\nvoid solve() {\n\t$0\n}\n\nint32_t main(){\n\tint t;cin>>t;while(t--) solve();\n}\n"], | |
| "description": "chads only template" | |
| } | |
| } |
OlderNewer