Skip to content

Instantly share code, notes, and snippets.

Marc Schwieterman marcisme

Block or report user

Report or block marcisme

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
View MSSAssertions.swift
//
// MSSAssertions.swift
// FastOne
//
// Created by Marc Schwieterman on 3/8/15.
// Copyright (c) 2015 Marc Schwieterman Software, LLC. All rights reserved.
//
import Foundation
@marcisme
marcisme / karabiner.json
Created Jun 26, 2017
Karabiner Elements Config
View karabiner.json
{
"profiles": [
{
"complex_modifications": {
"rules": [
{
"manipulators": [
{
"description": "Change caps_lock to control when used as modifier, escape when used alone",
"from": {
View KeyboardDodger.swift
class KeyboardDodger {
private struct KeyboardValues {
private let userInfo: [AnyHashable : Any]
init(notification: Notification) {
userInfo = (notification as NSNotification).userInfo!
}
View set-version.sh
#!/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
@marcisme
marcisme / private.xml
Last active Sep 17, 2016
Karabiner configuration
View private.xml
<?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 -->
View keybase.md

Keybase proof

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:

@marcisme
marcisme / README
Created Aug 25, 2012 — forked from shayarnett/README
Snippet generator for RubyMotion ctags
View README
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)
You can’t perform that action at this time.