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

Advice on setting up a monorepo

Hey there! I have a project that I want to divide into three parts (see picture) and an api / types directory. I did some research and a monorepo sounded like the best bet. I then got into turborepo and the set up is honestly pretty confusing and seems to be a lot more than what I really need. I just want some way that I can reference a shared types directory, a way to separate out the three components of my app, and a way to run all three from the root directory. Is there a no-bs way to do this that I can get up and running relatively easily?...
No description

Hosting Godaddy(Yes, I know) domain on cloudflare.. issues once activated.

I copied the same process I used for my current portfolio which is using a squarespace domain (was google when I bought it) and I thought it was working, but as you can see I'm getting the connection issue. Now on my portfolio, I don't have any A, and my 2 CNAMES are callum-laing.com as the name, and the cloudflare pages site as the content. I tried doing the same for quackers but it wasn't letting me. Anyone more experienced with this able to help, please? or... if it makes things easier, is anyone experienced in moving a domain from godaddy elsewhere? happy to do so also if it makes this process easier....
No description

Testing iOS simulation in React Native?

I read about iOS simulation for building apps in React Native and it seems impossible to simulate iOS apps without macOS? Surely can't be the case right? Does anyone know of some workarounds so I can develop and test on Windows?

General question about profiles on Github

Is it common for people to have a personal Github and one that they use to show employers? I’m just starting out with it and I’m not that familiar with it. I just learned that you should use a GitHub account to help you with professional opportunities. Which is why it’s said to be a good thing to use your real name and your picture. However, I see quite a bit of GitHub accounts with profile pictures that aren’t actual people and anonymous usernames...

Squarespace site ?

I know this will probably not be a successful ask but just wondering if anyone has a squarespace site they could give me access to a private page so I can get familiar with the the tools; I’m starting on a new project which will include creating a form with conditional logic on a squarespace site so id just like to spend an hour getting my feet underneath me if possible. I know it’s a lot to ask but thought perhaps someone has a site or a draft they don’t care much about and would be willing to take the risk. ✨...

Extension to display colours for oklch and oklab functions?

Is there an extension to display sample colours for functions like oklab and oklch in VSC? Quick googling doesn't show any results. For rgb and hex we get some examples of the colours as the screenshots attched below, but not for the rest, whihc's a tad annoying. If there is no such extensions, I could probably write one up as a fun project....

Error while add large File to Git with Git LFS

keep getting this git error even after track "*.exe" to git lfs can someone pls help...
No description

vim | extra files

Hey, when i edit a file, even when i write to it (:w), it gives me these extra files, what causes this and can i get rid of them optionally? Thanks in advance....
No description

Wsl distro Installation issue:

I was able to run wsl --install and go through the installation process. That went pretty smooth. After installing I restarted my computer. And this is where I'm stuck. I have ran wsl --install -d in windows powershell. What I get back in "the requested operation requires elevation" guessing I need to run it as admin. But when I do, I get this message: No actions was taken as a system reboot is required. I had restarted my computer 2 more times afterwards and it's still the same. I'm lost now. I...

npm installing problem

its been while since i code i tried to create new project and this error pop up i updated my node and npm tp latest version...
No description

What operating system should I be using? How should I set up the root directory?

Where do web developers store their projects? I'm coming from using a Chromebook to do programming which was simple and straight forwards (I know cringe). Now that I move over to windows and the environment is a little different. I'm trying to figure out where web developers store their projects? What do u guys use as an operating system? I just learned that windows and Linux are to different operating systems....

ai extension

Hello anyone know good free ai extension like php storm for vs code for php ? i mean like php storm it complete half of the code when u wright it...

Editing Windows 11 tray widget icons

Any one know where in settings I can remove the airplane icon (on desktop ffs) and other stuff from this? I swear you could customize them now I can't find it.
No description

VS Code TAB triggers problems

VS Code must have made an update that automatically took effect. I'm getting odd auto-completes for 2 situations in an HTML file 1. using p for paragraph followed by TAB gives me: ```js...

help in WinError5: Access Denied [file_path]

i am trying to contribute to an org for gsoc prep. i chose plone’s volto. i followed their installation guide for installing and running their website on my machine but it stopped after i ran pipx run cookieplone project i have tried changjng permissions from unticking read only checkbox...

vs code extension

What extension do I need for VSCode to stop marking this as an unknown class/undefined type?
No description

Best way to use env files for Mac and Windows?

I am using typescript gen to create the types for me using contentful from package json. Now I understand that Unix based systems can have access to it but I don't want to leak keys. What's the best way to do this?...

turn off backlight in JIS layout in mac

Hi guys, I am new in mac so basically I want to turn off the backlight using keyboard and its hard to find guide in internet, I am using JIS layout keyboard and I cant see in the keyboard for the icon to turn off... I know how to turn off using manually in the settings. anyone know how? thanks!

How to use Webpack as a way to compile Sass -> Css?

This is probably a stupid question, but I have been trying this for the past 2 hours and can't figure it out. I just need a way to compile my regular .scss files (in every directory) into 1 .css file. I'm aware I can just use sass --watch, but I'd like to have some other features webpack leverages (like minifying, and again I know sass ootb can do this). We use Laravel Mix, which is just a library on top of Webpack that can do this using mix.sass('entry.scss', 'output.scss'), but I can't get it to work on default Webpack. The reason why I want to go from Mix -> Webpack is because I need to watch all files in my project and output it as 1 css file and Mix can't do this...
Next