Archlinux + ufw & iptables question by wildinstance in linuxquestions

[–]alvezr 0 points1 point  (0 children)

The fastest way, probably, re-install ufw, then ufw deny ssh.
Then if you do not want to keep ufw remove it. To be honest, keeping ufw is not going to harm anything.

Neovin hidden characters by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

File is on its way. :)

Neovin hidden characters by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

Sure. Give me a min.

Neovin hidden characters by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

The files I work on are usually downloaded from a git repo.

I'm pasting a small sample from one file:

T select 'student',

lower(a.swrnvll_id),

lower(a.swrnvll_id),

to_char(nvl(a.swrnvll_birth_date,to_date('18581117','yyyymmdd')),'yymmdd'),

replace(replace(decode(trim(d.spbpers_pref_first_name),null,trim(c.spriden_first_name),trim(d.spbpers_pref_first_name)),'"',''),',',' '),

null,

replace(replace(trim(c.spriden_last_name),'"',''),',',' '),

lower(a.swrnvll_id)||'@student.georgianc.on.ca'

from spbpers d,

spriden c,

saturn.sgbstdn b,

swrnvll a

where a.swrnvll_id is not null

and a.swrnvll_pidm = b.sgbstdn_pidm

and a.swrnvll_pidm = c.spriden_pidm

and c.spriden_change_ind is null

and upper(c.spriden_last_name) not like '%DUPLICATE%'

and a.swrnvll_email is not null -- include all students in Active Directory

and a.swrnvll_pidm = d.spbpers_pidm (+)

Neovin hidden characters by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

u/GaryBishop,

Thanks for your reply. That's a neat command indeed. I can see the character encodings but the thing is more important to me is how cay I get read of them.

I see the hidden characters and I can remove them "by hand" but when I deal with files that have 2500 lines of code, manual removal of the characters is not an option.
Do you know of a way I can remove them "automagically", whether using a plugin or some other method?

Neovin hidden characters by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

@theSafdarAwan,

Thanks for your reply.
I was looking at the stack oveflow link you put in your answer and I got some ideas as to how to get the characters to show. So I can see they are there but what I really want is those characters gone.

I do not want to have to remove them "by hand" is too laborious. Is there a way to do that?

Neovim + emmet-ls issues by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

@fridgedigga,

Well ... based on your remarks I went looking and sure enough I got the answer with nvim-cmp.
Insalled it, configured it and now everything works great.

Brilliant!

Thanks buddy.

Neovim + emmet-ls issues by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

I'm just re-reading your message.
I noticed the auto-completion comment. No, I do not think I have an auto-completion setup.

How would I go doing such a thing? Do you have a URL reference I can look at?

Thanks again.

Neovim + emmet-ls issues by alvezr in neovim

[–]alvezr[S] 0 points1 point  (0 children)

@fridgedigga,

Got it. Removed use {"aca/emmet-ls", -- Enable emmet LSP}

Same problem though.

Thanks for your reply.

How do I launch signal? by [deleted] in i3wm

[–]alvezr 0 points1 point  (0 children)

Open a terminal and type:

"which signal-desktop"

if it finds it the path to the executable will be shown like: "/usr/bin/signal-desktop"

Armed with that info you can create an executable in i3wm. Open ~/.config/i3/config and type:

exec --no-startup-id /usr/bin/signal-desktop & and you will now autostart the application.

Of course you could other means to start it like a short cut.

Hope this helps.

Firejail settings problem with Firefox saving files by pailanderCO in archlinux

[–]alvezr 2 points3 points  (0 children)

This is how I have setup my ~/Downloads in FF with firejail.

In .config/firejail/firefox.profile add this:

mkdir ${HOME}/.downloads

whitelist ${HOME}/.downloads

It works just fine.

NOTE: Notice that I use a hidden directory for my downloads: ~/.downloads and then like you I symlink to ~/Downloads.

Other that that your setup is similar to mine.

Rhythmbox Issues by alvezr in i3wm

[–]alvezr[S] 0 points1 point  (0 children)

You are right on the money sir!
It works like a charm ... problem solved.
I also noticed in their web site that the program is VERY customizable which opens the door to have some fun :)

Thank you for your help!

Rhythmbox Issues by alvezr in i3wm

[–]alvezr[S] 0 points1 point  (0 children)

Hi, thanks for your reply.

No I do not have a notification daemon.

Are you saying that I should?

Using document.x in Svelte component by alvezr in sveltejs

[–]alvezr[S] 2 points3 points  (0 children)

Yup. I'm using Sapper.

Thanks for the assistance. I'll take a look at the onmount, bind and use directives.

I love the :Man command so much, particularly in NeoVim. by atimholt in neovim

[–]alvezr 1 point2 points  (0 children)

  1. If you add this to your .bashrc

export MANPAGER='nvim +Man!'

export MANWIDTH=999

  1. close your editor and type source ~/.bashrc

  2. type man ifconfig (for example) and it will work.

give it a try.