I hereby claim:
- I am slashnephy on github.
- I am slashnephy (https://keybase.io/slashnephy) on keybase.
- I have a public key ASDa82R8lDIaPHAeUge6lnjP2NzENRQRJFLNXsQaSTiVpgo
To claim this, I am signing this object:
| function avg(numbers) { | |
| if (numbers.length === 0) { | |
| return 0; | |
| } | |
| const sum = numbers.reduce((accumulator, currentValue) => accumulator + currentValue, 0); | |
| return sum / numbers.length; | |
| } | |
| function bench(f, count) { |
| const CONTENT = ` | |
| User-agent: * | |
| Disallow: / | |
| `.trim() | |
| export default { | |
| async fetch(request) { | |
| const url = new URL(request.url); | |
| if (url.pathname.endsWith('/robots.txt')) { | |
| return new Response(CONTENT, { |
I hereby claim:
To claim this, I am signing this object:
| @file:Suppress("NOTHING_TO_INLINE") | |
| import blue.starry.jsonkt.JsonObject | |
| import blue.starry.jsonkt.delegation.* | |
| import blue.starry.jsonkt.parseArray | |
| import blue.starry.jsonkt.toJsonArray | |
| import kotlinx.serialization.Serializable | |
| import kotlinx.serialization.json.Json | |
| import kotlinx.serialization.json.JsonArray | |
| import kotlinx.serialization.json.decodeFromJsonElement |