Sunday 28 August 2016

check broken link status and result will be store into another file


scripts.sh:
OUTPUT="result.txt"
function test {
 RESPONSE=$(curl -so /dev/null -w "%{http_code}\n" ${1})
 if [[ $RESPONSE != 200 ]]; then
   echo "${RESPONSE} on ${1}" >> $OUTPUT
 fi
}

Create another text file as result.txt where broken urllist will be store.
And one more thing is that all the url that you want to check write into scripts.sh which will be beginging by test as write above in scriipts.sh.


This scripts will be store all the broken urls.

Saturday 20 August 2016

datepicker hide icon

First to hide drop down datepicker container:
.md-datepicker-input-container {
  display: none;
}

If you want to hide datepicker icon:
.md-datepicker-button {
  display: none;
}