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

Worskspace VSCode File Remove

I want to remove the .minecraft file from there but there is no remove from workspace option when i right click

PM2 timestamps for error logs?

Anyone here use PM2 a lot? pm2 start "npm run start" --name "appName" --time gives me time stamps in the appName-out.log file... but not in the appName-error.log file... What am I missing?...

Create repo without using terminal

How can i create repo with vscode browser version because i cant use terminal in browser version (im using mobile)
No description

Asking about Git/GitHub

I'm new about this and i was so confused how Git and GitHub works i can't even can't find a perfect answer for my curiosity - What the proper way to install the environment for using GitHub features (what do i need, what is necessasry) - Do i need to install both Git and GitHub Desktop on my PC to be able to access GitHub functions? - I knew that GitHub is helpful when using on cloud because it cloud-base and Git is locally saved in my PC. but its still good or necessary to using it nowadays even GitHub can do a lot like Git (correct me if im wrong)...

I'm getting an ENOENT error when running create-next-app (or similar)

I've been told it might be because I've a space in my username, which is nuts imo, given it seems overly complicated to change (windows 11). I've been coding for about a month on this laptop with no issues (granted, using Astro and React). But I checked a similar tool - create-react-app - and suffered the same thing. Anyone know what the problem is for sure/any advice?
npm ERR! path C:\Users\Nick Woodward\AppData\Roaming\npm...

Hosting website

hi, I been playing around whit astro to make a static site. Any recommendations on where to host static website,(vercel vs netlify vs CF pages ...)? [whit a free plan]...

Error: Couldn't find an i386-*-elf version of GCC/binutils.

I want to install xv6-public. I followed all these steps but I get the error. I tried other method but they don't work as well. Device: Mac m1 , macos: sonoma 14.2 Virtualization software: UTM Ubuntu....
No description

Git squashing and duplicate commits

Hi guys, I'm a bit confused on how a proper workflow should look for squashing. I have the following issue: 1. I'll go and make commits on a feature / fix branch and squash & merge onto the main branch 2. I'll pull my changes from main into my local feature / fix branch to keep it up to date 3. I'll make some more commits on the local feature / fix branch and then do the same steps in 1 & 2...

DNS records when moving from Digital Ocean to Cloudflare

Hi all, Was just hoping for some help moving my site and keeping my emails up and running! My registrar is GoDaddy, site on DO, and new site on Cloudflare. I've created a short checklist of records I need, but I've two questions: 1) Have I missed anything obvious? and 2) should the records remain the same despite the move? (yes?). And I guess I might as well ask another: Should I be getting someone else to do this? Feel like it should be easy, but don't want the email to silently fail....

Github blocked push due to secrets

It was right, my rest.http file was misspelt in my gitignore. But now it's correct and git is still blocking me, I'm assuming because the file is in an older commit? Does anyone know how I can solve this please?...

VS code control panel

hey guys does anyone know how can i add source control button in my vs code left panel i tried everything but it is not showing there
No description

HTML & CSS Class Hints in PHP Wordpress Theme Files

Hi I would like to start using VSC instead of brackets to devlope a wordpress theme, but I have hit a snag which is kind of annoying. (I apologise in advance if I'm not using the right terminology here) In brackets if I start to type div , it would give me a suggestion of that, i could select it and it would fill in the rest, not that i bother with 3 charaters, but then i would type class and it would fill out the complete syntax (class=") then I could type the first latter of a class in my css...

How to split editor in VSC (within pane, not separate pane)

Just one time, I managed to create a split line within an editor pane so there are 2 scroll zones. This is not from the split menu options as they just duplicate the current panel in another quadrant depending on which direction is chosen. The split line is 2px thick, enough to see to grab and adjust position vertically....
No description

Good Image compressors/minifiers for the command line?

I have about 10k images I need to compress, browser tools have limits for size/number of images so I want something local I can setup and let it run for as long as it needs to, any good tools for that?

Indenting not working properly for jsx in NeoVim

My NeoVim config can be found on Github. Issue: When creating new line from the end of a JSX element (eg: <div>), there is no auto indentation in the new line. Current ```jsx...

/bin/cp: cannot create regular file: Permission denied

[email protected]:~/repositories/cpanel-devops$ /bin/cp index.html /home/git/public_html/
/bin/cp: cannot create regular file '/home/git/public_html/index.html': Permission denied
[email protected]:~/repositories/cpanel-devops$ /bin/cp index.html /home/git/public_html/
/bin/cp: cannot create regular file '/home/git/public_html/index.html': Permission denied
...

webpack and vite

Hello, can you help me with this question I have, I really want to know, thank you: I wanted to ask if you would be kind enough to explain to me how webpack works and see the part when we generate a package of our application below, how those technologies do it, why ? I have already seen concepts that in the case of webpack in large projects it makes a build of each refresh of each code update and that makes it slow and also the build takes time if it is based on many dependencies, but a colleag...

Browser refresh on change

I want the browser to refresh automatically upon file changes. How can I achieve that? My environment: - VS Code - Ubuntu...

How to execute this powershell script? (Defederating GoDaddy o365)

Hey all, trying to get the hell away from GoDaddy and using the defederating guide here: https://tminus365.com/defederating-godaddy-365/ It provides a script here: ``` Write-Host "Checking for MSGraph module..."...

bash wsl command not found

I been everywhere, I can't find a solution. I don't know what to do about this bs , I litterally was on almalinux-8 wsl and installed wsl sudo dnf install wsl, and it is saying the same thing. I been at this for 2 days wth is this lol...
No description