This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//This script will auto select a vaccination in Delhi center only, To use login to https://selfregistration.cowin.gov.in/appointment and select state as Delhi, Leave District empty and run this script in developer console of your browser. Sit & wait till it finds a slot | |
let district=-1,seatSelect=()=>setTimeout(()=>(console.log("trying to select seat")||document.querySelectorAll(".slots-box:not(.no-seat):not(.no-available)")[0]?document.querySelectorAll(".slots-box:not(.no-seat):not(.no-available)")[0].click():play())||setTimeout(()=>document.getElementsByClassName("time-slot")[0].click(),1500),2e3),play=()=>(district=(district+1)%11)&document.querySelector(".pin-search .mat-select-arrow").click()||setTimeout(()=>document.querySelectorAll("mat-option")[district].click()||document.querySelector(".pin-search-btn").click()||setTimeout(()=>document.querySelector(".agefilterblock div label").click()||seatSelect(),2500),300);play(),console.log("[email protected]"); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Basic cleaning you can do safely | |
sudo -i | |
sudo dpkg --configure -a | |
apt-get autoremove --purge | |
apt-get autoclean | |
apt-get clean | |
rm -rf /var/cache/apt/archives/* | |
find /var/log -name '*.gz' -delete |