Link is https://colab.research.google.com/drive/1QDZgdGkOzs6dP74-iEDTDee2B02Admdt#scrollTo=t1L3kVvFijwz
This file contains hidden or 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 { Reaction, untracked } from 'mobx' | |
| import { enableExternalSource } from 'solid-js' | |
| let id = 0 | |
| enableExternalSource((fn, trigger) => { | |
| const reaction = new Reaction(`externalSource@${++id}`, trigger) | |
| return { | |
| track: x => { | |
| let next |
This file contains hidden or 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
| // ==UserScript== | |
| // @name ChatGPT save to Markdown button | |
| // @author spion, avosirenfal | |
| // @description Adds an export button for exporting the doc to markdown | |
| // @namespace chatgpt | |
| // @version 1.0.0 | |
| // @match https://chat.openai.com/* | |
| // @grant none | |
| // @run-at document-start | |
| // ==/UserScript== |
This file contains hidden or 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
| version: '3.6' | |
| services: | |
| keycloak_one: | |
| image: quay.io/keycloak/keycloak:16.1 | |
| volumes: | |
| - keycloak_one_data:/opt/keycloak/data | |
| command: start-dev | |
| ports: | |
| - 8081:8080 | |
| environment: |
This file contains hidden or 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 { ApiObject, GroupVersionKind, Include } from "cdk8s"; | |
| import { Construct } from "constructs"; | |
| import * as immer from "immer"; | |
| import * as fs from "fs"; | |
| type UnReadonly<T> = T extends string | number | boolean | null | |
| ? T | |
| : T extends ReadonlyArray<infer U> | |
| ? Array<UnReadonly<U>> | |
| : { -readonly [K in keyof T]: UnReadonly<T[K]> }; |
This file contains hidden or 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 * as L from "lodash"; | |
| const files = ` | |
| 109 CLI/CLIClass.ts | |
| 67 CLI/index.ts | |
| 3 index.ts | |
| 45 Models/DisplayMap.ts | |
| 1 Models/Environment.ts | |
| 6 Models/index.ts | |
| 5 Models/Options.ts |
This file contains hidden or 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
| let Read = {}; | |
| let End = {}; | |
| function* lexer() { | |
| let accumulatedChars = []; | |
| while (true) { | |
| let inp = yield Read; | |
| if (inp === End) { | |
| if (accumulatedChars.length > 0) yield accumulatedChars.join(''); | |
| return; |
This file contains hidden or 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
| function inRange(a: number, min: number, max: number) { | |
| return min <= a && a <= max; | |
| } | |
| class UTF8Encoder { | |
| bytes = new Uint8Array(4).fill(0) | |
| len = 0; | |
| toBytes(codePoint: number):void { |
This file contains hidden or 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
| diff --git a/frameworks/JavaScript/express/express-postgres.dockerfile b/frameworks/JavaScript/express/express-postgres.dockerfile | |
| index f2907bd02..9b2196082 100644 | |
| --- a/frameworks/JavaScript/express/express-postgres.dockerfile | |
| +++ b/frameworks/JavaScript/express/express-postgres.dockerfile | |
| @@ -1,9 +1,9 @@ | |
| FROM node:12.3.1-slim | |
| -COPY ./ ./ | |
| - | |
| +COPY package.json ./ |
NewerOlder