Extend Log4J and evitate the error Repository is null

I have seen that on the web there are few guide on how to extend Log4j.Now i show to you how to create an extension with a timer function for Log4J. If you have extended yet a class but have error on “repository nulla” like:NullPointerException when extending Log4j…

Read more »

React how to convert Class to Hooks tutorial

The Hooks are a functional component that simplify the use of React, and allow use to create some reusable component. I have changed on my TodoList App a class to a Hooks The React Class React Hooks I have changed a React Class with React Hooks: timer managed…

Read more »

30 Second to React – Collection of useful React snippets

Today i want to speak about this beautiful collection of React snippet that i found on github¬† There are some useful function, in my opinion the most important are about the use of Hooks. I report here the Hooks found on GitHub Hooks useFetch useInterval useNavigatorOnline useTimeout useFetch…

Read more »

React Todo List with Undo Timer on Delete

Goodmorning, it’s more time that not write, i spent some time to study ReactJS, so i think that Angular is better, but so ReactJS has its “why”.Today i want to show how create a simple React TodoList Example in which i have implemented a system to delete an item,…

Read more »

Drawing App with Nodejs, Socket.io and Expressjs

This is my first nodejs app created with express.js 4 and socket.io 1.Download it on GitHub A demo is to:¬†drawing.francescopantisano.it The app permit to draw on a map in real time with other people in a specified “room”, so only who know the name of the room can…

Read more »

Nodemcu Light Control using Nodejs SSDP

LightControl con Nodejs SSDP questo pacchetto ha una parte di script Arduino da poter lanciare su tutte le vostre NodeMcu e una parte applicativa realizzata con nodejs che gestisce le periferiche ed interagisce con loro utilizzando il protocollo SSDP che trovo veramente interessante per l’aspetto iot, evita di…

Read more »

Javascript Global Error Handler

Today i’have created a simple class to log in the backend the javascript error, so i can have a real time monitoring of how error appear to the users. We can use a window.onerror and the addEventListener rewrite. Window.onerror has been available in most browser, but the argument…

Read more »

WordPress Plugin Creation Tutorial – Simplest way

Today I asked myself how to explain to a junior, how to create a wordpress plugin, the simplest way. Without the inclusion of complex structures with public folder, includes, ….., but something very very simple. Below I will explain how to create a plugin to manage some date,…

Read more »

Ebay OAuth 2 Generate Token and Refresh – PHP

Today i will show to you how to use a OAuth 2 on Ebay, so how you can take your token, and then use it. At first you must to register on https://developer.ebay.com Then you must to set your Application on (Sandbox/Test or Production, in this guide i…

Read more »

Yii 2 Framework Configure on Plesk 17 – Nginx

Hi,today i want to explain how to configure a app with framework Yii 2 on your hosting Plesk.In my case i have Plesk 17.8, the problem is how to configure the subdirectory and so how to convert the htaccess of Yii 2 app. On Plesk 17 you must…

Read more »