aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.gdbinit48
-rw-r--r--.tridactylrc1
-rw-r--r--.vimrc8
-rwxr-xr-x.w3m/cgi-bin/fzf_surfraw.cgi2
-rw-r--r--.w3m/config2
-rw-r--r--.w3m/keymap14
-rw-r--r--.zshrc3
-rw-r--r--irssi/config22
8 files changed, 64 insertions, 36 deletions
diff --git a/.gdbinit b/.gdbinit
index 915507b..1731fce 100644
--- a/.gdbinit
+++ b/.gdbinit
@@ -1,12 +1,14 @@
# gef
-source /home/devi/gef/gef.py
-gef config context.libc_args 1
-gef config context.enable 0
-gef config context.nb_lines_threads 4
-gef config context.use_capstone 1
+#source /home/devi/gef/gef.py
+# gef config context.libc_args 1
+# gef config context.enable 0
+# gef config context.nb_lines_threads 4
+# gef config context.use_capstone 1
# voltron
-source /usr/local/lib/python3.8/dist-packages/voltron/entry.py
+#source /usr/local/lib/python3.8/dist-packages/voltron/entry.py
+
+add-auto-load-safe-path /home/devi/scripts/.gdbinit
# load custom scripts
python
@@ -20,15 +22,19 @@ end
# configs
set listsize 13
set follow-fork-mode child
+set pagination off
set detach-on-fork on
set breakpoint pending on
+set disassembly-flavor intel
+# set exec-direction reverse
# set backtrace-past-main on
# set backtrace-past-entry on
-set target-async on
+set mi-async on
set print pretty on
set confirm off
set verbose off
set history save on
+set history expansion on
set history size 10000
set history filename ~/.gdb_history
set output-radix 0x10
@@ -37,7 +43,7 @@ set height 0
set width 0
# prompt
-set prompt >>>
+set prompt \033[34m\033[1mGDB >>>\033[0m
# styles
set style tui-border background green
@@ -61,16 +67,20 @@ define btall
end
# custom signals
-handle SIGUSR1 nopass
-handle SIGUSR2 nopass
-handle SIGUSR3 nopass
-handle SIGUSR4 nopass
-handle SIGUSR5 nopass
+# handle SIGUSR1 nopass
+# handle SIGUSR2 nopass
+# handle SIGUSR3 nopass
+# handle SIGUSR4 nopass
+# handle SIGUSR5 nopass
# kill all inferiors before exit
-python
- import subprocess
- inferiors = gdb.inferiors()
- for inferior in inferiors:
- subprocess.run(["kill","-9",repr(intferior.pid)])
-end
+# define hook-quit
+# python
+# import subprocess
+# inferiors = gdb.inferiors()
+# for inferior in inferiors:
+# subprocess.run(["kill","-9",repr(intferior.pid)])
+# end
+# end
+
+#record
diff --git a/.tridactylrc b/.tridactylrc
index d65da7d..85dc6d2 100644
--- a/.tridactylrc
+++ b/.tridactylrc
@@ -1,6 +1,7 @@
sanitize tridactyllocal tridactylsync
guiset_quiet hoverlink right
autocmd DocStart mail.google.com mode ignore
+colourscheme dark
bind tp tabmove -1
bind tn tabmove +1
diff --git a/.vimrc b/.vimrc
index d7ae140..6c89f1a 100644
--- a/.vimrc
+++ b/.vimrc
@@ -1417,13 +1417,13 @@ augroup ALEMARKDOWN
augroup END
augroup ALEC
autocmd!
- " autocmd FileType c let b:ale_linters = {'c': ['clang-tidy']}
- " autocmd FileType c let b:ale_fixers = {'c': ['clang-format']}
+ autocmd FileType c let b:ale_linters = {'c': ['clang-tidy']}
+ autocmd FileType c let b:ale_fixers = {'c': ['clang-format']}
augroup END
augroup ALECPP
autocmd!
- " autocmd FileType cpp let b:ale_linters = {'cpp': ['clang-tidy']}
- " autocmd FileType cpp let b:ale_fixers = {'cpp': ['clang-format']}
+ autocmd FileType cpp let b:ale_linters = {'cpp': ['clang-tidy']}
+ autocmd FileType cpp let b:ale_fixers = {'cpp': ['clang-format']}
augroup END
augroup ALEHTML
autocmd!
diff --git a/.w3m/cgi-bin/fzf_surfraw.cgi b/.w3m/cgi-bin/fzf_surfraw.cgi
index de297c1..4f49408 100755
--- a/.w3m/cgi-bin/fzf_surfraw.cgi
+++ b/.w3m/cgi-bin/fzf_surfraw.cgi
@@ -2,5 +2,5 @@
PREFIX=$(surfraw -elvi | grep -v 'LOCAL\|GLOVAL'| fzf --algo=v2 -e | awk '{print $1}')
if [ "$PREFIX" = "" ]; then exit;fi
-read -r -e -p " $PREFIX >>> Enter The Search Keyword: " INPUT
+read -r -p " $PREFIX >>> Enter The Search Keyword: " INPUT
surfraw -p "$PREFIX" "$INPUT" | xsel -p
diff --git a/.w3m/config b/.w3m/config
index f06c5eb..8b64d83 100644
--- a/.w3m/config
+++ b/.w3m/config
@@ -71,7 +71,7 @@ preserve_timestamp 1
keymap_file keymap
document_root
personal_document_root
-cgi_bin /usr/local/libexec/w3m/cgi-bin
+cgi_bin /usr/lib/w3m/cgi-bin
index_file
mime_types ~/.w3m/mime.types, /etc/mime.types
mailcap ~/.w3m/mailcap, /etc/w3m/mailcap, /etc/mailcap
diff --git a/.w3m/keymap b/.w3m/keymap
index c78c782..ddd406a 100644
--- a/.w3m/keymap
+++ b/.w3m/keymap
@@ -114,18 +114,18 @@ keymap Q COMMAND "EXTERN 'echo %s > ~/.w3m/RestoreSession.txt' ; NEXT_TAB ; EXTE
# external stuff
keymap SPC-r COMMAND "SHELL 'readable $W3M_URL -p html-title,html-content > /tmp/readable.html'; LOAD /tmp/readable.html"
-keymap xt COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; GOTO /usr/local/libexec/w3m/cgi-bin/goto_tmux_clipboard.cgi"
-keymap XT COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; TAB_GOTO /usr/local/libexec/w3m/cgi-bin/goto_tmux_clipboard.cgi"
-# keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/local/libexec/w3m/cgi-bin/goto_clipboard.cgi"
-keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/local/libexec/w3m/cgi-bin/goto_clipboard_primary.cgi"
-keymap XS COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; TAB_GOTO /usr/local/libexec/w3m/cgi-bin/goto_clipboard_primary.cgi"
+keymap xt COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_tmux_clipboard.cgi"
+keymap XT COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw_tmux.cgi ; TAB_GOTO /usr/lib/w3m/cgi-bin/goto_tmux_clipboard.cgi"
+# keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_clipboard.cgi"
+keymap xs COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
+keymap XS COMMAND "SHELL ~/.w3m/cgi-bin/fzf_surfraw.cgi ; TAB_GOTO /usr/lib/w3m/cgi-bin/goto_clipboard_primary.cgi"
# keymap XS COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw ; TAB_GOTO /home/bloodstalker/scripts/bin/goto_clipboard.cgi"
# keymap xs COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw"
-keymap go COMMAND "SHELL /usr/local/libexec/w3m/cgi-bin/goto_clipboard.cgi"
+keymap go COMMAND "SHELL /usr/lib/w3m/cgi-bin/goto_clipboard.cgi"
# keymap XS COMMAND "SHELL /home/bloodstalker/scripts/bin/fzf_surfraw; TAB_GOTO /home/bloodstalker/scripts/bin/goto_clipboard.cgi"
#
keymap d COMMAND "EXTERN 'echo %s >> ~/.w3m/RestoreTab.txt' ; CLOSE_TAB"
-keymap u TAB_GOTO /usr/local/libexec/w3m/cgi-bin/restore_tab.cgi
+keymap u TAB_GOTO /usr/lib/w3m/cgi-bin/restore_tab.cgi
keymap SPC-m CURSOR_MIDDLE
keymap SPC-l CURSOR_BOTTOM
diff --git a/.zshrc b/.zshrc
index 63fc890..8ddb980 100644
--- a/.zshrc
+++ b/.zshrc
@@ -182,6 +182,9 @@ alias campv="proxychains4 -f /home/devi/proxies/ca/proxychains.conf mpv"
alias tridactylrc="vim ~/scripts/.tridactylrc"
alias fixtridactylrc="cp ~/scripts/.tridactylrc ~/"
alias man="man -O width=210"
+alias getmangas="proxychains4 -q -f ~/proxies/ca/proxychains.conf kaminokumo --manga"
+alias getanimes="proxychains4 -q -f ~/proxies/ca/proxychains.conf kaminokumo --anime"
+alias gdb="gdb -q"
#autosuggest
ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE="fg=#5f5fff,bg=#000000,bold"
diff --git a/irssi/config b/irssi/config
index f50dd5e..b4c8e24 100644
--- a/irssi/config
+++ b/irssi/config
@@ -20,10 +20,18 @@ servers = (
address = "irc.libera.chat";
chatnet = "libera";
autoconnect = "yes";
+ use_tls = "yes";
+ tls_verify = "yes";
+ },
+ { address = "irc.oftc.net";
+ chatnet = "OFTC";
+ autoconnect = "yes";
+ port = "6697";
+ use_tls = "yes";
+ tls_verify = "yes";
},
- { address = "irc.oftc.net"; chatnet = "oftc"; autoconnect = "yes"; },
{
- address = "localhost";
+ address = "192.168.1.109";
port = "6667";
chatnet = "bitlbee";
autoconnect = "yes";
@@ -41,13 +49,16 @@ chatnets = {
channels = (
{ name = "#dpdk"; chatnet = "libera"; autojoin = "yes"; },
- { name = "#qemu"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#fdio-vpp"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#openssl"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#qemu"; chatnet = "OFTC"; autojoin = "yes"; },
+ { name = "#debian"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#virt"; chatnet = "OFTC"; autojoin = "yes"; },
+ { name = "#openwrt"; chatnet = "OFTC"; autojoin = "yes"; },
{ name = "#openssh"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#gdb"; chatnet = "libera"; autojoin = "yes"; },
+ { name = "#voidlinux"; chatnet = "libera"; autojoin = "yes"; },
+ { name = "#freebsd"; chatnet = "libera"; autojoin = "yes"; },
{ name = "#kvm"; chatnet = "libera"; autojoin = "yes"; }
);
@@ -397,7 +408,7 @@ settings = {
dccstat_cycle_through_transfers = "yes";
};
};
-keyboard = (
+keyboard = (
{ key = "meta-[M"; id = "command"; data = "mouse_xterm"; }
);
ignores = (
@@ -416,6 +427,9 @@ ignores = (
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#crypto" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#virt" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#debian" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#freebsd" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#voidlinux" ); },
+ { level = "JOINS PARTS QUITS NICKS"; channels = ( "#openwrt" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#debian-next" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#openssh" ); },
{ level = "JOINS PARTS QUITS NICKS"; channels = ( "#gdb" ); },