original idea: https://efcl.info/2023/01/31/remove-secret-from-local/
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
const http = require('http') | |
const express = require('express') | |
const app = express() | |
app.get('/', (req, res) => { | |
res.setHeader('Content-Type', 'text/html') | |
res.setHeader('Transfer-Encoding', 'chunked'); | |
res.send(`<html><body><h1>Hello World</h1> | |
<ul id="list"></ul> | |
<script> |
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
package main | |
import ( | |
"fmt" | |
"log" | |
"net/http" | |
"os" | |
) | |
func main() { |
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
#!/bin/env bash | |
exec -a "magic" magick convert "$@" |
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 {pagesPath} from './lib/$path.ts' | |
type Rule = { | |
pattern: string | |
fix: string | |
id: string | |
} | |
const rulesForLevel = (paths: any, parent: string[] = []) => { | |
let rules: Rule[] = [] |
OlderNewer