Skip to content

Instantly share code, notes, and snippets.

View kmac420's full-sized avatar

Kevin McCall kmac420

View GitHub Profile
@kmac420
kmac420 / devnull-epoch.sh
Last active April 8, 2021 17:36
Devnull Eposh Shell Script
while true
do
let RETURN_CODE=$(curl -I --silent https://devnull.com | grep "^HTTP" | awk '{print $2}')
if [ ${RETURN_CODE} -eq "200" ]
then
echo "$(date "+%s")"
break
fi
done
<script type="text/javascript">
quid.createFAB({
apiKey: "kp-YJ3BI176MY60TRU7ZAMNO84P2ZR4F3J0",
baseURL: "https://app.quid.works",
currency: "CAD",
productID: "floating-tip",
productName: "Support Online Publishing Inc.",
productURL: "www.read-dracula-online.com",
productDescription: "Support my blog.",
position: "right",
<link rel="stylesheet" href="https://js.quid.works/v1/assets/quid.css">
<script src="https://js.quid.works/v1/client.js"></script>
<script>
quid.autoInit({
apiKey: 'kp-ENTERYOURQUIDAPIKEYHERE',
sel: 'div.txtNew',
regexMatch: '--quid-button--',
amount: "0.25",
currency: "CAD",
productID: "DONATION",
productName: "Tiny Secure Payments Donation",
productURL: "https://www.tinysecurepayments.com",
<script>
quid.autoInit({
apiKey: 'kp-ENTERYOURQUIDAPIKEYHERE',
sliderSel: 'div.txtNew',
regexMatch: '--quid-slider--',
amount: "0.25",
minAmount: "0.00",
maxAmount: "2.00",
currency: "CAD",
productID: "DONATION",
<link rel="stylesheet" href="https://js.quid.works/v1/assets/quid.css">
<script src="https://js.quid.works/v1/client.js"></script>
<style>
.quid-slider-wrapper.quid-slider-default { margin: auto; }
</style>
<html>
<head>
<link rel="stylesheet" href="https://js.quid.works/v1/assets/quid.css">
<script src="https://js.quid.works/v1/client.js"></script>
<script>
quid.autoInit({
apiKey: 'kp-ENTERYOURQUIDAPIKEYHERE',
});
</script>
</head>

Keybase proof

I hereby claim:

  • I am kmac420 on github.
  • I am kmac420 (https://keybase.io/kmac420) on keybase.
  • I have a public key whose fingerprint is AE0D 7CE4 296B 2795 E48E 204C 4184 DE99 C6A3 27FC

To claim this, I am signing this object: