Skip to content

Instantly share code, notes, and snippets.

Michael Kirk michaelkirk

Block or report user

Report or block michaelkirk

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 YapDatabaseConnection.swift
import Foundation
/**
* Welcome to YapDatabase!
*
* The project page has a wealth of documentation if you have any questions.
* https://github.com/yapstudios/YapDatabase
*
* If you're new to the project you may want to visit the wiki.
View [SRRunloop main].crash
Incident Identifier: CEB3B94A-2B03-4FDE-B333-38D82E64B967
CrashReporter Key: dcd6f3ed70ababf8aa3d455c29d16532a26e1d70
Hardware Model: iPhone8,1
Process: Signal [186]
Path: /private/var/mobile/Containers/Bundle/Application/EADBFFDD-04CC-47D1-A0D9-398A4685BD94/Signal.app/Signal
Identifier: org.whispersystems.signal
Version: 2.3.3.0 (2.3.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
View [SRProxyConnect _dequeueInput].crash
Incident Identifier: 611E05B7-EF63-469F-9B9F-9E2865E30E72
CrashReporter Key: 1310ff747e7aa34772e89732256d084280788f43
Hardware Model: iPhone7,2
Process: Signal [848]
Path: /private/var/containers/Bundle/Application/F8AA11CD-CAA1-4355-97F5-21C2C8E27E4C/Signal.app/Signal
Identifier: org.whispersystems.signal
Version: 2.3.3.0 (2.3.3)
Code Type: ARM-64 (Native)
Parent Process: launchd [1]
@michaelkirk
michaelkirk / Localizable.strings.diff
Created Mar 12, 2016
git diff master b6f18486d838d44be33cee11bb73844f83b6b109 -- Signal/translations/en.lproj/Localizable.strings
View Localizable.strings.diff
diff --git a/Signal/translations/en.lproj/Localizable.strings b/Signal/translations/en.lproj/Localizable.strings
index a911cbb..1378c0c 100644
--- a/Signal/translations/en.lproj/Localizable.strings
+++ b/Signal/translations/en.lproj/Localizable.strings
@@ -40,6 +40,7 @@
"IN_CALL_SECURING" = "Answered. Securing...";
"IN_CALL_TALKING" = "Secured. Active.";
"IN_CALL_TERMINATED" = "Done.";
+"IRREVERSIBLE_ACTION_TITLE" = "This cannot be undone.";
"KEYPAD_NAV_BAR_TITLE" = "Keypad";
@michaelkirk
michaelkirk / TEST_OUTPUT.txt
Last active Dec 4, 2015
local/bin/configure && local/bin/build && ctest -R ctest -R PyQgsAttributeTableModel -V > TEST_OUTPUT.txt
View TEST_OUTPUT.txt
v123: ======================================================================
123: FAIL: testAdd (__main__.TestQgsAttributeTableModel)
123: ----------------------------------------------------------------------
123: Traceback (most recent call last):
123: File "/Users/mkirk/src/qgis/qgis-app/tests/src/python/test_qgsattributetablemodel.py", line 93, in testAdd
123: assert self.am.rowCount() == 11, self.am.rowCount()
123: AssertionError: 1
123:
123: ======================================================================
123: FAIL: testLoad (__main__.TestQgsAttApplication state:
@michaelkirk
michaelkirk / build.sh
Last active Nov 29, 2015
How I build QGIS
View build.sh
#!/usr/bin/env bash
BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
SRC_ROOT="${BIN_DIR}/../.."
cd "${SRC_ROOT}"
cd build
make -j4 && make install
@michaelkirk
michaelkirk / test-runner.sh
Last active Nov 29, 2015
e.g.> test-runner.sh tests/src/python/plugins/processing/ParametersTest.py
View test-runner.sh
#!/usr/bin/env bash
BIN_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
#Assuming this file is stored in your root directory...
SOURCE_ROOT=$BIN_DIR
# And that you've built your app in the `build` subdir
BUILD_DIR=$SOURCE_ROOT/build
PYTHONPATH=$BUILD_DIR/output/python/
PYTHONPATH=$PYTHONPATH:$SOURCE_ROOT/python/plugins
@michaelkirk
michaelkirk / errors in `apt-get dist-upgrade`
Last active Nov 20, 2015
koha error when adding new patron
View errors in `apt-get dist-upgrade`
Output from doing apt-get dist-upgrade:
C4::Installed::load_sql returned teh following errors while attempting to load /usr/share/koha/intranet/cgi-bin/installer/data/mysql/atomicupdate/hourlyloans.sql:
ERROR 1060 at line 1: Duplicate column mae lengthunit
Dev atomic update: oai_sets.sql
C4:installer::load_sql ... atomicupdate/oai_ses.sql ERROR 1062 at line 35: Duplicat eentry OAI-PMH:AuoUpdateSts for key 'primary'
@michaelkirk
michaelkirk / qgis_time_manager_crash.out
Created Nov 6, 2015
./QGIS &> qgis_time_manager_crash.out
View qgis_time_manager_crash.out
src/app/main.cpp: 419: (main) [1ms] Mac RLIMIT_NOFILE Soft/Hard NEW: 10240 / 10240
src/app/main.cpp: 424: (main) [1ms] Mac RLIMIT_NOFILE Soft/Hard ORIG: 2560 / 9223372036854775807
src/app/main.cpp: 428: (main) [0ms] Starting qgis main
src/app/qgscustomization.cpp: 634: (QgsCustomization) [1313ms] Entered
src/app/qgscustomization.cpp: 943: (loadDefault) [5ms] Status path = /Customization/status
src/app/qgscustomization.cpp: 944: (loadDefault) [0ms] status = 0
src/app/qgscustomization.cpp: 952: (loadDefault) [1ms] Default customization not found in /Users/mkirk/Applications/QGIS.app/Contents/MacOS/../Resources/resources/customization.ini
src/core/qgsfontutils.cpp: 277: (loadStandardTestFonts) [3ms] Test font 'QGIS Vera Sans Bold' loaded from testdata.qrc
src/core/qgsfontutils.cpp: 277: (loadStandardTestFonts) [1139ms] Test font 'QGIS Vera Sans Roman' loaded from testdata.qrc
Warning: loading of qgis translation failed [/Users/mkirk/Applications/QGIS.app/Contents/MacOS/../Resources/i18n//qgis_en_US]
@michaelkirk
michaelkirk / gist:004770a016c4845cfdaa
Created Oct 30, 2015
Python error when launching QGIS built from master
View gist:004770a016c4845cfdaa
An error occured during execution of following code:
import pyplugin_installer
getvalue() did not return a string
Python version:
2.7.10 (default, Aug 22 2015, 20:33:39)
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.1)]
You can’t perform that action at this time.