From 8a9eb90d5d541040a97be681c8a079b3f38ef471 Mon Sep 17 00:00:00 2001 From: tree Date: Fri, 16 Jun 2023 02:31:54 +0200 Subject: [PATCH] fmt --- README.md | 66 ++++++++++++++++++++++++++++++++----------------------- index.js | 32 +++++++++++++-------------- 2 files changed, 55 insertions(+), 43 deletions(-) diff --git a/README.md b/README.md index 1f1a8a3..547e200 100644 --- a/README.md +++ b/README.md @@ -5,43 +5,48 @@ |/__\|/__\|/__\|/__\| ``` - # Web3Privacy Events (w3pe) -The *Web3Privacy Events* is a regular gatherings of the people interested in privacy in the Web3 industry. -This initiative was created to complement the research and community of [Web3Privacy Now](https://web3privacy.info). +The _Web3Privacy Events_ is a regular gatherings of the people interested in +privacy in the Web3 industry. This initiative was created to complement the +research and community of [Web3Privacy Now](https://web3privacy.info). Calendar with all events and links: -* [lu.ma/web3privacy](https://lu.ma/web3privacy) + +- [lu.ma/web3privacy](https://lu.ma/web3privacy) ## Concepts -* **Summit** (w3ps) - a day-long gathering (or longer) -* **Meetup** (w3pm) - shorter gatherings for a few hours + +- **Summit** (w3ps) - a day-long gathering (or longer) +- **Meetup** (w3pm) - shorter gatherings for a few hours ## List of events + (in chronologic order) ### Summits -| # id | date | location | 👥 | coincidence | dri | -| --- | --- | --- | --- | --- | --- | -| [#1](https://prague.web3privacy.info/) → [`w3ps1`](https://github.com/web3privacy/w3ps1) | 2023-06-05 | 🇨🇿 Prague | 300 | [PBW](https://prgblockweek.com/) w/ [ETHPrague](https://ethprague.com/) | Tree | -| #2 → `w3ps2` | 2023-11-02 | 🇨🇿 Brno | 250 | [ETHBrno×3](https://ethbrno.cz/) | Tree | -| TBD | *2024/Q1* | *🇪🇸 Barcelona* ||| Tree | -| TBD | *2024-06-??* | *🇨🇿 Prague* || [PBW](https://prgblockweek.com/) | Tree | -| TBD | *2024/Q3* | *🇺🇦 Kyiv* || [Kyiv Tech Summit](https://www.kyivtechsummit.com/) (?) || -| TBD | *2024/Q4* | *🇨🇿 Brno* || [ETHBrno IV](https://ethbrno.cz/) || + +| # id | date | location | 👥 | coincidence | dri | +| ---------------------------------------------------------------------------------------- | ------------ | -------------- | --- | ----------------------------------------------------------------------- | ---- | +| [#1](https://prague.web3privacy.info/) → [`w3ps1`](https://github.com/web3privacy/w3ps1) | 2023-06-05 | 🇨🇿 Prague | 300 | [PBW](https://prgblockweek.com/) w/ [ETHPrague](https://ethprague.com/) | Tree | +| #2 → `w3ps2` | 2023-11-02 | 🇨🇿 Brno | 250 | [ETHBrno×3](https://ethbrno.cz/) | Tree | +| TBD | _2024/Q1_ | _🇪🇸 Barcelona_ | | | Tree | +| TBD | _2024-06-??_ | _🇨🇿 Prague_ | | [PBW](https://prgblockweek.com/) | Tree | +| TBD | _2024/Q3_ | _🇺🇦 Kyiv_ | | [Kyiv Tech Summit](https://www.kyivtechsummit.com/) (?) | | +| TBD | _2024/Q4_ | _🇨🇿 Brno_ | | [ETHBrno IV](https://ethbrno.cz/) | | ### Meetups -| # id | date | location | 👥 | coincidence | dri | -| --- | --- | --- | --- | --- | --- | -| `bcn-1` | 2023-07-?? | 🇪🇸 Barcelona | 50 | | Tree | -| `par-1` | 2023-07-?? | 🇫🇷 Paris || [EthCC 6](https://www.ethcc.io/) | ? | -| `waw-1` | 2023-08-?? | 🇵🇱 Warsaw || [ETHwarsaw](https://www.ethwarsaw.dev/) | Tree | -| `ber-1` | *2023-09-??* | *🇩🇪 Berlin* || [BBW](https://ethrome.org/) w/ [Protocol Berg](https://protocol.berlin/) | Tree | -| `rom-1` | *2023-10-??* | *🇮🇹 Rome* || [ETHRome](https://ethrome.org/) | PG | -| `ist-1` | *2023-11-??* | *🇹🇷 Istanbul* || [Devconnect Istanbul](https://devconnect.org/) | Tree | -| `ams-1` | *2024/Q2* | *🇳🇱 Amsterdam* || [ETHDam 2024](https://www.ethdam.com/) || -| `ber-2` | *2024-05-??* | *🇩🇪 Berlin* || [BBW](https://blockchainweek.berlin/) w/ [ETHBerlin5](https://ethberlin.ooo/) || + +| # id | date | location | 👥 | coincidence | dri | +| ------- | ------------ | -------------- | -- | ----------------------------------------------------------------------------- | ---- | +| `bcn-1` | 2023-07-?? | 🇪🇸 Barcelona | 50 | | Tree | +| `par-1` | 2023-07-?? | 🇫🇷 Paris | | [EthCC 6](https://www.ethcc.io/) | ? | +| `waw-1` | 2023-08-?? | 🇵🇱 Warsaw | | [ETHwarsaw](https://www.ethwarsaw.dev/) | Tree | +| `ber-1` | _2023-09-??_ | _🇩🇪 Berlin_ | | [BBW](https://ethrome.org/) w/ [Protocol Berg](https://protocol.berlin/) | Tree | +| `rom-1` | _2023-10-??_ | _🇮🇹 Rome_ | | [ETHRome](https://ethrome.org/) | PG | +| `ist-1` | _2023-11-??_ | _🇹🇷 Istanbul_ | | [Devconnect Istanbul](https://devconnect.org/) | Tree | +| `ams-1` | _2024/Q2_ | _🇳🇱 Amsterdam_ | | [ETHDam 2024](https://www.ethdam.com/) | | +| `ber-2` | _2024-05-??_ | _🇩🇪 Berlin_ | | [BBW](https://blockchainweek.berlin/) w/ [ETHBerlin5](https://ethberlin.ooo/) | | ## Events maintaners @@ -50,14 +55,21 @@ Calendar with all events and links: ## About Web3Privacy Now -Web3privacy now is a research project aimed at building a culture of privacy industry in web3: the most extensive database of privacy-enhancing solutions, the framework for PEDApps ideation, use-cases database & many more. +Web3privacy now is a research project aimed at building a culture of privacy +industry in web3: the most extensive database of privacy-enhancing solutions, +the framework for PEDApps ideation, use-cases database & many more. + - Website: [web3privacy.info](http://web3privacy.info/) ### Follow us + - Twitter: [@web3privacy](http://twitter.com/web3privacy) -- Bluesky: [@web3privacy.info](https://staging.bsky.app/profile/web3privacy.info) +- Bluesky: + [@web3privacy.info](https://staging.bsky.app/profile/web3privacy.info) - Events: [lu.ma/web3privacy](https://lu.ma/web3privacy) ### Join our community -- Matrix (space): [#web3privacy:gwei.cz](https://matrix.to/#/#web3privacy:gwei.cz) + +- Matrix (space): + [#web3privacy:gwei.cz](https://matrix.to/#/#web3privacy:gwei.cz) - Signal (chat): [chat.web3privacy.info](https://chat.web3privacy.info/) diff --git a/index.js b/index.js index 3d9441e..de58d80 100644 --- a/index.js +++ b/index.js @@ -3,7 +3,7 @@ import addFormats from "npm:ajv-formats@2.1.1"; import { load as yamlLoad } from "https://deno.land/x/js_yaml_port@3.14.0/js-yaml.js"; import { emptyDir } from "https://deno.land/std@0.173.0/fs/mod.ts"; -const types = [ "summits", "meetups" ] +const types = ["summits", "meetups"]; async function _loadYaml(fn) { return yamlLoad(await Deno.readTextFile(fn)); @@ -14,27 +14,27 @@ async function test() { addFormats(ajv); const schema = await _loadYaml("./schema.yaml"); const validator = ajv.compile(schema); - + for (const type of types) { Deno.test(`Check schema: ${type}`, async () => { - const list = await _loadYaml(`./events/${type}.yaml`); - if (!validator(list)) { - throw validator.errors; - } - }) + const list = await _loadYaml(`./events/${type}.yaml`); + if (!validator(list)) { + throw validator.errors; + } + }); } } async function build() { - const output = {} - for (const type of types) { - const list = await _loadYaml(`./events/${type}.yaml`); - output[type] = list - } - await emptyDir("./dist") - const fn = "./dist/index.json" - await Deno.writeTextFile(fn, JSON.stringify(output, null, 2)) - console.log(`File saved: `) + const output = {}; + for (const type of types) { + const list = await _loadYaml(`./events/${type}.yaml`); + output[type] = list; + } + await emptyDir("./dist"); + const fn = "./dist/index.json"; + await Deno.writeTextFile(fn, JSON.stringify(output, null, 2)); + console.log(`File saved: `); } switch (Deno.args[0] || "test") {