commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
356ce08f4fdb669e7e942abf81a62f0ee87deda2 | controllers/post_create_controller.go | controllers/post_create_controller.go | package controllers
import (
"net"
"github.com/ohrite/gopher"
. "github.com/ohrite/gopherchan/models"
)
type PostCreateController struct {
Host string
Port string
}
func NewPostCreateController(host string, port string) (*PostCreateController) {
return &PostCreateController{
Host: host,
Port: por... | package controllers
import (
"net"
"github.com/ohrite/gopher"
. "github.com/ohrite/gopherchan/models"
)
type PostCreateController struct {
Host string
Port string
}
func NewPostCreateController(host string, port string) (*PostCreateController) {
return &PostCreateController{
Host: host,
Port: por... | Use request body instead of body url part | Use request body instead of body url part
| Go | mit | ohrite/gopherchan |
fa29ff22124b41e30360b83b93072fbab53d99b8 | pkg/parsers/operatingsystem/operatingsystem_unix.go | pkg/parsers/operatingsystem/operatingsystem_unix.go | // +build freebsd darwin
package operatingsystem // import "github.com/docker/docker/pkg/parsers/operatingsystem"
import (
"errors"
"fmt"
"os/exec"
)
// GetOperatingSystem gets the name of the current operating system.
func GetOperatingSystem() (string, error) {
cmd := exec.Command("uname", "-s")
osName, err :=... | // +build freebsd darwin
package operatingsystem // import "github.com/docker/docker/pkg/parsers/operatingsystem"
import (
"errors"
"os/exec"
)
// GetOperatingSystem gets the name of the current operating system.
func GetOperatingSystem() (string, error) {
cmd := exec.Command("uname", "-s")
osName, err := cmd.Ou... | Fix compiling pkg/parsers/operatingsystem on unix | Fix compiling pkg/parsers/operatingsystem on unix
fmt.Error does not exist. I've replaced it with errors.New.
Signed-off-by: Simon Barendse <03c0ceaf957a92b2c393cf533c9b30f21c95c52c@gmail.com>
| Go | apache-2.0 | Ramzec/docker,nawawi/docker,bearstech/moby,flavio/docker,Mokolea/docker,moby/moby,trebonian/docker,justincormack/docker,yosifkit/docker,vdemeester/docker,jvanz/docker,gnailuy/docker,jameszhan/docker,estesp/docker,SvenDowideit/docker,SvenDowideit/docker,paralin/docker,nawawi/docker,trebonian/docker,paralin/docker,mahak/... |
3a0d6040f1aff871e9354bfd657c59e45edcfcc9 | client/driver/executor/executor_windows.go | client/driver/executor/executor_windows.go | package executor
import (
"os/exec"
"time"
"golang.org/x/sys/windows"
)
func (e *UniversalExecutor) LaunchSyslogServer(ctx *ExecutorContext) (*SyslogServerState, error) {
return nil, nil
}
func (e *UniversalExecutor) wait() {
defer close(e.processExited)
err := e.cmd.Wait()
ic := &cstructs.IsolationConfig{Cg... | package executor
import (
"os/exec"
"time"
cstructs "github.com/hashicorp/nomad/client/driver/structs"
"golang.org/x/sys/windows"
)
func (e *UniversalExecutor) LaunchSyslogServer(ctx *ExecutorContext) (*SyslogServerState, error) {
return nil, nil
}
func (e *UniversalExecutor) wait() {
defer close(e.processExi... | Fix executor builds on Windows | Fix executor builds on Windows
| Go | mpl-2.0 | iverberk/nomad,mattyr/nomad,iverberk/nomad,dbresson/nomad,dbresson/nomad,dbresson/nomad,dvusboy/nomad,jorgemarey/nomad,hashicorp/nomad,xytis/nomad,frundh/nomad,achanda/nomad,martin416/nomad,diptanu/nomad,frundh/nomad,Ashald/nomad,iverberk/nomad,iverberk/nomad,Ashald/nomad,kmalec/nomad,diptanu/nomad,hooklift/nomad,barna... |
e0d13239b8f0aa9e11e2fe9ad0e70fdd01939be8 | clique/go/bit_vector.go | clique/go/bit_vector.go | package clique
import "fmt"
type BitVector uint64
func (b *BitVector) Set(i int) {
checkBitIndex(i)
*b |= (1 << uint(i))
}
func (b BitVector) Has(i int) bool {
checkBitIndex(i)
return b&(1<<uint(i)) != 0
}
func (b BitVector) Intersect(c BitVector) BitVector {
return b & c
}
func (b BitVector) Slice() []int {... | package clique
type BitVector uint64
func (b *BitVector) Set(i int) {
*b |= (1 << uint(i))
}
func (b BitVector) Has(i int) bool {
return b&(1<<uint(i)) != 0
}
func (b BitVector) Intersect(c BitVector) BitVector {
return b & c
}
func (b BitVector) Slice() []int {
s := []int{}
for i := 0; i < 64; i++ {
if b.H... | Remove bit vector index check | [clique/go] Remove bit vector index check
The proper way to handle out-of-range indexes would be by returning an error.
But let's not bloat the code with error checks that are superfluous for a toy
project.
| Go | mit | peferron/algo,peferron/algo,peferron/algo,peferron/algo,peferron/algo,peferron/algo |
3144607263b91c2ea93a5dfc91dcf9a6c4c3f133 | controllers/default.go | controllers/default.go | package controllers
import (
"github.com/astaxie/beego"
)
type MainController struct {
beego.Controller
}
func (this *PingController) Prepare() {
this.Ctx.Output.Context.ResponseWriter.Header().Set("X-Docker-Registry-Version", beego.AppConfig.String("Version"))
this.Ctx.Output.Context.ResponseWriter.Header().S... | package controllers
import (
"github.com/astaxie/beego"
)
type MainController struct {
beego.Controller
}
func (this *MainController) Prepare() {
this.Ctx.Output.Context.ResponseWriter.Header().Set("X-Docker-Registry-Version", beego.AppConfig.String("Version"))
this.Ctx.Output.Context.ResponseWriter.Header().Set... | Fix the error controller name. | Fix the error controller name.
| Go | mit | astaxie/docker-registry,yonh/wharf,maquanyi/wharf,maquanyi/wharf,yonh/wharf |
3ebcfb5c509c2c3cac2b111d5faaaa17f671c852 | resource/charmstore/client.go | resource/charmstore/client.go | // Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package charmstore
import (
"io"
"gopkg.in/juju/charm.v6-unstable"
)
// Client exposes the functionality of a charm store client as needed
// for charm store operations for Juju resources.
type Client interface {
io.Clos... | // Copyright 2016 Canonical Ltd.
// Licensed under the AGPLv3, see LICENCE file for details.
package charmstore
import (
"io"
"gopkg.in/juju/charm.v6-unstable"
charmresource "gopkg.in/juju/charm.v6-unstable/resource"
)
// Client exposes the functionality of a charm store client as needed
// for charm store opera... | Split out a BaseClient interface and add a ListResources() method. | Split out a BaseClient interface and add a ListResources() method.
| Go | agpl-3.0 | mikemccracken/juju,macgreagoir/juju,gabriel-samfira/juju,macgreagoir/juju,dimitern/juju,gabriel-samfira/juju,mikemccracken/juju,axw/juju,AdamIsrael/juju,bz2/juju,anastasiamac/juju,bac/juju,bogdanteleaga/juju,bogdanteleaga/juju,bac/juju,reedobrien/juju,howbazaar/juju,frankban/juju,mjs/juju,anastasiamac/juju,dooferlad/ju... |
4eed07db53f99f7845589b282cc54466d7ccb110 | leetcode/240_search_a_2d_matrix_ii.go | leetcode/240_search_a_2d_matrix_ii.go | package leetcode
func searchMatrix(matrix [][]int, target int) bool {
for _, nums := range matrix {
left, right := 0, len(nums)-1
for left <= right {
mid := (left + right) / 2
if nums[mid] == target {
return true
} else if nums[mid] < target {
left = mid + 1
} else {
right = mid - 1
}
... | package leetcode
func searchMatrix(matrix [][]int, target int) bool {
if matrix == nil || len(matrix) == 0 || len(matrix[0]) == 0 {
return false
}
col, row := len(matrix[0])-1, 0
for col >= 0 && row < len(matrix) {
if matrix[row][col] == target {
return true
} else if matrix[row][col] < target {
row++... | Fix 240. Search a 2D Matrix II to implement O(n+m) solution | Fix 240. Search a 2D Matrix II to implement O(n+m) solution
| Go | mit | motomux/go-algo |
439ea6ca7522d30ca0c0f43ce419e65c93fb32f5 | gitea/miscellaneous.go | gitea/miscellaneous.go | // Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package gitea
// MarkdownOption markdown options
type MarkdownOption struct {
Text string
Mode string
Context string
Wiki bool
}
type ServerVer... | // Copyright 2015 The Gogs Authors. All rights reserved.
// Use of this source code is governed by a MIT-style
// license that can be found in the LICENSE file.
package gitea
// MarkdownOption markdown options
type MarkdownOption struct {
Text string
Mode string
Context string
Wiki bool
}
// ServerVersi... | Add comment for exported struct and method | Add comment for exported struct and method
| Go | mit | go-gitea/go-sdk |
1337895751efda0a928dcf40a58db6577513c513 | cli-plugins/manager/suffix_windows.go | cli-plugins/manager/suffix_windows.go | package manager
import (
"strings"
"github.com/pkg/errors"
)
func trimExeSuffix(s string) (string, error) {
exe := ".exe"
if !strings.HasSuffix(s, exe) {
return "", errors.Errorf("lacks required %q suffix", exe)
}
return strings.TrimSuffix(s, exe), nil
}
func addExeSuffix(s string) string {
return s + ".ex... | package manager
import (
"path/filepath"
"strings"
"github.com/pkg/errors"
)
// This is made slightly more complex due to needing to be case insensitive.
func trimExeSuffix(s string) (string, error) {
ext := filepath.Ext(s)
if ext == "" {
return "", errors.Errorf("path %q lacks required file extension", s)
}... | Check for `.exe` case insensitively | Check for `.exe` case insensitively
On Windows `foo.exe`, `foo.eXe` and `foo.EXE` are equally executable.
Signed-off-by: Ian Campbell <a8db091655a7f47ecb9c39a2d278e9662e440dc0@docker.com>
| Go | apache-2.0 | cpuguy83/cli,thaJeztah/cli,docker/cli,docker/cli,cpuguy83/cli,thaJeztah/cli |
42cb4ec74af075ef77eedf5fc7a3e7b8e31649e6 | locker_exnb_windows.go | locker_exnb_windows.go | package main
import (
"errors"
"fmt"
"os"
)
type lockerEXNB struct {
}
func newLockerEXNB() *lockerEXNB {
return new(lockerEXNB)
}
func (l *lockerEXNB) lock(file *os.File) error {
msg := "setlock: fatal: windows doesn't support no delay mode"
fmt.Fprintf(os.Stderr, msg)
return errors.New(msg)
}
| package main
import (
"errors"
"fmt"
"os"
)
type lockerEXNB struct {
}
func newLockerEXNB() *lockerEXNB {
return new(lockerEXNB)
}
func (l *lockerEXNB) lock(file *os.File) error {
msg := "setlock: fatal: windows doesn't support no delay mode"
fmt.Fprintf(os.Stderr, "%s\n", msg)
return errors.New(msg)
}
| Append a new line to error message | Append a new line to error message
| Go | mit | mattn/go-setlock,moznion/go-setlock,moznion/go-setlock,mattn/go-setlock,maroekun/go-setlock,maroekun/go-setlock |
f7838042f1f316c5d48c843696d27b384b467d07 | plugins/reply/reply.go | plugins/reply/reply.go | package reply
import (
"regexp"
"github.com/tucnak/telebot"
"github.com/asdine/storm"
"github.com/focusshifter/muxgoob/registry"
)
type ReplyPlugin struct {
}
var db *storm.DB
func init() {
registry.RegisterPlugin(&ReplyPlugin{})
}
func (p *ReplyPlugin) Start(sharedDb *storm.DB) {
db = sharedDb
}
func (p ... | package reply
import (
"regexp"
"math/rand"
"time"
"github.com/tucnak/telebot"
"github.com/asdine/storm"
"github.com/focusshifter/muxgoob/registry"
)
type ReplyPlugin struct {
}
var db *storm.DB
var rng *rand.Rand
func init() {
registry.RegisterPlugin(&ReplyPlugin{})
}
func (p *ReplyPlugin) Start(sharedDb... | Allow to react to the questions and printing 'chat specs' | Allow to react to the questions and printing 'chat specs'
| Go | mit | focusshifter/muxgoob |
587ee141548af5fe6f241ee13e759bd12da209b9 | crontask/crontask.go | crontask/crontask.go | // Copyright 2014 Alea Soluciones SLL. All rights reserved. Use of this
// source code is governed by a MIT-style license that can be found in the
// LICENSE file.
package crontask
import (
"log"
"time"
"github.com/gorhill/cronexpr"
)
type CronTask struct {
task func()
cronTime string
}
func New(task fun... | // Copyright 2014 Alea Soluciones SLL. All rights reserved. Use of this
// source code is governed by a MIT-style license that can be found in the
// LICENSE file.
package crontask
import (
"log"
"time"
"github.com/gorhill/cronexpr"
)
type CronTask struct {
task func()
cronTime string
}
func New(task fun... | Remove senseless trace log of a function_memory_address | Remove senseless trace log of a function_memory_address
| Go | mit | aleasoluciones/goaleasoluciones |
7217b8951e619aa1a5fb5c3fce50392630e470ce | metrics/metrics_test.go | metrics/metrics_test.go | package metrics
import (
"testing"
"github.com/icecrime/octostats/fixtures"
"github.com/icecrime/octostats/github"
)
func TestCollectIssues(t *testing.T) {
fixtures.Setup()
fixtures.SetupMux(t, "issues")
defer fixtures.TearDown()
r := github.NewGitHubRepositoryWithClient("docker", "docker", fixtures.Client)
... | package metrics
import (
"testing"
"github.com/icecrime/octostats/fixtures"
"github.com/icecrime/octostats/github"
)
func TestCollectIssues(t *testing.T) {
fixtures.Setup()
fixtures.SetupMux(t, "issues")
defer fixtures.TearDown()
r := github.NewGitHubRepositoryWithClient("docker", "docker", fixtures.Client)
... | Remove buffered channel from the metrics test. | Remove buffered channel from the metrics test.
Signed-off-by: David Calavera <b9b0c8e7f90ecf337f6797c4d2e0f1dd0dbc0324@gmail.com>
| Go | apache-2.0 | icecrime/octostats |
ff05bb523b574b14c16dc8ac5744ab2d7a08a9b7 | config/entries.go | config/entries.go | package config
import (
"encoding/json"
"io"
"github.com/gsamokovarov/jump/scoring"
)
// ReadEntries returns the current entries for the config.
//
// If the scores file is empty, the returned entries are empty.
func (c *Config) ReadEntries() (*scoring.Entries, error) {
var entries *scoring.Entries
scoresFile,... | package config
import (
"encoding/json"
"io"
"github.com/gsamokovarov/jump/scoring"
)
// ReadEntries returns the current entries for the config.
//
// If the scores file is empty, the returned entries are empty.
func (c *Config) ReadEntries() (*scoring.Entries, error) {
var entries scoring.Entries
scoresFile, ... | Fix a null pointer reference on the very first run of jump | Fix a null pointer reference on the very first run of jump
This is what you get for non having a integration testing suite and
playing around with pointers.
| Go | mit | gsamokovarov/jump |
57c51c8af30bbe791e513bc0de32e99349459269 | cli/config/credentials/default_store_unsupported.go | cli/config/credentials/default_store_unsupported.go | // +build !windows,!darwin,!linux
package credentials
const defaultCredentialsStore = ""
| // +build !windows,!darwin,!linux
package credentials
func defaultCredentialsStore() string {
return ""
}
| Fix compilation of defaultCredentialStore() on unsupported platforms | Fix compilation of defaultCredentialStore() on unsupported platforms
Signed-off-by: Ivan Markin <8d4c780fcfdc41841e5070f4c43da8958ba6aec0@nogoegst.net>
| Go | apache-2.0 | thaJeztah/cli,thaJeztah/cli,docker/cli,docker/cli,cpuguy83/cli,dnephin/cli,cpuguy83/cli,dnephin/cli |
499af57d5377c8eb31096424f900fbb309c6d2a1 | cmd/turtle/random_test.go | cmd/turtle/random_test.go | package main
import (
"testing"
)
func TestRunRandom(t *testing.T) {
tests := []struct {
name string
args []string
wantErr bool
}{
{
name: "success",
args: nil,
wantErr: false,
},
}
for _, tt := range tests {
t.Run(tt.name, func(t *testing.T) {
if err := runRandom(nil, tt.args... | package main
import "testing"
func TestRunRandom(t *testing.T) {
tests := []cmdTestCase{{
name: "random",
args: []string{"random"},
wantError: false,
}}
runTestCmd(t, tests)
}
| Refactor test for random cmd | Refactor test for random cmd
| Go | mit | hackebrot/turtle |
33202215fe2182bb02afbe8220b4ed60f54f9833 | codabar/encoder_test.go | codabar/encoder_test.go | package codabar
import (
"image/color"
"testing"
)
func Test_Encode(t *testing.T) {
_, err := Encode("FOOBAR")
if err == nil {
t.Error("\"FOOBAR\" should not be encodable")
}
testEncode := func(txt, testResult string) {
code, err := Encode(txt)
if err != nil || code == nil {
t.Fail()
} else {
if ... | package codabar
import (
"image/color"
"testing"
)
func Test_Encode(t *testing.T) {
_, err := Encode("FOOBAR")
if err == nil {
t.Error("\"FOOBAR\" should not be encodable")
}
testEncode := func(txt, testResult string) {
code, err := Encode(txt)
if err != nil || code == nil {
t.Fail()
} else {
if ... | Update test case for updated 'B' codabar character | Update test case for updated 'B' codabar character | Go | mit | boombuler/barcode |
1c23c3eae8b9e073fecb0234d3e818fc1305a54c | defdir_windows.go | defdir_windows.go | // +build windows
package config
import (
"os"
"path"
)
func defaultDirectory() string {
base := path.Base(os.Args[0])
ext := path.Ext(base)
drv := os.Getenv("SystemDrive")
pdDir := "ProgramData"
name := base[0 : len(base)-len(ext)]
return path.Join(drv, pdDir, name, name)
}
| // +build windows
package config
import (
"os"
"path/filepath"
)
func defaultDirectory() string {
base := filepath.Base(os.Args[0])
ext := filepath.Ext(base)
drv := os.Getenv("SystemDrive")
pdDir := "ProgramData"
name := base[0 : len(base)-len(ext)]
return filepath.Join(drv, pdDir, name, name)
}
| Use filepath in place of path for windows code. | Use filepath in place of path for windows code.
| Go | mit | codemodus/config |
2c77d1855e3366aa0a2bd7d0f9d37f06a23db71a | plugins/codec/inject.go | plugins/codec/inject.go | package codec
import (
"github.com/luopengift/transport"
"time"
)
// add a enter symbol at end of line, classic written into file
type DebugInjectHandler struct {
*transport.Inject
}
func (h *DebugInjectHandler) Init(config transport.Configer) error {
return nil
}
func (h *DebugInjectHandler) Handle(in, out ... | package codec
import (
"github.com/luopengift/transport"
"time"
)
// add a enter symbol at end of line, classic written into file
type DebugInjectHandler struct {
*transport.Inject
}
func (h *DebugInjectHandler) Init(config transport.Configer) error {
return nil
}
func (h *DebugInjectHandler) Handle(in, out []b... | Add Inject feature && go fmt ./... | Add Inject feature && go fmt ./...
| Go | apache-2.0 | luopengift/transport,luopengift/transport,luopengift/transport |
c6a87b05076c8bbbd26264aa813607a6ec01dc75 | src/version/version.go | src/version/version.go | package version
// Flag contains extra info about the version. It is helpul for tracking
// versions while developing. It should always be empty on the master branch.
// This is inforced in a continuous integration test.
const Flag = "export"
var (
// Version is The full version string
Version = "0.5.9"
// GitCom... | package version
// Flag contains extra info about the version. It is helpul for tracking
// versions while developing. It should always be empty on the master branch.
// This is inforced in a continuous integration test.
const Flag = "develop"
var (
// Version is The full version string
Version = "0.5.9"
// GitCo... | Set branch back to develop after export branch merge | Set branch back to develop after export branch merge | Go | apache-2.0 | babbleio/babble,babbleio/babble |
b7a253e9832566902627a2a049f04a0804aef6f4 | rulehunter_unix_test.go | rulehunter_unix_test.go | // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
package main
import (
"os"
"path/filepath"
"testing"
"time"
"github.com/vlifesystems/rulehunter/internal/testhelpers"
)
func TestSubMain_interrupt(t *testing.T) {
configDir := testhelpers.BuildConfigDirs(t, false)
flags := &cmdFlags{install... | // +build darwin dragonfly freebsd linux nacl netbsd openbsd solaris
package main
import (
"os"
"testing"
"time"
"github.com/vlifesystems/rulehunter/internal/testhelpers"
)
func TestSubMain_interrupt(t *testing.T) {
cfgDir := testhelpers.BuildConfigDirs(t, false)
flags := &cmdFlags{install: false, serve: true... | Fix test loading config.yaml with wrong locations | Fix test loading config.yaml with wrong locations
| Go | unknown | vlifesystems/rulehuntersrv,vlifesystems/rulehunter,vlifesystems/rulehuntersrv,vlifesystems/rulehunter |
b926d476dff7752973c37631488bca21d498d085 | src/ghighlighter/ghighlighter/main.go | src/ghighlighter/ghighlighter/main.go | package main
import (
"fmt"
"os"
"github.com/mattn/go-gtk/gtk"
"ghighlighter/windows"
"ghighlighter/models"
"ghighlighter/utils"
)
func main() {
initializeEnvironment()
gtk.Init(nil)
mainWindow := windows.MainWindow()
window := mainWindow.GtkWindow
window.ShowAll()
gtk.Main()
}
func initial... | package main
import (
"fmt"
"os"
"github.com/mattn/go-gtk/gtk"
"ghighlighter/windows"
"ghighlighter/models"
"ghighlighter/utils"
)
func main() {
initializeEnvironment()
gtk.Init(nil)
mainWindow := windows.MainWindow()
window := mainWindow.GtkWindow
window.ShowAll()
config := models.Config()
... | Add dummy handling of empty access token on startup | Add dummy handling of empty access token on startup
| Go | mit | chdorner/ghighlighter |
7a6c04f8b0fda0f1dc60106f63e09d414868925d | backoff.go | backoff.go | package watchdog
import (
"time"
)
// BackOff is the interface to a back-off interval generator.
type BackOff interface {
// Mark the next call to NextInterval as the "first" retry in a sequence.
// If the generated intervals are dependent on the number of consecutive
// (unsuccessful) retries, previous retries s... | package watchdog
import (
"time"
)
// BackOff is the interface to a back-off interval generator.
type BackOff interface {
// Mark the next call to NextInterval as the "first" retry in a sequence.
// If the generated intervals are dependent on the number of consecutive
// (unsuccessful) retries, previous retries s... | Change zero back-off next interval default. | Change zero back-off next interval default.
| Go | mit | efritz/watchdog |
ad4045f913a64aba0adc5c7da8484d1772497c9d | lib/msg/result.go | lib/msg/result.go | /*-
* Copyright (c) 2016, Jörg Pernfuß <joerg.pernfuss@1und1.de>
* All rights reserved
*
* Use of this source code is governed by a 2-clause BSD license
* that can be found in the LICENSE file.
*/
package msg
type Result struct {
Type string
Error error
}
// vim: ts=4 sw=4 sts=4 noet fenc=utf-8 ffs=unix
| /*-
* Copyright (c) 2016, Jörg Pernfuß <joerg.pernfuss@1und1.de>
* All rights reserved
*
* Use of this source code is governed by a 2-clause BSD license
* that can be found in the LICENSE file.
*/
package msg
type Result struct {
Type string
Action string
Error error
Super *Supervisor
}
// vim: ts=4 sw... | Update msg.Result for its first usecase | Update msg.Result for its first usecase
| Go | bsd-2-clause | 1and1/soma |
23b15a9e45afbab9fce59d4a382b2a253ceaac71 | example_HeapSortInt_test.go | example_HeapSortInt_test.go | package sort_test
import (
"fmt"
"github.com/goSTL/sort"
)
func main() {
sample := []int{3, 138, 1, 674, 213, 23, 5, 2}
fmt.Println(sample)
sort.HeapSortInt(sample)
fmt.Println(sample)
//Output:
//[3 138 1 674 213 23 5 2]
//[1 2 3 5 23 138 213 674]
}
| package sort_test
import (
"fmt"
"github.com/goSTL/sort"
)
func ExampleHeapSortInt() {
sample := []int{3, 138, 1, 674, 213, 23, 5, 2}
fmt.Println(sample)
sort.HeapSortInt(sample)
fmt.Println(sample)
//Output:
//[3 138 1 674 213 23 5 2]
//[1 2 3 5 23 138 213 674]
}
| Fix bug of test file | Fix bug of test file
used wrong func name
| Go | mit | go-Algorithm/sort,goSTL/sort |
427a9b6b1a50cc5d58ed0a760d3186f0f475c409 | src/main.go | src/main.go | package main
import "fmt"
import "os"
import "os/exec"
import "strconv"
import "time"
func main() {
cmd := exec.Command("paplay", "/usr/share/sounds/freedesktop/stereo/complete.oga")
cmd.Start()
var interval int
if len(os.Args) == 2 {
tmp, err := strconv.Atoi(os.Args[1])
if err != n... | package main
import "fmt"
import "os"
import "os/exec"
import "strconv"
import "time"
const DEFAULT_SOUND = "/usr/share/sounds/freedesktop/stereo/complete.oga"
func main() {
cmd := exec.Command("paplay", DEFAULT_SOUND)
cmd.Start()
var interval int
if len(os.Args) == 2 {
tmp, err := strcon... | Store path to default sound in a constant | Store path to default sound in a constant
| Go | mit | Cosiek/ding |
bb5f4a4d978df3c8856d6a1b9764bbbd9e09bab7 | assignments/go/hamming/hamming_test.go | assignments/go/hamming/hamming_test.go | package hamming
import (
"testing"
)
var testCases = []struct {
expected int
strandA, strandB string
description string
}{
{0, "", "", "no difference between empty strands"},
{2, "AG", "CT", "complete hamming distance for small strand"},
{0, "A", "A", "no difference between identical strands"},
{... | package hamming
import (
"testing"
)
var testCases = []struct {
expected int
strandA, strandB string
description string
}{
{0, "", "", "no difference between empty strands"},
{2, "AG", "CT", "complete hamming distance for small strands"},
{0, "A", "A", "no difference between identical strands"},
... | Tweak hamming test suite in Go | Tweak hamming test suite in Go
| Go | mit | exercism/xgo,leenipper/xgo,leenipper/xgo,pminten/xgo,robphoenix/exercism-go,robphoenix/exercism-go,pminten/xgo,exercism/xgo |
a97c12b6f2b20a72701bf82c68ab7bb524123e1f | shared/tcp/tcp_timeout_user.go | shared/tcp/tcp_timeout_user.go | //go:build linux || zos
package tcp
import (
"fmt"
"net"
"time"
"golang.org/x/sys/unix"
)
// SetUserTimeout sets the TCP user timeout on a connection's socket.
func SetUserTimeout(conn *net.TCPConn, timeout time.Duration) error {
rawConn, err := conn.SyscallConn()
if err != nil {
return fmt.Errorf("Error ge... | //go:build linux || zos
package tcp
import (
"fmt"
"net"
"time"
"golang.org/x/sys/unix"
)
// SetUserTimeout sets the TCP user timeout on a connection's socket.
func SetUserTimeout(conn *net.TCPConn, timeout time.Duration) error {
rawConn, err := conn.SyscallConn()
if err != nil {
return fmt.Errorf("Error ge... | Improve error message in SetUserTimeout | shared/tcp/tcp/timeout/user: Improve error message in SetUserTimeout
Signed-off-by: Thomas Parrott <6b778ce645fb0e3dde76d79eccad490955b1ae74@canonical.com>
| Go | apache-2.0 | lxc/lxd,lxc/lxd,lxc/lxd,lxc/lxd,lxc/lxd,lxc/lxd,lxc/lxd |
ecb300f62aff2f5b303891c89c7abed58c8cbcd3 | checker.go | checker.go | package main
import (
"net/http"
)
type Checker func(*MonitorConf) (bool, error)
func checkHTTPStatus(mc *MonitorConf) (bool, error) {
resp, err := http.Get("http://" + mc.Url)
if err != nil {
return false, err
}
if resp.StatusCode != 200 {
return false, nil
}
return true, nil
}
| package main
import (
"net/http"
)
type Checker func(*MonitorConf) (bool, error)
func checkHTTPStatus(mc *MonitorConf) (bool, error) {
resp, err := http.Head("http://" + mc.Url)
if err != nil {
return false, err
}
defer resp.Body.Close()
if resp.StatusCode != 200 {
return false, nil
}
return true, nil
... | Add resp.body.Close() & use http.Head() in checkHTTPStatus() | Add resp.body.Close() & use http.Head() in checkHTTPStatus()
Fixes #3 | Go | mit | oguzbilgic/pandik,arthurpro/pandik |
63359ad89250d9e60f719d2accdc93e21d8ea004 | uchiwa/sensu/request.go | uchiwa/sensu/request.go | package sensu
import (
"fmt"
"io/ioutil"
"net/http"
"net/url"
)
// ...
func (api *API) doRequest(req *http.Request) ([]byte, *http.Response, error) {
if api.User != "" && api.Pass != "" {
req.SetBasicAuth(api.User, api.Pass)
}
res, err := api.Client.Do(req)
if err != nil {
status, ok := err.(*url.Error)
... | package sensu
import (
"fmt"
"io"
"net/http"
"net/url"
)
// ...
func (api *API) doRequest(req *http.Request) ([]byte, *http.Response, error) {
if api.User != "" && api.Pass != "" {
req.SetBasicAuth(api.User, api.Pass)
}
res, err := api.Client.Do(req)
if err != nil {
status, ok := err.(*url.Error)
if !o... | Use io.ReadFull instead of ioutil.ReadAll when reading Sensu API responses | Use io.ReadFull instead of ioutil.ReadAll when reading Sensu API responses
| Go | mit | sensu/uchiwa,palourde/uchiwa,sensu/uchiwa,palourde/uchiwa,sensu/uchiwa,sensu/uchiwa,sensu/uchiwa,palourde/uchiwa,palourde/uchiwa,palourde/uchiwa |
be4287f8cbaeb71dbcfffb7c676de5875cc29a57 | audited/audited_test.go | audited/audited_test.go | package audited_test
import (
"fmt"
"testing"
"github.com/jinzhu/gorm"
"github.com/qor/qor/audited"
"github.com/qor/qor/test/utils"
)
type Product struct {
gorm.Model
Name string
audited.AuditedModel
}
type User struct {
gorm.Model
Name string
}
var db *gorm.DB
func init() {
db = utils.TestDB()
db.Aut... | package audited_test
import (
"fmt"
"testing"
"github.com/jinzhu/gorm"
"github.com/qor/qor/audited"
"github.com/qor/qor/test/utils"
)
type Product struct {
gorm.Model
Name string
audited.AuditedModel
}
type User struct {
gorm.Model
Name string
}
var db *gorm.DB
func init() {
db = utils.TestDB()
db.Dro... | Drop tables for audited before run tests | Drop tables for audited before run tests
| Go | mit | qor/qor,qor/qor,qor/qor |
8e94c930ee93b2f29d52ad2c7f019ca333d7d2e7 | pkg/healthchecker/types/types_linux.go | pkg/healthchecker/types/types_linux.go | /*
Copyright 2021 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | /*
Copyright 2021 The Kubernetes Authors All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or ag... | Fix the uptime timestamp parsing. | Fix the uptime timestamp parsing.
| Go | apache-2.0 | kubernetes/node-problem-detector,kubernetes/node-problem-detector |
d9c818c0c16aa9861744c3e4f63211aca6c7d1a6 | db_test.go | db_test.go | package hyperdb_test
import (
. "github.com/mysza/hyperdb"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
)
var _ = Describe("DB", func() {
})
| package hyperdb_test
import (
"github.com/mysza/hyperdb"
. "github.com/onsi/ginkgo"
. "github.com/onsi/gomega"
"os"
)
var _ = Describe("DB", func() {
Describe("Opening the database", func() {
Context("with defaults", func() {
It("should open default database", func() {
// calling Open with empty strin... | Add test for opening default and named database | Add test for opening default and named database
| Go | mit | mysza/hyperdb |
be5f62b4f294fcc4ef0c661e01e974c0e3479dc7 | example.go | example.go | package goexamplepackage
import "fmt"
func DoTest(foo int) int {
fmt.Println("Example:", foo)
return 42
}
| package goexamplepackage
import "fmt"
func DoExample(foo int) int {
fmt.Println("Example:", foo)
return 42
}
| Change from DoTest to DoExample. | Change from DoTest to DoExample.
| Go | mit | digitallumens/goexamplepackage,digitallumens/goexamplepackage |
bd6712b060cdcccec0d2964bb483c84df8be3cf0 | lib/virtual-machines.go | lib/virtual-machines.go | package lib
import (
"encoding/json"
"fmt"
)
func (bigv *Client) GetVirtualMachine(name VirtualMachineName) (vm *VirtualMachine, err error) {
vm = new(VirtualMachine)
path := fmt.Sprintf("/accounts/%s/groups/%s/virtual_machines/%s?view=overview", name.Account, name.Group, name.VirtualMachine)
data, err := bigv.R... | package lib
import (
"encoding/json"
"fmt"
)
func (bigv *Client) GetVirtualMachine(name VirtualMachineName) (vm *VirtualMachine, err error) {
vm = new(VirtualMachine)
path := fmt.Sprintf("/accounts/%s/groups/%s/virtual_machines/%s?view=overview", name.Account, name.Group, name.VirtualMachine)
data, err := bigv.R... | Make JSON output in GetVirtualMachine require a high debug-level | Make JSON output in GetVirtualMachine require a high debug-level
| Go | mit | BytemarkHosting/bytemark-client,BytemarkHosting/bytemark-client,BytemarkHosting/bytemark-client |
b720c2a8257f5a21c73b71db9477bcb6d8ee5ec7 | mux/wrapper.go | mux/wrapper.go | package mux
import (
"log"
"net/http"
"time"
)
type WrapperFunc func(handlerFunc http.Handler) http.Handler
// Wraps handler func with slice of wrapper functions one by one.
func Wrap(h http.Handler, wrappers ...WrapperFunc) http.Handler {
for _, w := range wrappers {
h = w(h)
}
return h
}
// Logs requests
... | package mux
import (
"log"
"net/http"
"time"
)
type WrapperFunc func(handlerFunc http.Handler) http.Handler
// Wraps handler func with slice of wrapper functions one by one.
func Wrap(h http.Handler, wrappers ...WrapperFunc) http.Handler {
for _, w := range wrappers {
h = w(h)
}
return h
}
// Logs requests
... | Add defer to ensure that logger will be called after serve http. | Add defer to ensure that logger will be called after serve http.
| Go | mit | DVI-GI-2017/Jira__backend |
8abeafd01af3cea015ce624da4be5686096a53f0 | helpers.go | helpers.go | package main
import (
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
)
// Sanitises to make a filesystem-safe name.
func sanitiseForFilesystem(s string) string {
return strings.Replace(s, "/", "-", -1)
}
func getImageIfNeeded(image string, size string, folder string, filename string) {
path := filepath.Join... | package main
import (
"io/ioutil"
"log"
"os"
"path/filepath"
"strings"
)
// Sanitises to make a filesystem-safe name.
func sanitiseForFilesystem(s string) string {
s = strings.Replace(s, "/", "-", -1) // For linux.
s = strings.Replace(s, "<", "-", -1) // For windows or FAT disks on linux.
s = strings.Replace(... | Handle colons and forbidden filenames | Handle colons and forbidden filenames
| Go | mit | chrishulbert/gondola |
3b58ae999465bc124b290803708926b2681e2199 | imports.go | imports.go | package cayley
import (
"github.com/google/cayley/graph"
_ "github.com/google/cayley/graph/memstore"
"github.com/google/cayley/graph/path"
"github.com/google/cayley/quad"
_ "github.com/google/cayley/writer"
)
type Iterator graph.Iterator
type QuadStore graph.QuadStore
type QuadWriter graph.QuadWriter
type Path ... | package cayley
import (
"github.com/google/cayley/graph"
_ "github.com/google/cayley/graph/memstore"
"github.com/google/cayley/graph/path"
"github.com/google/cayley/quad"
_ "github.com/google/cayley/writer"
)
type Iterator graph.Iterator
type QuadStore graph.QuadStore
type QuadWriter graph.QuadWriter
type Path ... | Allow opening a database (bolt, leveldb, mongo) through Go API | Allow opening a database (bolt, leveldb, mongo) through Go API
| Go | apache-2.0 | pombredanne/cayley,sayden/cayley,sdaros/cayley,ominux/cayley,skynet/cayley,dtkav/cayley,karabijavad/cayley,posenhuang/cayley,mjolk/cayley,panamafrancis/cayley,beni55/cayley,beni55/cayley,azylman/cayley,sdaros/cayley,azylman/cayley,HomeMango0310/cayley,dushmis/cayley,barakmich/cayley,barakmich/cayley,googlearchive/cayle... |
69ddbe981f8e020a1e995b2caba54a1aa7f8bb23 | plugin/builder-amazon-ebsnoami/main.go | plugin/builder-amazon-ebsnoami/main.go | package main
import (
"github.com/mitchellh/packer/builder/amazon/ebsnoami"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(ebsnoami.Builder))
server.Serve()
}
| package main
import (
"github.com/emate/packer-ebsnoami/builder/amazon/ebsnoami"
"github.com/mitchellh/packer/packer/plugin"
)
func main() {
server, err := plugin.Server()
if err != nil {
panic(err)
}
server.RegisterBuilder(new(ebsnoami.Builder))
server.Serve()
}
| Fix import path for plugin | Fix import path for plugin
| Go | mpl-2.0 | emate/packer-ebsnoami,emate/packer-ebsnoami,emate/packer-ebsnoami,emate/packer-ebsnoami |
291d0d7f303310c6731eba5fe754b760877d53aa | prefer.go | prefer.go | package prefer
type filterable func(identifier string) bool
type Configuration struct {
identifier string
loaders map[Loader]filterable
serializers map[Serializer]filterable
}
func NewConfiguration(identifier string) *Configuration {
return &Configuration{
identifier: identifier,
}
}
func (configuration... | package prefer
type filterable func(identifier string) bool
type Configuration struct {
identifier string
loaders map[Loader]filterable
serializers map[Serializer]filterable
}
func Load(identifier string, out interface{}) (*Configuration, error) {
configuration := NewConfiguration(identifier)
err := config... | Fix semantics of Load vs NewConfiguration. | Fix semantics of Load vs NewConfiguration.
| Go | mit | LimpidTech/prefer.go |
d48fa7d17d05debaa6a4cb3e8c6bbadcbc3dc534 | handlers/hello_world.go | handlers/hello_world.go | package handlers
import (
"encoding/json"
"fmt"
html "html/template"
"net/http"
)
var helloTemplate *html.Template
func init() {
fmt.Println("Try: /hello/world")
var err error
helloTemplate, err = html.ParseFiles("templates/hello.html")
if err != nil {
panic(err)
}
}
func HelloWorld(w http.ResponseWriter... | package handlers
import (
"encoding/json"
"fmt"
html "html/template"
"net/http"
)
var helloTemplate *html.Template
func init() {
fmt.Println("Try: /hello/world")
var err error
helloTemplate, err = html.ParseFiles("../templates/hello.html")
if err != nil {
panic(err)
}
}
func HelloWorld(w http.ResponseWri... | Fix template path after moving it to init | Fix template path after moving it to init
| Go | mit | mattetti/go-web-api-demo |
63e77c6afcda92ed8ce1603b92855758d38ae63b | httperr.go | httperr.go | /*
httperr defines a simple HTTP error which has a message and status code. This
can be useful for returning errors with relevant HTTP status codes, which the
standard errors package allow for.
Example:
func Foo() httperr.Error {
if err := Bar(); err != nil {
return httperr.New(err.Error(), http.StatusIntern... | /*
Package httperr defines a simple HTTP error which has a message and status code.
This can be useful for returning errors with relevant HTTP status codes, which
the standard errors package allow for.
Example:
func Foo() httperr.Error {
if err := Bar(); err != nil {
return httperr.New(err.Error(), http.Statu... | Fix package description according to golint reccomendation | Fix package description according to golint reccomendation
| Go | mit | joshheinrichs/httperr |
ed3efb14fd5eee4a768419ae847ba39dbe6fac79 | logging.go | logging.go | package main
import (
corelog "log"
"log/syslog"
"os"
)
var log *corelog.Logger
func init() {
log = corelog.New(os.Stderr, "", 0)
log.SetFlags(corelog.LstdFlags)
}
func initLogger(slog bool) {
if slog {
l, err := syslog.NewLogger(syslog.LOG_INFO, 0)
if err != nil {
corelog.Fatalf("Can't initialize logg... | package main
import (
corelog "log"
"log/syslog"
"os"
)
var log *corelog.Logger
func init() {
log = corelog.New(os.Stderr, "", 0)
log.SetFlags(corelog.LstdFlags)
}
func initLogger(slog bool) {
if slog {
lw, err := syslog.New(syslog.LOG_INFO, "cbfs")
if err != nil {
corelog.Fatalf("Can't initialize logg... | Send a proper process name. | Send a proper process name.
| Go | apache-2.0 | couchbaselabs/cbfs,couchbaselabs/cbfs,couchbaselabs/cbfs |
02e96137c936076cd184dab11625b3cb4d6912ce | mal/doc.go | mal/doc.go | /*
Package mal provides a client for accessing the MyAnimeList API.
Construct a new client, then use one of the client's services to access the
different MyAnimeList API methods. For example, to get the anime list of the
user "Xinil":
c := mal.NewClient()
c.SetCredentials("YOUR_MYANIMELIST_USERNAME", "YOUR_MYANIMEL... | /*
Package mal provides a client for accessing the MyAnimeList API.
Construct a new client, then use one of the client's services to access the
different MyAnimeList API methods. For example, to get the anime list of the
user "Xinil":
c := mal.NewClient(nil)
c.SetCredentials("YOUR_MYANIMELIST_USERNAME", "YOUR_MYANI... | Update mal.NewClient to receive nil as argument | Update mal.NewClient to receive nil as argument
| Go | mit | nstratos/go-myanimelist |
a1f16a3738c1646b7d0376d7f2e26222351db073 | opts/ip.go | opts/ip.go | package opts
import (
"fmt"
"net"
)
type IpOpt struct {
*net.IP
}
func NewIpOpt(ref *net.IP, defaultVal string) *IpOpt {
o := &IpOpt{
IP: ref,
}
o.Set(defaultVal)
return o
}
func (o *IpOpt) Set(val string) error {
ip := net.ParseIP(val)
if ip == nil {
return fmt.Errorf("%s is not an ip address", val)
... | package opts
import (
"fmt"
"net"
)
type IpOpt struct {
*net.IP
}
func NewIpOpt(ref *net.IP, defaultVal string) *IpOpt {
o := &IpOpt{
IP: ref,
}
o.Set(defaultVal)
return o
}
func (o *IpOpt) Set(val string) error {
ip := net.ParseIP(val)
if ip == nil {
return fmt.Errorf("%s is not an ip address", val)
... | Remove duplicate call to net.ParseIP and a little cleanup | Remove duplicate call to net.ParseIP
and a little cleanup
Signed-off-by: Doug Davis <ff3bde741799c0eff815b83a54eda3fc494df54f@us.ibm.com>
(cherry picked from commit b180de55caa382fd6ced4488d68392edd1d34da0)
| Go | apache-2.0 | AdamOssenford/docker-pi,AdamOssenford/docker-pi,AdamOssenford/docker-pi |
792f495e032b8ce7d9bde5fa797eeb94bb95484e | luapool.go | luapool.go | package main
import (
"github.com/yuin/gopher-lua"
"sync"
)
// The LState pool pattern, as recommended by the author of gopher-lua:
// https://github.com/yuin/gopher-lua#the-lstate-pool-pattern
type lStatePool struct {
m sync.Mutex
saved []*lua.LState
}
func (pl *lStatePool) Get() *lua.LState {
pl.m.Lock()... | package main
import (
"github.com/yuin/gopher-lua"
"sync"
)
// The LState pool pattern, as recommended by the author of gopher-lua:
// https://github.com/yuin/gopher-lua#the-lstate-pool-pattern
type lStatePool struct {
m sync.Mutex
saved []*lua.LState
}
func (pl *lStatePool) Get() *lua.LState {
pl.m.Lock()... | Fix race condition at server shutdown | Fix race condition at server shutdown
| Go | bsd-3-clause | xyproto/algernon,xyproto/algernon,xyproto/algernon,xyproto/algernon |
4435b29446381f14924a3608bb404194ea85c1f3 | schedule/random_test.go | schedule/random_test.go | package schedule
import (
"testing"
)
func TestGetRandomNumber(t *testing.T) {
var tests = []struct {
min int
max int
}{
{0, 0},
{0, 1},
{1, 1},
{0, 10},
{10, 20},
}
for _, test := range tests {
actual := getRandomNumber(test.min, test.max)
if test.min > actual || actual > test.max {
fmt := ... | package schedule
import (
"testing"
)
func TestGetRandomNumber(t *testing.T) {
var tests = []struct {
min int
max int
}{
{0, 0},
{0, 1},
{1, 1},
{0, 10},
{10, 20},
}
for _, test := range tests {
actual := getRandomNumber(test.min, test.max)
if test.min > actual || actual > test.max {
fmt := ... | Add todo for next tests | Add todo for next tests
| Go | mit | 0xfoo/punchcard |
ea97dcfb5a44e19ec8ac8cc6de71edce93ceb70e | util/log/flags.go | util/log/flags.go | // Copyright 2015 The Cockroach Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | // Copyright 2015 The Cockroach Authors.
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or ag... | Fix comment about the location of log-threshold flag. | Fix comment about the location of log-threshold flag.
| Go | apache-2.0 | paperstreet/cockroach,arjun4084346/cockroach,cuongdo/cockroach,arjun4084346/cockroach,veteranlu/cockroach,bg451/cockroach,vivekmenezes/cockroach,cuongdo/cockroach,il9ue/cockroach,maxlang/cockroach,maxlang/cockroach,vaibhavarora/cockroach,glycerine/cockroach,bg451/cockroach,maxlang/cockroach,maxlang/cockroach,il9ue/cock... |
b34fbe50956e2efc01bc911e287f979fd4a5cea8 | operation.go | operation.go | package ergo
type Handler interface {
ServeHTTP(*Response, *Request)
}
type HandlerFunc func(*Response, *Request)
func (f HandlerFunc) ServeHTTP(w *Response, r *Request) {
f(w, r)
}
// Operation
type Operation struct {
method string
name string
description string
handler Handler
schemes ... | package ergo
type Handler interface {
ServeHTTP(*Response, *Request)
}
type HandlerFunc func(*Response, *Request)
func (f HandlerFunc) ServeHTTP(w *Response, r *Request) {
f(w, r)
}
// Operation
type Operation struct {
method string
name string
description string
handler Handler
schemes ... | Define consumes functions for Operation | Define consumes functions for Operation
| Go | mit | wlMalk/ergo |
e4a72adeb7e2eda77a6d875f893c918e3742d7d1 | logostash.go | logostash.go | // Implements a Logstash client via TCP or UDP.
package logostash
import (
"bytes"
"encoding/json"
"io"
"net"
)
type Client struct {
Conn *net.Conn
}
func NewClient(network, address string) (*Client, error) {
conn, err := net.Dial(network, address)
if err != nil {
return nil, err
}
return &Client{&conn},... | // Implements a Logstash client via TCP or UDP.
package logostash
import (
"bytes"
"encoding/json"
"errors"
"io"
"net"
)
var (
MissingConnection = errors.New("Connection is missing")
)
type Client struct {
Conn *net.Conn
}
func NewClient(network, address string) (*Client, error) {
conn, err := net.Dial(net... | Add error for missing connection | Add error for missing connection
| Go | mit | DavidHuie/logostash |
f4d7526e6e9bfda640c33de58462fad80e53ba9d | librariesio/cmd/librariesio/main.go | librariesio/cmd/librariesio/main.go | package main
import (
"fmt"
"os"
"strings"
"github.com/hackebrot/go-librariesio/librariesio"
)
func loadFromEnv(keys ...string) (map[string]string, error) {
env := make(map[string]string)
for _, key := range keys {
v := os.Getenv(key)
if v == "" {
return nil, fmt.Errorf("environment variable %q is req... | package main
import (
"fmt"
"os"
"strings"
"github.com/hackebrot/go-librariesio/librariesio"
)
func loadFromEnv(keys ...string) (map[string]string, error) {
env := make(map[string]string)
for _, key := range keys {
v := os.Getenv(key)
if v == "" {
return nil, fmt.Errorf("environment variable %q is req... | Update cmd to also print struct field names | Update cmd to also print struct field names
| Go | mit | hackebrot/go-librariesio |
a9d6a57668fa8449d3588772cd6af33aa77a7801 | config/loader/types.go | config/loader/types.go | package loader
type ModuleKind string
const (
ModuleKindIssueTracking ModuleKind = "issue_tracking"
ModuleKindCodeReview ModuleKind = "code_review"
ModuleKindReleaseNotes ModuleKind = "release_notes"
)
type ConfigContainer interface {
PromptUserForConfig() error
}
type Unmarshaller interface {
Unmarshal(un... | package loader
type ModuleKind string
const (
ModuleKindIssueTracking ModuleKind = "issue_tracking"
ModuleKindCodeReview ModuleKind = "code_review"
ModuleKindReleaseNotes ModuleKind = "release_notes"
)
// ConfigSpec represents a complete configuration specification.
// It says how to generate, marshal, unmars... | Add comments to the interfaces | config/loader: Add comments to the interfaces
Change-Id: 11f54effd7
Story-Id: SF-220
| Go | mit | salsaflow/salsaflow,salsaflow/salsaflow |
4b9eec64fc4cfbc4487d955045956a901425c30e | examples/ex02multifile/ex02multifile.go | examples/ex02multifile/ex02multifile.go | package main
import (
"fmt"
sci "github.com/samuell/scipipe"
)
func main() {
// Init barReplacer task
barReplacer := sci.Sh("sed 's/foo/bar/g' {i:foo2} > {o:bar}")
// Init function for generating output file pattern
barReplacer.OutPathFuncs["bar"] = func() string {
return barReplacer.GetInPath("foo2") + ".bar... | package main
import (
"fmt"
sci "github.com/samuell/scipipe"
)
func main() {
// Init barReplacer task
barReplacer := sci.Sh("sed 's/foo/bar/g' {i:foo2} > {o:bar}")
// Init function for generating output file pattern
barReplacer.OutPathFuncs["bar"] = func() string {
return barReplacer.GetInPath("foo2") + ".bar... | Improve comments in example 2 | Improve comments in example 2
| Go | mit | samuell/scipipe,scipipe/scipipe,scipipe/scipipe |
6959eadc583dfbffab451edcf86328c9a984de22 | ps_test.go | ps_test.go | package dockercommand
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShortDockerPs(t *testing.T) {
docker, err := NewDockerForTest()
if err != nil {
t.Fatalf("err: %s", err)
}
containers, err := docker.Ps(&PsOptions{})
if err != nil {
t.Fatalf("err: %s", err)
}
assert.NotEmpty(t, co... | package dockercommand
import (
"testing"
"github.com/stretchr/testify/assert"
)
func TestShortDockerPs(t *testing.T) {
docker, err := NewDockerForTest()
if err != nil {
t.Fatalf("err: %s", err)
}
containers, err := docker.Ps(&PsOptions{All: true})
if err != nil {
t.Fatalf("err: %s", err)
}
assert.NotEm... | Update ps test: add All option | Update ps test: add All option
| Go | mit | bywan/go-dockercommand |
401d3e9cd536067acfd5494e26eb6ff68ca9e649 | pack_test.go | pack_test.go | package dns
import (
"encoding/binary"
"testing"
)
func TestPack(t *testing.T) {
m := &Message{
QName: "www.sekimura.org.",
Qtype: QtypeA,
Qclass: QclassIN,
}
b, err := Pack(m)
if err != nil {
t.Error(err)
}
if b[12] != 0x3 || string(b[13:16]) != "www" {
t.Error("the first label did not match")
}... | package dns
import (
"encoding/binary"
"testing"
)
func TestPack(t *testing.T) {
m := &Message{
Question: make([]Q, 1),
}
m.Question[0] = Q{
Name: "www.sekimura.org.",
Type: QtypeA,
Class: QclassIN,
}
b, err := Pack(m)
if err != nil {
t.Error(err)
}
if b[12] != 0x3 || string(b[13:16]) != "www" {... | Fix a pack test with the new Question field | Fix a pack test with the new Question field
| Go | mit | sekimura/dns |
5ca31e083e651d26a59cf75194523169a4b53f0a | servers.go | servers.go | package somaproto
type ProtoRequestServer struct {
Server ProtoServer `json:"server,omitempty"`
Filter ProtoServerFilter `json:"filter,omitempty"`
Purge bool `json:"purge,omitempty"`
}
type ProtoResultServer struct {
Code uint16 `json:"code,omitempty"`
Status string `json:"s... | package somaproto
import "github.com/satori/go.uuid"
type ProtoRequestServer struct {
Server ProtoServer `json:"server,omitempty"`
Filter ProtoServerFilter `json:"filter,omitempty"`
Purge bool `json:"purge,omitempty"`
}
type ProtoResultServer struct {
Code uint16 `json:"code,omitemp... | Add Id field to ProtoServer | Add Id field to ProtoServer
Keep it at uuid.UUID for now. Conversion to string will happen
together with soma and somaadm server implementation/fixes.
| Go | bsd-2-clause | 1and1/soma |
a8d4907c1518c31ea6a99779cc8ae9a647092637 | app/graphql/fullGame.graphql | app/graphql/fullGame.graphql | query FullGame($id: String) {
game(_id: $id) {
title,
shortDescription,
descriptionState,
thumbnail,
coverImage
}
}
| query FullGame($id: String) {
game(_id: $id) {
coverImage,
descriptionState,
developerIds,
genre,
macBuild,
releaseStatus,
screenshots,
shortDescription,
tags,
title,
thumbnail,
trailer,
windowsBuild,
}
}
| Update query for full game with all fields | Update query for full game with all fields
| GraphQL | mit | cdiezmoran/AlphaStage-2.0,cdiezmoran/AlphaStage-2.0 |
f02205a7372957384d90a7947a680c6b7c36ab3f | src/default-schema.graphql | src/default-schema.graphql | # This is sample IDL schema for GraphQL Faker.
#
# There are two directives you can use to enhance fake data:
# - @fake
# - @examples
# Each directive has autocompletion working so start by typing @
#
# Press save or Cmd+Enter to apply the changes and update server. Switch to GraphiQL
# on the right panel to immidi... | # This is sample IDL schema for GraphQL Faker.
#
# There are two directives you can use to enhance fake data:
# - @fake
# - @examples
# Each directive has autocompletion working so start by typing @
#
# Press save or Cmd+Enter to apply the changes and update server. Switch to GraphiQL
# on the right panel to immidi... | Fix typo, reported by @chookie | chore: Fix typo, reported by @chookie
| GraphQL | mit | APIs-guru/graphql-faker,APIs-guru/graphql-faker,APIs-guru/graphql-faker |
56f52abb10c149ae856c1e2ba808a9adc3e4e7e2 | app/src/main/graphql/io/sweers/catchup/data/github/GitHubTrendingQuery.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubTrendingQuery.graphql | query GitHubSearch($queryString: String!, $firstCount: Int!, $order: LanguageOrder!) {
search(query: $queryString, type: REPOSITORY, first: $firstCount) {
repositoryCount
nodes {
... on Repository {
name
createdAt
description
id
languages(first: 1, orderBy: $order... | query GitHubSearch($queryString: String!, $firstCount: Int!, $order: LanguageOrder!) {
search(query: $queryString, type: REPOSITORY, first: $firstCount) {
repositoryCount
nodes {
... on Repository {
name
createdAt
description
homepageUrl
id
languages(first... | Add homepageUrl for later investigation | Add homepageUrl for later investigation
This could be a good candidate for long clicks or something in github items. Not sure how best to handle it yet
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp |
fca091434dd18aab255b31d44527d1b65887e5f1 | test-resources/testData/graphql/injection/injectedTemplates/injectedTemplates.graphql | test-resources/testData/graphql/injection/injectedTemplates/injectedTemplates.graphql | type SomeType {
id(arg: String): ID
}
query Departments($arg: String) @Dir(arg: ) {
users(filter: {name : , addresses : ["abc"]}) {}
}
directive @Dir(arg: String) on QUERY
type Query {
users(filter: UserFilter): [User]
}
input UserFilter {
name: String
addresses: [String!]
}
type User {
id: ID
name: ... | type SomeType {
id(arg: String): ID
}
query Departments($arg: String) @Dir(arg: ) {
users(filter: {name: , addresses: ["abc"]}) {}
}
directive @Dir(arg: String) on QUERY
type Query {
users(filter: UserFilter): [User]
}
input UserFilter {
name: String
addresses: [String!]
}
type User {
id: ID
name: St... | Fix arguments whitespaces in GraphQLInjectionHighlightingTest | Fix arguments whitespaces in GraphQLInjectionHighlightingTest
| GraphQL | mit | jimkyndemeyer/js-graphql-intellij-plugin,jimkyndemeyer/js-graphql-intellij-plugin,jimkyndemeyer/js-graphql-intellij-plugin |
0973a4ca03e72220d47e5794e72089577db8b40e | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoryByNameAndOwner.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoryByNameAndOwner.graphql | query RepositoryByNameAndOwner($owner: String!, $name: String!) {
nodes(owner: $owner, name: $name) {
... on Repository {
id
}
}
}
| query RepositoryByNameAndOwner($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
... on Repository {
id
}
}
}
| Fix query name for repo lookup | Fix query name for repo lookup
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp |
c810b811a8a88999cc99b01e736bf569b7764f61 | src/AnimeClient/API/Kitsu/Queries/GetUserHistory.graphql | src/AnimeClient/API/Kitsu/Queries/GetUserHistory.graphql | query ($slug: String!) {
findProfileBySlug(slug: $slug) {
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED]) {
nodes {
id
changedData
kind
libraryEntry {
reconsumeCount
reconsuming
private
notes
}
media {
__typename
id
slug
posterImage {
vi... | query ($slug: String!) {
findProfileBySlug(slug: $slug) {
libraryEvents(first: 100, kind: [PROGRESSED, UPDATED], sort: [{
direction: DESCENDING,
on: UPDATED_AT,
}]) {
nodes {
id
changedData
kind
libraryEntry {
reconsumeCount
reconsuming
private
notes
}
media {
... | Sort libraryEvents so watch history is in correct order | Sort libraryEvents so watch history is in correct order
| GraphQL | mit | timw4mail/HummingBirdAnimeClient,timw4mail/HummingBirdAnimeClient,timw4mail/HummingBirdAnimeClient |
ee4a0ab291c7aaf3ea8899828abf457c0ab05925 | src/graphql/VariantFragment.graphql | src/graphql/VariantFragment.graphql | fragment VariantFragment on ProductVariant {
id
title
price
priceV2 {
amount
currencyCode
}
presentmentPrices(first: 20) {
pageInfo {
hasNextPage
hasPreviousPage
}
edges {
node {
price {
amount
currencyCode
}
}
}
}
weigh... | fragment VariantFragment on ProductVariant {
id
title
price
priceV2 {
amount
currencyCode
}
presentmentPrices(first: 20) {
pageInfo {
hasNextPage
hasPreviousPage
}
edges {
node {
price {
amount
currencyCode
}
compareAtPrice {
... | Add compareAtPrice to variant presentment price | Add compareAtPrice to variant presentment price | GraphQL | mit | Shopify/js-buy-sdk,Shopify/js-buy-sdk |
56c7274ea1d9a1e21a59761cb713a314032701c0 | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoriesById.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoriesById.graphql | query RepositoriesByIds($ids: [String!]!) {
nodes(ids: $ids) {
... on Repository {
name
description
license
owner {
avatarURL
login
}
url
}
}
}
| query RepositoriesByIds($ids: [ID!]!) {
nodes(ids: $ids) {
... on Repository {
name
description
id
licenseInfo {
name
nickname
}
owner {
avatarUrl
id
login
}
url
}
}
}
| Update information used in repo lookup | Update information used in repo lookup
This is information in line with the current schema and also what we want to look for
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp |
f03f562314d051616bf4044f6d2d82c6ef190d8f | app/src/main/graphql/io/sweers/catchup/data/github/GitHubProjectOwnersById.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubProjectOwnersById.graphql | query ProjectOwnersByIds($ids: [ID!]!) {
nodes(ids: $ids) {
... on User {
id
name
login
}
... on Organization {
id
name
login
}
}
}
| query ProjectOwnersByIds($ids: [ID!]!) {
nodes(ids: $ids) {
... on User {
id
name
login
url
}
... on Organization {
id
name
login
url
}
}
}
| Add url to project owners query | Add url to project owners query
For later use so we can link authors
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp |
491bd153f1062d72712e894b3970cf9b729067dc | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoryByNameAndOwner.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepositoryByNameAndOwner.graphql | query RepositoryByNameAndOwner($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
... on Repository {
id
}
}
}
| query RepositoryByNameAndOwner($owner: String!, $name: String!) {
repository(owner: $owner, name: $name) {
... on Repository {
id
owner {
id
}
}
}
}
| Add owner ID to repository lookup | Add owner ID to repository lookup
So we can look up the owner separately
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp |
6583495d10bf15f68fd861f725bf8073e4b26a33 | tests/testthat/kitchen/execution-introspection.graphql | tests/testthat/kitchen/execution-introspection.graphql | # https://gist.github.com/craigbeck/b90915d49fda19d5b2b17ead14dcd6da
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
# subscriptionType { name }
types {
...FullType
}
directives {
name
description
args {
...InputValue
}
... | # https://github.com/graphql/graphql-js/blob/master/src/utilities/introspectionQuery.js
query IntrospectionQuery {
__schema {
queryType { name }
mutationType { name }
# subscriptionType { name }
types {
...FullType
}
directives {
name
description
locations
args {
... | Update introspection query from graphql-js | Update introspection query from graphql-js
| GraphQL | mit | schloerke/graphqlr,schloerke/graphqlr,schloerke/graphqlr |
041d7bbc984e5a509e37dd4586b727d500bb2e37 | GraphQLSharp.Test/Language/kitchen-sink.graphql | GraphQLSharp.Test/Language/kitchen-sink.graphql | # Copyright (c) 2015, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
query queryName($foo: ComplexTy... | # Copyright (c) 2015, Facebook, Inc.
# All rights reserved.
#
# This source code is licensed under the BSD-style license found in the
# LICENSE file in the root directory of this source tree. An additional grant
# of patent rights can be found in the PATENTS file in the same directory.
query queryName($foo: ComplexTy... | Update graphql kitchen sink test file. | Update graphql kitchen sink test file.
| GraphQL | bsd-3-clause | amarant/GraphQLSharp |
e39e0619b385ca1d39d3c521a0307e0161a215a7 | src/graphql/VariantFragment.graphql | src/graphql/VariantFragment.graphql | fragment VariantFragment on ProductVariant {
id
title
price
weight
available
image {
id
src
altText
}
selectedOptions {
name
value
}
}
| fragment VariantFragment on ProductVariant {
id
title
price
weight
available
compareAtPrice
image {
id
src
altText
}
selectedOptions {
name
value
}
}
| Add compare at price to variant | Add compare at price to variant
| GraphQL | mit | Shopify/js-buy-sdk,Shopify/js-buy-sdk |
d5632690aacca3267c82953421b2559717667a8f | Artsy/Networking/create_order.graphql | Artsy/Networking/create_order.graphql | mutation createOrder(
$input: CreateOrderWithArtworkInput!
) {
createOrderWithArtwork(
input: $input
) {
orderOrError {
... on OrderWithMutationSuccess {
order {
id
}
}
... on OrderWithMutationFailure {
error {
description
}
}
... | mutation createOrder(
$input: CreateOrderWithArtworkInput!
) {
createOrderWithArtwork(
input: $input
) {
orderOrError {
... on OrderWithMutationSuccess {
order {
id
}
}
... on OrderWithMutationFailure {
error {
type
code
dat... | Switch to latest error type | Switch to latest error type
| GraphQL | mit | artsy/eigen,artsy/eigen,artsy/eigen,artsy/eigen,artsy/eigen,artsy/eigen,artsy/eigen |
5294f61b56373950091348aef9944bfa405031a2 | graphql/queries/enterprise-audit-log.graphql | graphql/queries/enterprise-audit-log.graphql | # Make sure that you set the request to `POST` with URL `https://api.github.com/graphql`
# Set `Headers` where `Content-Type` is `application/json` and `Accept` is `application/vnd.github.audit-log-preview+json`
{
enterprise(slug: "<enterprise-slug>") {
organizations(first: 100){
nodes {
auditLog(l... | Add audit log graphql at the enterprise level | Add audit log graphql at the enterprise level | GraphQL | cc0-1.0 | github/platform-samples,github/platform-samples,github/platform-samples,github/platform-samples,github/platform-samples,github/platform-samples,github/platform-samples,github/platform-samples | |
e81e2461c2d3b65afef6030b63c7fd55ddfa6915 | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepoReleases.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubRepoReleases.graphql | query RepoReleases {
repository(owner: "hzsweers", name: "CatchUp") {
... on Repository {
releases(first: 100) {
nodes {
... on Release {
name
publishedAt
description
tag {
name
}
url
}
... | Add repo releases graphql query | Add repo releases graphql query
For later!
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | |
000a564facbbabfa744cdc4d204c2c28c007e155 | app/src/main/graphql/io/sweers/catchup/data/github/GitHubProjectOwnersById.graphql | app/src/main/graphql/io/sweers/catchup/data/github/GitHubProjectOwnersById.graphql | query ProjectOwnersByIds($ids: [ID!]!) {
nodes(ids: $ids) {
... on User {
id
name
login
}
... on Organization {
id
name
login
}
}
}
| Add utility project owners query | Add utility project owners query
On github repos - owners may be an org or a user. We need to be able to look up both and map correctly so we can resolve user "names" and not just their login name. This makes for a bit prettier reading in items
| GraphQL | apache-2.0 | hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp,hzsweers/CatchUp | |
4a3f6aa4789e351b5849e32e4fa925e7db150986 | examples/chromeBinary.dot | examples/chromeBinary.dot | digraph chromeBinaryTest {
imports="['lib/chromium-phases/chromium-phases.js']"
input [data="./example.ejs"]
chromeBinary [version="323860", chromium="/usr/local/google/home/soonm/chromium/src", platform="linux"]
input -> ejsFabricator -> chromeBinary -> consoleOutput;
}
| digraph chromeBinaryTest {
imports="['lib/chromium-phases/chromium-phases.js']"
input [data="./example.ejs"]
chromeBinary [version="323860", chromium="<path to chromium/src>", platform="linux"]
input -> ejsFabricator -> chromeBinary -> consoleOutput;
}
| Change absolute path in dot file | Change absolute path in dot file
| Graphviz (DOT) | apache-2.0 | chunmun/tree-builder-builder,loyso/tree-builder-builder,loyso/tree-builder-builder,dglazkov/tree-builder-builder,dglazkov/tree-builder-builder,chunmun/tree-builder-builder,chunmun/tree-builder-builder,dglazkov/tree-builder-builder,loyso/tree-builder-builder |
7c533e3764d18dd7c919800b1970fd33a9c5fd9e | doc/apps-dependencies.dot | doc/apps-dependencies.dot | digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;... | Tweak layout of dependencies graph | Tweak layout of dependencies graph
| Graphviz (DOT) | bsd-3-clause | moretea/doko,moretea/doko |
8e5ba0d32149d263c2839861eda63418c534938b | testdata/dot-ref/extends.dot | testdata/dot-ref/extends.dot | #!/usr/local/bin/dot
#
# Class diagram
# Generated by UmlGraph version 5.0 (http://www.spinellis.gr/sw/umlgraph)
#
digraph G {
edge [fontname="Helvetica",fontsize=10,labelfontname="Helvetica",labelfontsize=10];
node [fontname="Helvetica",fontsize=10,shape=plaintext];
nodesep=0.25;
ranksep=0.5;
// Base
c56 [labe... | #!/usr/local/bin/dot
#
# Class diagram
# Generated by UMLGraph version 5.1 (http://www.umlgraph.org/)
#
digraph G {
edge [fontname="Helvetica",fontsize=10,labelfontname="Helvetica",labelfontsize=10];
node [fontname="Helvetica",fontsize=10,shape=plaintext];
nodesep=0.25;
ranksep=0.5;
// Base
c56 [label=<<table t... | Improve UMLGraph references in the generated files. | Improve UMLGraph references in the generated files.
| Graphviz (DOT) | bsd-3-clause | dspinellis/UMLGraph,davidmoten/UMLGraph,davidmoten/UMLGraph,davidmoten/UMLGraph,Edd123/UMLGraph,Edd123/UMLGraph,dspinellis/UMLGraph,Edd123/UMLGraph,dspinellis/UMLGraph |
74ad5db34b04aec7f18cfee33d761ef93a35d9dc | subscription-states/subscription_states.dot | subscription-states/subscription_states.dot | digraph subscription_states {
trialing -> active;
active -> canceled;
active -> past_due;
active -> soft_failure;
active -> expired;
soft_failure -> active;
soft_failure -> past_due;
soft_failure -> canceled;
past_due -> unpaid;
past_due -> active;
unpaid -> active;
expired -> canceled;
canceled -> active;... | digraph subscription_states {
trialing -> active;
trialing -> trial_ended;
trial_ended -> canceled;
active -> canceled;
active -> past_due;
active -> soft_failure;
active -> expired;
soft_failure -> active;
soft_failure -> past_due;
soft_failure -> canceled;
past_due -> unpaid;
past_due -> active;
past_due... | Add missing transition and re-order. | Add missing transition and re-order.
| Graphviz (DOT) | apache-2.0 | wsmoak/chargify,wsmoak/chargify-examples,wsmoak/chargify-examples,wsmoak/chargify,wsmoak/chargify,wsmoak/chargify-examples,wsmoak/chargify,wsmoak/chargify-examples |
41415585aa03ad2ea763457cf95b7046302d6010 | doc/apps-dependencies.dot | doc/apps-dependencies.dot | digraph g {
cluster -> "node";
ingest -> preprocessing;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| Add "doc" module to dependencies graph | Add "doc" module to dependencies graph
| Graphviz (DOT) | bsd-3-clause | moretea/doko,moretea/doko |
44fe6fe698b2f681aeea4834560eb8cb38e89e1f | rtest/graphs/states.gv | rtest/graphs/states.gv | /*
The command line is
dot -Tps -Grankdir=LR states.dot > states.ps
and the file is:
*/
digraph states {
size="3,2";
rankdir=LR;
node [shape=ellipse];
empty [label = "Empty"];
stolen [label = "Stolen"];
waiting [label = "Waiting"];
full [label = "Full"];
empty -> full [label = "return"]... | /*
The command line is
dot -Tps -Grankdir=LR states.gv > states.ps
and the file is:
*/
digraph states {
size="3,2";
rankdir=LR;
node [shape=ellipse];
empty [label = "Empty"];
stolen [label = "Stolen"];
waiting [label = "Waiting"];
full [label = "Full"];
empty -> full [label = "return"]
... | Remove uses of .dot from rtest | Remove uses of .dot from rtest
| Graphviz (DOT) | epl-1.0 | ellson/graphviz,tkelman/graphviz,pixelglow/graphviz,MjAbuz/graphviz,jho1965us/graphviz,kbrock/graphviz,ellson/graphviz,tkelman/graphviz,MjAbuz/graphviz,MjAbuz/graphviz,BMJHayward/graphviz,tkelman/graphviz,pixelglow/graphviz,ellson/graphviz,tkelman/graphviz,jho1965us/graphviz,tkelman/graphviz,kbrock/graphviz,kbrock/grap... |
b3ab8230c3d5f934b6d8b59c9ceb4ed656f0af11 | graphs/directed/states.gv | graphs/directed/states.gv | /*
The command line is
dot -Tps -Grankdir=LR states.dot > states.ps
and the file is:
*/
digraph states {
size="3,2";
rankdir=LR;
node [shape=ellipse];
empty [label = "Empty"];
stolen [label = "Stolen"];
waiting [label = "Waiting"];
full [label = "Full"];
empty -> full [label = "return"]... | /*
The command line is
dot -Tps -Grankdir=LR states.gv > states.ps
and the file is:
*/
digraph states {
size="3,2";
rankdir=LR;
node [shape=ellipse];
empty [label = "Empty"];
stolen [label = "Stolen"];
waiting [label = "Waiting"];
full [label = "Full"];
empty -> full [label = "return"]
... | Remove use of .dot from graphs/directed | Remove use of .dot from graphs/directed
| Graphviz (DOT) | epl-1.0 | kbrock/graphviz,jho1965us/graphviz,jho1965us/graphviz,tkelman/graphviz,ellson/graphviz,tkelman/graphviz,pixelglow/graphviz,ellson/graphviz,BMJHayward/graphviz,ellson/graphviz,tkelman/graphviz,ellson/graphviz,MjAbuz/graphviz,pixelglow/graphviz,tkelman/graphviz,BMJHayward/graphviz,kbrock/graphviz,ellson/graphviz,MjAbuz/g... |
12d10bafe03feca4f720a36084bd4117be4c88b5 | ocaml/idl/vm_lifecycle.dot | ocaml/idl/vm_lifecycle.dot | digraph g{
node [shape=box]; "powered down" paused running suspended;
"powered down" -> paused [label="start(paused=true)"];
"powered down" -> running [label="start(paused=false)"];
running -> suspended [label="suspend"];
suspended -> running [label="resume(paused=false)"];
suspended -> paused [label="resume(paused=t... | digraph g{
node [shape=box];
halted -> paused [label="start(paused)"];
halted -> running [label="start(not paused)"];
running -> suspended [label="suspend"];
suspended -> running [label="resume(not paused)"];
suspended -> paused [label="resume(paused)"];
suspended -> halted [label="hard shutdown"];
paused -> running... | Fix for the lifecycle diagram. | Fix for the lifecycle diagram.
I verified this diagram with some experiments and added an explicit ne
state destroyed to make clear that VM.destroy can only be called from
the halted state.
Signed-off-by: Christian Lindig <4f88b50bc9dba63c9a7d9e208d4b3ac6f1a52800@citrix.com>
| Graphviz (DOT) | lgpl-2.1 | thomassa/xen-api,euanh/xen-api,euanh/xen-api,Frezzle/xen-api,srowe/xen-api,srowe/xen-api,euanh/xen-api,rafalmiel/xen-api,rafalmiel/xen-api,euanh/xen-api,Frezzle/xen-api,thomassa/xen-api,thomassa/xen-api,srowe/xen-api,euanh/xen-api,thomassa/xen-api,srowe/xen-api,Frezzle/xen-api,rafalmiel/xen-api,euanh/xen-api,Frezzle/xe... |
0ecde4061a0000cc0e24dfef8a423253e719eca6 | techdoc/proposersm.dot | techdoc/proposersm.dot | digraph proposer {
rankdir=LR;
size="16,8"
node [shape = circle];
proposer_begin -> proposer_begin [ label = "queue empty" ];
proposer_begin -> are_we_leader [ label = "got value" ];
are_we_leader -> broadcast_ACCEPT [ label = "yes" ];
are_we_leader -> broadcast_PROPOSE [ label = "no" ];
broadcast_PROP... | digraph proposer {
rankdir=LR;
size="16,8"
node [shape = circle];
proposer_begin -> proposer_begin [ label = "queue empty" ];
proposer_begin -> quorum_ACCEPTEDs [ label = "got value; are we leader? txmit ACCEPT!" ];
proposer_begin -> quorum_PROMISEs [ label = "got value; are we not leader? txmit PROPOSE" ]... | Update proposer state machine graph from algo. | Update proposer state machine graph from algo.
| Graphviz (DOT) | mit | carlopires/libconsent |
8bd49c0b92a75b69870fd336d02bab933f6ced2b | ocaml/idl/vm_lifecycle.dot | ocaml/idl/vm_lifecycle.dot | digraph g{
node [shape=box]; "powered down" paused running suspended;
"powered down" -> paused [label="start(paused=true)"];
"powered down" -> running [label="start(paused=false)"];
running -> suspended [label="suspend"];
suspended -> running [label="resume(paused=false)"];
suspended -> paused [label="resume(paused=t... | digraph g{
node [shape=box];
halted -> paused [label="start(paused)"];
halted -> running [label="start(not paused)"];
running -> suspended [label="suspend"];
suspended -> running [label="resume(not paused)"];
suspended -> paused [label="resume(paused)"];
suspended -> halted [label="hard shutdown"];
paused -> running... | Fix for the lifecycle diagram. | Fix for the lifecycle diagram.
I verified this diagram with some experiments and added an explicit ne
state destroyed to make clear that VM.destroy can only be called from
the halted state.
Signed-off-by: Christian Lindig <4f88b50bc9dba63c9a7d9e208d4b3ac6f1a52800@citrix.com>
| Graphviz (DOT) | lgpl-2.1 | euanh/xen-api,thomassa/xen-api,srowe/xen-api,thomassa/xen-api,euanh/xen-api,rafalmiel/xen-api,euanh/xen-api,rafalmiel/xen-api,srowe/xen-api,Frezzle/xen-api,euanh/xen-api,srowe/xen-api,Frezzle/xen-api,rafalmiel/xen-api,srowe/xen-api,Frezzle/xen-api,rafalmiel/xen-api,euanh/xen-api,Frezzle/xen-api,thomassa/xen-api,rafalmi... |
c42e69bdba6f674f26d167bbba18bcb141f81cb6 | data/en/words/units.1.dot | data/en/words/units.1.dot | in.u ins.u ft.u yd.u yds.u mi.u
in..u ins..u ft..u yd..u yds..u mi..u
lb.u lbs.u oz.u ozs.u
lb..u lbs..u oz..u ozs..u
tbsp.u tsp.u pt.u qt.u gal.u bbl.u
tbsp..u tsp..u pt..u qt..u gal..u bbl..u
sq.u
sq..u
sq.ft..u
cu.in..u
cu.yds..u
ft.lbs..u
| in.u ins.u ft.u yd.u yds.u mi.u
in..u ins..u ft..u yd..u yds..u mi..u
lb.u lbs.u oz.u ozs.u
lb..u lbs..u oz..u ozs..u
tbsp.u tsp.u pt.u qt.u gal.u bbl.u
tbsp..u tsp..u pt..u qt..u gal..u bbl..u
sq.u
sq..u
cu.u
cu..u
| Remove units that are automatically split | Remove units that are automatically split
| Graphviz (DOT) | lgpl-2.1 | ampli/link-grammar,opencog/link-grammar,opencog/link-grammar,linas/link-grammar,ampli/link-grammar,ampli/link-grammar,ampli/link-grammar,ampli/link-grammar,opencog/link-grammar,linas/link-grammar,ampli/link-grammar,linas/link-grammar,ampli/link-grammar,linas/link-grammar,linas/link-grammar,ampli/link-grammar,opencog/li... |
7a6a6728b5bb30f804921d6acfd5c72400249fb7 | doc/apps-dependencies.dot | doc/apps-dependencies.dot | digraph g {
cluster -> "node";
ingest -> preprocessing;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| Add "doc" module to dependencies graph | Add "doc" module to dependencies graph
| Graphviz (DOT) | bsd-3-clause | moretea/doko,moretea/doko |
eb94c905e120f1a210132f0badd83e8e74daa0d5 | src/video/webgl/glsl/quad-vertex.glsl.dot | src/video/webgl/glsl/quad-vertex.glsl.dot | /*
* MelonJS Game Engine
* Copyright (C) 2011 - 2015 Olivier Biot, Jason Oster, Aaron McLeod
* http://www.melonjs.org
*
* WebGL Vertex shader for quad compositing
*/
precision highp float;
// Attributes
/**
* Current vertex point
* @ignore
*/
attribute vec2 aVertex;
/**
* Vertex color
* @ignore
*/
attr... | /*
* MelonJS Game Engine
* Copyright (C) 2011 - 2015 Olivier Biot, Jason Oster, Aaron McLeod
* http://www.melonjs.org
*
* WebGL Vertex shader for quad compositing
*/
precision highp float;
// Attributes
/**
* Current vertex point
* @ignore
*/
attribute vec2 aVertex;
/**
* Vertex color
* @ignore
*/
attr... | Fix the viewport fade effects with WebGL | Fix the viewport fade effects with WebGL
- The fragment shader now requires non-premultiplied alpha colors (like CanvasRenderer)
| Graphviz (DOT) | mit | srbala/melonJS,srbala/melonJS,rlugojr/melonJS,srbala/melonJS,rlugojr/melonJS,melonjs/melonJS,rlugojr/melonJS,melonjs/melonJS |
1f92988b0ae004c01196607f2c56ae105cf33b8c | doc/apps-dependencies.dot | doc/apps-dependencies.dot | digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| digraph g {
cluster -> "node";
doc -> preprocessing;
ingest -> doc;
ingest -> cluster;
"node" -> index;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;... | Tweak layout of dependencies graph | Tweak layout of dependencies graph
| Graphviz (DOT) | bsd-3-clause | moretea/doko,moretea/doko |
ae84db8ecb3b4951b196d8f7085f357f4ce16132 | docs/architecture.dot | docs/architecture.dot | digraph archictecture {
rankdir=LR;
//ranksep=0;
//rank="same"
splines=true;
frontend [label = "Frontend (Django)" pos="0,0"]
database [label = "PostgreSQL" pos="150,0"]
comparer [label = "Comparer (Rust)" pos="300,0"]
imager [label = "Imager (Falcon)" pos="475,0"]
cloud [ label="The Internet" shape=none, imag... | digraph archictecture {
frontend [label = "Frontend (Django)" pos="0,0"]
database [label = "PostgreSQL" pos="150,0"]
comparer [label = "Comparer (Rust)" pos="300,0"]
imager [label = "Imager (Falcon)" pos="475,0"]
cloud [ label="The Internet" shape=none, image="cloud.png" labelloc=b color="#ffffff" fixedsize=True w... | Simplify now we're using "Nop" placing | Simplify now we're using "Nop" placing
| Graphviz (DOT) | agpl-3.0 | palfrey/kitling,palfrey/kitling,palfrey/kitling |
ecefa210476404e36fcc769f05c0c3998e8c8b85 | src/components/transport/templates/transport.dot | src/components/transport/templates/transport.dot | <div class="transport">
<div class="item"><button class="fa fa-floppy-o"></button></div>
<div class="item"><button class="fa fa-file-o"></button></div>
<div class="item"><button id="play" class="fa fa-play"></button></div>
<div class="item"><button id="stop" class="fa fa-stop"></button></div>
<div class="item... | <div class="transport">
<div class="item"><button id="new" class="fa fa-file-text-o"></button></div>
<div class="item"><button class="fa fa-floppy-o"></button></div>
<div class="item"><button class="fa fa-file-o"></button></div>
<div class="item"><button id="play" class="fa fa-play"></button></div>
<div class... | Add button to reset song | Add button to reset song
| Graphviz (DOT) | mit | pgregory/wetracker,pgregory/wetracker |
3d12f7bc6ecbf1833543e8d5f0336dcd68d210f4 | docs/architecture.dot | docs/architecture.dot | digraph archictecture {
frontend [label = "Frontend (Django)" pos="0,0"]
database [label = "PostgreSQL" pos="150,0"]
comparer [label = "Comparer (Rust)" pos="300,0"]
imager [label = "Imager (Falcon)" pos="475,0"]
cloud [ label="The Internet" shape=none, image="cloud.png" labelloc=b color="#ffffff" fixedsize=True w... | digraph archictecture {
frontend [label = "Frontend (Django)" pos="0,0"]
database [label = "PostgreSQL" pos="200,0"]
comparer [label = "Comparer (Rust)" pos="400,0"]
imager [label = "Imager (Falcon)" pos="600,0"]
cloud [ label="The Internet" shape=none, image="cloud.png" labelloc=b color="#ffffff" fixedsize=True w... | Add labels to architcture arrows | Add labels to architcture arrows
| Graphviz (DOT) | agpl-3.0 | palfrey/kitling,palfrey/kitling,palfrey/kitling |
32d670310a5ebe45a1aed064698b09f3ff8f6562 | doc/info/html4.dot | doc/info/html4.dot | digraph structs {
node [shape=plaintext];
struct1 [label=<<TABLE>
<TR><TD><IMG SRC="eqn.gif"/></TD></TR>
<TR><TD>caption</TD></TR>
</TABLE>>];
}
| digraph structs {
node [shape=plaintext];
struct1 [label=<<TABLE>
<TR><TD><IMG SRC="eqn.png"/></TD></TR>
<TR><TD>caption</TD></TR>
</TABLE>>];
}
| Update on-line docs: - Push John's changes on bytes vs. characters in xdot to doc/info - Update and expand info on aspect attribute | Update on-line docs:
- Push John's changes on bytes vs. characters in xdot to doc/info
- Update and expand info on aspect attribute
| Graphviz (DOT) | epl-1.0 | pixelglow/graphviz,MjAbuz/graphviz,BMJHayward/graphviz,jho1965us/graphviz,ellson/graphviz,tkelman/graphviz,tkelman/graphviz,BMJHayward/graphviz,MjAbuz/graphviz,tkelman/graphviz,jho1965us/graphviz,tkelman/graphviz,MjAbuz/graphviz,kbrock/graphviz,jho1965us/graphviz,BMJHayward/graphviz,ellson/graphviz,tkelman/graphviz,tke... |
129af4e9b1a169c6188103b91a7e760f4b264a2e | poems.dot | poems.dot | graph poems {
node [shape=box];
// Poem names.
tree [label="A Poison Tree"];
senn [label="Destruction of Sennacherib"];
prel [label="Extract from 'The Prelude'"];
man [label="The Man He Killed"];
kate [label="Cousin Kate"];
half [label="Half-caste"];
expo [label="Exposure"];
chrg [label="The Cha... | graph poems {
overlap=false;
node [shape=box style=rounded];
// Node definitions (poems).
tree [label=<A Poison Tree<br/>William Blake (1794)>];
senn [label=<Destruction of Sennacherib<br/>Lord Byron (1815)>];
prel [label=<Extract from "The Prelude"<br/>William Wordsworth (1850)>];
man [label=<The Man... | Add more details, but delete dummy edges | Add more details, but delete dummy edges
| Graphviz (DOT) | apache-2.0 | pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff,pdbartlett/misc-stuff |
ecd724238ba75e7db8a0b04a252345de5ab92004 | share/misc/committers-doc.dot | share/misc/committers-doc.dot | # $FreeBSD$
digraph doc {
node [color=grey62, style=filled, bgcolor=black];
# Alumni go here.
node [color=lightblue2, style=filled, bgcolor=black];
# Current doc committers go here. Try to keep things sorted.
# Here are the mentor/mentee relationships.
}
| # $FreeBSD$
digraph doc {
node [color=grey62, style=filled, bgcolor=black];
# Alumni go here.
node [color=lightblue2, style=filled, bgcolor=black];
# Current doc committers go here. Try to keep things sorted.
cperciva [label="Colin Percival\ncperciva@FreeBSD.org\n2004/01/20"]
bvs [label="Vitaly Bogdanov\nbvs@Fre... | Add my mentor tree neighbours. | Add my mentor tree neighbours.
| Graphviz (DOT) | bsd-3-clause | jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase |
51984abeb69274d4d791a7585f5119c2aa1b3cbb | testdata/dot-ref/ctor.dot | testdata/dot-ref/ctor.dot | #!/usr/local/bin/dot
#
# Class diagram
# Generated by UmlGraph version 5.0 (http://www.spinellis.gr/sw/umlgraph)
#
digraph G {
edge [fontname="Helvetica",fontsize=10,labelfontname="Helvetica",labelfontsize=10];
node [fontname="Helvetica",fontsize=10,shape=plaintext];
nodesep=0.25;
ranksep=0.5;
// Junk
c55 [labe... | #!/usr/local/bin/dot
#
# Class diagram
# Generated by UMLGraph version 5.1 (http://www.umlgraph.org/)
#
digraph G {
edge [fontname="Helvetica",fontsize=10,labelfontname="Helvetica",labelfontsize=10];
node [fontname="Helvetica",fontsize=10,shape=plaintext];
nodesep=0.25;
ranksep=0.5;
// Junk
c55 [label=<<table t... | Improve UMLGraph references in the generated files. | Improve UMLGraph references in the generated files.
| Graphviz (DOT) | bsd-3-clause | Edd123/UMLGraph,dspinellis/UMLGraph,davidmoten/UMLGraph,Edd123/UMLGraph,davidmoten/UMLGraph,davidmoten/UMLGraph,Edd123/UMLGraph,dspinellis/UMLGraph,dspinellis/UMLGraph |
c11b84fc6c92f2487586b2835ebe4786efaba806 | techdoc/acceptorsm.dot | techdoc/acceptorsm.dot | digraph acceptor {
rankdir=LR;
size="11,9"
node [shape = circle];
acceptor_begin -> store_value [ label = "ACCEPT!" ];
store_value -> reply_ACCEPTED [ label = "successfully?" ];
reply_ACCEPTED -> acceptor_begin;
store_value -> acceptor_begin [ label = "unsuccessfully?" ];
acceptor_begin -> is_proposal... | digraph acceptor {
rankdir=LR;
size="11,9"
node [shape = circle];
acceptor_begin -> store_value [ label = "ACCEPT!" ];
store_value -> acceptor_begin [ label = "old N? txmit ANACK" ];
store_value -> acceptor_begin [ label = "successfully? txmit ACCEPTED" ];
store_value -> acceptor_begin [ label = "unsucce... | Update acceptor state machine graph from algo. | Update acceptor state machine graph from algo.
| Graphviz (DOT) | mit | carlopires/libconsent |
d0a107ceecaf010d63043ceb5a00a3da777a50a1 | doc/apps-dependencies.dot | doc/apps-dependencies.dot | digraph g {
cluster -> index;
"node" -> cluster;
"node" -> preprocessing;
preprocessing -> stemming;
preprocessing -> utf8;
query -> cluster;
query -> preprocessing;
stemming -> utf8;
}
| Add diagram of dependencies between the apps | Add diagram of dependencies between the apps
| Graphviz (DOT) | bsd-3-clause | moretea/doko,moretea/doko | |
47e3927644e1776d3b678f81ec2c65727dccd539 | rtest/graphs/b1364.dot | rtest/graphs/b1364.dot | digraph {
"tcp" -> "kernel_linux" [ label="linux" ];
"usmStats" -> "usmStats-5.5" [ color=red,constraint=false ];
"usmStats-5.5" -> "usmStats" [ color=red,constraint=false ];
"snmpv3mibs" -> "snmpEngine";
"snmpv3mibs" -> "usmStats-5.5";
"snmpv3mibs" -> "usmStats" [ style=dashed ];
}
| Fix nonconstraint flat edges that get flipped | Fix nonconstraint flat edges that get flipped
| Graphviz (DOT) | epl-1.0 | BMJHayward/graphviz,tkelman/graphviz,BMJHayward/graphviz,tkelman/graphviz,kbrock/graphviz,kbrock/graphviz,jho1965us/graphviz,ellson/graphviz,pixelglow/graphviz,pixelglow/graphviz,tkelman/graphviz,tkelman/graphviz,tkelman/graphviz,ellson/graphviz,kbrock/graphviz,tkelman/graphviz,pixelglow/graphviz,BMJHayward/graphviz,Mj... | |
318b144f8a1c1ebde3bf4137a7199e6f350890e0 | lib/deploy/templates/api.cf.dot | lib/deploy/templates/api.cf.dot | {
"Type": "Custom::APIGateway",
"Properties": {
"ServiceToken": {
"Fn::Join": [
":",
[
"arn:aws:lambda",
{
"Ref": "AWS::Region"
},
{
... | Add the missing template for API Gateway CF resource | Add the missing template for API Gateway CF resource
| Graphviz (DOT) | isc | Testlio/lambda-tools | |
5db2c1ca7c736bc5fd43ce13b30aa00181dda437 | data/en/words/units.1.dot | data/en/words/units.1.dot | in.u ins.u ft.u yd.u yds.u mi.u
tbsp.u tsp.u pt.u
sq.u
| in.u ins.u ft.u yd.u yds.u mi.u
lb.u lbs.u oz.u ozs.u
tbsp.u tsp.u pt.u qt.u gal.u bbl.u
sq.u
| Add lbs., oz. bbl. abbr. | Add lbs., oz. bbl. abbr.
git-svn-id: fc35eccb03ccef1c432fd0fcf5295fcceaca86a6@27870 bcba8976-2d24-0410-9c9c-aab3bd5fdfd6
| Graphviz (DOT) | lgpl-2.1 | ampli/link-grammar,linas/link-grammar,ampli/link-grammar,opencog/link-grammar,MadBomber/link-grammar,opencog/link-grammar,linas/link-grammar,opencog/link-grammar,linas/link-grammar,ampli/link-grammar,MadBomber/link-grammar,MadBomber/link-grammar,ampli/link-grammar,ampli/link-grammar,linas/link-grammar,opencog/link-gram... |
99c3ce60923f8bc8ff557999353e70131713f46c | doc/domain_model.dot | doc/domain_model.dot | digraph {
source [label="Source"]
subject [label="Subject"]
subject_source_id [label="Subject-source-id"]
metric [label="Metric"]
subject_metric [label="Subject-metric"]
measurement [label="Measurement"]
subject_source_id -> source
subject_source_id -> subject
subject_metric -> subject
subject_metr... | Add overview of domain objects. | Add overview of domain objects.
| Graphviz (DOT) | mit | mxipartners/checksome,fniessink/checksome |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.