flowchart TD;
A[User clicks on ad] --> B[ google.com]
B[ google.com] --250 ms--> C[ 250 ms googleadservices.com]
C[ googleadservices.com] --250 ms--> D[ clickserve.datasearch.net]
D[ clickserve.datasearch.net] --250 ms--> E[ ms ad.doubleclick.net]
E[ ms ad.doubleclick.net] --250 ms--> F[ walmart.com]
F[ 302, 2000 ms walmart.com] --2000 ms--> G[ Javascript Executes ]
G[ Javascript Executes ] --> H[ ATF Fires ]
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 getNextMoves = (x, y) => ([ | |
[x+3, y, '⇒'], | |
[x, y-3, '⇑'], | |
[x-3, y, '⇐'], | |
[x, y+3, '⇓'], | |
[x+2, y+2, '⇘'], | |
[x-2, y-2, '⇖'], | |
[x-2, y+2, '⇙'], | |
[x+2, y-2, '⇗'] |
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 TOP_GENRES = [ | |
"Drama", | |
"Comedy", | |
"Thriller", | |
"Action", | |
"Crime", | |
"Adventure", | |
"Romance", | |
"Science Fiction/Western" | |
]; |
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
FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed - JavaScript heap out of memory | |
1: 0x1041946e8 node::Abort() [.nvm/versions/node/v16.16.0/bin/node] | |
2: 0x104194870 node::errors::TryCatchScope::~TryCatchScope() [.nvm/versions/node/v16.16.0/bin/node] | |
3: 0x1042e4000 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, bool) [.nvm/versions/node/v16.16.0/bin/node] | |
4: 0x1042e3f94 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, bool) [.nvm/versions/node/v16.16.0/bin/node] | |
5: 0x1044676ac v8::internal::Heap::GarbageCollectionReasonToString(v8::internal::GarbageCollectionReason) [.nvm/versions/node/v16.16.0/bin/node] | |
6: 0x104471684 v8::internal::Heap::SetUp() [.nvm/versions/node/v16.16.0/bin/node] | |
7: 0x104443c98 v8::internal::Factory::CodeBuilder::AllocateCode(bool) [.nvm/versions/node/v16.16.0/bin/node] | |
8: 0x104443548 v8::internal::Factory::CodeBuilder::BuildInternal(bool) [.nvm/versions/node/v16.16.0/bin/node] | |
9: 0x104444154 v8::internal::Factory::CodeBuilder::Bui |
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 TOTAL_KEYWORDS_TO_TEST = Number(process.env.TOTAL_KEYWORDS_TO_TEST) || 547 | |
// 16.15.0 threshold 140 | |
// 16.6.2 threshold 147 | |
// 18.0.0 threshold 547 | |
const input = `Lorem ipsum dolor sit amet. Qui accusamus repellendus quo error doloribus et iusto enim aut exercitationem recusandae qui quia rerum non officia amet. Et molestias magnam quo natus numquam et adipisci omnis non quos laboriosam et impedit rerum. Aut dolores totam ut voluptate impedit id repellat sequi et magni sequi! Ut voluptate nihil ad doloribus rerum qui fuga reprehenderit et cupiditate tempora. Sed quibusdam esse et necessitatibus incidunt qui modi quia sit accusamus ipsum a blanditiis consequatur ad repudiandae eaque et nisi minus. Rem maiores dolor eos temporibus autem et expedita iure. Hic adipisci nisi qui dicta impedit et molestiae consequatur sed mollitia placeat et voluptas rerum? Eum sunt cumque sit perferendis molestias et porro illum in perferendis sequi est voluptas pariatur. Ea porro dolore |
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
FROM node:16-alpine3.12 | |
RUN apk add gcc gcompat strace musl-dev | |
RUN wget https://gist.githubusercontent.com/dpchamps/ff36bb8a7767f6a2d40dbbf5a4817c86/raw/45e930dddcc36e0b7bf83bffb24de3f6b47f6d8f/do-test.sh | |
CMD ["sh", "./do-test.sh"] | |
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
type Tuple<T = any> = readonly T[] | |
type Tail<T extends Tuple> = T extends readonly [any, ...infer U] ? U : [] | |
type UnpackPath<T extends any, U extends Tuple> = | |
U[0] extends undefined ? T | |
: UnpackPath< | |
T[U[0]], | |
Tail<U> | |
> |
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
Shader "NightImageEffect" | |
{ | |
Properties | |
{ | |
_MainTex ("Texture", 2D) = "white" {} | |
_NightColor ("Night Color", Color) = (1,1,1,1) | |
_Alpha ("Alpha", Range(0, 1)) = 1 | |
} | |
SubShader | |
{ |
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
it("Should preserve boundaries after the program has run", async () => { | |
const boundary = createBoundary(); | |
const handler: Handler = { | |
*[DefaultEffectHandler](_, resume) { | |
return yield resume("it works!"); | |
} | |
}; | |
function* root() { | |
yield boundary.withContext(); |
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
use std::ptr::NonNull; | |
pub type Object = Box<Block<dyn Allocation>>; | |
pub type ObjectRef<T: 'static + ?Sized + Allocation> = NonNull<Block<T>>; | |
pub trait Allocation {} | |
struct Block<T: 'static + ?Sized + Allocation>{ | |
data : T | |
} |
NewerOlder