chore: minor random updates (#240)
* Add `tmuxp` configuration to access local `raspberry pi` cluster * Configure editor behaviour through `editorconfig` * Fix format for `24-bit-color` script * Add volume for `supermaven` data * Remove the `ANTHROPIC_API_KEY` environment variable Reviewed-on: #240 Co-authored-by: Joao P Dubas <joao.dubas+gitea@gmail.com> Co-committed-by: Joao P Dubas <joao.dubas+gitea@gmail.com>
This commit is contained in:
parent
4c1b09a8ab
commit
d2b37ab393
28
.editorconfig
Normal file
28
.editorconfig
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
root = true
|
||||||
|
|
||||||
|
[*]
|
||||||
|
charset = utf-8
|
||||||
|
end_of_line = lf
|
||||||
|
insert_final_newline = true
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
|
||||||
|
[Makefile]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.lua]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
||||||
|
quote_style = single
|
||||||
|
|
||||||
|
[*.md]
|
||||||
|
trim_trailing_whitespace = false
|
||||||
|
max_line_length = 80
|
||||||
|
|
||||||
|
[*.sh]
|
||||||
|
indent_style = tab
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.yml]
|
||||||
|
indent_style = space
|
||||||
|
indent_size = 2
|
14
config/tmuxp/rpi.yml
Normal file
14
config/tmuxp/rpi.yml
Normal file
@ -0,0 +1,14 @@
|
|||||||
|
---
|
||||||
|
session_name: rpi
|
||||||
|
start_directory: /opt/personal
|
||||||
|
windows:
|
||||||
|
- window_name: rpi
|
||||||
|
focus: true
|
||||||
|
layout: tiled
|
||||||
|
start_directory: labs
|
||||||
|
panes:
|
||||||
|
- focus: true
|
||||||
|
shell_command: ssh rpi00
|
||||||
|
- shell_command: ssh rpi01
|
||||||
|
- shell_command: ssh rpi02
|
||||||
|
- shell_command: ssh rpi03
|
@ -14,7 +14,6 @@ services:
|
|||||||
entrypoint: sleep
|
entrypoint: sleep
|
||||||
command: infinity
|
command: infinity
|
||||||
environment:
|
environment:
|
||||||
ANTHROPIC_API_KEY: ${NVIM_ANTHROPIC_API_KEY:-no-api}
|
|
||||||
GH_TOKEN: &github_token ${NVIM_GH_TOKEN:-no-token}
|
GH_TOKEN: &github_token ${NVIM_GH_TOKEN:-no-token}
|
||||||
GITHUB_TOKEN: *github_token
|
GITHUB_TOKEN: *github_token
|
||||||
COMPOSE_BAKE: 'true'
|
COMPOSE_BAKE: 'true'
|
||||||
@ -33,6 +32,7 @@ services:
|
|||||||
- 'home_local_share:/home/coder/.local/share'
|
- 'home_local_share:/home/coder/.local/share'
|
||||||
- 'home_local_state:/home/coder/.local/state'
|
- 'home_local_state:/home/coder/.local/state'
|
||||||
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
|
- 'home_plugins_tmux:/home/coder/.config/tmux/plugins'
|
||||||
|
- 'home_supermaven:/home/coder/.supermaven'
|
||||||
|
|
||||||
chroma:
|
chroma:
|
||||||
image: 'ghcr.io/chroma-core/chroma:1.0.10'
|
image: 'ghcr.io/chroma-core/chroma:1.0.10'
|
||||||
@ -52,4 +52,5 @@ volumes:
|
|||||||
home_local_share: {}
|
home_local_share: {}
|
||||||
home_local_state: {}
|
home_local_state: {}
|
||||||
home_plugins_tmux: {}
|
home_plugins_tmux: {}
|
||||||
|
home_supermaven: {}
|
||||||
chroma_data: {}
|
chroma_data: {}
|
||||||
|
@ -23,7 +23,7 @@ resetOutput()
|
|||||||
# $red $green and $blue are integers
|
# $red $green and $blue are integers
|
||||||
# ranging between 0 and 255 inclusive
|
# ranging between 0 and 255 inclusive
|
||||||
rainbowColor()
|
rainbowColor()
|
||||||
{
|
{
|
||||||
let h=$1/43
|
let h=$1/43
|
||||||
let f=$1-43*$h
|
let f=$1-43*$h
|
||||||
let t=$f*255/43
|
let t=$f*255/43
|
||||||
|
Loading…
x
Reference in New Issue
Block a user