CjkOvPDwQW

joined 2 years ago
[โ€“] [email protected] 1 points 4 months ago (1 children)

tracepath

Okay it seems to be using the vpn gateway thanks. But why they don't connect to the server ip addr then, and need to add that rule (added the traceroute at the end with the server local ip)

(ins) $ nmcli connection down home
Connection 'home' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/6)

(ins)$ tracepath 1.1.1.1
 1?: [LOCALHOST]                      pmtu 1500
 1:  meo.Home                                              2.942ms
 1:  meo.Home                                              1.500ms
 2:  no reply
^C

(ins)$ nmcli connection up home
Connection successfully activated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)

(ins)$ tracepath 1.1.1.1
 1?: [LOCALHOST]                      pmtu 1420
 1:  10.8.0.1                                            1709.973ms
 1:  10.8.0.1                                            1274.271ms
 2:  172.28.0.1                                            5.757ms
 3:  192.168.1.254                                       431.005ms

 1?: [LOCALHOST]                      pmtu 1500
 1:  192.168.1.79                                        3068.615ms !H
     Resume: pmtu 1500

(ins)$ nmcli connection down home
Connection 'home' successfully deactivated (D-Bus active path: /org/freedesktop/NetworkManager/ActiveConnection/7)

(ins)$ tracepath 192.168.1.60
 1?: [LOCALHOST]                      pmtu 1500
 1:  t460s.Home                                          3058.122ms !H
     Resume: pmtu 1500
[โ€“] [email protected] 3 points 10 months ago* (last edited 10 months ago) (1 children)

Even though I am a vim user. This is a good comment ! Nice editor choice (The only reason I don't use it is because never got used to the keybinds)

 

Hi everyone long time vim/neovim user, currently for my latex I have in ~/.config/nvim/after/ftplugin.lua the following line:

vim.opt_local.makeprg="pdflatex -output-format pdf -output-directory /tmp %"

I am now working in a latex project that has a makefile, is it possible to create something in the lines of:

if ! makefile_exists then
  vim.opt_local.makeprg="pdflatex -output-format pdf -output-directory /tmp %"
end

Ended up with this and it seems to work fine:

~/.config/nvim/after/ftplugin/tex.lua

local makefile_exists = vim.fs.find('makefile', {
  upward = true,
  stop = vim.uv.os_homedir(),
  path = vim.fs.dirname(vim.api.nvim_buf_get_name(0)),
})

if #makefile_exists == 0 then
	vim.opt_local.makeprg = "pdflatex -output-format pdf -output-directory /tmp %"
end
 

One of my current favorite lifters.

However I was excited to see what he could achieve in the following years.

Nurgisa Adiletuly seems to be the other kazakhstan lifter that gave positive. He posted a compilation of his lifts on insta with the caption No more sport for me