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/bash | |
#bbox.ymin <= 0 | |
#S=/Volumes/T7/OvertureMaps/theme=buildings/type=building/part-*-530a22ea-6b33-45e9-961b-567f661900b0-c000.zstd.parquet | |
#D=/Volumes/T7/OvertureMaps/South.fgb | |
#bbox.ymin >= 0 AND bbox.xmin <= 0 | |
#S=/Volumes/T7/OvertureMaps/theme=buildings/type=building/part-*-530a22ea-6b33-45e9-961b-567f661900b0-c000.zstd.parquet | |
#D=/Volumes/T7/OvertureMaps/NW.fgb |
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> | |
<head> | |
<title>Mapbox GL JS debug page</title> | |
<meta charset='utf-8'> | |
<meta name="viewport" content="width=device-width, initial-scale=1.0, user-scalable=no"> | |
<link href='https://api.tiles.mapbox.com/mapbox-gl-js/v2.12.0/mapbox-gl.css' rel='stylesheet' /> | |
<style> | |
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
sudo apt-get uninstall nodejs # uninstall nodejs 4.2.6 | |
wget https://nodejs.org/dist/v6.6.0/node-v6.6.0-linux-armv7l.tar.gz # get latest ARM build | |
tar -xvf node-v6.6.0-linux-armv7l.tar.gz # extract it | |
sudo cp node-v6.6.0-linux-armv7l /etc/node6.6 # copy extracted file to /etc folder | |
sudo ln -s /etc/node6.6/bin/node /usr/bin/node # link the nodejs executable | |
sudo ln -s /etc/node6.6/bin/npm /usr/bin/npm # link the npm executable | |
node --version # should output v6.6.0 |
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
# building Visual Studio Code Debian package on ARM | |
# get source code | |
git clone [email protected]:Microsoft/vscode.git | |
cd vscode | |
# build debian package | |
./scripts/npm.sh install --arch=armhf | |
./node_modules/.bin/gulp vscode-linux-arm-build-deb |