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
// see: https://developers.google.com/maps/documentation/javascript/geocoding | |
var geocoder = new google.maps.Geocoder(); | |
geocoder.geocode({ | |
address: someAddressString, | |
region: 'no' | |
}, | |
function(results, status) { | |
if (status == google.maps.GeocoderStatus.OK) { | |
var location = results[0].geometry.location; | |
latitude.value = location.lat(); |
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
// | |
// Overlay for adding some HTML text on cords specified by bounds over the given map | |
// | |
function overlayText(bounds, HTMLcontent, map, minZoomToBeShow) | |
{ | |
// Now initialize all properties. | |
this.bounds_ = bounds; | |
this.HTMLcontent_ = HTMLcontent; | |
this.map_ = map; |
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/env python | |
import os | |
import zipfile | |
""" | |
Helper class that lets one add whole directory contents. | |
License | |
-------------------- |
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> | |
<!-- | |
Copyright: ©2014 Nux | |
License: CC0 | |
--> | |
<html> | |
<head> | |
<title>Test</title> | |
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1"> | |
<meta charset="UTF-8"> |
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
<? | |
include './odbc_sql_test_settings.php'; | |
echo phpversion(); | |
date_default_timezone_set('Europe/Warsaw'); | |
$link = odbc_connect(DB_SETTINGS_DSN, DB_SETTINGS_USER, DB_SETTINGS_PASS); | |
$upd_params = array( |
NewerOlder