diff options
-rw-r--r-- | .vimrc | 2 | ||||
-rw-r--r-- | .zshrc | 3 | ||||
-rw-r--r-- | postit | 1 | ||||
-rwxr-xr-x | python/main.py | 11 | ||||
-rw-r--r-- | terminaldweller.com/cargo/Dockerfile | 2 |
5 files changed, 13 insertions, 6 deletions
@@ -208,6 +208,7 @@ Plug 'HiPhish/info.vim' Plug 'kmonad/kmonad-vim' " Plug 'kana/vim-operator-user' " Plug 'terryma/vim-multiple-cursors' +" Plug 'Konfekt/vim-office' " Plug 'haya14busa/vim-operator-flashy' " Plug 'terryma/vim-expand-region' " Plug 'romainl/vim-devdocs' @@ -858,6 +859,7 @@ nnoremap <silent> <leader>0 :call HighInterestingWord(0)<cr> "scratchpad let g:scratchpad_path = '/home/devi/.scratchpads' +let g:scratchpad_ftype = '' nmap <F9> <Plug>(ToggleScratchPad) let g:tagbar_type_rust = { @@ -128,7 +128,8 @@ alias fixpgclirc="cp ~/scripts/.config/pgcli/config ~/.config/pgcli/config" alias jupyterlab="jupyter lab --no-browser --port 9989" alias iredisrc="vim ~/scripts/.iredisrc" alias fixiredisrc="cp ~/scripts/.iredisrc ~/.iredisrc" -alias irssi="irssi -n terminaldweller" +# alias irssi="irssi -n terminaldweller" +alias irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u $(id -u):$(id -g) --log-driver=none -v $HOME/.irssi:/home/user/.irssi:ro -v /etc/localtime:/etc/localtime:ro devi_irssi" alias joplinkeymap="vim ~/scripts/.config/joplin/keymap.json" alias fixjoplinkeymap="cp ~/scripts/.config/joplin/keymap.json ~/.config/joplin/keymap.json" alias postitrc="vim ~/scripts/postit" @@ -40,3 +40,4 @@ sudo mount -t cifs -o user=pi4,vers=2.0,domain=MSHOME //192.168.1.200/disk1 /hom account add telegram +XXXXXXXXXXX account add skypeweb thabogre@gmail.com XXXXXXXX git reset --hard HEAD~2 +tcpdump -ennqti enp0s0f0 \( arp or icmp \) diff --git a/python/main.py b/python/main.py index 6649cb2..b68aa5b 100755 --- a/python/main.py +++ b/python/main.py @@ -16,12 +16,15 @@ class Argparser(object): def __init__(self): parser = argparse.ArgumentParser() parser.add_argument("--string", type=str, help="string") - parser.add_argument("--bool", action="store_true", - help="bool", default=False) - parser.add_argument("--dbg", action="store_true", - help="debug", default=False) + parser.add_argument( + "--bool", action="store_true", help="bool", default=False + ) + parser.add_argument( + "--dbg", action="store_true", help="debug", default=False + ) self.args = parser.parse_args() + # write code here diff --git a/terminaldweller.com/cargo/Dockerfile b/terminaldweller.com/cargo/Dockerfile index 6907039..79f99c9 100644 --- a/terminaldweller.com/cargo/Dockerfile +++ b/terminaldweller.com/cargo/Dockerfile @@ -1,7 +1,7 @@ FROM alpine:3.15 AS certbuilder RUN apk update && apk add openssl WORKDIR /certs -RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=localhost" -keyout server.key -out server.cert +RUN openssl req -nodes -new -x509 -subj="/C=US/ST=Denial/L=springfield/O=Dis/CN=cargo.terminaldweller.com" -keyout server.key -out server.cert FROM nginx:mainline-alpine COPY --from=certbuilder /certs/ /certs |