I hereby claim:
- I am nicopace on github.
- I am nicopace (https://keybase.io/nicopace) on keybase.
- I have a public key whose fingerprint is 3063 F421 4C98 0687 7D90 6D94 9D54 F817 8D0A 7F84
To claim this, I am signing this object:
#!/usr/bin/env python | |
# distance_from_shore.py: compute true distance between points | |
# and closest geometry. | |
# shaun walbridge, 2012.05.15 | |
# TODO: no indexing used currently, could stand if performance needs | |
# improving (currently runs in ~1.5hr for 13k points) | |
from geopy import distance |
function elementInViewport(el) { | |
var rect = el.getBoundingClientRect() | |
return rect.bottom > 0 && | |
rect.right > 0 && | |
rect.left < (window.innerWidth || document.documentElement.clientWidth) /*or $(window).width() */ && | |
rect.top < (window.innerHeight || document.documentElement.clientHeight) /*or $(window).height() */ ; | |
} |
# This squidfile is useful for catching big files | |
# | |
# WELCOME TO SQUID 3.3.8 | |
# ---------------------------- | |
# | |
# This is the documentation for the Squid configuration file. | |
# This documentation can also be found online at: | |
# http://www.squid-cache.org/Doc/config/ | |
# | |
# You may wish to look at the Squid home page and wiki for the |
<html> | |
<head> | |
<script src="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js"></script> | |
<link rel="stylesheet" href="http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css" /> | |
<style> | |
#map { height: 500px; } | |
</style> | |
</head> | |
<body> | |
<div id="map"></div> |
#!/bin/sh | |
# Setup encrypted disk image | |
# For Ubuntu 14.04 LTS | |
CRYPTFS_ROOT=/cryptfs | |
apt-get update | |
apt-get -y upgrade | |
apt-get -y install cryptsetup |
// | |
// Listen for messages and process all messages at steady rate limit. | |
// | |
pubnub.subscribe({ | |
channel : "hello_world", | |
message : limit( function(message) { | |
// process your messages at set interval here. | |
}, 500 /* milliseconds */ ) |
# Parameter: GatewayInterface | |
# Default: NONE | |
# | |
# GatewayInterface is not autodetected, has no default, and must be set here. | |
# Set GatewayInterface to the interface on your router | |
# that is to be managed by Nodogsplash. | |
# Typically br0 for the wired and wireless lan on OpenWrt White Russian. | |
# May be br-lan on OpenWrt Kamikaze. | |
# |
I hereby claim:
To claim this, I am signing this object:
var positionOrigin = { | |
lon: -64.4145, | |
lat: -31.8063, | |
height: 2000000 | |
}; | |
var positionDestination = { | |
lon: -64.4146, | |
lat: -31.8063, | |
height: 200 |
#!KAMAILIO | |
#!define WITH_MYSQL | |
#!define WITH_AUTH | |
#!define WITH_USRLOCDB | |
# | |
# Kamailio (OpenSER) SIP Server v4.3 - default configuration script | |
# - web: http://www.kamailio.org | |
# - git: http://sip-router.org | |
# |