Skip to content

Instantly share code, notes, and snippets.

View jieter's full-sized avatar

Jan Pieter Waagmeester jieter

View GitHub Profile
@jieter
jieter / t962a-pid-control-test.log
Created January 5, 2015 13:23
T-962A test profiles.
# Time, Temp0, Temp1, Temp2, Temp3, Set,Actual, Heat, Fan, ColdJ, Mode
0.0, 50.9, 56.2, 0.0, 0.0, 171, 53.5, 0, 255, 35.5, REFLOW
0.2, 50.8, 56.1, 0.0, 0.0, 171, 53.4, 255, 7, 35.5, REFLOW
0.5, 50.8, 56.2, 0.0, 0.0, 171, 53.5, 255, 7, 35.5, REFLOW
0.8, 50.6, 56.2, 0.0, 0.0, 171, 53.4, 255, 7, 35.5, REFLOW
1.0, 50.5, 55.9, 0.0, 0.0, 171, 53.2, 255, 7, 35.5, REFLOW
1.2, 50.6, 55.9, 0.0, 0.0, 171, 53.2, 255, 7, 35.5, REFLOW
1.5, 50.4, 55.8, 0.0, 0.0, 171, 53.1, 255, 7, 35.5, REFLOW
1.8, 50.4, 55.8, 0.0, 0.0, 171, 53.1, 255, 7, 35.5, REFLOW
2.0, 50.4, 55.8, 0.0, 0.0, 171, 53.1, 255, 7, 35.5, REFLOW
@jieter
jieter / index-https.html
Last active August 29, 2015 14:16
leaflet-providers: Test for https support
<!doctype html>
<html lang="en">
<head>
<title>Leaflet Provider Demo</title>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7/leaflet.css" />
@jieter
jieter / compress.py
Created May 20, 2015 17:43
Experiment using browserify with django-compressor
import logging
import subprocess
from compressor.exceptions import FilterError
from compressor.filters import CompilerFilter
from django.conf import settings
logger = logging.getLogger("coconut.helpers.compressor")
@jieter
jieter / dump_all.yml
Created October 22, 2015 13:07
Ansible snippets
- name: Display all variables/facts known for a host
debug: var=hostvars[inventory_hostname]
@jieter
jieter / index.html
Created August 8, 2013 19:52
via:geojson.io
<!DOCTYPE html>
<html>
<head>
<meta name='viewport' content='width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no' />
<style>
body { margin:0; padding:0; }
#map { position:absolute; top:0; bottom:0; width:100%; }
.marker-properties {
border-collapse:collapse;
@jieter
jieter / map.geojson
Created August 27, 2013 15:27
via:geojson.io
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@jieter
jieter / .jshintrc
Last active December 26, 2015 20:59
jshinting for Leaflet specs
{
// environment
"browser": true,
"node": false,
"strict": false, // turn off strict warnings for now.
"globals": {
"L": true,
<html>
<head>
<style>
.center, .inner {
min-height: 400px;
}
.center{
margin: 0px auto;
width: 400px;
border: 1px solid red;
<html>
<head>
<style>
* {
-moz-box-sizing: border-box;
-webkit-box-sizing: border-box;
box-sizing: border-box;
}
h1 {
width: 404px;
<html>
<head>
<title>Test</title>
<script type="text/javascript" src="http://maps.google.com/maps/api/js?libraries=geometry&amp;sensor=false"></script>
<style type="text/css">
#map {width:670px; height:600px;}
</style>
<script type='text/javascript'>
function initialize() {
var center = new google.maps.LatLng(51.42162000000001, -2.69789999999999);