Skip to content

Instantly share code, notes, and snippets.

import requests
import hashlib
from bs4 import BeautifulSoup as bs
# URL
url = "http://example.com/digest/index.html"
# response
md5a1 = "secret_md5"
nonce = ""
#!/bin/sh
files=$(git diff --cached --name-only --diff-filter=ACM)
javascripts=$(echo "$files" | grep -e ".js$")
warn=false
pass=true
if [ "$javascripts" != "" ]; then
for javascript in ${javascripts}; do