Changes on Wed 07 Sep 2022 10:00:00 PM CEST

Signed-off-by: TuDatTr <tuan-dat.tran@tudattr.dev>
clean_emacs
TuDatTr 2022-09-07 22:00:00 +02:00
parent f8055181a8
commit 7d19f55639
11 changed files with 672 additions and 386 deletions

View File

@ -1,24 +1,4 @@
# status - Byobu's default status enabled/disabled settings # Status bar for tmux and screen
#
# Override these in $BYOBU_CONFIG_DIR/status
# where BYOBU_CONFIG_DIR is XDG_CONFIG_HOME if defined,
# and $HOME/.byobu otherwise.
#
# Copyright (C) 2009-2011 Canonical Ltd.
#
# Authors: Dustin Kirkland <kirkland@byobu.org>
#
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, version 3 of the License.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
#
# You should have received a copy of the GNU General Public License
# along with this program. If not, see <http://www.gnu.org/licenses/>.
# Status beginning with '#' are disabled. # Status beginning with '#' are disabled.
@ -28,10 +8,8 @@ screen_upper_right="color whoami hostname ip_address menu"
screen_lower_left="color logo distro release #arch session" screen_lower_left="color logo distro release #arch session"
screen_lower_right="color network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk #time_utc date time" screen_lower_right="color network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap disk #time_utc date time"
# Tmux has one status line, with 2 halves for status # Tmux has one status line, with 2 halves for status
tmux_left=" logo #distro #release #arch session" tmux_left=" logo #distro #release #arch #session"
# You can have as many tmux right lines below here, and cycle through them using Shift-F5 # You can have as many tmux right lines below here, and cycle through them using Shift-F5
tmux_right=" #network #disk_io #custom #entropy #raid #reboot_required #updates_available #apport #services #mail #users uptime #fan_speed #cpu_temp battery #wifi_quality #processes load_average #cpu_count #cpu_freq #memory #swap #disk #whoami #hostname ip_address #time_utc date time" tmux_right="#network #disk_io #custom #entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime #fan_speed #cpu_temp battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap #disk #whoami #hostname ip_address #time_utc date time"
#tmux_right="network #disk_io #custom entropy raid reboot_required updates_available #apport #services #mail users uptime fan_speed cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk whoami hostname ip_address #time_utc date time"
#tmux_right="network #disk_io custom #entropy raid reboot_required updates_available #apport #services #mail users uptime #fan_speed #cpu_temp battery wifi_quality #processes load_average cpu_count cpu_freq memory #swap #disk #whoami #hostname ip_address #time_utc date time"
#tmux_right="#network disk_io #custom entropy #raid #reboot_required #updates_available #apport #services #mail #users #uptime fan_speed cpu_temp #battery #wifi_quality #processes #load_average #cpu_count #cpu_freq #memory #swap whoami hostname ip_address #time_utc disk date time"

View File

@ -110,6 +110,7 @@ exec --no-startup-id ~/.scripts/startup.sh
exec --no-startup-id llk exec --no-startup-id llk
exec --no-startup-id emacs --daemon exec --no-startup-id emacs --daemon
exec --no-startup-id syncthing exec --no-startup-id syncthing
exec --no-startup-id xrandr --output eDP1 --auto --left-of HDMI1 --output HDMI1 --off --output DP1 --off; feh --randomize --bg-fill /home/tuan/Pictures/Wallpaper/*
exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/* exec --no-startup-id feh --randomize --bg-fill $HOME/Pictures/Wallpaper/*
############################################################################### ###############################################################################

View File

@ -1,123 +1,132 @@
/******************************************************************************* /*
* ROFI Color theme * ROFI color theme
* User: deadguy *
* Copyright: deadguy * Based on Base16 Material Color Scheme (https://github.com/ntpeters/base16-materialtheme-scheme)
* Color-Theme: Materia *
*******************************************************************************/ * User: Tomaszal
* Copyright: Tomas Zaluckij
*/
* { * {
background-color: #263238; base00: #263238;
text-color: #cfd8dc; base01: #2E3C43;
selbg: #03a9f4; base02: #314549;
actbg: #37474f; base03: #546E7A;
urgbg: #e91e63; base04: #B2CCD6;
base05: #EEFFFF;
base06: #EEFFFF;
base07: #FFFFFF;
base08: #F07178;
base09: #F78C6C;
base0A: #FFCB6B;
base0B: #C3E88D;
base0C: #89DDFF;
base0D: #82AAFF;
base0E: #C792EA;
base0F: #FF5370;
selected-normal-foreground: @selbg; /*base0D: #00BCD4;*/
normal-foreground: @text-color;
selected-normal-background: @actbg;
normal-background: @background-color;
selected-urgent-foreground: @background-color; spacing: 0;
urgent-foreground: @text-color; background-color: transparent;
selected-urgent-background: @urgbg;
urgent-background: @background-color;
selected-active-foreground: @selbg; font: "Roboto Mono 13";
active-foreground: @text-color;
selected-active-background: @actbg;
active-background: @selbg;
margin: 0;
padding: 0;
} }
#window { window {
location: north; transparency: "real";
anchor: north; /*fullscreen: true;*/
height: 22%; background-color: #263238CC; /*base00 + CC (80% opacity)*/
width: 59%;
orientation: vertical;
children: [mainbox];
} }
#mainbox { mainbox {
spacing: 0.8em; children: [inputbar, message, mode-switcher, listview];
children: [ entry,listview ]; spacing: 30px;
/*margin: 20%;*/
padding: 30px 0;
border: 1px;
border-color: @base0D;
} }
#button { padding: 5px 2px; } inputbar {
padding: 0 30px;
#button selected { children: [prompt, textbox-prompt-colon, entry, case-indicator];
background-color: @active-background;
text-color: @background-color;
} }
#inputbar { prompt {
padding: 5px; text-color: @base0D;
spacing: 5px;
} }
#listview { textbox-prompt-colon {
spacing: 0.5em; expand: false;
dynamic: false; str: ":";
cycle: true; margin: 0 1ch 0 0;
text-color: @base0D;
} }
#element { padding: 10px; } entry {
text-color: @base07;
#entry {
expand: false;
text-color: @normal-foreground;
vertical-align: 1;
padding: 5px;
} }
#element.normal.normal { case-indicator {
background-color: @normal-background; text-color: @base0F;
text-color: @normal-foreground;
} }
#element.normal.urgent { mode-switcher, message {
background-color: @urgent-background; border: 1px 0;
text-color: @urgent-foreground; border-color: @base0D;
} }
#element.normal.active { button, textbox {
background-color: @active-background; background-color: @base03;
text-color: @active-foreground; text-color: @base07;
padding: 5px;
} }
#element.selected.normal { button selected {
background-color: @selected-normal-background; background-color: @base0D;
text-color: @selected-normal-foreground;
border: 0 5px solid 0 0;
border-color: @active-background;
} }
#element.selected.urgent { listview {
background-color: @selected-urgent-background; scrollbar: true;
text-color: @selected-urgent-foreground; margin: 0 10px 0 30px;
} }
#element.selected.active { scrollbar {
background-color: @selected-active-background; background-color: @base03;
text-color: @selected-active-foreground; handle-color: @base0D;
handle-width: 10px;
border: 0 1px;
border-color: @base0D;
margin: 0 0 0 20px;
} }
#element.alternate.normal { element {
background-color: @normal-background; padding: 5px;
text-color: @normal-foreground; highlight: bold underline;
} }
#element.alternate.urgent { element normal {
background-color: @urgent-background; background-color: transparent;
text-color: @urgent-foreground;
} }
#element.alternate.active { element selected {
background-color: @active-background; background-color: @base0D;
text-color: @active-foreground;
} }
element alternate {
/*background-color: @base03;*/
}
element normal normal, element selected normal, element alternate normal {
text-color: @base07;
}
element normal urgent, element selected urgent, element alternate urgent {
text-color: @base0F;
}
element normal active, element selected active, element alternate active {
text-color: @base0B;
}

View File

@ -1,16 +1,17 @@
u:/home/tuan/Documents/Uni/Studium/2022 Sommersemester u:/home/tuan/Documents/Uni/Studium/2022_Sommersemester
p:/home/tuan/Documents/Protokolle/FSE p:/home/tuan/Documents/Protokolle/FSE
o:/home/tuan/.dotfiles/config o:/home/tuan/.dotfiles/config
m:/run/media m:/run/media/tuan
a:/home/tuan/Documents/Arbeit a:/home/tuan/.syncthing/Documents/Arbeit
l:/home/tuan/Local l:/home/tuan/Local
c:/home/tuan/Documents/CTF c:/home/tuan/Documents/CTF
t:/home/tuan/Templates t:/home/tuan/Templates
w:/home/tuan/workspace_l w:/home/tuan/workspace_l/home_lab/wiki
k:/home/tuan/Documents/Uni/Studium/2017&2018 Wintersemester/Rechnerstrukturen und Betriebssysteme [4,0]/Rechnerstrukturen k:/home/tuan/.syncthing/Documents/Uni/Studium/2022_Sommersemester/Bachelorprojekt/Implement EFCF based on libAFL/git/foundry/evm/src/executor
q:/home/tuan/Quick Drop q:/home/tuan/Quick Drop
':/home/tuan/.syncthing/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/08-rev-ecn-p4 ':/home/tuan/.byobu
e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon e:/home/tuan/Documents/CTF/TryHackMe/Ice/2_Recon
s:/home/tuan/Pictures/Screenshots s:/home/tuan/Pictures/Screenshots
v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible v:/home/tuan/.aya01/Documents/Arbeit/Uni-DuE_NCS_SHK/04_-_Projekte/06-Server_Setup/ansible
f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen f:/home/tuan/Documents/Finanzen/Unternehmen/Rechnungen
g:/home/tuan/workspace_l/home_lab

172
config/.ssh/#config# Normal file
View File

@ -0,0 +1,172 @@
# Services
Host github.com
Hostname github.com
Port 22
User git
IdentityFile /mnt/veracrypt1/git
Host gitlab.com
Hostname gitlab.com
Port 22
User git
IdentityFile /mnt/veracrypt1/git
Host picoCTF
HostName 2018shell4.picoctf.com
Port 22
User mos4
IdentityFile "/home/tuan/Documents/CTF/picoCTF/2018/30 - ssh-keyz/picoCTF"
Host git.uni-due.de
HostName git.uni-due.de
Port 22
User git
IdentityFile /mnt/veracrypt1/git
# Homeserver
Host laya01
HostName 192.168.2.100
Port 22
User tudattr
IdentityFile /mnt/veracrypt1/genesis
Host aya01
HostName 10.0.0.100
Port 22
User tudattr
IdentityFile /mnt/veracrypt1/genesis
ForwardX11 yes
Host git.aya01
HostName 10.0.0.100
Port 23231
User tudattr
IdentityFile /mnt/veracrypt1/genesis
Host mikrotik
HostName 192.168.2.1
Port 2200
User tudattr
IdentityFile /mnt/veracrypt1/tudattr_rsa
# Work
Host iperf-client
HostName 10.1.11.114
Port 22
User user
IdentityFile /mnt/veracrypt1/proxmox
Host iperf-server
HostName 10.1.11.112
Port 22
User user
IdentityFile /mnt/veracrypt1/proxmox
Host ncs-headnode
HostName 132.252.68.50
Port 2122
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
# ForwardX11 yes
Host ncs-headnode-user
HostName 132.252.68.50
Port 2122
User user
IdentityFile /mnt/veracrypt1/tudattr
ForwardX11 yes
Host ncs-node1
HostName 192.168.1.11
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-headnode
Host ncs-node2
HostName 192.168.1.7
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-node2-user
HostName 192.168.1.7
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-headnode
Host ncs-node4
HostName 192.168.1.9
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-node4-user
HostName 192.168.1.9
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-headnode
Host ncs2
HostName 192.168.1.13
Port 22
User user # tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-node5
HostName 192.168.1.15
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-wedge
Hostname 192.168.1.5
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
# ForwardX11 yes
ProxyJump ncs-headnode
Host ncs-local-server
HostName 192.168.1.3
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
Host ncs-local-server-user
HostName 192.168.1.3
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
Host ncs-local-server2
HostName 192.168.2.2
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
ProxyJump ncs-local-server
Host ncs-node6
Hostname 192.168.1.17
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
# ForwardX11 yes
ProxyJump ncs-headnode
Host ncs-node3
Hostname 192.168.1.19
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ForwardX11 yes
ProxyJump ncs-headnode

View File

@ -25,7 +25,7 @@ Host git.uni-due.de
# Homeserver # Homeserver
Host laya01 Host laya01
HostName 192.168.2.190 HostName 192.168.2.100
Port 22 Port 22
User tudattr User tudattr
IdentityFile /mnt/veracrypt1/genesis IdentityFile /mnt/veracrypt1/genesis
@ -35,13 +35,20 @@ Host aya01
Port 22 Port 22
User tudattr User tudattr
IdentityFile /mnt/veracrypt1/genesis IdentityFile /mnt/veracrypt1/genesis
ForwardX11 yes
Host git.aya01 Host git.aya01
HostName 10.0.0.100 HostName 10.0.0.100
Port 23231 Port 23231
User tudattr User tudattr
IdentityFile /mnt/veracrypt1/genesis IdentityFile /mnt/veracrypt1/genesis
Host mikrotik
HostName 192.168.2.1
Port 2200
User tudattr
IdentityFile /mnt/veracrypt1/tudattr_rsa
# Work # Work
Host iperf-client Host iperf-client
HostName 10.1.11.114 HostName 10.1.11.114
@ -55,31 +62,128 @@ Host iperf-server
User user User user
IdentityFile /mnt/veracrypt1/proxmox IdentityFile /mnt/veracrypt1/proxmox
Host ncs-server Host ncs-headnode
HostName 132.252.68.50 HostName 132.252.68.50
Port 2122 Port 2122
User tuan-dat.tran User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ForwardX11 yes
Host ncs-headnode-user
HostName 132.252.68.50
Port 2122
User user
IdentityFile /mnt/veracrypt1/tudattr IdentityFile /mnt/veracrypt1/tudattr
ForwardX11 yes ForwardX11 yes
Host ncs1 Host ncs-node1
HostName 192.168.1.11 HostName 192.168.1.11
Port 22 Port 22
User tuan-dat.tran User user
IdentityFile /mnt/veracrypt1/tudattr IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-server ProxyJump ncs-headnode
Host ncs-node2
HostName 192.168.1.7
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
ForwardX11 yes
Host ncs-node2-user
HostName 192.168.1.7
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-headnode
Host ncs-node4
HostName 192.168.1.9
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-node4-user
HostName 192.168.1.9
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
ProxyJump ncs-headnode
Host ncs2 Host ncs2
HostName 192.168.1.13 HostName 192.168.1.13
Port 22 Port 22
User user # tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-headnode
Host ncs-node5
HostName 192.168.1.15
Port 22
User tuan-dat.tran User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis IdentityFile /mnt/veracrypt1/genesis
ProxyJump ncs-server ProxyJump ncs-headnode
Host p4switch Host ncs-wedge
Hostname 192.168.1.5 Hostname 192.168.1.5
Port 22 Port 22
User user User user
IdentityFile /mnt/veracrypt1/genesis
# ForwardX11 yes
ProxyJump ncs-headnode
Host ncs-local-server
HostName 192.168.1.3
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
Host ncs-local-server-user
HostName 192.168.1.3
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
Host ncs-local-server2
HostName 192.168.2.2
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
StrictHostKeyChecking no
ProxyJump ncs-local-server
Host ncs-node6
Hostname 192.168.1.17
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
# ForwardX11 yes
ProxyJump ncs-headnode
Host ncs-node6-user
Hostname 192.168.1.17
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr
# ForwardX11 yes
ProxyJump ncs-headnode
Host ncs-node3
Hostname 192.168.1.19
Port 22
User user
IdentityFile /mnt/veracrypt1/tudattr IdentityFile /mnt/veracrypt1/tudattr
ForwardX11 yes ForwardX11 yes
ProxyJump ncs-server ProxyJump ncs-headnode
Host ncs-node7
Hostname 192.168.1.18
Port 22
User tuan-dat.tran
IdentityFile /mnt/veracrypt1/genesis
ForwardX11 yes
ProxyJump ncs-headnode

View File

@ -8,3 +8,24 @@ git.uni-due.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyN
10.0.0.100 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmO/pCjdy/dFQ1WWwL4VKo47vJPlx4ZQwl9N5JT1yhA 10.0.0.100 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmO/pCjdy/dFQ1WWwL4VKo47vJPlx4ZQwl9N5JT1yhA
10.0.0.100 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBWnqb2d9cI1MIoc17D8uo7EgRdKkhkoUUY2UtUS9FfF1h5bJwyPfRS+TeSXbBDwuuXfTf7lNG2xYQ0Tpb+0sM0= 10.0.0.100 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBBWnqb2d9cI1MIoc17D8uo7EgRdKkhkoUUY2UtUS9FfF1h5bJwyPfRS+TeSXbBDwuuXfTf7lNG2xYQ0Tpb+0sM0=
[10.0.0.100]:23231 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKa1sCIExBwatQ1X85p/xFmCY5MBAUDjABLd3fQgdA5n [10.0.0.100]:23231 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKa1sCIExBwatQ1X85p/xFmCY5MBAUDjABLd3fQgdA5n
gitlab.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIAfuCHKVTjquxvt6CM6tdG4SLp1Btn/nOeHHE5UOzRdf
gitlab.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBFSMqzJeV9rUzU4kWitGjeR4PWSa29SPqJ1fVkhtj3Hw9xjLVXVYrU9QlYWrOLXBpQ6KWjbjTDTdDkoohFzgbEY=
192.168.2.190 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmO/pCjdy/dFQ1WWwL4VKo47vJPlx4ZQwl9N5JT1yhA
3.122.251.154 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINT9t9WZRy4YwTCix7d86Xo1TBpldmPalLIUyjsG4ex6
3.122.251.154 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBNxSKje2LHAJLpcfpHRLNxDsZkVSraB4vyhZ4pZfi4jsidN09rqChdEB07ED+Z454YH6R52wRzCUq6NLCBiaW4Y=
192.168.1.15 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILRE15nvh55iqWo0jsJD+OJCujZO0NE9vsd3iDtcK8zm
192.168.1.9 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIM2yHTza39ho0yO3X2P/UGGDo3qUb4m4tT+BKotV8qQR
10.168.68.113 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIIFlFGQk/gTzz64QvorDZSzSyGWcN5tgep9VAZwB5usY
10.168.68.113 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLxPSE4D3NLhONmWd2WaZNyARkObFc+leUSXnI1CSIFnfFs2DRooJP9O6DH9y2hQLteaECKxZCV3BYcCUOIPjDc=
[192.168.2.100]:2200 ssh-rsa AAAAB3NzaC1yc2EAAAABAwAAAQEArbpijZwwmnWA5OuyNAJ7roKXmw+4WMWOdMyACi7pOT2NF4PkRYni1NJ3bDiivsiQEX+dFlpL29TyZTM6o/veqph3HtMY74eQcG3IsjjTrPKlQndoXWXh1shtI2Kv8/aljJQKsumiPx8p7K5rdNat2nk0glU0+Ypsw0BlkhMVzEyg7TYE334Zg22pRK6DPqLvM6B9GxJDENBAFgOkRz9AucQNT1kp1ADzr8Ej5ze+Bgli46mBDsBv3MKB8+u/vA/HZpXJPjLatO9RlvS/82ag0Nm+swUluvnviydNnUsifwTa5ci7f9SLqHVxaDULANIZDalxPkhXaVeJaz+4nKooPQ==
192.168.2.100 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmO/pCjdy/dFQ1WWwL4VKo47vJPlx4ZQwl9N5JT1yhA
192.168.1.17 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAII+Ox4aKAB4XGtENGIJGtdn0zqImTVVGHJm+xxmt7eRs
192.168.1.19 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIGwt/yA+xeJ8gCsMdCmsAY9yDR5FbtDq7jVyeaRWjCGv
192.168.1.7 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILr0Ih33Ltl8VTsNGTJuLsHCk9Pxga0nGb/L2nYKmGSU
192.168.1.7 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBOraDeidKkInPbV9OCEuCtOOUqhAOtqWOlolhjyKpWIqqUhNxvho+glBKUFLA6PqEudd6O3aCGujVMntezVArpA=
github.com ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOMqqnkVzrm0SdG6UOoqKLsabgH5C9okWi0dh2l9GKJl
github.com ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEAq2A7hRGmdnm9tUDbO9IDSwBK6TbQa+PXYPCPy6rbTrTtw7PHkccKrpp0yVhp5HdEIcKr6pLlVDBfOLX9QUsyCOV0wzfjIJNlGEYsdlLJizHhbn2mUjvSAHQqZETYP81eFzLQNnPHt4EVVUh7VfDESU84KezmD5QlWpXLmvU31/yMf+Se8xhHTvKSCZIFImWwoG6mbUoWf9nzpIoaSjB+weqqUUmpaaasXVal72J+UX2B+2RPW3RcT0eOzQgqlJL3RKrTJvdsjE3JEAvGq3lGHSZXy28G3skua2SmVi/w4yCE6gbODqnTWlg7+wC604ydGXA8VJiS5ap43JXiUFFAaQ==
github.com ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBEmKSENjQEezOmxkZMy7opKgwFB9nkt5YRrYMjNuG5N87uRgg6CLrbo5wAdT/y6v0mKV0U2w0WZ2YB/++Tpockg=
192.168.1.3 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDm5UJ5LRF5qbHGAb4slJPjTIEARfJi2f8LOimHPxm8R
192.168.1.3 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBKyLGdc8cjkf3x8mPwu3cW92VRhSLArzotNuwbdTeGku2QgIiphEBj86LM/A775YzETgyXstcRp3rJ5KapXxmNw=
192.168.1.18 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDm5UJ5LRF5qbHGAb4slJPjTIEARfJi2f8LOimHPxm8R

View File

@ -1,8 +0,0 @@
[132.252.68.50]:2122 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIJ2rX+RpL3RPfk17qflnZ2sf5QekOJfrMedGFah0lySj
192.168.1.5 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAINcw2SSLRyxIhZUPST8BrBmbgVY3IRtKZduLoZowhyTO
192.168.1.5 ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBLi0dyMvhMJ2N86sQOvvHxFAy8cSWbJtAbR/Ap0FDO8bDf4bYkGtsp44vs8Sd8GLE9HA+bRRmzM7gsgfkuBBbyA=
192.168.1.13 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHOOg2IlW9Cf1ERszajFPWfj8wAkmINsoz09Phwoio7M
192.168.1.11 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIHHBArA6wdOGcvDR+ZaWwDPVMQQVFpRecjzNIBclzXSz
git.uni-due.de ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIB/f8VVsjeXT82vK2GX1iU61w5JNLoQUQhOwCocA7Ox5
git.uni-due.de ecdsa-sha2-nistp256 AAAAE2VjZHNhLXNoYTItbmlzdHAyNTYAAAAIbmlzdHAyNTYAAABBBAgroRZpxHSEmGpyVxJqzQeLi2sCVNON/7zxx5Jd6tzVG8bLvq+AhWpAo1jAqdGGkOmlynH4GoTb9xrnyeg07Mk=
10.0.0.100 ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIOmO/pCjdy/dFQ1WWwL4VKo47vJPlx4ZQwl9N5JT1yhA

View File

@ -3,367 +3,372 @@
#+OPTIONS: \n:t #+OPTIONS: \n:t
* Preface * Preface
Before installing and using emacs, emacs should be run as a daemon. Before installing and using emacs, emacs should be run as a daemon.
This decreases the loading times of the editor enormously and enables you to return to your former emacs session at any time. This decreases the loading times of the editor enormously and enables you to return to your former emacs session at any time.
To do this you first need to make sure ~emace --daemon~ is run during the start up. To do this you first need to make sure ~emace --daemon~ is run during the start up.
To access the daemonized emacs you can either run ~emacsclient -t~ to use it in the terminal or simply ~emacsclient~ if you want to use the GUI version. To access the daemonized emacs you can either run ~emacsclient -t~ to use it in the terminal or simply ~emacsclient~ if you want to use the GUI version.
* Package installation * Package installation
** Preperation ** Preperation
Initialize Emacs builtin package system and add the [[https://melpa.org][melpa]]-package repository. Initialize Emacs builtin package system and add the [[https://melpa.org][melpa]]-package repository.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(require 'package) (require 'package)
(add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/")) (add-to-list 'package-archives '("melpa" . "https://melpa.org/packages/"))
(package-initialize) (package-initialize)
(package-refresh-contents) (package-refresh-contents)
#+end_src #+end_src
** Installation ** Installation
*** [[https://github.com/jwiegley/use-package][use-package]] *** [[https://github.com/jwiegley/use-package][use-package]]
=A use-package declaration for simplifying your .emacs= =A use-package declaration for simplifying your .emacs=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(unless (package-installed-p 'use-package) (unless (package-installed-p 'use-package)
(package-install 'use-package)) (package-install 'use-package))
(require 'use-package) (require 'use-package)
(setq use-package-always-ensure t) (setq use-package-always-ensure t)
#+end_src #+end_src
*** [[https://github.com/rolandwalker/simpleclip][simpleclip]]
#+begin_src emacs-lisp
(use-package simpleclip
:config
(simpleclip-mode 1))
#+end_src
*** [[https://github.com/myrjola/diminish.el][diminish]] *** [[https://github.com/myrjola/diminish.el][diminish]]
=Diminished modes are minor modes with no modeline display= =Diminished modes are minor modes with no modeline display=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package diminish) (use-package diminish)
#+end_src #+end_src
*** [[https://github.com/emacscollective/no-littering][no-littering]] *** [[https://github.com/emacscollective/no-littering][no-littering]]
=Help keeping ~/.emacs.d clean= =Help keeping ~/.emacs.d clean=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package no-littering) (use-package no-littering)
#+end_src #+end_src
*** [[https://github.com/emacs-evil/evil][evil]]/[[https://github.com/emacs-evil/evil-collection][evil-collection]] *** [[https://github.com/emacs-evil/evil][evil]]/[[https://github.com/emacs-evil/evil-collection][evil-collection]]
=The extensible vi layer for Emacs.= =The extensible vi layer for Emacs.=
=A set of keybindings for evil-mode= =A set of keybindings for evil-mode=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package evil (use-package evil
:init :init
(setq evil-want-keybinding nil) (setq evil-want-keybinding nil)
:config :config
(evil-mode 1) (evil-mode 1)
(setq evil-search-module 'evil-search)) (setq evil-search-module 'evil-search)
(use-package evil-collection )
:config
(evil-collection-init)) (use-package evil-collection
#+end_src :config
(evil-collection-init))
#+end_src
*** [[https://github.com/abo-abo/swiper][Ivy]]/[[https://github.com/abo-abo/swiper][Counsil]]/[[https://github.com/abo-abo/swiper][Swiper]] *** [[https://github.com/abo-abo/swiper][Ivy]]/[[https://github.com/abo-abo/swiper][Counsil]]/[[https://github.com/abo-abo/swiper][Swiper]]
=Ivy - a generic completion frontend for Emacs= =Ivy - a generic completion frontend for Emacs=
=Swiper - isearch with an overview, and more. Oh, man!= =Swiper - isearch with an overview, and more. Oh, man!=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package prescient) (use-package prescient)
(use-package ivy-prescient (use-package ivy-prescient
:config :config
(ivy-prescient-mode 1)) (ivy-prescient-mode 1))
(use-package ivy) (use-package ivy)
(use-package counsel (use-package counsel
:diminish counsel-mode :diminish counsel-mode
:config :config
(counsel-mode 1)) (counsel-mode 1))
(use-package swiper (use-package swiper
:bind (("C-s" . 'swiper))) :bind ("C-s" . 'swiper))
#+end_src #+end_src
*** [[https://magit.vc/][Magit]] *** [[https://magit.vc/][Magit]]
=A Git Porcelain inside Emacs.= =A Git Porcelain inside Emacs.=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package magit) (use-package magit)
#+end_src #+end_src
*** [[https://www.gnu.org/software/auctex/][AUCTeX]] *** [[https://www.gnu.org/software/auctex/][AUCTeX]]
=an extensible package for writing and formatting TeX files.= =an extensible package for writing and formatting TeX files.=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package auctex (use-package auctex
:defer t :defer t
:config :config
(setq TeX-parse-self t) (setq TeX-parse-self t)
(setq-default TeX-master nil) (setq-default TeX-master nil)
(setq TeX-PDF-mode t) (setq TeX-PDF-mode t)
(add-to-list 'TeX-view-program-list '(("Zathura" "zathura %o"))) (add-to-list 'TeX-view-program-list '(("Zathura" "zathura %o")))
(add-to-list 'TeX-view-program-selection '((output-pdf "Zathura"))) (add-to-list 'TeX-view-program-selection '((output-pdf "Zathura")))
) )
#+end_src #+end_src
*** [[https://github.com/yjwen/org-reveal][ox-reveal]] *** [[https://github.com/yjwen/org-reveal][ox-reveal]]
=Exports Org-mode contents to Reveal.js HTML presentation.= =Exports Org-mode contents to Reveal.js HTML presentation.=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ox-reveal) (use-package ox-reveal)
#+end_src #+end_src
*** [[https://github.com/marsmining/ox-twbs][ox-twbs]] *** [[https://github.com/marsmining/ox-twbs][ox-twbs]]
=Export org-mode docs as HTML compatible with Twitter Bootstrap.= =Export org-mode docs as HTML compatible with Twitter Bootstrap.=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ox-twbs) (use-package ox-twbs)
#+end_src #+end_src
*** [[https://github.com/sabof/org-bullets][org-bullets]] *** [[https://github.com/sabof/org-bullets][org-bullets]]
=utf-8 bullets for org-mode= =utf-8 bullets for org-mode=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package org-bullets) (use-package org-bullets)
#+end_src #+end_src
*** [[https://elpa.gnu.org/packages/rainbow-mode.html][rainbow-mode]] *** [[https://elpa.gnu.org/packages/rainbow-mode.html][rainbow-mode]]
=Colorize color names in buffers= =Colorize color names in buffers=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rainbow-mode) (use-package rainbow-mode)
#+end_src #+end_src
*** [[https://github.com/Fanael/rainbow-delimiters][rainbow-delimiters]] *** [[https://github.com/Fanael/rainbow-delimiters][rainbow-delimiters]]
=Emacs rainbow delimiters mode= =Emacs rainbow delimiters mode=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package rainbow-delimiters) (use-package rainbow-delimiters)
#+end_src #+end_src
*** [[https://github.com/joaotavora/yasnippet][yasnippet]] *** [[https://github.com/joaotavora/yasnippet][yasnippet]]
=A template system for Emacs= =A template system for Emacs=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package yasnippet (use-package yasnippet
:config :config
(setq yas-snippet-dirs '("~/.emacs.d/snippets/")) (setq yas-snippet-dirs '("~/.emacs.d/snippets/"))
(yas-global-mode 1)) (yas-global-mode 1))
#+end_src #+end_src
*** [[https://github.com/company-mode/company-mode][company-mode]] *** [[https://github.com/company-mode/company-mode][company-mode]]
=Modular in-buffer completion framework for Emacs= =Modular in-buffer completion framework for Emacs=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package company (use-package company
:config :config
(global-company-mode)) (global-company-mode))
#+end_src #+end_src
*** [[https://github.com/TommyX12/company-tabnine][tabnine-company]]
=A company-mode backend for TabNine, the all-language autocompleter: https://tabnine.com/=
#+begin_src emacs-lisp
(use-package company-tabnine
:ensure t)
;; Trigger completion immediately.
(setq company-idle-delay 0)
;; Number the candidates (use M-1, M-2 etc to select completions).
(setq company-show-numbers t)
(add-to-list 'company-backends #'company-tabnine)
#+end_src
*** [[https://github.com/flycheck/flycheck][flycheck]] *** [[https://github.com/flycheck/flycheck][flycheck]]
=On the fly syntax checking for GNU Emacs= =On the fly syntax checking for GNU Emacs=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package flycheck (use-package flycheck
:config :config
(global-flycheck-mode)) (global-flycheck-mode))
#+end_src #+end_src
*** [[https://github.com/hniksic/emacs-htmlize][htmlize.el]] *** [[https://github.com/hniksic/emacs-htmlize][htmlize.el]]
=Convert buffer text and decorations to HTML.= =Convert buffer text and decorations to HTML.=
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package htmlize) (use-package htmlize)
#+end_src #+end_src
*** [[https://github.com/k1LoW/emacs-ansible][ansible]]
=Ansible minor mode=
#+BEGIN_SRC emacs-lisp
(use-package ansible
:config
(ansible 1))
#+END_SRC
*** [[https://github.com/flycheck/flycheck-rust][flycheck-rust]] *** [[https://github.com/flycheck/flycheck-rust][flycheck-rust]]
=Better Rust/Cargo support for Flycheck= =Better Rust/Cargo support for Flycheck=
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package flycheck-rust) (use-package flycheck-rust)
#+END_SRC #+END_SRC
*** [[https://github.com/rust-lang/rust-mode][rust-mode]] *** [[https://github.com/rust-lang/rust-mode][rust-mode]]
=Emacs configuration for Rust= =Emacs configuration for Rust=
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package rust-mode) (use-package rust-mode)
#+END_SRC #+END_SRC
*** [[https://github.com/kwrooijen/cargo.el][cargo.el]] *** [[https://github.com/kwrooijen/cargo.el][cargo.el]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package cargo) (use-package cargo)
#+END_SRC #+END_SRC
*** [[https://github.com/millejoh/emacs-ipython-notebook][ein]]
#+begin_src emacs-lisp
(use-package ein)
#+end_src
*** [[https://github.com/astahlman/ob-async][ob-async]] *** [[https://github.com/astahlman/ob-async][ob-async]]
#+begin_src emacs-lisp #+begin_src emacs-lisp
(use-package ob-async) (use-package ob-async)
#+end_src #+end_src
*** [[https://github.com/rolandwalker/simpleclip][simpleclip]]
#+begin_src emacs-lisp
(use-package simpleclip
:config
(simpleclip-mode 1))
#+end_src
*** [[https://github.com/ledger/ledger-mode][ledger-mode]] *** [[https://github.com/ledger/ledger-mode][ledger-mode]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package ledger-mode (use-package ledger-mode
:mode ("\\.ledger\\'") :mode ("\\.ledger\\'")
:config :config
(autoload 'ledger-mode "ledger-mode" "A major mode for Ledger" t) (autoload 'ledger-mode "ledger-mode" "A major mode for Ledger" t)
(add-to-list 'load-path (add-to-list 'load-path
(expand-file-name "/path/to/ledger/source/lisp/")) (expand-file-name "/path/to/ledger/source/lisp/"))
(add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode)) (add-to-list 'auto-mode-alist '("\\.ledger$" . ledger-mode))
) )
#+END_SRC #+END_SRC
*** [[https://github.com/yoshiki/yaml-mode][yaml-mode]] *** [[https://github.com/yoshiki/yaml-mode][yaml-mode]]
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(use-package yaml-mode (use-package yaml-mode
:config :config
(add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)) (add-to-list 'auto-mode-alist '("\\.yml\\'" . yaml-mode)))
:bind-keymap #+END_SRC
("\C-m" . (newline-and-indent))
)
#+END_SRC
*** [[https://github.com/ethereum/emacs-solidit][solidity-mode]]
#+begin_src emacs-lisp
(use-package solidity-mode)
#+end_src
* Appearance * Appearance
This section is for appearance customization. Either via packages or manually. This section is for appearance customization. Either via packages or manually.
** [[https://github.com/balajisivaraman/emacs-one-themes][emacs-one-themes]] ** [[https://github.com/balajisivaraman/emacs-one-themes][emacs-one-themes]]
=A port of the Vim/Atom One Dark and Light themes to Emacs= =A port of the Vim/Atom One Dark and Light themes to Emacs=
##+begin_src emacs-lisp ##+begin_src emacs-lisp
# (use-package one-themes # (use-package one-themes
# :init # :init
# (load-theme 'one-dark t)) # (load-theme 'one-dark t))
##+end_src ##+end_src
** Transparent Emacs (Commented out) ** Transparent Emacs (Commented out)
#+begin_comment #+begin_comment
Makes the default color of the background of emacs the same as the terminals color. Makes the default color of the background of emacs the same as the terminals color.
This is kind of a janky solution, but it works. This is kind of a janky solution, but it works.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'window-setup-hook (add-hook 'window-setup-hook
'(lambda () '(lambda ()
(if not (display-graphic-p) (if not (display-graphic-p)
(set-face-background 'default "unspecified-bg")))) (set-face-background 'default "unspecified-bg"))))
#+end_src #+end_src
#+end_comment #+end_comment
** Menubar ** Menubar
Remove the menu-bar at the top of the screen for better immersion. Remove the menu-bar at the top of the screen for better immersion.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(menu-bar-mode -1) (menu-bar-mode -1)
#+end_src #+end_src
* Emacs Configuration * Emacs Configuration
** Symbolic Links ** Symbolic Links
Follow symlinks without asking for confirmation. Follow symlinks without asking for confirmation.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq vc-follow-symlinks t) (setq vc-follow-symlinks t)
#+end_src #+end_src
** Tab Behavior (spaces > tabs) ** Tab Behavior (spaces > tabs)
#+BEGIN_SRC emacs-lisp #+BEGIN_SRC emacs-lisp
(setq-default indent-tabs-mode nil) (setq-default indent-tabs-mode nil)
#+END_SRC #+END_SRC
* Mode Configuration * Mode Configuration
** Org-mode ** Org-mode
*** Enable org-bullets and hide leading stars. *** Enable org-bullets and hide leading stars.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'org-mode-hook (add-hook 'org-mode-hook
(lambda () (lambda ()
(org-bullets-mode 1) (org-bullets-mode 1)
(setq org-pretty-entities t) (setq org-pretty-entities f)
(setq org-src-fontify-natively t))) (setq org-src-fontify-natively 1)))
#+end_src #+end_src
*** Enable utf8x on latex output *** Enable utf8x on latex output
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-latex-inputenc-alist '(("utf8" . "utf8x"))) (setq org-latex-inputenc-alist '(("utf8" . "utf8x")))
#+end_src #+end_src
*** minted options for pdfexport *** minted options for pdfexport
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-latex-listings 'minted (setq org-latex-listings 'minted
org-latex-packages-alist '(("" "minted")) org-latex-packages-alist '(("" "minted"))
org-latex-pdf-process org-latex-pdf-process
'("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f" '("pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"
"pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f")) "pdflatex -shell-escape -interaction nonstopmode -output-directory %o %f"))
#+end_src #+end_src
#+begin_src emacs-lisp #+begin_src emacs-lisp
(setq org-latex-minted-options '(("breaklines" "true") (setq org-latex-minted-options '(("breaklines" "true")
("breakanywhere" "true"))) ("breakanywhere" "true")))
#+end_src #+end_src
*** Keybindings *** Keybindings
#+begin_src emacs-lisp #+begin_src emacs-lisp
(define-key org-mode-map (kbd "C-c ,") 'org-insert-structure-template) (define-key org-mode-map (kbd "C-c ,") 'org-insert-structure-template)
#+end_src (define-key evil-normal-state-map (kbd "Y") 'simpleclip-copy)
#+end_src
Enables specific languages for org-babel, so those languages can be used and compiled in code blocks and disable the compilation confirmation. The code afterwords enables proper indentation inside those source blocks. Enables specific languages for org-babel, so those languages can be used and compiled in code blocks and disable the compilation confirmation. The code afterwords enables proper indentation inside those source blocks.
#+begin_src emacs-lisp #+begin_src emacs-lisp
(org-babel-do-load-languages (org-babel-do-load-languages
'org-babel-load-languages 'org-babel-load-languages
'((emacs-lisp . t) '((emacs-lisp . t)
(C . t) (C . t)
(makefile . t) (makefile . t)
(shell . t) (shell . t)
(latex . t) (latex . t)
(python . t))) (python . t)))
(setq org-confirm-babel-evaluate nil) (setq org-confirm-babel-evaluate nil)
(setq org-src-tab-acts-natively t) (setq org-src-tab-acts-natively t)
#+end_src #+end_src
** C-mode ** C-mode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'c-mode-hook (add-hook 'c-mode-hook
(lambda () (lambda ()
(display-line-numbers-mode 1))) (display-line-numbers-mode 1)))
#+end_src #+end_src
** C++-mode ** C++-mode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'c++-mode-hook (add-hook 'c++-mode-hook
(lambda () (lambda ()
(display-line-numbers-mode 1))) (display-line-numbers-mode 1)))
#+end_src #+end_src
** rust-mode ** rust-mode
cargo.el cargo.el
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'rust-mode-hook 'cargo-minor-mode) (add-hook 'rust-mode-hook 'cargo-minor-mode)
#+end_src #+end_src
flycheck-rust flycheck-rust
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-hook 'flycheck-mode-hook #'flycheck-rust-setup) (add-hook 'flycheck-mode-hook #'flycheck-rust-setup)
#+end_src #+end_src
** p4-mode ** p4-mode
#+begin_src emacs-lisp #+begin_src emacs-lisp
(add-to-list 'auto-mode-alist '("\\.p4\\'" . c-mode)) (add-to-list 'auto-mode-alist '("\\.p4\\'" . c-mode))
#+end_src #+end_src

View File

@ -29,6 +29,8 @@ alias picpaste="xclip -selection clipboard -t image/png -o"
alias eledger="e ~/Documents/Finanzen/Ledger/MyBudget.ledger" alias eledger="e ~/Documents/Finanzen/Ledger/MyBudget.ledger"
alias sshconfig="e ~/.ssh/config" alias sshconfig="e ~/.ssh/config"
alias econfig="e ~/.emacs.d/config.org" alias econfig="e ~/.emacs.d/config.org"
alias wttr="curl wttr.in/Essen"
alias tvres="xrandr --output HDMI1 --transform 1.02,0,-20,0,1.02,-10,0,0,1"
# Theme # Theme
ZSH_THEME="agnoster" ZSH_THEME="agnoster"
@ -44,3 +46,4 @@ randpw() { < /dev/urandom tr -dc _A-Z-a-z-0-9 | head -c${1:-$1};echo;};
# Source # Source
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh