Skip to content

Instantly share code, notes, and snippets.

View orange-in-space's full-sized avatar
💭
🍊

orange orange-in-space

💭
🍊
View GitHub Profile
@orange-in-space
orange-in-space / RustResultTE_modoki.cs
Created October 15, 2018 05:38
RustのResult<T, E>のエラーハンドリングっぽいことをC# で出来ないのかなって思って作ったやつ><;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace CsRustResultModoki_orange
{
//
// Rust Result<T, E> in C# ?
@orange-in-space
orange-in-space / SimpleSendKeys.cpp
Last active September 18, 2018 03:05
minimal send key input app for windows(lazy)(キー入力を送るだけのやつ>< Windows用手抜き)
// SimpleSendKeys.cpp
//
// (c) orange_in_space, 2018
// Licence: CC0
//
// HowToUse:
// SimpleSendKeys.exe VK_keycode(in Hex)
//
// Build:
// VC++2017 "/SUBSYSTEM:WINDOWS"
@orange-in-space
orange-in-space / SpotifyDesktopClientSongTitleSniffer.cs
Last active May 18, 2021 21:12
Spotify Windows Desktop Client Song Title Sniffer Library!>< (SpotifyのWindowsデスクトップ版のウィンドウタイトルから曲名とか取得するライブラリ><(フックして変化受け取る方式))
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.Linq;
using System.Runtime.InteropServices;
using System.Text;
namespace Orange.SpotifyTools
{