Source code
Links
- Docs: https://alwaldend.github.io/src/en/
- Dev release: https://github.com/alwaldend/src/releases/tag/dev
- Dev release artifacts: https://github.com/alwaldend/src/releases/download/dev/alwaldend-src.tar.gz
Licence
AGPLv3, see LICENSE
Contents
Contents
-
.github: Github config
- workflows: Github workflows
-
bzl: Bazel projects
-
aspects: Bazel aspects
-
build-files: BUILD.bazel files
-
configs: Bazel configs
-
extensions: Module extensions
-
macros: Bazel macros
-
providers: Bazel providers
-
registry: Bazel registry
-
modules: Modules
-
com-github-aldanial-cloc: Cloc
-
com-github-fortawesome-font-awesome: Font-Awesome
-
com-github-georgewfraser-java-language-server: Java languange server
-
com-github-google-docsy: Docsy
-
com-github-twbs-bootstrap: Bootstrap
-
com-nordicsemi-developer-nrfsdk: Nrfsdk
-
hedron_compile_commands: Bazel-compile-commands-extractor
-
org-openssl-openssl: Openssl
-
rules_haskell: Patched version of rules_haskell
-
us-nasm-nasm: Netwide Assembler (NASM)
-
-
-
rules: Bazel rules
-
toolchain-types: Toolchain types
-
toolchains: Bazel rules
-
vars: Static bazel variables
-
-
c: C projects
-
cfg: Configs
- dotfiles: Dotfile configs
-
cpp: C++ projects
-
infinitime: Fork of InfiniTimeOrg/InfiniTime
-
leetcode-submissions: Leetcode submissions (cpp)
-
useless-qt-gui: Useless qt GUI
-
-
data: Data
- misc: Miscellaneous data
-
drawio: Drawio diagrams
- diagrams: Drawio diagrams
-
go: Golang projects
-
bazel-shell-worker: Bazel worker that runs shell commands
-
file-installer: Tool to install files
- cmd: Cmd code for file-installer
-
leetcode-downloader: CLI app to download leetcode submissions
- model: Models for leetcode-downloader
-
leetcode-submissions: Leetcode submissions (go)
-
readme-tree: Tool to parse README.md files
-
template-files: Cli tool to template files
-
utils: Random golang tools
-
-
hugo: Hugo projects
-
img: Images
- useless-qt-gui: Assets for useless-qt-gui
-
java: Java projects
- leetcode-submissions: Leetcode submissions (java)
-
js: Javascript projects
- leetcode-downloader: Tampermonkey script to download leetcode submissions
-
kt: Kotlin projects
-
lua: Lua projects
-
nvim-config: Neovim config
-
nvim-lib: Lua library for neovim
-
-
md: Markdown projects
- misc: Miscellaneous knowledge
-
patch: Patches
-
infinitime: Git patches for InfiniTimeOrg/InfiniTime
-
rules-haskell: Fixes for rules-haskell
-
-
pl: Perl projects
-
proto: Protobuf projects
-
bazel-worker: Bazel worker protocol
-
leetcode-downloader: Models for leetcode-downloader
-
-
py: Python projects
-
bazel-python-shell: Python shell allowing you to run shell commands in python environment
-
install-file: Python scripts
-
leetcode-submissions: Leetcode submissions (python)
-
replace-section: Replace sections of files
-
-
rs: Rust projects
- tools: Rust tools
-
sh: Shell projects
-
tools: Tools
-
vial: Vial configs
- keyboards: Keyboard configs
Line count
Language | files | blank | comment | code |
---|---|---|---|---|
JSON | 966 | 2 | 0 | 25853 |
Python | 581 | 2340 | 1222 | 9588 |
TOML | 8 | 391 | 8 | 7259 |
Go | 231 | 718 | 617 | 6539 |
Starlark | 118 | 543 | 699 | 3903 |
C++ | 87 | 138 | 199 | 2219 |
Text | 7 | 128 | 0 | 1788 |
Lua | 8 | 60 | 90 | 987 |
Markdown | 94 | 214 | 6 | 862 |
YAML | 5 | 80 | 2 | 606 |
Bourne Shell | 19 | 85 | 103 | 518 |
C | 7 | 52 | 91 | 407 |
diff | 4 | 7 | 51 | 319 |
Java | 11 | 37 | 15 | 250 |
C/C++ Header | 7 | 14 | 9 | 111 |
JavaScript | 1 | 7 | 10 | 78 |
Protocol Buffers | 2 | 21 | 64 | 74 |
SVG | 3 | 3 | 4 | 55 |
XML (Qt/GTK) | 1 | 0 | 0 | 31 |
ProGuard | 1 | 9 | 8 | 25 |
INI | 1 | 2 | 0 | 9 |
HCL | 1 | 1 | 5 | 8 |
Snakemake | 1 | 2 | 6 | 4 |
HTML | 2 | 0 | 0 | 3 |
Rust | 1 | 0 | 0 | 3 |
——– | ——– | ——– | ——– | ——– |
SUM: | 2167 | 4854 | 3209 | 61499 |
Setup
- Install packages:
sudo dnf install clang clang-format java-latest-openjdk-devel rust mesa-libGL-devel go Xvfb
- Install bazel: https://bazel.build/install/bazelisk
- Install nvm: https://github.com/nvm-sh/nvm
- Install node:
nvm install node
- Install commandline tools to
${ANDROID_HOME}/cmdline-tools/latest
: https://developer.android.com/studio#command-tools - Install android tools:
sdkmanager "platforms;android-36" "build-tools;36.0.0"
- Install qt:
bazel run //starlark/bazel/qt:install
- Install git hooks:
bazel run //shell/git-hooks:install
Development
- Build
compile_commands.json
:bazel run :refresh_compile_commands
- Run builds:
bazel build //...
- Run tests:
bazel test //...