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
.aspect-ratio { | |
display: block; | |
height: 0; /* we have padding-bottom instead height (content + padding - bottom) */ | |
padding-bottom: 56.25%; /* 16:9 ratio -> (9 ÷ 16) × 100 = 56.25 */ | |
overflow: hidden; | |
} |
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 | |
##################################################### | |
# Name: Bash CheatSheet for Mac OSX | |
# | |
# A little overlook of the Bash basics | |
# | |
# Usage: | |
# | |
# Author: J. Le Coupanec | |
# Date: 2014/11/04 |
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
# Get a geojson with 4326 projection from a shapefile | |
ogr2ogr -f GeoJSON -t_srs crs:84 name.geojson name.shp | |
# -f format_name: GeoJSON (ESRI Shapefile, GML, MapInfo file...) | |
# -t_srs: Reproject/transform to this SRS on output (crs:84 is WGS84) |