This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/env python2 | |
#-*- coding=utf-8 -*- | |
# © 2013 Mark Harviston, BSD License | |
from __future__ import absolute_import, unicode_literals, print_function | |
""" | |
Qt data models that bind to SQLAlchemy queries | |
""" | |
from PyQt4 import QtGui | |
from PyQt4.QtCore import QAbstractTableModel, QVariant, Qt | |
import logging # noqa |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# you can run this script (if you dare...) using | |
# wget -qO- https://gist.githubusercontent.com/nerdoc/f058ac5a26abfe91b9f0bdfe862dc5ab/raw/c87455cfbfde19ce4877367a7f4f8785ca8a2cc8/rotajakiro-detect | sh | |
# The hash is not the current, this is technically not possible, because while I change save the above line, | |
# knowing the hash, it changes it. Greetings from Werner Heisenberg. | |
files="bin/systemd/systemd-daemon /usr/lib/systemd/systemd-daemon /home/*/.dbus/sessions/session-dbus /home/*/.gvfsd/.profile/gvfsd-helper" | |
for i in "${files}"; do | |
if [ -f "$i" ]; |