Skip to content

Instantly share code, notes, and snippets.

Keybase proof

I hereby claim:

  • I am menduz on github.
  • I am menduz (https://keybase.io/menduz) on keybase.
  • I have a public key ASAaLUmgV8Es9SZ8DahB2-9FgfNOtqGo0hUr_dicrchZoQo

To claim this, I am signing this object:

@menduz
menduz / dcl-roads.json
Created March 14, 2018 16:27
Decentraland roads
["-99,-29","-94,-29","-93,-29","-90,-29","-89,-29","-87,-29","-51,-29","-150,62","-150,61","-150,33","-150,27","-150,0","-150,-20","-50,-29","0,-29","1,-29","15,-29","16,-29","17,-29","18,-29","20,-29","21,-29","-149,-20","22,-29","23,-29","24,-29","25,-29","26,-29","27,-29","28,-29","29,-29","30,-29","33,-29","41,-29","50,-29","51,-29","150,-29","-87,-30","-51,-30","-50,-30","0,-30","1,-30","27,-30","-149,62","-149,61","-149,33","-149,27","-149,0","29,-30","30,-30","31,-30","32,-30","33,-30","34,-30","35,-30","36,-30","37,-30","38,-30","39,-30","40,-30","41,-30","42,-30","43,-30","44,-30","45,-30","46,-30","47,-30","48,-30","49,-30","-148,-70","-148,-74","-148,0","-148,-20","50,-30","51,-30","150,-30","19,-144","20,-144","21,-144","22,-144","72,-144","73,-144","150,-144","-13,-145","0,-145","1,-145","14,-145","-148,62","-148,61","-148,33","-148,27","-148,26","-148,25","-148,24","-147,-70","-87,-31","-51,-31","-50,-31","0,-31","1,-31","20,-31","21,-31","22,-31","23,-31","24,-31","25,-31","26,-31","-147,33","-

ab -n 1000 -c 100 http://localhost:9615/

@menduz
menduz / gist:01e37c992086e04fa11e3a667b9da6cb
Last active January 15, 2018 15:05 — forked from pfrazee/gist:8949363
In-Application Sandboxing with Web Workers

In-Application Sandboxing with Web Workers

A design rationale.

For the past fews years, the Web has been shifting control to the client. Given the limitations of remote services, developers are now looking for ways to "unhost" static applications – that is, break the dependency on remote servers while still using the Web platform.

One untapped technology for client-side control is the Web Worker Sandbox. This API lets the Page load, execute, and destroy separate Worker threads which use their own Virtual Machines. By using Worker Sandboxes to drive behavior, the Web can give users the choice of which software they run together, shifting development from a centralized SaaS model into a distributed and free (as in freedom) script-sharing model.

Worker Sandboxes can Execute Arbitrary Code

@menduz
menduz / cloudSettings
Last active August 6, 2019 13:27
.vscode
{"lastUpload":"2019-08-06T13:27:47.425Z","extensionVersion":"v3.4.1"}
@menduz
menduz / guide.md
Last active May 11, 2022 09:19
Frontend React + TypeScript guidelines

Directory Structure

The sources of the project follows this structure:

/src
  /app
    /{domain}
      /actions.ts
 /actions.spec.ts
@menduz
menduz / __inputs__payload.json
Created December 21, 2017 19:15
Untitled project
{
"message": "Hello world!"
}
@menduz
menduz / generator.dwl
Created December 18, 2017 17:48
blogpost-act-1
fun generator(start: Number = 0): Array<Number> = [start ~ generator(start + 1)]
---
// This script will pick 100 numbers from
// the generator, that is also being filtered
(generator(1000) filter isEven($))[0 to 99]
@menduz
menduz / __inputs__payload.json
Last active December 6, 2017 17:29
Untitled project
{
"message": "Hello world!"
}
{
"message": "Hello world!"
}