Skip to content

Instantly share code, notes, and snippets.

View spkjp's full-sized avatar
💭
o҉̶͑̾̾r̽̾̈́͒͑C̷̶̙̲̝͖ͭ̏ͥͮ͑̾̾͟r̽̾̈́͒͑​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̍ͫͥͨo҉̶͑̾̾r̽̾̈́͒͑C

スパイク spkjp

💭
o҉̶͑̾̾r̽̾̈́͒͑C̷̶̙̲̝͖ͭ̏ͥͮ͑̾̾͟r̽̾̈́͒͑​*̶͑̾̾​̅ͫ͏̙̤g͇̫͛͆̾ͫ̑͆l͖͉̗̩̳̍ͫͥͨo҉̶͑̾̾r̽̾̈́͒͑C
View GitHub Profile
@spkjp
spkjp / @aws-cdk+aws-s3-deployment+1.113.0.patch
Created July 20, 2021 11:02
AWS S3 Deployment Cloudfront WASM MIME type fix
diff --git a/node_modules/@aws-cdk/aws-s3-deployment/lib/lambda/index.py b/node_modules/@aws-cdk/aws-s3-deployment/lib/lambda/index.py
index 3935e31..78c4dc3 100644
--- a/node_modules/@aws-cdk/aws-s3-deployment/lib/lambda/index.py
+++ b/node_modules/@aws-cdk/aws-s3-deployment/lib/lambda/index.py
@@ -134,7 +134,7 @@ def s3_deploy(s3_source_zips, s3_dest, user_metadata, system_metadata, prune):
# sync from "contents" to destination
- s3_command = ["s3", "sync"]
+ s3_command = ["s3", "sync", "--exclude=*.wasm"]
@spkjp
spkjp / launch.json
Last active June 21, 2018 15:20
Ark Relay - launch.json
{
"version": "0.2.0",
"configurations": [
{
"type": "node",
"request": "launch",
"name": "Ark Relay",
"program": "${workspaceFolder}/packages/core/bin/ark",
"args": ["relay", "--config", "./lib/config/devnet", "--network", "devnet"],
"protocol": "inspector",