python3
sudo apt-get install python3-bs4
or…
javascript:document.querySelectorAll(%22*%22).forEach(function(a)%7Ba.style.outline%3D%221px%20solid%20%23%22%2B(~~(Math.random()*(1%3C%3C%2024))).toString(16)%7D) |
javascript:(function()%7Bfunction%20copyToClipboard%20(text)%20%7B%20window.prompt%20(%22Copy%20to%20clipboard%20Using%20Ctrl+C%20and%20then%20paste%20into%20destination%20bookmarklet%22,%20text);%20%7D%20function%20addToForms(i,form)%20%7Bvar%20str%20=%20'';%20var%20obj%20=%20document.forms%5Bi%5D.querySelectorAll(%5B'textarea',%20'select',%20'input'%5D);%20for%20(var%20j=0;%20j%3Cobj.length;%20j++)%20%7B%20if%20(obj%5Bj%5D.type%20==%22checkbox%22%7C%7Cobj%5Bj%5D.type%20==%22radio%22)%20%7Bstr%20+=%20%22setVal(%22%20+%20i%20+%20%22,f,'%22%20+%20obj%5Bj%5D.name%20+%20%22',%22%20+%20obj%5Bj%5D.checked%20+%20%22);%22;%7D%20else%20%7B%20str%20+=%20%22setVal(%22%20+%20i%20+%20%22,f,'%22%20+%20obj%5Bj%5D.name%20+%20%22','%22%20+%20escape(obj%5Bj%5D.value)%20+%20%22');%22;%7D%7D%20return%20str;%7Dvar%20forms%20=%20document.forms;%20var%20str%20=%20%22%22;%20var%20f%20=%20new%20Array();for%20(var%20i=0;i%3Cforms.length;i++)%7Bf.push('%22'%20+%20forms%5Bi%5D.name%20+%20'%22'%20);%20str%20+=%20addToForms(i,forms%5Bi%5 |
javascript:document.body.contentEditable=true; |
javascript:link=window.prompt("Enter URL (eur02.safelinks.protection.outlook.com/...)");for(url_parts=link.split("?")[1],params=url_parts.split("&"),x=0;x<params.length;x++)namval=params[x].split("="),"url"==namval[0]&&(target_url=namval[1]);decode_url=decodeURIComponent(target_url);navigator.clipboard.writeText(decode_url);window.location.href=decode_url; |
python3
sudo apt-get install python3-bs4
or…
RewriteEngine On | |
RewriteRule ^([\w-]+)(?:\.html|/)?$ $1.html [NC,QSA,L] | |
# Makes something like "website.com/abc123" => work by delivering the file "/abc123.html" |
#!/usr/bin/env python | |
# -*- coding: utf-8 -*- | |
# ~~~~~ | |
# Telegram Bot API configs for stock_notifications.py | |
# ~~~~~ | |
token='' | |
chat='' |
<# Batch change all PDF file names to lowercase letters within a specific directory #> | |
dir C:\PATH\TO\FOLDER\*.pdf | Rename-Item -NewName {$_.Name.ToLower()} |
# Source: https://docs.aws.amazon.com/ses/latest/DeveloperGuide/send-email-smtp-client-command-line.html | |
# X-SES-CONFIGURATION-SET is optional | |
EHLO yourdomain.com | |
AUTH LOGIN | |
base64 encoded Smtp Username | |
base64 encoded Smtp Password | |
MAIL FROM: [email protected] | |
RCPT TO: [email protected] | |
DATA | |
#X-SES-CONFIGURATION-SET: YourSESConfigSet |