Android 8.0 OREO

Google pulled off one of the best version on Monday, by taking advantage of the solar eclipse with a cool name for Android O. Android 8.0 is now officially known as Oreo.


Continue reading “Android O :The latest Android version”


Lesser known keyboard shortcuts in MS WORD

Here are some more keyboard shortcuts in Microsoft Word for Windows.

Shortcut Does this
Ctrl+Shift+8 Toggles formatting marks on and off
Ctrl+1 Applies single-line spacing to the selected paragraph(s)
Ctrl+2 Applies double-line spacing to the selected paragraph(s)
Ctrl+5 Applies 1.5-line spacing to the selected paragraph(s)
Ctrl+0 (zero) Toggles the ‘space before’ setting for the paragraph where the cursor is to 12 pt (if some other value) or 0 pt (if the previous setting was 12 pt)
Alt+Ctrl+z Jump to your previous editing location

Unlock a password-protected document in MS WORD

Why would you want to unlock a password-protected Word document? Surely the author/company has locked it for a reason? Yes, in many cases, that’s correct and you shouldn’t try to circumvent the password protection — instead, ask the author/company for the password if you need to access elements of the document.

However, if the author has left the company, or if they wrote the document many years ago and have forgotten the password, then you may need to break the password protection to access the document’s contents and functions.

You can follow the steps in the link above, or, in case the content at that link gets removed at any stage, follow my modified and more detailed steps below, which are based on that article:

  1. Open the password-protected document in Word.
  2. Go to File > Save As, then select Word XML Document (*.xml) from the Save as type drop-down list.
  3. Click Save. Close the application.
  4. Right-click on the saved XML file (it should be in the same folder as your original document), then select Open with and choose a text editing program to open the file with (e.g. WordPad, NotePad, or other text editing program — do NOT choose Microsoft Word).
  5. Press Ctrl+F to open the Find dialog box, in the Find what field, type enforcement.
  6. Now find this  w:enforcement=”1″ or w:enforcement=”on”.
  7. Replace the “1” with a zero “0” (or replace “on” with “off”) to disable enforcement. This step unlocks the document.
  8. Save the XML document within your text editor, then close the text editing software.
  9. Right-click on the saved XML file, then select Open with and choose Microsoft Word.
  10. As soon as you’ve opened it, go to File > Save As, then select Word Document (*.docx) from the Save as type drop-down list. Change the file name if you want to preserve the original password-protected document an make this a new document, or use the same file name to replace the original document.
  11. Click Save now you can edit the document.



How To Show Developer Tab In Word?

Step 1: Click Office icon on the top left of Word, and then click Word Options button.

Open this pop up

Step 2: Click on Word Options.

Step 3: Check Show Developer tab.


Step 4: Click OK button, and developer tab will be shown in the ribbon.









Repeating text within a document in MS WORD

If you have some text in a Word document that you’d like to repeat a document and don’t want to write it again, and you’d rather not copy/paste it from the other location as that means that you’ll have to remember to maintain it in both places if there are changes. If another author takes over the document, they may not know that they have to update this text in two or more places if there are changes, either.

Continue reading “Repeating text within a document in MS WORD”

<bits/stdc++.h> header file in C++

It is basically a header file that includes every standard library. In programming, people focus more on finding algorithm to solve a problem than on software engineering. From, software engineering perspective, it is a good idea to minimize the include. It actually includes a lot of files, which your program may not need, thus increases both compile time and program size unnecessarily.

Continue reading “header file in C++”

Fixing a header after scrolling to a certain point

For this we have to use javascript for fixing header at a certain point.

$(document).scroll(function() {
 var y = $(document).scrollTop();
 header = $("#menu");
 if (y >= 200) {
 position: "fixed",
 "top": "0",
 "left": "0"
 } else {
 header.css("position", "relative");

So here #menu is the id of the header that i want to fix .

Continue reading “Fixing a header after scrolling to a certain point”

Create a free website or blog at

Up ↑