git config --global user.name "Tu Nombre"
: Configura tu nombre de usuario.git config --global user.email "tu@email.com"
: Configura tu dirección de correo electrónico.
Discover gists
.editor-group-watermark > .letterpress{ | |
background-image: url("https://raw.githubusercontent.com/hiepxanh/hiepxanh/master/Angular.png") !important; | |
opacity: .75; | |
} |
# Reference: | |
# https://devblogs.microsoft.com/commandline/shell-integration-in-the-windows-terminal/ | |
param | |
( | |
[ValidateSet('WindowsTerminal', 'ITerm2')] | |
[String]$TerminalProgram = 'WindowsTerminal' | |
) | |
# Restore hooked functions in case this script is executed accidentally twice |
import crypto from "crypto"; | |
import { listAllSubscriptions } from "lemonsqueezy.ts"; | |
import { NextRequest } from "next/server"; | |
// Put this in your billing lib and just import the type instead | |
type LemonsqueezySubscription = Awaited<ReturnType<typeof listAllSubscriptions>>["data"][number]; | |
const isError = (error: unknown): error is Error => { | |
return error instanceof Error; | |
}; |
// How to add an SVG as a symbol layer's icon image: https://github.com/mapbox/mapbox-gl-js/issues/5529#issuecomment-340011876 | |
// Also see here: https://stackoverflow.com/a/11765731/2748013 (we need the data url stuff for the image src) | |
// NOTE: Importing SVGs requires an inline module loader such as https://github.com/webpack-contrib/svg-inline-loader | |
import template from './templates/marker.svg'; | |
const width = 20; | |
const height = 40; | |
const img = new Image(width, height); | |
// map is your Mapbox GL map object |
Picking the right architecture = Picking the right battles + Managing trade-offs
- Clarify and agree on the scope of the system
- User cases (description of sequences of events that, taken together, lead to a system doing something useful)
- Who is going to use it?
- How are they going to use it?
udptunnel is a small program which can tunnel UDP packets bi-directionally over a TCP connection. Its primary purpose (and original motivation) is to allow multi-media conferences to traverse a firewall which allows only outgoing TCP connections.
# udptunnel -s 443 127.0.0.1/51820
// ==UserScript== | |
// @name 知识星球视频增强 | |
// @namespace http://tampermonkey.net/ | |
// @version 2024-04-21 | |
// @description 知识星球视频,通过键盘控制: 前进 后退 暂停 开始 全屏 | |
// @author ohownew | |
// @match https://wx.zsxq.com/* | |
// @icon https://www.google.com/s2/favicons?sz=64&domain=zsxq.com | |
// @grant none | |
// ==/UserScript== |
項目番号: SCP-OJI-CHAT
オブジェクトクラス: Safe
特別収容プロトコル: SCP-OJI-CHATは、財団所有の非接続コンピュータ上で保管されます。このソフトウェアの使用は、研究および検証目的に限定され、公式の財団コミュニケーションでの使用は禁止されています。SCP-OJI-CHATを使用する際は、権限を持つ研究者の監督下で行う必要があります。
説明: SCP-OJI-CHATは、「おじさん構文」と呼ばれる特徴的な文章を生成するソフトウェアです。このソフトウェアは、一般的な日本語の文法や慣用句に基づいて、独特な口調や文体で文章を作成します。生成される文章は、中年男性の親しみやすい口調や文体で、しばしば語尾に長音記号や絵文字が使用されることが特徴です。SCP-OJI-CHATは、特定の年齢層や文化背景に関連する表現を適切に使用し、受け手に独特な印象を与えます。
SCP-OJI-CHATは、感情や状況に応じた文章のバリエーションを生成する能力を持っています。これにより、ユーザーが与えられたシチュエーションに適した「おじさん構文」の文章を得ることができます。ただし、SCP-OJI-CHATはあくまでソフトウェアであり、自律的な意識や意志を持たないため、オブジェクトクラスSafeに分類されています。