This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var Holsen = {}; | |
(function(ns){ | |
ns.ellipsoids = { | |
"bessel": { | |
"a": 6377492.018, | |
"b": 6356173.509 | |
}, | |
"international": { | |
"a": 6378388.000, |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
q="" | |
if [ $1 = "hjem" ] | |
then | |
q="rotvoll vestlia" | |
elif [ $1 = "sentrum" ] | |
then | |
q="rotvoll sentrum" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" | |
"http://www.w3.org/TR/html4/loose.dtd"> | |
<html> | |
<head> | |
<title></title> | |
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script> | |
<script type="text/javascript" src="underscore-min.js"></script> | |
<style type="text/css"> | |
#map { | |
width: 500px; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(function (lib) { | |
"use strict"; | |
var QueryParams = function (initParams) { | |
var params = initParams || {}; | |
function addParam(key, value) { | |
params[key] = value; | |
} | |
function toString() { | |
return _.map(params, function (value, key) { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=8"> | |
<meta charset="UTF-8"> | |
<title>OpenLayers 3 with Statkart tiles</title> | |
</head> | |
<link rel="stylesheet" href="http://ol3js.org/en/master/build/ol.css" type="text/css"> | |
<style type="text/css"> | |
html, body { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<meta http-equiv="X-UA-Compatible" content="IE=8"> | |
<meta charset="UTF-8"> | |
<title>Leaflet with Statkart tiles</title> | |
</head> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.css" /> | |
<!--[if lte IE 8]> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.6.4/leaflet.ie.css" /> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/usr/bin/python | |
# -*- coding: latin-1 -*- | |
from suds.client import Client | |
import xml.etree.ElementTree as ET | |
import suds | |
import os | |
import logging |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
(![]) = false | |
(![]+[]) = "false" | |
(!![]) = true | |
(!(![])+[]) = "true" | |
+[] = 0 | |
+!+[] = 1 | |
!+[]+!+[] = 2 | |
+!+[]+[+[]] = "10" | |
+(+!+[]+[+[]]) = 10 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<html> | |
<head> | |
<title></title> | |
<style> | |
div.col50 { | |
width: 50%; | |
float: left; | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#inits an empty git repo with .gitignore, readme.md and a virtualenv | |
if [ -n "$1" ]; then | |
echo $1 | |
if [ ! -d "$1" ]; then | |
name=$1 | |
git init $name | |
cd $name |
OlderNewer