text:
## for path
function(func_set_rel_path pathStart pathEnd result)
  if (NOT (${pathStart} STREQUAL ${pathEnd}))
    string(REGEX REPLACE "[^/]+" ".." to_common_base ${pathStart})
    string(CONCAT rel_path ${to_common_base} "/" ${pathEnd})

    set(${result} ${rel_path} PARENT_SCOPE)
  else ()
    set(${result} "" PARENT_SCOPE)
  endif ()
endfunction()

## for Rpath
function(func_set_rel_rpath originPrefix pathStart pathEnd result)
  func_set_rel_path(${pathStart} ${pathEnd} rel_path)
  string(CONCAT res ${originPrefix} ${rel_path})

  set(${result} ${res} PARENT_SCOPE)
endfunction()


text:
require xorg-proto-common.inc

CONFLICTS = "fixesext"
PR = "r1"
PE = "1"

XORG_PN = "fixesproto"

SRC_URI[archive.md5sum] = "8b298cc3424597f8138c7faf7763dce9"
SRC_URI[archive.sha256sum] = "b3fe971ccc8152db6c78da7117c31fc4cd2fcb2b6a4df3db0f8fed13d4ceb08f"

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: bb


text:
// Code generated by go-swagger; DO NOT EDIT.

// Copyright 2017 The go-ovh 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 agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.

package operations

// This file was generated by the swagger tool.
// Editing this file might prove futile when you re-run the swagger generate command

import (
	"net/http"
	"time"

	"golang.org/x/net/context"

	"github.com/go-openapi/errors"
	"github.com/go-openapi/runtime"
	cr "github.com/go-openapi/runtime/client"

	strfmt "github.com/go-openapi/strfmt"

	"github.com/appscode/go-ovh/cloud/models"
)

// NewPostCloudProjectServiceNameStorageContainerIDCorsParams creates a new PostCloudProjectServiceNameStorageContainerIDCorsParams object
// with the default values initialized.
func NewPostCloudProjectServiceNameStorageContainerIDCorsParams() *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	var ()
	return &PostCloudProjectServiceNameStorageContainerIDCorsParams{

		timeout: cr.DefaultTimeout,
	}
}

// NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithTimeout creates a new PostCloudProjectServiceNameStorageContainerIDCorsParams object
// with the default values initialized, and the ability to set a timeout on a request
func NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithTimeout(timeout time.Duration) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	var ()
	return &PostCloudProjectServiceNameStorageContainerIDCorsParams{

		timeout: timeout,
	}
}

// NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithContext creates a new PostCloudProjectServiceNameStorageContainerIDCorsParams object
// with the default values initialized, and the ability to set a context for a request
func NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithContext(ctx context.Context) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	var ()
	return &PostCloudProjectServiceNameStorageContainerIDCorsParams{

		Context: ctx,
	}
}

// NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithHTTPClient creates a new PostCloudProjectServiceNameStorageContainerIDCorsParams object
// with the default values initialized, and the ability to set a custom HTTPClient for a request
func NewPostCloudProjectServiceNameStorageContainerIDCorsParamsWithHTTPClient(client *http.Client) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	var ()
	return &PostCloudProjectServiceNameStorageContainerIDCorsParams{
		HTTPClient: client,
	}
}

/*PostCloudProjectServiceNameStorageContainerIDCorsParams contains all the parameters to send to the API endpoint
for the post cloud project service name storage container ID cors operation typically these are written to a http.Request
*/
type PostCloudProjectServiceNameStorageContainerIDCorsParams struct {

	/*CloudProjectStorageCorsPost*/
	CloudProjectStorageCorsPost *models.PostCloudProjectServiceNameStorageContainerIDCorsParamsBody
	/*ContainerID*/
	ContainerID string
	/*ServiceName*/
	ServiceName string

	timeout    time.Duration
	Context    context.Context
	HTTPClient *http.Client
}

// WithTimeout adds the timeout to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithTimeout(timeout time.Duration) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetTimeout(timeout)
	return o
}

// SetTimeout adds the timeout to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetTimeout(timeout time.Duration) {
	o.timeout = timeout
}

// WithContext adds the context to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithContext(ctx context.Context) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetContext(ctx)
	return o
}

// SetContext adds the context to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetContext(ctx context.Context) {
	o.Context = ctx
}

// WithHTTPClient adds the HTTPClient to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithHTTPClient(client *http.Client) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetHTTPClient(client)
	return o
}

// SetHTTPClient adds the HTTPClient to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetHTTPClient(client *http.Client) {
	o.HTTPClient = client
}

// WithCloudProjectStorageCorsPost adds the cloudProjectStorageCorsPost to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithCloudProjectStorageCorsPost(cloudProjectStorageCorsPost *models.PostCloudProjectServiceNameStorageContainerIDCorsParamsBody) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetCloudProjectStorageCorsPost(cloudProjectStorageCorsPost)
	return o
}

// SetCloudProjectStorageCorsPost adds the cloudProjectStorageCorsPost to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetCloudProjectStorageCorsPost(cloudProjectStorageCorsPost *models.PostCloudProjectServiceNameStorageContainerIDCorsParamsBody) {
	o.CloudProjectStorageCorsPost = cloudProjectStorageCorsPost
}

// WithContainerID adds the containerID to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithContainerID(containerID string) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetContainerID(containerID)
	return o
}

// SetContainerID adds the containerId to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetContainerID(containerID string) {
	o.ContainerID = containerID
}

// WithServiceName adds the serviceName to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WithServiceName(serviceName string) *PostCloudProjectServiceNameStorageContainerIDCorsParams {
	o.SetServiceName(serviceName)
	return o
}

// SetServiceName adds the serviceName to the post cloud project service name storage container ID cors params
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) SetServiceName(serviceName string) {
	o.ServiceName = serviceName
}

// WriteToRequest writes these params to a swagger request
func (o *PostCloudProjectServiceNameStorageContainerIDCorsParams) WriteToRequest(r runtime.ClientRequest, reg strfmt.Registry) error {

	if err := r.SetTimeout(o.timeout); err != nil {
		return err
	}
	var res []error

	if o.CloudProjectStorageCorsPost != nil {
		if err := r.SetBodyParam(o.CloudProjectStorageCorsPost); err != nil {
			return err
		}
	}

	// path param containerId
	if err := r.SetPathParam("containerId", o.ContainerID); err != nil {
		return err
	}

	// path param serviceName
	if err := r.SetPathParam("serviceName", o.ServiceName); err != nil {
		return err
	}

	if len(res) > 0 {
		return errors.CompositeValidationError(res...)
	}
	return nil
}

repository: Laeeth/go-ovh

repo_name: Laeeth/go-ovh

extension: go


text:
@article{gordon1970algebraic,
  title={Algebraic reconstruction techniques (ART) for three-dimensional electron microscopy and X-ray photography},
  author={Gordon, Richard and Bender, Robert and Herman, Gabor T},
  journal={Journal of theoretical Biology},
  volume={29},
  number={3},
  pages={471--481},
  year={1970},
  publisher={Elsevier}
}

repository: dgursoy/tike

repo_name: dgursoy/tike

gha_license_id: NOASSERTION

gha_language: Python

extension: bib


text:
package int32_32

import (
	"testing"
)

func TestMul(t *testing.T) {
	tests := []struct {
		op1  Type
		op2  Type
		expected Type
	}{
		// Sign tests
		{+1<<32, +1<<32, +1<<32},
		{-1<<32, +1<<32, -1<<32},
		{+1<<32, -1<<32, -1<<32},
		{-1<<32, -1<<32, +1<<32},
		// Other
		{1<<32+1<<31, 1<<32+1<<31, 2<<32+1<<30}, // 1.5 * 1.5 = 2.25
		{1<<33, 1<<31, 1<<32}, // 2 * 0.5 = 1.0
		{1<<34, 1<<30, 1<<32}, // 4 * 0.25 = 1.0
		{1<<35, 1<<29, 1<<32}, // 8 * 0.125 = 1.0
	}
	for _, test := range tests {
		result := test.op1.Mul(test.op2)
		if result != test.expected {
			t.Errorf("Expected %v.Mul(%v) == %v, got: %v", test.op1, test.op2, test.expected, result)
		}
	}
}

license: Unlicense

repository: ryanavella/fixed

repo_name: ryanavella/fixed


text:
DESCRIPTION = ""Test::LeakTrace" provides several functions that trace memory leaks. This \
module scans arenas, the memory allocation system, so it can detect any \
leaked SVs in given blocks."

SECTION = "libs"
LICENSE = "Artisticv1 | GPLv1+"
PR = "r0"

MAINTAINER=	"Poky <poky@yoctoproject.org>"
HOMEPAGE=	"https://metacpan.org/release/Test-LeakTrace"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"

SRC_URI = "https://cpan.metacpan.org/authors/id/L/LE/LEEJO/Test-LeakTrace-0.16.tar.gz"

SRC_URI[md5sum] = "d58f3e0fed32df8255787a77d7d87641"
SRC_URI[sha256sum] = "5f089eed915f1ec8c743f6d2777c3ecd0ca01df2f7b9e10038d316952583e403"

S = "${WORKDIR}/Test-LeakTrace-${PV}"

inherit cpan

BBCLASSEXTEND = "native"

repository: CELLINKAB/meta-cpan

repo_name: CELLINKAB/meta-cpan

gha_license_id: MIT


text:
package dnspod

// Domain represents domain
type Domain struct {
	ID        string   `json:"id,omitempty"`
	Name      string   `json:"name,omitempty"`
	Punycode  string   `json:"punycode,omitempty"`
	Grade     string   `json:"grade,omitempty"`
	Owner     string   `json:"owner,omitempty"`
	ExtStatus string   `json:"ext_status,omitempty"`
	TTL       int      `json:"ttl,omitempty"`
	MinTTL    int      `json:"min_ttl,omitempty"`
	DnspodNs  []string `json:"dnspod_ns,omitempty"`
	Status    string   `json:"status,omitempty"`
}

repository: xujintao/go-dnspod

repo_name: xujintao/go-dnspod


text:
# search for dot
find_program (DOT_EXE NAMES dot REQUIRED)

function(create_dependencies target)

	add_custom_target(DEPENDENCIES_${target}
		COMMAND "cmake" "--graphviz=doc/${target}/dependencies.dot" "${CMAKE_BINARY_DIR}"
		COMMAND "${DOT_EXE}" "-Tpng" "${CMAKE_BINARY_DIR}/doc/${target}/dependencies.dot" "-o" "${CMAKE_BINARY_DIR}/doc/${target}/dependencies.png"
		WORKING_DIRECTORY "${CMAKE_BINARY_DIR}"
		VERBATIM
	)

	set_directory_properties(PROPERTIES ADDITIONAL_MAKE_CLEAN_FILES "${CMAKE_BINARY_DIR}/doc/${target}")

	install(FILES ${CMAKE_BINARY_DIR}/doc/${target}/dependencies.png DESTINATION share/doc/${target}/)

endfunction()

repository: fekir/samples-cpp

repo_name: fekir/samples-cpp

extension: cmake


text:
if (${CMAKE_SYSTEM_NAME} MATCHES "Linux" AND NOT ANDROID)
    message ("Build for Linux")
    include (FindSDL2)
    link_libraries(${SDL2_LIBRARY} SDL2_ttf)
    set (LIBS GL GLU glut)
endif ()


text:
@Comment Оставляю библиографию, чтоб было видно как оформлять. В википедии есть инфа по всем типам.

@Book{ulyanov,
	author =		 {Ульянов, М.В},
	title = 		 {Ресурсо-эффективные компьютерные алгоритмы. Разработка и аналз},
	publisher = 	 {Наука},
	address =        {М.},
	pagetotal = {376},
	year = 		 {2007},
	language =     "russian"
}

@Online{salesman,
	author = {Галяутдинов Р.Р.},
	title = {Задача коммивояжера-метод ветвей и границ[Электронный ресурс]},
	year = {2013},
	url = {http://galyautdinov.ru/post/zadacha-kommivoyazhera},
	urldate = {03.12.2020},
	language = "russian"
}

@Online{conveyor,
	author = {},
	title = {Конвейеризация как средство повышения производительности ЭВМ[Электронный ресурс]},
	year = {2020},
	url = {https://spravochnick.ru/informatika/konveyerizaciya_kak_sredstvo_povysheniya_proizvoditelnosti_evm/},
	urldate = {29.11.2020},
	language = "russian"
}

@Online{crypting,
	author = {Serge Malenkovich},
	title = {Зачем нужно шифрование?[Электронный ресурс]},
	year = {2013},
	url = {https://www.kaspersky.ru/blog/encryption-reasons/879/},
	urldate = {29.11.2020},
	language = "russian"
}

@Online{cr_algs,
	author = {malkoran},
	title = {Элементарные шифры на понятном языке[Электронный ресурс]},
	year = {2019},
	url = {https://habr.com/ru/post/444176/},
	urldate = {29.11.2020},
	language = "russian"
}

@Online{threads,
	author = {Varun},
	title = {C++11 Multithreading [Электронный ресурс]},
	year = {2015},
	url = {https://thispointer.com//c-11-multithreading-part-1-three-different-ways-to-create-threads/},
	urldate = {2.10.2020},
	language = "russian"
}

branch_name: refs/heads/main


text:
SUMMARY = "Phosphor OpenBMC Post Code Daemon"
DESCRIPTION = "Phosphor OpenBMC Post Code Daemon"
HOMEPAGE = "http://github.com/openbmc/phosphor-host-postd"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327"
DEPENDS += "sdbusplus"
DEPENDS += "sdeventplus"
DEPENDS += "phosphor-dbus-interfaces"
DEPENDS += "systemd"
DEPENDS += "libgpiod"
SRCREV = "de7a6dd79bfdd6c975bfb2bdce1a0af29539535f"
PACKAGECONFIG ?= ""
PACKAGECONFIG[7seg] = "-D7seg=enabled,-D7seg=disabled,,udev"
PV = "0.1+git${SRCPV}"
PR = "r1"

SRC_URI = "git://github.com/openbmc/phosphor-host-postd;branch=master;protocol=https"

S = "${WORKDIR}/git"
SNOOP_DEVICE ?= "aspeed-lpc-snoop0"
SERVICE_FILE = "lpcsnoop.service"
SYSTEMD_PACKAGES = "${PN}"
SYSTEMD_SERVICE:${PN} += "${SERVICE_FILE}"
SERVICE_FILE_7SEG = " \
  postcode-7seg@.service \
  postcode-7seg@${POSTCODE_SEVENSEG_DEVICE}.service \
"
SYSTEMD_SERVICE:${PN} += "${@bb.utils.contains('PACKAGECONFIG', '7seg', '${SERVICE_FILE_7SEG}', '', d)}"

inherit meson
inherit pkgconfig
inherit systemd

EXTRA_OEMESON:append = " \
    -Dsnoop-device=${SNOOP_DEVICE} \
    -Dpost-code-bytes=${POST_CODE_BYTES} \
    -Dtests=disabled \
"

POST_CODE_BYTES ?= "1"
7SEG_GPIO ?= "0"
POSTCODE_SEVENSEG_DEVICE ?= "seven_seg_disp_val"

repository: openbmc/openbmc

repo_name: openbmc/openbmc


text:
% 2023-06-06
@article{Eschle:2023ikn,
    author = "Eschle, J. and others",
    title = "{Potential of the Julia programming language for high energy physics computing}",
    eprint = "2306.03675",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    month = "6",
    year = "2023",
    journal = ""
}

% 2023-02-02
@article{Bockelman:2023gbj,
    author = "Bockelman, Brian and Elmer, Peter and Watts, Gordon",
    title = "{IRIS-HEP Strategic Plan for the Next Phase of Software Upgrades for HL-LHC Physics}",
    eprint = "2302.01317",
    archivePrefix = "arXiv",
    primaryClass = "hep-ex",
    month = "2",
    year = "2023",
    journal = ""
}

% 2022-12-12
@phdthesis{Bury:2022okd,
    author = "Bury, Florian",
    title = "{Application of deep learning techniques in CMS: from matrix element regression to the search for Higgs boson pair production}",
    school = "Universit{\'e} catholique de Louvain",
    month = "12",
    year = "2022",
    url = "https://inspirehep.net/literature/2621189"
}

% 2022-12-09
@article{Aly:2022zaa,
    author = "Aly, Mohamed and others",
    title = "{Second Analysis Ecosystem Workshop Report}",
    eprint = "2212.04889",
    archivePrefix = "arXiv",
    primaryClass = "hep-ex",
    reportNumber = "HSF-DOC-2022-02",
    doi = "10.5281/zenodo.7418818",
    month = "12",
    year = "2022",
    journal = ""
}

% 2022-04-05
@booklet{ATL-PHYS-PUB-2022-017,
      author        = "{ATLAS Collaboration}",
      title         = "{SimpleAnalysis: Truth-level Analysis Framework}",
      institution   = "CERN",
      address       = "Geneva",
      reportNumber  = "ATL-PHYS-PUB-2022-017",
      month         = "Apr",
      year          = "2022",
      url           = "https://cds.cern.ch/record/2805991",
      doi           = "10.17181/CERN.R6S3.0QKV"
}

% 2022-03-22
@article{MODE:2022znx,
    author = "{MODE Collaboration}",
    title = "{Toward the end-to-end optimization of particle physics instruments with differentiable programming}",
    eprint = "2203.13818",
    archivePrefix = "arXiv",
    primaryClass = "physics.ins-det",
    doi = "10.1016/j.revip.2023.100085",
    journal = "Rev. Phys.",
    volume = "10",
    pages = "100085",
    year = "2023"
}

% 2022-03-09
@article{Enke2022,
    author = "Enke, Harry and others",
    title = "{Survey of Open Data Concepts Within Fundamental Physics: An Initiative of the PUNCH4NFDI Consortium}",
    journal = "Computing and Software for Big Science",
    year = "2022",
    month = "Mar",
    day = "09",
    volume = "6",
    number = "1",
    pages = "6",
    issn = "2510-2044",
    doi = "10.1007/s41781-022-00081-7",
    url = "https://doi.org/10.1007/s41781-022-00081-7"
}

% 2022-02-28
@article{Heinrich:2022xfa,
    author = "Heinrich, Lukas and Kagan, Michael",
    title = "{Differentiable Matrix Elements with MadJax}",
    eprint = "2203.00057",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    month = "2",
    year = "2022",
    journal = ""
}

% 2022-02-04
@article{Pivarski:2022ycs,
    author = "Pivarski, Jim and Rodrigues, Eduardo and Pedro, Kevin and Shadura, Oksana and Krikler, Benjamin and Stewart, Graeme A.",
    title = "{HL-LHC Computing Review Stage 2, Common Software Projects: Data Science Tools for Analysis}",
    eprint = "2202.02194",
    archivePrefix = "arXiv",
    primaryClass = "physics.data-an",
    reportNumber = "FERMILAB-CONF-22-061-SCD",
    month = "2",
    year = "2022",
    journal = ""
}

% 2021-07-27
@article{Tastet:2021vwp,
    author = "Tastet, Jean-Loup and Ruchayskiy, Oleg and Timiryasov, Inar",
    title = "{Reinterpreting the ATLAS bounds on heavy neutral leptons in a realistic neutrino oscillation model}",
    eprint = "2107.12980",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    doi = "10.1007/JHEP12(2021)182",
    journal = "JHEP",
    volume = "12",
    pages = "182",
    year = "2021"
}

% 2020-10-30
@phdthesis{Stanislaus:2743178,
    author = "Stanislaus, Beojan",
    title = "{Searching for Beyond the Standard Model Resonances in the $HH \to b\bar{b}b\bar{b}$ Final State Using the ATLAS Detector}",
    school = "University of Oxford",
    month = "10",
    year = "2020",
    url = "https://cds.cern.ch/record/2743178",
}

% 2020-09-03
@article{ATLAS:2020pnm,
    author = "{ATLAS Collaboration}",
    title = "{ATLAS HL-LHC Computing Conceptual Design Report}",
    reportNumber = "CERN-LHCC-2020-015, LHCC-G-178",
    month = "9",
    year = "2020",
    url = "https://cds.cern.ch/record/2729668",
    journal = ""
}

% 2020-06-20
@article{Krupa:2020bwg,
    author = "Krupa, Jeffrey and others",
    title = "{GPU coprocessors as a service for deep learning inference in high energy physics}",
    eprint = "2007.10359",
    archivePrefix = "arXiv",
    primaryClass = "physics.comp-ph",
    reportNumber = "FERMILAB-PUB-20-338-E-SCD",
    doi = "10.1088/2632-2153/abec21",
    journal = "Mach. Learn. Sci. Tech.",
    volume = "2",
    number = "3",
    pages = "035005",
    year = "2021"
}

% 2020-03-17
@article{LHCReinterpretationForum:2020xtr,
    author = "Abdallah, Waleed and others",
    collaboration = "LHC Reinterpretation Forum",
    title = "{Reinterpretation of LHC Results for New Physics: Status and Recommendations after Run 2}",
    eprint = "2003.07868",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    reportNumber = "CERN-LPCC-2020-001, FERMILAB-FN-1098-CMS-T, Imperial/HEP/2020/RIF/01",
    doi = "10.21468/SciPostPhys.9.2.022",
    journal = "SciPost Phys.",
    volume = "9",
    number = "2",
    pages = "022",
    year = "2020"
}

% 2019-09-30
@article{DiMicco:2019ngk,
    author = "Alison, J. and others",
    editor = "Di Micco, Biagio and Gouzevitch, Maxime and Mazzitelli, Javier and Vernieri, Caterina",
    title = "{Higgs boson potential at colliders: Status and perspectives}",
    eprint = "1910.00012",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    reportNumber = "FERMILAB-CONF-19-468-E-T, LHCXSWG-2019-005",
    doi = "10.1016/j.revip.2020.100045",
    journal = "Rev. Phys.",
    volume = "5",
    pages = "100045",
    year = "2020"
}

% 2019-06-24
@article{Brehmer:2019xox,
    author = "Brehmer, Johann and Kling, Felix and Espejo, Irina and Cranmer, Kyle",
    title = "{MadMiner: Machine learning-based inference for particle physics}",
    eprint = "1907.10621",
    archivePrefix = "arXiv",
    primaryClass = "hep-ph",
    doi = "10.1007/s41781-020-0035-2",
    journal = "Comput. Softw. Big Sci.",
    volume = "4",
    number = "1",
    pages = "3",
    year = "2020"
}

repository: scikit-hep/pyhf

repo_name: scikit-hep/pyhf


text:
SUMMARY = "smemstat reports the physical memory usage taking into consideration shared memory"
HOMEPAGE = "https://github.com/ColinIanKing/smemstat"
LICENSE = "GPL-2.0-or-later"

LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

DEPENDS = "ncurses"

SRC_URI = "git://github.com/ColinIanKing/smemstat.git;protocol=https;branch=master"
SRCREV = "72efeb08ccdb22f57054279d25e3c522e8e1d4c3"

S = "${WORKDIR}/git"

inherit bash-completion

do_compile () {
    oe_runmake smemstat
}

do_install () {
    oe_runmake DESTDIR=${D} install
}

repository: openembedded/meta-openembedded

repo_name: openembedded/meta-openembedded

gha_language: BitBake


text:
TRIBITS_PACKAGE_DEFINE_DEPENDENCIES(
  LIB_OPTIONAL_TPLS Pthread CUDA HWLOC DLlib HPX
  TEST_OPTIONAL_TPLS CUSPARSE
  )

TRIBITS_TPL_TENTATIVELY_ENABLE(DLlib)

repository: sandialabs/compadre

repo_name: sandialabs/compadre


text:
# Copyright (C) 2014 Linaro
# Released under the MIT license (see COPYING.MIT for the terms)

require recipes-kernel/linux/linux-linaro-qcom.inc

SRC_URI += "file://defconfig"

SRCBRANCH ?= "freedreno/ifc6410-v2.0-drm"
SRCREV ?= "602a30a57d9d3807df758221c2224e64a29e6fc7"

repository: hexmajor/meta-qcom

repo_name: hexmajor/meta-qcom


text:
//
// DISCLAIMER
//
// Copyright 2016-2023 ArangoDB GmbH, Cologne, Germany
//
// 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 agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
//
// Copyright holder is ArangoDB GmbH, Cologne, Germany
//

package v2alpha1

import (
	"testing"

	"github.com/stretchr/testify/assert"

	"github.com/arangodb/kube-arangodb/pkg/util"
)

func TestRocksDBSpecValidate(t *testing.T) {
	// Valid
	assert.Nil(t, RocksDBSpec{}.Validate())
	assert.Nil(t, RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}}.Validate())

	// Not valid
	assert.Error(t, RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("Foo")}}.Validate())
}

func TestRocksDBSpecIsEncrypted(t *testing.T) {
	assert.False(t, RocksDBSpec{}.IsEncrypted())
	assert.False(t, RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("")}}.IsEncrypted())
	assert.True(t, RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}}.IsEncrypted())
}

func TestRocksDBSpecSetDefaults(t *testing.T) {
	def := func(spec RocksDBSpec) RocksDBSpec {
		spec.SetDefaults()
		return spec
	}

	assert.Equal(t, "", def(RocksDBSpec{}).Encryption.GetKeySecretName())
}

func TestRocksDBSpecResetImmutableFields(t *testing.T) {
	tests := []struct {
		Original RocksDBSpec
		Target   RocksDBSpec
		Expected RocksDBSpec
		Result   []string
	}{
		// Valid "changes"
		{
			RocksDBSpec{},
			RocksDBSpec{},
			RocksDBSpec{},
			nil,
		},
		{
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			nil,
		},
		{
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo2")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo2")}},
			nil,
		},

		// Invalid changes
		{
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("")}},
			RocksDBSpec{Encryption: RocksDBEncryptionSpec{KeySecretName: util.NewType[string]("foo")}},
			[]string{"test.encryption.keySecretName"},
		},
	}

	for _, test := range tests {
		result := test.Original.ResetImmutableFields("test", &test.Target)
		assert.Equal(t, test.Result, result)
		assert.Equal(t, test.Expected, test.Target)
	}
}

repository: arangodb/kube-arangodb

repo_name: arangodb/kube-arangodb

gha_language: Go


text:
file(REMOVE_RECURSE
  "CMakeFiles/firestation.dir/main.cpp.o"
  "firestation"
  "firestation.pdb"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
  include(CMakeFiles/firestation.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

repository: wdjpng/soi

repo_name: wdjpng/soi


text:
package goshopify

import (
	"fmt"
	"net/http"
	"time"
)

const inventoryLevelsBasePath = "inventory_levels"

// InventoryLevelService is an interface for interacting with the
// inventory Levels endpoints of the Shopify API
// See https://shopify.dev/docs/admin-api/rest/reference/inventory/inventorylevel#index-2020-07
type InventoryLevelService interface {
	ListWithPagination(interface{}) ([]InventoryLevel, *Pagination, error)
}

// InventoryLevelServiceOp is the default implementation of the InventoryLevelService interface
type InventoryLevelServiceOp struct {
	client *Client
}

// InventoryLevel represents a Shopify inventory Level
type InventoryLevel struct {
	Available       int       `json:"available,omitempty"`
	InventoryItemID int64     `json:"inventory_item_id,omitempty"`
	LocationID      int64     `json:"location_id,omitempty"`
	UpdatedAt       time.Time `json:"updated_at,omitempty"`
}

// InventoryLevelResource is used for handling single Level requests and responses
type InventoryLevelResource struct {
	InventoryLevel *InventoryLevel `json:"inventory_Level"`
}

// InventoryLevelsResource is used for handling multiple Level responsees
type InventoryLevelsResource struct {
	InventoryLevels []InventoryLevel `json:"inventory_levels"`
}

// ListWithPagination lists inventory levels and return pagination to retrieve next/previous results.
func (s *InventoryLevelServiceOp) ListWithPagination(options interface{}) ([]InventoryLevel, *Pagination, error) {
	path := fmt.Sprintf("%s.json", inventoryLevelsBasePath)
	resource := new(InventoryLevelsResource)
	headers := http.Header{}

	headers, err := s.client.createAndDoGetHeaders("GET", path, nil, options, resource)
	if err != nil {
		return nil, nil, err
	}

	// Extract pagination info from header
	linkHeader := headers.Get("Link")

	pagination, err := extractPagination(linkHeader)
	if err != nil {
		return nil, nil, err
	}

	return resource.InventoryLevels, pagination, nil
}


text:
DESCRIPTION = "This module allows a program to respond asynchronously to HTTP requests, as \
part of a program based on IO::Async. An object in this class listens on a \
single port and invokes the "on_request" callback or subclass method \
whenever an HTTP request is received, allowing the program to respond to \
it."

SECTION = "libs"
LICENSE = "Artisticv1 | GPLv1+"
PR = "r0"

MAINTAINER=	"Poky <poky@yoctoproject.org>"
HOMEPAGE=	"https://metacpan.org/release/Net-Async-HTTP-Server"

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
file://${COMMON_LICENSE_DIR}/GPL-1.0;md5=e9e36a9de734199567a4d769498f743d"

SRC_URI = "https://cpan.metacpan.org/authors/id/P/PE/PEVANS/Net-Async-HTTP-Server-0.09.tar.gz"

SRC_URI[md5sum] = "4b13d36f2a309cde31df7c154aa3af46"
SRC_URI[sha256sum] = "62c444514a5b673128e1d5b28efb16fa367035437d76c552d64faf7045d82e48"
RDEPENDS_${PN} += "http-message-perl"
RDEPENDS_${PN} += "io-async-perl"
DEPENDS += "module-build-perl-native"
DEPENDS += "test-identity-perl-native"
DEPENDS += "test-refcount-perl-native"

S = "${WORKDIR}/Net-Async-HTTP-Server-${PV}"

inherit cpan allarch

BBCLASSEXTEND = "native"


text:
package cmd

import (
	sentrygin "github.com/getsentry/sentry-go/gin"
	"github.com/gin-gonic/gin"
	"github.com/spf13/cobra"
	"github.com/spf13/viper"
	"github.com/trustwallet/blockatlas/api"
	observerStorage "github.com/trustwallet/blockatlas/observer/storage"
	"github.com/trustwallet/blockatlas/pkg/logger"
	"github.com/trustwallet/blockatlas/util"

	swaggerFiles "github.com/swaggo/files"
	ginSwagger "github.com/swaggo/gin-swagger"
	_ "github.com/trustwallet/blockatlas/docs"
)

var apiCmd = cobra.Command{
	Use:   "api <bind>",
	Short: "API server",
	Args:  cobra.MaximumNArgs(1),
	Run:   runApi,
}

func runApi(_ *cobra.Command, args []string) {
	var bind string
	if len(args) == 0 {
		bind = ":8420"
	} else {
		bind = args[0]
	}
	RunApi(bind, nil)
}

func RunApi(bind string, c chan *gin.Engine) {
	gin.SetMode(viper.GetString("gin.mode"))
	engine := gin.Default()

	sg := sentrygin.New(sentrygin.Options{})
	engine.Use(util.CheckReverseProxy, sg)

	engine.GET("swagger/*any", ginSwagger.WrapHandler(swaggerFiles.Handler))

	engine.GET("/", api.GetRoot)
	engine.GET("/status", func(c *gin.Context) {
		api.RenderSuccess(c, map[string]interface{}{
			"status": true,
		})
	})

	api.MakeMetricsRoute(engine)
	api.LoadPlatforms(engine)
	if observerStorage.App != nil {
		observerAPI := engine.Group("/observer/v1")
		api.SetupObserverAPI(observerAPI)
	}

	if c != nil {
		c <- engine
	}

	logger.Info("Running application", logger.Params{"bind": bind})
	if err := engine.Run(bind); err != nil {
		logger.Fatal("Application failed", err)
	}
}

func init() {
	rootCmd.AddCommand(&apiCmd)
}

repository: loomnetwork/blockatlas

repo_name: loomnetwork/blockatlas


text:
inherit esw_examples features_check

REQUIRED_MACHINE_FEATURES = "qspipsu"

ESW_COMPONENT_SRC = "/XilinxProcessorIPLib/drivers/qspipsu/examples/"

repository: Xilinx/meta-xilinx

repo_name: Xilinx/meta-xilinx

gha_language: C


text:
SUMMARY = "Retry to connect to MASTER_SE"
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"

SRC_URI = " file://resetnet.sh "

SRCREV = "${AUTOREV}"

inherit update-rc.d

do_install() {
	install -d ${D}${sysconfdir}/init.d/
	install -m 0755 ${WORKDIR}/resetnet.sh ${D}${sysconfdir}/init.d/resetnet
}

INITSCRIPT_NAME = "resetnet"
INITSCRIPT_PARAMS = "start 98 5 ."

repository: thomaslepoix/meta-remote-estei

repo_name: thomaslepoix/meta-remote-estei


text:
@article{peng-etal-2017-cross,
    title = "Cross-Sentence N-ary Relation Extraction with Graph {LSTM}s",
    author = "Peng, Nanyun  and
      Poon, Hoifung  and
      Quirk, Chris  and
      Toutanova, Kristina  and
      Yih, Wen-tau",
    journal = "Transactions of the Association for Computational Linguistics",
    volume = "5",
    year = "2017",
    url = "https://www.aclweb.org/anthology/Q17-1008",
    doi = "10.1162/tacl_a_00049",
    pages = "101--115",
}

url: https://raw.githubusercontent.com/Hugh-Shi/DL-NLP-Readings/924e4d189e5660c5b5d4854278f3df755ae2231d/Bibtex/Cross-Sentence N-ary Relation Extraction with Graph LSTMs.bib

repository: Hugh-Shi/DL-NLP-Readings

repo_name: Hugh-Shi/DL-NLP-Readings


text:
@InProceedings{chang09a,
  title = {Relational Topic Models for Document Networks},
  author = {Jonathan Chang and David Blei},
  pages = {81--88},
  abstract = {We develop the relational topic model (RTM), a model of documents and the links between them. For each pair of documents, the RTM models their link as a binary random variable that is conditioned on their contents. The model can be used to summarize a network of documents, predict links between them, and predict words within them. We derive efﬁcient inference and learning algorithms based on variational methods and evaluate the predictive performance of the RTM for large networks of scientiﬁc abstracts and web documents.},
  pdf = {http://jmlr.org/proceedings/papers/v5/chang09a/chang09a.pdf},
}

repository: mreid/papersite

repo_name: mreid/papersite

gha_language: TeX


text:
package main

import (
	"fmt"
	"os"

	"github.com/spf13/cobra"
	"github.com/tal-tech/rigger/cmd"
)

var version bool

const VERSION = "v1.0.4"

var RootCmd = &cobra.Command{
	Use: "rigger",
	RunE: func(c *cobra.Command, args []string) error {
		if version {
			fmt.Println(VERSION)
			return nil
		}
		return c.Usage()
	},
}

func init() {
	RootCmd.AddCommand(cmd.Build)
	RootCmd.AddCommand(cmd.Clean)
	RootCmd.AddCommand(cmd.Example)
	RootCmd.AddCommand(cmd.Genc)
	RootCmd.AddCommand(cmd.Gens)
	RootCmd.AddCommand(cmd.Gensdemo)
	RootCmd.AddCommand(cmd.Gencdemo)
	RootCmd.AddCommand(cmd.New)
	//RootCmd.AddCommand(cmd.Help)
	RootCmd.AddCommand(cmd.Start)
	RootCmd.AddCommand(cmd.Restart)
	RootCmd.AddCommand(cmd.Status)
	RootCmd.AddCommand(cmd.Stop)
	RootCmd.AddCommand(cmd.Tag)
	RootCmd.AddCommand(cmd.Fswatch)
	RootCmd.AddCommand(cmd.Frame)
	RootCmd.AddCommand(cmd.Tree)
	RootCmd.AddCommand(cmd.Reverse)
	cmd.Genc.Flags().StringVarP(&cmd.BasePath, "basepath", "b", "tal_tech", "service BasePath")
	cmd.Genc.Flags().StringVarP(&cmd.ProjectPath, "projectpath", "p", "", "your rpc project path")
	cmd.Genc.Flags().StringVarP(&cmd.ImportPath, "importpath", "i", "", "service proto import path")
	cmd.Gencdemo.Flags().StringVarP(&cmd.ProjectPath, "projectpath", "p", "", "your rpc project path")
	cmd.Restart.Flags().BoolVarP(&cmd.Rebuild, "rebuild", "r", false, "build before start")
	cmd.Start.Flags().BoolVarP(&cmd.Foreground, "foreground", "f", false, "run at foreground")
	cmd.Fswatch.Flags().BoolVarP(&cmd.Foreground, "foreground", "f", false, "run at foreground")
	cmd.New.Flags().StringVarP(&cmd.DefaultName, "defaultnamereplace", "d", "", "template project name to replace(gaea->myproject)")
	cmd.New.Flags().StringVarP(&cmd.TitleName, "titlenamereplace", "t", "", "template project name to replace(Gaea->Myproject)")
	cmd.New.Flags().StringVarP(&cmd.GitUrl, "giturl", "g", "", "template project git url(git@github.com/tal-tech/gaea.git)")
	RootCmd.Flags().BoolVarP(&version, "version", "v", false, "show version")
	cmd.Reverse.Flags().BoolVarP(&cmd.ReverseSingle, "single", "s", false, "Generated one go file for every table")
	cmd.Reverse.Flags().StringVarP(&cmd.ReverseTmplPath, "tmplpath", "t", "", "Template dir for generated. the default templates dir has provide 1 template")
}

func main() {
	if err := RootCmd.Execute(); err != nil {
		fmt.Println(err)
		os.Exit(1)
	}
	//cmd.Run()
}

repository: tal-tech/rigger

repo_name: tal-tech/rigger


text:
# Yoe base image for using feeds

require yoe-simple-image.bb

IMAGE_INSTALL += "\
    wget \
"
export IMAGE_BASENAME = "yoe-release-image"

repository: YoeDistro/yoe-distro

repo_name: YoeDistro/yoe-distro

gha_language: Shell


text:
@Article{HIGG-2013-02,
    author         = "{ATLAS Collaboration}",
    title          = "{Measurements of Higgs boson production and couplings in diboson final states with the ATLAS detector at the LHC}",
    journal        = "Phys. Lett. B",
    volume         = "726",
    year           = "2013",
    pages          = "88",
    doi            = "10.1016/j.physletb.2014.05.011",
    reportNumber   = "CERN-PH-EP-2013-103",
    eprint         = "1307.1427",
    archivePrefix  = "arXiv",
    primaryClass   = "hep-ex",
    related        = "HIGG-2013-02-err",
    relatedstring  = "Erratum:",
}

@Article{HIGG-2013-02-err,
    author         = "{ATLAS Collaboration}",
    journal        = "Phys. Lett. B",
    volume         = "734",
    year           = "2014",
    pages          = "406",
    doi            = "10.1016/j.physletb.2014.05.011",
    reportNumber   = "CERN-PH-EP-2013-103",
}

@Booklet{ATLAS-CONF-2018-041,
    author         = "{ATLAS Collaboration}",
    title          = "{Search for supersymmetry in final states with missing transverse momentum and multiple \(b\)-jets in proton--proton collisions at \(\sqrt{s} = 13\) \(\TeV\) with the ATLAS detector}",
    howpublished   = "{ATLAS-CONF-2018-041}",
    url            = "https://cds.cern.ch/record/2632347",
    year           = "2018",
}

@article{Maguire:2017ypu,
      author         = "Maguire, Eamonn and Heinrich, Lukas and Watt, Graeme",
      title          = "{HEPData: a repository for high energy physics data}",
      booktitle      = "{Proceedings, 22nd International Conference on Computing
                        in High Energy and Nuclear Physics (CHEP2016): San
                        Francisco, CA, October 14-16, 2016}",
      journal        = "J. Phys. Conf. Ser.",
      volume         = "898",
      year           = "2017",
      number         = "10",
      pages          = "102006",
      doi            = "10.1088/1742-6596/898/10/102006",
      eprint         = "1704.05473",
      archivePrefix  = "arXiv",
      primaryClass   = "hep-ex",
      reportNumber   = "IPPP-17-31",
      SLACcitation   = "%%CITATION = ARXIV:1704.05473;%%"
}

@techreport{Cranmer:1456844,
      author        = "Cranmer, Kyle and Lewis, George and Moneta, Lorenzo and
                       Shibata, Akira and Verkerke, Wouter",
      title         = "{HistFactory: A tool for creating statistical models for
                       use with RooFit and RooStats}",
      institution   = "New York U.",
      collaboration = "ROOT Collaboration",
      address       = "New York",
      number        = "CERN-OPEN-2012-016",
      month         = "Jan",
      year          = "2012",
      reportNumber  = "CERN-OPEN-2012-016",
      url           = "https://cds.cern.ch/record/1456844",
}

% Asymptotic formulae
@Article{Cowan:2010js,
   Author = {Cowan, Glen and Cranmer, Kyle and Gross, Eilam and Vitells, Ofer},
   Eprint = "1007.1727",
   Archiveprefix = {arXiv},
   Primaryclass = {physics.data-an},
   Journal = {Eur. Phys. J. C},
   Pages = {1554},
   doi = "10.1140/epjc/s10052-011-1554-0",
   Title = {{Asymptotic formulae for likelihood-based tests of new physics}},
   Volume = {71},
   Year = {2011},
   Addendum = "Erratum: \href{http://dx.doi.org/10.1140/epjc/s10052-013-2501-z}{Eur. Phys. J. C {\textbf{73}} (2013) 2501}"
}

@misc{schema_workspace,
  title = {Workspace Schema},
  url = {https://scikit-hep.org/pyhf/schemas/1.0.0/workspace.json},
  note = {Accessed: 2019-06-20}
}

@misc{schema_model,
  title = {Model Schema},
  url = {https://scikit-hep.org/pyhf/schemas/1.0.0/model.json},
  note = {Accessed: 2019-06-20}
}

@misc{schema_defs,
  title = {HistFactory Definitions Schema},
  url = {https://scikit-hep.org/pyhf/schemas/1.0.0/defs.json},
  note = {Accessed: 2019-06-20}
}

@techreport{feickert-diana-fellowship-report,
  author       = {Matthew Feickert},
  title        = {{A study of data flow graph frameworks for statistical models in particle physics}},
  institution  = "DIANA/HEP",
  month        = "Oct",
  year         = "2018",
  publisher    = {Zenodo},
  version      = {v1.0.0},
  doi          = {10.5281/zenodo.1458059},
  url          = {https://doi.org/10.5281/zenodo.1458059}
}


text:
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PV}:"

LINUX_VERSION ?= "4.12.8"

SRCREV ?= "a0fb6543b40f216f72ef57ff3f61df918047c0fc"
SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/stable/linux-stable.git;branch=linux-4.12.y"

O_KERNEL_CONFIG_odroid-xu3  = "odroid-xu3"
O_KERNEL_CONFIG_odroid-xu4  = "odroid-xu3"
O_KERNEL_CONFIG_odroid-xu3-lite  = "odroid-xu3"
O_KERNEL_CONFIG_odroid-c2  = "odroid-c2"
O_KERNEL_CONFIG_odroid-c1  = "odroid-c1"

require linux-stable.inc

DEPENDS += "u-boot-mkimage-native"

do_compile_append_odroid-c2 () {
	uboot-mkimage -A arm64 -O linux -T kernel -C none -a 0x1080000 -e 0x1080000 -n master -d ${B}/arch/${ARCH}/boot/Image ${KERNEL_OUTPUT_DIR}/uImage
}

do_install_append_odroid-c2 () {
	install -m 0644 ${KERNEL_OUTPUT_DIR}/uImage ${D}/${KERNEL_IMAGEDEST}/uImage
}

do_deploy_append_odroid-c2 () {
	 install -m 0644 ${D}/${KERNEL_IMAGEDEST}/uImage ${DEPLOY_DIR_IMAGE}/uImage
}

FILES_${PN} += "/boot/uImage"

COMPATIBLE_MACHINE = "(odroid-c1|odroid-c2|odroid-xu3|odroid-xu4|odroid-xu3-lite)"

repository: ptsneves/meta-odroid

repo_name: ptsneves/meta-odroid


text:
%% This BibTeX bibliography file was created using BibDesk.
%% http://bibdesk.sourceforge.net/

%% Created for Virgil Griffith at 2017-04-21 14:15:31 +0800

%% Saved with string encoding Unicode (UTF-8)

@article{ostrom2002,
  title={Type of good and collective action},
  author={Ostrom, Elinor},
  journal={unpublished paper},
  pages={15},
  year={2002}
}

@misc{barder14,
  title={A Global Carbon Tax or Cap-and-Trade? Part 1: The Economic Arguments},
  author={Alice Lépissier and Owen Barder},
  year={2014},
  month={09},
  day={08},
  url={https://www.cgdev.org/blog/global-carbon-tax-or-cap-and-trade-part-1-economic-arguments}
}

@misc{demand-elasticity,
  title={Estimating cryptocurrency transaction demand elasticity from natural experiments},
  author={Vitalik Buterin},
  year={2018},
  month={06},
  day={23},
  url={https://ethresear.ch/t/estimating-cryptocurrency-transaction-demand-elasticity-from-natural-experiments/2330}
}

@misc{braveICO,
    author={Jon Southurst},
    title={BAT Token Sale Causes Hours of Ethereum Network Delays},
    year={2017},
    month={05},
    day={31},
    url={http://www.bitsonline.com/bat-sale-ethereum-network-delays/}
}

@misc{ibm2011,
     title = {GPFS Scans 10 Billion Files in 43 Minutes},
     author = {Richard F. Freitas, Joe Slember, Wayne Sawdon and Lawrence Chiu},
     year = {2011},
     institution = {IBM},
     month = {07},
     day={22},
     url={https://domino.research.ibm.com/library/CyberDig.nsf/papers/4A50C2D66A1F90F7852578E3005A2034/$File/rj10484.pdf}
}

@misc{infura,
    author={Consensys},
    title={INFURA},
    year={2017},
    month={06},
    day={01},
    url={https://infura.io}
}

@misc{spectrumetcalfe,
    author={Bob Briscoe, Andrew Odlyzko, and Benjamin Tilly},
    title={Metcalfe's Law is Wrong},
    year={2006},
    month={06},
    day={01},
    url={http://spectrum.ieee.org/computing/networks/metcalfes-law-is-wrong}
}

@misc{env-econ,
    author={Tim Haab},
    title={The long run elasticity of demand for gas},
    year={2008},
    month={06},
    day={23},
    url={http://www.env-econ.net/2008/06/the-long-run-el.html}
}

@inproceedings{cornell-position,
  title={On Scaling Decentralized Blockchains},
  author={Kyle Croman, Christian Decker, Ittay Eyal, Adem Efe Gencer, Ari Juels},
  Year={2017},
  Booktitle={3rd Workshop on Bitcoin and Blockchain Research},
  Organization={International Financial Cryptography Association},
  url={http://fc16.ifca.ai/bitcoin/papers/CDE+16.pdf}
}

@misc{medium-codetract,
    author={CodeTract},
    title={BAT ICO, USD 35 million in 24 seconds, gas and gasPrice},
    year={2017},
    month={06},
    day={01},
    url={https://medium.com/@codetractio/bat-ico-usd-35-million-in-24-seconds-gas-and-gasprice-6cdde370a615}
}

@misc{vitalik-uncle-rate,
    author={Vitalik Buterin},
    title={Uncle Rate and Transaction Fee Analysis},
    year={2016},
    month={10},
    day={31},
    url={https://blog.ethereum.org/2016/10/31/uncle-rate-transaction-fee-analysis/}
}

@misc{vitalik-twitter1,
    author={Vitalik Buterin},
    title={Tweet},
    year={2017},
    month={06},
    day={03},
    url={https://twitter.com/VitalikButerin/status/871218258212290560}
}

@misc{reddit-rec-miners,
    author={Hudson Jameson},
    title={Recommendations to miners to change gas limit and gas price settings},
    year={2017},
    month={05},
    day={31},
    url={https://www.reddit.com/r/ethereum/comments/6ehp60/recommendations_to_miners_to_change_gas_limit_and/}
}

@misc{coindesk-btc-txn-fee,
    author={Danny Bradbury},
    title={Bitcoin Transaction Fees To Be Slashed Tenfold},
    year={2014},
    month={02},
    day={28},
    url={http://www.coindesk.com/bitcoin-transaction-fees-slashed-tenfold/}
}

@misc{vitalik-coord,
    author={Vitalik Buterin},
    title={Engineering Security Through Coordination Problems},
    year={2017},
    month={05},
    day={08},
    url={http://vitalik.ca/general/2017/05/08/coordination_problems.html}
}

@misc{etherchaingas,
    author={Etherchain},
    title={Economic gas price estimation},
    year={2017},
    month={05},
    day={1},
    url={https://etherchain.org/statistics/gasPrice}
}

@misc{40years,
  author = {Karl Rupp},
  title = {40 Years of Microprocessor Trend Data},
  year = {2015},
  month={06},
  day={25},
  url = {https://www.karlrupp.net/2015/06/40-years-of-microprocessor-trend-data/},
}

@misc{wiki:runaway,
  author = {Wikipedia},
  title = {Runaway climate change --- Wikipedia{,} The Free Encyclopedia},
  year = {2017},
  url = {https://en.wikipedia.org/w/index.php?title=Runaway_climate_change&oldid=776345569},
  note = {[Online; accessed 5-May-2017]}
}

@misc{wood2014ethereum,
  title={Ethereum: A Secure Decentralized Generalized Transaction Ledger},
  author={Gavin Wood},
  year={2014},
  url={http://yellowpaper.io/}
}

@article{weitzman1974prices,
  title={Prices vs. quantities},
  author={Martin L Weitzman},
  journal={The review of economic studies},
  volume={41},
  number={4},
  pages={477--491},
  year={1974},
  publisher={JSTOR}
}

@misc{bip:141,
	Author = {Eric Lombrozo, Johnson Lau, and Pieter Wuille},
	Title = {BIP 141: Segregated Witness},
	Url = {https://github.com/bitcoin/bips/blob/master/bip-0141.mediawiki},
	Year = {2015},
	Month = {12},
	Day = {21}
}

@book{knight1921risk,
  title={Risk, uncertainty and profit},
  author={Knight, Frank H},
  year={1921},
  publisher={Courier Corporation}
}

@inproceedings{fc17ai,
    Title={A Smart Contract for Boardroom Voting with Maximum Voter Privacy},
    Author={McCorry, Patrick and Shahandashti, Siamak F. and Hao, Feng},
    Url={http://fc17.ifca.ai/preproceedings/paper_80.pdf},
    Year={2017},
    Booktitle={Proceedings of Financial Cryptography and Data Security},
    Organization={International Financial Cryptography Association}
    }

@article{vigna13fibonacci,
	Author = {Sebastiano Vigna},
	Bibsource = {dblp computer science bibliography, http://dblp.org},
	Biburl = {http://dblp.uni-trier.de/rec/bib/journals/corr/Vigna13},
	Journal = {CoRR},
	Timestamp = {Mon, 06 Jan 2014 15:10:41 +0100},
	Title = {Fibonacci Binning},
	Url = {http://arxiv.org/abs/1312.3749},
	Volume = {abs/1312.3749},
	Year = {2013},
	Bdsk-Url-1 = {http://arxiv.org/abs/1312.3749}}

@misc{wiki:ricochet,
	Author = {Wikipedia},
	Note = {[Online; accessed 28-February-2017]},
	Title = {Ricochet (software) --- Wikipedia{,} The Free Encyclopedia},
	Url = {https://en.wikipedia.org/w/index.php?title=Ricochet_(software)&oldid=755044411},
	Year = {2016},
	Bdsk-Url-1 = {https://en.wikipedia.org/w/index.php?title=Ricochet_(software)&oldid=755044411}}

@article{darknet,
	Author = {De Domenico, Manlio and Arenas, Alex},
	Doi = {10.1103/PhysRevE.95.022313},
	Issue = {2},
	Journal = {Phys. Rev. E},
	Month = {Feb},
	Numpages = {10},
	Pages = {022313},
	Publisher = {American Physical Society},
	Title = {Modeling structure and resilience of the dark network},
	Url = {http://link.aps.org/doi/10.1103/PhysRevE.95.022313},
	Volume = {95},
	Year = {2017},
	Bdsk-Url-1 = {http://link.aps.org/doi/10.1103/PhysRevE.95.022313},
	Bdsk-Url-2 = {http://dx.doi.org/10.1103/PhysRevE.95.022313}}

@inproceedings{wu2006query,
	Author = {Wu, Ping and Wen, Ji-Rong and Liu, Huan and Ma, Wei-Ying},
	Booktitle = {Data Engineering, 2006. ICDE'06. Proceedings of the 22nd International Conference on},
	Organization = {IEEE},
	Pages = {47--47},
	Title = {Query selection techniques for efficient crawling of structured web sources},
	Year = {2006}}

@article{borgatti1998network,
	Author = {Borgatti, Stephen P and Jones, Candace and Everett, Martin G},
	Journal = {Connections},
	Number = {2},
	Pages = {27--36},
	Title = {Network measures of social capital},
	Volume = {21},
	Year = {1998}}

@misc{wiki:torchat,
	Author = {Wikipedia},
	Note = {[Online; accessed 28-February-2017]},
	Title = {TorChat --- Wikipedia{,} The Free Encyclopedia},
	Url = {https://en.wikipedia.org/w/index.php?title=TorChat&oldid=728783759},
	Year = {2016},
	Bdsk-Url-1 = {https://en.wikipedia.org/w/index.php?title=TorChat&oldid=728783759}}

@misc{wiki:tormessenger,
	Author = {Wikipedia},
	Note = {[Online; accessed 28-February-2017]},
	Title = {Tor (anonymity network) --- Wikipedia{,} The Free Encyclopedia},
	Url = {https://en.wikipedia.org/w/index.php?title=Tor_(anonymity_network)#Tor_Messenger&oldid=767770868},
	Year = {2017},
	Bdsk-Url-1 = {https://en.wikipedia.org/w/index.php?title=Tor_(anonymity_network)#Tor_Messenger&oldid=767770868}}

@techreport{pagerank,
	Abstract = {The importance of a Web page is an inherently subjective matter, which depends on the readers interests, knowledge and attitudes. But there is still much that can be said objectively about the relative importance of Web pages. This paper describes PageRank, a mathod for rating Web pages objectively and mechanically, effectively measuring the human interest and attention devoted to them. We compare PageRank to an idealized random Web surfer. We show how to efficiently compute PageRank for large numbers of pages. And, we show how to apply PageRank to search and to user navigation.},
	Author = {Lawrence Page and Sergey Brin and Rajeev Motwani and Terry Winograd},
	Institution = {Stanford InfoLab},
	Month = {November},
	Note = {Previous number = SIDL-WP-1999-0120},
	Number = {1999-66},
	Publisher = {Stanford InfoLab},
	Title = {The PageRank Citation Ranking: Bringing Order to the Web.},
	Type = {Technical Report},
	Url = {http://ilpubs.stanford.edu:8090/422/},
	Year = {1999},
	Bdsk-Url-1 = {http://ilpubs.stanford.edu:8090/422/}}

@book{everton2012disrupting,
	Author = {Everton, Sean F},
	Publisher = {Cambridge University Press},
	Title = {Disrupting dark networks},
	Volume = {34},
	Year = {2012}}

@article{broder2000graph,
	Author = {Broder, Andrei and Kumar, Ravi and Maghoul, Farzin and Raghavan, Prabhakar and Rajagopalan, Sridhar and Stata, Raymie and Tomkins, Andrew and Wiener, Janet},
	Journal = {Computer networks},
	Number = {1},
	Pages = {309--320},
	Publisher = {Elsevier},
	Title = {Graph structure in the web},
	Volume = {33},
	Year = {2000}}

@article{rfc7686,
	Author = {Appelbaum, Jacob and Muffet, Alex},
	Issn = {2070-1721},
	Journal = {Internet Engineering Task Force RFC},
	Month = {Oct},
	Title = {The ``.onion'' Special-Use Domain Name},
	Url = {https://tools.ietf.org/html/rfc7686},
	Volume = {7686},
	Year = {2015},
	Bdsk-Url-1 = {https://tools.ietf.org/html/rfc7686}}

@article{clauset2009power,
	Author = {Clauset, Aaron and Shalizi, Cosma Rohilla and Newman, Mark EJ},
	Journal = {SIAM review},
	Number = {4},
	Pages = {661--703},
	Publisher = {SIAM},
	Title = {Power-law distributions in empirical data},
	Volume = {51},
	Year = {2009}}

@article{meusel2015graph,
	Author = {Meusel, Robert and Vigna, Sebastiano and Lehmberg, Oliver and Bizer, Christian},
	Journal = {The Journal of Web Science},
	Number = {1},
	Title = {The Graph Structure in the Web--Analyzed on Different Aggregation Levels},
	Volume = {1},
	Year = {2015}}

@inproceedings{lehmberg2014graph,
	Author = {Lehmberg, Oliver and Meusel, Robert and Bizer, Christian},
	Booktitle = {Proceedings of the 2014 ACM conference on Web science},
	Organization = {ACM},
	Pages = {119--128},
	Title = {Graph structure in the web: aggregated by pay-level domain},
	Year = {2014}}

@inproceedings{Meusel2014,
	Acmid = {2576928},
	Address = {New York, NY, USA},
	Author = {Meusel, Robert and Vigna, Sebastiano and Lehmberg, Oliver and Bizer, Christian},
	Booktitle = {Proceedings of the 23rd International Conference on World Wide Web},
	Doi = {10.1145/2567948.2576928},
	Isbn = {978-1-4503-2745-9},
	Keywords = {graph analysis, network analysis, web graph, web mining, world wide web},
	Location = {Seoul, Korea},
	Numpages = {6},
	Pages = {427--432},
	Publisher = {ACM},
	Series = {WWW '14 Companion},
	Title = {Graph Structure in the Web --- Revisited: A Trick of the Heavy Tail},
	Url = {http://doi.acm.org/10.1145/2567948.2576928},
	Year = {2014},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/2567948.2576928},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/2567948.2576928}}

@article{Serrano2007,
	Acmid = {1255442},
	Address = {New York, NY, USA},
	Articleno = {10},
	Author = {Serrano, M. \'{A}ngeles and Maguitman, Ana and Bogu\~{n}\'{a}, Mari\'{a}n and Fortunato, Santo and Vespignani, Alessandro},
	Doi = {10.1145/1255438.1255442},
	Issn = {1559-1131},
	Issue_Date = {August 2007},
	Journal = {ACM Trans. Web},
	Keywords = {Web graph structure, Web measurement, crawler biases, statistical analysis},
	Month = aug,
	Number = {2},
	Publisher = {ACM},
	Title = {Decoding the Structure of the WWW: A Comparative Analysis of Web Crawls},
	Url = {http://doi.acm.org/10.1145/1255438.1255442},
	Volume = {1},
	Year = {2007},
	Bdsk-Url-1 = {http://doi.acm.org/10.1145/1255438.1255442},
	Bdsk-Url-2 = {http://dx.doi.org/10.1145/1255438.1255442}}

@inproceedings{li2004first,
	Author = {Li, Lun and Alderson, David and Willinger, Walter and Doyle, John},
	Booktitle = {ACM SIGCOMM Computer Communication Review},
	Number = {4},
	Organization = {ACM},
	Pages = {3--14},
	Title = {A first-principles approach to understanding the internet's router-level topology},
	Volume = {34},
	Year = {2004}}

@article{bollobas2004robustness,
	Author = {Bollob{\'a}s, B{\'e}la and Riordan, Oliver},
	Journal = {Internet Mathematics},
	Number = {1},
	Pages = {1--35},
	Publisher = {Taylor \& Francis},
	Title = {Robustness and vulnerability of scale-free random graphs},
	Volume = {1},
	Year = {2004}}

@article{barabasi1999emergence,
	Author = {Barab{\'a}si, Albert-L{\'a}szl{\'o} and Albert, R{\'e}ka},
	Journal = {science},
	Number = {5439},
	Pages = {509--512},
	Publisher = {American Association for the Advancement of Science},
	Title = {Emergence of scaling in random networks},
	Volume = {286},
	Year = {1999}}

@article{willinger2013internet,
	Author = {Willinger, Walter and Roughan, Matthew},
	Journal = {ACM SIGCOMM eBook: Recent Advances in Networking},
	Title = {Internet topology research redux},
	Year = {2013}}

@article{willinger2009mathematics,
	Author = {Willinger, Walter and Alderson, David and Doyle, John C},
	Journal = {Notices of the AMS},
	Number = {5},
	Pages = {586--599},
	Title = {Mathematics and the internet: A source of enormous confusion and great potential},
	Volume = {56},
	Year = {2009}}

@article{pansiot1998routes,
	Author = {Pansiot, Jean-Jacques and Grad, Dominique},
	Journal = {ACM SIGCOMM Computer Communication Review},
	Number = {1},
	Pages = {41--50},
	Publisher = {ACM},
	Title = {On routes and multicast trees in the Internet},
	Volume = {28},
	Year = {1998}}

@mastersthesis{jovanovic2001modeling,
	Author = {Jovanovic, Mihajlo A},
	School = {University of Cincinnati},
	Title = {Modeling large-scale peer-to-peer networks and a case study of Gnutella},
	Year = {2001}}

@inproceedings{kumar2000web,
	Author = {Kumar, Ravi and Raghavan, Prabhakar and Rajagopalan, Sridhar and Sivakumar, Dandapani and Tompkins, Andrew and Upfal, Eli},
	Booktitle = {Proceedings of the nineteenth ACM SIGMOD-SIGACT-SIGART symposium on Principles of database systems},
	Organization = {ACM},
	Pages = {1--10},
	Title = {The Web as a graph},
	Year = {2000}}

@article{barabasi2000scale,
	Author = {Barab{\'a}si, Albert-L{\'a}szl{\'o} and Albert, R{\'e}ka and Jeong, Hawoong},
	Journal = {Physica A: Statistical Mechanics and its Applications},
	Number = {1},
	Pages = {69--77},
	Publisher = {Elsevier},
	Title = {Scale-free characteristics of random networks: the topology of the world-wide web},
	Volume = {281},
	Year = {2000}}

@article{siganos2003power,
	Author = {Siganos, Georgos and Faloutsos, Michalis and Faloutsos, Petros and Faloutsos, Christos},
	Journal = {IEEE/ACM Transactions on Networking (TON)},
	Number = {4},
	Pages = {514--524},
	Publisher = {IEEE Press},
	Title = {Power laws and the AS-level internet topology},
	Volume = {11},
	Year = {2003}}

@inproceedings{biryukov2013trawling,
	Author = {Biryukov, Alex and Pustogarov, Ivan and Weinmann, Ralf-Philipp},
	Booktitle = {Security and Privacy (SP), 2013 IEEE Symposium on},
	Organization = {IEEE},
	Pages = {80--94},
	Title = {Trawling for tor hidden services: Detection, measurement, deanonymization},
	Year = {2013}}

@article{albert2001physics,
	Author = {Albert-L{\'a}szl{\'o} Barab{\'a}si, July},
	Journal = {Physics Web http://www.physicsweb.org/article/world/14/7/09},
	Title = {The physics of the Web},
	Year = {2001}}

@article{cohen2001breakdown,
	Author = {Cohen, Reuven and Erez, Keren and Ben-Avraham, Daniel and Havlin, Shlomo},
	Journal = {Physical review letters},
	Number = {16},
	Pages = {3682},
	Publisher = {APS},
	Title = {Breakdown of the Internet under intentional attack},
	Volume = {86},
	Year = {2001}}

@article{albert2000error,
	Author = {Albert, R{\'e}ka and Jeong, Hawoong and Barab{\'a}si, Albert-L{\'a}szl{\'o}},
	Journal = {nature},
	Number = {6794},
	Pages = {378--382},
	Publisher = {Nature Publishing Group},
	Title = {Error and attack tolerance of complex networks},
	Volume = {406},
	Year = {2000}}

@article{adamic2000power,
	Author = {Adamic, Lada A and Huberman, Bernardo A},
	Journal = {Science},
	Number = {5461},
	Pages = {2115--2115},
	Publisher = {American Association for the Advancement of Science},
	Title = {Power-law distribution of the world wide web},
	Volume = {287},
	Year = {2000}}

@misc{tormetrics,
	Author = {The Tor Project},
	Month = {January},
	Title = {TorMetrics --- Unique .onion addresses},
	Url = {https://metrics.torproject.org/hidserv-dir-onions-seen.html},
	Year = {2017},
	Bdsk-Url-1 = {https://metrics.torproject.org/hidserv-dir-onions-seen.html}}

@misc{li2018,
    Author = {Shengwu Li, Mohammad Akbarpour},
    Title = {Credible Mechanisms},
    Year = {2018},
    Url = {https://ssrn.com/abstract=3033208}
}

@misc{rothkopf2007,
    Author = {Michael H Rothkopf},
    Title = {Thirteen Reasons Whythe Vickrey-Clarke-Groves Process Is Not Practical},
    Url = {https://cs.uwaterloo.ca/~klarson/teaching/F08-886/Rothkopf.pdf},
    Year = {2007}
}

@misc{poa-in-auctions,
    Author = {Tim Roughgarden, Vasilis Syrgkanis, Eva Tardoa},
    Title = {The Price of Anarchy in Auctions},
    Url = {https://theory.stanford.edu/~tim/papers/jair.pdf},
    Year = {2017}
}

@misc{bithumb-fees,
    Author = {Sam Town},
    Title = {Bitcoin Transaction Fees Skyrocket as Bithumb Cleans Out Hot Wallets Due to Hack},
    Url = {https://cryptoslate.com/bitcoin-transaction-fees-skyrocket-as-bithumb-cleans-out-hot-wallets-due-to-hack/},
    Year = {2018}
}

@misc{fee-estimation,
    Author = {Alyssa Hertig},
    Title = {How to Save on Bitcoin's Soaring Fees},
    Url = {https://www.coindesk.com/save-bitcoins-soaring-fees/},
    Year = {2018}
}

@misc{gastoken,
    Url = {https://gastoken.io/},
    Year = {2018},
    Author = {Project Chicago}
}

@misc{GHOST,
    Url = {http://citeseerx.ist.psu.edu/viewdoc/download?doi=10.1.1.433.6590&rep=rep1&type=pdf},
    Year = {2013},
    Author = {Yonatan Sompolinsky, Aviv Zohar},
    Title = {Accelerating Bitcoin's Transaction Processing: Fast Money Grows on Trees, Not Chains}
}

@misc{optimalsm,
    Url = {https://arxiv.org/pdf/1507.06183.pdf},
    Year = {2015},
    Title = {Optimal Selfish Mining Strategies in Bitcoin},
    Author = {Ayelet Sapirshtein, Yonatan Sompolinsky and Aviv Zohar}
}

@misc{hardware1,
    Url = {https://en.bitcoin.it/wiki/Non-specialized_hardware_comparison},
    Year = {2018},
    Title = {Bitcoin Wiki, Non-specialized hardware comparison}
}

@misc{hardware2,
    Url = {https://en.bitcoin.it/wiki/Mining_hardware_comparison},
    Year = {2018},
    Title = {Bitcoin Wiki, Mining hardware comparison}
}

@misc{nonoutsourceable,
    Url = {http://soc1024.ece.illinois.edu/nonoutsourceable.pdf},
    Year = {2014},
    Author = {Andrew Miller, Ahmed Kosba, Jonathan Katz and Elaine Shi},
    Title = {Nonoutsourceable Scratch-Off Puzzles to Discourage Bitcoin Mining Coalitions}
}

@misc{proof-of-bandwidth,
    Url = {https://www.nrl.navy.mil/itd/chacs/ghosh-torpath-torcoin-proof-bandwidth-altcoins-compensating-relays},
    Year = {2014},
    Author = {AuthorGhosh, M. Richardson, B. Ford and R. Jansen},
    Title = {A TorPath to TorCoin: Proof-of-Bandwidth Altcoins for Compensating Relays}
}

@misc{utxo1,
    Url = {https://eprint.iacr.org/2017/1095.pdf},
    Year = {2018},
    Title = {Analysis of the Bitcoin UTXO set},
    Author = {Sergi Delgado-Segura, Cristina Perez-Sola, Guillermo Navarro-Arribas and Jordi Herrera-Joancomartı}
}

@misc{utxo2,
    Url = {https://bitcoin.stackexchange.com/questions/1195/how-to-calculate-transaction-size-before-sending-legacy-non-segwit-p2pkh-p2sh},
    Year = {2013},
    Title = {How to calculate transaction size before sending (Legacy Non-Segwit - P2PKH/P2SH)},
    Author = {Chris Moore}
}

@misc{utxo3,
    Url = {https://en.bitcoin.it/wiki/Transaction#General_format_.28inside_a_block.29_of_each_output_of_a_transaction_-_Txout},
    Year = {2018},
    Title = {Bitcoin Wiki: Transaction}
}

@misc{utxo4,
    Url = {https://en.bitcoin.it/wiki/Script#Anyone-Can-Spend_Outputs},
    Year = {2018},
    Title = {Bitcoin Wiki: Script, Anyone can Spend Outputs}
}

@misc{utxo5,
    Url = {https://eprint.iacr.org/2018/513.pdf},
    Year = {2018},
    Title = {Another coin bites the dust: An analysis of dust in UTXO based cryptocurrencies},
    Author = {C. Perez-Sol`a, S. Delgado-Segura, G. Navarro-Arribas and J. Herrera-Joancomarti}
}

@misc{weightunits,
    Url = {https://en.bitcoin.it/wiki/Weight_units},
    Year = {2018},
    Title = {Bitcoin Wiki: Weight Units}
}

@misc{segwitwhy4,
    Url = {https://segwit.org/why-a-discount-factor-of-4-why-not-2-or-8-bbcebe91721e},
    Year = {2017},
    Title = {Why a discount factor of 4? Why not 2 or 8?}
}

@misc{cornell,
    Url = {https://fc16.ifca.ai/bitcoin/papers/CDE+16.pdf},
    Title = {On Scaling Decentralized Blockchains},
    Year = {2016},
    Author = {Kyle Croman, Christian Decker, Ittay Eyal et al}
}

@misc{btcfeesdown10x,
    Url = {https://www.coindesk.com/bitcoin-transaction-fees-slashed-tenfold/},
    Title = {Bitcoin Transaction Fees To Be Slashed Tenfold},
    Year = {2014},
    Author = {Danny Bradbury}
}

@misc{blocksizedebate,
    Url = {https://en.bitcoin.it/wiki/Block_size_limit_controversy},
    Title = {Block size limit controversy},
    Year = {2018},
}

repository: ethereum/research

repo_name: ethereum/research


text:
@Manual{R-akima,
  title = {akima: Interpolation of Irregularly and Regularly Spaced Data},
  author = {H. Akima and Albrecht Gebhardt and Thomas Petzoldt and Martin Maechler},
  year = {2016},
  note = {R package version 0.6-2},
  url = {https://CRAN.R-project.org/package=akima},
}
@Manual{R-base,
  title = {R: A Language and Environment for Statistical Computing},
  author = {{R Core Team}},
  organization = {R Foundation for Statistical Computing},
  address = {Vienna, Austria},
  year = {2017},
  url = {https://www.R-project.org/},
}
@Manual{R-bookdown,
  title = {bookdown: Authoring Books and Technical Documents with R Markdown},
  author = {Yihui Xie},
  year = {2016},
  note = {R package version 0.3.14},
  url = {https://github.com/rstudio/bookdown},
}
@Manual{R-class,
  title = {class: Functions for Classification},
  author = {Brian Ripley},
  year = {2015},
  note = {R package version 7.3-14},
  url = {https://CRAN.R-project.org/package=class},
}
@Manual{R-datras2,
  title = {datras2: What the Package Does (one line, title case)},
  author = {Einar Hjorleifsson},
  note = {R package version 0.0.0.9000},
  year = {2016},
}
@Manual{R-datrasr,
  title = {datrasr: For analysing and visualising ICES datras trawl survey data},
  author = {Doug Beare},
  year = {2011},
  note = {R package version 7.0},
}
@Manual{R-doBy,
  title = {doBy: Groupwise Statistics, LSmeans, Linear Contrasts, Utilities},
  author = {Søren Højsgaard and Ulrich Halekoh},
  year = {2016},
  note = {R package version 4.5-15},
  url = {https://CRAN.R-project.org/package=doBy},
}
@Manual{R-dplyr,
  title = {dplyr: A Grammar of Data Manipulation},
  author = {Hadley Wickham and Romain Francois},
  year = {2016},
  note = {R package version 0.5.0},
  url = {https://CRAN.R-project.org/package=dplyr},
}
@Manual{R-fields,
  title = {fields: Tools for spatial data},
  author = {Douglas Nychka and Reinhard Furrer and Stephan Sain},
  year = {2013},
  note = {R package version 6.9.1},
  url = {https://CRAN.R-project.org/package=fields},
}
@Manual{R-foreign,
  title = {foreign: Read Data Stored by Minitab, S, SAS, SPSS, Stata, Systat, Weka,
dBase, ...},
  author = {{R Core Team}},
  year = {2014},
  note = {R package version 0.8-60},
  url = {https://CRAN.R-project.org/package=foreign},
}
@Manual{R-Formula,
  title = {Formula: Extended Model Formulas},
  author = {Achim Zeileis and Yves Croissant},
  year = {2013},
  note = {R package version 1.1-1},
  url = {https://CRAN.R-project.org/package=Formula},
}
@Manual{R-ggplot2,
  title = {ggplot2: Create Elegant Data Visualisations Using the Grammar of Graphics},
  author = {Hadley Wickham and Winston Chang},
  note = {http://ggplot2.tidyverse.org, https://github.com/tidyverse/ggplot2},
  year = {2016},
}
@Manual{R-knitr,
  title = {knitr: A General-Purpose Package for Dynamic Report Generation in R},
  author = {Yihui Xie},
  year = {2016},
  note = {R package version 1.15.1},
  url = {https://CRAN.R-project.org/package=knitr},
}
@Manual{R-lattice,
  title = {lattice: Lattice Graphics},
  author = {Deepayan Sarkar},
  year = {2014},
  note = {R package version 0.20-27},
  url = {https://CRAN.R-project.org/package=lattice},
}
@Manual{R-mapdata,
  title = {mapdata: Extra Map Databases},
  author = {Original S code by Richard A. Becker and Allan R. Wilks. R version by Ray Brownrigg.},
  year = {2016},
  note = {R package version 2.2-6},
  url = {https://CRAN.R-project.org/package=mapdata},
}
@Manual{R-maps,
  title = {maps: Draw Geographical Maps},
  author = {Ray Brownrigg},
  year = {2017},
  note = {R package version 3.2.0},
  url = {https://CRAN.R-project.org/package=maps},
}
@Manual{R-maptools,
  title = {maptools: Tools for Reading and Handling Spatial Objects},
  author = {Roger Bivand and Nicholas Lewin-Koh},
  year = {2017},
  note = {R package version 0.9-2},
  url = {https://CRAN.R-project.org/package=maptools},
}
@Manual{R-maxLik,
  title = {maxLik: Maximum Likelihood Estimation and Related Tools},
  author = {Ott Toomet and Arne Henningsen and with contributions from Spencer Graves and Yves Croissant},
  year = {2015},
  note = {R package version 1.3-4},
  url = {https://CRAN.R-project.org/package=maxLik},
}
@Manual{R-mda,
  title = {mda: Mixture and flexible discriminant analysis},
  author = {S original by Trevor Hastie & Robert Tibshirani. Original R port by Friedrich Leisch and Kurt Hornik and Brian D. Ripley.},
  year = {2013},
  note = {R package version 0.4-4},
  url = {https://CRAN.R-project.org/package=mda},
}
@Manual{R-mgcv,
  title = {mgcv: Mixed GAM Computation Vehicle with GCV/AIC/REML smoothness
estimation},
  author = {Simon Wood},
  year = {2014},
  note = {R package version 1.7-28},
  url = {https://CRAN.R-project.org/package=mgcv},
}
@Manual{R-miscTools,
  title = {miscTools: Miscellaneous Tools and Utilities},
  author = {Arne Henningsen and Ott Toomet},
  year = {2016},
  note = {R package version 0.6-22},
  url = {https://CRAN.R-project.org/package=miscTools},
}
@Manual{R-mlogit,
  title = {mlogit: multinomial logit model},
  author = {Yves Croissant},
  year = {2013},
  note = {R package version 0.2-4},
  url = {https://CRAN.R-project.org/package=mlogit},
}
@Manual{R-nlme,
  title = {nlme: Linear and Nonlinear Mixed Effects Models},
  author = {José Pinheiro and Douglas Bates and {R-core}},
  year = {2014},
  note = {R package version 3.1-115},
  url = {https://CRAN.R-project.org/package=nlme},
}
@Manual{R-PBSmapping,
  title = {PBSmapping: Mapping Fisheries Data and Spatial Analysis Tools},
  author = {Jon T. Schnute and Nicholas Boers and Rowan Haigh},
  year = {2015},
  note = {R package version 2.69.76},
  url = {https://CRAN.R-project.org/package=PBSmapping},
}
@Manual{R-permute,
  title = {permute: Functions for generating restricted permutations of data},
  author = {Gavin L. Simpson},
  year = {2014},
  note = {R package version 0.8-3},
  url = {https://CRAN.R-project.org/package=permute},
}
@Manual{R-purrr,
  title = {purrr: Functional Programming Tools},
  author = {Lionel Henry and Hadley Wickham},
  year = {2017},
  note = {R package version 0.2.2.2},
  url = {https://CRAN.R-project.org/package=purrr},
}
@Manual{R-raster,
  title = {raster: Geographic Data Analysis and Modeling},
  author = {Robert J. Hijmans},
  year = {2016},
  note = {R package version 2.5-8},
  url = {https://CRAN.R-project.org/package=raster},
}
@Manual{R-readr,
  title = {readr: Read Tabular Data},
  author = {Hadley Wickham and Jim Hester and Romain Francois},
  year = {2016},
  note = {R package version 1.0.0},
  url = {https://CRAN.R-project.org/package=readr},
}
@Manual{R-rgdal,
  title = {rgdal: Bindings for the Geospatial Data Abstraction Library},
  author = {Roger Bivand and Tim Keitt and Barry Rowlingson},
  year = {2017},
  note = {R package version 1.2-7},
  url = {https://CRAN.R-project.org/package=rgdal},
}
@Manual{R-rmarkdown,
  title = {rmarkdown: Dynamic Documents for R},
  author = {JJ Allaire and Joe Cheng and Yihui Xie and Jonathan McPherson and Winston Chang and Jeff Allen and Hadley Wickham and Aron Atkins and Rob Hyndman and Ruben Arslan},
  year = {2017},
  note = {R package version 1.5},
  url = {https://CRAN.R-project.org/package=rmarkdown},
}
@Manual{R-shapefiles,
  title = {shapefiles: Read and Write ESRI Shapefiles},
  author = {Ben Stabler},
  year = {2013},
  note = {R package version 0.7},
  url = {https://CRAN.R-project.org/package=shapefiles},
}
@Manual{R-sp,
  title = {sp: Classes and Methods for Spatial Data},
  author = {Edzer Pebesma and Roger Bivand},
  year = {2016},
  note = {R package version 1.2-4},
  url = {https://CRAN.R-project.org/package=sp},
}
@Manual{R-spam,
  title = {spam: SPArse Matrix},
  author = {Reinhard Furrer},
  year = {2014},
  note = {R package version 0.41-0},
  url = {https://CRAN.R-project.org/package=spam},
}
@Manual{R-tibble,
  title = {tibble: Simple Data Frames},
  author = {Kirill Müller and Hadley Wickham},
  year = {2017},
  note = {R package version 1.3.1},
  url = {https://CRAN.R-project.org/package=tibble},
}
@Manual{R-tidyr,
  title = {tidyr: Easily Tidy Data with 'spread()' and 'gather()' Functions},
  author = {Hadley Wickham},
  year = {2017},
  note = {R package version 0.6.3},
  url = {https://CRAN.R-project.org/package=tidyr},
}
@Manual{R-tidyverse,
  title = {tidyverse: Easily Install and Load 'Tidyverse' Packages},
  author = {Hadley Wickham},
  year = {2016},
  note = {R package version 1.0.0},
  url = {https://CRAN.R-project.org/package=tidyverse},
}
@Manual{R-vegan,
  title = {vegan: Community Ecology Package},
  author = {Jari Oksanen and F. Guillaume Blanchet and Roeland Kindt and Pierre Legendre and Peter R. Minchin and R. B. O'Hara and Gavin L. Simpson and Peter Solymos and M. Henry H. Stevens and Helene Wagner},
  year = {2013},
  note = {R package version 2.0-10},
  url = {https://CRAN.R-project.org/package=vegan},
}

repository: einarhjorleifsson/datrastutorial

repo_name: einarhjorleifsson/datrastutorial


text:
SUMMARY = "ShellHub Agent"
HOMEPAGE = "https://shellhub.io"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${S}/src/${GO_IMPORT}/LICENSE.md;md5=fa818a259cbed7ce8bc2a22d35a464fc"
DEPENDS = "libxcrypt"

SRC_URI = " \
    git://github.com/shellhub-io/shellhub;protocol=https;nobranch=1 \
    file://shellhub-agent.initd \
    file://shellhub-agent.profile.d \
    file://shellhub-agent.service \
    file://shellhub-agent.start \
    file://shellhub-agent.wrapper.in \
"

SRCREV="df7a72334e92e63897ff197e8da4b0c638bc5a87"

inherit go systemd update-rc.d

# Avoid dynamic linking as it causes segfault
GO_LINKSHARED = ""

SYSTEMD_SERVICE:${PN} = "${PN}.service"

INITSCRIPT_NAME = "${PN}"
INITSCRIPT_PARAMS = "defaults 99"

GO_IMPORT = "github.com/shellhub-io/shellhub"

GO_INSTALL = "github.com/shellhub-io/shellhub/agent"

GO_LDFLAGS = '-ldflags="${GO_RPATH} ${GO_LINKMODE} -X main.AgentVersion=v${PV} -extldflags '${GO_EXTLDFLAGS}'"'

GOBUILDFLAGS:append = " -modcacherw"

do_compile[dirs] += "${B}/src/${GO_IMPORT}/agent"
do_compile[network] = "1"

do_install:append() {
    # We name the binary as shellhub-agent
    mkdir -p ${D}${libexecdir}/shellhub/bin/
    mv ${D}${bindir}/agent ${D}${libexecdir}/shellhub/bin/shellhub-agent

    # Handle init system integration
    if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then
        install -Dm 0644 ${WORKDIR}/shellhub-agent.service ${D}${systemd_unitdir}/system/shellhub-agent.service
        sed -i -e 's,@BINDIR@,${bindir},g' ${D}${systemd_unitdir}/system/shellhub-agent.service
    fi
    if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
        install -Dm 0755 ${WORKDIR}/shellhub-agent.initd ${D}/${sysconfdir}/init.d/shellhub-agent
        install -Dm 0755 ${WORKDIR}/shellhub-agent.start ${D}${libdir}/shellhub-agent/shellhub-agent.start
        sed -e 's,@BINDIR@,${bindir},g' \
            -e 's,@LIBDIR@,${libdir},g' \
            -e 's,@LOCALSTATEDIR@,${localstatedir},g' \
            -e 's,@SYSCONFDIR@,${sysconfdir},g' \
            -i ${D}/${sysconfdir}/init.d/shellhub-agent
    fi

    # Shell prompt handling
    install -Dm 0755 ${WORKDIR}/shellhub-agent.profile.d ${D}/${sysconfdir}/profile.d/shellhub-agent.sh

    # Script that allow to run sh files before shellhub-agent binary start
    install -Dm 0755 ${WORKDIR}/shellhub-agent.wrapper.in ${D}${bindir}/shellhub-agent
    sed -e 's,@LIBEXEC@,${libexecdir},g' -i ${D}${bindir}/shellhub-agent
}

RDEPENDS:${PN} += "\
    openssh-scp \
    shellhub-agent-config \
    shadow \
"

RRECOMMENDS:${PN} += "ca-certificates"
RDEPENDS:${PN}-dev += "bash"

repository: shellhub-io/meta-shellhub

repo_name: shellhub-io/meta-shellhub


text:
# Block just as long as timeout.cmake would if it were not killed.
execute_process(COMMAND ${Timeout})

# Verify that the log is empty, which indicates that the grandchild
# was killed before it finished sleeping.
file(READ "${Log}" LOG)
if(NOT "${LOG}" STREQUAL "")
  message(FATAL_ERROR "${LOG}")
endif()


text:
% Encoding: UTF-8

@Article{CottamWadsworthShawEtAl2008,
  author =        {Cottam, Eleanor M. and Wadsworth, Jemma and Shaw, Andrew E. and Rowlands, Rebecca J. and Goatley, Lynnette and Maan, Sushila and Maan, Narender S. and Mertens, Peter P C. and Ebert, Katja and Li, Yanmin and Ryan, Eoin D. and Juleff, Nicholas and Ferris, Nigel P. and Wilesmith, John W. and Haydon, Daniel T. and King, Donald P. and Paton, David J. and Knowles, Nick J.},
  title =         {Transmission pathways of foot-and-mouth disease virus in the United Kingdom in 2007.},
  journal =       {PLoS Pathog},
  year =          {2008},
  volume =        {4},
  number =        {4},
  pages =         {e1000050},
  month =         {Apr},
  __markedentry = {[simon:6]},
  abstract =      {Foot-and-mouth disease (FMD) virus causes an acute vesicular disease of domesticated and wild ruminants and pigs. Identifying sources of FMD outbreaks is often confounded by incomplete epidemiological evidence and the numerous routes by which virus can spread (movements of infected animals or their products, contaminated persons, objects, and aerosols). Here, we show that the outbreaks of FMD in the United Kingdom in August 2007 were caused by a derivative of FMDV O(1) BFS 1860, a virus strain handled at two FMD laboratories located on a single site at Pirbright in Surrey. Genetic analysis of complete viral genomes generated in real-time reveals a probable chain of transmission events, predicting undisclosed infected premises, and connecting the second cluster of outbreaks in September to those in August. Complete genome sequence analysis of FMD viruses conducted in real-time have identified the initial and intermediate sources of these outbreaks and demonstrate the value of such techniques in providing information useful to contemporary disease control programmes.},
  doi =           {10.1371/journal.ppat.1000050},
  institution =   {Institute for Animal Health, Pirbright Laboratory, Pirbright, Woking, Surrey, United Kingdom.},
  keywords =      {Animals; Base Sequence; Cluster Analysis; Disease Outbreaks; Foot-and-Mouth Disease Virus, classification/genetics/isolation /&/ purification; Foot-and-Mouth Disease, epidemiology/transmission/virology; Genome, Viral; Great Britain, epidemiology; Molecular Epidemiology; Molecular Sequence Data; RNA, Viral, analysis; Sequence Analysis, DNA},
  language =      {eng},
  medline-pst =   {epublish},
  pmc =           {PMC2277462},
  pmid =          {18421380},
  url =           {http://dx.doi.org/10.1371/journal.ppat.1000050}
}

repository: molecular-epidemiology/molepi-data

repo_name: molecular-epidemiology/molepi-data


text:
package logger_test

import (
	"testing"

	"github.com/gkarlik/quark-go/logger"
	"github.com/stretchr/testify/assert"
)

func TestLogrusLogger(t *testing.T) {
	l := logger.NewLogger()
	l.SetLevel(logger.DebugLevel)

	assert.Panics(t, func() {
		l.Panic("Test panic")
	})

	assert.Panics(t, func() {
		l.PanicWithFields(logger.Fields{"panic": true}, "Test panic")
	})

	// it's hard to test fatal behavior - skipping for now
	// l.Fatal("Test fatal")
	// l.FatalWithFields(logger.Fields{"fatal": true}, "Test fatal")

	l.Debug("Test debug")
	l.DebugWithFields(logger.Fields{"debug": true}, "Test debug")

	l.Error("Test error")
	l.ErrorWithFields(logger.Fields{"error": true}, "Test error")

	l.Warning("Test warning")
	l.WarningWithFields(logger.Fields{"warning": true}, "Test warning")

	l.Info("Test info")
	l.InfoWithFields(logger.Fields{"info": true}, "Test info")

	assert.Equal(t, true, l.IsLevel(logger.DebugLevel))
	assert.Equal(t, false, l.IsLevel(logger.ErrorLevel))
}

func TestLackOfInternalLogger(t *testing.T) {
	assert.Panics(t, func() {
		logger.SetInternalLogger(nil)
	})
}

func TestSetInternalLogger(t *testing.T) {
	l := logger.NewLogger()

	logger.SetInternalLogger(l)

	assert.Equal(t, l, logger.Log())
}

repository: gkarlik/quark-go

repo_name: gkarlik/quark-go


text:
# Summary
@article{nolan1998prospective,
  title={Prospective study of heart rate variability and mortality in chronic heart failure: results of the United Kingdom heart failure evaluation and assessment of risk trial (UK-heart)},
  author={Nolan, James and Batin, Phillip D and Andrews, Richard and Lindsay, Steven J and Brooksby, Paul and Mullen, Michael and Baig, Wazir and Flapan, Andrew D and Cowley, Alan and Prescott, Robin J and others},
  journal={Circulation},
  volume={98},
  number={15},
  pages={1510--1516},
  year={1998},
  publisher={Am Heart Assoc}
}
@article{weissman2006power,
  title={Power spectral analysis of heart rate variability during the 100-g oral glucose tolerance test in pregnant women},
  author={Weissman, Amir and Lowenstein, Lior and Peleg, Amir and Thaler, Israel and Zimmer, Etan Z},
  journal={Diabetes care},
  volume={29},
  number={3},
  pages={571--574},
  year={2006},
  publisher={Am Diabetes Assoc}
}
@article{sajadieh2004increased,
  title={Increased heart rate and reduced heart-rate variability are associated with subclinical inflammation in middle-aged and elderly subjects with no apparent heart disease},
  author={Sajadieh, Ahmad and Nielsen, Olav Wendelboe and Rasmussen, Verner and Hein, Hans Ole and Abedini, Sadollah and Hansen, J{\o}rgen Fischer},
  journal={European heart journal},
  volume={25},
  number={5},
  pages={363--370},
  year={2004},
  publisher={Oxford University Press}
}
@article{sgoifo2015autonomic,
  title={Autonomic dysfunction and heart rate variability in depression},
  author={Sgoifo, Andrea and Carnevali, Luca and Pico Alfonso, Maria de los Angeles and Amore, Mario},
  journal={Stress},
  volume={18},
  number={3},
  pages={343--352},
  year={2015},
  publisher={Taylor \& Francis}
}
@article{degiorgio2010rmssd,
  title={RMSSD, a measure of vagus-mediated heart rate variability, is associated with risk factors for SUDEP: the SUDEP-7 Inventory},
  author={DeGiorgio, Christopher M and Miller, Patrick and Meymandi, Sheba and Chin, Alex and Epps, Jordan and Gordon, Steven and Gornbein, Jeffrey and Harper, Ronald M},
  journal={Epilepsy \& Behavior},
  volume={19},
  number={1},
  pages={78--81},
  year={2010},
  publisher={Elsevier}
}
@article{burton2010reduced,
  title={Reduced heart rate variability predicts poor sleep quality in a case--control study of chronic fatigue syndrome},
  author={Burton, AR and Rahman, K and Kadota, Y and Lloyd, A and Vollmer-Conna, U},
  journal={Experimental brain research},
  volume={204},
  number={1},
  pages={71--78},
  year={2010},
  publisher={Springer}
}
@article{welch1967use,
  title={The use of fast Fourier transform for the estimation of power spectra: a method based on time averaging over short, modified periodograms},
  author={Welch, Peter},
  journal={IEEE Transactions on audio and electroacoustics},
  volume={15},
  number={2},
  pages={70--73},
  year={1967},
  publisher={IEEE}
}

@article{electrophysiology1996heart,
  title={Heart rate variability: standards of measurement, physiological interpretation, and clinical use},
  author={Electrophysiology, Task Force of the European Society of Cardiology the North American Society of Pacing},
  journal={Circulation},
  volume={93},
  number={5},
  pages={1043--1065},
  year={1996},
  publisher={Am Heart Assoc}
}
@Misc{numpy,
  author =    {Travis Oliphant},
  title =     {{NumPy}: A guide to {NumPy}},
  year =      {2006},
  howpublished = {USA: Trelgol Publishing},
  url = "http://www.numpy.org/",
  note = {[Online; accessed <today>]}
 }

@article{piskorski2005filtering,
  title={Filtering poincare plots},
  author={Piskorski, Jaros{\l}aw and Guzik, Przemys{\l}aw},
  journal={Computational methods in science and technology},
  volume={11},
  number={1},
  pages={39--48},
  year={2005}
}
@article{berntson1997heart,
  title={Heart rate variability: origins, methods, and interpretive caveats},
  author={Berntson, Gary G and Thomas Bigger Jr, J and Eckberg, Dwain L and Grossman, Paul and Kaufmann, Peter G and Malik, Marek and Nagaraja, Haikady N and Porges, Stephen W and Saul, J Philip and Stone, Peter H and others},
  journal={Psychophysiology},
  volume={34},
  number={6},
  pages={623--648},
  year={1997},
  publisher={Wiley Online Library}
}
@article{piskorski2005filtering,
  title={Filtering poincare plots},
  author={Piskorski, Jaros{\l}aw and Guzik, Przemys{\l}aw},
  journal={Computational methods in science and technology},
  volume={11},
  number={1},
  pages={39--48},
  year={2005}
}
@article{hunter2007matplotlib,
  author={Hunter, J. D.},
  title={Matplotlib: A 2D graphics environment},
  journal={Computing in Science \& Engineering},
  volume={9},
  number={3},
  pages={90--95},
  abstract={Matplotlib is a 2D graphics package used for Python for
    application development, interactive scripting, and publication-quality
    image generation across user interfaces and operating systems.},
  publisher={IEEE COMPUTER SOC},
  doi={10.1109/MCSE.2007.55},
  year=2007
}
@misc{numpy,
  author={Travis Oliphant},
  title={{NumPy}: A guide to {NumPy}},
  year={2006},
  howpublished={USA: Trelgol Publishing},
  url="http://www.numpy.org/",
  note={[Online; accessed <today>]}
 }

 @misc{scipy,
   author={Eric Jones and Travis Oliphant and Pearu Peterson and others},
   title={{SciPy}: Open source scientific tools for {Python}},
   year={2001},
   url="http://www.scipy.org/",
   note={[Online; accessed <today>]}
 }
@article{cokelaer2017spectrum,
  title={'Spectrum': Spectral Analysis in Python.},
  author={Cokelaer, Thomas and Hasch, Juergen},
  journal={J. Open Source Software},
  volume={2},
  number={18},
  pages={348},
  year={2017}
}

@article{malik1990heart,
  title={Heart rate variability},
  author={Malik, Marek and Camm, A John},
  journal={Clinical cardiology},
  volume={13},
  number={8},
  pages={570--576},
  year={1990},
  publisher={Wiley Online Library}
}

repository: LegrandNico/hrv

repo_name: LegrandNico/hrv


text:
//go:build envtest
// +build envtest

/*
 Copyright 2021 Crunchy Data Solutions, Inc.
 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 agreed to in writing, software
 distributed under the License is distributed on an "AS IS" BASIS,
 WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 See the License for the specific language governing permissions and
 limitations under the License.
*/

package pgbackrest

import (
	"path/filepath"
	"testing"

	corev1 "k8s.io/api/core/v1"

	// Google Kubernetes Engine / Google Cloud Platform authentication provider
	_ "k8s.io/client-go/plugin/pkg/client/auth/gcp"
	"sigs.k8s.io/controller-runtime/pkg/client"
	"sigs.k8s.io/controller-runtime/pkg/envtest"
	"sigs.k8s.io/yaml"

	"github.com/crunchydata/postgres-operator/internal/controller/runtime"
)

// Testing namespace and postgrescluster name
const (
	testclustername = "testcluster"
	testFieldOwner  = "pgbackrestConfigTestFieldOwner"
)

// getCMData returns the 'Data' content from the specified configmap
func getCMData(cm corev1.ConfigMap, key string) string {

	return cm.Data[key]
}

// simpleMarshalContains takes in a YAML object and checks whether
// it includes the expected string
func simpleMarshalContains(actual interface{}, expected string) bool {
	b, err := yaml.Marshal(actual)

	if err != nil {
		return false
	}

	if string(b) == expected {
		return true
	}
	return false
}

// setupTestEnv configures and starts an EnvTest instance of etcd and the Kubernetes API server
// for test usage, as well as creates a new client instance.
func setupTestEnv(t *testing.T) (*envtest.Environment, client.Client) {

	testEnv := &envtest.Environment{
		CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")},
	}
	cfg, err := testEnv.Start()
	if err != nil {
		t.Fatal(err)
	}
	t.Log("Test environment started")

	pgoScheme, err := runtime.CreatePostgresOperatorScheme()
	if err != nil {
		t.Fatal(err)
	}
	client, err := client.New(cfg, client.Options{Scheme: pgoScheme})
	if err != nil {
		t.Fatal(err)
	}

	return testEnv, client
}

// teardownTestEnv stops the test environment when the tests
// have completed
func teardownTestEnv(t *testing.T, testEnv *envtest.Environment) {
	if err := testEnv.Stop(); err != nil {
		t.Error(err)
	}
	t.Log("Test environment stopped")
}

repository: jkatz/postgres-operator

repo_name: jkatz/postgres-operator


text:
package main
import (
	"formllm/dao"
	"github.com/jinzhu/gorm"
	_ "github.com/jinzhu/gorm/dialects/mysql"
)

func InitDB()(d *dao.Dao,close func() error,err error){
	db, err := gorm.Open("mysql", "root:123456@(127.0.0.1:3309)/test?charset=utf8&parseTime=True&loc=Local")
	if err!=nil{
		return
	}
	d = &dao.Dao{DB:db}
	close = db.Close
	return
}

repository: liuqiansb/formllm

repo_name: liuqiansb/formllm


text:
@article{courty:inria-00352121,
 author = {Courty, Nicolas and Marchand, E.},
 hal_id = {inria-00352121},
 hal_version = {v1},
 journal = {Revue des Sciences et Technologies de l'Information - Série TSI : Technique et Science Informatiques},
 number = {6},
 pages = {779-803},
 pdf = {https://hal.inria.fr/inria-00352121/file/2001_tsi_courty.pdf},
 publisher = {Lavoisier},
 title = {Navigation et controle d'une caméra dans un environnement virtuel: une approche rérencée image.},
 url = {https://hal.inria.fr/inria-00352121},
 volume = {20},
 year = {2001}
}

repository: ncourty/academic-kickstart

repo_name: ncourty/academic-kickstart


text:
DESCRIPTION = "Enlightened Sound Daemon"
SECTION = "gpe/base"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING.LIB;md5=55ca817ccb7d5b5b66355690e9abc605"
DEPENDS = "audiofile"

inherit gnome binconfig

PR = "r1"

SRC_URI = "ftp://ftp.gnome.org/pub/GNOME/sources/esound/0.2/esound-0.2.36.tar.bz2;name=archive \
           file://esound_0.2.36-1ubuntu5.diff.gz \
           file://no-docs.patch \
           file://configure-fix.patch"

SRC_URI[archive.md5sum] = "3facb5aa0115cc1c31771b9ad454ae76"
SRC_URI[archive.sha256sum] = "68bf399fcbd45c5e9ba99cd13a3a479e4ef2bc5dc52e540ffa00aef1e1b19a76"

EXTRA_OECONF = " \
    --disable-alsa \
    --disable-arts \
    --disable-artstest \
"
do_configure_prepend() {
    sed -i -e 's:/usr/include/mme:${STAGING_INCDIR}/mme:g' configure.ac
}

PACKAGES =+ "esddsp esd esd-utils"

FILES_esddsp = "${bindir}/esddsp ${libdir}/libesddsp.so.*"
FILES_esd = "${bindir}/esd"
FILES_esd-utils = "${bindir}/*"

repository: ExorEmbedded/exor-workspace

repo_name: ExorEmbedded/exor-workspace


text:
@article{GOHIL2021100003,
title = {Performance optimization opportunities in the Android software stack},
journal = {BenchCouncil Transactions on Benchmarks, Standards and Evaluations},
volume = {1},
number = {1},
pages = {100003},
year = {2021},
issn = {2772-4859},
doi = {https://doi.org/10.1016/j.tbench.2021.100003},
url = {https://www.sciencedirect.com/science/article/pii/S277248592100003X},
author = {Varun Gohil and Nisarg Ujjainkar and Joycee Mekie and Manu Awasthi},
keywords = {CPU utilization, Android smartphone, Workload characterization},
abstract = {The smartphone hardware and software ecosystems have evolved very rapidly. Multiple innovations in the system software, including OS, languages, and runtimes have been made in the last decade. Although, performance characterization of microarchitecture has been done, there is little analysis available for application performance bottlenecks of the system software stack, especially for contemporary applications on mobile operating systems. In this work, we perform system utilization analysis from a software perspective, thereby supplementing the hardware perspective offered by prior work. We focus our analysis on Android powered smartphones, running newer versions of Android. Using 11 representative apps and regions of interest within them, we carry out performance analysis of the entire Android software stack to identify system performance bottlenecks. We observe that for the majority of apps, the most time-consuming system level thread is a frame rendering thread. However, more surprisingly, our results indicate that all apps spend a significant amount of time doing Inter Process Communication (IPC), hinting that the Android IPC stack is a ripe target for performance optimization via software development and a potential target for hardware acceleration.}
}


text:
inherit golang

GO_PACKAGE_NAME = "github.com/digitallumens/goexamplepackage"

LICENSE="MIT"
LIC_FILES_CHKSUM = "file://${GO_PACKAGE_NAME}/LICENSE;md5=c53db1f34890af744e26b779a2dea6fb"

SRC_URI = "git://github.com/digitallumens/goexamplepackage.git;protocol=git;destsuffix=src/${GO_PACKAGE_NAME}"
SRCREV = "e562aa5a3fe4f9449b64833b914b70f77252a19e"

S := "${WORKDIR}/src"

GO_LIB_NAME = "${PN}"
GO_EXEC_NAME = "goexample"

repository: OSSystems/meta-golang

repo_name: OSSystems/meta-golang


text:
file(REMOVE_RECURSE
  "CMakeFiles/Problem_Set_4.dir/Problem_8.10/main.cpp.o"
  "Problem_Set_4"
  "Problem_Set_4.pdb"
)

# Per-language clean rules from dependency scanning.
foreach(lang CXX)
  include(CMakeFiles/Problem_Set_4.dir/cmake_clean_${lang}.cmake OPTIONAL)
endforeach()

repository: joseramosp/Learning-Cpp

path: /Problem Sets/Problem Set 5/cmake-build-debug/CMakeFiles/Problem_Set_4.dir/cmake_clean.cmake

repo_name: joseramosp/Learning-Cpp