Compare commits

..

45 Commits

Author SHA1 Message Date
Robin-Charles GUIHENEUF 88575e40a2 config: Migrate to Code instead of Codium 2023-01-29 11:09:33 +01:00
Robin-Charles GUIHENEUF a8d174ba30 aliases: Add bin and .local/bin to PATH 2023-01-29 11:09:33 +01:00
Robin-Charles GUIHENEUF 1bf50d8981 aliases: Make aliases tolerant to main branch in git 2023-01-29 11:09:33 +01:00
vulporuza b0238bf69a navi: Update docker-compose sheet 2023-01-29 11:09:33 +01:00
vulporuza ec195ca859 navi: Update docker sheet 2023-01-29 11:09:33 +01:00
vulporuza 956c36773d navi: Update misc sheet 2023-01-29 11:09:33 +01:00
vulporuza 9af06e1346 navi: Update compression sheet 2023-01-29 11:09:33 +01:00
vulporuza f787a36c0f codium: Remove useless keybinding 2023-01-29 11:09:33 +01:00
vulporuza 54ff19d0cf codium: Export Android SDK environment viariables 2023-01-29 11:09:33 +01:00
vulporuza b488daed5e aliases: Use code as default 2023-01-29 11:09:33 +01:00
vulporuza 9674d5389d aliases: Remove personal zephyr includes 2023-01-29 11:09:33 +01:00
vulporuza 750701b031 codium: Update configuration 2023-01-29 11:09:33 +01:00
vulporuza 7b1476a9d8 navi: Add reinstall cheat 2023-01-29 11:09:33 +01:00
vulporuza 699b5fe54b aliases: Add NPC helpers 2023-01-29 11:09:33 +01:00
vulporuza b8259e5c0a navi: Add helpers (compare & bluetooth) 2023-01-29 11:09:33 +01:00
vulporuza de475c976c aliases: Add NAS project 2023-01-29 11:09:33 +01:00
vulporuza 69273dba9a codium: Add lower case keybinding 2023-01-29 11:09:33 +01:00
vulporuza 201813da8a config: Add font installation in GUI 2023-01-29 11:09:33 +01:00
vulporuza 646b0a27ca codium: Misc configuration 2023-01-29 11:09:33 +01:00
vulporuza 01b3423471 terminator: Change font 2023-01-29 11:09:33 +01:00
vulporuza f5d5a48780 navi: Add meld cheat sheet 2023-01-29 11:09:33 +01:00
vulporuza 969a7282ed codium: Change editor font 2023-01-29 11:09:33 +01:00
vulporuza 1c4e9ce071 navi: Add nextcloud sheet 2023-01-29 11:09:33 +01:00
vulporuza a78f1bf860 navi: Add some IP helpers 2023-01-29 11:09:33 +01:00
vulporuza efdddbf450 navi: Add git tag helpers 2023-01-29 11:09:33 +01:00
vulporuza 58e29bd7c5 navi: Add freqtrade cheat sheet 2023-01-29 11:09:33 +01:00
vulporuza ee4f5bcf71 aliases: Add micro alias 2023-01-29 11:09:33 +01:00
vulporuza d8ab294bfa navi: Add some cheat sheets 2023-01-29 11:09:33 +01:00
vulporuza acabe7549d install: Add micro editor install 2023-01-29 11:09:33 +01:00
vulporuza 442bed6184 alias: Add git profile switch aliases 2023-01-29 11:09:33 +01:00
vulporuza 8f5e01a023 navi: Add nginx cheat sheet 2023-01-29 11:09:33 +01:00
vulporuza 2f35a85bad navi: Add syncapi debug cheatsheets 2023-01-29 11:09:33 +01:00
vulporuza f91e1e787c aliases: Introduce git_parent and associated rebase aliases 2023-01-29 11:09:33 +01:00
vulporuza 1599f4cd09 aliases: General cleanup 2023-01-29 11:09:32 +01:00
vulporuza 091431f82b zsh: Add completion for Makefile implicit targets 2023-01-29 11:08:54 +01:00
vulporuza 78c58b93bd zsh: Add preexec & precmd hook to vulporuza theme 2023-01-29 11:08:54 +01:00
vulporuza 6a808dcef9 aliases: Add Netatmo path to PATH variable 2023-01-29 11:08:54 +01:00
vulporuza 9d6a6a43e3 aliases: Add git amend alias to amend commits automatically 2023-01-29 11:08:50 +01:00
vulporuza d724ee2a58 terminator: Include configuration file 2022-11-18 17:12:39 +01:00
vulporuza d96c2c4f99 codium: Migration from Nextcloud 2022-11-18 17:12:39 +01:00
vulporuza 60a35066df navi: Migration from Nextcloud 2022-11-18 17:12:39 +01:00
vulporuza 0481018500 aliases: Migration from Nextcloud 2022-03-08 08:27:29 +01:00
vulporuza 9c74c4aab5 zsh: Migration from Nextcloud 2022-03-08 08:27:29 +01:00
vulporuza 678c1c7998 auto-config: Migration from Nextcloud 2022-03-08 08:27:29 +01:00
vulporuza 548aa1f990 Initial commit 2022-03-08 08:27:29 +01:00
7 changed files with 52 additions and 53 deletions
+27 -3
View File
@@ -250,11 +250,26 @@ alias amend_perso="GIT_EDITOR=true git rebase --rebase-merges --exec 'git commit
# ╠╦╝├┤ ├─┘│ │└─┐│ │ │ │├┬┘│├┤ └─┐
# ╩╚═└─┘┴ └─┘└─┘┴ ┴ └─┘┴└─┴└─┘└─┘
alias mulot='cd $HOME/mulot'
alias moki='cd $HOME/mulot/moki'
alias bc='cd $HOME/Netatmo/embedded/firmware-bitcloud'
alias fw='cd $HOME/Netatmo/embedded/firmware'
alias nmr='cd $HOME/Netatmo/embedded/nmr'
alias py='cd $HOME/Netatmo/core/python-emb-tools'
alias mag='cd $HOME/Netatmo/embedded/magellan'
alias nsp='cd $HOME/Netatmo/embedded/nsp'
alias nas='cd $HOME/Netatmo/embedded/nas'
alias npc='cd $HOME/Netatmo/embedded/npc'
alias mulot='cd $HOME/mulot/firmware'
# In editor
alias c_moki='c $HOME/mulot/moki.code-workspace'
alias c_bc='c $HOME/Netatmo/firmware-bitcloud.code-workspace'
alias c_fw='c $HOME/Netatmo/firmware.code-workspace'
alias c_nmr='c $HOME/Netatmo/nmr.code-workspace'
alias c_py='c $HOME/Netatmo/python-emb-tools.code-workspace'
alias c_mag='c $HOME/Netatmo/magellan.code-workspace'
alias c_nsp='c $HOME/Netatmo/nsp.code-workspace'
alias c_nas='c $HOME/Netatmo/nas.code-workspace'
alias c_npc='c $HOME/Netatmo/npc.code-workspace'
alias c_mulot='c $HOME/mulot/mulot.code-workspace'
# SSH keygen
function ssh_keygen {
@@ -317,9 +332,18 @@ fi
# ║╣ ┌┴┬┘├─┘│ │├┬┘ │
# ╚═╝┴ └─┴ └─┘┴└─ ┴
export PATH=$PATH:~/Netatmo/core/embedded-tools/Linux/flasher
export PATH=$PATH:~/Netatmo/core/generic-embedded/stm32_sbm
export PATH=$PATH:~/Netatmo/core/generic-embedded/stm32_dfu
export PATH=$PATH:~/Netatmo/embedded/firmware-bitcloud/toolchain/arm-none-eabi/bin
export PATH=$PATH:~/Netatmo/embedded/nmr/scripts/flash
# Autofixup
export PATH=$PATH:$HOME/.git-autofixup
# Netatmo
export NETATMO_WORK_DIR=$HOME/Netatmo
# Cargo binaries (navi)
export PATH=$PATH:$HOME/.cargo/bin
+6
View File
@@ -61,6 +61,12 @@ cargo install navi
mkdir -p $HOME/.local/share/navi/cheats
ln -sfn $HOME/.dotfiles/navi/ $HOME/.local/share/navi/cheats/vulporuza
# Update pip
pip3 install --upgrade pip
# Install undervolt
sudo pip3 install undervolt
# Update npm
sudo npm install -g npm
+7
View File
@@ -7,6 +7,13 @@ fi
# CLI Tools
$HOME/.dotfiles/auto-config-cli.sh
# Codium
if [ ! -f "/etc/apt/sources.list.d/vscodium.list" ]
then
wget -qO - https://gitlab.com/paulcarroty/vscodium-deb-rpm-repo/raw/master/pub.gpg | gpg --dearmor | sudo dd of=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg
echo 'deb [signed-by=/etc/apt/trusted.gpg.d/vscodium-archive-keyring.gpg] https://paulcarroty.gitlab.io/vscodium-deb-rpm-repo/debs/ vscodium main' | sudo tee /etc/apt/sources.list.d/vscodium.list
fi
sudo apt install terminator fonts-firacode
mkdir -p $HOME/.config/Code/User/
+1 -1
View File
@@ -17,7 +17,7 @@
},
"C_Cpp.formatting": "Disabled",
"C_Cpp.updateChannel": "Default",
"powermode.enabled": false,
"powermode.enabled": true,
"powermode.enableExplosions": true,
"powermode.maxExplosions": 1,
"editor.rulers": [
+7 -7
View File
@@ -1,21 +1,21 @@
% docker-compose
# Up a compose YAML
sudo docker compose -f <file> up
sudo docker-compose -f <file> up
# Up and daemonze a compose YAML
sudo docker compose -f <file> up -d
sudo docker-compose -f <file> up -d
# Up and daemonze a compose YAML (force)
sudo docker compose -f <file> up -d --force-recreate
sudo docker-compose -f <file> up -d --force-recreate
# Down a compose YAML
sudo docker compose -f <file> down
# Up and daemonze a compose YAML
sudo docker-compose -f <file> down
# Print the last lines of compose YAML logs
sudo docker compose -f <file> logs --tail 100
sudo docker-compose -f <file> logs --tail 100
# Print the last lines of compose YAML logs and following its logs
sudo docker compose -f <file> logs --tail 100 -f
sudo docker-compose -f <file> logs --tail 100 -f
$ file: ls *.yaml | awk '{print $1}'
-42
View File
@@ -1,42 +0,0 @@
% gpg
# GPG version
gpg --version
# GPG generate key
gpg --gen-key
# List keys
gpg --list-keys
# Export public key
gpg --output <filename> --export <gpg_public_keys>
# Export public key as ASCII
gpg --output <filename> --export --armor <gpg_public_keys>
# Import public key
gpg --import <gpg_files>
# Encrypt document
gpg --output <filename> --encrypt --recipient <gpg_public_keys> <files>
# Decrypt document
gpg --output <filename> --decrypt <files>
# Make a signature
gpg --output <signature_file> --sign <files>
# Verify signature
gpg --verify <files>
# Clearsign documents
gpg --clearsign <filename>
# Detach signature
gpg --output <filename_sig> --detach-sig <filename>
$ files: ls * | awk '{print $1}'
$ gpg_files: ls *.gpg | awk '{print $1}'
$ gpg_public_keys: gpg --list-keys | grep uid | sed 's/.*<\(.*\)>.*/\1/' | awk '{print $1}'
+4
View File
@@ -1,14 +1,18 @@
[global_config]
window_state = maximise
scroll_tabbar = True
title_inactive_bg_color = "#000000"
inactive_color_offset = 1.0
enabled_plugins = TerminalShot, LaunchpadCodeURLHandler, APTURLHandler, LaunchpadBugURLHandler
suppress_multiple_term_dialog = True
title_use_system_font = False
title_font = Fira Code weight=453 11
[keybindings]
[profiles]
[[default]]
background_darkness = 0.7
background_type = transparent
cursor_color = "#908c8c"
font = Fira Code weight=453 11
foreground_color = "#ffffff"
scrollback_infinite = True