Skip to content

Instantly share code, notes, and snippets.

Building Solution: MySolution (Debug)
Building: MyCompany.Utils (Debug|x86)
Build started 26/09/2013 2:59:18 PM.
__________________________________________________
Project "/Users/richard/Workspace/RDMOX/MySolution/MyCompany.Utils/MyCompany.Utils.csproj" (Build target(s)):
Target PrepareForBuild:
Crashed Thread: 0 Dispatch queue: com.apple.main-thread
Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Application Specific Information:
abort() called
Thread 0 Crashed:: Dispatch queue: com.apple.main-thread
0 libsystem_kernel.dylib 0x918bf952 __pthread_kill + 10
@thenextman
thenextman / gist:e886dfe4408c20072a88f80d2df5d60f
Created November 25, 2016 22:54 — forked from steventroughtonsmith/gist:7515380
iOS 7 UIKeyCommand keydown/keyup and keycode input implementation for a UIResponder. Private API, of course…
-(BOOL)canBecomeFirstResponder
{
return YES;
}
-(UIKeyCommand *)_keyCommandForEvent:(UIEvent *)event // UIPhysicalKeyboardEvent
{
NSLog(@"keyCommandForEvent: %@\n\
type = %i\n\
keycode = %@\n\
#import <Foundation/Foundation.h>
#import <Cocoa/Cocoa.h>
#import <AppKit/AppKit.h>
#import <SystemConfiguration/SystemConfiguration.h>
#import <Carbon/Carbon.h>
#import <CoreFoundation/CoreFoundation.h>
static CFStringRef CopyCurrentConsoleUsername(SCDynamicStoreRef store)
{
CFStringRef result;
@thenextman
thenextman / setup-environment.ps1
Created April 17, 2024 16:29
Create portable RDM 2024.x installation
function BootstrapPortableRDM {
<#
.SYNOPSIS
Bootstrap a portable installation of RDM 2024.x
.DESCRIPTION
You must provide the zipped .NET Runtime and .NET Windows Desktop Runtime. The
zip releases are not available on the Microsoft download page but can be found
in the project releases at https://dotnetcli.blob.core.windows.net/dotnet/release-metadata/8.0/releases.json.
1. Need to enable multi touch input (before connecting). This will enable the MS-RDPEI (extended input) virtual channel if the server supports it
` this.Rdp.MultiTouchInput = true`
2. Register your pen(s) after connecting. I think you can register up to 10 pens
`bool RegisterPen(PenEventType flags, int deviceId, double maxPressure)`
Returns true if successful, if false check the logs