Skip to content

Instantly share code, notes, and snippets.

View orl0's full-sized avatar

Roman Orlowski orl0

  • St.Petersburg, Russia
  • 13:25 (UTC +03:00)
View GitHub Profile
@orl0
orl0 / JS-by-VM_logo.svg
Last active December 1, 2020 23:06
Логотип для http://vladilen.ru
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@orl0
orl0 / joplin-add-disable-gpu-flag.patch
Created October 25, 2023 10:56
Patch to add '--disable-gpu' flag to Joplin Desktop
From 491a50b88d82dc9a775a89ddc7e26fa7527a7b16 Mon Sep 17 00:00:00 2001
From: Roman Orlowski <[email protected]>
Date: Tue, 24 Oct 2023 18:57:13 +0300
Subject: [PATCH] add '--disable-gpu' flag
---
packages/lib/BaseApplication.ts | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/packages/lib/BaseApplication.ts b/packages/lib/BaseApplication.ts
@orl0
orl0 / bun.sh
Created October 30, 2023 13:43
#!/bin/sh
if command -v bun > /dev/null 2>&1; then
if [ -p /dev/stdin ]; then
stdin_fd="$(mktemp -t XXXXXXXX.bun_stdin.ts)"
command cat - >"$stdin_fd"
command exec 0<&-
command bun "$@" "$stdin_fd"
@orl0
orl0 / javascript_engines_and_runtimes.md
Created December 23, 2023 15:34 — forked from guest271314/javascript_engines_and_runtimes.md
A list of JavaScript engines, runtimes, interpreters

V8 is Google’s open source high-performance JavaScript and WebAssembly engine, written in C++. It is used in Chrome and in Node.js, among others. It implements ECMAScript and WebAssembly, and runs on Windows 7 or later, macOS 10.12+, and Linux systems that use x64, IA-32, ARM, or MIPS processors. V8 can run standalone, or can be embedded into any C++ application.

SpiderMonkey is Mozilla’s JavaScript and WebAssembly Engine, used in Firefox, Servo and various other projects. It is written in C++, Rust and JavaScript. You can embed it into C++ and Rust projects, and it can be run as a stand-alone shell. It can also be [compiled](https://bytecodealliance.org/articles/making-javascript-run-fast-on