Skip to content

Instantly share code, notes, and snippets.

@zancarius
zancarius / hn.css
Created June 26, 2019 20:52
Hacker News Stylish-to-Stylus Port (plus minor enhancements)
body {
background: rgba(0,0,0,0.05);
margin: 0;
}
table td,
table {
background: #fff;
}

Keybase proof

I hereby claim:

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

To claim this, I am signing this object:

@zancarius
zancarius / fix-sentry-migrations.py
Created June 13, 2017 04:07
Formatting fix for Sentry issue #5502
from sentry.models import *
dupe_envs = Environment.objects.values('name', 'organization_id')\
.annotate(ecount=Count('id'))\
.filter(ecount__gt=1)
for env in dupe_envs:
name = env['name']
organization_id = env['organization_id']
envs = list(Environment.objects.filter(
@zancarius
zancarius / PKGBUILD
Last active May 24, 2016 19:03
Sentry PKGBUILD with dsym support
pkgname=sentry-dsym
pkgver=8.4.1
pkgrel=1
pkgdesc="Python-based realtime logging and aggregation server with dsym."
arch=(any)
url="http://pypi.python.org/pypi/sentry"
license=(BSD)
conflicts=(sentry)
provides=(sentry)
depends=(