Skip to content

Instantly share code, notes, and snippets.

View uyar's full-sized avatar

H. Turgut Uyar uyar

View GitHub Profile
@uyar
uyar / Authomatic Azure AD adapter
Last active November 30, 2022 07:31
Authomatic provider for Microsoft Online (Azure Active Directory)
class MicrosoftOnline(OAuth2):
"""
Microsoft Online |oauth2| provider.
Supported :class:`.User` properties:
* email
* first_name
* id
* last_name
@uyar
uyar / lektor-deploy.patch
Last active August 16, 2019 17:00
Patch for resolving deployment issues in Lektor
@@ -94,6 +94,7 @@ def _temporary_folder(env):
finally:
try:
shutil.rmtree(folder)
+ os.rmdir(base)
except (IOError, OSError):
pass
@@ -174,6 +175,7 @@ class Command(object):
if not line:

Keybase proof

I hereby claim:

  • I am uyar on github.
  • I am uyar (https://keybase.io/uyar) on keybase.
  • I have a public key ASAYvTEMKPkiHaY1lGcDi8b3KVRxK1rPcirV01ILUoQmnAo

To claim this, I am signing this object: