I hereby claim:
- I am matthewwilkes on github.
- I am matthewwilkes (https://keybase.io/matthewwilkes) on keybase.
- I have a public key ASCmgrCqU3Con7qtf0OHKdzEn9VsJ1w0K2D2pSGbAzKdgAo
To claim this, I am signing this object:
| # Copyright (c) Django Software Foundation and individual contributors. | |
| # All rights reserved. | |
| # | |
| # Redistribution and use in source and binary forms, with or without modification, | |
| # are permitted provided that the following conditions are met: | |
| # | |
| # 1. Redistributions of source code must retain the above copyright notice, | |
| # this list of conditions and the following disclaimer. | |
| # | |
| # 2. Redistributions in binary form must reproduce the above copyright |
I hereby claim:
To claim this, I am signing this object:
| diff --git a/src/qt/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm b/src/qt/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm | |
| index 0460f11..c147897 100644 | |
| --- a/src/qt/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm | |
| +++ b/src/qt/qtbase/src/platformsupport/fontdatabases/mac/qfontengine_coretext.mm | |
| @@ -691,7 +691,14 @@ void QCoreTextFontEngine::recalcAdvances(QGlyphLayout *glyphs, QFontEngine::Shap | |
| QFontEngine::FaceId QCoreTextFontEngine::faceId() const | |
| { | |
| - return QFontEngine::FaceId(); | |
| + FaceId result; |
| from haystack import indexes | |
| from haystack.fields import SearchField | |
| from haystack.backends import elasticsearch_backend | |
| class CompletionField(SearchField): | |
| field_type = 'completion' | |
| # As suggested at https://www.elastic.co/guide/en/elasticsearch/reference/current/search-suggesters-completion.html | |
| elasticsearch_backend.FIELD_MAPPINGS['completion'] = { |
| from zope import schema | |
| from plone.directives import form | |
| from .contenttree import SubsectionUUIDSourceBinder | |
| class IExamples(form.Schema): | |
| profileref = schema.Choice(title=u"Profile", | |
| description=u"Select the profile", |
| import binascii | |
| session = app.site.acl_users.session | |
| while True: | |
| username = raw_input("User ID: ") | |
| if not username: | |
| break | |
| if app.site.acl_users.getUserById(username) is None: | |
| print "User not found" | |
| continue |
| import os | |
| from plone.testing import Layer | |
| from plone.testing import zodb | |
| from pyramid.request import Request | |
| from webtest import TestApp | |
| from ZODB.DB import DB | |
| from YOURAPP import factory |
| from PdbTextMateSupport import preloop, precmd | |
| pdb.Pdb.preloop = preloop | |
| pdb.Pdb.precmd = precmd | |
| alias inspect import inspect;print inspect.getsource(%1) | |
| alias i import inspect;print inspect.getsource(%1) | |
| alias h !print help(%1) | |
| alias help !print help(%1) | |
| alias wtf !import traceback;traceback.print_exc() | |
| alias ppo pp %1.__dict__ | |
| alias ppio pp [a.__dict__ for a in %1] |
| ls -1 | grep -v metadata | python -c "import sys;print ':Image\n'.join(l.strip() for l in sys.stdin.readlines()+['']);" |
| [buildout] | |
| extensions = buildout.threatlevel | |
| eggs-directory=/Users/matthewwilkes/.buildout/eggs | |
| download-cache=/Users/matthewwilkes/.buildout/cache | |
| extends-cache=/Users/matthewwilkes/.buildout/extends | |
| newest=true |