Skip to content

Instantly share code, notes, and snippets.

View KristianOellegaard's full-sized avatar

Kristian Øllegaard KristianOellegaard

View GitHub Profile
@KristianOellegaard
KristianOellegaard / OK Flex Grøn El
Created October 26, 2022 13:14 — forked from JBoye/EDS Basic Template.yaml
Energi Data Service Template for additional costs
{# Find lavlast, spidslast og evt. fortjeneste/tillæg på elspotpris.dk #}
{% set spidslast = 0.7791 %}
{% set lavlast = 0.2951 %}
{% set tillaeg = 0.2057 %}
{% set tariffer = [0.723, 0.00229, 0.061, 0.049] | sum %}
{% set spids = (now().month < 3 or now().month >= 10) and (now().hour >= 17 and now().hour <= 19) %}
{{tariffer + tillaeg + (spidslast if spids else lavlast)}}
@KristianOellegaard
KristianOellegaard / osx_developer_installation.rst
Created July 28, 2011 17:55 — forked from stefanfoulis/osx_developer_installation.rst
Instructions on how to setup an OSX developer machine for (python/django) development