Skip to content

Instantly share code, notes, and snippets.

View rvdh's full-sized avatar

Rick van den Hof rvdh

View GitHub Profile
@rvdh
rvdh / mindergas.py
Created November 12, 2020 07:03
mindergas import
#!/usr/bin/env python3
import csv
import sys
import os
import requests
with open("dsmrreader.csv", "r") as csvfile:
reader = csv.reader(csvfile)
#Date,Electricity 1 (Low Tariff),Electricity 2 (High Tariff),Electricity 1 Returned (Low Tariff),Electricity 2 Returned (High Tariff),Gas,Electricity 1 Price (Low Tariff),Electricity 2 Price (High Tariff),Gas Cost,Total Cost
---
- hosts: all
become: true
gather_facts: false
tasks:
- name: check which policy.xml exist
stat:
path: "{{ item }}/policy.xml"
with_items:
@rvdh
rvdh / keybase.md
Created April 14, 2016 12:49
Keybase proof

Keybase proof

I hereby claim:

  • I am rvdh on github.
  • I am rvdhof (https://keybase.io/rvdhof) on keybase.
  • I have a public key whose fingerprint is DB64 B7C4 4BDD EE40 AF13 F5D9 1BE0 AF24 12DA BD8A

To claim this, I am signing this object:

/home/kopofmunt/app/vendor/bundle/ruby/2.1.0/gems/execjs-2.6.0/lib/execjs/ruby_racer_runtime.rb:73: [BUG] Segmentation fault at 0x00000000000018
ruby 2.1.3p242 (2014-09-19 revision 47630) [x86_64-linux]
-- Control frame information -----------------------------------------------
c:0170 p:---- s:0891 e:000890 CFUNC :Locker
c:0169 p:0023 s:0888 E:000238 METHOD /home/kopofmunt/app/vendor/bundle/ruby/2.1.0/gems/execjs-2.6.0/lib/execjs/ruby_racer_runtime.rb:73
c:0168 p:0020 s:0883 E:000118 METHOD /home/kopofmunt/app/vendor/bundle/ruby/2.1.0/gems/execjs-2.6.0/lib/execjs/ruby_racer_runtime.rb:9 [FINISH]
c:0167 p:---- s:0878 e:000877 CFUNC :new
c:0166 p:0012 s:0873 e:000872 METHOD /home/kopofmunt/app/vendor/bundle/ruby/2.1.0/gems/execjs-2.6.0/lib/execjs/runtime.rb:44
c:0165 p:0011 s:0869 e:000868 METHOD /home/kopofmunt/app/vendor/bundle/ruby/2.1.0/gems/execjs-2.6.0/lib/execjs/module.rb:27