eb9f31c299b8 default tip

Merge
[view raw] [browse files]
author Steve Losh <steve@stevelosh.com>
date Tue, 02 Jul 2024 10:03:59 -0400
parents 46fd11ae3808
children (none)
branches/tags default tip
files bin/hl bin/temps remote/bin/temps stumpwm/key-mapping.lisp stumpwm/local-share-stumpwm/notes.dump vim/custom-dictionary.utf-8.add vim/ultisnips-bullshit/markdown.snippets vim/vimrc

Changes

--- a/bin/hl	Thu Jun 13 12:30:10 2024 -0400
+++ b/bin/hl	Tue Jul 02 10:03:59 2024 -0400
@@ -1,3 +1,3 @@
 #!/usr/bin/env bash
 
-less -R "$@"
+less -S -R "$@"
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/bin/temps	Tue Jul 02 10:03:59 2024 -0400
@@ -0,0 +1,22 @@
+#!/usr/bin/env bash
+
+set -euo pipefail
+
+function find_names {
+    grep . /sys/class/hwmon/hwmon*/name
+}
+function find_coretemp {
+    grep 
+}
+
+if test -z "${1:-}"; then
+    find_names
+else
+    dir=$(find_names | grep "$1" | cut -d / -f 5)
+    paste \
+        <(grep . "/sys/class/hwmon/$dir/"temp*_label | sort) \
+        <(grep . "/sys/class/hwmon/$dir/"temp*_input | sort) \
+        | tr -s ':' ' ' \
+        | awk '/Core/ {print $2, $3, $5/1000.0 }' \
+        | sort -n -k2
+fi
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/remote/bin/temps	Tue Jul 02 10:03:59 2024 -0400
@@ -0,0 +1,1 @@
+../../bin/temps
\ No newline at end of file
--- a/stumpwm/key-mapping.lisp	Thu Jun 13 12:30:10 2024 -0400
+++ b/stumpwm/key-mapping.lisp	Tue Jul 02 10:03:59 2024 -0400
@@ -134,6 +134,7 @@
 
 (define-top-keys ;; layout
   ("s-H-o" "only")
+  ("s-H-n" "restore-from-file notes")
   ("s-H-t" "restore-from-file thirds")
   ("s-H-m" "restore-from-file dev")
   ("s-H-s" "restore-from-file streaming")
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/stumpwm/local-share-stumpwm/notes.dump	Tue Jul 02 10:03:59 2024 -0400
@@ -0,0 +1,36 @@
+#S(GDUMP
+   :NUMBER 2
+   :NAME "notes"
+   :TREE ((((#S(FDUMP
+                :NUMBER 1
+                :X 0
+                :Y 0
+                :WIDTH 940
+                :HEIGHT 720
+                :WINDOWS (44040197)
+                :CURRENT 44040197)
+             #S(FDUMP
+                :NUMBER 3
+                :X 940
+                :Y 0
+                :WIDTH 940
+                :HEIGHT 720
+                :WINDOWS (67108869 27262981)
+                :CURRENT 67108869))
+            #S(FDUMP
+               :NUMBER 2
+               :X 0
+               :Y 720
+               :WIDTH 1880
+               :HEIGHT 720
+               :WINDOWS (29360133)
+               :CURRENT 29360133))
+           #S(FDUMP
+              :NUMBER 0
+              :X 1880
+              :Y 0
+              :WIDTH 680
+              :HEIGHT 1440
+              :WINDOWS (25165829)
+              :CURRENT 25165829)))
+   :CURRENT 3)
\ No newline at end of file
--- a/vim/custom-dictionary.utf-8.add	Thu Jun 13 12:30:10 2024 -0400
+++ b/vim/custom-dictionary.utf-8.add	Tue Jul 02 10:03:59 2024 -0400
@@ -469,3 +469,21 @@
 segfaulting
 segfaulted
 IGV
+hardcoding
+nonlocal
+basecalling
+systemd
+basecall
+basecalls
+basecaller
+basecalled
+Cas9
+samtools
+mux
+hostnames
+wifi
+Minimap2
+hedera
+Ansible
+SMaHT
+NOP
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/vim/ultisnips-bullshit/markdown.snippets	Tue Jul 02 10:03:59 2024 -0400
@@ -0,0 +1,8 @@
+snippet scrum "Scrum template" b
+Scrum:
+
+* Yesterday:
+    * $1
+* Today:
+    * $2
+endsnippet
--- a/vim/vimrc	Thu Jun 13 12:30:10 2024 -0400
+++ b/vim/vimrc	Tue Jul 02 10:03:59 2024 -0400
@@ -2421,6 +2421,7 @@
 nnoremap <silent> <leader>4 :call HiInterestingWord(4)<cr>
 nnoremap <silent> <leader>5 :call HiInterestingWord(5)<cr>
 nnoremap <silent> <leader>6 :call HiInterestingWord(6)<cr>
+nnoremap <silent> <leader>7 :call HiInterestingWord(7)<cr>
 
 " }}}
 " Default Highlights {{{
@@ -2431,6 +2432,7 @@
 hi def InterestingWord4 guifg=#000000 ctermfg=16 guibg=#b88853 ctermbg=137
 hi def InterestingWord5 guifg=#000000 ctermfg=16 guibg=#ff9eb8 ctermbg=211
 hi def InterestingWord6 guifg=#000000 ctermfg=16 guibg=#ff2c4b ctermbg=195
+hi def InterestingWord7 guifg=#000000 ctermfg=16 guibg=#af5fff ctermbg=135
 
 " }}}