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
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
/** | |
* A sample application showing a JTable. | |
* | |
* @author Zachary Seguin | |
* @version 1.0 (6/6/2012) | |
*/ |
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
import java.awt.*; | |
import java.awt.event.*; | |
import javax.swing.*; | |
public class JOptionPaneExample | |
{ | |
public static void main(String [] args) | |
{ | |
int returnValue = 0; | |
returnValue = JOptionPane.showConfirmDialog(null, "Are you sure you want to exit?", "Are you sure?", JOptionPane.YES_NO_OPTION); |
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
❯ curl -v4 https://external.fyyc1-1.fna.fbcdn.net | |
* Rebuilt URL to: https://external.fyyc1-1.fna.fbcdn.net/ | |
* Trying 209.148.161.81... | |
* TCP_NODELAY set | |
* Connected to external.fyyc1-1.fna.fbcdn.net (209.148.161.81) port 443 (#0) | |
* TLS 1.2 connection using TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256 | |
* Server certificate: *.fyyc1-1.fna.fbcdn.net | |
* Server certificate: DigiCert SHA2 High Assurance Server CA | |
* Server certificate: DigiCert High Assurance EV Root CA | |
> GET / HTTP/1.1 |
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
// Based on https://codegists.com/snippet/javascript/indexjs_aljs_javascript | |
// (found from https://forums.developer.apple.com/thread/103790) | |
// npm install jsonwebtoken | |
"use strict"; | |
const fs = require("fs"); | |
const jwt = require("jsonwebtoken"); |
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
apiVersion: apps/v1 | |
kind: DaemonSet | |
metadata: | |
name: sh | |
namespace: kube-system | |
spec: | |
selector: | |
matchLabels: | |
app: sh | |
template: |
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
diff --git a/parts/k8s/addons/azure-network-policy.yaml b/parts/k8s/addons/azure-network-policy.yaml | |
index 065e541ca..c86364366 100644 | |
--- a/parts/k8s/addons/azure-network-policy.yaml | |
+++ b/parts/k8s/addons/azure-network-policy.yaml | |
@@ -75,10 +75,15 @@ spec: | |
spec: | |
priorityClassName: system-node-critical | |
tolerations: | |
+ - operator: "Exists" | |
+ effect: NoExecute |
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
diff --git a/hack/tools/go.mod b/hack/tools/go.mod | |
index 3ed02f823..52ca1cacc 100644 | |
--- a/hack/tools/go.mod | |
+++ b/hack/tools/go.mod | |
@@ -11,6 +11,7 @@ require ( | |
github.com/golang/groupcache v0.0.0-20191227052852-215e87163ea7 // indirect | |
github.com/golang/mock v1.2.0 | |
github.com/konsorten/go-windows-terminal-sequences v1.0.2 // indirect | |
+ github.com/mattn/goveralls v0.0.8 // indirect | |
github.com/mitchellh/gox v1.0.1 |