View challenge.json
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
{ | |
"Name": "Challenge 1 Login", | |
"CreationDate": "2023-8-21", | |
"Commands": [ | |
{ | |
"Command": "open", | |
"Target": "https://developer.automationanywhere.com/challenges/AutomationAnywhereLabs-Login.html?_gl=1*11gchew*_ga*MTcxNzY5NDIwLjE2OTI2NDYwNjM.*_ga_DG1BTLENXK*MTY5MjY2MDE4Mi4yLjEuMTY5MjY2MDIyMC4yMi4wLjA.&_ga=2.245163589.1726161213.1692646063-171769420.1692646063&_fsi=biLWhpkR", | |
"Value": "", | |
"Description": "" | |
}, |
View post-processing-canvas-sketch.ts
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
import { draw, options, stop, start, bootstrap } from "canvas-recorder/gl"; | |
import { ImageShader } from "image-shader"; | |
// @ts-ignore | |
import fragment from "./fragmant.glsl"; | |
const SIZE = 1024; | |
const canvas = document.createElement( "canvas" ); | |
canvas.width = SIZE; |
View Spherical.cs
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
using UnityEngine; | |
public struct Spherical { | |
public float Radius; | |
public float Phi; | |
public float Theta; | |
Spherical( float radius = 1f, float phi = 0f, float theta = 0f ) { | |
Radius = radius; |
View Gulpfile.js
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 spawn = require( "child_process" ).spawn; | |
var server; | |
gulp.task( "gae", function() { | |
if ( server ) server.kill(); | |
server = spawn( "python", [ | |
'C:/Users/<your user>/AppData/Local/Google/Cloud SDK/google-cloud-sdk/bin/dev_appserver.py', | |
"--port", "8080", |
View append-license.js
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 path = require( "path" ); | |
const fs = require( "fs" ); | |
const license = new Buffer( `/** | |
* Copyright 2016 Google Inc. All rights reserved. | |
* | |
* Licensed under the Apache License, Version 2.0 (the "License"); | |
* you may not use this file except in compliance with the License. | |
* You may obtain a copy of the License at | |
* |
View shader-pass.js
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
import drawTriangle from "a-big-triangle"; | |
import createShader from "gl-shader"; | |
import createFBO from "gl-fbo"; | |
const vertex = [ | |
"precision mediump float;", | |
"attribute vec2 position;", | |
"void main() {", | |
" gl_Position = vec4( position, 1, 1 );", | |
"}" |
View index.js
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
// find attribute | |
export function findInParent( node, attribute, levels = Infinity ) { | |
return node.getAttribute( attribute ) || | |
( levels > 0 ? findInParent( node.parentElement, attribute, --levels ) : null ); | |
} | |
// find anything | |
export function findInParent( node, filter, levels = Infinity ) { | |
return filter( node ) || |
View index.html
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
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
html, body { | |
margin: 0; | |
padding: 0; | |
overflow: hidden; | |
} |
View tween.js
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
export function tween( time, update ) { | |
const start = Date.now(); | |
var isCanceled = false; | |
var isComplete = false; | |
var chain = []; | |
function loop() { | |
if ( isCanceled ) return; |
View package.json
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
{ | |
"name": "", | |
"version": "0.1.0", | |
"scripts": { | |
"start": "npm run all && concurrently \"npm run tsc:w\" \"npm run less:w\" \"npm run watchify\" \"npm run lite\" \"npm run pug:w\" ", | |
"all" : "npm run prep && npm run assets && tsc && npm run browserify && npm run pug", | |
"lite": "lite-server public", | |
"postinstall": "typings install", | |
"tsc": "tsc", | |
"tsc:w": "tsc -w", |
NewerOlder