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
/*################ TOOLTIP #############################*/ | |
function getTagsFromCommaSeparatedStrings(tags) { | |
return tags.split(',').map(function(v) { | |
return '<li><div class="tag">' + v + '</div></li> ' | |
}).join(''); | |
} | |
function tooltipContent(item) { |
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 | |
# Sample Usage | |
# python publishShapefiles.py -u https://www.arcgis.com -o username -s password -p 'path/to/my/shapefiles' | |
import argparse | |
import json | |
import os | |
import time | |
import csv |
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
https://nassgeodata.gmu.edu/CropScape/devhelp/cdlwms.html | |
https://nassgeodata.gmu.edu/axis2/services/CDLService?wsdl | |
https://lyux.shinyapps.io/Shiny_CDL/ | |
https://github.com/KnoxMPC/ETIndexMaps/blob/7a4af332df5d456da575f16558b7b3d5df8e0631/0403_CropProduction.html | |
https://crop.csiss.gmu.edu/cgi-bin/wms_cdlall.cgi?SRS=EPSG%3A102004&LAYERS=cdl_2018&FORMAT=image%2Fpng&TRANSPARENT=true&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&STYLES=&EXCEPTIONS=application%2Fvnd.ogc.se_inimage&BBOX=-1436468.3021545,2785471.3058329,-1436010.3160799,2785929.2919075&WIDTH=256&HEIGHT=256 |
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
REM Problems with Excon | |
Error: Unable to verify certificate, please set `Excon.defaults[:ssl_ca_path] = path_to_certs`, `Excon.defaults[:ssl_ca_file] = path_to_file`, or `Excon.defaults[:ssl_verify_peer] = false` (less secure). (Excon::Errors::SocketError) | |
Excon.defaults[:ssl_verify_peer] = false | |
propmt>set SSL_CERT_FILE=C:\HashiCorp\Vagrant\embedded\cacert.pem |
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
<membership defaultProvider="MongodbSimpleMembershipProvider"> | |
<providers> | |
<add name="MongodbSimpleMembershipProvider" type="MongoDBExtendedMembershipProvider.MongodbSimpleMembershipProvider" connectionString="mongodb://localhost:27017" enablePasswordRetrieval="false" enablePasswordReset="true" requiresQuestionAndAnswer="false" requiresUniqueEmail="true" maxInvalidPasswordAttempts="3" minRequiredPasswordLength="6" minRequiredNonalphanumericCharacters="1" passwordAttemptWindow="10" applicationName="/" /> | |
</providers> | |
</membership> | |
<roleManager enabled="true" defaultProvider="MongoDBSimpleRoleProvider"> | |
<providers> | |
<add name="MongoDBSimpleRoleProvider" type="MongoDBExtendedMembershipProvider.MongoDBSimpleRoleProvider" connectionString="mongodb://localhost:27017" applicationName="/" /> | |
</providers> | |
</roleManager> |
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
DECLARE @XmlDocument XML; | |
SET @XmlDocument = (select TOP 1 * FROM BRO.Dialogs FOR XML AUTO, BINARY BASE64, ROOT('root')); | |
declare @SQL varchar(max), @SQL2 varchar(max), @SQL3 varchar(max); | |
select @SQL = coalesce(@SQL + ','+ space(1),' ') + quotename(COLUMN_NAME), | |
@SQL2 = coalesce(@SQL2 + ',' + space(1),' ') + (CASE WHEN DATA_TYPE = 'binary' | |
THEN 'dbo.f_Base64ToBinary(' + COLUMN_NAME + ')' | |
ELSE COLUMN_NAME END), | |
@SQL3 = coalesce(@SQL3 + ',' + space(1),' ') + (CASE WHEN DATA_TYPE = 'binary' |