Skip to content

Instantly share code, notes, and snippets.

@julian007sh
julian007sh / cf-ddns.rsc
Created March 5, 2024 15:08 — forked from kolobus/cf-ddns.rsc
Mikrotik RouterOS Cloudflare Dynamic DNS Script
# Cloudflare Dynamic DNS update script
# Required policy: read, write, test, policy
# Add this script to scheduler
# Install DigiCert root CA or disable check-certificate
# Configuration ---------------------------------------------------------------------
:local TOKEN "__TOKEN__"
:local ZONEIDv6 "__ZONEID__"
:local RECORDIDv6 "__RECORDID__"
@julian007sh
julian007sh / installation.md
Created June 20, 2023 07:03 — forked from abcdefg30/installation.md
Unofficial, manual content installation for OpenRA

Manual (unrecommended) installation of the required content files for OpenRA

⚠️ This method is not recommended and should only be applied if automatic installation fails. Success of manually installing the files can not be guaranteed. ⚠️

⚠️ The automatic installation may fail for non-english content. OpenRA does not support other languages at the current stage of development and no such content should be installed. ⚠️

⚠️ Manually installing files can corrupt your game and lead to crashes. ⚠️

If you have trouble with automatic installation, please contact the developers (via IRC, our forum, the webpage comments or our issue tracker) before attempting a manual install.

@julian007sh
julian007sh / installation.md
Created June 20, 2023 07:03 — forked from abcdefg30/installation.md
Unofficial, manual content installation for OpenRA

Manual (unrecommended) installation of the required content files for OpenRA

⚠️ This method is not recommended and should only be applied if automatic installation fails. Success of manually installing the files can not be guaranteed. ⚠️

⚠️ The automatic installation may fail for non-english content. OpenRA does not support other languages at the current stage of development and no such content should be installed. ⚠️

⚠️ Manually installing files can corrupt your game and lead to crashes. ⚠️

If you have trouble with automatic installation, please contact the developers (via IRC, our forum, the webpage comments or our issue tracker) before attempting a manual install.

---
PVE delte local-lvm partition
Reference: https://post.smzdm.com/p/awkv4pq4/
lvremove pve/data
lvextend -l +100%FREE -r pve/root
Datacenter >> remove `local-lvm` partition >> edit `local` >> select all options
---
version: "2"
services:
emby:
image: linuxserver/emby
container_name: emby
environment:
- PUID=998
- PGID=100
- TZ=America/Denver
@julian007sh
julian007sh / luna_pinyin.emoji.apple.dict.yaml
Created December 30, 2016 05:56 — forked from alswl/luna_pinyin.emoji.apple.dict.yaml
emoji pinyin mapping for rime, data via MacOS(鼠须管、小狼毫、中州韵配置,将 MacOS 数据导入)PS:sierra 之后的数据格式发生变化,未更新,比如没有培根 🥓
# luna_pinyin.emoji.apple.dict.yaml by alswl
# encoding: utf-8
---
name: luna_pinyin.emoji.apple
version: "2016.12.28"
sort: by_weight
use_preset_vocabulary: true
...
<?xml version="1.0"?>
<root>
<!-- 设备定义 -->
<devicevendordef>
<vendorname>FILCO</vendorname>
<vendorid>0x0a5c</vendorid>
</devicevendordef>
<deviceproductdef>
<productname>MINILA_KEYBOARD</productname>
@julian007sh
julian007sh / 0_reuse_code.js
Last active August 29, 2015 14:15
Here are some things you can do with Gists in GistBox.
// Use Gists to store code you would like to remember later on
console.log(window); // log the "window" object to the console