Skip to content

Instantly share code, notes, and snippets.

💭
I may be slow to respond.

Michael Tryby michaeltryby

💭
I may be slow to respond.
Block or report user

Report or block michaeltryby

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
@michaeltryby
michaeltryby / epanet_py.c
Last active Dec 11, 2019
EPANET API functions for Python SWIG wrap
View epanet_py.c
/*
******************************************************************************
Project: OWA EPANET
Version: 2.2
Module: epanet_py.c
Description: EPANET API functions for Python SWIG wrap
Authors: see AUTHORS
Copyright: see AUTHORS
License: see LICENSE
Last Updated: 05/15/2019
@michaeltryby
michaeltryby / list.c
Created Dec 10, 2019 — forked from pseudomuto/list.c
Blog Code: Implementing a Generic Linked List in C
View list.c
#include <stdlib.h>
#include <string.h>
#include <assert.h>
#include "list.h"
void list_new(list *list, int elementSize, freeFunction freeFn)
{
assert(elementSize > 0);
list->logicalLength = 0;
@michaeltryby
michaeltryby / ShapeViewer.py
Created Sep 27, 2018
PyQGIS ShapeViewer Demo
View ShapeViewer.py
from qgis.core import *
from qgis.gui import *
from qgis.utils import iface
from PyQt5.QtCore import *
from PyQt5.QtWidgets import QApplication, QMainWindow, QFileDialog, QVBoxLayout
from PyQt5.QtGui import *
import sys
import os
You can’t perform that action at this time.