Skip to content

Instantly share code, notes, and snippets.

View petronius's full-sized avatar

Michael Schuller petronius

  • BCG Digital Ventures
  • Berlin
View GitHub Profile
@petronius
petronius / uriel-api.py
Created April 3, 2013 21:40
Uriel api sketch
# Module map for MTFG corp management project
# Corporation API keys and user-defined settings
uriel.settings
# Static item information data, pulled from the Eve Static Data dumps, easily updatable.
uriel.iteminfo
# MySQL connector module
uriel.db
# Simple execute function
"""
Two-body Keplarian orbit modelling.
"""
from __future__ import print_function
from numpy import (
# objects and modules
array,
@petronius
petronius / gist:c0a5a27dc4b002f074acba30fe328778
Created May 31, 2016 09:26 — forked from gyrus/gist:3155982
Rename WordPress "Posts" to "News"
<?php
/**
* Rename "Posts" to "News"
*
* @link http://new2wp.com/snippet/change-wordpress-posts-post-type-news/
*/
add_action( 'admin_menu', 'pilau_change_post_menu_label' );
add_action( 'init', 'pilau_change_post_object_label' );
function pilau_change_post_menu_label() {
@petronius
petronius / polygon-with-a-hole.geojson
Last active September 25, 2018 14:23 — forked from andrewharvey/polygon-with-a-hole.geojson
A GeoJSON Polygon with a hole
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.