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

Vim ways of adding a character to the end of the line

Ok, so in these annoying little languages that require a ; at the end of the line or they piss and cry, how can I add that easily? I mean in situation when I finish writing my code and the cursor isn't at the end of the line, like when you have a function or a string that pair () "" is added automatically so your cursor ends up before those characters like in the picture, how do I add the ; at the end of the line in the easiest way?

good visual crutches for css grids?

anyone knows good visual crutches 🩼 for css grids, like webflow has? https://youtu.be/1ViSR5fSDwg (Under visual crutches I mean the UI means of building grids visually. You can see said UI throughout the video)...

Regex for the -name argument in `find`

I am once again here for your bash support How do I recursively select all the files that end with .zsh but not (*install.zsh|*completion.zsh|*.symlink)?...

How to disable fontLigatures for specific "strings"?

Hello. I love font ligatures, but I don't like how "==" and "===" turn into 2-3 lines one under another. Is there a way to disable font ligatures only for "==" and "==="?...

new branch or repository for different tech stack implementation of same site

Hey everyone, I been working on my site with plain HTML, CSS, and JS so far and I've implemented a decent amount of it. I also want to re-create what I have done with a different technology stack (Svelte/SvelteKit/Tailwind)

Deciphering a bash line

What does this if condition mean? if [ -f "$dst" -o -d "$dst" -o -L "$dst" ]; then

Versioning style/change log tools

Wasnt too sure where to put this as it is more of a general enquiry, but it might be handy for anyone looking into a similar thing in the future. Do any of you guys declare the version of any of your releases, and if so are you doing this manually, and what sort of style do you go with? For the past couple years I've been using semantic versioning with a related change log manually, but I didnt know if there was any alternatives or suggestions that you guys would recommend....

Domain: redirect www to non-www

I just recently removed the Webflow A records from my DNS zone records. After a few hours, the naked domain (mydomain.com) was already pointing back to my hosting provider. I imported the new website there, and everything is working just fine. The old site was using a www subdomain. When I opened www.mydomain.com in my browser, it showed the old site. Possible solutions I tried but nothing worked:...

Bash Script to use for git commits

im not sure if my logic is correct but im working on converting powershell scripts over to bash. Does this look ok?

0ver a 1000 accounts created per minute

I just discovered in the database that some accounts are being created with random emails, over 30,000 account have being created so far and i really don't know how to stop this, please who's got a better ideal on how to put a stop to this whole mess.

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?