Skip to content

Instantly share code, notes, and snippets.

#!/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 September 17, 2016 18:30
Karabiner configuration
<?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 -->

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 August 25, 2012 13:49 — forked from shayarnett/README
Snippet generator for RubyMotion ctags
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)