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
<string-array name="cityArrayList"> | |
<item>Adana</item> | |
<item>Adıyaman</item> | |
<item>Afyon</item> | |
<item>Ağrı</item> | |
<item>Amasya</item> | |
<item>Ankara</item> | |
<item>Antalya</item> | |
<item>Artvin</item> | |
<item>Aydın</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
HashMap<String, String> cityMap = new HashMap<String,String>(); | |
private String getCityCode(String cityName){ | |
return cityMap.get(cityName); | |
} | |
private void initCityCodes(){ | |
cityMap.put("Adana", "01"); | |
cityMap.put("Adıyaman", "02"); | |
cityMap.put("Afyon", "03"); |
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
apiVersion: v1 | |
kind: ServiceAccount | |
metadata: | |
name: tiller | |
namespace: kube-system | |
--- | |
apiVersion: rbac.authorization.k8s.io/v1beta1 | |
kind: ClusterRoleBinding | |
metadata: | |
name: tiller |
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 | |
ip=$1 | |
counter=$2 | |
end=-1 | |
if [ -z ${3+x} ]; | |
then | |
end=16383 | |
echo "max slot not specified. auto set to 16383"; |