- I have a
MacBook1,1
, but its HDD died. - I need an instance of OS X mainly to build OS X binaries of some of my open-source software.
- Obtain installation medium
MacBook1,1
, but its HDD died.gdal_translate image.tif image.mbtiles -of MBTILES | |
gdaladdo image.mbtiles 2 4 8 |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>San Juan Island Geology - Interactivity</title> | |
<meta charset="utf-8"> | |
<link rel="stylesheet" href="https://mapzen.com/js/mapzen.css"> | |
<script src="https://mapzen.com/js/mapzen.min.js"></script> | |
<style> | |
#map { | |
height: 100%; |
Current version: 1.0.19 1.0.15 (as of 2018-12-10)
IE6 Only | |
================== | |
_selector {...} | |
IE6 & IE7 | |
================== | |
*html or { _property: } | |
IE7 Only | |
================== |
var express = require("express"), | |
app = express(), | |
MBTiles = require('mbtiles'), | |
p = require("path"); | |
// Enable CORS and set correct mime type/content encoding | |
var header = { | |
"Access-Control-Allow-Origin":"*", | |
"Access-Control-Allow-Headers":"Origin, X-Requested-With, Content-Type, Accept", | |
"Content-Type":"application/x-protobuf", |
<?php | |
require_once(TOOLKIT . '/class.datasource.php'); | |
Class datasourcemonth_calendar extends Datasource { | |
public $dsParamROOTELEMENT = 'month-calendar'; | |
public $dsParamORDER = 'asc'; | |
public $dsParamREDIRECTONEMPTY = 'no'; | |
<!DOCTYPE html> | |
<html> | |
<head> | |
<meta charset='utf-8' /> | |
<title></title> | |
<meta name='viewport' content='initial-scale=1,maximum-scale=1,user-scalable=no' /> | |
<script src='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.js'></script> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v0.12.0/mapbox-gl.css' rel='stylesheet' /> | |
<script src='parks.js'></script> | |
<style> |
This Python script utilizes the GeoPy geocoding library to batch geocode a number of addresses, using various services until a pair of latitude/longitude values are returned.
All of the below properties or methods, when requested/called in JavaScript, will trigger the browser to synchronously calculate the style and layout*. This is also called reflow or layout thrashing, and is common performance bottleneck.
Generally, all APIs that synchronously provide layout metrics will trigger forced reflow / layout. Read on for additional cases and details.
elem.offsetLeft
, elem.offsetTop
, elem.offsetWidth
, elem.offsetHeight
, elem.offsetParent