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
QQwrt5/13/2024

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
QQwrt5/12/2024

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)...
Vvanh14145/12/2024

Python package is installed but not working right

Hi all, I'm having issue with this python package called python_feature_extraction. The issue is I have installed it (I ran pip list and the package showed ). Anyone have any solution to fix this problem? Thanks in advance!...
No description
Kkolarse5/11/2024

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...
NNOcanoa5/9/2024

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]...
SSanchari5/8/2024

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
Vvince5/2/2024

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...
Kkolarse4/28/2024

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....
Kkolarse4/27/2024

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?...
GGhost_4/26/2024

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
MKMr Keithy4/20/2024

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...
PProdJuan4/20/2024

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
EErickO4/16/2024

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?
AAoi4/14/2024

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...
Vvince4/11/2024

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

git@test.tld:~/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
git@test.tld:~/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
...
AAcv4/10/2024

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...
KKarl4/7/2024

Browser refresh on change

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

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..."...
Aalthepal784/3/2024

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
Vvince3/29/2024

src refspec fix/careers-short-title does not match any

Pretty simple error right? I've been pushing to the same remote branch for a couple weeks now and all of a sudden it is giving me that error. I have verified that the branch still exists in GitHub and is accessible. I can even see it when using git branch -a. I'm using the command: git push origin fix/careers-short-title. I'm about to force push but want to make sure I'm not missing something....
Next