How to implement a custom search for Hugo usig Gruntjs and Lunrjs.
Install the following tools:
import os, filecmp | |
codes = {200:'success',404:'file not found',400:'error',408:'timeout'} | |
def compile(file,lang): | |
if lang == 'java': | |
class_file = file[:-4]+"class" | |
elif lang == 'c': | |
class_file = file[:-2] | |
elif lang=='cpp': |
curl --silent --location https://rpm.nodesource.com/setup_8.x | sudo bash - | |
sudo yum -y install nodejs |
Ever wanted to delete all your likes/favorites from Twitter but only found broken/expensive tools? You are in the right place.
setInterval(() => {
for (const d of document.querySelectorAll('div[data-testid="unlike"]')) {
d.click()
}