- Sign up for the Beta Program https://beta.apple.com/sp/betaprogram.
- Create a Time Machine Backup (just in case).
- Cmd + Space -> Software Update.
| Bob |
| import com.sun.jna.Platform; | |
| import com.sun.jna.platform.win32.Kernel32; | |
| import com.sun.jna.platform.win32.Kernel32Util; | |
| import com.sun.jna.platform.win32.WinNT; | |
| import com.sun.jna.ptr.IntByReference; | |
| class Scratch { | |
| public static void main(final String[] args) { | |
| System.out.println("Is 64-bit OS? " + is64BitOS()); |
| package com.example.generator; | |
| import com.pholser.junit.quickcheck.Pair; | |
| import com.pholser.junit.quickcheck.generator.Gen; | |
| import com.pholser.junit.quickcheck.generator.GenerationStatus; | |
| import com.pholser.junit.quickcheck.generator.Generator; | |
| import com.pholser.junit.quickcheck.generator.InRange; | |
| import com.pholser.junit.quickcheck.generator.java.lang.IntegerGenerator; | |
| import com.pholser.junit.quickcheck.random.SourceOfRandomness; | |
| import com.squareup.javapoet.*; |
I hereby claim:
To claim this, I am signing this object:
| function podsready { | |
| kubectl --request-timeout=1s get --all-namespaces pod -o json | jq '.items[].status.containerStatuses[0].ready' | |
| } | |
| function wait_for_pods { | |
| echo -n "waiting for pods to start" | |
| sleep 1 | |
| until | |
| podsready | grep -q true | |
| do |
I have a couple of cmd apps with some imports:
cmd/monitorrules/main.go:
package main
import (
"bufio"
"fmt"
"io/ioutil"| import sbt._ | |
| import Keys._ | |
| import sbt.internal.BuildStructure | |
| object SbtUpdatesOnLoadPlugin extends AutoPlugin { | |
| override def trigger = allRequirements | |
| override def globalSettings: Seq[Setting[_]] = Seq( | |
| onLoad := { |
| ❯ TF_LOG=trace terraform plan | |
| 2020/03/17 18:35:06 [INFO] Terraform version: 0.12.23 | |
| 2020/03/17 18:35:06 [INFO] Go runtime version: go1.12.13 | |
| 2020/03/17 18:35:06 [INFO] CLI args: []string{"/usr/local/Cellar/tfenv/1.0.2/versions/0.12.23/terraform", "plan"} | |
| 2020/03/17 18:35:06 [DEBUG] Attempting to open CLI config file: /Users/jason/.terraformrc | |
| 2020/03/17 18:35:06 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
| 2020/03/17 18:35:06 [INFO] CLI command args: []string{"plan"} | |
| 2020/03/17 18:35:06 [TRACE] Meta.Backend: no config given or present on disk, so returning nil config | |
| 2020/03/17 18:35:06 [TRACE] Meta.Backend: backend has not previously been initialized in this working directory | |
| 2020/03/17 18:35:06 [DEBUG] New state was assigned lineage "b7d7f93e-5dfa-a01a-61c0-8afc255a5b65" |