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

help

Changing the github repo that my google domain is using (Sveltekit build, Svelte project)

The app is in Svelte, and I thought I had done it all, but the website seems to just load the readme, and not the actual code itself. https://github.com/callum-laing/sv-portfolio https://www.callum-laing.com/ ...

Creating & committing folders in a GH Branch in terminal

I need a little clarification on how this works. I know that, with files, if I'm in a certain branch, say main, and I create a new file there (say, myFile.html). If that file is unique to main (the filename does not exist in any other branches), then if I fail to commit that newly created unique file, and then switch to another branch (say, Branch-1), that Git's 'Uncommitted Changes Carryover' will be triggered, and I'll be allowed to switch to Branch-1 , but in Branch-1, I will see a temporary copy of the uncommitted myFile.html inside the Branch-1 directory. It's only once I finally commit myFile.html to a particular branch, that I will no longer see temporary copies of it ("carried over") into other Branch directories. After committing, it will only be visible in the directory associated with the Branch it was committed to. ...
No description

Working in cloned local repos with multiple branches, best practices?

I am new to working with Github branches so I'm looking for some general 'best practices' guidance on how programmers who are working together in the same remote repo should operate when it comes to pushing changes, when and how this should happen so as to minimize the chance of conflicts and accidental overwrites of others' existing work. So far, our remote repo has just two branches, a 'main' and a 'Features'. Both programmers will start out cloning the remote repo to their local machines. One will be working on the 'backend' code, and the other on the 'frontend', but both will be pushing their work to 'Features'. ...

My .gitignore getting ignored when I try to perform git push

You can see my file structure of my React project and its .gitignore file in the attached pictures. I initiated an empty local repository, then I cloned an existing online repository into it. You can see I have my 'node_modules' listed inside of the .gitignore, which I believe is added by React automatically. ...
No description

Git + Next js 14 project getting stuck on git push on total line

Next js 14 project getting stuck on git push on total line
No description

Audio Problem VSCode

Hi everyone, so I am currently learning CSS HTML and especially Java Script, and I made some sort of Music Player, by coding it from someone. Now I tried to add my Mp3 Files, and it says "An error occurred while loading the audio file". After I downloaded the guy that made the Player and inserting them, they work. Does anyone know how to fix it?

Can anyone help me figure out how to change the text color of my Sass variable tokens within VS Code

I'm looking for the setting that will allow me to change the color of the actual text of the variable in Sass. Any help is greatly appreciated!

Github trials and tribulations: Accessing non-'main' branches of a pulled repo locally

I initialized a local github repository and then performed a 'git pull' of an existing online repository, so that its files were brought into my local repository folder. The online repository that I pulled from has multiple branches. However, when I run git branch -a from my local repository, I only see the main branch listed. I need to ultimately move over into one of the pulled repository's other branches, the Features branch, and commit and push my work to that branch, NOT main. Although like I said, I currently don't even see the Features branch as available....
No description

Why do we use Netlify/other sites to host framework written apps, instead of just using Github Pages

Title, I'm curious and haven't found a solid answer yet when searching online. I'd like to know why I'm told to use sites like Netlify, Cloudflare, Heroku, instead of what I was doing with vanilla JS projects which is throwing it up using github pages

Obsidian integration with VSCode

Does anyone know any way that you can integrate Obsidian with VSCode? In my case I'd like to find a way to collect all my notes for my program (VSCode) in a readable format (obsidian) so i can view/edit/create notes both in VSCode and Obsidian respectably.

Local Host on Mobile

I tried with my network IP and the port of the server but it doesn't seem to work

Self Hosting / Cloudflare Proxy / What Namesevers...?

I am self hosting a website using xampp apache. In cloudflare, my A name record is set and my CName record is set. Now what do I use for name servers? When I use hosting elsewhere, name servers are typically provided and point to my website. The purpose of this is proof of concept, experience and testing new projects. I do not want my domain to point directly to my domestic ip. I want to have cloudflare in between....

TailwindCSS CDN not working

i tried using an older version of the cdn but it still doesnt work
No description

VScode Extension

I need help to create a vscode extension for java spring boot to analyze sql query. I am working a Java Spring project and have to deal with many methods with SQL queries. This query are very complex and have many conditional join/checks which made it difficult to analyze & debug. I wanted to make an extension in vs code to show only query of the selected method. Also option to show updated query after some checks are applied....

Front-end Extentions and Prettier

Hello! I am wondering what are the best Visual Studio Code Extentons and settings for Front-end Development. Furthermore, I installed Prettier on my PC and I don't think it works. It looks like this (cover image)...
No description

I'm trying to download an extension and I get this

2023-10-28 14:48:14.018 [error] Error: Cannot read the extension from /c:/Users/User/.vscode/extensions/esbenp.prettier-vscode-10.1.0 at H.D (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:15188) at async W.u (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:18359) at async W.x (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:19992) at async W.h (c:\Users\User\AppData\Local\Programs\Microsoft VS Code\resources\app\out\vs\code\node\sharedProcess\sharedProcessMain.js:109:17926)...
No description

Security issue when hosting project on github pages

Guys, I did a Front End mentor challenge and I would like to host it on github, but when I access the github pages link it shows that the site is not secure. I did a little research and apparently when you clone projects, like Netflix, etc., the browser identifies them as fraudulent. How do I resolve this? Page: https://sircarloschaves.github.io/order-summary-component/ Repo: https://github.com/sircarloschaves/order-summary-component...
No description

VS CODE NOT RESPONDING ERROR

Lately, I have been noticing my vscode is slow to save files when I hit Ctrl + s and after a while, I get a vs code not responding error. Please how can I fix this?

feature branch into main?

2 branches (main, and feature). I want the main branch to be updated and include the newly implemented and working feature branch