Source: https://www.baeldung.com/oracle-jdk-vs-openjdk
The following implementations, listed in alphabetical order, are open source and free to use:
AdoptOpenJDK
Amazon Corretto
Azul Zulu
Bck2Brwsr
services: | |
- docker:dind | |
stages: | |
- development | |
- production | |
variables: | |
DOCKER_DRIVER: overlay2 | |
DOCKER_TLS_CERTDIR: '' |
package main | |
import ( | |
"context" | |
"net/http" | |
"time" | |
) | |
func main() { | |
ctx := context.Background() |
package main | |
import ( | |
"fmt" | |
"io" | |
"log" | |
"os" | |
) | |
func main() { |
var isIPadOs = window.AuthenticatorAssertionResponse === undefined | |
&& window.AuthenticatorAttestationResponse === undefined | |
&& window.AuthenticatorResponse === undefined | |
&& window.Credential === undefined | |
&& window.CredentialsContainer === undefined | |
&& window.DeviceMotionEvent !== undefined | |
&& window.DeviceOrientationEvent !== undefined | |
&& navigator.maxTouchPoints === 5 | |
&& navigator.plugins.length === 0 | |
&& navigator.platform !== "iPhone"; |
script { | |
while (true) { | |
def cmd = input(message: 'Jenkins Interactive Shell', parameters: [ | |
string(name: 'cmd', description: 'Enter a command or leave blank to continue job.', defaultValue: '') | |
], ok: 'Execute') | |
if (cmd == '') { print 'Continuing job...'; break; } | |
try { sh cmd } catch (err) { } | |
} | |
} |
Source: https://www.baeldung.com/oracle-jdk-vs-openjdk
The following implementations, listed in alphabetical order, are open source and free to use:
AdoptOpenJDK
Amazon Corretto
Azul Zulu
Bck2Brwsr
#!/usr/bin/env bash | |
set -e | |
app_name=$1 | |
dry_run=${2:-false} | |
declare -a locations=( | |
/Applications | |
~/Library/Application\ Support | |
~/Library/Preferences |
"""This script will print the header, packet headers, packets, and the footer for any format.""" | |
import subprocess as sp | |
import re | |
import os | |
def create_pcap(): | |
if not os.path.exists("temp.pcapng"): | |
sp.call(["tshark", "-w", "temp.pcapng", "-c", "3"]) | |
return "temp.pcapng" |
#!/usr/bin/env python | |
"""Wrapper tool for writing aws credentials into profiles.""" | |
import argparse | |
import configparser | |
import platform | |
import subprocess | |
from os import path | |
from shutil import which | |
parser = argparse.ArgumentParser(description='Wrapper script for aws-okta tool.') |