lundi 26 avril 2021

Is there a way to allow access to a React website only if it is HTML embedded on a certain website?

I want to allow access to my React website only if it is HTML embedded in a certain website. Is It possible?




Development of dynamic websites [closed]

I am new to web development and it is my very first project of dynamic website. I have to develop a website of programming tutorial, similar to w3schools. What I am confused about and wants to know is that do we simply make a template in the html or php file about how the tutorial will look like and all the content of all languages will be stored in database which will be dynamically fetched and displayed. Or we make multiple files for all the languages?

Which approach do we use for such website having multiple languages tutorials.




How to connect Angular project directly with java backend without model [closed]

I have an Angular project which is attached to a Java backend. In order to make inputs via the Angular interface I have to create a modeldata file in the Angular project that is built exactly like the class in my backend. However, I then maintain the data in two places...

How can I link the web interface directly to my backend?

Without Data in Angular...

Thanks




How to control Desktop application from web (webserver, web application) C#?

I have a desktop application(frame grabber uses a huge a mount of cpu ressources) and I want to build a web interface to control this application, can some one tell what is the best technology to do that and how to do it?




Reload page dynamically

I create a sahsboard to which I added a modal box which proposes to save or to go back. To go back, I need to reload the page (so that the data will return to the initial state). I used javascrpt and this script works but the problem is that the browser shows that the page is reloaded (I would like to reload the page dynamically). Do you have an idea to reload the page dynamically?

current code

function cancel() {
close();
document.location.reload();

}




HTML italics and non-italics text is rendered too close to each other

There is a rendering issue with text marked as italics when no extra space is added after the italicized text and before the next text span (non-italics):

Eureka!

enter image description here

<i>Eureka</i>!

enter image description here

which makes exclamation mark being rendered too close to the last italicized character a.

Engine: Google Chrome Version 90.0.4430.85 (Official Build) (64-bit)

On the other hand MS Word inserts some extra space and mixed text looks nice:

enter image description here

vs

enter image description here

Is there a way to solve this issue?




nmap puts service as "tcpwrapped" even though nignx is running on it

I have my own little website running with nginx on a digitalocean server.

I wanted to try to nmap it just for the practice, so I tried running

nmap -v -A -sV xx.xx.xxx.xxx

It scans and comes back with this response:

PORT    STATE  SERVICE    VERSION
22/tcp  open   tcpwrapped
|_ssh-hostkey: ERROR: Script execution failed (use -d to debug)
80/tcp  open   tcpwrapped
|_http-server-header: nginx/1.18.0 (Ubuntu)
| http-title: Welcome | MyWebApp
|_Requested resource was /public
443/tcp closed https

So the service on port 80 shows up as 'tcpwrapped' even though i know it's running nginx. the scan is however able the see in the serverheader that I am running nginx/1.18.0 (Ubuntu)-

What can be the reason that nmap can't tell which service I am running, when I am clearly running nginx?