aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zshrc12
-rw-r--r--keymap.kbd2
-rw-r--r--kubernetes/ipfs/ipfs-deployment.yaml14
-rw-r--r--terminaldweller.com/main/nginx.conf4
-rw-r--r--terminaldweller.com/main/srv/index.html48
5 files changed, 74 insertions, 6 deletions
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 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <meta charset="utf-8" />
+ <meta name="viewport" content="width=device-width" />
+ <title>main</title>
+ <style>
+ a:link {
+ color: #005faf;
+ }
+ a:visited {
+ color: #008787;
+ }
+ </style>
+ </head>
+ <body style="color:#005f87;background:#000000;text-align:center;">
+ <p style="font-size:20px;font-weight:bold">This is a list of links:</p>
+ <p>
+ <p>WKD direct and advanced are setup on/for the domain.</p>
+ <div>
+ <div><a href="https://github.com/terminaldweller.gpg">GPG: 9E 20 46 4F 1C CF 3B 10 32 49 FA 93 A6 A0 F5 15 8B 38 81 DF</a></div>
+ <div><a href="https://github.com/terminaldweller.keys">SSH: SHA256:tyuaTy005jkJOIPXkrJAAlCKD91d1ftEXzGTqjmEZh4</a></div>
+ <p>
+ <div>IRC <a href="https://libera.chat">Libera</a>: terminaldweller <a>FP:fef763019f0799c1b5cd190fc89080240665cdcae1cb889d4413775447a4826f48b18dc134d3acdde1d932cf3280e6026099857cf46177f1d87cd9aa859c615f</a></div>
+ <div>IRC <a href="https://oftc.net">OFTC</a>: terminaldweller <a>FP:1072EFECA623C6E3D7A6628BEB6021F77EA2C876</a></div>
+ </p>
+ </div>
+ </p>
+ <p>Jabber: devi@jabber.terminaldweller.com</p>
+ <p>
+ <div>The order is significant:</div>
+ <div>Email: devi@terminaldweller.com</div>
+ <div>Email: thabogre@gmail.com</div>
+ <div>Email: farzadsadeghi@protonmail.ch</div>
+ </p>
+ <p>Github: <a href="https://github.com/terminaldweller">terminaldweller</a></p>
+ <p>
+ <div>Mastodon: <a href="https://fosstodon.org/@terminaldweller">@terminaldweller@terminaldweller.com</a></div>
+ <div>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 <a href="https://fosstodon.org/@terminaldweller">@terminaldweller@fosstodon.org</a></div>
+ </p>
+ <p>Git mirror: <a href="https://git.terminaldweller.com">git.terminaldweller.com</a></p>
+ <p>Blog: <a href="https://blog.terminaldweller.com">Blog</a> <a href="https://blog.terminaldweller.com/rss/feed">RSS</a></p>
+ <p><a href="https://www.linkedin.com/in/farzad-sadeghi/">Linkedin</a></p>
+ <div>
+ <p>Services: N/A</p>
+ </div>
+ </body>
+</html>