Skip to content

Instantly share code, notes, and snippets.

@JoshuaMa64
JoshuaMa64 / bloodstained.cs
Created June 20, 2019 17:07
赤痕:夜之仪式 某个武器描述的解密代码
using System;
using System.Globalization;
using System.Linq;
using System.Text;
/// <summary>
/// 本程序意在对游戏 Bloodstained: Ritual of the Night 中出现的武器 Encrypted Orchid 的
/// 武器描述:
///
/// 6F20636B6E7077206772646C7A207A77
/// 6B6A207075707365756C2078726B7674
@JoshuaMa64
JoshuaMa64 / singleton.cs
Created June 14, 2019 08:48
C#标准单例模式实现
public class ClassA
{
private static ClassA _instance = null;
private static readonly object Padlock = new object();
ClassA() { }
public static ClassA Instance
{
get
@JoshuaMa64
JoshuaMa64 / FlagSpider.cs
Created May 19, 2019 15:54
findicons国旗图标抓取爬虫C#版
using HtmlAgilityPack;
using RestSharp;
using System;
using System.IO;
using System.Linq;
using System.Threading.Tasks;
namespace FlagSpider
{
class Program
@JoshuaMa64
JoshuaMa64 / .gitignore
Created July 25, 2017 02:59 — forked from michalczukm/.gitignore
WPF projects .gitignore
## Ignore Visual Studio temporary files, build results, and
## files generated by popular Visual Studio add-ons.
# User-specific files
*.suo
*.user
*.sln.docstates
# Build results
[Dd]ebug/