Index Checker

I’m using Google index checker and would like to know what it actually checks for.
I tested with a list of 35 of my websites, in all instances the home page and with correct http or https. and www or not www,
I only get 12 indexed, and while some are indeed not indexed, at least 80% are in reality when checking by hand on Google.

What’s the search string that’s used?

PS I get 18 indexed on Yahoo, and 14 on Bing, and I never tried to index on either one of them.

Index Checker

I’m using Google index checker and would like to know what it actually checks for.
I tested with a list of 35 of my websites, in all instances the home page and with correct http or https. and www or not www,
I only get 12 indexed, and while some are indeed not indexed, at least 80% are in reality when checking by hand on Google.

What’s the search string that’s used?

PS I get 18 indexed on Yahoo, and 14 on Bing, and I never tried to index on either one of them.

Spell checker for word 2007 is not working

From this question it is clear that a language without the ABC checkers will not work for spell checking. I’m aware of this. What is not answered there is what to do when one wants to use a certain language that doesn’t have the ABC checkers. How one activates (install) this particular language into word.

EDIT: Tried to install all three language service packs from Microsoft but the following error message appear.

enter image description here

Setup: Windows 10 64 bit, Office 2007

ArmstrongNumber checker

This is my code written to check whether a given number is armstrong or not . but the logic differs from the conventional logic of using integer and separating its digits and calculating , instead i optimize the logic of separating the digits using Sting and char array . Please review my code ?

import java.util.Scanner; public class ArmstrongNumberChecker {     public static void main(String[] args) {         int number;         int sum = 0;         Scanner scanner = new Scanner(System.in);         try {             System.out.println("\nEnter the number to check if it is armstrong number\n");             number = scanner.nextInt();             String s = Integer.toString(number);             char[] c = s.toCharArray();             for (int i = 0; i < s.length(); i++) {                 sum = ( int ) (sum + Math.pow((c[i] - 48), c.length));             }             if (sum == number) {                 System.out.println("Number " + number + " is Armstrong");             } else {                 System.out.println("Number " + number + " is not Armstrong");             }         } catch (Exception e) {             System.out.println("Invalid data");         }     } } 

Setting up environment variable for checker framework

I want to use checker framework for java and I am setting environment variable for it but when I am checking version of it in PowerShell in windows. It is showing that it is not able to access checker framework.

java -Xbootclasspath/p:%CHECKERS%/binary/jsr308-all.jar -jar %CHECKERS%/binary/jsr308-all.jar -version 

Here is the error

Error: Unable to access jarfile %CHECKERS%/binary/jsr308-all.jar

I have unzipped the downloaded file in C drive. And for the environment variable here is the paths that i have tried.

  • 1

C:\checker-framework-2.7.0\checker-framework-2.7.0\checker\di

  • 2

C:\checker-framework\checkers

  • 3

C:\checker-framework-2.7.0\checker-framework-2.7.0\checker

  • 4

C:\checker-framework-2.7.0\checker-framework-2.7.0

Broken Links Checker – anchor links

So it looks like It won’t detect if an anchor link page is broken. Is there a setting somewhere I’m missing that will allow anchor links to be scanned. 
Example: 
site.com/whats-it-worth/#money
site.com/whats-it-worth/

It will only find that 2nd link is broken. Both give 404 pages because /whats-it-worth/ was renamed to a different page. So it’s not that the anchor is bad, the whole page is bad.

Easy to read palindrome checker

I made a palindrome checker that’s supposed to be designed to be simple and easy to read. Please let me know what you think. I believe the time complexity is $ \mathcal{O}(n)$ but I’m not too sure about that:

Challenge: You’ll need to remove all non-alphanumeric characters (punctuation, spaces and symbols) and turn everything into the same case (lower or upper case) in order to check for palindromes.

function reverseString(str) {    str = str.replace(/[^\w\s]|_/g, "").toLowerCase().split(" ").join("");   var array = [];   for(var i = str.length ; i >=0; i--)   {     array.push(str[i])   }   return(array.join("")); }   reverseString("My age is 0, 0 si ega ym.");  function palindrome(str) {   str = str.replace(/[^\w\s]|_/g, "").toLowerCase().split(" ").join("");   if(str === reverseString(str))   {    return true;    }   else   {     return false;   } } 

Sudoku checker by ayush

I have my general code but don’t know how to add a function for my check answer button. Can somebody help me make a function for my check answer button?

<!DOCTYPE html>  <!-- Sudoku checking thing --> <HTML> <HEAD>    <TITLE>Ayush & Ranveer's sudoku checker</TITLE> </HEAD> <BODY> <form method="post" name="Sudoku"> <input id="C1_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="1" type="TEXT"> <input id="C1_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C1_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="3" type="TEXT"> <input id="C1_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C1_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="5" type="TEXT"> <input id="C1_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C1_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="7" type="TEXT"> <input id="C1_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C1_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="9" type="TEXT"> <br> <input id="C2_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C2_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="5" type="TEXT"> <input id="C2_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C2_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="7" type="TEXT"> <input id="C2_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C2_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="9" type="TEXT"> <input id="C2_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C2_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="2" type="TEXT"> <input id="C2_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <br> <input id="C3_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="7" type="TEXT"> <input id="C3_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C3_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="9" type="TEXT"> <input id="C3_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C3_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="2" type="TEXT"> <input id="C3_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C3_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="4" type="TEXT"> <input id="C3_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C3_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="6" type="TEXT"> <br> <input id="C4_1" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C4_2" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="3" type="TEXT"> <input id="C4_3" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C4_4" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="5" type="TEXT"> <input id="C4_5" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C4_6" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="7" type="TEXT"> <input id="C4_7" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C4_8" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="9" type="TEXT"> <input id="C4_9" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <br> <input id="C5_1" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="5" type="TEXT"> <input id="C5_2" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C5_3" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="7" type="TEXT"> <input id="C5_4" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C5_5" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="9" type="TEXT"> <input id="C5_6" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C5_7" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="2" type="TEXT"> <input id="C5_8" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C5_9" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="4" type="TEXT"> <br> <input id="C6_1" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C6_2" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="9" type="TEXT"> <input id="C6_3" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C6_4" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="2" type="TEXT"> <input id="C6_5" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C6_6" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="4" type="TEXT"> <input id="C6_7" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C6_8" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="6" type="TEXT"> <input id="C6_9" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <br> <input id="C7_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="3" type="TEXT"> <input id="C7_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C7_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="5" type="TEXT"> <input id="C7_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C7_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="7" type="TEXT"> <input id="C7_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C7_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="9" type="TEXT"> <input id="C7_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C7_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="2" type="TEXT"> <br> <input id="C8_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C8_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="7" type="TEXT"> <input id="C8_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C8_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="9" type="TEXT"> <input id="C8_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C8_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="2" type="TEXT"> <input id="C8_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C8_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="4" type="TEXT"> <input id="C8_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <br> <input id="C9_1" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="9" type="TEXT"> <input id="C9_2" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C9_3" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="2" type="TEXT"> <input id="C9_4" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C9_5" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="4" type="TEXT"> <input id="C9_6" maxlength="1" size="1" style="BACKGROUND-COLOR:ORANGE;" value="" type="TEXT"> <input id="C9_7" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="6" type="TEXT"> <input id="C9_8" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="" type="TEXT"> <input id="C9_9" maxlength="1" size="1" style="BACKGROUND-COLOR:LIME;" value="8" type="TEXT"> <br> <br> <INPUT TYPE="button" VALUE="Read Cells" NAME="ReadCellsButton" onClick="ReadCells()"> <INPUT TYPE="button" VALUE="Restore Cells" NAME="RestoreCellsButton" onClick="RestoreCells()"> <INPUT TYPE="button" VALUE="Clear Puzzle" NAME="ClearPuzzleButton" onClick="ClearPuzzle()"> <INPUT TYPE="button" VALUE="Clear Text Area" NAME="ClearTextareaButton" onClick="ClearTextArea()"> <INPUT TYPE="button" VALUE="Check Answer" NAME="CheckAnswer" onClick="CheckAnswer()"> <textarea id="OutputText" rows="10" cols="80" readonly></textarea> </form> <SCRIPT LANGUAGE="JavaScript"> <!-- Beginning of JavaScript -  var puzzle = new Array(9);  for (i=0; i < 9; i++)    puzzle[i]=new Array(9);  // reads values from the Sudoku form, stores them in the puzzle[][] array,  // and writes them to the OutputText TEXTAREA  function ReadCells() {    var cell;     document.getElementById('OutputText').value = "ReadCells():\n";    for(i = 1; i <= 9; i++){       for(j = 1; j <= 9; j++){          cell = "C" + i + "_" + j;          puzzle[i-1][j-1] = document.getElementById(cell).value;       }       document.getElementById('OutputText').value += puzzle[i-1].join(" ");       document.getElementById('OutputText').value += "\n";    } }  // writes values from the puzzle[][] array to the Sudoku form function RestoreCells() {    var cell;     for(i = 1; i <= 9; i++){       for(j = 1; j <= 9; j++){          cell = "C" + i + "_" + j;          document.getElementById(cell).value = puzzle[i-1][j-1];       }    } }  // clears the Sudoku form function ClearPuzzle(form) {    var cell;     for(i = 1; i <= 9; i++){       for(j = 1; j <= 9; j++){          cell = "C" + i + "_" + j;          document.getElementById(cell).value = "";       }    }  }  // clears the TEXTAREA below the Sudoku puzzle function ClearTextArea(form){    document.getElementById('OutputText').value = ""; }  // - End of JavaScript - --> </SCRIPT> <BODY> </HTML>