Skip to content

Instantly share code, notes, and snippets.

View CXuesong's full-sized avatar
😼

Chen CXuesong

😼
View GitHub Profile
@CXuesong
CXuesong / test.wikitext
Last active March 20, 2021 14:10
Wikitext syntax highlighter test

}

@CXuesong
CXuesong / MLP.workbook
Last active February 11, 2020 16:58
Make a list of 2 level category items on MediaWiki site really fast
uti id title platforms packages
com.xamarin.workbook
57dd1e8a-dfa3-4ab8-9bcb-74aee12e18bf
Untitled
DotNetCore
id version
CXuesong.MW.WikiClientLibrary
0.7.0-int.9
@CXuesong
CXuesong / QueueSynchronizationContext.cs
Created November 12, 2017 05:15
QueueSynchronizationContext
using System;
using System.Collections.Generic;
using System.Runtime.ExceptionServices;
using System.Threading;
namespace NamespaceHere
{
internal class QueueSynchronizationContext : SynchronizationContext, IDisposable
{
using System;
using System.Diagnostics;
using System.IO;
using System.Linq;
using System.Reflection;
using System.Runtime.Serialization;
using System.Runtime.Serialization.Formatters;
using System.Runtime.Serialization.Formatters.Binary;
using System.Text;
@CXuesong
CXuesong / SSSS Helper.js
Last active June 23, 2017 14:19
Makes SSSS web-comic more accessible to PC users. (Plus aRTD now.) See {README}.md below for setup instructions.
// ==UserScript==
// @name SSSS Helper
// @namespace http://cxuesong.com/
// @version 0.2.0
// @updateURL https://gist.githubusercontent.com/CXuesong/27ff62fef5456dfbebd00a02b5546fa5/raw/SSSS%20Helper.js
// @homepage https://gist.github.com/CXuesong/27ff62fef5456dfbebd00a02b5546fa5#file-readme-md
// @description Makes SSSS web-comic more accessible to PC users. (Plus aRTD now.)
// @author CXuesong
// @match http://sssscomic.com/comic.php*
// @match http://www.minnasundberg.fi/comic/page*