On the Subject of Binary Puzzles

There are 10 types of people in the world. Those who can solve this puzzle, and those who have no idea what I’m talking about.

  1. Clicking on a square in the 6×6 grid will toggle it between 0, 1, and unfilled.
  1. Press “Reset” to revert the module to its initial state.
  1. Fill all the squares with 0s and 1s in such a way that:
    1. no more than two equal numbers are next to or below each other;
    1. each row and each column contains an equal number of zeros and ones;
    1. each row is unique and each column is unique.