Skip to content

Instantly share code, notes, and snippets.

Christian González nerdoc

Block or report user

Report or block nerdoc

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@nerdoc
nerdoc / setup-aceto-server-base.sh
Last active Dec 13, 2016
Initial Setup for Acetomed Server
View setup-aceto-server-base.sh
#!/bin/sh
# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.
#
# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
# GNU General Public License for more details.
@nerdoc
nerdoc / alchemical_model.py
Last active Oct 12, 2019 — forked from harvimt/alchemical_model.py
SQLAlchemy to/from PyQt Adapters
View alchemical_model.py
#!/usr/bin/env python3
# © 2013 Mark Harviston, BSD License
# 2016: update to use PyQt5/Python3, some enhancements by Christian González
"""
Qt data models that bind to SQLAlchemy queries
"""
from PyQt5.QtWidgets import QMessageBox
from PyQt5.QtSql import QSqlTableModel
from PyQt5.Qt import QVariant, Qt
You can’t perform that action at this time.