This file contains hidden or 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
const NLCD_LAYER = 'mrlc_display:NLCD_2016_Land_Cover_L48'; |
This file contains hidden or 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
<Layer queryable="1" opaque="0"> | |
<Name>mrlc_display:NLCD_2016_Land_Cover_L48</Name> | |
<Title>NLCD_2016_Land_Cover_L48</Title> | |
<CRS>EPSG:3857</CRS> | |
<CRS>CRS:84</CRS> | |
<BoundingBox CRS="CRS:84" minx="-180.00000000000003" miny="-85.06" maxx="180.00000000000003" maxy="85.06"/> | |
<BoundingBox CRS="EPSG:3857" minx="-2.0037508342789244E7" miny="-2.00489661040146E7" maxx="2.0037508342789244E7" maxy="2.0048966104014594E7"/> | |
</Layer> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or 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
git config filter.lfs.process = "git-lfs filter-process --skip" | |
git config filter.lfs.smudge = "git-lfs clean --skip %f" | |
git config filter.lfs.clean = "git-lfs clean -- %f" |
This file contains hidden or 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
gcloud compute config-ssh --project myproject | |
rsync -avz -e ssh . vm_name.zone.myproject:/home/user/folder |
This file contains hidden or 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
docker stop $(docker ps -a -q) | |
docker rm $(docker ps -a -q) |
This file contains hidden or 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
color_table = """ | |
0: 0,0,0,255 | |
1: 0,0,0,255 | |
2: 0,0,0,255 | |
3: 0,0,0,255 | |
4: 0,0,0,255 | |
5: 0,0,0,255 | |
6: 0,0,0,255 | |
7: 0,0,0,255 | |
8: 0,0,0,255 |
This file contains hidden or 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
# Look for client IP in the X-Forwarded-For header | |
real_ip_header X-Forwarded-For; | |
# Ignore trusted IPs | |
real_ip_recursive on; | |
# Set VPC subnet as trusted | |
set_real_ip_from 10.0.0.0/16; | |
# Set CloudFront subnets as trusted |
This file contains hidden or 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
CREATE OR REPLACE FUNCTION array_bounds(actual integer[], upper integer[], lower integer[]) RETURNS boolean | |
AS $$ | |
DECLARE | |
length integer; | |
BEGIN | |
IF actual is NULL THEN | |
RETURN FALSE; | |
END IF; | |
SELECT array_length(actual, 1) into length; |