Skip to content

Instantly share code, notes, and snippets.

Avatar

Karsten Lehmann klehmann

View GitHub Profile
View gist:88df7b6c991c9dc487d5
<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="pouchdb-2.2.0.js"></script>
<script type="text/javascript">
var db;
function setupDb() {
try {
db = new PouchDB('testdb');
@klehmann
klehmann / GeoHashUtils.java
Created Jun 13, 2019
GeoHash utilities in Java
View GeoHashUtils.java
/*
* Copyright (c) 2013 Mindoo GmbH
*
* 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
@klehmann
klehmann / test.html
Created Sep 6, 2021
Hello World Html
View test.html
<html>
<head>
<style>
h1 {
font-family: Calibri;
}
</style>
</head>
<body>
<h1>Hello World!</h1>
@klehmann
klehmann / test.md
Created Sep 6, 2021
Hello World Markdown
View test.md

Hello World

This is content converted from Markdown!

Here's a JSON sample:

{
  "foo": "bar"
}