Skip to content

Instantly share code, notes, and snippets.

View vrtmrz's full-sized avatar
🙂
I will go back in stages!

vorotamoroz vrtmrz

🙂
I will go back in stages!
View GitHub Profile
@vrtmrz
vrtmrz / main.js
Last active May 27, 2024 10:14
patched Self-hosted LiveSync v0.23.8 for testing ngrok
This file has been truncated, but you can view the full file.
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD AND TERSER
if you want to view the source, please visit the github repository of this plugin
*/
"use strict";
var extendStatics, __assign, __create = Object.create, __defProp = Object.defineProperty, __getOwnPropDesc = Object.getOwnPropertyDescriptor, __getOwnPropNames = Object.getOwnPropertyNames, __getProtoOf = Object.getPrototypeOf, __hasOwnProp = Object.prototype.hasOwnProperty, __defNormalProp = (_, ee, ne) => ee in _ ? __defProp(_, ee, {
enumerable: true,
configurable: true,
@vrtmrz
vrtmrz / setup-flyio-on-the-fly-v2.ipynb
Created February 7, 2024 04:07
setup-flyio-on-the-fly-v2
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vrtmrz
vrtmrz / deploy_couchdb_to_flyio_v2_with_swap.ipynb
Last active February 7, 2024 10:19
deploy_couchdb_to_flyio_v2_with_swap.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vrtmrz
vrtmrz / tf-hack-prioritize-active.css
Last active October 6, 2023 10:31
TagFolder hack CSS for prioritize active files
[data-type=tagfolder-link-view] .tree-item-children.nav-folder-children {
display: flex;
flex-direction: column;
}
[data-type=tagfolder-link-view] .tree-item.nav-folder {
order: -2;
}
[data-type=tagfolder-link-view] .tree-item.nav-folder:has(.is-active) {
@vrtmrz
vrtmrz / typography-ja-mod.css
Created September 21, 2023 08:52
Obsidianの日本語の微調整CSS
:root {
--default-font: -apple-system, BlinkMacSystemFont, Segoe UI, Helvetica, Arial, sans-serif, Apple Color Emoji, Segoe UI Emoji;
--editor-font: ui-monospace, SFMono-Regular, SF Mono, Menlo, Consolas, Liberation Mono, monospace;
/* --override-font: "BIZ UDゴシック"; */
/* --override-font: "HackGen35"; */
/* --override-font: "BIZ UDPゴシック"; */
/* --override-font: "Yu Gothic"; */
}
.cm-content {
@vrtmrz
vrtmrz / deploy-livesync-subscribe-publish-kit-to-flyio.ipynb
Last active September 19, 2023 01:54
deploy-livesync-subscribe-publish-kit-to-flyio.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vrtmrz
vrtmrz / encrypt.ts
Created August 22, 2023 02:49
Create a setup URI from environment values
import { webcrypto } from "node:crypto";
const KEY_RECYCLE_COUNT = 100;
type KeyBuffer = {
key: CryptoKey;
salt: Uint8Array;
count: number;
};
let semiStaticFieldBuffer: Uint8Array;
@vrtmrz
vrtmrz / main.js
Created August 10, 2023 06:50
LinkFolder - Patched TagFolder(0.15.24)
/*
THIS IS A GENERATED/BUNDLED FILE BY ESBUILD
if you want to view the source, please visit the github repository of this plugin
*/
"use strict";
var __defProp = Object.defineProperty;
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
var __getOwnPropNames = Object.getOwnPropertyNames;
var __hasOwnProp = Object.prototype.hasOwnProperty;
@vrtmrz
vrtmrz / deploy_couchdb_to_flyio_v2_with_swap.ipynb
Last active February 7, 2024 10:19
deploy_couchdb_to_flyio_v2_with_swap.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vrtmrz
vrtmrz / deploy_couchdb_to_flyio_v2.ipynb
Last active February 7, 2024 10:20
deploy_couchdb_to_flyio_v2.ipynb
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.