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 main; | |
import java.util.ArrayList; | |
import java.util.Arrays; | |
import java.util.Random; | |
/** | |
* Created by Austin on 2/24/17. | |
*/ | |
public class MergeSort extends SortAlgorithm { |
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
2018/05/08 13:35:10 [INFO] Terraform version: 0.11.7 41e50bd32a8825a84535e353c3674af8ce799161 | |
2018/05/08 13:35:10 [INFO] Go runtime version: go1.10.1 | |
2018/05/08 13:35:10 [INFO] CLI args: []string{"/usr/local/bin/terraform", "init"} | |
2018/05/08 13:35:10 [DEBUG] Attempting to open CLI config file: /root/.terraformrc | |
2018/05/08 13:35:10 [DEBUG] File doesn't exist, but doesn't need to. Ignoring. | |
2018/05/08 13:35:10 [INFO] CLI command args: []string{"init"} | |
2018/05/08 13:35:10 [DEBUG] command: loading backend config file: /usr/local/src/terraform/vsphere_terrascript/src | |
2018/05/08 13:35:10 [INFO] command: empty terraform config, returning nil | |
2018/05/08 13:35:10 [DEBUG] command: no data state file found for backend config | |
2018/05/08 13:35:10 [DEBUG] New state was assigned lineage "ac7d8a5c-9b8e-ac26-b5ad-a6d01a7a05df" |
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 | |
# Debian Dev Environment Configuration | |
sudo apt-get -y update | |
sudo apt-get -y upgrade | |
res=$(sudo apt-get install -y git vim build-essential default-jre default-jdk apt-transport-https) | |
if [[ "$res" -ne 0 ]] ; then | |
echo "Unable to install git, vim, build-essential, default-jre, default-jdk, apt-transport-https)" | |
fi |
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 main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
type A struct { | |
ValA int `json:"valA"` | |
ValB int `json:"valB"` |
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 main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
type A struct { | |
ValA int `json:"valA"` | |
ValB int`json:"valB"` |
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 main | |
import ( | |
"encoding/json" | |
"fmt" | |
) | |
type A struct { | |
ValA int `json:"valA"` | |
ValB int`json:"valB"` |
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 main | |
import ( | |
"fmt" | |
) | |
type A struct { | |
ValA int `json:"valA"` | |
ValB int `json:"valB"` | |
} |
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
{"valA":99,"valB":1} | |
================== | |
WARNING: DATA RACE | |
Write at 0x00000066b9d0 by goroutine 8: | |
reflect.Value.SetInt() | |
/usr/local/go/src/reflect/value.go:1642 +0xfd | |
encoding/json.(*decodeState).literalStore() | |
/usr/local/go/src/encoding/json/decode.go:1002 +0x266e | |
encoding/json.(*decodeState).value() | |
/usr/local/go/src/encoding/json/decode.go:384 +0x307 |
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 main | |
import ( | |
"database/sql" | |
"encoding/json" | |
"fmt" | |
"strings" | |
"github.com/jmoiron/sqlx" | |
) |
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
{"valA":0,"valB":1} |
OlderNewer