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
# best practice: linux | |
nano ~/.pgpass | |
*:5432:*:username:password | |
chmod 0600 ~/.pgpass | |
# best practice: windows | |
edit %APPDATA%\postgresql\pgpass.conf | |
*:5432:*:username:password | |
# linux |
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> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"> | |
<meta name="viewport" content="initial-scale=1, maximum-scale=1,user-scalable=no"> | |
<title>FeatureLayer On Demand</title> | |
<link rel="stylesheet" href="https://js.arcgis.com/3.17/dijit/themes/claro/claro.css"> | |
<link rel="stylesheet" href="https://js.arcgis.com/3.17/esri/css/esri.css"> |
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
import org.springframework.http.HttpMethod; | |
import org.springframework.http.codec.ServerCodecConfigurer; | |
import org.springframework.security.authentication.ReactiveAuthenticationManager; | |
import org.springframework.security.web.server.authentication.AuthenticationWebFilter; | |
import org.springframework.security.web.server.util.matcher.ServerWebExchangeMatchers; | |
public class LoginWebFilter extends AuthenticationWebFilter { | |
private final ServerCodecConfigurer serverCodecConfigurer; | |
/** |
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 | |
SYSTEM_COLLECTIONURI_TRIM=`echo "${SYSTEM_COLLECTIONURI:22}"` | |
PROJECT_PATH="$SYSTEM_COLLECTIONURI_TRIM$SYSTEM_TEAMPROJECT/_git/$BUILD_REPOSITORY_NAME" | |
echo "org: $SYSTEM_COLLECTIONURI_TRIM" | |
echo "project: $SYSTEM_TEAMPROJECT" | |
echo "repo: $BUILD_REPOSITORY_NAME" | |
echo "path: $PROJECT_PATH" | |
FILECOUNT="$(find . -name packages.config | wc -l)" | |
echo "Found $FILECOUNT dependency file(s)." |
OlderNewer