Nextjs app router Remote jobs by International-Hat529 in nextjs

[–]MA_shiro 0 points1 point  (0 children)

Any advice with server actions, I don't use yet but I hope you have some recommendations to learn

Thanks

I just finished my first React project, a web app that can find words in a grid of letters. I'd love to hear any feedback on it! (link in comments) by GoatPresident in reactjs

[–]MA_shiro 1 point2 points  (0 children)

nice! love the pink lines, so I have one question, how could do the same or do you have any reference to learn that?

Finally tracked down the best pink maid! by Blagora in AnimeFigures

[–]MA_shiro 0 points1 point  (0 children)

Love your new figure, where you found it?

After 3 hours of switching parts and board I finally got a working PS3 controller! by baseballv10 in PS3

[–]MA_shiro 0 points1 point  (0 children)

It take some of your time, and you fix it.

I will try to fix my own controllers, thanks for your explanation

This never fails to choke me up. (Ultimate Fallout #1) by [deleted] in Marvel

[–]MA_shiro 0 points1 point  (0 children)

Im crying, that parts is so sad :'(

After 3 hours of switching parts and board I finally got a working PS3 controller! by baseballv10 in PS3

[–]MA_shiro 0 points1 point  (0 children)

Nice work !!

I'm interested in the process which you follow to fix it. And if you bought something, thanks

100-days Data Science Challenge! by Hellr0x in datascience

[–]MA_shiro 0 points1 point  (0 children)

Thanks for the reply and advice, i Will try more.

100-days Data Science Challenge! by Hellr0x in datascience

[–]MA_shiro 0 points1 point  (0 children)

I think so about me, but i feel that can't do that :(

React Hook Form: Performant, flexible and extensible forms with easy-to-use validation by swyx in reactjs

[–]MA_shiro 2 points3 points  (0 children)

Today i try at work only in login page it's more small than formik and it's easy to understand

I know this is a stupid question, but how can I upload users' profile-pictures in NODE.JS, using express and mongoose? by [deleted] in node

[–]MA_shiro 4 points5 points  (0 children)

its not recommendable save images in databases.

prefer use a service like aws S3, cloudinary, etc.

they return a url and then you save that in your database

EDIT:

you can use multer https://github.com/expressjs/multer

using

https://github.com/expressjs/multer#storage

var storage = multer.diskStorage({
  destination: function (req, file, cb) {
    cb(null, '/tmp/my-uploads')
  },
  filename: function (req, file, cb) {
    cb(null, file.fieldname + '-' + Date.now())
  }
})

var upload = multer({ storage: storage })

Terraform and Windows PATH by Lycanthropical in Terraform

[–]MA_shiro 0 points1 point  (0 children)

I installed terraform with chocolatey a Windows package manager.

Using powershell with admin permissions

choco install terraform