How to create an easy to remember but the super-strong password

Today we spend most of our time online, either on our personal computers, in-office work-station and most of the time on mobile phones. Today there’s a web or mobile app for almost everything and we use almost all of them in our daily routine.

Most of the applications store our information to personalize the content as per our profile and interests. To keep our data secure and hidden from others, they provide us with a form to create a username and password.

Do you use a super-strong password or just an easy one that you can remember and someone else can guess to hack into your account?

I couldn’t believe that most internet users use one of the passwords below to keep their accounts secure.

  1. 123456
  2. password
  3. 12345678
  4. abc123789

I hope you are not one of these people and actually have a really strong password. However, in this article, I am going to explain an easy way to create a super-strong password that you can easily remember.

A super-strong password must be alphanumeric and must contain capital letters and special characters. Now how can we create a password that contains everything so we don’t forget and get locked down from the applications we use.

What do you think of this password?

1l^^|<nW8106

Do you think it’s a super-strong password? Can you remember this every time you are asked to punch this password?

If you think you can’t, then let me explain how this password is created and make your life a lot easier and more secure.

I Love My Kids and Wife 1981 2006

Here’s a simple line that I can remember always. Of course, I love my kids and wife, and I was born in 1981 and got married in 2006 which is why I have a wife and kids πŸ˜‰

Now let’s create a password out of it:

  1. I was replaced by 1
  2. L is in lower case
  3. M is replaced by ^^ (Shift + 6 twice)
  4. n for and
  5. W is uppercase as she’s important πŸ™‚
  6. 81 is the YY format of my birth year
  7. 60 is the YY format of my anniversary

Combining all these characters makes this jumbled text a super-strong password.

NOTE: This is just an example and I request you, not to use this line for your password as a lot of people will read this post.

Be a little creative and think of phrases that you can not forget and try to replace the characters with symbols. Once done, do write your new password at least 10 times somewhere, and then destroy that file or paper to make sure you do remember what you have set and no one has access to it.

Now you have a super-strong password, so go on, enjoy the current technology and be SAFE. Do share this trick with your friends and family and help them avoid common mistakes and get webbed.

Our Services

WordPress crashed while updating plugins?

Recently I was updating my plugins on my local server and somehow the page got refreshed and my WordPress installation got stuck at the following message:

“Briefly unavailable for scheduled maintenance. Check back in a minute.”

You can easily bypass this message via the following steps:

  1. On your local or web server, browse to the main installation (root) directory for WordPress.
  2. On local if you have enabled hidden files, you will need to enable hidden files.
  3. You will see a file named .maintenance in the root directory.
  4. Simply delete this file to bypass the above mentioned message and you can access your WordPress dashboard and site as you normally do.
  5. You can choose to perform the upgrades again and make sure the page should not get refreshed. If it does again follow the step again.
contact us

Explore IOGOOS uitmate WordPress Development Services

PHP – Flatten or Merge a Multidimensional Array

Here’s a code snippet to flatten or merge a multidimensional array. This is useful when we need to find if a value exists in any of the nodes in a multidimensional array.

I use this function in my Paid Content Packages WordPress Plugin to find out if any of the packages have any page or post assigned.

PHP Function:

function flattenArray($arrayToFlatten) {

	$flatArray = array();

	foreach($arrayToFlatten as $element) {
		if (is_array($element)) {
			$flatArray = array_merge($flatArray, flattenArray($element));
		} else {
			$flatArray[] = $element;
		}
	}

	return $flatArray;
}

Example:

$array = array(
	'parent-one' => 'parent-one',
	'parent-two' => 'parent-two',
	'parent-three' => array(
		'child-one' => 'child-one',
		'child-two' => 'child-two',
		'child-three' => array(
			'kid-one' => 'kid-one',
			'kid-two' => 'kid-two',
		),
	),
);
print_r(flattenArray($array));

This code will print the following output.

Array
(
    [0] => parent-one
    [1] => parent-two
    [2] => child-one
    [3] => child-two
    [4] => kid-one
    [5] => kid-two
)
contact us

There are shorter versions of this function available, however, I like to use code that is clear and easy to read. Hope this helps you if you are finding a solution to this.

Our Services

Scroll Image within a DIV tag with CSS

How to Scroll Image within a DIV tag with CSS. Preview and download the code from codepen.

While your hunt for pre-built themes and templates, you must have seen this scroll effect on demo pages.

I’ve been working on something where I needed this functionality and I didn’t want to use Javascript for this so I created this effect in pure CSS.

HTML Code

<div class="image-scroll">
    &nbsp;
</div>

CSS Code

.image-scroll {
  width: 200px;
  height: 100px;
  background-image: url('IMG-URL-HERE')"; // or specify in HTML styles.
  background-size: 100%;
  background-position-x: 0;
  background-repeat: no-repeat;
  transition: all 2s ease;
  &:hover {
    background-position-y: 100%;
  }
}

If you have created this effect with some other css technique, please feel free to share the link in the comments.

WordPress Developer

Feel free to Contact Us.

How To: Find all links on a page with PHP

While working on a project, I needed to find all links on a given page. This code will list all links specified in an anchor tag on a given page URL.

$html = file_get_contents( '//website.com/page-in-question' );
$dom = new DOMDocument();

@$dom->loadHTML( $html );

$xpath = new DOMXPath( $dom );
$hrefs = $xpath->evaluate( "/html/body//a" );

for( $i = 0; $i < $hrefs->length; $i ++ ) {
	$href = $hrefs->item( $i );
	$url = $href->getAttribute( 'href' );
	echo $url . '
';
}

Once we have the list of the links, we can do whatever we want to do. In my case, I had to check if any of the links are broken on a WordPress page so I wrote a custom WordPress plugin for a client which checks first grab the links on a page and then check if the response status is 200 or 400 via wp_remote_get() call.

Another task was to find all images on a page, check the file size and if it’s large then crop the image and replace it with the new and improved version.

We can modify the above code to grab all image URLs on a page. All we need to do is change the DOM element from:

$hrefs = $xpath->evaluate( "/html/body//a" );

to

$hrefs = $xpath->evaluate( "/html/body//img" );

and

$url = $href->getAttribute( 'href' );

to

$url = $href->getAttribute( 'src' );

and we will get all the links in the src attribute of the images used on the page. Once I have the URLs, I used the PHP filesize function to determine the size and then wrote a script to crop the image, reduce file size and replace the same in its location.

I hope this code will help you if you are working on a similar task.

Jump over to the link to know more about PHP Development Services.

Enquiry Now

When We Work Together

We can create something incredible

arrow
HQ INDIA
HQ INDIA
C-31, Milap Nagar,
Uttam Nagar, New Delhi,
Delhi 110059
USA
USA
6715 Backlick Rd Suite 202
Springfield,
VA 22150, USA
AUSTRALIA
AUSTRALIA
2/51, Lane Cres,
Reservoir, VIC
3037, Australia
CANADA
CANADA
61 Payzant Bog Road, Falmouth, NS, B0P 1P0, CANADA
UK
UK
3rd Floor, 131 City Road, London, EC1V 2NX, United Kingdom
UAE
UAE
Boutik Mall, Al Reem Island - Abu Dhabi, UAE
X

Let Us Call You Back

  • India+91
  • United States+1
  • United Arab Emirates+971

Your phone number is kept confidential
and not shared with others.