Skip to content

Instantly share code, notes, and snippets.

View ArcanoxDragon's full-sized avatar

Arcanox ArcanoxDragon

View GitHub Profile
@ArcanoxDragon
ArcanoxDragon / README.md
Last active January 15, 2022 21:06
Switch Emulator Pro Controller Turbo

Requirements

  • FreePIE (multipurpose input scripting engine)
  • vJoy (virtual joystick device that can be scripted)
  • A Switch Pro Controller
  • A PC with Bluetooth

Instructions:

  • Install the required programs from above
@ArcanoxDragon
ArcanoxDragon / Project.csproj
Created September 7, 2021 18:00
MSBuild Automatic Sub-File Nesting
<Project Sdk="Microsoft.NET.Sdk">
<ItemGroup>
<NestedItem Include="@(Compile)">
<Parent>%(Identity)</Parent>
<Children>%(RelativeDir)%(Filename).*.cs</Children>
</NestedItem>
</ItemGroup>
<ItemGroup>
@ArcanoxDragon
ArcanoxDragon / BindMethod.ts
Created May 5, 2018 06:10
React method binding decorator
export function BindMethod( target: any, propertyName: string, descriptor: PropertyDescriptor ) {
let unboundFunc = descriptor.value;
return {
configurable: true,
get() {
let boundFunc = unboundFunc.bind( this );
// Define instance property so we don't have to re-bind it every time the function is accessed
@ArcanoxDragon
ArcanoxDragon / monokai.json
Created September 25, 2017 21:34
Monokai PowerShell Theme
{
"black": "#272822",
"dark_blue": "#66d9ef",
"dark_green": "#a6e22e",
"dark_cyan": "#a1efe4",
"dark_red": "#f92672",
"dark_magenta": "#ae81ff",
"dark_yellow": "#fd971f",
"gray": "#f5f4f1",
"dark_gray": "#5C5849",
@ArcanoxDragon
ArcanoxDragon / radicalpastor.md
Last active May 3, 2017 20:48
Radical Pastor
[00:17:52] <Arcanox|movie> eh?
[00:20:21] *** Arcanox|movie is now known as ArcanOff
[00:22:39] *** ArcanOff is now known as Arcanox
[00:32:51] *** Joins: radicalpastor (webchat@191.101.12.25)
[00:36:19] <radicalpastor> i have an idea for reactorcraft
[00:40:37] <Kolatra> ?
[00:41:07] <radicalpastor> you know radiation, right?
[00:41:08] <Slikrick> ?
[00:41:14] <Arcanox> what's radiation?