How to deploy an Node.js application to a server with Nginx

How to deploy an Node.js application to a server with Nginx

In this guide, we’ll look at how to deploy an Node.js application on a VPS server and how to configure a reverse proxy for that application. Cloud technology offers many options for deploying applications. You can use services such as Microsoft Azure, Google Cloud or AWS to host web applications. You can also use PaaS …

How to deploy an Node.js application to a server with Nginx Read More »

Duplicated search results in HUGO fastsearch

Duplicated search results in HUGO fastsearch

For people who encounter duplicate search results. If your Hugo page is not a single-page application, it will repeatedly run index.json. This will cause pages to be repeatedly added to the search index, causing the results to be duplicated. All you have to do is in index.json replace: on this

How to route in electron react app during production

How to route in electron react app during production

I am using electron 6.10.0 and using React.js. In my app, there is an add task option in menu, which creates a new window. Everything works fine during development, but during production this line causes problem. It loads index.html, through which it loads index.js and which renders router.js. This is the code in Router.js. Mainwindow …

How to route in electron react app during production Read More »

AnimationEvent Unity

AnimationEvent has no function name specsified in Unity editor

Animation plays fine but everytime it plays in console have message “AnimationEvent has no function name specified”. What does it mean? FYI: AnimationEvent are handy for running some code. If you script and create a method, you make it public, but this may not be necessary. You can create one of these events in the …

AnimationEvent has no function name specsified in Unity editor Read More »

jquery find div with data attribute

How to find an element with data attribute by selector and add an event to them in jQuery?

For example, we have html page which contains many divs at different knots. Some of them have an attribute data-custom. How can these divs be identified in JQuery to add onClick event to them? In jQuery documentation we have this example: But with it we can find attributes with a value in search. If you want …

How to find an element with data attribute by selector and add an event to them in jQuery? Read More »