How to Generate Password Strong Online

If you want a quick and easy way to make a strong password, there are plenty of ways to generate strong passwords online. Let’s take a look at some of the best that help you how to generate password strong online.

 

Generator Password Strong is a simple way to make a strong password. You can set how long you want your password to be, from 6 all the way to 2048 characters. This is useful if you want to use it on a site with a strict password length requirement.

passwords-online-last-pass

LastPass is a service that remembers all your passwords so you don’t have to. Their password generator tool is a useful tool that quickly makes a strong password for you. Just tell it the minimum amount of characters you want it to be, click “Generate”, and a password is created.

passwords-online-random

Perfect for sticklers of “true” randomness! Random.org has provided random number generation based on background radiation, which is one of the more randomly-occuring phenomenon in nature. Their password generator uses this method to become the most “truly random” way to generate strong passwords online.

passwords-online-keygen

“Memorable passwords” focus on creating a password that’s easy to remember while still holding up to brute force. If passwords being memorable isn’t a top priority (either because you have a password manager or a stellar memory!), you can use very strong passwords that are sure to keep you secure. The site also generates passwords that can be used for WPA and WEP routers too.

WordPress how to find the source of a shortcode

I am working with wordpress and want to change the output of a shortcode that I wrote myself earlier. Because I forgot where I put it (bad organizing when I started with wp) I wondered whether there is a list of all shortcodes with their source files in the wp database somewhere?

You can use the following code to get a list of all registered shortcodes.

This will unfortunately not give you the source files of these shortcodes but a simple search through your plugins and themes should reveal the location of the shortcode.

How to test sendmail from the terminal

Sendmail is an open source smtp server. Many different languages and frameworks interface with sendmail, and when debugging it’s good to be able to quickly test whether or not sendmail is working.

The following is a quick way to verify that sendmail is working.

How to Find the ID Facebook Page

Facebook requires you to input the Page ID when creating social plugins and chat widgets for the Messenger platform but they do not offer any easy way to determine the ID of Facebook pages. This simple guide should help.

Find Facebook Page ID

Step 1: Open any Facebook Page in your desktop browser and right-click the profile image of the page.

Step 2: Click “Copy Link Address” from the right-click menu to copy the photo link to your clipboard.

Step 3: Open Notepad (or Text Edit on your Mac) and paste the URL of the image. It would look something like this:

And the Page ID is 5550296508

Guide to remove trailing slash from WordPress URL

Guide to remove trailing slash from WordPress URL

Sometimes a very simple problem like  remove trailing slash from WordPress URL seems frustrating if you don’t know the solution to it. It’s the same with trailing slash problem in WordPress URL.

To solve this trailing slash in WordPress URL problem, log in to your website admin panel -> go to Setting Tab -> click on Permalinks under Settings. It will open a page something like the below screen:

Now, check to verify the setting you have opted for the website URL structure. Make sure that you are not leaving a trailing slash in the URL structure.

It just works like a charm !

Elasticsearch Cluster – Understanding How IT Works

Elasticsearch Cluster – How It Works

Questions will be solved

  •  How a node in cluster talks to others?
  •  What happens when a node joins or leaves the cluster?
  •  What happens when a node stops or has encountered a problem?
  •  What is the role of master/client/data in cluster ?
  •  What is memory requirement for each node ?
  •  How ES organizes data ?

What is a cluster of nodes ?

  • Start a ES instance => a cluster of single node.
  • Start another ES instance with the same cluster.name => a cluster of 2 nodes.
  • How nodes talk to each other: Over TCP
  • How nodes talk to external: JSON over HTTP
  • Each node can play one or more roles in cluster.

What is role of master/client/data ?

Master

  • Create/Delete indices
  • Add/Remove nodes from cluster
  • Broadcast changes to other nodes
  • Only 1 master node at a time.

Data

  • Holding data in the shards => CRUD, search, aggregations on data

Client

  • Routing requests to master/data => smart router

Adding a node to cluster

  • It will ping all nodes => find master node => request to join => accepted & joined.
  • If joined node is data => the master will re-allocate data to this node.

Removing a node to cluster

  • The master node will remove this node from cluster, broadcast changes the all nodes.
  • If removed node is data => the master will re-allocate data.
  • If remove node is master => one of the other master nodes will be elected to be master ( Fault Detection )

How ElasticSearch organizes data ?

  • Elasticsearch as MySQL
    • Index <=> Database
    • Type <=> Table
    • Document <=> Row
    • Field <=> Column
  • Index is one or more shards distributed on muliple nodes
  • Number of primary shards can NOT be changed after index created

References: