All Questions

0 votes
0 answers
2 views

getClientOriginalName() on array in laravel controller

i have a form that submit many image to store in store i have problem with getClientOriginalName this is my controller code $images=$request->file('images'); foreach ($images as $img){ ...
user avatar
0 votes
0 answers
2 views

Mutable Binding.constant()?

I'm using a secondary init to pass a different set of values into my struct. The issue with this is that values is a generic binding but I need to format the Binding values before setting it. public ...
user avatar
  • 9,722
0 votes
0 answers
2 views

how to edit string in .htaccess file?

hey guys I am trying to edit the contents of htaccess by PHP I used this code but it's replacing all the file but I just want to replace the contents between ##START DOMAIN## & ##END DOMAIN## here ...
user avatar
0 votes
0 answers
2 views

React: function in value, passed from context provider doesn't work

I'm trying to work with Django rest framework and now i want to send a POST message to log users in. im using context to have the login function in the whole app // index.js ... root.render( <...
user avatar
  • 53
0 votes
0 answers
2 views

How to prevent a logged in user go back to the Login page by clicking on the back button in React?

I know that others have asked similar questions. I have gone through some of the solutions but none worked for my case. I am developing a MERN stack app. The /admin route is a client-side protected ...
user avatar
  • 438
0 votes
0 answers
2 views

Dynamic user profile templates in Next.js

I want to build a templating engine for user profiles. After picking a design, which might consist of HTML, CSS, and JS, I would like to be able to server-side/static render a users profile page using ...
user avatar
0 votes
0 answers
2 views

Setting a Maximum Size on Circle Markers

What I am trying to achieve is have a circle marker where the size changes when you zoom in or out, but I want to set a maximum size they can get (instead of just continuing to get bigger). Is there a ...
user avatar
0 votes
0 answers
2 views

Add a png and jpeg file to top of a geom_col

I have a geom_col with 13 football teams on it measuring average attendance on the y axis, team on the x axis. I want to add the logo of a team above the attendance of the red column. How would I do ...
user avatar
  • 1
0 votes
0 answers
5 views

Uploading files to an ftp server using express

I have to keep this as generic as possible for various reasons, and please direct me if this question has already been answered before. Essentially I have a NodeJS client created using express running ...
user avatar
  • 1
0 votes
0 answers
5 views

How to disable the warnings and highlights in spacemacs c-c++ mode

I enabled the c-c++ mode together with lsp in spacemacs. Because I do not have the complilation database json file (due to some other reasons), the lsp server gives me all kinds of warnings and ...
user avatar
  • 2,532
0 votes
0 answers
3 views

Need ability to determine the Level of the log as passes from main function

Need ability to determine the Level of the log as passes from main function e.g. log_it_all(log_path).info(log_msg), log_it_all(log_path).error(log_msg). based on those levels the details in a format ...
user avatar
  • 1
0 votes
0 answers
6 views

Java: Split a string that represents a path into strings without losing the forward slash?

In Java, if I use .split() on a String "/cat/dog/mouse/elephant" I would like to get this result: ["/cat", "/dog", "/mouse", "/elephant"] Of course I ...
user avatar
0 votes
0 answers
3 views

sed - Replace Child tag value in XML under specific Parent tag

Trying to change the value for the Child tag "Part" from 8005 to 8008 under the Parent tag "Class". The Child Tag "Part" is used under multiple Parents, so need to ...
user avatar
  • 1
0 votes
0 answers
6 views

BeautifulSoup Assignment got error module 'urllib' has no attribute 'urlopen' Can anyone provide solutions for this?

I am trying to do an assignment: write a Python program that expands on http://www.py4e.com/code3/urllinks.py. The program will use urllib to read the HTML from the data files below, extract the href= ...
user avatar
0 votes
0 answers
4 views

Add horizontal lines outside plot area in ggplot2

I've tried finding an answer but nothing seems to work. The first image below is a scatterplot drawn in ggplot2, which has been post-processed by a specific LaTeX journal template on Overleaf. I would ...
user avatar

15 30 50 per page
1
2 3 4 5
1527307