I hereby claim:
- I am entropitor on github.
- I am entropitor (https://keybase.io/entropitor) on keybase.
- I have a public key ASC1g7JjRIQbFR6uY1mozUi8sqxEi6w3SmywtO5Kai9ynAo
To claim this, I am signing this object:
| import { parseArgs } from "jsr:@std/cli/parse-args"; | |
| import { copy, expandGlob, ensureDir, exists } from "jsr:@std/fs"; | |
| import { join } from "jsr:@std/path"; | |
| const { | |
| "releases-dir": releasesDir, | |
| "registry-dir": registryDir, | |
| "gpg-armor-file": gpgArmorFileName, | |
| provider, | |
| } = parseArgs(Deno.args, { |
| import forge from "npm:node-forge"; | |
| const ONE_SECOND = 1000; | |
| const ONE_MINUTE = 60 * ONE_SECOND; | |
| const ONE_HOUR = 60 * ONE_MINUTE; | |
| export const generateCert = () => { | |
| const host = "localhost"; | |
| const cert = forge.pki.createCertificate(); |
| // Why do we compute types from other types? Is it practical? | |
| // | |
| // Image a function that takes a url like "/company/:companyName" and some parameters like {companyName: "DataCamp"} | |
| // and returns the url with parameters filled in like "/company/DataCamp" | |
| // | |
| // How would we type this? | |
| // A naive implementation might be like the following: | |
| // (With Record<string, string> just be any "map"/"object" with string keys and string values) | |
| const fillInUrl = (url: string, parameters: Record<string, string>): string => { |
| import fs from "fs"; | |
| const body = JSON.parse(fs.readFileSync("./dashboard.json").toString()); | |
| const renderGroupWidget = (widget) => { | |
| return `widget { | |
| group_definition { | |
| layout_type = "${widget.definition.layout_type}" | |
| title = "${widget.definition.title}" | |
| ${renderWidgets(widget.definition.widgets) |
| import React, { Component } from 'react' | |
| import { View, Text, TouchableOpacity, AppRegistry } from 'react-native' | |
| import { | |
| createSwitchNavigator, | |
| createStackNavigator, | |
| StackActions, | |
| NavigationActions, | |
| createAppContainer, | |
| } from 'react-navigation' |
I hereby claim:
To claim this, I am signing this object:
| ### Keybase proof | |
| I hereby claim: | |
| * I am caske33 on github. | |
| * I am caske33 (https://keybase.io/caske33) on keybase. | |
| * I have a public key whose fingerprint is C7F4 D6E1 1E71 93E1 E5A1 127D 9320 04D3 6CE7 311C | |
| To claim this, I am signing this object: |