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
| package main | |
| import ( | |
| "compress/gzip" | |
| "compress/zlib" | |
| "context" | |
| "encoding/json" | |
| "flag" | |
| "fmt" | |
| "io" |
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
| package main | |
| import ( | |
| "net/http" | |
| "github.com/elastic/apm-agent-go/module/apmhttp" | |
| "github.com/elastic/apm-agent-go/module/apmsql" | |
| _ "github.com/elastic/apm-agent-go/module/apmsql/sqlite3" | |
| ) |
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
| // +build gofuzz | |
| package model | |
| import ( | |
| "bytes" | |
| "encoding/json" | |
| "github.com/elastic/apm-agent-go/internal/fastjson" | |
| error_processor "github.com/elastic/apm-server/processor/error" |
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
| swagger: "2.0" | |
| info: | |
| description: Elastic APM intake API | |
| title: Elastic APM | |
| version: "1.0" | |
| schemes: | |
| - http | |
| basePath: "/v1" | |
| paths: | |
| /transactions: |
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
| public class Main { | |
| public static void main(String []args) throws Exception { | |
| pushy.Client client = new pushy.Client("local:", null); | |
| try { | |
| NumpyModule m = new NumpyModule(client); | |
| System.out.println(m.array(m.mat("1 2; 3 4"))); | |
| } finally { | |
| client.close(); | |
| } | |
| } |
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
| package main | |
| import ( | |
| "fmt" | |
| "log" | |
| "github.com/Azure/azure-sdk-for-go/arm/resources/subscriptions" | |
| "github.com/Azure/go-autorest/autorest/azure" |
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
| package main | |
| import ( | |
| "fmt" | |
| "time" | |
| "github.com/juju/gnuflag" | |
| ) | |
| type waitFlag struct { |
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
| #!/bin/sh | |
| exec $0.real --sysroot=$SNAP $* |
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
| name: gcc | |
| version: 0 # the version of the snap | |
| summary: ... | |
| description: ... | |
| apps: | |
| gcc: | |
| command: usr/bin/gcc --sysroot=/snap/gcc/current | |
| plugs: [home] |
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
| package main | |
| import ( | |
| "fmt" | |
| "io" | |
| "regexp" | |
| "strings" | |
| "github.com/lestrrat/go-jsschema" | |
| ) |