Is wearing a cap permissible for boys, or girls?
All Perfect Praise is due to Allah, The Lord of The Worlds.
In principle, anything is permissible sol long as there is no Sharia evidence prohibiting it, thus wearing the cap by boys is permissible as long as it isn`t done in imitation of the disbelievers. Moreover, a Muslim woman should avoid all that which attracts the attention of men because whatever leads to the forbidden is forbidden. And Allah Knows Best.
Is it permissible for a woman to shake hands with her brother-in-law?
It is forbidden for the woman to shake hands with her brother-in-law because he isn`t a Mahram (unmarriageable) of hers.
What is the ruling on praying behind an undesirable Imam?
It is permissible to pray behind an Imam who is undesirable for committing religious violations, and it is disliked for such an Imam to lead the prayer. Still, If he was undesirable for a personal, or a worldly matter, then such argument doesn’t hold water. And Allah Knows Best.
Is it permissible for a woman to ride a taxi without a Mahram (unmarriageable kin) in order to attend a gathering of knowledge?
It is permissible for the woman to pursue the knowledge that she needs in order to perform the religious requirements due on her if there was nobody to teach her at home, provided that there is no temptation involved. Moreover, we don`t recommend that she rides a taxi without a Mahram although such an act isn`t from the forbidden Khulwah (seclusion).