Isolate Tailscale to specific interfaces using Linux network namespaces.
Creates virtual interface with its own MAC on the physical NIC. Simpler, no NAT. Best for bare metal where you control the network.
| { | |
| unique_lock lock(mutex); // takes the lock | |
| convar.wait(mutex) // wait | |
| // do stuff with the lock | |
| } | |
| // the lock is no longer held |
| /*CC0*/using System.Linq;using S=ServerManager;[HarmonyLib.HarmonyPatch(typeof(S),"LoadServers")]class C{static System.Collections.Generic.List<IRegionInfo>R=S.DefaultRegions.ToList();static void Prefix()=>S.DefaultRegions=R.ToArray();public static void A(string N,string I,ushort P)=>R.Add(new DnsRegionInfo(I, N, (StringNames)1003, I, P).Duplicate());} |
| function findMidiDevices(name) { | |
| return navigator | |
| .requestMIDIAccess() | |
| .then((midiAccess) => { | |
| let input, output; | |
| midiAccess.inputs.forEach((currentInput) => { | |
| if(currentInput.name === name) input = currentInput; | |
| }); | |
| midiAccess.outputs.forEach((currentOutput) => { | |
| if(currentOutput.name === name) output = currentOutput; |
| DCPU-16 Specification | |
| Copyright 1985 Mojang | |
| Version 1.7 | |
| === SUMMARY ==================================================================== | |
| * 16 bit words | |
| * 0x10000 words of ram |