Skip to content

Instantly share code, notes, and snippets.

View cauethenorio's full-sized avatar
🎯
Focusing

Cauê Thenório cauethenorio

🎯
Focusing
View GitHub Profile
@cauethenorio
cauethenorio / standalone_html.py
Created August 17, 2021 17:27 — forked from pansapiens/standalone_html.py
Convert HTML to a self contained file with inline Base64 encoded PNG images
#!/usr/bin/env python
# A simple script to suck up HTML, convert any images to inline Base64
# encoded format and write out the converted file.
#
# Usage: python standalone_html.py <input_file.html> <output_file.html>
#
# TODO: Consider MHTML format: https://en.wikipedia.org/wiki/MHTML
import os
from bs4 import BeautifulSoup
@cauethenorio
cauethenorio / WhatsApp Web Send Sad Emoji
Last active November 8, 2016 15:18 — forked from rootux/WhatsApp Web Send Random Heart
Just a simple WhatsApp Web Heart Sender
/*
Simple WhatsApp Web Spam Bot Originally written by Pablode. Modified by Gal Bracha.
Use with love <3. Do not act reckless.
====================================================================================
DISCLAIMER: I do not take any responsibility for any damage caused with this script.
WhatsApp might be able identify script users if this becomes a problem. Do only use
this if you are aware of the consquences.
====================================================================================
Usage: Copy all of this script (Ctrl+A, Ctrl+C). Add a new Bookmark. In the URL section,
write "javascript:" and paste (Ctrl+V) this script. Visit WhatsApp Web, select your