Skip to content

Instantly share code, notes, and snippets.

View DemwE's full-sized avatar
🦀
Learning Rust

Mateusz Czarnecki DemwE

🦀
Learning Rust
View GitHub Profile
@DemwE
DemwE / build.sh
Last active September 12, 2023 13:37
Build release of rust app for Windows, Linux, MacOS
#!/bin/bash
if [ ! -f build.conf ]; then
echo "File build.conf does not exist, creating it."
echo "UpdateRustTargets=true" >>build.conf
echo "BuildWindows=true" >>build.conf
echo "BuildLinux=true" >>build.conf
echo "BuildMac=true" >>build.conf
exit 0
fi
@DemwE
DemwE / config.toml
Created July 16, 2023 13:22
default config.toml
progress_bar_chars = '#>-'
progress_bar_style = '[{elapsed_precise}] [{bar:40.cyan/blue}] {bytes}/{total_bytes} | {binary_bytes_per_sec} | eta {eta} '
@DemwE
DemwE / All
Created February 9, 2023 19:02
{"name":"All","settings":"{\"settings\":\"{\\r\\n \\\"atomKeymap.promptV3Features\\\": true,\\r\\n \\\"editor.multiCursorModifier\\\": \\\"ctrlCmd\\\",\\r\\n \\\"editor.formatOnPaste\\\": true,\\r\\n \\\"git.autofetch\\\": true,\\r\\n \\\"terminal.integrated.fontFamily\\\": \\\"Consolas\\\",\\r\\n \\\"[html]\\\": {\\r\\n \\\"editor.defaultFormatter\\\": \\\"vscode.html-language-features\\\"\\r\\n },\\r\\n \\\"liveServer.settings.donotShowInfoMsg\\\": true,\\r\\n \\\"git.enableSmartCommit\\\": true,\\r\\n \\\"workbench.iconTheme\\\": \\\"file-icons\\\",\\r\\n \\\"media.player\\\": {\\r\\n \\\"players\\\": [\\r\\n {\\r\\n \\\"name\\\": \\\"My VLC player\\\",\\r\\n \\\"type\\\": \\\"vlc\\\",\\r\\n\\r\\n \\\"password\\\": \\\"1234\\\",\\r\\n \\\"port\\\": 8080\\r\\n }\\r\\n ]\\r\\n },\\r\\n \\\"resmon.show.cputemp\\\": true,\\r\\n \\\"resmon.show.battery\\\": false,\\r\\