$ deno sandbox new --expose-http 18789 --memory 3gb --ssh
Created sandbox with id 'sbx_ord_f02azv7t0x7tjxz4y51n'
Exposed port 18789 to https://1ef0cf0c631d49b9b5ad1300ec939252.sandbox.deno.net
ssh 1531786bd2d9b9c96f56095a0f7e2dcd@ssh.deno.net
__ ╭─────────────────────────────────────╮
/ᵔ_) < Welcome to Deno Sandbox │
.-----/ / │ Sandbox sbx_ord_f02azv7t0x7tjxz4y51n│
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/bash | |
| set -e | |
| rm -rf gen_temp gen | |
| mkdir -p gen_temp | |
| gh run download 21040538462 -p "src_binding_*.rs" -D gen_temp | |
| mkdir -p gen | |
| for dir in gen_temp/*/; do |
sh <(curl -L https://nixos.org/nix/install)
mkdir -p ~/.config/nix
cat <<EOF > ~/.config/nix/nix.conf
experimental-features = nix-command flakes
EOF
cd ~/.config/nix
nix flake init -t nix-darwin
nix run nix-darwin -- switch --flake .
Migrate from ring to aws_lc_rs
rg -l 'ring::' --glob '*.rs' | xargs -I{} perl -pi -e 's/\bring::/aws_lc_rs::/g' {}
rg -l --fixed-strings 'ring.workspace' --glob '*.toml' \
| xargs -I{} perl -pi -e 's/\bring\.workspace\b/aws-lc-rs.workspace/g' {}
Icons in PE are very sensitive to resource table ordering. Here's what works:
We can't use editpe's builtin set_icon because it lays out Icon and Icon Group together before/after the RCData. Instead, we
need a custom implementation that places RCData between the icon entries. This means we defer Icon Group to always happen during PortableExecutable::build.
After the fix:
Setup:
yay -S python311
cd ~/gh/deno/
python3.11 -m venv pyenv
sudo su
source pyenv/bin/activate
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
| diff --git a/lib.rs b/lib.rs | |
| index aa9c0fd..0742832 100644 | |
| --- a/lib.rs | |
| +++ b/lib.rs | |
| @@ -623,6 +623,29 @@ impl Macho { | |
| writer.write_all(self.linkedit_cmd.as_bytes())?; | |
| continue; | |
| } | |
| + | |
| + // Update the static in the __SUI_INTERNAL,__START segment to the address of the |
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
| From f498f86cecc69cf82cb316452f33505204c2df5a Mon Sep 17 00:00:00 2001 | |
| From: Divy Srivastava <dj.srivastava23@gmail.com> | |
| Date: Fri, 8 Mar 2024 06:16:46 +0000 | |
| Subject: [PATCH] Fix Interceptor being reset by LookupIterator changes | |
| --- | |
| src/objects/js-objects.cc | 48 ++++++++++++--------------------------- | |
| 1 file changed, 14 insertions(+), 34 deletions(-) | |
| diff --git a/src/objects/js-objects.cc b/src/objects/js-objects.cc |
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
| diff --git a/include/v8-fast-api-calls.h b/include/v8-fast-api-calls.h | |
| index 6ef950c10f..c2f436f7cc 100644 | |
| --- a/include/v8-fast-api-calls.h | |
| +++ b/include/v8-fast-api-calls.h | |
| @@ -258,6 +258,7 @@ class CTypeInfo { | |
| // actual type. It's currently used by the arm64 simulator | |
| // and can be added to the other simulators as well when fast | |
| // calls having both GP and FP params need to be supported. | |
| + kUint8, | |
| }; |
NewerOlder