Search
26 results for “chmouel”
-
I have released a small tool for Linux/Wayland to let you zoom the current screen and annotate it and have a few other features to make it easy when presenting. It's called shmooz and available on AUR and github https://github.com/chmouel/shmooz
-
I have released a small tool for Linux/Wayland to let you zoom the current screen and annotate it and have a few other features to make it easy when presenting. It's called shmooz and available on AUR and github https://github.com/chmouel/shmooz
-
I have released a small tool for Linux/Wayland to let you zoom the current screen and annotate it and have a few other features to make it easy when presenting. It's called shmooz and available on AUR and github https://github.com/chmouel/shmooz
-
I have released a small tool for Linux/Wayland to let you zoom the current screen and annotate it and have a few other features to make it easy when presenting. It's called shmooz and available on AUR and github https://github.com/chmouel/shmooz
-
I have released a small tool for Linux/Wayland to let you zoom the current screen and annotate it and have a few other features to make it easy when presenting. It's called shmooz and available on AUR and github https://github.com/chmouel/shmooz
-
My most useful gptel function is this one:
and to register:
My workflow is:
- selecting some code in one window
- Popup a new LLM window and ask about it (or better use a yasnippet snip for that) like this:optimize code and fix bugs
it will know to grab the highlighted code from the other window and act on it
I have a bunch of other configuration for gptel, i probably should do a proper blog post about it.
-
I've developed a Git branch switcher/viewer tool to make it easier when working with multiple branches, making it easier to
switch between them and ensure they are pushed and synchronized.https://github.com/chmouel/git-branches
(usually end up with #magit or #lazygit when it gets complicated)
-
#ChmouelLubecki, #rabbin de #Rouen :
"L'antisémitisme d'extrême-gauche est celui dont on a le plus peur dans la communauté"
#Antisémitisme #Antisémite #ExtrêmeGauche
Source : #BFMTV
👇
-
I have added charmbracelet gum output and fzf timezone selection to batz (a time converter between timezones in shell, see https://blog.chmouel.com/2021/01/31/batzconverter-a-multiple-timezone-converter/)
grab it while it's hot here:
https://github.com/chmouel/batzconverter
#shell #bash #timezone #script #commandline #CharmBracelet #gum
-
How to use kitty to "edit" the output of the last command in $EDITOR or copy it to the clipboard:
map kitty_mod+a>e launch --type=overlay --stdin-source=@last_cmd_output zsh -ic 'nvim -R </dev/stdin'
map kitty_mod+a>v launch --type=overlay --stdin-source=@last_cmd_output zsh -ic 'wl-copy/pbcopy </dev/stdin'(kitty_mod mean Control+Shift)
this is for vim/neovim but use emacsclient -nw for emacs or whatever else rock your boat
-
Choosing a LLM model in gptel directly without having to go via the transient menu.... This has been bugging me for a while, since i don't think i am a fan of transient menu. I have a listed a potential solution in this #gptel issue
-
Running uv and pre-commit in a container (like on github actions), it looks simple but yet it took me many iterations to get there (i am sure someone may mentions a better way)
python3 -mpip install -U uv
uv sync
export PATH="$PATH:$(pwd)/.venv/bin"
uv add pre-commit ruff pylint
.venv/bin/pre-commit run -a -
Because I always forget, here's how to easily decode a kubectl secret with jq (I think there's a built-in way to do this, but life's too short to figure it out).
kubectl get secret secret -o json | jq -r '.data | to_entries[] | "\(.key): \(.value | @base64d)"'
-
I like to switch from my terminal to magit or dired in my emacs
I have a made a zsh function that works to launch a function in emacs and focus it:
function _emacs_action() {
emacsclient -u --eval "($1)"
(( $+commands[osascript] )) && osascript -e "tell application \"Emacs\" to activate"
(( $+commands[swaymsg] )) && swaymsg '[app_id="emacs"] focus'
}and use it like this:
alias magit="_emacs_action magit"
alias dired="_emacs_action dired-jump" -
while trying ollama on my minipc with amdgpu on archlinux, i had this error:
amdgpu is not supported (supported types:[gfx1010 gfx1012 gfx1030 gfx1100 gfx1101 gfx1102 gfx900 gfx906 gfx908 gfx90a gfx940 gfx941 gfx942])" gpu_type=gfx1103
since according to https://github.com/ollama/ollama/issues/3189 it is working with a env ovveride, I simply had to:
systemctl edit ollama
and add:
[Service]
Environment=HSA_OVERRIDE_GFX_VERSION=11.0.2 -
Getting kubebuilder Makefile to build and deploy using ko
change IMG variable at the top to:
IMG ?= ko://go.app.domain/cmd
and add a target
.PHONY: deploy-local
deploy-local: manifests kustomize
env KO_DOCKER_REPO=localhost:5000 KUBECONFIG=${HOME}/.kube/config.kind make deploythis deploy to a local registry and using a kubeconfig that is deployed for kind but customize thing as you wish there
-
I have just sent a email to #emacs devel list (to request a new package inclusion on nongnu-elpa) and i have checked the last time i have sent an email to that list was 20 years ago in 2003 😅 :
https://lists.gnu.org/archive/html/emacs-devel/2003-01/msg00361.html
-
I was trying to use #goland and #vscode on #macOS after a long time not launching them and could not figure out why the #vim mode (vsnvim and ideavim) would not working since the key repeat mode was enabled (the intl chars menu showing on long press of a key).
Solution came from a old vscode issue here:
https://github.com/microsoft/vscode/issues/31919#issuecomment-343897993
in short make sure to delete the key first and then do the specific override for each apps.
no idea why #emacs #zed and #kitty (ie: using #neovim) just worked
-
I enjoy using @atuin to sync my computers #zsh history but i am not sure why i don't quite get the interactive part (probably because of not having the full #emacs keybinding)
but it's flexible enough to be able to use fzf with it directly:
atuin search|fzf --with-nth=3..-2 +s
maybe i'll extend it to make it insert via #zsh zle to my command line directly
-
Asked #chatgpt for a poem about #tektonpipelines and I tought it was pretty nice #tektoncd
-
-
Picture of the beast #ergonomickeyboard #ergodox #zsamoonlander
-
Asked #chatgpt for a poem about #tektonpipelines and I tought it was pretty nice #tektoncd
-
Asked #chatgpt for a poem about #tektonpipelines and I tought it was pretty nice #tektoncd
-
ChatGPT und Co: Wir zeigen euch die wichtigsten Prompts für euren Job
Künstliche Intelligenz ist greifbarer denn je. Sie ist dabei nicht nur nette Spielerei; Bild-KI und Chatbots bieten viel Potenzial und können Nutzer:innen tatsächlich auch bestimmte Aufgaben abnehmen. Dafür braucht es aber die richtigen Prompts.
Mehr dazu in unserem Ratgeber: 👉 https://t3n.de/magazin/chatgpt-ki-sprachmodelle-prompts-job-252351/?utm_source=mastodon&utm_medium=referral #chatgpt #bard #KI #promptengineer #prompt