Skip to content

Instantly share code, notes, and snippets.

2015-12-19 19:05:28.252 TipCalculator[10140:451148] Can't find keyplane that supports type 4 for keyboard iPhone-PortraitTruffle-NumberPad; using 675849259_PortraitTruffle_iPhone-Simple-Pad_Default
2015-12-19 19:05:28.281 TipCalculator[10140:451148] Unable to simultaneously satisfy constraints.
Probably at least one of the constraints in the following list is one you don't want.
Try this:
(1) look at each constraint and try to figure out which you don't expect;
(2) find the code that added the unwanted constraint or constraints and fix it.
(
"<NSLayoutConstraint:0x7f9f0431f400 UILabel:0x7f9f01c24ae0'$0.00'.leading == UIView:0x7f9f01c27470.leadingMargin + 91>",
"<NSLayoutConstraint:0x7f9f04320d40 UILabel:0x7f9f01c24ae0'$0.00'.leading == UIView:0x7f9f01c27470.leadingMargin + 90>"
)
@kmolo
kmolo / mobilebridge_issue_template.md
Last active August 29, 2015 14:08
MobileBridge Issue Template

This workshop's going to be amazing!! Here's what we need to do!

A few months out:

  • Find a venue and sponsor for the workshop.

    • The workshop will consist of 3 separate parts -- a teacher training, an installfest (typically the Friday night before the workshop), and the Saturday workshop itself
    • Space-wise, we usually split the students up into separate class levels, so having access to multiple workspaces would be nice (and if possible, projectors & whiteboards).
    • Additionally, we like to offer students the option to bring their children with them (we recruit additional volunteers to help supervise so the parents can focus on coding).
    • Sponsoring the workshop costs between $400 and $900, depending on the size of the workshop.
  • Find two co-organizers. It's a lot of work, but always a lot of fun. No experience is necessary; checkout the workshop cookbook if it's new to you. (Also, we match up first time organizers with mentors.)

@kmolo
kmolo / gist:44125adb894289f399bd
Last active August 29, 2015 14:06
virtualenvwrapper_lazy.sh
#!/bin/sh
# Alternative startup script for faster login times.
export _VIRTUALENVWRAPPER_API="$_VIRTUALENVWRAPPER_API mkvirtualenv rmvirtualenv lsvirtualenv showvirtualenv workon add2virtualenv cdsitepackages cdvirtualenv lssitepackages toggleglobalsitepackages cpvirtualenv setvirtualenvproject mkproject cdproject mktmpenv"
if [ -z "$VIRTUALENVWRAPPER_SCRIPT" ]
then
export VIRTUALENVWRAPPER_SCRIPT="$(command \which virtualenvwrapper.sh)"
fi
if [ -z "$VIRTUALENVWRAPPER_SCRIPT" ]
@kmolo
kmolo / gist:032e9e9539b7372715ad
Created September 26, 2014 19:44
virtualenvwrapper.sh
# -*- mode: shell-script -*-
#
# Shell functions to act as wrapper for Ian Bicking's virtualenv
# (http://pypi.python.org/pypi/virtualenv)
#
#
# Copyright Doug Hellmann, All Rights Reserved
#
# Permission to use, copy, modify, and distribute this software and its
# documentation for any purpose and without fee is hereby granted,
@kmolo
kmolo / gist:d32c681b475190766c79
Created September 26, 2014 01:20
20140925-pip-instal-virtualenv.log
Downloading/unpacking virtualenv
Installing collected packages: virtualenv
Successfully installed virtualenv
Cleaning up...
@kmolo
kmolo / gist:3119222b9e58a6986fe7
Created September 26, 2014 01:19
20140925-pip-install-virtualenvwrapper.log
Downloading/unpacking virtualenvwrapper
Running setup.py (path:c:\users\laptop\appdata\local\temp\pip_build_laptop\virtualenvwrapper\setup.py) egg_info for package virtualenvwrapper
Installed c:\users\laptop\appdata\local\temp\pip_build_laptop\virtualenvwrapper\pbr-0.10.0-py2.7.egg
[pbr] Processing SOURCES.txt
warning: LocalManifestMaker: standard file '-c' not found
warning: no previously-included files found matching '.gitignore'
warning: no previously-included files found matching '.gitreview'
warning: no previously-included files matching '*.pyc' found anywhere in distribution