全部 新建

user:thomas 由使用者建立的 Gists

title:mygist Gists 的標題

filename:myfile.txt Gists 的檔案名稱

extension:yml Gists 的副檔名

language:go Gists 的程式語言

topic:homelab gists with given topic

註冊

登錄


全部 新建 註冊 登錄

所有 Gists

倒序排序 創建
順序排序 創建
倒序排序 更新
順序排序 更新
anduin's Avatar

anduin / My Virtual Machine

0 喜歡
0 分支
1 檔案
最後活躍 1736139752
1 <domain xmlns:qemu="http://libvirt.org/schemas/domain/qemu/1.0" type="kvm">
2 <name>win11</name>
3 <uuid>756529ab-15aa-4223-bcee-df013e8bd3e4</uuid>
4 <metadata>
5 <libosinfo:libosinfo xmlns:libosinfo="http://libosinfo.org/xmlns/libvirt/domain/1.0">
6 <libosinfo:os id="http://microsoft.com/win/11"/>
7 </libosinfo:libosinfo>
8 </metadata>
9 <memory unit="KiB">67108864</memory>
10 <currentMemory unit="KiB">67108864</currentMemory>
anduin's Avatar

anduin / 机顶盒

0 喜歡
0 分支
2 檔案
最後活躍 1730290493
这是一个Chrome插件。安装后,在浏览器打开 CCTV 的电视直播网站时,自动将视频全屏,并支持[]键换台
1 // 函数:将视频元素设置为覆盖整个窗口
2 function makeVideoFullWindow(video) {
3 console.log('Making video full window.');
4
5 // 设置视频的样式,使其占据整个页面
6 video.style.position = 'fixed';
7 video.style.top = '0';
8 video.style.left = '0';
9 video.style.width = '100vw';
10 video.style.height = '100vh';
aimerneige's Avatar

aimerneige / ubuntu-drivers.sh

0 喜歡
0 分支
1 檔案
最後活躍 1728410811
1 ubuntu-drivers devices
2 sudo ubuntu-drivers autoinstall
aimerneige's Avatar

aimerneige / TTY Fonts

0 喜歡
0 分支
1 檔案
最後活躍 1728398875
Change the font or the font size in the TTY (console)
1 # https://askubuntu.com/questions/173220/how-do-i-change-the-font-or-the-font-size-in-the-tty-console
2
3 sudo dpkg-reconfigure console-setup
4
5 # UTF-8
6 # Combined - Latin, ...
7 # Terminus
8 # Set Font Size
aimerneige's Avatar

aimerneige / Rotate the screen in a tty

0 喜歡
0 分支
1 檔案
最後活躍 1728398632
1 # https://bbs.archlinux.org/viewtopic.php?id=94059
2
3 # monitor rotated 90 degrees clockwise
4 echo 3 > /sys/class/graphics/fbcon/rotate_all
5
6 # monitor 90 degrees counter clockwise
7 echo 1 > /sys/class/graphics/fbcon/rotate_all
aimerneige's Avatar

aimerneige / openwrt-services.md

0 喜歡
0 分支
1 檔案
最後活躍 1727518631
  • luci-app-wechatpush
  • luci-app-ddns-go
  • luci-app-frpc
  • luci-app-frps
  • luci-app-upnp
  • luci-app-qos
  • adguardhome
anduin's Avatar

anduin / apt-mirror

0 喜歡
0 分支
1 檔案
最後活躍 1727105354
1 #!/usr/bin/perl
2
3 =pod
4
5 =head1 NAME
6
7 apt-mirror - apt sources mirroring tool
8
9 =head1 SYNOPSIS
aimerneige's Avatar

aimerneige / bilibili-download.sh

0 喜歡
0 分支
1 檔案
最後活躍 1727206403
1 #!/bin/bash
2
3 user_urls=(
4 "https://space.bilibili.com/8776737/video" # 阿江君
5 "https://space.bilibili.com/20247643/video" # 拉环儿_
6 "https://space.bilibili.com/23945810/video" # 爱抽卡的白熊
7 "https://space.bilibili.com/287551041/video" # 一万根韭菜
8 "https://space.bilibili.com/15232589/video" # 白木哒哒哒
9 "https://space.bilibili.com/6768352/video" # 粥粥的奇妙冒险
10 "https://space.bilibili.com/11742550/video" # 哈米伦的弄笛者
aimerneige's Avatar

aimerneige / bilibili.py

0 喜歡
0 分支
1 檔案
最後活躍 1726944581
1 #!/usr/bin/env python3
2 # -*- encoding: utf-8 -*-
3 # Author: AimerNeige
4 # Site: https://aimerneige.com
5 # Mail: aimer.neige.soft@gmail.com
6
7 import requests
8 import subprocess
9 import json
10 import sys
aimerneige's Avatar

aimerneige / jellyfin-subtitle.md

0 喜歡
0 分支
1 檔案
最後活躍 1726594192
Jellyfin ASS 外挂中文字幕方框修复

启用外挂字幕烧录

  • Settings => Subtitles => Burn subtitles => All Complex ...

安装字体

  1. 安装通用中文字体(在容器中安装)
host $ docker exec -it <jellyfin_container_id> /bin/bash
上一頁 下一頁

由 Opengist 提供支持 ⋅ Load: 62ms⋅

繁體中文
Čeština Deutsch English Español Français Magyar Italiano 日本語 Polski Português Русский Türkçe Українська 中文 繁體中文