Kevin Powell - Community

KPC

Kevin Powell - Community

A friendly place for developers to meet other devs, ask questions, get help, and just have a good time 🙂.

Join

front-end

resources

back-end

ui-ux

os-and-tools

Firebase problem

Hello friends i'm trying to add firebase cloud messaging to test firebase and try to implement something easy into a small button but i just keep getting problems after problem i used npm to install firebase and it keeps saying errors when i try to import it then i ended up importing it from link which worked at first but wouldn't let the whole code process now any help with be appreciated i've been trying to follow every tutorial and guid but i even copy and pasted the code they have and it did...

updating files on VPS

Hello 👋 So for the first time I'm going to use VPS hosting from hostinger, well i used VPS but not as it's everywhere with root access and everything i do is from the terminal. The one i use is from PythonAnywhere and it comes with a control panel for many things i do with the server, except packages downloading which is from the terminal. So my question is, how can I update my files on a VPS server that doesn't have a control panel anytime I want? Or if you have any videos, blog posts, anything that can help me I'll appreciate it....

AutoClicker,AutoFill bot?

So, I'm trying to automate task and I'm wondering does legit, legal stuff like this exist in google extensions or something? Without worrying of downloading some Trojan or Miner. What I'm attempting to do is, bind for example, 5 web elements, to 5 hotkeys, and when I click correct keyboard key, element assign to it will be clicked, input filed filled, and next element clicked. That is the whole cycle. Keyboard click ---> Assigned website element is clicked ---> Input field filled ---> Last button clicked...

Vite issue with using local/custom fonts

I'm trying to load a custom font: `@font-face { font-family: "Bellafair-Regular"; src: local("@/assets/fonts/Bellefair-Regular.ttf") format("truetype");...

Netlify deployment issue

Hey, I've been deploying this project just fine 2 weeks ago but now it suddenly doesn't work. I did re-organize my component folder but I am not sure if this is what caused it, checked the imports 10 times and everything seems fine (it works locally)....

Why does react native uses your ipport but not localhost?

Why does react native uses your ip:port but not localhost?

Can i install React and create new apps without having to download it from npm?

during most of my day my internet is slow so when i try to make new React app it basically fails on me is there a way to save React globally on my pc or can i install one app and keep copy and past the empty app every time i try to make new one or what other solutions would you guys recommend?

Ctrl + shift + z(w) not working - redo

I have a problem with my computer shortcut it is not working, but when I type ctrl + shift + with any key it works normally, but ctrl + shift + z does not work for me. Does not work in all programs it is not a specific program and I tried the keys in this site :
https://en.key-test.ru/...

VS Code Problem emmets not work fine

in vs code you can writing mb1.5rem to margin-button: 1.5rem. Problem: When writing the code it gives wrong suggestions(look in sub-picture). For your information, it was working fine a while ago, but now it has stopped, I don't know what happened...

Is it possible to ignore html tags in prettier

I really like prettier to format my html files but one thing I don't like is prettier formatting specific tags. For example, I have the following code line: ```html <link rel="icon" type="image/png" sizes="16x16" href="/favicon/favicon-16x16.png">...

how can i turn outline svg into filled svg in figma

i have quote svg but it's just an outline but i want to make it filled ( current and goal image is attached)

What brackets extension do you use in VS Code?

I'm currently using Rainbow Brackets by 2gua. I was using Bracket Pair Colorizer but saw the warning a number of months ago about it not being supported anymore so I made the switch. I'm happy with Rainbow Brackets except for PHP files - the PHP tags are red: <?php and it's unnerving. It makes me thing there is an error. Do any of you use a different brackets extension, or is there a way to adjust the color for PHP tags in Rainbow Brackets?

Netlify redirects

How do you guys manage redirects in Netlify? I was reading the article but just didn't stick to me. https://docs.netlify.com/routing/redirects/ I made a file like it says in here (a _redirects file), but nothing really changed :(...

Python in VSCode - extremely slow (how to fix?)

When I'm writing JS or TS for non-web tasks, eg toy scripts I make for fun, I use VSCode TypeScript to run type checking and Quokka to execute my scripts on-demand. Usually I can write a fairly big (>1000 lines) file before I notice any slow down. File save is instant, type checking is instant, and execution is no longer than the expected runtime of the program. When I'm writing Python, I use Microsoft's python extension to run type checking, and the terminal (bash) to execute the scripts. I use a virtual environment because good practice & I don't want to nuke the py3.10 internal to my OS. I can't get more than a couple dozen lines in before it's slow. File save takes so long that I can run my script several times before VSCode actually writes the changes to disc, type checking is all but useless as ctrl+space or hovering takes minutes to load anything, and execution is painfully slow (this may just be python's interpreter taking a while to spin up)....

Installing an OS on a laptop with broken screen

Okay, so I have a old laptop (HP if I remember correctly that came with Windows XP) and the screen is like completely broken (the pixels don't turn on, even though you can see that there is actual output onto it) and I would like to wipe the disk and install Ubuntu Server onto it so that I can use it with SSH. Is there any way to do that without actually unmounting the laptop, installing the OS through my current laptop and reputting the hard disk on the old one? Any help is appreciated :P

From a freelancing perspective, what's the best way to build a site that has a login service?

Should I use a CMS, Headless CMS, building it myself with a framework like React and libraries for authentication/etc...? Big points would be ease-of-use, time-efficiency, but also customizability. Basically I'd love to code the frontend from scratch and just have a backend do the login service for me, which is what I believe a headless cms does, but I'm curious on what your guys' workflow is and what you think is best!

Any recommendations for a free anti-virus program?

I am almost done setting up my new laptop now (Love it!) and I want to install an anti-virus/malware program. I'm interested in Avast, AVG, Malwarebytes, or Bitdefender. Any thumbs-up or down for those? Something better? I have a Dell Latitude 7490, 8 GB RAM, Windows 11, 64-bit.