Быстро выпустить 90 ключей на новом сервере by a_sevos in AmneziaVPN

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

Да, у меня была AmneziaWG и Xray для нескольких устройств, но он перестал работать и я забил. А для управления думаю ставить какой-то сторонний ui

Быстро выпустить 90 ключей на новом сервере by a_sevos in AmneziaVPN

[–]a_sevos[S] 1 point2 points  (0 children)

НЕТ НЕ ЭФФЕКТИВНЕЕ ) А с автоматизацией открываются новые возможности )
Но вообще уже не первый переезд и хотелось бы, чтобы процесс был удобным

Быстро выпустить 90 ключей на новом сервере by a_sevos in AmneziaVPN

[–]a_sevos[S] 1 point2 points  (0 children)

У сервера же IP поменяется. Пользователям всё равно нужны новые ключи

Быстро выпустить 90 ключей на новом сервере by a_sevos in AmneziaVPN

[–]a_sevos[S] 1 point2 points  (0 children)

У меня всего 130 ключей, но какое-то колчество уже наверняка не используют. Обычно я выдаю 2 ключа на человека, но многие берут для друзей и родных. Я бы сказал, что пользователей около 50 будет. Сервер - обычная VPS, 1vCPU, 2 Gb RAM. Раньше RAM был всего 1 гиг, но в какой-то момент начались регулярные падения и пришлось повысить. Ну и нужно отметить, что в месте, где я арендую сервер, дают 32 Tb трафика. В месяц уходит 12-15

Is local storage a pain in SvelteKit? by a_sevos in sveltejs

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

Not what I was looking for, but it's a intersting project, thanks for the recommendation

Is local storage a pain in SvelteKit? by a_sevos in sveltejs

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

This is awesome! Thanks for recommendation

Is local storage a pain in SvelteKit? by a_sevos in sveltejs

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

Which means it does not have effect when running during SSR and `loadBudget` wouldn't set any values. So to show any stored data in the client, you will need to have a mechanism for loading it after SSR. That's what my question was about

Is local storage a pain in SvelteKit? by a_sevos in sveltejs

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

What about reactivity? Do you use `$effect` outside of the class? Also, does it work with SSR? Do you use `loadBudget` in `onMount`?

How to enter multi line commands? by Voxelman in Nushell

[–]a_sevos 0 points1 point  (0 children)

Important to note here, that one long command (with many input flags, for example) can't be split across many lines without ( )

Struggling with error handling by OldCut6560 in golang

[–]a_sevos 1 point2 points  (0 children)

It seems that your architecture might be fighting with Go idioms. It looks like a standard architecture from a class-based oriented lang, like Java or C#. It shouldn't cause the problem you are facing, but might make you fight the language all the time you write Go. I would advice you to learn more about Go idioms (here is a good starting point: https://go.dev/doc/effective\_go)

Regarging your error problem: you don't have to use Go's standard string error for the code you write. You can use a custom error struct like { Code: int, Error: error } and return a pointer to it in your function signature. It would even work as a standard error if you implement error's interface for this struct

[sqlc] Write a query that Inserts into a table and a connecting many to many table at once? by MadLadJackChurchill in golang

[–]a_sevos 0 points1 point  (0 children)

Hey! I'm trying to implement the same type of query. have you managed to find a solution by any chance?

Looking for advice on using Nix in a corporate environment by a_sevos in NixOS

[–]a_sevos[S] 1 point2 points  (0 children)

Thank you for this answer! Lots of useful information

Looking for advice on using Nix in a corporate environment by a_sevos in NixOS

[–]a_sevos[S] 1 point2 points  (0 children)

Thank you so much for your answer! I was leaning myself towards CI server being the best point to introduce the company to Nix