Skip to content

Instantly share code, notes, and snippets.

View Urie96's full-sized avatar

Urie Urie96

View GitHub Profile
@Urie96
Urie96 / interval.html
Created April 26, 2026 11:43
给我爸做的一个定时提醒页面
<!doctype html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>间隔计时器</title>
<link rel="stylesheet" href="style.css" />
</head>
<style>
/* 基础样式重置 */
@Urie96
Urie96 / nginx-sso.html
Last active April 26, 2026 11:29
nginx-sso 更现代的模板页面
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no">
<title>{{ login.Title }}</title>
<link rel="preconnect" href="https://fonts.googleapis.com">
<link rel="preconnect" href="https://fonts.gstatic.com" crossorigin>
<link href="https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap" rel="stylesheet">
@Urie96
Urie96 / alpine-kexec-ssh.sh
Created April 24, 2026 17:21
Linux内核kexec启动无盘alpine并自动启动openssh服务
#!/bin/sh
set -eu
# ===== 可调参数 =====
VER="${VER:-3.20}"
ARCH="${ARCH:-x86_64}"
WORKDIR="${WORKDIR:-/tmp/alpine-kexec}"
PUBKEY="ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAILngYCsNBe3TMnnpOaxTnVoOCsJq1hq+ge5pYARiNWCC lubui.com@gmail.com"
CONSOLE_ARGS="${CONSOLE_ARGS:-console=ttyS0,115200 console=tty0}"
EXECUTE_KEXEC="${EXECUTE_KEXEC:-1}"