Skip to content

Instantly share code, notes, and snippets.

View ebsaral's full-sized avatar

Emin Buğra Saral ebsaral

View GitHub Profile
@titusz
titusz / suit_multi_admin.py
Last active February 12, 2016 12:41
Monkeypatch for Django Suit to support separate SUIT_CONFIGs for multiple Admin Sites
def suit_multi_admin():
"""Monkeypatch Django Suit to support multiple Admin Sites
Usage:
put this code for example in myapp/monkey.py
Activate the monkeypatch in your models.py:
from monkey import suit_multi_admin
@davidwkeith
davidwkeith / index.html
Last active April 10, 2024 12:01
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom protocol handlers. Licensed under the WFTPL http://www.wtfpl.net/txt/copying/
<!doctype html>
<html>
<head>
<meta charset="utf-8">
<title>App Redirection</title>
</head>
<body>
<!--
NOTE: This was a great hack in days gone by, but now both Apple and Google have improved their support for custom
protocol handlers.