Skip to content

Instantly share code, notes, and snippets.

View redsuperbat's full-sized avatar
💬
I'm the Proompter

Max Netterberg redsuperbat

💬
I'm the Proompter
View GitHub Profile
--- locals/bad/[Content_Types].xml
+++ locals/good/[Content_Types].xml
@@ -1,12 +1,22 @@
<?xml version=\'1.0\' encoding=\'UTF-8\' standalone=\'yes\'?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
- <Default Extension="jpg" ContentType="image/jpeg"/>
+ <Default Extension="bmp" ContentType="image/bmp"/>
@redsuperbat
redsuperbat / gist:8b2b43feb922d4e014abe6ca6501caad
Created November 4, 2023 16:57
diff between good and bad powerpoint
b'--- locals/bad/[Content_Types].xml
+++ locals/good/[Content_Types].xml
@@ -1,7 +1,15 @@
<?xml version=\'1.0\' encoding=\'UTF-8\' standalone=\'yes\'?>
<Types xmlns="http://schemas.openxmlformats.org/package/2006/content-types">
+ <Default Extension="bmp" ContentType="image/bmp"/>
+ <Default Extension="gif" ContentType="image/gif"/>
import esbuild from "esbuild";
/**
* @type {import("esbuild").Plugin}
*/
const nativeNodeModulesPlugin = {
name: "native-node-modules",
setup(build) {
// If a ".node" file is imported within a module in the "file" namespace, resolve
// it to an absolute path and put it into the "node-file" virtual namespace.
version: '3'
services:
helloWorld:
image: hello-world:latest