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

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

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....

Help me

Hello everybody. I need yr help. how to open debugging in not full screen mode in visual studio?...

Hosting custom domains through cloudflare (google domains (squarespace?))

Everything seems to be setup as required, the only thing concerning me is this part on my google domains, which I'm not sure what I change to? (the CNAME in the attached images).
No description

INSTALLING XAMPP

Hello everyone, I installing xampp today, and I have an issue about installing. here in the image once he reaches that mb, the installation will suddenly slow down then suddenly stop, the one on the right side will show. what is the possible issue of this? - I tried to turn off firewall maybe because it is possible that caused it, but the issue is still the same. - and my internet is stable ...
No description

How to update changes on GitHub

I initially added some files on GitHub manually i.e not using the terminal. Now I made some changes, how can I update the changes using the terminal on vs code?

Installing WHM & cPanel on Digital Ocean Droplet Image

I'm a bit confused on the order for installing different images / programs on a server. I booted up a LAMP image on my droplet and I'm trying to install WHM & cPanel but when I run the manual install script for WHM & cPanel, it complains that there is already a database instance set up and that it needs to be installed on a clean server. Should I rebuild the droplet and install WHM & cPanel first and then the LAMP files? Typing it out the obvious answer would be "Yea, install WHM & cPanel first" but there's got to be an easier way, no? I don't want to have to manually install all of the LAMP stuff if I don't have to...

VSCODE SSH Not Working

I have had issues with not being able to set up SSH in my VSCODE, it simply does not want to connect whatever way I do it. Solutions?

How to automate git -> production

Hi guys, I'm reading a lot about docker and some devops stuff since I want to improve some of our workflow processes at work. We have a ddev project (which uses docker) and GitHub. Everytime we make changes and merge into production, we have to manually ssh into the server and git pull. I was wondering how to automate it so that when a user pushes to a branch, that branch will automatically start building and deploying on the server. I know Netlify does this automatically, but I need to think of some platform-agnostic solution. Would appreciate some direction as I'm getting lost in the weeds of everything devops related....

An exception occurred in the driver: SQLSTATE[08001]: [Microsoft][ODBC Driver 18 for SQL Server]SSL

Am using macOs and using docker to run microsoft sql server the connection with the server is well established but when am trying to run migration i get errors php vendor/bin/doctrine-migrations migrations:migrate In ExceptionConverter.php line 67:...

Security error, There are problems with the security certificate for this site

i get this error while opening the website from Instagram chat, anyone knows how to fix this ?...
No description