Fix for FOUC :
At the top of your HTML:
<!doctype html>
<html>
<head>
<style>html{visibility: hidden;opacity:0;}</style>
| // Installation & Setup | |
| // 1. Create a spreadsheet. | |
| // 2. Under Tools > Script Editor, paste this script | |
| // 3. Under Resources > Libraries, add two library dependencies: | |
| // - OAuth2: 1B7FSrk5Zi6L1rSxxTDgDEUsPzlukDsi4KGuTMorsTQHhGBzBkMun4iDF | |
| // - FirebaseApp: 1hguuh4Zx72XVC1Zldm_vTtcUUKUA6iBUOoGnJUWLfqDWx5WlOJHqYkrt | |
| // 4. Create a Firebase project and initialize the Realtime Database | |
| // 5. Fill in your project details in FIREBASE_IO_URL and SERVICE_ACCOUNT below. | |
| // 6. Under Resources > Cloud Platform Project, add your Firebase project's project number from GCP. You | |
| // can find your project number in the GCP Cloud Console here: https://console.cloud.google.com/home/dashboard?project=_ |
| --X: 0-512 | |
| --Y: 0-384 | |
| -- Type bits: (-)(-)(-)(-) (spinner)(NC)(slider)(circle) | |
| -- Circle: x,y,time,type,hitSound,extras | |
| -- Slider: x,y,time,type,hitSound,sliderType|curvePoints,repeat,pixelLength,edgeHitsounds,edgeAdditions,extras | |
| -- type = Linear Perfect Bezier Catmul |
| (function (context, trackingId, options) { | |
| const history = context.history; | |
| const doc = document; | |
| const nav = navigator || {}; | |
| const storage = localStorage; | |
| const encode = encodeURIComponent; | |
| const pushState = history.pushState; | |
| const typeException = 'exception'; | |
| const generateId = () => Math.random().toString(36); | |
| const getId = () => { |
Fix for FOUC :
At the top of your HTML:
<!doctype html>
<html>
<head>
<style>html{visibility: hidden;opacity:0;}</style>
| var apiKey = ''; | |
| var monitorUrl = ''; | |
| var originUrl = ''; | |
| function monitor() { | |
| // CRUX | |
| var allCrux = callCrux(null, originUrl); | |
| var desktopCrux = callCrux('DESKTOP', originUrl); | |
| var mobileCrux = callCrux('MOBILE', originUrl); |
Follow the instructions on Github to Create an Access Token in Github
By default, git credentials are not cached so you need to tell Git if you want to avoid having to provide them each time Github requires you to authenticate. On Mac, Git comes with an “osxkeychain” mode, which caches credentials in the secure keychain that’s attached to your system account.
You can tell Git you want to store credentials in the osxkeychain by running the following:-
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <meta charset="UTF-8" /> | |
| <title>Add React in One Minute</title> | |
| </head> | |
| <body> | |
| <h2>Add React in One Minute</h2> | |
| <p>This page demonstrates using React with no build tooling.</p> |
| return function() | |
| --[[ | |
| Basic Monster by ArceusInator | |
| Information: | |
| Configurations.MaximumDetectionDistance (default 200) | |
| The monster will not detect players past this point. If you set it to a negative number then the monster will be able to chase from any distance. | |
| Configurations.CanGiveUp (default true) |
If you're trying to do this, you came to the right place!
Watch this code work in real time: https://twitter.com/CodingDoug/status/942576182276497409
See also this gist for copying in the other direction: https://gist.github.com/CodingDoug/ffc4f050cc489a0280eb7f4cbe36af07
If you're trying to do this, you came to the right place!
Watch this code work in real time: https://twitter.com/CodingDoug/status/940022568089554944
See also this gist for copying in the other direction: https://gist.github.com/CodingDoug/44ad12f4836e79ca9fa11ba5af6955f7