From 76a41004554c84071703c7d20de3a7bb773b3f6b Mon Sep 17 00:00:00 2001
From: terminaldweller
Date: Sat, 24 Dec 2022 00:30:31 +0330
Subject: update
---
.zshrc | 12 ++++++---
keymap.kbd | 2 +-
kubernetes/ipfs/ipfs-deployment.yaml | 14 +++++++++-
terminaldweller.com/main/nginx.conf | 4 +++
terminaldweller.com/main/srv/index.html | 48 +++++++++++++++++++++++++++++++++
5 files changed, 74 insertions(+), 6 deletions(-)
create mode 100644 terminaldweller.com/main/srv/index.html
diff --git a/.zshrc b/.zshrc
index 6f59a09..60ffa68 100644
--- a/.zshrc
+++ b/.zshrc
@@ -139,7 +139,7 @@ alias iredisrc="vim ~/scripts/.iredisrc"
alias fixiredisrc="cp ~/scripts/.iredisrc ~/.iredisrc"
# alias irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u $(id -u):$(id -g) --log-driver=none -e DBUS_SESSION_BUS_ADDRESS="$DBUS_SESSION_BUS_ADDRESS" -v $HOME/.irssi:/home/user/.irssi:ro -v /etc/localtime:/etc/localtime:ro devi_irssi"
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 tor_irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u $(id -u):$(id -g) --log-driver=none tor_irssi"
+alias tor_irssi="TERM=screen-256color docker run --runtime=runsc -it -e TERM -u 1001:1001 --log-driver=none -v tor_irssi_mount:/home/user/.irssi tor_irssi"
alias openbb="TERM=screen-256color \
docker \
run \
@@ -316,6 +316,7 @@ alias vdiff="vimdiff"
alias virt-top="/nix/store/gn20hprla1p86fkvml4c6im3839vmlzn-virt-top-1.1.1/bin/virt-top"
alias fox_in_a_box='ssh -X -i /home/devi/devi/vagrantboxes.git/main/dispffox/.vagrant/machines/default/libvirt/private_key vagrant@virt-dispffox.vagrant-libvirt "XAUTHORITY=/home/vagrant/.Xauthority firefox"'
alias run_doh_client="sudo doh-client -d doh.terminaldweller.com -r 185.130.47.81:443 -p getnsrecord --proxy-host 127.0.0.1:9995 --proxy-scheme socks5h --timeout 10"
+alias bun="ALL_PROXY=socks5h://127.0.0.1:9995 bun"
# change the 4th terminal color to #0000ff
# echo -e '\e]P40000ff'
@@ -499,9 +500,12 @@ export PATH=$PATH:/home/devi/vagrant
# export PATH=$PATH:/home/devi/devi/emsdk.git/main/upstream/emscripten
export PATH=$PATH:/home/devi/google-java-format
export PATH=$PATH:/home/devi/gradle/gradle-7.2/bin
-export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8
-export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8/node/14.18.2_64bit/bin
-export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8/upstream/emscripten
+# export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8
+# export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8/node/14.18.2_64bit/bin
+# export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.8/upstream/emscripten
+export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.28
+export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.28/node/14.18.2_64bit/bin
+export PATH=$PATH:/home/devi/devi/emsdk.git/3.1.28/upstream/emscripten
export PATH=$PATH:/home/devi/devi/git-scripts.git/master
# flatpaks
export PATGH=$PATH:/var/lib/flatpak/exports/bin
diff --git a/keymap.kbd b/keymap.kbd
index a27f7a0..72e0d58 100644
--- a/keymap.kbd
+++ b/keymap.kbd
@@ -17,7 +17,7 @@
)
-------------------------------------------------------------------------- |#
(defcfg
- input (device-file "/dev/input/by-id/usb-Razer_Razer_Huntsman_Tournament_Edition_00000000001A-event-kbd")
+ input (device-file "/dev/input/by-id/usb-Razer_Razer_Huntsman_Tournament_Edition_00000000001A-if01-event-kbd")
output (uinput-sink "KMonad output")
cmp-seq lalt
diff --git a/kubernetes/ipfs/ipfs-deployment.yaml b/kubernetes/ipfs/ipfs-deployment.yaml
index 41e1a29..12f50a1 100644
--- a/kubernetes/ipfs/ipfs-deployment.yaml
+++ b/kubernetes/ipfs/ipfs-deployment.yaml
@@ -18,6 +18,8 @@ spec:
- name: ipfs
image: linuxserver/ipfs:2.13.0
ports:
+ - containerPort: 80
+ - containerPort: 443
- containerPort: 4001
- containerPort: 5001
- containerPort: 8080
@@ -45,9 +47,19 @@ spec:
port: 5001
targetPort: 5001
nodePort: 30402
- name: "ipfs-tcp-80"
+ name: "ipfs-tcp-5001"
- protocol: TCP
port: 8080
targetPort: 8080
nodePort: 30403
+ name: "ipfs-tcp-8080"
+ - protocol: TCP
+ port: 80
+ targetPort: 80
+ nodePort: 30404
+ name: "ipfs-tcp-80"
+ - protocol: TCP
+ port: 443
+ targetPort: 443
+ nodePort: 30405
name: "ipfs-tcp-443"
diff --git a/terminaldweller.com/main/nginx.conf b/terminaldweller.com/main/nginx.conf
index db1404d..86cb085 100644
--- a/terminaldweller.com/main/nginx.conf
+++ b/terminaldweller.com/main/nginx.conf
@@ -34,5 +34,9 @@ http {
alias /srv/.well-known/openpgpkey/policy;
add_header Access-Control-Allow-Origin "*";
}
+ location / {
+ alias /srv/;
+ add_header Access-Control-Allow-Origin "*";
+ }
}
}
diff --git a/terminaldweller.com/main/srv/index.html b/terminaldweller.com/main/srv/index.html
new file mode 100644
index 0000000..2f23cef
--- /dev/null
+++ b/terminaldweller.com/main/srv/index.html
@@ -0,0 +1,48 @@
+
+
+
+
+
+ main
+
+
+
+ This is a list of links:
+
+
WKD direct and advanced are setup on/for the domain.
+
+
+ Jabber: devi@jabber.terminaldweller.com
+
+
The order is significant:
+ Email: devi@terminaldweller.com
+ Email: thabogre@gmail.com
+ Email: farzadsadeghi@protonmail.ch
+
+ Github: terminaldweller
+
+
+ If you cant find the handle then you need to log in. I'm not hosting my own mastodon instance. I'm just hosting my own webfinger. The actual handle is
@terminaldweller@fosstodon.org
+
+ Git mirror: git.terminaldweller.com
+ Blog: Blog RSS
+ Linkedin
+
+
+
--
cgit v1.2.3