hf:meta-llama/Meta-Llama-3.1-405B-Instruct https://glhf.chat/api/openai/v1
grok-beta https://api.x.ai/v1
hf:meta-llama/Meta-Llama-3.1-405B-Instruct https://glhf.chat/api/openai/v1
grok-beta https://api.x.ai/v1
| GDB commands by function - simple guide | |
| --------------------------------------- | |
| More important commands have a (*) by them. | |
| Startup | |
| % gdb -help print startup help, show switches | |
| *% gdb object normal debug | |
| *% gdb object core core debug (must specify core file) | |
| %% gdb object pid attach to running process | |
| % gdb use file command to load object |
| |
| cd ~ | |
| git clone https://AUR.archlinux.org/visual-studio-code-bin.git | |
| cd visual-studio-code-bin/ | |
| makepkg -s | |
| sudo pacman -U visual-studio-code-bin-*.pkg.tar.zst |
| <?xml version="1.0"?> | |
| <!DOCTYPE fontconfig SYSTEM "fonts.dtd"> | |
| <fontconfig> | |
| <match target="pattern"> | |
| <test name="lang"> | |
| <string>si</string> | |
| </test> | |
| <test qual="any" name="family"> | |
| <string>sans-serif</string> | |
| </test> |
Condition
Explanation
/prefetch:# arguments to use when launching various process types. It has been observed that when file reads are consistent for 3 process launches with the same /prefetch:# argument, the Windows prefetcher starts issuing reads in batch at process launch. Because reads depend on the process type, the prefetcher wouldn't be able to observe consistent reads if no /prefetch:# arguments were used. Note that the browser process has no /prefetch:# argument; as such all other processes must have one in order to avoid polluting its profile. Note: # must always be in [1, 8]; otherwise it is ignored by the Windows prefetcher. ↪
| # update the origin | |
| git remote set-url origin <new-remote> | |
| # add another repo as a submodule | |
| git submodule add <that-repo-url> <folder-name-for-submodule> | |
| # clone with submodules | |
| git clone --recursive <url> | |
| # download All submodules |
| #!/bin/bash | |
| # hello... just a test function | |
| hello_world() { | |
| echo 'Hello there,' $1 | |
| } | |
| # Key bindings | |
| bind '"\C-f":"cd_with_fzf\n"' | |
| bind '"\C-o":"open_with_fzf\n"' |
| #include <bits/stdc++.h> | |
| using namespace std; | |
| #define mp make_pair | |
| #define fi first | |
| #define se second | |
| #define pb push_back | |
| #define all(x) begin((x)), end((x)) | |
| #define rall(x) rbegin((x)), rend((x)) | |
| #define foru(i, a, n) for (int i = (int)(a); i <= (int)(n); ++i) |