Skip to content

Instantly share code, notes, and snippets.

View acomagu's full-sized avatar

Yuki Ito acomagu

  • The Designium, Inc.
  • Musashimurayama-shi, Tokyo, JAPAN
  • X @acomagu_u
View GitHub Profile
@kepano
kepano / obsidian-web-clipper.js
Last active June 21, 2025 01:04
Obsidian Web Clipper Bookmarklet to save articles and pages from the web (for Safari, Chrome, Firefox, and mobile browsers)
javascript: Promise.all([import('https://unpkg.com/[email protected]?module'), import('https://unpkg.com/@tehshrike/[email protected]'), ]).then(async ([{
default: Turndown
}, {
default: Readability
}]) => {
/* Optional vault name */
const vault = "";
/* Optional folder name such as "Clippings/" */
@foriequal0
foriequal0 / StableNameStack.ts
Last active November 21, 2024 07:59
CDK StableNameStack
import { CfnElement, CfnResource, Stack } from "@aws-cdk/core";
import { makeUniqueId } from "@aws-cdk/core/lib/private/uniqueid";
import { Node } from "constructs";
import * as assert from "assert";
const PINNED_RESOURCE_NAMES_CONTEXT_KEY = "pinnedLogicalIds";
type PinnedLogicalIds = { [segment: string]: PinnedLogicalIds | string };
export class StableNameStack extends Stack {
@pastleo
pastleo / nm_l2tp_ipsec_vpn.md
Last active February 14, 2025 08:44
setup L2TP IPSEC VPN in archlinux using NetworkManager