This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Configs | |
var origConfig = { | |
p: { | |
a: 23, | |
b: 92, | |
c: { | |
num: 1 | |
} | |
}, | |
q: { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var obj = { | |
x: { | |
p: [ | |
{ | |
q: [ | |
"Foo Bar" | |
] | |
} | |
] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: go | |
api_version: go1.8 | |
basic_scaling: | |
max_instances: 1 | |
idle_timeout: 10m |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
runtime: nodejs | |
env: flex | |
manual_scaling: | |
instances: 1 | |
resources: | |
cpu: 1 | |
memory_gb: 0.5 | |
disk_size_gb: 10 |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
/** | |
* Taken From: | |
* Article: https://medium.com/@dtinth/spring-animation-in-css-2039de6e1a03 | |
* By: Thai Pangsakulyanont | |
*/ | |
function spring(t) { | |
return -0.5 * (2.71828 ** (-6 * t)) * ( | |
-2 * (2.71828 ** (6 * t)) + Math.sin(12 * t) + 2 * Math.cos(12 * t)); | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const POP_UP_URL = "/" | |
const TARGET_URL = window.location.origin | |
const TARGET_URL_REGEX = new RegExp(TARGET_URL) | |
const POP_UP_WINDOW = open(POP_UP_URL, "Pop Up Window", `scrollbars=no,resizable=no,status=no,location=no,toolbar=no,menubar=no,width=512,height=512`); | |
const onPopUpClose = () => { | |
console.log("Pop Up Closed") | |
} | |
// Watch if Pop Up closed, repeatedly, as onclose callback doesn't work for pop ups! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<div | |
data-service="youtube" | |
data-id="dQw4w9WgXcQ" | |
data-thumbnail="" | |
data-title="Totally not a Rick Roll" | |
data-iframe-loading="lazy" | |
></div> |
OlderNewer