aboutsummaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorMitja Felicijan <mitja.felicijan@gmail.com>2023-05-19 21:53:56 +0200
committerMitja Felicijan <mitja.felicijan@gmail.com>2023-05-19 21:53:56 +0200
commitc0c882b40fbfd38636d26ea0f1af6e1e84d48cb8 (patch)
treec8c922d7c4b92a3743dddc2f872e8a6e0d626cfe /content
parent050fbbdd276f9a0e91534f09e475a435d7ba65bc (diff)
downloadmitjafelicijan.com-c0c882b40fbfd38636d26ea0f1af6e1e84d48cb8.tar.gz
Added 9front and dd pastebin
Diffstat (limited to 'content')
-rwxr-xr-xcontent/pages/pastebin.md24
1 files changed, 24 insertions, 0 deletions
diff --git a/content/pages/pastebin.md b/content/pages/pastebin.md
index 1109724..0c5f474 100755
--- a/content/pages/pastebin.md
+++ b/content/pages/pastebin.md
@@ -7,6 +7,28 @@ draft: false
7 7
8*No additional explanation provided here. Use blog for more detailed stuff.* 8*No additional explanation provided here. Use blog for more detailed stuff.*
9 9
10**▒ Write ISO to USB Key**
11
12```sh
13sudo dd if=iso_file.iso of=/dev/sdX bs=4M status=progress conv=fdatasync
14```
15
16**▒ Mount Plan9 over network**
17
18- First install `libfuse` with `sudo apt install libfuse-dev`.
19- Then clone https://github.com/ftrvxmtrx/9pfs and compile it with `make`.
20- Copy `9pfs` to your path.
21
22```sh
23# On Plan9 side
24ip/ipconfig # enables network
25aux/listen1 -tv tcp!*!9999 /bin/exportfs -r tmp # export tmp folder
26
27# On Linux side
289pfs 172.18.0.1 -p 9999 local_folder # mount
29umount local_folder # unmount
30```
31
10**▒ Push to multiple origins at once in Git** 32**▒ Push to multiple origins at once in Git**
11 33
12```sh 34```sh
@@ -15,6 +37,8 @@ git config --global alias.pushall '!sh -c "git remote | xargs -L1 git push --all
15 37
16**▒ Run 9front in Qemu** 38**▒ Run 9front in Qemu**
17 39
40Download from here http://9front.org/iso/.
41
18```sh 42```sh
19# Create a qcow2 image. 43# Create a qcow2 image.
20qemu-img create -f qcow2 $HOME/VM/9front.qcow2.img 30G 44qemu-img create -f qcow2 $HOME/VM/9front.qcow2.img 30G