Skip to content

Instantly share code, notes, and snippets.

View alechash's full-sized avatar
📷
photography

Alec Wilson alechash

📷
photography
View GitHub Profile
@alechash
alechash / AM4.js
Created September 7, 2021 21:11
a javascript snippet to automatically run your AM4 game
const fetch = require('node-fetch');
const jsdom = require("jsdom");
const {
JSDOM
} = jsdom;
//
// Twilio settings.
// These are used to send texts.
// You can find these credentials on your Twilio account.

Keybase proof

I hereby claim:

  • I am alechash on github.
  • I am alechash (https://keybase.io/alechash) on keybase.
  • I have a public key ASDtnqTGau_A5LCRTCwS6u6QAOzbTHAL5NeQCm4ynNTLVgo

To claim this, I am signing this object:

@alechash
alechash / functions.js
Created March 24, 2021 15:36
Medium.com
function randomNumber() {
const randomNumber = Math.random();
return randomNumber;
};
@alechash
alechash / index.html
Created March 13, 2021 22:40
javascript enabled navigator share
<style>
.hidden {
display: none;
}
</style>
<button id="_share" class="hidden">share</button>
<script>
if (navigator.share) {