I hereby claim:
- I am marcisme on github.
- I am marcisme (https://keybase.io/marcisme) on keybase.
- I have a public key whose fingerprint is E82D B1F9 077E 3873 0B4F 756A 8104 F332 FE5A D78E
To claim this, I am signing this object:
Generate ctags with `rake ctags` | |
Run snipper.rb | |
Put resulting ruby.snippets file where your snippet plugin can pick it up. (I'm using snipmate) |
I hereby claim:
To claim this, I am signing this object:
<?xml version="1.0"?> | |
<root> | |
<item> | |
<name>F19 to Escape or Control</name> | |
<appendix>(Hold F19 to ctrl, tap F19 to send escape)</appendix> | |
<identifier>private.f19_escape_control</identifier> | |
<autogen> | |
__KeyDownUpToKey__ | |
KeyCode::F19 <!-- caps-lock sends F19 --> | |
__{KeyCode::ESCAPE}__ <!-- send escape when released --> |
#!/bin/sh | |
git=$(sh /etc/profile; which git) | |
git_release_version=$("$git" describe --tags --always --abbrev=0) | |
number_of_commits=$("$git" rev-list master | wc -l | tr -d ' ') | |
target_plist="$TARGET_BUILD_DIR/$INFOPLIST_PATH" | |
dsym_plist="$DWARF_DSYM_FOLDER_PATH/$DWARF_DSYM_FILE_NAME/Contents/Info.plist" | |
for plist in "$target_plist" "$dsym_plist"; do | |
if [ -f "$plist" ]; then |
class KeyboardDodger { | |
private struct KeyboardValues { | |
private let userInfo: [AnyHashable : Any] | |
init(notification: Notification) { | |
userInfo = (notification as NSNotification).userInfo! | |
} |
{ | |
"profiles": [ | |
{ | |
"complex_modifications": { | |
"rules": [ | |
{ | |
"manipulators": [ | |
{ | |
"description": "Change caps_lock to control when used as modifier, escape when used alone", | |
"from": { |
// | |
// MSSAssertions.swift | |
// FastOne | |
// | |
// Created by Marc Schwieterman on 3/8/15. | |
// Copyright (c) 2015 Marc Schwieterman Software, LLC. All rights reserved. | |
// | |
import Foundation |
<?xml version="1.0" encoding="UTF-8"?> | |
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd"> | |
<plist version="1.0"> | |
<dict> | |
<key>CFBundleDevelopmentRegion</key> | |
<string>en</string> | |
<key>CFBundleExecutable</key> | |
<string>$(EXECUTABLE_NAME)</string> | |
<key>CFBundleIdentifier</key> | |
<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string> |
Hi! Thanks for looking | |
TL;DR - trying to do anything with os_signpost, but nothing is appearing in instruments. | |
UPDATE: on devices it's working. Is it supposed to work in the simulator? Points of Interest are on built-in templates, I figured it should work on the device... | |
The app is all objc, using the C API. See at the end for a swift attempt | |
More details: | |
Creating the log like this: |