title | template |
---|---|
Cool document |
coolPage.ori |
This document is so cool that it specifies its own template.
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width, initial-scale=1" /> | |
<link rel="stylesheet" type="text/css" href="/assets/styles.css" /> | |
<link rel="alternate" type="application/rss+xml" title="Dispatches from off the grid" href="feed.xml"> | |
<link rel="alternate" type="application/json" title="Dispatches from off the grid" href="feed.json"> | |
<title>Solitude</title> | |
</head> |
(text) => `<p>${ text }</p>` |
title | template |
---|---|
Cool document |
coolPage.ori |
This document is so cool that it specifies its own template.
# Enable the RewriteEngine | |
RewriteEngine On | |
# Match requests for .keys.json at any directory level, including the root | |
RewriteRule ^(.*)/?\.keys\.json$ /keys.php?dir=$1 [L] |
This is the Read Me file.
export default function greet(name: string) { | |
return `Hello, ${name}!`; | |
} |
{ | |
// Use IntelliSense to learn about possible attributes. | |
// Hover to view descriptions of existing attributes. | |
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387 | |
"version": "0.2.0", | |
"configurations": [ | |
{ | |
// This configuration tells VS Code to launch the project via `npm start`. | |
"type": "node", | |
"request": "launch", |
import fs from "node:fs/promises"; | |
// Create a 1MB string value to a file | |
const string = "a".repeat(1000000); | |
const startValue = performance.mark("string"); | |
await fs.writeFile("1MB.txt", string); | |
const measureValue = performance.measure("write string value", startValue); | |
console.log(`${measureValue.name}: ${measureValue.duration}ms`); | |
// Write the string as a String object |
a | |
able | |
about | |
above | |
accept | |
across | |
act | |
actually | |
add | |
admit |
<html lang="en"> | |
<head> | |
<meta charset="utf-8" /> | |
<meta name="viewport" content="width=device-width,initial-scale=1" /> | |
<title>Reviews</title> | |
<link rel="stylesheet" href="main.css" /> | |
</head> | |
<body> | |
<h1>Reviews</h1> | |
<div class="cards"> |