text:
@article{BirkhoffAESTHETICMEASURE,
    title = {{AESTHETIC MEASURE}},
    author = {Birkhoff, G D},
    keywords = {aesthetics, math, measure, metrics, music, ratios, vases},
    year = {1933}
}

@article{CastelfranchiSocialApproach,
    title = {{Social Trust: A Cognitive Approach}},
    author = {Castelfranchi, Cristiano and Falcone, Rino},
    year = {2001}
}

@article{Chandrasekaran2011ASystems,
    title = {{A model for a testbed for evaluating reputation systems}},
    year = {2011},
    journal = {Proc. 10th IEEE Int. Conf. on Trust, Security and Privacy in Computing and Communications, TrustCom 2011, 8th IEEE Int. Conf. on Embedded Software and Systems, ICESS 2011, 6th Int. Conf. on FCST 2011},
    author = {Chandrasekaran, Partheeban and Esfandiari, Babak},
    pages = {296--303},
    isbn = {9780769546001},
    doi = {10.1109/TrustCom.2011.40},
    keywords = {model, reputation systems, testbed}
}

@article{HubnerFromTrust,
    title = {{From cognitive trust theories to computational trust}},
    author = {H{\"{u}}bner, Jomi F and Lorini, Emiliano and Vercouter, Laurent and Herzig, Andreas},
    year = {2009}
}

@article{Marsh1994FormalisingConcept,
    title = {{Formalising Trust as a Computational Concept}},
    year = {1994},
    journal = {Computing},
    author = {Marsh, Stephen Paul},
    number = {April},
    pages = {184},
    volume = {Doctor of},
    isbn = {CSM-133},
    doi = {10.2165/00128413-199409230-00010}
}

@inproceedings{Simpson2015FormalisingAnalysis,
    title = {{Formalising responsibility modelling for automatic analysis}},
    year = {2015},
    booktitle = {Lecture Notes in Business Information Processing},
    author = {Simpson, Robbie and Storer, Tim},
    isbn = {9783319246253},
    doi = {10.1007/978-3-319-24626-0{\_}10},
    issn = {18651348}
}

@article{SlavinHOWWORLD,
    title = {{HOW ALGORITHMS SHAPE OUR WORLD}},
    author = {Slavin, Kevin},
    year = {2012}
}

@article{Sloman1984TheMinds,
    title = {{The Structure of the Space of Possible Minds}},
    year = {1984},
    author = {Sloman, Aaron},
    pages = {35--42}
}

@article{strawson,
	pages = {1--25},
	year = {1962},
	title = {Freedom and Resentment},
	author = {Peter F. Strawson},
	journal = {Proceedings of the British Academy},
	volume = {48}
}

@article{Marsh2011,
abstract = {Device Comfort is a concept that uses an enhanced notion of trust to allow a personal (likely mobile) device to better reason about the state of interactions and actions between it, its owner, and the environment. This includes allowing a better understanding of how to manage information in fine-grained context as well as addressing the personal security of the user. To do this, it forms a unique relationship with the user, focusing on the device's judgment of user in context. This paper introduces and defines Device Comfort, including an examination of what makes up the comfort of a device in terms of trust and other considerations, and discusses the uses of such an approach. It also presents some ongoing developmental work in the concept, and an initial formal model of Device Comfort, its makeup and behaviour.},
author = {Marsh, Stephen and Briggs, Pamela and El-Khatib, Khalil and Esfandiari, Babak and Stewart, John A.},
doi = {10.2197/ipsjjip.19.231},
file = {:Users/tom/Documents/Papers/IPSJ-JNL5207004.pdf:pdf},
issn = {1882-6652},
journal = {Journal of Information Processing},
number = {7},
pages = {231--252},
title = {{Defining and Investigating Device Comfort}},
url = {http://ci.nii.ac.jp/naid/110008508036/en/},
volume = {19},
year = {2011}
}

@article{corrigibility,
author = {Soares, Nate and Fallenstein, Benja and Yudkowsky, Eliezer and Armstrong, Stuart},
journal = {AAAI Workshop on AI and Ethics},
number = {2014},
pages = {74--82},
title = {{Corrigibility}},
year = {2015}
}

@article{determinism_in_brief,
author={Honderich, Ted},
title={Free Will, Determinism and Moral Responsibility -- The Whole Thing in Brief},
year={2014}
}

@article{designing_with_trust,
author = {Patrick, Andrew and Marsh, Stephen and Briggs, P},
isbn = {978-0-596-00827-7},
journal = {Security and Usability: Designing Secure Systems That People Can Use},
pages = {75--100},
title = {{Designing systems that people will trust}},
url = {http://nparc.cisti-icist.nrc-cnrc.gc.ca/npsi/ctrl?action=shwart{\&}index=an{\&}req=8913238{\&}lang=en},
year = {2005}
}

@article{Moor2006,
abstract = {The question of whether machine ethics exists or might exist in the future is difficult to answer if we can't agree on what counts as machine ethics. Some might argue that machine ethics obviously exists because humans are machines and humans have ethics. Others could argue that machine ethics obviously doesn't exist because ethics is simply emotional expression and machines can't have emotions. A wide range of positions on machine ethics are possible, and a discussion of the issue could rapidly propel us into deep and unsettled philosophical issues. Perhaps, understandably, few in the scientific arena pursue the issue of machine ethics. As we expand computers' decision-making roles in practical matters, such as computers driving cars, ethical considerations are inevitable. Computer scientists and engineers must examine the possibilities for machine ethics because, knowingly or not, they've already engaged in some form of it. Before we can discuss possible implementations of machine ethics, however, we need to be clear about what we're asserting or denying},
author = {Moor, James H.},
doi = {10.1109/MIS.2006.80},
isbn = {1541-1672},
issn = {15411672},
journal = {IEEE Intelligent Systems},
number = {4},
pages = {18--21},
title = {{The nature, importance, and difficulty of machine ethics}},
volume = {21},
year = {2006}
}

@article{Macy2002,
abstract = {Sociologists often model social processes as interactions among variables.We review an alternative approach that models social life as interactions among adaptive agents who influence one another in response to the influence they receive. These agent-based models (ABMs) showhowsimple and predictable local interactions can generate familiarbut enigmatic global patterns, such as the diffusion of information, emergence of norms, coordination of conventions, or participation in collective action. Emergent social patterns can also appear unexpectedly and then just as dramatically transform or disappear, as happens in revolutions, market crashes, fads, and feeding frenzies. ABMs provide theoretical leverage where the global patterns of interest are more than the aggregation of individual attributes, but at the same time, the emergent pattern cannot be understood without a bottom up dynamical model of the microfoun- dations at the relational level.We begin with a brief historical sketch of the shift from “factors” to “actors” in computational sociology that shows howagent-based modeling differs fundamentally from earlier sociological uses of computer simulation.We then reviewrecent contributions focused on the emergence of social structure and social or- der out of local interaction. Although sociology has lagged behind other social sciences in appreciating this newmethodology, a distinctive sociological contribution is evident in the papers we review. First, theoretical interest focuses on dynamic social networks that shape and are shaped by agent interaction. Second, ABMs are used to perform virtual experiments that test macrosociological theories by manipulating structural fac- tors like network topology, social stratification, or spatial mobility. We conclude our review with a series of recommendations for realizing the rich sociological potential of this approach.},
author = {Macy, Michael W. and Willer, Robert},
doi = {10.1146/annurev.soc.28.110601.141117},
isbn = {03600572},
issn = {0360-0572},
journal = {Annual Review of Sociology},
keywords = {ables,approach that models social,automata,cellular,complexity,emergence,genetic algorithm,interactions among vari-,life as interactions among,model social processes as,s abstract sociologists often,self-organization,simulation,we review an alternative},
number = {1},
pages = {143--166},
title = {{From Factors to Factors: Computational Sociology and Agent-Based Modeling}},
url = {http://www.annualreviews.org/doi/abs/10.1146/annurev.soc.28.110601.141117},
volume = {28},
year = {2002}
}

@article {unresponsive_bystander,
author = {Fischer, Peter and Greitemeyer, Tobias and Pollozek, Fabian and Frey, Dieter},
title = {The unresponsive bystander: are bystanders more responsive in dangerous emergencies?},
journal = {European Journal of Social Psychology},
volume = {36},
number = {2},
publisher = {John Wiley \& Sons, Ltd.},
issn = {1099-0992},
url = {http://dx.doi.org/10.1002/ejsp.297},
doi = {10.1002/ejsp.297},
pages = {267--278},
year = {2006},
}

@article{scanlon2006justice,
  title={Justice, Responsibility, and the Demands of Equality},
  author={Scanlon, Thomas M},
  year={2006},
}

@article{sommerville_graphical_responsibility,
  title={Responsibility modelling for risk analysis},
  author={Lock, Russell and Storer, Tim and Sommerville, Ian and Baxter, Gordon},
  year={2010},
  publisher={{\copyright} CRC Press}
}

@incollection{sommerville_dependable_systems_chap_8,
  title={Models for responsibility assignment},
  author={Sommerville, Ian},
  booktitle={Responsibility and dependable systems},
  pages={165--186},
  year={2007},
  publisher={Springer}
}

@incollection{sommerville_dependable_systems_chapter_9,
  title={Causal responsibility models},
  author={Sommerville, Ian},
  booktitle={Responsibility and Dependable Systems},
  pages={187--207},
  year={2007},
  publisher={Springer}
}

@article{Huynh2006,
  abstract = {Abstract Trust and reputation are central to effective interactions in open multi-agent systems (MAS) in which agents, that are owned by a variety of stakeholders, continuously enter and leave the system. This openness means existing trust and reputation models cannot readily be used since their performance suffers when there are various (unforseen) changes in the environment. To this end, this paper presents FIRE, a trust and reputation model that integrates a number of information sources to produce a comprehensive assessment of an agents likely performance in open systems. Specifically, FIRE incorporates interaction trust, role-based trust, witness reputation, and certified reputation to provide trust metrics in most circumstances. FIRE is empirically evaluated and is shown to help agents gain better utility (by effectively selecting appropriate interaction partners) than our benchmarks in a variety of agent populations. It is also shown that FIRE is able to effectively respond to changes that occur in an agents environment.},
  author = {Huynh, Trung Dong and Jennings, Nicholas R. and Shadbolt, Nigel R.},
  doi = {10.1007/s10458-005-6825-4},
  isbn = {1387-2532},
  issn = {13872532},
  journal = {Autonomous Agents and Multi-Agent Systems},
  keywords = {Multi-agent systems,Reputation,Trust},
  pmid = {8581365399728019542},
  title = {{An integrated trust and reputation model for open multi-agent systems}},
  year = {2006}
}

@article{deontic-logic,
 ISSN = {00264423, 14602113},
 author = {G. H. von Wright},
 journal = {Mind},
 number = {237},
 pages = {1-15},
 publisher = {[Oxford University Press, Mind Association]},
 title = {Deontic Logic},
 volume = {60},
 year = {1951}
}

@inproceedings{eigentrust,
  title={The eigentrust algorithm for reputation management in p2p networks},
  author={Kamvar, Sepandar D and Schlosser, Mario T and Garcia-Molina, Hector},
  booktitle={Proceedings of the 12th international conference on World Wide Web},
  pages={640--651},
  year={2003},
  organization={ACM}
}

@article{deutsch1962cooperation,
  title={Cooperation and trust: Some theoretical notes.},
  author={Deutsch, Morton},
  year={1962},
  publisher={Univer. Nebraska Press}
}

@article{luhmann2000familiarity,
  title={Familiarity, confidence, trust: Problems and alternatives},
  author={Luhmann, Niklas},
  year={2000}
}

@inproceedings{lorini2008binary,
  title={From binary trust to graded trust in information sources: a logical perspective},
  author={Lorini, Emiliano and Demolombe, Robert},
  booktitle={International Workshop on Trust in Agent Societies},
  pages={205--225},
  year={2008},
  organization={Springer}
}

repository: probablytom/MSci-dissertation

repo_name: probablytom/MSci-dissertation


text:
@Article{Kovaka2019,
author={Kovaka, Sam
and Zimin, Aleksey V.
and Pertea, Geo M.
and Razaghi, Roham
and Salzberg, Steven L.
and Pertea, Mihaela},
title={Transcriptome assembly from long-read RNA-seq alignments with StringTie2},
journal={Genome Biology},
year={2019},
month={Dec},
day={16},
volume={20},
number={1},
pages={278},
abstract={RNA sequencing using the latest single-molecule sequencing instruments produces reads that are thousands of nucleotides long. The ability to assemble these long reads can greatly improve the sensitivity of long-read analyses. Here we present StringTie2, a reference-guided transcriptome assembler that works with both short and long reads. StringTie2 includes new methods to handle the high error rate of long reads and offers the ability to work with full-length super-reads assembled from short reads, which further improves the quality of short-read assemblies. StringTie2 is more accurate and faster and uses less memory than all comparable short-read and long-read analysis tools.},
issn={1474-760X},
doi={10.1186/s13059-019-1910-1},
url={https://doi.org/10.1186/s13059-019-1910-1}
}

@Article{Li2018,
author={Li, Heng},
title={Minimap2: pairwise alignment for nucleotide sequences},
journal={Bioinformatics},
year={2018},
month={Sep},
day={15},
volume={34},
number={18},
pages={3094-3100},
abstract={Recent advances in sequencing technologies promise ultra-long reads of ∼100 kb in average, full-length mRNA or cDNA reads in high throughput and genomic contigs over 100 Mb in length. Existing alignment programs are unable or inefficient to process such data at scale, which presses for the development of new alignment algorithms.Minimap2 is a general-purpose alignment program to map DNA or long mRNA sequences against a large reference database. It works with accurate short reads of ≥100{\thinspace}bp in length, ≥1{\thinspace}kb genomic reads at error rate ∼15{\%}, full-length noisy Direct RNA or cDNA reads and assembly contigs or closely related full chromosomes of hundreds of megabases in length. Minimap2 does split-read alignment, employs concave gap cost for long insertions and deletions and introduces new heuristics to reduce spurious alignments. It is 3--4 times as fast as mainstream short-read mappers at comparable accuracy, and is ≥30 times faster than long-read genomic or cDNA mappers at higher accuracy, surpassing most aligners specialized in one type of alignment.https://github.com/lh3/minimap2Supplementary data are available at Bioinformatics online.},
issn={1367-4803},
doi={10.1093/bioinformatics/bty191},
url={https://doi.org/10.1093/bioinformatics/bty191}
}

@Article{Pertea2016,
author={Pertea, Mihaela
and Kim, Daehwan
and Pertea, Geo M.
and Leek, Jeffrey T.
and Salzberg, Steven L.},
title={Transcript-level expression analysis of RNA-seq experiments with HISAT, StringTie and Ballgown},
journal={Nature Protocols},
year={2016},
month={Sep},
day={01},
volume={11},
number={9},
pages={1650-1667},
abstract={Pertea et al. describe a protocol to analyze RNA-seq data using HISAT, StringTie and Ballgown (the `new Tuxedo' package). The protocol can be used for assembly of transcripts, quantification of gene expression levels and differential expression analysis.},
issn={1750-2799},
doi={10.1038/nprot.2016.095},
url={https://doi.org/10.1038/nprot.2016.095}
}

@Article{Sessegolo2019,
author={Sessegolo, Camille
and Cruaud, Corinne
and Da Silva, Corinne
and Cologne, Audric
and Dubarry, Marion
and Derrien, Thomas
and Lacroix, Vincent
and Aury, Jean-Marc},
title={Transcriptome profiling of mouse samples using nanopore sequencing of cDNA and RNA molecules},
journal={Scientific Reports},
year={2019},
month={Oct},
day={17},
volume={9},
number={1},
pages={14908},
abstract={Our vision of DNA transcription and splicing has changed dramatically with the introduction of short-read sequencing. These high-throughput sequencing technologies promised to unravel the complexity of any transcriptome. Generally gene expression levels are well-captured using these technologies, but there are still remaining caveats due to the limited read length and the fact that RNA molecules had to be reverse transcribed before sequencing. Oxford Nanopore Technologies has recently launched a portable sequencer which offers the possibility of sequencing long reads and most importantly RNA molecules. Here we generated a full mouse transcriptome from brain and liver using the Oxford Nanopore device. As a comparison, we sequenced RNA (RNA-Seq) and cDNA (cDNA-Seq) molecules using both long and short reads technologies and tested the TeloPrime preparation kit, dedicated to the enrichment of full-length transcripts. Using spike-in data, we confirmed that expression levels are efficiently captured by cDNA-Seq using short reads. More importantly, Oxford Nanopore RNA-Seq tends to be more efficient, while cDNA-Seq appears to be more biased. We further show that the cDNA library preparation of the Nanopore protocol induces read truncation for transcripts containing internal runs of T's. This bias is marked for runs of at least 15{\thinspace}T's, but is already detectable for runs of at least 9{\thinspace}T's and therefore concerns more than 20{\%} of expressed transcripts in mouse brain and liver. Finally, we outline that bioinformatics challenges remain ahead for quantifying at the transcript level, especially when reads are not full-length. Accurate quantification of repeat-associated genes such as processed pseudogenes also remains difficult, and we show that current mapping protocols which map reads to the genome largely over-estimate their expression, at the expense of their parent gene.},
issn={2045-2322},
doi={10.1038/s41598-019-51470-9},
url={https://doi.org/10.1038/s41598-019-51470-9}
}

@Article{Tasic2018,
author={Tasic, Bosiljka
and Yao, Zizhen
and Graybuck, Lucas T.
and Smith, Kimberly A.
and Nguyen, Thuc Nghi
and Bertagnolli, Darren
and Goldy, Jeff
and Garren, Emma
and Economo, Michael N.
and Viswanathan, Sarada
and Penn, Osnat
and Bakken, Trygve
and Menon, Vilas
and Miller, Jeremy
and Fong, Olivia
and Hirokawa, Karla E.
and Lathia, Kanan
and Rimorin, Christine
and Tieu, Michael
and Larsen, Rachael
and Casper, Tamara
and Barkan, Eliza
and Kroll, Matthew
and Parry, Sheana
and Shapovalova, Nadiya V.
and Hirschstein, Daniel
and Pendergraft, Julie
and Sullivan, Heather A.
and Kim, Tae Kyung
and Szafer, Aaron
and Dee, Nick
and Groblewski, Peter
and Wickersham, Ian
and Cetin, Ali
and Harris, Julie A.
and Levi, Boaz P.
and Sunkin, Susan M.
and Madisen, Linda
and Daigle, Tanya L.
and Looger, Loren
and Bernard, Amy
and Phillips, John
and Lein, Ed
and Hawrylycz, Michael
and Svoboda, Karel
and Jones, Allan R.
and Koch, Christof
and Zeng, Hongkui},
title={Shared and distinct transcriptomic cell types across neocortical areas},
journal={Nature},
year={2018},
month={Nov},
day={01},
volume={563},
number={7729},
pages={72-78},
abstract={The neocortex contains a multitude of cell types that are segregated into layers and functionally distinct areas. To investigate the diversity of cell types across the mouse neocortex, here we analysed 23,822 cells from two areas at distant poles of the mouse neocortex: the primary visual cortex and the anterior lateral motor cortex. We define 133 transcriptomic cell types by deep, single-cell RNA sequencing. Nearly all types of GABA ($\gamma$-aminobutyric acid)-containing neurons are shared across both areas, whereas most types of glutamatergic neurons were found in one of the two areas. By combining single-cell RNA sequencing and retrograde labelling, we match transcriptomic types of glutamatergic neurons to their long-range projection specificity. Our study establishes a combined transcriptomic and projectional taxonomy of cortical cell types from functionally distinct areas of the adult mouse cortex.},
issn={1476-4687},
doi={10.1038/s41586-018-0654-5},
url={https://doi.org/10.1038/s41586-018-0654-5}
}

repository: fursham-h/factR

license_type: permissive

repo_name: fursham-h/factR

branch_name: refs/heads/master

gha_language: R

extension: bib


text:
DESCRIPTION = "U-boot-rtk for Banana PI W2"
HOMEPAGE = "https://github.com/BPI-SINOVOIP/BPI-W2-bsp"
LICENSE = "BSD-3-Clause"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/BSD-3-Clause;md5=550794465ba0ec5312d6919e203a55f9"
DEPENDS += "bc"

require recipes-bsp/u-boot/u-boot.inc

SRC_URI = "git://github.com/BPI-SINOVOIP/BPI-W2-bsp.git;branch=master;protocol=http;subpath=u-boot-rtk            file://0001-Fix-make-issue.patch"
SRCREV = "6e6aefc35dc50b1b8231cdb03a995d088f29eb21"
PV = "${SRCREV}"
PR = "r0"

S = "${WORKDIR}/u-boot-rtk"
UBOOT_MACHINE = "rtd1296_sd_bananapi_defconfig"

B = "${S}"

do_compile () {
    oe_runmake rtd1296_sd_bananapi_defconfig
    oe_runmake all BUILD_BOOTCODE_ONLY=true

    dd if=/dev/zero of=u-boot.tmp bs=1M count=1
    dd if=u-boot.bin of=u-boot.tmp bs=1k seek=40
    dd if=u-boot.tmp of=BPI-W2-720P-2k.img bs=1k skip=2 count=1022 status=noxfer
    gzip BPI-W2-720P-2k.img

    rm -f u-boot.tmp
}

do_install () {
   cp ${B}/u-boot.bin ${D}
   cp ${B}/BPI-W2-720P-2k.img.gz ${D}
}

FILES_${PN} = "/"

do_deploy_append() {
    install -m 755 ${B}/BPI-W2-720P-2k.img.gz ${DEPLOYDIR}/BPI-W2-720P-2k-${PV}-${PR}.img.gz

    cd ${DEPLOYDIR}
    rm -f BPI-W2-720P-2k.img.gz

    ln -sf BPI-W2-720P-2k-${PV}-${PR}.img.gz BPI-W2-720P-2k.img.gz
}

license: MIT

extension: bb


text:
package sign

import (
	"crypto/hmac"
	"crypto/md5"
	"crypto/sha256"
	"encoding/hex"
	"fmt"
	"github.com/jellycheng/gosupport"
	"hash"
	"sort"
	"strings"
)

/*
  实现微信支付签名
  https://pay.weixin.qq.com/wiki/doc/api/wxa/wxa_api.php?chapter=4_3
  signType = MD5 | HMAC-SHA256
  PayKey =支付密钥
*/
func WxPaySign(params map[string]string, signType string, PayKey string) (sign, str string, err error) {
	var kvs []string
	for k, v := range params {
		if len(v) > 0 && strings.ToLower(k) != "sign" {
			kvs = append(kvs, fmt.Sprintf("%s=%s", k, v))
		}
	}
	sort.Strings(kvs)
	kvs = append(kvs, fmt.Sprintf("key=%s", PayKey))
	str = strings.Join(kvs, "&")

	var h hash.Hash
	if signType == gosupport.SignTypeHmacSHA256 {
		h = hmac.New(sha256.New, []byte(PayKey))
	} else {
		h = md5.New()
	}
	if _, err = h.Write([]byte(str)); err != nil {
		return
	}

	sign = strings.ToUpper(hex.EncodeToString(h.Sum(nil)))

	return
}

repository: jellycheng/gosupport

repo_name: jellycheng/gosupport

extension: go


text:
%%% -*-BibTeX-*-
@article{TCSVT2017Sheng,
    author = {Biyun Sheng and Chunhua Shen and Guosheng Lin and Jun Li and Wankou Yang and Changyin Sun},
    title  = {Crowd Counting via Weighted {VLAD} on Dense Attribute Feature Maps},
    journal= {IEEE Transactions on Circuits and Systems for Video Technology},
    volume = {},
    number = {},
    year   = {2017},
    url    = {},
    eprint = {1604.08660},
    venue  = {TCSVT},
    project= {},
    note   = {},
}


text:
# Install script for directory: /home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common

# Set the install prefix
if(NOT DEFINED CMAKE_INSTALL_PREFIX)
  set(CMAKE_INSTALL_PREFIX "/usr/local")
endif()
string(REGEX REPLACE "/$" "" CMAKE_INSTALL_PREFIX "${CMAKE_INSTALL_PREFIX}")

# Set the install configuration name.
if(NOT DEFINED CMAKE_INSTALL_CONFIG_NAME)
  if(BUILD_TYPE)
    string(REGEX REPLACE "^[^A-Za-z0-9_]+" ""
           CMAKE_INSTALL_CONFIG_NAME "${BUILD_TYPE}")
  else()
    set(CMAKE_INSTALL_CONFIG_NAME "Release")
  endif()
  message(STATUS "Install configuration: \"${CMAKE_INSTALL_CONFIG_NAME}\"")
endif()

# Set the component getting installed.
if(NOT CMAKE_INSTALL_COMPONENT)
  if(COMPONENT)
    message(STATUS "Install component: \"${COMPONENT}\"")
    set(CMAKE_INSTALL_COMPONENT "${COMPONENT}")
  else()
    set(CMAKE_INSTALL_COMPONENT)
  endif()
endif()

# Install shared libraries without execute permission?
if(NOT DEFINED CMAKE_INSTALL_SO_NO_EXE)
  set(CMAKE_INSTALL_SO_NO_EXE "1")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common/msgs" TYPE FILE FILES
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/gazebo_robot_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/gazebo_task_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/allocation_robot_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/allocation_task_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/terminal2gazebo_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/terminal2robot_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/terminal2DQN_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/gazebo2world_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/robot2gazebo_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/allocation2terminal_info.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Point2d.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Pose.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Twist.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Observation.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Teammateinfo.msg"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/msgs/Taskinfo.msg"
    )
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common/srv" TYPE FILE FILES
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/srv/GetAction.srv"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/srv/ReturnReward.srv"
    )
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common/cmake" TYPE FILE FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/allocation_common/catkin_generated/installspace/allocation_common-msg-paths.cmake")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/include" TYPE DIRECTORY FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/include/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/roseus/ros" TYPE DIRECTORY FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/share/roseus/ros/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/common-lisp/ros" TYPE DIRECTORY FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/share/common-lisp/ros/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/gennodejs/ros" TYPE DIRECTORY FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/share/gennodejs/ros/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  execute_process(COMMAND "/usr/bin/python" -m compileall "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/lib/python2.7/dist-packages/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/python2.7/dist-packages" TYPE DIRECTORY FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/devel/lib/python2.7/dist-packages/allocation_common")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/lib/pkgconfig" TYPE FILE FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/allocation_common/catkin_generated/installspace/allocation_common.pc")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common/cmake" TYPE FILE FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/allocation_common/catkin_generated/installspace/allocation_common-msg-extras.cmake")
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common/cmake" TYPE FILE FILES
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/allocation_common/catkin_generated/installspace/allocation_commonConfig.cmake"
    "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/cmake-build-debug/allocation_common/catkin_generated/installspace/allocation_commonConfig-version.cmake"
    )
endif()

if(NOT CMAKE_INSTALL_COMPONENT OR "${CMAKE_INSTALL_COMPONENT}" STREQUAL "Unspecified")
  file(INSTALL DESTINATION "${CMAKE_INSTALL_PREFIX}/share/allocation_common" TYPE FILE FILES "/home/luyaomin/catkin_planning/2dta_local_real/src/dta/src/allocation_common/package.xml")
endif()

extension: cmake


text:
@article{Blöschl-2019-Twenty-three,
    title = "Twenty-three unsolved problems in hydrology (UPH) {--} a community perspective",
    author = {Bl{\"o}schl, G{\"u}nter  and
      Bierkens, Marc F.P.  and
      Chambel, Antonio  and
      Cudennec, Christophe  and
      Destouni, Georgia  and
      Fiori, Aldo  and
      Kirchner, James W.  and
      McDonnell, Jeffrey J.  and
      Savenije, Hubert H.G.  and
      Sivapalan, Murugesu  and
      Stumpp, Christine  and
      Toth, Elena  and
      Volpi, Elena  and
      Carr, Gemma  and
      Lupton, Claire  and
      Salinas, Jos{\`e}  and
      Sz{\'e}les, Borb{\'a}la  and
      Viglione, Alberto  and
      Aksoy, Hafzullah  and
      Allen, Scott T.  and
      Amin, Anam  and
      Andr{\'e}assian, Vazken  and
      Arheimer, Berit  and
      Aryal, Santosh K.  and
      Baker, Victor  and
      Bardsley, Earl  and
      Barendrecht, Marlies H.  and
      Bartosova, Alena  and
      Batelaan, Okke  and
      Berghuijs, Wouter R.  and
      Beven, Keith  and
      Blume, Theresa  and
      Bogaard, Thom  and
      Borges de Amorim, Pablo  and
      B{\"o}ttcher, Michael E.  and
      Boulet, Gilles  and
      Breinl, Korbinian  and
      Brilly, Mitja  and
      Brocca, Luca  and
      Buytaert, Wouter  and
      Castellarin, Attilio  and
      Castelletti, Andrea  and
      Chen, Xiaohong  and
      Chen, Yangbo  and
      Chen, Yuanfang  and
      Chifflard, Peter  and
      Claps, Pierluigi  and
      Clark, Martyn P.  and
      Collins, Adrian L.  and
      Croke, Barry  and
      Dathe, Annette  and
      David, Paula C.  and
      de Barros, Felipe P. J.  and
      de Rooij, Gerrit  and
      Di Baldassarre, Giuliano  and
      Driscoll, Jessica M.  and
      Duethmann, Doris  and
      Dwivedi, Ravindra  and
      Eris, Ebru  and
      Farmer, William H.  and
      Feiccabrino, James  and
      Ferguson, Grant  and
      Ferrari, Ennio  and
      Ferraris, Stefano  and
      Fersch, Benjamin  and
      Finger, David  and
      Foglia, Laura  and
      Fowler, Keirnan  and
      Gartsman, Boris  and
      Gascoin, Simon  and
      Gaume, Eric  and
      Gelfan, Alexander  and
      Geris, Josie  and
      Gharari, Shervan  and
      Gleeson, Tom  and
      Glendell, Miriam  and
      Gonzalez Bevacqua, Alena  and
      Gonz{\'a}lez-Dugo, Mar{\'\i}a P.  and
      Grimaldi, Salvatore  and
      Gupta, A. B.  and
      Guse, Bj{\"o}rn  and
      Han, Dawei  and
      Hannah, David  and
      Harpold, Adrian  and
      Haun, Stefan  and
      Heal, Kate  and
      Helfricht, Kay  and
      Herrnegger, Mathew  and
      Hipsey, Matthew  and
      Hlav{\'a}{\v{c}}ikov{\'a}, Hana  and
      Hohmann, Clara  and
      Holko, Ladislav  and
      Hopkinson, Christopher  and
      Hrachowitz, Markus  and
      Illangasekare, Tissa H.  and
      Inam, Azhar  and
      Innocente, Camyla  and
      Istanbulluoglu, Erkan  and
      Jarihani, Ben  and
      Kalantari, Zahra  and
      Kalvans, Andis  and
      Khanal, Sonu  and
      Khatami, Sina  and
      Kiesel, Jens  and
      Kirkby, Mike  and
      Knoben, Wouter  and
      Kochanek, Krzysztof  and
      Kohnov{\'a}, Silvia  and
      Kolechkina, Alla  and
      Krause, Stefan  and
      Kreamer, David  and
      Kreibich, Heidi  and
      Kunstmann, Harald  and
      Lange, Holger  and
      Liberato, Margarida L. R.  and
      Lindquist, Eric  and
      Link, Timothy  and
      Liu, Junguo  and
      Loucks, Daniel Peter  and
      Luce, Charles  and
      Mah{\'e}, Gil  and
      Makarieva, Olga  and
      Malard, Julien  and
      Mashtayeva, Shamshagul  and
      Maskey, Shreedhar  and
      Mas-Pla, Josep  and
      Mavrova-Guirguinova, Maria  and
      Mazzoleni, Maurizio  and
      Mernild, Sebastian  and
      Misstear, Bruce Dudley  and
      Montanari, Alberto  and
      M{\"u}ller-Thomy, Hannes  and
      Nabizadeh, Alireza  and
      Nardi, Fernando  and
      Neale, Christopher  and
      Nesterova, Nataliia  and
      Nurtaev, Bakhram  and
      Odongo, Vincent O.  and
      Panda, Subhabrata  and
      Pande, Saket  and
      Pang, Zhonghe  and
      Papacharalampous, Georgia  and
      Perrin, Charles  and
      Pfister, Laurent  and
      Pimentel, Rafael  and
      Polo, Mar{\'\i}a J.  and
      Post, David  and
      Prieto Sierra, Cristina  and
      Ramos, Maria-Helena  and
      Renner, Maik  and
      Reynolds, Jos{\'e} Eduardo  and
      Ridolfi, Elena  and
      Rigon, Riccardo  and
      Riva, Monica  and
      Robertson, David E.  and
      Rosso, Renzo  and
      Roy, Tirthankar  and
      S{\'a}, Jo{\~a}o H.M.  and
      Salvadori, Gianfausto  and
      Sandells, Mel  and
      Schaefli, Bettina  and
      Schumann, Andreas  and
      Scolobig, Anna  and
      Seibert, Jan  and
      Servat, Eric  and
      Shafiei, Mojtaba  and
      Sharma, Ashish  and
      Sidibe, Moussa  and
      Sidle, Roy C.  and
      Skaugen, Thomas  and
      Smith, Hugh  and
      Spiessl, Sabine M.  and
      Stein, Lina  and
      Steinsland, Ingelin  and
      Strasser, Ulrich  and
      Su, Bob  and
      Szolgay, Jan  and
      Tarboton, David  and
      Tauro, Flavia  and
      Thirel, Guillaume  and
      Tian, Fuqiang  and
      Tong, Rui  and
      Tussupova, Kamshat  and
      Tyralis, Hristos  and
      Uijlenhoet, Remko  and
      van Beek, Rens  and
      van der Ent, Ruud J.  and
      van der Ploeg, Martine  and
      Van Loon, Anne F.  and
      van Meerveld, Ilja  and
      van Nooijen, Ronald  and
      van Oel, Pieter R.  and
      Vidal, Jean-Philippe  and
      von Freyberg, Jana  and
      Vorogushyn, Sergiy  and
      Wachniew, Przemyslaw  and
      Wade, Andrew J.  and
      Ward, Philip  and
      Westerberg, Ida K.  and
      White, Christopher  and
      Wood, Eric F.  and
      Woods, Ross  and
      Xu, Zongxue  and
      Yilmaz, Koray K.  and
      Zhang, Yongqiang},
    journal = "Hydrological Sciences Journal, Volume 64, Issue 10",
    volume = "64",
    number = "10",
    year = "2019",
    publisher = "Informa UK Limited",
    url = "https://aclanthology.org/G19-33001",
    doi = "10.1080/02626667.2019.1620507",
    pages = "1141--1158",
    abstract = "This paper is the outcome of a community initiative to identify major unsolved scientific problems in hydrology motivated by a need for stronger harmonisation of research efforts. The procedure involved a public consultation through online media, followed by two workshops through which a large number of potential science questions were collated, prioritised, and synthesised. In spite of the diversity of the participants (230 scientists in total), the process revealed much about community priorities and the state of our science: a preference for continuity in research questions rather than radical departures or redirections from past and current work. Questions remain focused on the process-based understanding of hydrological variability and causality at all space and time scales. Increased attention to environmental change drives a new emphasis on understanding how change propagates across interfaces within the hydrological system and across disciplinary boundaries. In particular, the expansion of the human footprint raises a new set of questions related to human interactions with nature and water cycle feedbacks in the context of complex water management problems. We hope that this reflection and synthesis of the 23 unsolved problems in hydrology will help guide research efforts for some years to come.",
}

repository: gwf-uwaterloo/gwf-publications

repo_name: gwf-uwaterloo/gwf-publications

branch_name: refs/heads/main

gha_language: Python


text:
package matryoshka

import (
	"sync/atomic"
	"time"
)

type qps struct {
	all         qpsContent
	memoryTotal qpsContent
	memoryHit   qpsContent
	redisTotal  qpsContent
	redisHit    qpsContent
	sourceTotal qpsContent
}

type qpsContent struct {
	viewTotal int64
	total     int64
}

func NewQps() *qps {
	qps := &qps{}
	go qps.statisticsTotal()
	return qps
}

func (q *qps) addAll(n int) {
	atomic.AddInt64(&q.all.total, int64(n))
}

func (q *qps) addMemoryTotal(n int) {
	atomic.AddInt64(&q.memoryTotal.total, int64(n))
}

func (q *qps) addMemoryHit(n int) {
	atomic.AddInt64(&q.memoryHit.total, int64(n))
}

func (q *qps) addRedisTotal(n int) {
	atomic.AddInt64(&q.redisTotal.total, int64(n))
}

func (q *qps) addRedisHit(n int) {
	atomic.AddInt64(&q.redisHit.total, int64(n))
}

func (q *qps) addSourceTotal(n int) {
	atomic.AddInt64(&q.sourceTotal.total, int64(n))
}

func (q *qps) statisticsTotal() {
	defer func() {
		if e := recover(); e != nil {

		}
	}()
	ticker := time.NewTicker(time.Second)
	for range ticker.C {
		q.all.viewTotal = atomic.SwapInt64(&q.all.total, 0)
		q.memoryTotal.viewTotal = atomic.SwapInt64(&q.memoryTotal.total, 0)
		q.memoryHit.viewTotal = atomic.SwapInt64(&q.memoryHit.total, 0)
		q.redisTotal.viewTotal = atomic.SwapInt64(&q.redisTotal.total, 0)
		q.redisHit.viewTotal = atomic.SwapInt64(&q.redisHit.total, 0)
		q.sourceTotal.viewTotal = atomic.SwapInt64(&q.sourceTotal.total, 0)
	}
}

repository: zhuyanxi/matryoshka

repo_name: zhuyanxi/matryoshka


text:
package entities

const (
	AgeOfPersonType          = "age_of_person"
	AgendaEntryType          = "agenda_entry"
	AmountOfMoneyType        = "amount_of_money"
	ByeType                  = "bye"
	ContactType              = "contact"
	CreativeWorkTye          = "creative_work"
	DatetimeType             = "datetime"
	DurationType             = "duration"
	DistanceType             = "distance"
	EmailType                = "email"
	GreetingsType            = "greetings"
	LocalSearchQueryType     = "local_search_query"
	LocationType             = "location"
	MathExpressionType       = "math_expression"
	MessageBodyType          = "message_body"
	NotablePersonType        = "notable_person"
	NumberType               = "number"
	IntentType               = "intent"
	OnOffType                = "on_off"
	OrdinalType              = "ordinal"
	PhoneNumberType          = "phone_number"
	PhraseToTranslateType    = "phrase_to_translate"
	QuantityType             = "quantity"
	ReminderType             = "reminder"
	SearchQueryType          = "search_query"
	SentimentType            = "sentiment"
	TemperatureType          = "temperature"
	ThanksType               = "thanks"
	UrlType                  = "url"
	VolumeType               = "volume"
	WikipediaSearchQueryType = "wikipedia_search_query"
	WolframSearchQueryType   = "wolfram_search_query"
)

var (
	Types = []string{
		AgeOfPersonType,
		AgendaEntryType,
		AmountOfMoneyType,
		ByeType,
		ContactType,
		CreativeWorkTye,
		DatetimeType,
		DurationType,
		DistanceType,
		EmailType,
		GreetingsType,
		LocalSearchQueryType,
		LocationType,
		MathExpressionType,
		MessageBodyType,
		NotablePersonType,
		NumberType,
		IntentType,
		OnOffType,
		OrdinalType,
		PhoneNumberType,
		PhraseToTranslateType,
		QuantityType,
		ReminderType,
		SearchQueryType,
		SentimentType,
		TemperatureType,
		ThanksType,
		UrlType,
		VolumeType,
		WikipediaSearchQueryType,
		WolframSearchQueryType,
	}
)

repository: hellowearemito/wit-go

repo_name: hellowearemito/wit-go


text:
// =================================================================
//
// Copyright (C) 2019 Spatial Current, Inc. - All Rights Reserved
// Released as open source under the MIT License.  See LICENSE file.
//
// =================================================================

package dfl

// GreaterThanOrEqual is a NumericBinaryOperator that evaluating to true if parameter a is greater than or equal to parameter b.
// The parameters may be of type int, int64, or float64.
type GreaterThanOrEqual struct {
	*NumericBinaryOperator
}

func (gte GreaterThanOrEqual) Dfl(quotes []string, pretty bool, tabs int) string {
	return gte.BinaryOperator.Dfl(">=", quotes, pretty, tabs)
}

// Sql returns the SQL representation of this node as a string
func (gte GreaterThanOrEqual) Sql(pretty bool, tabs int) string {
	return gte.BinaryOperator.Sql(">=", pretty, tabs)
}

func (gte GreaterThanOrEqual) Map() map[string]interface{} {
	return gte.BinaryOperator.Map(">=", gte.Left, gte.Right)
}

func (gte GreaterThanOrEqual) Compile() Node {
	left := gte.Left.Compile()
	right := gte.Right.Compile()
	switch left.(type) {
	case Literal:
		switch right.(type) {
		case Literal:
			v, err := CompareNumbers(left.(Literal).Value, right.(Literal).Value)
			if err != nil {
				panic(err)
			}
			return Literal{Value: (v >= 0)}
		}
	}
	return GreaterThanOrEqual{&NumericBinaryOperator{&BinaryOperator{Left: left, Right: right}}}
}

func (gte GreaterThanOrEqual) Evaluate(vars map[string]interface{}, ctx interface{}, funcs FunctionMap, quotes []string) (map[string]interface{}, interface{}, error) {

	vars, v, err := gte.EvaluateAndCompare(vars, ctx, funcs, quotes)
	if err != nil {
		return vars, false, err
	}

	return vars, v >= 0, nil
}

repository: spatialcurrent/go-dfl

repo_name: spatialcurrent/go-dfl

gha_license_id: MIT

gha_language: Go


text:
require xorg-driver-video.inc
DESCRIPTION = "X.Org X server -- SiS display driver"
DEPENDS += " xineramaproto xf86miscproto xf86dgaproto drm xf86driproto"
PE = "1"
PR = "${INC_PR}.0"

SRC_URI[archive.md5sum] = "dd930928b5ed7fcf34e3be4d43202ec7"
SRC_URI[archive.sha256sum] = "9b39b3e22fd2adab812fea06073c37971c7235c02c7f457bf8b60c1ae351c737"

EXTRA_OECONF += " \
  ac_cv_file__usr_include_xorg_dri_h=yes \
  ac_cv_file__usr_include_xorg_sarea_h=yes \
  ac_cv_file__usr_include_xorg_dristruct_h=yes \
"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
@article{vasilevsky_reproducibility_2013,
	title = {On the reproducibility of science: unique identification of research resources in the biomedical literature},
	volume = {1},
	issn = {2167-8359},
	shorttitle = {On the reproducibility of science},
	url = {https://peerj.com/articles/148},
	doi = {10.7717/peerj.148},
	abstract = {Scientific reproducibility has been at the forefront of many news stories and there exist numerous initiatives to help address this problem. We posit that a contributor is simply a lack of specificity that is required to enable adequate research reproducibility. In particular, the inability to uniquely identify research resources, such as antibodies and model organisms, makes it difficult or impossible to reproduce experiments even where the science is otherwise sound. In order to better understand the magnitude of this problem, we designed an experiment to ascertain the “identifiability” of research resources in the biomedical literature. We evaluated recent journal articles in the fields of Neuroscience, Developmental Biology, Immunology, Cell and Molecular Biology and General Biology, selected randomly based on a diversity of impact factors for the journals, publishers, and experimental method reporting guidelines. We attempted to uniquely identify model organisms (mouse, rat, zebrafish, worm, fly and yeast), antibodies, knockdown reagents (morpholinos or RNAi), constructs, and cell lines. Specific criteria were developed to determine if a resource was uniquely identifiable, and included examining relevant repositories (such as model organism databases, and the Antibody Registry), as well as vendor sites. The results of this experiment show that 54\% of resources are not uniquely identifiable in publications, regardless of domain, journal impact factor, or reporting requirements. For example, in many cases the organism strain in which the experiment was performed or antibody that was used could not be identified. Our results show that identifiability is a serious problem for reproducibility. Based on these results, we provide recommendations to authors, reviewers, journal editors, vendors, and publishers. Scientific efficiency and reproducibility depend upon a research-wide improvement of this substantial problem in science today.},
	language = {en},
	urldate = {2017-03-07},
	journal = {PeerJ},
	author = {Vasilevsky, Nicole A. and Brush, Matthew H. and Paddock, Holly and Ponting, Laura and Tripathy, Shreejoy J. and LaRocca, Gregory M. and Haendel, Melissa A.},
	month = sep,
	year = {2013},
	pages = {e148},
	file = {Full Text PDF:/Users/rick/Library/Application Support/Zotero/Profiles/isqcn0ks.default/zotero/storage/KAVBHSJR/Vasilevsky et al. - 2013 - On the reproducibility of science unique identifi.pdf:application/pdf;Snapshot:/Users/rick/Library/Application Support/Zotero/Profiles/isqcn0ks.default/zotero/storage/ADZ76W7D/148.html:text/html}
}

path: /bib/Exported Items.bib

gha_language: HTML

filename: Exported Items.bib


text:
package handler

import "sync"

var connonce sync.Once
var conninstance *ConnectHandler

//连接管理单例
func ConnectHandlerIns() *ConnectHandler {
	connonce.Do(func() {
		conninstance = new(ConnectHandler)
	})
	return conninstance
}

/*
连接管理
*/
type ConnectHandler struct {
	sync.Map
}

//增
func (c *ConnectHandler) C(k, v interface{}) {
	c.Store(k, v)
}

//删
func (c *ConnectHandler) D(k interface{}) {
	c.Delete(k)
}

//改
func (c *ConnectHandler) U(k, v interface{}) (interface{}, bool) {
	return c.LoadOrStore(k, v)
}

//查
func (c *ConnectHandler) R(k interface{}) (interface{}, bool) {
	return c.Load(k)
}

//遍历
func (c *ConnectHandler) Each(fu func(k, v interface{}) bool) {
	c.Range(func(k, v interface{}) bool {
		return fu(k.(interface{}), v.(interface{}))
	})
}

//大小
func (c *ConnectHandler) Size() int64 {
	var size int64
	c.Range(func(k, v interface{}) bool {
		size++
		return true
	})
	return size
}

//清空
func (c *ConnectHandler) Clear() {
	c.Range(func(key, value interface{}) bool {
		c.Delete(key)
		return true
	})
}

repository: dllgo/zim

repo_name: dllgo/zim


text:
@misc{WhatIsConcurrency,
  key={Quora},
  title = {{What is concurrency in programming?}},
  howpublished = {\url{https://www.quora.com/What-is-concurrency-in-programming}},
  urldate = {2019-08-17}
}
@misc{IntroConcurrency,
  key={Intro},
  title = {{Introduction to Concurrency}},
  howpublished = {\url{https://cs.lmu.edu/~ray/notes/introconcurrency/}},
  urldate = {2019-08-17}
},
@misc{ConcurrencyVsParallelism,
  key={ConcVsPar},
  title = {{Concurrency is not parallelism}},
  howpublished = {\url{https://blog.golang.org/concurrency-is-not-parallelism}},
  urldate = {2019-08-17}
}
@article{StudentsArticle,
author = {Lönnberg, Jan and Berglund, Anders},
year = {2007},
month = {11},
pages = {},
title = {Students understandings of concurrent programming}
}
@book{Tanenbaum:2014,
 author = {Tanenbaum, Andrew S. and Bos, Herbert},
 title = {Modern Operating Systems},
 year = {2014},
 isbn = {013359162X, 9780133591620},
 edition = {4th},
 publisher = {Prentice Hall Press},
 address = {Upper Saddle River, NJ, USA},
},
@misc{ThreadsStates,
  key={ThStates},
  title = {{Utilizando Threads - parte 1}},
  howpublished = {\url{https://www.devmedia.com.br/utilizando-threads-parte-1/4459}},
  urldate = {2019-08-17}
}
@misc{RunVsTh,
  key={RunVsTh},
  title = {{“implements Runnable” vs “extends Thread” in Java}},
  howpublished = {\url{https://stackoverflow.com/questions/541487/implements-runnable-vs-extends-thread-in-java}},
  urldate = {2019-08-17}
},
@misc{Problems,
  key={Pro},
  title = {{Race condition, Dead lock, Live Lock and Starvation in multithreaded applications}},
  howpublished = {\url{http://jprajavel.blogspot.com/2009/10/race-condition-dead-lock-live-lock-and.html}},
  urldate = {2019-08-17}
},
@misc{Jacques,
  key={Jac},
  title = {{Sincronização de Threads}},
  howpublished = {\url{http://www.dsc.ufcg.edu.br/~jacques/cursos/map/html/threads/sincronizacao.html}},
  urldate = {2019-08-17}
},
@misc{CFunc,
  key={CFunc},
  title = {{Mutex lock for Linux Thread Synchronization}},
  howpublished = {\url{https://www.geeksforgeeks.org/mutex-lock-for-linux-thread-synchronization/}},
  urldate = {2019-08-17}
},
@misc{CDocs,
  key={CDocs},
  title = {{pthread.h Manual}},
  howpublished = {\url{http://pubs.opengroup.org/onlinepubs/7908799/xsh/pthread.h.html}},
  urldate = {2019-08-17}
},
@misc{CCond,
  key={CCond},
  title = {{Using Condition Variables}},
  howpublished = {\url{https://docs.oracle.com/cd/E19455-01/806-5257/6je9h032r/index.html}},
  urldate = {2019-08-17}
},
@misc{Cprodcons,
  key={Cprodcons},
  title = {{Implementing producer/consumer with condition variables}},
  howpublished = {\url{http://pages.cs.wisc.edu/~jacobson/cs537/S2012/handouts/lecture-cv.pdf}},
  urldate = {2019-08-17}
}

repository: avdLuna/ConcurrentProgramming

repo_name: avdLuna/ConcurrentProgramming


text:
SUMMARY = "Plugin based UI runtime used to write primary user interfaces"
LICENSE = "GPLv2 | LGPLv2.1"
LIC_FILES_CHKSUM = " \
	file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263 \
	file://COPYING.LIB;md5=2d5025d4aa3495befef8f17206a5b0a1 \
"

inherit kde-kf5 gettext

DEPENDS += " \
    qtdeclarative \
    qtsvg \
    qtscript \
    qtquickcontrols2 \
    kirigami2 \
    kactivities \
    karchive \
    kconfig \
    kconfig-native \
    kconfigwidgets \
    kcoreaddons \
    kcoreaddons-native \
    kdbusaddons \
    kdeclarative \
    kdoctools \
    kdoctools-native \
    kglobalaccel \
    kguiaddons \
    ki18n \
    kservice \
    kwindowsystem \
    kxmlgui \
    knotifications \
    kpackage \
    kpackage-native \
    kwayland \
    kauth-native \
    ${@bb.utils.contains("DISTRO_FEATURES", "x11", "virtual/libx11 qtx11extras", "", d)} \
"

PV = "${KF5_VERSION}"
SRC_URI[md5sum] = "913a57607b9c57daef88c90356f55986"
SRC_URI[sha256sum] = "5b16c9808a0e8c6c920bf879bcc39ed01d566affbfdeef8e7dcbd9dbe6622cfb"

FILES_${PN} += " \
    ${datadir}/kdevappwizard \
    ${datadir}/dbus-1 \
    ${datadir}/k*5 \
    ${datadir}/plasma \
    \
    ${OE_QMAKE_PATH_PLUGINS} \
    ${libdir}/platformqml \
    ${OE_QMAKE_PATH_QML} \
    ${libdir}/org/kde/plasma \
"

FILES_${PN}-dbg += " \
    ${OE_QMAKE_PATH_PLUGINS}/.debug \
    ${OE_QMAKE_PATH_PLUGINS}/*/*/.debug \
    ${libdir}/platformqml/*/org/kde/plasma/*/.debug \
    ${libdir}/org/kde/plasma/*/.debug \
    ${OE_QMAKE_PATH_QML}/org/kde/plasma/*/.debug \
"


text:
,-------------------.
|     PREAMBLE      |
`-------------------'

@preamble{ "\providecommand{\noopsort}[1]{}
           \providecommand{\singleletter}[1]{#1}
           \providecommand{\noopsort}[1]{}
           \providecommand{\singleletter}[1]{#1} "
}

,-------------------.
|  BIBTEX ENTRIES   |
`-------------------'

@article{kmvHANK,
  author =        {Kaplan, Greg and Moll, Benjamin and
                   Violante, Giovanni L.},
  journal =       {American Economic Review},
  month =         {March},
  number =        {3},
  pages =         {697--743},
  title =         {Monetary Policy According to HANK},
  volume =        {108},
  year =          {2018},
  abstract =      {We revisit the transmission mechanism of monetary
                   policy for household consumption in a Heterogeneous
                   Agent New Keynesian (HANK) model. The model yields
                   empirically realistic distributions of household
                   wealth and marginal propensities to consume because
                   of two key features: multiple assets with different
                   degrees of liquidity and an idiosyncratic income
                   process with leptokurtic income changes. In this
                   environment, the indirect effects of an unexpected
                   cut in interest rates, which operate through a
                   general equilibrium increase in labor demand, far
                   outweigh direct effects such as intertemporal
                   substitution. This finding is in stark contrast to
                   small- and medium-scale Representative Agent New
                   Keynesian (RANK) economies, where intertemporal
                   substitution drives virtually all of the transmission
                   from interest rates to consumption.},
}

@article{glLiq,
  author =        {Guerrieri, Veronica and Lorenzoni, Guido},
  journal =       {The Quarterly Journal of Economics},
  number =        {3},
  pages =         {1427--1467},
  publisher =     {Oxford University Press},
  title =         {Credit crises, precautionary savings, and the
                   liquidity trap},
  volume =        {132},
  year =          {2017},
}

@article{blPrecautionary,
  author =        {Bayer, Christian and L{\"u}tticke, Ralph and
                   Pham-Dao, Lien and Tjaden, Volker},
  journal =       {Econometrica},
  number =        {1},
  pages =         {255--290},
  publisher =     {Wiley Online Library},
  title =         {Precautionary savings, illiquid assets, and the
                   aggregate consequences of shocks to household income
                   risk},
  volume =        {87},
  year =          {2019},
}

@article{deatonLiqConstr,
  author =        {Deaton, Angus S.},
  journal =       {Econometrica},
  note =          {\url{http://www.jstor.org/stable/2938366}},
  pages =         {1221-1248},
  title =         {Saving and Liquidity Constraints},
  volume =        {59},
  year =          {1991},
  url =           {http://www.jstor.org/stable/2938366},
}

@phdthesis{zeldes:thesis,
  author =        {Zeldes, Stephen P.},
  school =        {Massachusetts Institute of Technology},
  title =         {Optimal Consumption with Stochastic Income},
  year =          {1984},
}

@article{samwick:pensions,
  author =        {Samwick, Andrew A.},
  journal =       {Manuscript, Department of Economics, Dartmouth
                   College},
  title =         {The Limited Offset Between Pension Wealth and Other
                   Private Wealth: Implications of Buffer-Stock Saving},
  year =          {1995},
}

@article{kimball:smallandlarge,
  author =        {Kimball, Miles S.},
  journal =       {Econometrica},
  pages =         {53--73},
  title =         {Precautionary Saving in the Small and in the Large},
  volume =        {58},
  year =          {1990},
}

@article{park2006analytical,
  author =        {Park, Myung-Ho},
  journal =       {Economics Letters},
  number =        {3},
  pages =         {389--394},
  publisher =     {Elsevier},
  title =         {An analytical solution to the inverse consumption
                   function with liquidity constraints},
  volume =        {92},
  year =          {2006},
}

@article{seater1997optimal,
  author =        {Seater, John J},
  journal =       {Economics Letters},
  number =        {2},
  pages =         {127--134},
  publisher =     {Elsevier},
  title =         {An optimal control solution to the liquidity
                   constraint problem},
  volume =        {54},
  year =          {1997},
}

@article{nishiyama2012concavity,
  author =        {Nishiyama, Shin-Ichi and Kato, Ryo},
  journal =       {Theoretical Economics Letters},
  number =        {05},
  pages =         {566},
  publisher =     {Scientific Research Publishing},
  title =         {On the Concavity of the Consumption Function with a
                   Quadratic Utility under Liquidity Constraints},
  volume =        {2},
  year =          {2012},
}

@article{holm2018consumption,
  author =        {Holm, Martin Blomhoff},
  journal =       {Economics Letters},
  pages =         {40--42},
  publisher =     {Elsevier},
  title =         {Consumption with liquidity constraints: An analytical
                   characterization},
  volume =        {167},
  year =          {2018},
}

@article{carroll&kimball:concavity,
  author =        {Carroll, Christopher D. and Kimball, Miles S.},
  journal =       {Econometrica},
  note =
  {\url{http://econ.jhu.edu/people/ccarroll/concavity.pdf}},
  number =        {4},
  pages =         {981--992},
  title =         {On the {C}oncavity of the {C}onsumption {F}unction},
  volume =        {64},
  year =          {1996},
  url =           {http://econ.jhu.edu/people/ccarroll/concavity.pdf},
}

@article{lee2007degree,
  author =        {Lee, Jeong-Joon and Sawada, Yasuyuki},
  journal =       {Economics Letters},
  number =        {2},
  pages =         {196--201},
  publisher =     {Elsevier},
  title =         {The degree of precautionary saving: A reexamination},
  volume =        {96},
  year =          {2007},
}

@article{lee2010precautionary,
  author =        {Lee, Jeong-Joon and Sawada, Yasuyuki},
  journal =       {Journal of Development Economics},
  number =        {1},
  pages =         {77--86},
  publisher =     {Elsevier},
  title =         {Precautionary saving under liquidity constraints:
                   Evidence from rural Pakistan},
  volume =        {91},
  year =          {2010},
}

@article{fulford2015important,
  author =        {Fulford, Scott L},
  journal =       {Journal of Monetary Economics},
  pages =         {42--63},
  publisher =     {Elsevier},
  title =         {How important is variability in consumer credit
                   limits?},
  volume =        {72},
  year =          {2015},
}

@article{druedahl2018precautionary,
  author =        {Druedahl, Jeppe and J{\o}rgensen, Casper Nordal},
  journal =       {Quantitative Economics},
  number =        {2},
  pages =         {785--823},
  publisher =     {Wiley Online Library},
  title =         {Precautionary borrowing and the credit card debt
                   puzzle},
  volume =        {9},
  year =          {2018},
}

@article{kennickell&lusardi:scfquestions,
  author =        {Kennickell, Arthur B. and Lusardi, Annamaria},
  journal =       {Manuscript, Board of Governors of the Federal Reserve
                   System},
  title =         {Assessing the Importance of the Precautionary Saving
                   Motive: Evidence from the 1995 SCF},
  year =          {1999},
}

@article{jappelli:whoisconstr,
  author =        {Jappelli, Tullio},
  journal =       {Quarterly Journal of Economics},
  number =        {1},
  pages =         {219--34},
  title =         {Who is Credit Constrained in the U.S. Economy?},
  volume =        {105},
  year =          {1990},
}

@article{aclvJoy,
  author =        {Ameriks, John and Caplin, Andrew and Laufer, Steven and
                   Van Nieuwerburgh, Stijn},
  journal =       {The Journal of Finance},
  number =        {2},
  pages =         {519--561},
  publisher =     {Wiley Online Library},
  title =         {The Joy Of Giving Or Assisted Living? Using Strategic
                   Surveys To Separate Public Care Aversion From Bequest
                   Motives},
  volume =        {66},
  year =          {2011},
}

@article{pratt:smallandlarge,
  author =        {Pratt, John W.},
  journal =       {Econometrica},
  pages =         {122--136},
  title =         {Risk Aversion in the Small and in the Large},
  volume =        {32},
  year =          {1964},
}

@book{beckenbach1983inequalities,
  author =        {Beckenbach, Edwin F and Bellman, Richard},
  edition =       {reprint},
  publisher =     {Springer},
  title =         {Inequalities},
  volume =        {30},
  year =          {1983},
}

@article{BufferStockTheory,
  author =        {Christopher D. Carroll},
  journal =       {Quantitative Economics},
  title =         {Theoretical Foundations of Buffer Stock Saving},
  year =          {Forthcoming},
  doi =           {https://zenodo.org/badge/latestdoi/304124725},
  url =           {https://econ-ark.github.io/BufferStockTheory},
}

repository: llorracc/LiqConstr

repo_name: llorracc/LiqConstr

gha_language: TeX


text:
@Book{Huynh2019ix,
author={Huynh, K.P. and Jacho-Chavez, D.T. and Tripathi, G.},
editor={Huynh, K.P. and Jacho-Chavez, D.T. and Tripathi, G.},
title={The Econometrics of Complex Survey Data: Theory and Applications},
series={Advances in Econometrics},
year={2019},
volume={39},
publisher={Emerald Publishing Limited},
edition={1},
month={4},
doi={10.1108/S0731-905320190000039005},
url={https://www.scopus.com/inward/record.uri?eid=2-s2.0-85063568992&doi=10.1108%2fS0731-905320190000039005&partnerID=40&md5=f76d09c4e1710db1dbb43074a4605f10},
document_type={Editorial},
source={Scopus},
}

repository: djachoc/academic-kickstart

repo_name: djachoc/academic-kickstart


text:
#
# This file was derived from the 'Hello World!' example recipe in the
# Yocto Project Development Manual.
#

DESCRIPTION = "sm1/pti - MKS Pressure Technology Industries"
SECTION = "examples"
DEPENDS = ""
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://COPYING.MIT;md5=838c366f69b72c5df05c96dff79b35f2"

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

# Use local tarball
SRC_URI = "file://ptipp-${PV}.tar.gz"
S = "${WORKDIR}/ptipp-${PV}"

PACKAGES = "${PN} ${PN}-dev ${PN}-dbg ${PN}-staticdev"

COMPATIBLE_MACHINE = "nanopi-neo"

inherit cmake

DEPENDS = "sm1cpp"
RDEPENDS_${PN} = "sm1cpp"

BBCLASSEXTEND += "native nativesdk"

PARALLEL_MAKE = ""

repository: stefanofiorentino/meta-ptipp

repo_name: stefanofiorentino/meta-ptipp


text:
package sqldef

import (
	"bufio"
	"bytes"
	"fmt"
	"io/ioutil"
	"log"
	"os"

	"github.com/k0kubun/sqldef/driver"
	"github.com/k0kubun/sqldef/schema"
)

type Options struct {
	SqlFile    string
	DbType     string
	DbUser     string
	DbPassword string
	DbHost     string
	DbPort     int
	DryRun     bool
	Export     bool
}

// Main function shared by `mysqldef` and `psqldef`
func Run(database string, options *Options) {
	db, err := driver.NewDatabase(driver.Config{
		DbType:   options.DbType,
		DbName:   database,
		User:     options.DbUser,
		Password: options.DbPassword,
		Host:     options.DbHost,
		Port:     options.DbPort,
	})
	if err != nil {
		log.Fatal(err)
	}
	defer db.Close()

	currentDDLs, err := db.DumpDDLs()
	if err != nil {
		log.Fatal(err)
	}

	if options.Export {
		if currentDDLs == "" {
			fmt.Printf("-- No table exists\n")
		} else {
			fmt.Printf("%s;\n", currentDDLs)
		}
		return
	}

	sql, err := readFile(options.SqlFile)
	if err != nil {
		log.Fatalf("Failed to read '%s': %s", options.SqlFile, err)
	}
	desiredDDLs := string(sql)

	ddls, err := schema.GenerateIdempotentDDLs(desiredDDLs, currentDDLs)
	if err != nil {
		log.Fatal(err)
	}
	if len(ddls) == 0 {
		fmt.Println("Nothing is modified")
		return
	}

	if options.DryRun {
		showDDLs(ddls)
		return
	}

	err = db.RunDDLs(ddls)
	if err != nil {
		log.Fatal(err)
	}
}

func readFile(filepath string) (string, error) {
	var content string
	var err error
	if filepath == "-" {
		stat, _ := os.Stdin.Stat()
		if (stat.Mode() & os.ModeCharDevice) != 0 {
			return "", fmt.Errorf("stdin is not piped")
		}

		var buffer bytes.Buffer
		scanner := bufio.NewScanner(os.Stdin)
		for scanner.Scan() {
			buffer.WriteString(scanner.Text())
		}
		content = buffer.String()
	} else {
		var buf []byte
		buf, err = ioutil.ReadFile(filepath)
		content = string(buf)
	}

	if err != nil {
		return "", err
	}
	return content, nil
}

func showDDLs(ddls []string) {
	fmt.Println("--- dry run ---")
	for _, ddl := range ddls {
		fmt.Printf("Run: '%s;'\n", ddl)
	}
}


text:
DESCRIPTION = "DSPLINK 1.61.3 module for TI ARM/DSP processors"

require ti-paths.inc
inherit module

# compile and run time dependencies
DEPENDS 	+= "virtual/kernel perl-native ti-dspbios-native ti-cgt6x-native update-modules ti-xdctools-native"

# tconf from xdctools dislikes '.' in pwd :/
#This is a kernel module, don't set PR directly
MACHINE_KERNEL_PR_append = "a"
PV = "1613"

SRC_URI = "http://install.source.dir.local/dsplink_1_61_03.tar.gz \
		   file://loadmodules-ti-dsplink-apps.sh \
		   file://unloadmodules-ti-dsplink-apps.sh"

# Set the source directory
S = "${WORKDIR}/dsplink_1_61_03"

# DSPLINK - Config Variable for different platform
DSPLINKPLATFORM            			?= "DAVINCI"
DSPLINKPLATFORM_dm6446-evm 			?= "DAVINCI"
DSPLINKPLATFORM_da830-omapl137-evm 	?= "OMAPL1XX"

DSPLINKDSPCFG            			?= "DM6446GEMSHMEM"
DSPLINKDSPCFG_dm6446-evm 			?= "DM6446GEMSHMEM"
DSPLINKDSPCFG_da830-omapl137-evm 	?= "OMAPL1XXGEMSHMEM"

DSPLINKGPPOS             			?= "MVL5G"
DSPLINKGPPOS_dm6446-evm  			?= "MVL5G"
DSPLINKGPPOS_da830-omapl137-evm  	?= "MVL5G"

DSPLINK = "${S}/dsplink"
export DSPLINK

STAGING_TI_DSPBIOS_DIR="${STAGING_DIR_NATIVE}/ti-dspbios-native"
STAGING_TI_CGT6x_DIR="${STAGING_DIR_NATIVE}/ti-cgt6x-native"
STAGING_TI_XDCTOOL_INSTALL_DIR="${STAGING_DIR_NATIVE}/ti-xdctools-native"

do_compile() {

    # Run perl script to create appropriate makefiles (v1.60 and up)
    (
    cd ${DSPLINK}
    perl config/bin/dsplinkcfg.pl --platform=${DSPLINKPLATFORM} --nodsp=1 \
	--dspcfg_0=${DSPLINKDSPCFG} --dspos_0=DSPBIOS5XX \
	--gppos=${DSPLINKGPPOS} --comps=ponslrm
    )

	  # dsplink makefile is hard-coded to use kbuild only on OMAP3530.
    # we are forcing  to use kbuild on other platforms.
	  sed -i  's/OMAP3530/${DSPLINKPLATFORM}/g' ${DSPLINK}/gpp/src/Makefile

    # TODO :: KERNEL_CC, etc need replacing with user CC
    # TODO :: Need to understand why OBJDUMP is required for kernel module
    # Unset these since LDFLAGS gets picked up and used incorrectly.... need
    # investigation

    unset CFLAGS CPPFLAGS CXXFLAGS  LDFLAGS

    # Build the gpp user space library
    cd ${DSPLINK}/gpp/src/api
    ${STAGING_TI_XDCTOOL_INSTALL_DIR}/gmake \
      CROSS_COMPILE="${TARGET_PREFIX}" \
      CC="${KERNEL_CC}" \
      AR="${KERNEL_AR}" \
      LD="${KERNEL_LD}" \
      COMPILER="${KERNEL_CC}" \
      ARCHIVER="${KERNEL_AR}" \
      KERNEL_DIR="${STAGING_KERNEL_DIR}" \
      clean all

    # Build the gpp kernel space (debug and release)
    cd ${DSPLINK}/gpp/src
    ${STAGING_TI_XDCTOOL_INSTALL_DIR}/gmake \
      OBJDUMP="${TARGET_PREFIX}objdump" \
      CROSS_COMPILE="${TARGET_PREFIX}" \
      CC="${KERNEL_CC}" \
      AR="${KERNEL_AR}" \
      LD="${KERNEL_LD}" \
      COMPILER="${KERNEL_CC}" \
      ARCHIVER="${KERNEL_AR}" \
      KERNEL_DIR="${STAGING_KERNEL_DIR}" \
      clean all

    # Build the gpp samples
    cd ${DSPLINK}/gpp/src/samples
    ${STAGING_TI_XDCTOOL_INSTALL_DIR}/gmake \
      BASE_TOOLCHAIN="${CROSS_DIR}" \
      BASE_CGTOOLS="${BASE_TOOLCHAIN}/bin" \
      OSINC_PLATFORM="${CROSS_DIR}/lib/gcc/${TARGET_SYS}/$(${TARGET_PREFIX}gcc -dumpversion)/include" \
      OSINC_TARGET="${BASE_TOOLCHAIN}/target/usr/include" \
      CROSS_COMPILE="${TARGET_PREFIX}" \
      CC="${KERNEL_CC}" \
      AR="${KERNEL_AR}" \
      LD="${KERNEL_LD}" \
      COMPILER="${KERNEL_CC}" \
      LINKER="${KERNEL_CC}" \
      ARCHIVER="${KERNEL_AR}" \
      KERNEL_DIR="${STAGING_KERNEL_DIR}" \
      clean all

    # Build the dsp library (debug and release)
    cd ${DSPLINK}/dsp/src
    ${STAGING_TI_XDCTOOL_INSTALL_DIR}/gmake \
      BASE_CGTOOLS="${STAGING_TI_CGT6x_DIR}" \
      BASE_SABIOS="${STAGING_TI_DSPBIOS_DIR}" \
      clean all

    # Build the dsp samples (debug and release)
    cd ${DSPLINK}/dsp/src/samples
    ${STAGING_TI_XDCTOOL_INSTALL_DIR}/gmake \
      BASE_CGTOOLS="${STAGING_TI_CGT6x_DIR}" \
      BASE_SABIOS="${STAGING_TI_DSPBIOS_DIR}" \
      clean all
}

do_install () {
    # DSPLINK driver - kernel module
    install -d ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp
    install -m 0755 ${DSPLINK}/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/RELEASE/dsplinkk.ko ${D}/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/

    # DSPLINK library
    install -d ${D}/${installdir}/dsplink/libs
    install -m 0755 ${DSPLINK}/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/RELEASE/dsplink.lib  ${D}/${installdir}/dsplink/libs

    # DSPLINK sample apps
    install -d ${D}/${installdir}/dsplink/apps

    cp ${DSPLINK}/gpp/export/BIN/Linux/${DSPLINKPLATFORM}/RELEASE/*gpp ${D}/${installdir}/dsplink/apps

    for i in $(find ${DSPLINK}/dsp/BUILD/ -name "*.out") ; do
        cp ${i} ${D}/${installdir}/dsplink/apps
    done

    # DSPLINK test app module un/load scripts
    install ${WORKDIR}/loadmodules-ti-dsplink-apps.sh ${D}/${installdir}/dsplink/apps
    install ${WORKDIR}/unloadmodules-ti-dsplink-apps.sh ${D}/${installdir}/dsplink/apps
}

do_stage () {
    install -d ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/packages
    cp -pPrf ${S}/* ${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/${PN}/packages
}

pkg_postrm () {
    update-modules || true
}

pkg_postinst () {
    if [ -n "$D" ]; then
        exit 1
    fi
    depmod -a
    update-modules || true
}

INHIBIT_PACKAGE_STRIP = "1"

PACKAGES += " ti-dsplink-apps"
FILES_${PN} = "/lib/modules/${KERNEL_VERSION}/kernel/drivers/dsp/*"
FILES_ti-dsplink-apps = "${installdir}/dsplink/*"

# Disable QA check untils we figure out how to pass LDFLAGS in build
INSANE_SKIP_${PN} = True
INSANE_SKIP_ti-dsplink-apps = True


text:
// Copyright © 2018 NAME HERE <EMAIL ADDRESS>
//
// 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 cmd

import (
	"fmt"
	"time"

	"github.com/rickar/cal"
	"github.com/spf13/cobra"
	"github.com/tealeg/xlsx"
)

// generateCmd represents the generate command
var generateCmd = &cobra.Command{
	Use:   "generate",
	Short: "Generate Timesheet",
	Run: func(cmd *cobra.Command, args []string) {
		c := cal.NewCalendar()

		c.AddHoliday(
			cal.NewHoliday(time.January, 1),
			cal.NewHoliday(time.February, 16),
			cal.NewHoliday(time.February, 17),
			cal.NewHoliday(time.February, 18),
			cal.NewHoliday(time.February, 19),
			cal.NewHoliday(time.March, 30),
			cal.NewHoliday(time.March, 31),
			cal.NewHoliday(time.April, 2),
			cal.NewHoliday(time.April, 5),
			cal.NewHoliday(time.May, 1),
			cal.NewHoliday(time.May, 22),
			cal.NewHoliday(time.June, 18),
			cal.NewHoliday(time.July, 1),
			cal.NewHoliday(time.July, 2),
			cal.NewHoliday(time.September, 25),
			cal.NewHoliday(time.October, 1),
			cal.NewHoliday(time.October, 17),
			cal.NewHoliday(time.December, 25),
			cal.NewHoliday(time.December, 26),
		)

		var file *xlsx.File
		var sheet *xlsx.Sheet
		var row *xlsx.Row
		var cell *xlsx.Cell
		var err error

		file = xlsx.NewFile()
		sheet, err = file.AddSheet("Sheet1")
		if err != nil {
			fmt.Printf(err.Error())
		}
		currentDate := time.Now().Local()

		start := time.Date(currentDate.Year(), currentDate.Month(), 1, 0, 0, 0, 0, currentDate.Location())

		// set d to starting date and keep adding 1 day to it as long as month doesn't change
		for d := start; d.Month() == start.Month(); d = d.AddDate(0, 0, 1) {
			row = sheet.AddRow()
			cell = row.AddCell()
			if c.IsWorkday(d) {
				cell.SetInt(8)
			} else {
				cell.Value = ""
			}

			err = file.Save("day.xlsx")
			if err != nil {
				fmt.Printf(err.Error())
			}
		}
	},
}

func init() {
	rootCmd.AddCommand(generateCmd)

	// Here you will define your flags and configuration settings.

	// Cobra supports Persistent Flags which will work for this command
	// and all subcommands, e.g.:
	// generateCmd.PersistentFlags().String("foo", "", "A help for foo")

	// Cobra supports local flags which will only run when this command
	// is called directly, e.g.:
	// generateCmd.Flags().BoolP("toggle", "t", false, "Help message for toggle")
}

repository: darkcl/timesheet

repo_name: darkcl/timesheet


text:
# base recipe: meta/recipes-devtools/python/python3-extras_1.0.0.bb
# base branch: warrior
# base commit: 76fbee59374d282c9d7e62db95c0968745411777

inherit setuptools3
require python-extras.inc

repository: miraclelinux/meta-debian-extended

repo_name: miraclelinux/meta-debian-extended

branch_name: refs/heads/warrior

gha_language: BitBake


text:
@article{pmid31327564,
 author = {Zhou, B.  and Danaei, G.  and Stevens, G. A.  and Bixby, H.  and Taddei, C.  and Carrillo-Larco, R. M.  and Solomon, B.  and Riley, L. M.  and Di Cesare, M.  and Iurilli, M. L. C.  and Rodriguez-Martinez, A.  and Zhu, A.  and Hajifathalian, K.  and Amuzu, A.  and Banegas, J. R.  and Bennett, J. E.  and Cameron, C.  and Cho, Y.  and Clarke, J.  and Craig, C. L.  and Cruz, J. J.  and Gates, L.  and Giampaoli, S.  and Gregg, E. W.  and Hardy, R.  and Hayes, A. J.  and Ikeda, N.  and Jackson, R. T.  and Jennings, G.  and Joffres, M.  and Khang, Y. H.  and Koskinen, S.  and Kuh, D.  and Kujala, U. M.  and Laatikainen, T.  and Lehtimäki, T.  and Lopez-Garcia, E.  and Lundqvist, A.  and Maggi, S.  and Magliano, D. J.  and Mann, J. I.  and McLean, R. M.  and McLean, S. B.  and Miller, J. C.  and Morgan, K.  and Neuhauser, H. K.  and Niiranen, T. J.  and Noale, M.  and Oh, K.  and Palmieri, L.  and Panza, F.  and Parnell, W. R.  and Peltonen, M.  and Raitakari, O.  and Rodríguez-Artalejo, F.  and Roy, J. G.  and Salomaa, V.  and Sarganas, G.  and Servais, J.  and Shaw, J. E.  and Shibuya, K.  and Solfrizzi, V.  and Stavreski, B.  and Tan, E. J.  and Turley, M. L.  and Vanuzzo, D.  and Viikari-Juntura, E.  and Weerasekera, D.  and Ezzati, M. },
 journal = {Lancet},
 month = {08},
 number = {10199},
 pages = {639--651},
 title = {Long-term and recent trends in hypertension awareness, treatment, and control in 12 high-income countries: an analysis of 123 nationally representative surveys},
 volume = {394},
 year = {2019}
}

repository: hypertensioncenter/academic-kickstart

repo_name: hypertensioncenter/academic-kickstart


text:
SUMMARY  = "A library implementing the 'SemVer' scheme."
DESCRIPTION = "Semantic version comparison for Python (see http://semver.org/)"
HOMEPAGE = "https://github.com/rbarrois/python-semanticversion"
LICENSE = "BSD-2-Clause"
LIC_FILES_CHKSUM = "file://LICENSE;md5=4fb31e3c1c7eeb8b5e8c07657cdd54e2"

SRC_URI[sha256sum] = "d2cb2de0558762934679b9a104e82eca7af448c9f4974d1f3eeccff651df8a54"

PYPI_PACKAGE = "semantic_version"
inherit pypi setuptools3

BBCLASSEXTEND = "native nativesdk"

repository: ni/meta-openembedded

repo_name: ni/meta-openembedded

branch_name: refs/heads/nilrt/master/hardknott


text:
DESCRIPTION = "Mouse-test Qt5 app"

LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/MIT;md5=0835ade698e0bcf8506ecda2f7b4f302"

DEPENDS += "qtbase"

S = "${WORKDIR}/mouseevents-${PV}"

PR = "r1"

SRC_URI = "git://github.com/eiger824/mouseevents.git;protocol=https;destsuffix=mouseevents-${PV}"

SRCREV_pn-mouseevents = "master"

inherit qmake5

do_install() {
	install -d -m 0755 ${D}/${bindir}/apps/mouseevents
	install -m 0755 mouseevents ${D}/${bindir}/apps/mouseevents/mouseevents
}

FILES_${PN} += " \
	${bindir}/apps/mouseevents/mouseevents \
	"


text:
FIND_PATH(MRUBY_INCLUDE_DIR NAMES mruby.h)
FIND_LIBRARY(MRUBY_LIBRARIES NAMES mruby libmruby)

INCLUDE(FindPackageHandleStandardArgs)
FIND_PACKAGE_HANDLE_STANDARD_ARGS(MRUBY DEFAULT_MSG MRUBY_LIBRARIES MRUBY_INCLUDE_DIR)

gha_language: C


text:
@Manual{R2012,
   title        = {R: A Language and Environment for Statistical
                   Computing},
   author       = {{R Core Team}},
   organization = {R Foundation for Statistical Computing},
   address      = {Vienna, Austria},
   year         = 2012,
   note         = {{ISBN} 3-900051-07-0},
   url          = {http://www.R-project.org}
 }

 @ARTICLE{Gentleman2004,
  author = {Robert C Gentleman and Vincent J Carey and Douglas M Bates and Ben
	Bolstad and Marcel Dettling and Sandrine Dudoit and Byron Ellis and
	Laurent Gautier and Yongchao Ge and Jeff Gentry and Kurt Hornik and
	Torsten Hothorn and Wolfgang Huber and Stefano Iacus and Rafael Irizarry
	and Friedrich Leisch and Cheng Li and Martin Maechler and Anthony
	J Rossini and Gunther Sawitzki and Colin Smith and Gordon Smyth and
	Luke Tierney and Jean Y H Yang and Jianhua Zhang},
  title = {Bioconductor: open software development for computational biology
	and bioinformatics.},
  journal = {Genome Biol},
  year = {2004},
  volume = {5},
  pages = {R80},
  number = {10},
  abstract = {The Bioconductor project is an initiative for the collaborative creation
	of extensible software for computational biology and bioinformatics.
	The goals of the project include: fostering collaborative development
	and widespread use of innovative software, reducing barriers to entry
	into interdisciplinary scientific research, and promoting the achievement
	of remote reproducibility of research results. We describe details
	of our aims and methods, identify current challenges, compare Bioconductor
	to other open bioinformatics projects, and provide working examples.},
  doi = {10.1186/gb-2004-5-10-r80},
  institution = {Department of Biostatistical Science, Dana-Farber Cancer Institute,
	44 Binney St, Boston, MA 02115, USA. rgentlem@jimmy.harvard.edu},
  keywords = {Computational Biology, instrumentation/methods; Internet; Reproducibility
	of Results; Software},
  language = {eng},
  medline-pst = {ppublish},
  owner = {benjamin},
  pii = {gb-2004-5-10-r80},
  pmid = {15461798},
  timestamp = {2013.03.28},
  url = {http://dx.doi.org/10.1186/gb-2004-5-10-r80}
}

repository: is-xiaoyx/Awesome-Beamer-Collection

repo_name: is-xiaoyx/Awesome-Beamer-Collection


text:
##
# @brief Contains functions for setting an application that uses  Gap libraries
##
if (CMAKE_MINIMUM_REQUIRED_VERSION  VERSION_LESS 3.0.0)
    message(AUTHOR_WARNING "Your project should require atleast CMake 3.0 FindGap to work")
endif()

set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++11")

##
# @brief Intialize a target with the given name
# @param name The name of the target
##
function(Gap_InitializeTarget name)
    if (NOT ${name}_TARGET_INITIALIZED)
        # Find all the source files
        file(GLOB ${name}_SOURCES "${CMAKE_CURRENT_SOURCE_DIR}/src/*.cpp")
        # Additional source files
        set(${name}_SOURCES ${${name}_SOURCES} ${${name}_ADDITIONAL_SOURCES} PARENT_SCOPE)
        # We need a configuration file
        set(${name}_CONFIG  ${name}.json PARENT_SCOPE)

        # Supply developer with debug macro
        if (NOT CMAKE_BUILD_TYPE STREQUAL Debug)
            add_definitions(-DNDEBUG)
        endif()

        set(${name}_TARGET_INITIALIZED 1 PARENT_SCOPE)
        include_directories(src)
    endif()
    message(STATUS "Target configured successfully, ${${name}_SOURCES}")
endfunction()

##
# @brief Loads the dependencies required by gap and libgap itself
# @param name The name of the project
##
function(Gap_LoadDependecies name)
    if (NOT ${name}_GAP_PROJECT_SETUP)
        if (NOT Boost_FOUND)
            # Dependency on boost
            find_package(Boost 1.60 REQUIRED COMPONENTS system filesystem date_time thread regex)
            if (NOT Boost_FOUND)
                message(FATAL_ERROR "This project has a hard dependency on boost libraries >= 1.60")
            endif()
        endif()
        set(${name}_LIBRARIES ${${name}_LIBRARIES} ${Boost_LIBRARIES})

        if (NOT Threads_FOUND)
            # Dependency on threading libraries
            find_package(Threads REQUIRED)
            if (NOT Threads_FOUND)
                message(FATAL_ERROR "Threading (pthreads) library need to be installed")
            endif()
        endif()
        set(${name}_LIBRARIES ${${name}_LIBRARIES} ${CMAKE_THREAD_LIBS_INIT})

        if (${name}_OPENSSL_ENABLED)
            # If OpenSSL is enabled, find it
            if (NOT OpenSSL_FOUND)
                find_package(OpenSSL REQUIRED)
                if (NOT OpenSSL_FOUND)
                    message(FATAL_ERROR "This project has a hard dependency on OpenSSL")
                endif()
            endif()
            add_definitions(-DOPENSSL_ENABLED)
        endif()
        set(${name}_LIBRARIES ${${name}_LIBRARIES} ${OPENSSL_LIBRARIES})

        # Find gab_library and include
        if (NOT Gap_FOUND)
            if (NOT GAP_DEV_BINARY_DIR)
                set(GAP_DEV_BINARY_DIR ${CMAKE_SOURCE_DIR}/bin)
            endif()

            # Find the include directory for gap header
            FIND_PATH( Gap_INCLUDE_PATH gap/gap.h
                       PATHS    ${GAP_DEV_BINARY_DIR}/include)

            # Find the library directory for gap header
            FIND_LIBRARY( Gap_LIBRARY
                    NAMES libgap.a
                    PATHS ${GAP_DEV_BINARY_DIR}/lib)

            # Include add the folder to list of include directories
            if (NOT Gap_INCLUDE_PATH)
                message(FATAL_ERROR "Gap library not found, ensure that Gap was installed ${GAP_DEV_BINARY_DIR}")
            endif()

            # Add library to list of libraries
            if (Gap_LIBRARY)
                set(Gap_FOUND 1 CACHE STRING "Set to 1 if library found, 0 otherwise")
            else()
                message(FATAL_ERROR "Gap library not found, ensure that Gap is installed in build system")
            endif()
            message(STATUS "Include - ${Gap_INCLUDE_PATH} Lib ${Gap_LIBRARY}")
            set(Gap_Found 1)
        endif()
        include_directories(${Gap_INCLUDE_PATH})
        set(${name}_LIBRARIES ${${name}_LIBRARIES} ${Gap_LIBRARY})

        # Append additional libraries
        if (${name}_ADDITIONAL_LIBRARIES)
            set(${name}_LIBRARIES ${${name}_LIBRARIES} ${${name}_ADDITIONAL_LIBRARIES})
        endif()
        set(${name}_LIBRARIES ${${name}_LIBRARIES} PARENT_SCOPE)
        message(STATUS "Target ${name} successfully configured, libraries ${${name}_LIBRARIES}")
        set(${name}_GAP_PROJECT_SETUP 1 PARENT_SCOPE)
    else()
        message(STATUS "Target ${name} already called configured, libraries ${${name}_LIBRARIES}")
    endif()
endfunction()

##
# Adds a target that can be deployed to suil, for local debuging through gatls run, used AddDebugExec
# @param name: the name of the target
##
function(Gap_AddTarget name)
    if (NOT ${name}_TARGET_ADDED)
        add_library(${name} SHARED ${${name}_SOURCES})
        if (${name}_ADDITIONAL_DEFINES)
            target_compile_definitions(${name} PUBLIC "${COMPILE_DEFINATIONS} ${${name}_ADDITIONAL_DEFINES}")
        endif()

        target_link_libraries(${name} ${${name}_LIBRARIES})
        set_target_properties(${name} PROPERTIES PREFIX "" SUFFIX ".gap")

        set(${name}_TARGET_ADDED 1 PARENT_SCOPE)
    endif()
endfunction()

##
# Finalizes the target by moving the runtime files to bin directory
# @param name: the name of the target
##
function(Gap_FinalizeTarget name)
    if (NOT ${name}_TARGET_FINALIZED)
        if (NOT GAP_BINARY_PREFIX)
            set(GAP_BINARY_PREFIX ${CMAKE_CURRENT_SOURCE_DIR}/bin)
        endif()

        # We need to install all the required files
        INSTALL(TARGETS ${name} DESTINATION ${GAP_BINARY_PREFIX})
        INSTALL(FILES   ${${name}_CONFIG} DESTINATION ${GAP_BINARY_PREFIX})
        set(${name}_TARGET_FINALIZED 1 PARENT_SCOPE)
    endif()
endfunction()

repository: qvex/suil

repo_name: qvex/suil


text:
@phdthesis{svitlana-vakulenko-phd-thesis-2019,
Author = {Vakulenko, Svitlana},
Month = {November},
School = {Faculty of Informatics, Technische Universit{\"{a}}t Wien},
Title = {Knowledge-based Conversational Search},
Year = {2019}}