Skip to content

Instantly share code, notes, and snippets.

View FerdinandSu's full-sized avatar
🍋

Ferdinand Su FerdinandSu

🍋
View GitHub Profile
@FerdinandSu
FerdinandSu / IYamlAccessor.cs
Created December 17, 2023 11:41
A good ReadWrapper for YamlDotNet
using System.Collections;
using YamlDotNet.RepresentationModel;
namespace IYamlAccessor;
public interface IYamlAccessor : IEnumerable<IYamlAccessor>
{
public IYamlAccessor this[string key] { get; }
public IYamlAccessor this[int index] { get; }
public string Value { get; }

Author: "%(author)" Type: "%(itemType)" Date: "%(date)" Publication: "%(publicationTitle)" Categories: "%(collections)" tags:

  • "%(tags)" CiteKey: "%(citekey)" LRCtl-tags: []
@FerdinandSu
FerdinandSu / appearance.json
Created November 23, 2023 09:57
Obsidian Conf
{
"accentColor": "#73d9f2",
"theme": "system",
"interfaceFontFamily": "Segoe UI Variable Display,霞鹜新晰黑",
"monospaceFontFamily": "Cascadia Code PL",
"textFontFamily": "Cascadia Mono PL,Cascadia Mono,霞鹜文楷等宽 GB 融合,霞鹜臻楷,霞鹜新致宋 简,霞鹜新晰黑",
"baseFontSize": 20
}
@FerdinandSu
FerdinandSu / GBT-7714-2015-En-NoDOL_URL_OL.csl
Last active November 23, 2023 09:33
GBT-7714-2015-En-NoDOL_URL_OL.csl
<?xml version="1.0" encoding="utf-8"?>
<style xmlns="http://purl.org/net/xbiblio/csl" version="1.0" class="in-text" names-delimiter=". " name-as-sort-order="all" sort-separator=" " demote-non-dropping-particle="never" initialize-with=" " initialize-with-hyphen="false" page-range-format="expanded" default-locale="zh-CN">
<info>
<title>China National Standard GB/T 7714-2015 (numeric, En, No DOI\URL\OL)</title>
<id>http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric</id>
<link href="http://www.zotero.org/styles/china-national-standard-gb-t-7714-2015-numeric" rel="self"/>
<link href="http://std.samr.gov.cn/gb/search/gbDetailed?id=71F772D8055ED3A7E05397BE0A0AB82A" rel="documentation"/>
<author>
<name>牛耕田</name>
<email>buffalo_d@163.com</email>