The case if you need to run scripts or commands at certain intervals of time, you have two options: Use a cron job Use a infinite loop with sleep in the scrpt itself So what is the better option in termsContinue reading… cron vs sleep which is better ?
How to show banned IPs with Fail2ban client
It’s very simple to show the list of banned IPs with Fail2ban, first you have to select in witch jail you want to show the blocked IPs. To get the active jails type:
Then you have to select a jail to show banned IPs with this jail
fail2ban-client status <JAIL-NAME>
Start AngularJs 1 project – simple way with npm http server
In this video, I show how to run AngularJs 1 project with npm http-server package.
How to find exact text with jQuery ?
I needed a way to find labels based on the text that they contained.? I thought about using :contains() for this, but in this particular case the text items I was searching on were names and I could have similar names that :contains() could incorrectly match on.? For instance, if I was searching for “School, Tim” and there was an item with the text “School, Timothy” I would get both items returned.? This is not the behavior I was looking for.
Age of empires castle siege cheat
In this video, I show how to hack Age of empires castle siege on windows 10 with cheat engine 2016 software to get unlimited coins.
About this guide
This step-by-step guide exists to help you install and configure Fail2ban on your server to prevent hackers attack ( SSH and WordPress brute force attack ).
We discussed How fail2ban works on the previous post.
Fail2ban is installed as part of the target environment(Ubuntu), the container remains independent. However, to interpret the filters Fail2ban must have access to the container log files.
The following example shows Fail2ban, Docker Host, and Container on an Ubuntu server with iptables. Fail2ban should monitor and protect the SSH accesses to the Ubuntu server and the HTTP accesses to the Docker container.
Fail2ban helps protect a server from brute force and Deny-Of-Services (DOS) attacks.
- Fail2ban is developed in Python language
- Fail2ban analyzes the logs of the server when it detects several unsuccessful connection attempts it will put in place actions that you will have defined such as blocking the IP address or send alert email
- Fail2Ban is based on a system of jails that can be set, enabled or disabled in a simple configuration file (/etc/fail2ban/jail.conf)
When you get this error:
Missing argument 2 for wp_kses
How to fix error missing argument 2 for wp_kses
Change this line
update_post_meta( $post_id, 'post_meta', wp_kses( $_POST['post_meta']) );
to this line:
update_post_meta( $post_id, 'post_meta', wp_kses_post( $_POST['post_meta']) );
Hello everyone, I’m chained to post a new series dedicated to a Big Data project.
Big data is an evolving term that describes any voluminous amount of structured, semi structured and unstructured data that has the potential to be mined for information.
Big data is often characterized by 3Vs:
- The extreme volume of data.
- The wide variety of data types.
- The velocity at which the data must be processed.
In this tutorial, we’ll do a simple analysis of sentimental Tweets Spark with SQL on a json file. This exercise is designed in Java to retrieve a stream of Tweets and Scala for spark SQL scripts. You will find the Repo Github link in the tutorial.
above illustrates the architecture of our application.