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
static_resources: | |
listeners: | |
- address: | |
socket_address: | |
address: 0.0.0.0 | |
port_value: 443 | |
filter_chains: | |
- filters: | |
- name: envoy.filters.network.http_connection_manager | |
typed_config: |
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: ngrok.com/v1alpha1 | |
kind: Ngrok | |
metadata: | |
name: helloworld-ngrok | |
namespace: helloworld | |
spec: | |
# protocol used, currently support http & tcp | |
# tcp is less tested, please create issue | |
# default is http | |
protocol: http |
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: networking.istio.io/v1alpha3 | |
kind: EnvoyFilter | |
metadata: | |
name: helloworld-ef | |
namespace: helloworld | |
spec: | |
workloadSelector: | |
labels: | |
app: helloworld | |
version: v1 |
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: Namespace | |
metadata: | |
name: nginx-example | |
labels: | |
app: nginx | |
--- | |
kind: PersistentVolumeClaim |
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: Namespace | |
metadata: | |
name: nginx-example | |
labels: | |
app: nginx | |
--- | |
apiVersion: apps/v1 |
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
package com.bootcamp.battleship; | |
import java.util.Arrays; | |
public class Map { | |
private String[][] map; | |
private int grid; | |
public Map(int grid) { | |
int minArray = 1; |
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
package com.bootcamp.battleship; | |
import java.util.ArrayList; | |
public class Player { | |
public static final String SHIP_VALUE = "B"; | |
public Map map; | |
private String name; | |
private ArrayList<Coordinate> missile = new ArrayList<Coordinate>(); |
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
filter { | |
if "modsecurity" in [tags] { | |
########################### | |
##### start of filter ##### | |
########################### | |
##### section split ##### | |
ruby { |
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
filter { | |
if "modsecurity" in [tags] { | |
########################### | |
##### start of filter ##### | |
########################### | |
##### section split ##### | |
ruby { |
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
// DHT | |
#include <dht.h> | |
// Wifi | |
#include <ESP8266WiFi.h> | |
#include <WiFiClientSecure.h> | |
// MQTT | |
#include <PubSubClient.h> |
NewerOlder