Short js snippets working with js jquery and bool valuesinput checkboxes

Get value of checkbox (jquery):

– returns bool true or bool false

Set value of checkbox (jquery):

Second parameter can be true or false.

Convert true or false strings to bool (js):

This is when you know the string will be ‘True’ or ‘FALSE’ for instance. Accepts all case variations of ‘TRUE’ and ‘false’.

Simple bat script for keeping site up and running

keepsitealive.bat:

The script runs a get request against the url given every 60 seconds.
–spider indicates wget should not download anything.
Script above uses wget