Skip to content

Instantly share code, notes, and snippets.

View pleaseshutup's full-sized avatar

pleaseshutup

  • Orange County, California
View GitHub Profile
@pleaseshutup
pleaseshutup / proton-webauth.html
Created December 1, 2022 21:38
Proton webauth simple example static html
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>Connect your Proton account to LunarCrush using WebAuth.com</title>
<link rel="shortcut icon" href="https://lunarcrush.com/apple-touch-icon.png" />
<script src="https://unpkg.com/@proton/web-sdk@4.2.4/dist/bundle.js"></script>
</head>
<body style="background-color: #0a0d0d; padding: 16px; color: #f5fafa; text-align: center; font-family: faktnormal">
<div style="display: inline-block; max-width: 400px">

Keybase proof

I hereby claim:

  • I am pleaseshutup on github.
  • I am pleaseshutup (https://keybase.io/pleaseshutup) on keybase.
  • I have a public key whose fingerprint is 3829 32F4 C742 78D6 B4BB 6805 5D8A 83C1 BD08 2C62

To claim this, I am signing this object:

@pleaseshutup
pleaseshutup / getCAbundle.js
Created October 10, 2012 15:49
node.js certificate issues with https.createServer and nodejitsu's http-proxy
//Thanks to:
//http://www.benjiegillam.com/2012/06/node-dot-js-ssl-certificate-chain/
//For the code to pass a CA bundle (multiple certs in one file) as an array
//which fixes certificate errors on some browsers when doing https.createServer(options
//This is how you can fix that with nodejitsu's http-proxy when using SNI
// to have a server listening and returning multiple ssl certs