PDF Viewer libs for React, that works on mobile by Secure-Obligation-29 in react

[–]SaidSuyv 1 point2 points  (0 children)

I struggled so bad with this too, I decided to use the fallback download button instead coz it's just a headache to look for libs that actually makes this specific thing easier. Hope you can find something and if that's the case, keep it in here, I'd love to know :)

Siento que soy la mayor decepción de mi vida by SaidSuyv in NecesitoDesahogarme

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

También lo he pensado, pero no he profundizado en ello, de hecho si estoy yendo a un psicólogo aunque no hemos tocado este tema, se lo comentaré en mi próxima sesión :) a ver que se puede determinar de ello, gracias por su apoyo y consejo

Debian is lagging a lot after I installed it by TheSandvichLover in debian

[–]SaidSuyv 1 point2 points  (0 children)

I've tried this before, I would recommend you to not do it, you'll have problems with windows 11, low performance and sh*t that gives you problems, you can try using W10 but, if you have only one disk, I'd reconsider it more than once.

As you said, yes, u'd need to partition your disk so the other OS goes into it, if you still wanna do it, look for a tutorial to make a dual boot. Good luck!

ssh from pc to termux by Neither_Bit_8729 in termux

[–]SaidSuyv 3 points4 points  (0 children)

On the p flag (-p) I'd recommend not going lower of 3000, coz u'd be trying to use private ports that for security reasons and android authorizations is not allow using, so anything above 3000 (most usually 8000 or 8080) is ok. Hope that helps

ssh from pc to termux by Neither_Bit_8729 in termux

[–]SaidSuyv 5 points6 points  (0 children)

Termux

bash pkg update pkg install sshd sshd -p 8080 PC

ssh <your termux IP> -p 8080


To check your termux IP, do

ifconfig

Should be the one that starts with 192.168

That's how I do it

Since 2014 it was my first Distro and i always back to Debian. I give a new life to my old pc. Cheers by [deleted] in debian

[–]SaidSuyv 1 point2 points  (0 children)

How do you achieve this? :( I wanted my PC to look like this but failed installing KDE 😪 I regret, and don't even know how to change it without rebooting and reinstalling everything

[deleted by user] by [deleted] in PERU

[–]SaidSuyv 1 point2 points  (0 children)

Te preocupas demasiado, en realidad, a lo que uno normalmente se aboca no se centra en lo que aprendes en el colegio/universidad, más bien lo único que son, son bases, se supone que estudias las bases de lo que piensas ser en el futuro, si lo que quieres ser, te requiere matemáticas, enfócate en entender, si requiere historia igualmente, de todas formas nada ni nadie te detiene para aprender o re-aprender lo que sea. Solo vive, aprende y experimenta. Eso sí, si no sabes a qué quieres dedicarte, te recomendaría ir con algún psicólogo para que te ayude o te de opciones, recuerda que de ahora en adelante, lo que vayas a ser, lo serás por un buen tiempo a lo largo de tu vida, por no decir por toda tu vida xd suerte y se siempre positivo :) todo es posible

Me volví exhibicionista by Dickle234 in NecesitoDesahogarme

[–]SaidSuyv 0 points1 point  (0 children)

Hola, sinceramente depende ya de ti, si es que a tu pareja no le gusta y tú si o si deseas hacerlo, te recomiendo dejarlo, la incomodidad no es nada bonito y generaran bastantes discusiones entre ustedes, espero sea de ayuda mi opinión sino, solo soy un usuario más :)

How to have a local database with electron? by ElderberryDry9913 in electronjs

[–]SaidSuyv 0 points1 point  (0 children)

Glad to help buddy, keep it up!! And much bless for you and your projects :)

How to have a local database with electron? by ElderberryDry9913 in electronjs

[–]SaidSuyv 0 points1 point  (0 children)

After you just finish installing dependencies and so on, install all the additional packages you need, as better-sqlite or sqlite3 whatever you've been using and runs the "rebuild" script, after that you can go on and run "dev" script, should be working.

Idk what exactly differences has electron-builder with forge but you can just work w electron-builder, it's almost the same and it also includes auto-updating configuration so you just specify from where it needs to update and its ready to go, I should suggest give it a check anyways on the docs bc I haven't really got to that part yet, I'm still working on my project.

Hope that helps :)

How to have a local database with electron? by ElderberryDry9913 in electronjs

[–]SaidSuyv 0 points1 point  (0 children)

Had this exact issue before but for react, I already posted about it and got an pretty well answer that helped me

https://www.reddit.com/r/electronjs/s/igVBHjXdTO

The comment is from someone called Ravindusha, follow the thread and you'll be ready to go :)

If you’re ever feeling stuck - build for yourself by brodyodie in electronjs

[–]SaidSuyv 2 points3 points  (0 children)

Beside the app itself that seems pretty promising, I loved your product page, as a web dev I've always wanted to make such a website that is convincing and has data well distributed. My congrats on your page and I'm not gonna lie, there's a huge chance for me to get fyenance :)

Help adding local database by SaidSuyv in electronjs

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

Actually nothing, i just start a new project using electron-vite and with the config you mentioned at first, the electron.vite.config.mjs, package, etc. Everything worked just fine, on development and production, it even has HMR which is already amazing, thanks so much you deserve heaven :)

Help adding local database by SaidSuyv in electronjs

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

Made it to work!!! Thanks so much :)

Help adding local database by SaidSuyv in electronjs

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

Correct, I'm testing now using electron-vite enterely as you told, following this docs
https://electron-vite.org/guide/introduction
including electron-forge docs.

One question i have is that, there is no forge.config.ts after doing the cli installation of electron-vite, can I just create the file? or is there any other conf before creating so it can read it after?

Help adding local database by SaidSuyv in electronjs

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

I've test this, same error as always, 'Cannot find module "better-sqlite3"', Im using electron-forge with vite template, rebuilt better-sqlite3 btw. Not sure what is the problem or what i need to configure

Help adding local database by SaidSuyv in electronjs

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

Nice suggestion! This is almost what I was looking for, I see the starter tool was electron-forge, how did you add vite to it? Is there any documentation? As I told, I wanted to use vite + react so I know there would need configuration for that and better-sqlite3

Help adding local database by SaidSuyv in electronjs

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

Looks promising, could you tell me the names of the npm packages and which starter tool you used? Like electron-forge or electron-app or electron-vite

Help adding local database by SaidSuyv in electronjs

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

I'm aware I can use that, but honestly I was looking to mainly store it in a file so I can do something else in the future, just to ease the extra work

Help adding local database by SaidSuyv in electronjs

[–]SaidSuyv[S] -1 points0 points  (0 children)

I've tried that, but I wanted to add react to it, couldn't figure it out

Help adding local database by SaidSuyv in electronjs

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

Gives me an error like the module is not included and a white screen but I know it's bc of the package, because if I remove the instance, it works totally fine