Skip to content

Instantly share code, notes, and snippets.

View balrog-kun's full-sized avatar

Andrew Zaborowski balrog-kun

View GitHub Profile
@balrog-kun
balrog-kun / lambda_function.py
Created April 22, 2020 07:18 — forked from matt2005/lambda_function.py
Alexa Smart Home Skill Adapter for Home Assistant
"""
Copyright 2019 Jason Hu <awaregit at gmail.com>
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
@balrog-kun
balrog-kun / index.html
Last active August 29, 2015 14:17 — forked from tyrasd/index.html
Compare .png with .bpg OSM tiles
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<link rel="stylesheet" href="http://c.tile.openstreetmap.pl/leaflet/dist/leaflet.css" />
<script type="application/javascript" src="http://c.tile.openstreetmap.pl/leaflet.bpg/bpgdec.js"></script>
<script type="application/javascript" src="http://c.tile.openstreetmap.pl/leaflet/dist/leaflet.js"></script>
<script type="application/javascript" src="http://c.tile.openstreetmap.pl/leaflet.bpg/TileLayer.BPG.js"></script>
<style>
body { margin:0; padding:0; }