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

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

Looking for a handy screen recording software for presenting a website

Hi, I'm trying to create various small clips of a website through screen capture. The question is if there's any recommended software, and maybe a feature that automatically slow scrolls instead of doing it myself? I don't have a steady hand, so it wouldn't look great when I drag it down the page myself. There's a few extensions that take full page screenshots which I usually use, and video screen recording extensions but the don't work well. ( Or atleast for my intended purpose ) I wanna be as prepared as possible, as it will be presented on an expo Teemosurprise

Trying to use CSS in GoDaddy

I have to use Godaddy for the time being for a few sites. Aside from all of the common complaints with their interface, I've yet to find a way to simply upload custom HTML/CSS except for one option. Through their templates, you can add sections which appear to be adding new div elements to your pages. You have the option to add an HTML section, but that is extremely limiting, ruins much of your formatting, and still doesn't seem to let you do anything as far as CSS. I can use style tags within HTML and that's about it. Until I can convince my client to upgrade to a better system, does anyone know of an option through Godaddy to just upload HTML/CSS directly, or at least a way to get more customization through their existing interface so I'm not stuck with their templates?...

Css is not loading when hosting

I am trying to host a website on github but do not know why it is not hosting as it should be here is my repo link"https://github.com/TalhaMustafa1/nft-test-project.git and here is my website link" https://talhamustafa1.github.io/nft-test-project/

Importing external JS file while adhering to CSP

I'm trying to build a simple chrome extension using the GoogleMaps API. The HTML works fine on its own, but when I try to use it as an extension, I get this
Refused to load the script 'https://maps.googleapis.com/maps/api/js?key=' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
Refused to load the script 'https://maps.googleapis.com/maps/api/js?key=' because it violates the following Content Security Policy directive: "script-src 'self' 'wasm-unsafe-eval' 'inline-speculation-rules' http://localhost:* http://127.0.0.1:*". Note that 'script-src-elem' was not explicitly set, so 'script-src' is used as a fallback.
I guess it's not loading the external scripts because it violates CSP for some reason? I've tried to look up solutions in places like https://stackoverflow.com/questions/17653384/refused-to-execute-inline-script-because-it-violates-the-following-content-secur but I honestly don't even understand what they mean. How can I make my reference adhere to CSP?...

Issues with parcel when I make changes to html

Hi! I am having issues with parcel in vscode. Whenever I make changes to my html file the liveserver shuts down with the errors below. I have been searching on google for a solution for the past week but have failed to do so. I am relatively new to programming and I am uncertain about the information I am about to post. If anyone has a solution or can help me with a diagnosis etc please dm me. I apologize in advance if this is not the right forum for this post. Thank you to everyone that reads this and helps me get closer to a solution. "Error: ENOENT: no such file or directory" " errno: -4058, syscall: 'unlink',...

Linux Touchpad Support

Hey guys. For those of you using linux for their laptop, what's the best distro featuring out-of-the-box support for touchpad gestures?

Redeploy react app

i am using npm run build to redeploy my app but my link of the website is not updating on github.

remove commit from other branche

Hello, I create new branch from main (GitHub) in my terminal. But when I did git log, all last commit from main include in my branch. I did git reset โ€”hard isnโ€™t working. Any idea why itโ€™s happened ? And any solution please ? Honestly, 3 days ago, everything is ok itโ€™s begin when I install GitHub dekstop in my laptop. Thank you...

Hosting js file in git hub pages

I am developing a custom template for Canvas LMS and Canvas allows to upload .js and .css file. To test any changes in .js I have to re-upload .js and refresh which is time consuming. So to get around this situation I thought about hosting one js file in Git and upload another js script in Canvas with some code to facilitate link between .js (Canvas and Git). It works but, when I commit new changes then it stops working. In brief it fails to read latest commit and keeps loading previous commit. Codes that I am testing with are provided below:...

vscode ssh trouble on windows

first time posting so hopefully this is the right place. I'm trying to connect vscode to my server host because I'm fed up with using the cpanel editor (๐Ÿคข I know it's been too long). But I keep getting resolve issues where it can't find the private key. I can connect perfectly fine with putty, so I know the keys are working. Openssh and putty are both active. The file name/path are correct (unless I've lost my mind) under IdentityFile, and HostName, User, and Port are also defined (and confirmed as correct with normal ssh). ...