Compare commits
10 Commits
36dbb50208
...
1975057dc2
| Author | SHA1 | Date | |
|---|---|---|---|
| 1975057dc2 | |||
| 77ad74ef9a | |||
| 1ecf0e8531 | |||
| 271ff423e8 | |||
| 4a2e178b78 | |||
|
|
27c9275a4d | ||
|
|
409afffd74 | ||
| aa980dd7c6 | |||
| c415bc54da | |||
|
|
6e083d64f1 |
5
bashrc
5
bashrc
@@ -67,6 +67,11 @@ esac
|
|||||||
export PROMPT_DIRTRIM=3
|
export PROMPT_DIRTRIM=3
|
||||||
|
|
||||||
addpath $HOME/bin
|
addpath $HOME/bin
|
||||||
|
export LD_LIBRARY_PATH=$HOME/lib:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
|
addpath $HOME/built/bin
|
||||||
|
export LD_LIBRARY_PATH=$HOME/built/lib:$LD_LIBRARY_PATH
|
||||||
|
|
||||||
addpath $HOME/opt/bin end
|
addpath $HOME/opt/bin end
|
||||||
|
|
||||||
export IPLAYER_OUTDIR="$HOME/Downloads/iplayer/"
|
export IPLAYER_OUTDIR="$HOME/Downloads/iplayer/"
|
||||||
|
|||||||
9
bashrc.d/disp.bash
Normal file
9
bashrc.d/disp.bash
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
function disp() {
|
||||||
|
if [[ $1 =~ ":" ]] ; then
|
||||||
|
VALUE=$1
|
||||||
|
else
|
||||||
|
VALUE=localhost:$1.0
|
||||||
|
fi
|
||||||
|
|
||||||
|
export DISPLAY=$VALUE
|
||||||
|
}
|
||||||
6
bashrc.d/eza.bash
Normal file
6
bashrc.d/eza.bash
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
EZA=$(which eza)
|
||||||
|
if [ -n "$EZA" ] ; then
|
||||||
|
alias ls="eza"
|
||||||
|
alias ll="eza -lg"
|
||||||
|
alias llb="eza -lgB"
|
||||||
|
fi
|
||||||
@@ -48,7 +48,6 @@ alias gorelease="cd /local/releases/irdeto"
|
|||||||
alias gomarvin='cd /local/scratch/pw921828/marvin && source .venv/bin/activate && source env.sh'
|
alias gomarvin='cd /local/scratch/pw921828/marvin && source .venv/bin/activate && source env.sh'
|
||||||
alias gozem='cd /local/scratch/pw921828/zem && source .venv/bin/activate'
|
alias gozem='cd /local/scratch/pw921828/zem && source .venv/bin/activate'
|
||||||
alias golevel4='cd /local/scratch/pw921828/stblevel4 && source .venv/bin/activate'
|
alias golevel4='cd /local/scratch/pw921828/stblevel4 && source .venv/bin/activate'
|
||||||
alias gomview='cd /local/scratch/pw921828/marvinview && source .venv/bin/activate && source env.sh'
|
|
||||||
|
|
||||||
alias bounce='rsync -av $NEXUS_TOP/../$B_REFSW_OBJ_DIR/nexus/bin/* /projects/build/pw921828/$B_REFSW_BOOTLOADER_CHIP'
|
alias bounce='rsync -av $NEXUS_TOP/../$B_REFSW_OBJ_DIR/nexus/bin/* /projects/build/pw921828/$B_REFSW_BOOTLOADER_CHIP'
|
||||||
alias m="make && bounce"
|
alias m="make && bounce"
|
||||||
@@ -71,7 +70,8 @@ GPG_TTY=$(tty)
|
|||||||
export GPG_TTY
|
export GPG_TTY
|
||||||
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
export SSH_AUTH_SOCK="${XDG_RUNTIME_DIR}/ssh-agent.socket"
|
||||||
|
|
||||||
export EDITOR="vim -X"
|
|
||||||
export BORG_PASSCOMMAND='pass show borg_sec1_to_sec2'
|
export BORG_PASSCOMMAND='pass show borg_sec1_to_sec2'
|
||||||
|
|
||||||
export UV_CACHE_DIR="/local/scratch/$USER/.cache/"
|
export UV_CACHE_DIR="/local/scratch/$USER/.cache/"
|
||||||
|
|
||||||
|
echo "DISPLAY: $DISPLAY"
|
||||||
|
|||||||
14
bin/dump-docx.py
Executable file
14
bin/dump-docx.py
Executable file
@@ -0,0 +1,14 @@
|
|||||||
|
#!/usr/bin/env python
|
||||||
|
import sys
|
||||||
|
|
||||||
|
# python-docx
|
||||||
|
import docx
|
||||||
|
|
||||||
|
if len(sys.argv) < 2:
|
||||||
|
print(f"Usage: {sys.argv[0]} <document> [document ...]")
|
||||||
|
|
||||||
|
for fn in sys.argv[1:]:
|
||||||
|
print(f"\n{fn}:\n")
|
||||||
|
doc = docx.Document(fn)
|
||||||
|
for p in doc.paragraphs:
|
||||||
|
print(p.text)
|
||||||
6
install
6
install
@@ -48,7 +48,7 @@ unset COMMANDS MISSING
|
|||||||
# RC files
|
# RC files
|
||||||
|
|
||||||
mkdir -pv bak
|
mkdir -pv bak
|
||||||
for rc in *rc *profile tmux*.conf bashrc.d mutt tmux*conf slrn sqliterc ctags ; do
|
for rc in *rc *profile tmux*.conf bashrc.d mutt tmux*conf slrn sqliterc ctags taskrc ; do
|
||||||
if [ ! -r $rc ] ; then
|
if [ ! -r $rc ] ; then
|
||||||
continue
|
continue
|
||||||
fi
|
fi
|
||||||
@@ -131,7 +131,11 @@ if [ $IS_FREEBSD == 1 ] ; then
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
# Just add these, for now.
|
# Just add these, for now.
|
||||||
|
<<<<<<< HEAD
|
||||||
ADD_ONLY="python tmux sbcl gohugo erlang elixir clojure ag task bat"
|
ADD_ONLY="python tmux sbcl gohugo erlang elixir clojure ag task bat"
|
||||||
|
=======
|
||||||
|
ADD_ONLY="python tmux sbcl gohugo erlang elixir clojure golang nodejs task"
|
||||||
|
>>>>>>> 5fd2c11 (install: move golang, nodejs to ADD_ONLY)
|
||||||
for plugin in $ADD_ONLY ; do
|
for plugin in $ADD_ONLY ; do
|
||||||
asdf plugin add $plugin
|
asdf plugin add $plugin
|
||||||
done
|
done
|
||||||
|
|||||||
2
mailcap
2
mailcap
@@ -16,3 +16,5 @@ application/pgp-encrypted; gpg -q -d ; copiousoutput
|
|||||||
# text/calendar; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s
|
# text/calendar; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s
|
||||||
# application/ics; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s
|
# application/ics; khal import -a 1c4af6ff-2ace-40c4-b626-81902099e590 %s
|
||||||
application/pdf; mupdf %s
|
application/pdf; mupdf %s
|
||||||
|
|
||||||
|
application/vnd.openxmlformats-officedocument.wordprocessingml.document; dump-docx.py %s; copiousoutput
|
||||||
|
|||||||
37
taskrc
Normal file
37
taskrc
Normal file
@@ -0,0 +1,37 @@
|
|||||||
|
# [Created by task 3.4.2 12/15/2025 14:46:15]
|
||||||
|
data.location=/home/pw921828/.task
|
||||||
|
news.version=3.4.2
|
||||||
|
|
||||||
|
# To use the default location of the XDG directories,
|
||||||
|
# move this configuration file from ~/.taskrc to ~/.config/task/taskrc and update location config as follows:
|
||||||
|
|
||||||
|
#data.location=~/.local/share/task
|
||||||
|
#hooks.location=~/.config/task/hooks
|
||||||
|
|
||||||
|
# Color theme (uncomment one to use)
|
||||||
|
#include light-16.theme
|
||||||
|
include light-256.theme
|
||||||
|
#include bubblegum-256.theme
|
||||||
|
#include dark-16.theme
|
||||||
|
#include dark-256.theme
|
||||||
|
#include dark-red-256.theme
|
||||||
|
#include dark-green-256.theme
|
||||||
|
#include dark-blue-256.theme
|
||||||
|
#include dark-violets-256.theme
|
||||||
|
#include dark-yellow-green.theme
|
||||||
|
#include dark-gray-256.theme
|
||||||
|
#include dark-gray-blue-256.theme
|
||||||
|
#include solarized-dark-256.theme
|
||||||
|
#include solarized-light-256.theme
|
||||||
|
#include no-color.theme
|
||||||
|
|
||||||
|
sync.server.client_id=f22e676f-492f-483d-8391-250cdffd6c9d
|
||||||
|
sync.server.url=http:\/\/10.178.6.58:18183
|
||||||
|
sync.encryption_secret=BVgiEXnw6kGks
|
||||||
|
recurrence=on
|
||||||
|
|
||||||
|
report.weekly.description=Weekly report
|
||||||
|
report.weekly.columns=project,start,end,tags,description.count
|
||||||
|
report.weekly.sort=project+\/,end+
|
||||||
|
#report.weekly.filter=end.after=today-1wk and status:completed or status:pending
|
||||||
|
report.weekly.filter=end.after=today-1wk and status:completed
|
||||||
@@ -92,7 +92,7 @@ set -g renumber-windows on
|
|||||||
# List of plugins
|
# List of plugins
|
||||||
set -g @plugin 'tmux-plugins/tpm'
|
set -g @plugin 'tmux-plugins/tpm'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sensible'
|
set -g @plugin 'tmux-plugins/tmux-sensible'
|
||||||
set -g @plugin 'tmux-plugins/tmux-resurrect'
|
# set -g @plugin 'tmux-plugins/tmux-resurrect'
|
||||||
set -g @plugin 'tmux-plugins/tmux-continuum'
|
set -g @plugin 'tmux-plugins/tmux-continuum'
|
||||||
set -g @plugin 'tmux-plugins/tmux-sidebar'
|
set -g @plugin 'tmux-plugins/tmux-sidebar'
|
||||||
|
|
||||||
@@ -104,7 +104,7 @@ set -g @plugin "nordtheme/tmux"
|
|||||||
# set -g @plugin 'git@github.com/user/plugin'
|
# set -g @plugin 'git@github.com/user/plugin'
|
||||||
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
# set -g @plugin 'git@bitbucket.com/user/plugin'
|
||||||
|
|
||||||
set -g @resurrect-strategy-vim 'session'
|
# set -g @resurrect-strategy-vim 'session'
|
||||||
set -g @continuum-restore 'on'
|
set -g @continuum-restore 'on'
|
||||||
|
|
||||||
# Load OS-specific settings
|
# Load OS-specific settings
|
||||||
|
|||||||
Reference in New Issue
Block a user