$ git fetch origin <sha>
Make sure the staging area is how you want the commit to be
$ git write-tree
const express = require("express"); | |
const multer = require("multer"); | |
const upload = multer({"dest": "./mult"}); | |
const app = express(); | |
app.get("/", indexHandler); | |
app.post("/save", upload.single("fileField"), saveHandler); |
type Optional<T, K extends keyof T = keyof T> = Omit<T, K> & Partial<Pick<T, K>>; | |
type AllOrNothing<T> = T | Partial<Record<keyof T, never>>; | |
type OnlyOne<T> = { | |
[K in keyof T]: ( | |
Required<Pick<T, K>> & Partial<Record<Exclude<keyof T, K>, never>> | |
) | |
}[keyof T]; | |
type Test = { |
type URLSearchParamsInit = ConstructorParameters<typeof URLSearchParams>[0]; | |
type ApiFormatMap = { | |
arrayBuffer: ArrayBuffer; | |
text: string; | |
json: object; | |
formData: FormData; | |
blob: Blob; | |
stream: ReadableStream<Uint8Array>; | |
response: Response; | |
}; |
const http = require('http') | |
const crypto = require('crypto') | |
const server = http.createServer((req, res) => { | |
console.log('got request', req.url) | |
res.writeHead(200, { 'Content-Type': 'text/plain' }) | |
res.end('okay') | |
}) | |
server.on('upgrade', function (req, socket) { |
alias Counter r0 | |
alias CurrentValue r1 | |
alias KnownHighest r2 | |
alias KnownHighestValue r3 | |
alias Housing db | |
s Housing Setting -1 | |
reset: | |
move Counter 0 |