I hereby claim:
- I am ludoo on github.
- I am ludo (https://keybase.io/ludo) on keybase.
- I have a public key whose fingerprint is 24E8 F579 AC68 7C53 5C10 1330 51F7 C50D 0035 50F2
To claim this, I am signing this object:
| #!/usr/bin/env python3 | |
| 'Simple script used to remove prefixes, pipe `terraform state list` to it.' | |
| import click | |
| import logging | |
| import os | |
| import re | |
| import stat | |
| import sys |
I hereby claim:
To claim this, I am signing this object:
| foo! spam! eggs! name this gist! |
| """ | |
| From http://harkablog.com/inside-the-django-orm-aggregates.html | |
| with a couple of fixes. | |
| Usage: MyModel.objects.all().annotate(new_attribute=Concat('related__attribute', separator=':') | |
| """ | |
| from django.db.models import Aggregate | |
| from django.db.models.sql.aggregates import Aggregate as SQLAggregate |
| #!/usr/bin/env python | |
| import sys | |
| try: | |
| from gtk import gdk | |
| except ImportError: | |
| raise SystemExit("You need to have python-gtk installed for this to work") | |
| <!doctype html> | |
| <html> | |
| <head> | |
| <meta charset="utf-8" /> | |
| <style type="text/css"> | |
| h3 { | |
| clear: left; | |
| margin: 0; | |
| } | |
| ul { |
| #!/usr/bin/env python | |
| # encoding: utf-8 | |
| import time | |
| import gtk | |
| import glib | |
| import appindicator | |
| class AppIndicatorExample: |