text:
#
# Simple CMake -P script to compare the MD5 hash of files. Usage:
#
# cmake -DTESTFILE=<filespec> -DGLOBEXP=<glob expression> -DCLEANTESTFILE=<bool> -P CompareFileMD5.cmake
#
# TESTFILE is the test file, GLOB expression referring to a collection of
# reference files. This can be used to compare file produced by a test
# (TESTFILE) to one or more baselines (glob expression GLOBEXP). If
# CLEANTESTFILE is set to some true value, the test file will be deleted if a
# matching hash is found.
#
# The script will exit silently if the test file's hash matches the hash
# of any reference file (success), or print a line starting with MATCH_FAIL
# and several lines of supplemental information otherwise.
#

macro(dumpoutput lines)
  foreach(line ${lines})
    message("MATCH_FAIL: ${line}")
  endforeach()
endmacro()

set(HASH_FOUND FALSE)

set(output "Comparing MD5 sum of;  \"${TESTFILE}\";  to glob;  \"${GLOBEXP}\"")

file(GLOB REFFILES ${GLOBEXP})

if(NOT REFFILES)
  list(APPEND output "glob expression '${GLOBEXP}' does not refer to any files.")
else()
  file(MD5 ${TESTFILE} TESTHASH)
  set(output ${output} "Testfile:;${TESTHASH} - ${TESTFILE};Baselines:")
  foreach(FILEN ${REFFILES})
    file(MD5 ${FILEN} HASHN)
    set(output ${output} "${HASHN} - ${FILEN}")
    if(${TESTHASH} STREQUAL ${HASHN})
      set(HASH_FOUND TRUE)
    endif()
  endforeach()
endif()

if(NOT HASH_FOUND)
  set(output ${output} "Matching hash not found!")
  dumpoutput("${output}")
else()
  if(${CLEANTESTFILE})
    file(REMOVE ${TESTFILE})
  endif()
endif()

repository: adrianer/VTK

repo_name: adrianer/VTK


text:
DESCRIPTION = "It is often a pain to write a server program that supports graceful \
restarts, with no resource leaks. Server::Starter solves the problem by \
splitting the task into two. One is start_server, a script provided as a \
part of the module, which works as a superdaemon that binds to zero or more \
TCP ports or unix sockets, and repeatedly spawns the server program that \
actually handles the necessary tasks (for example, responding to incoming \
connections). The spawned server programs under Server::Starter call \
accept(2) and handle the requests."

SECTION = "libs"
LICENSE = "Artistic-1.0 | GPL-1.0-or-later"
PR = "r0"

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

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Artistic-1.0;md5=cda03bbdc3c1951996392b872397b798 \
file://${COMMON_LICENSE_DIR}/GPL-1.0-or-later;md5=30c0b8a5048cc2f4be5ff15ef0d8cf61"

SRC_URI = "https://cpan.metacpan.org/authors/id/K/KA/KAZUHO/Server-Starter-0.35.tar.gz"

SRC_URI[md5sum] = "10cc818382ff22b27d9af37344fbff18"
SRC_URI[sha256sum] = "676dc0d6cff4648538332c63c32fb88ad09ed868213ea9e62e3f19fad41b9c40"
DEPENDS += "module-build-perl-native"
DEPENDS += "test-requires-perl-native"
DEPENDS += "test-sharedfork-perl-native"
DEPENDS += "test-tcp-perl-native"

S = "${WORKDIR}/Server-Starter-${PV}"

inherit cpan_build allarch

BBCLASSEXTEND = "native"

license: MIT

repository: rehsack/meta-cpan

license_type: permissive

repo_name: rehsack/meta-cpan

branch_name: refs/heads/master

gha_license_id: MIT

gha_language: BitBake

extension: bb


text:
DEPENDS = "glib-2.0-native qt-x11-free-native"
DESCRIPTION = "Analog Real Time Synthesizer... (ARTS)"
LICENSE = "GPL"
PRIOTITY = "optional"
SECTION = "kde"

SRC_URI = "http://download.kde.org/download.php?url=stable/3.2.2/src/arts-${PV}.tar.bz2"

SRC_URI[md5sum] = "83ca7e7a33c55de34e12bfc360190795"
SRC_URI[sha256sum] = "646fcd3df81cc5eb8e883d9c948a34e071919ad482c7cb032edd5257378a3c4a"

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

inherit autotools native

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
/* ==========================================================================
   Variables
   ========================================================================== */

.ts-select {
    --object-distance-vertical: 0.4rem;
    --object-distance-horizontal: 0.8rem;

    --height: var(--ts-input-height-medium);
}

/* ==========================================================================
   Base
   ========================================================================== */

.ts-select {
    display: inline-flex;
    background: var(--ts-gray-50);
    border: 1px solid var(--ts-gray-300);
    border-radius: 0.4rem;
    cursor: pointer;
    height: var(--height);
}

/* ==========================================================================
   Structure
   ========================================================================== */

.ts-select select {
    border: none;
    margin: 0;
    background: inherit;
    font: inherit;
    outline: none;
    box-sizing: border-box;
    user-select: none;
    border-radius: 0.4rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;

    -webkit-font-smoothing: inherit;
    -moz-osx-font-smoothing: inherit;
    appearance: none;
    -webkit-appearance: none;
}

.ts-select select:focus {
    outline: 0;
}

.ts-select select,
.ts-select .content {
    line-height: 1.5;
    font-size: var(--ts-font-size-14px);
    color: var(--ts-gray-800);

    padding: 0 1rem;
    padding-right: 2.5rem;

    width: 100%;
    cursor: pointer;
}

.ts-select .content {
    user-select: none;
    display: flex;
    gap: var(--object-distance-vertical) var(--object-distance-horizontal);
    align-items: center;
    width: calc(100% - 2.5rem);
    overflow: hidden;
}

.ts-select .content,
.ts-select .content * {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    flex-shrink: 0;
}

.ts-select .content .ts-icon {
    font-size: 1.1em;
}

.ts-select select option {
    background: inherit;
}

.ts-select::after {
    pointer-events: none;
    position: absolute;
    top: 0;
    right: 1rem;
    bottom: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ts-gray-700);

    font-family: "Icons";
    font-weight: normal;
    font-style: normal;

    text-decoration: inherit;
    text-align: center;
    width: 1.18em;
    -webkit-font-smoothing: antialiased;
    backface-visibility: hidden;
    content: "\f078";
    font-size: 13px;
}

/* ==========================================================================
   Variations
   ========================================================================== */

/**
 * Relaxed
 */

.ts-select.is-relaxed {
    --height: var(--ts-input-height-large);
}

/**
 * Multiple
 */

.ts-select.is-multiple {
    height: auto;
}

.ts-select.is-multiple::after {
    content: none;
}

.ts-select select[multiple] {
    padding: 0.5rem 0.5rem;
    overflow-y: auto;
}

.ts-select select[multiple] option {
    border-radius: 0.4rem;
    padding: 0.3rem 0.5rem;
    margin: 0.1rem 0;
}

.ts-select select[multiple] option:checked {
    background: var(--ts-primary-700);
    color: var(--ts-white);
}

/**
 * Solid
 */

.ts-select.is-solid {
    background: var(--ts-gray-100);
    border-color: transparent;
}

/** Focus */
.ts-select:focus-within {
    border-color: var(--ts-primary-600);
}

/**
 * Underlined
 */

.ts-select.is-underlined {
    border-radius: 0.4rem 0.4rem 0 0;
    border: 2px solid transparent;
    background: var(--ts-gray-100);
    border-bottom: 2px solid var(--ts-gray-400);
}

.ts-select.is-underlined select option {
    background: var(--ts-gray-50);
}

.ts-select.is-underlined:focus-within {
    border-bottom-color: var(--ts-primary-600);
}

/**
 * Active
 */

.ts-select.is-active {
    border-color: var(--ts-primary-600);
}

/** If select is-active then open child .ts-dropdown also */
.ts-select.is-active .ts-dropdown {
    display: inline-flex;
}

.ts-select.is-underlined.is-active {
    border-color: transparent;
    border-bottom-color: var(--ts-primary-600);
}

/**
 * Basic
 */

.ts-select.is-basic {
    padding: 0;
    background: transparent;
    border-color: transparent;
    min-height: initial;
}

.ts-select.is-basic select {
    line-height: 1;
    padding: 0 1.4rem 0 0;
}

.ts-select.is-basic::after {
    right: 0;
    font-size: 12px;
    padding-top: 2px;
}

/**
 * Disabled
 */

.ts-select.is-disabled {
    pointer-events: none;
    opacity: 0.5;
    user-select: none;
}

/**
 * Fluid
 */

.ts-select.is-fluid {
    width: 100%;
}

/**
 * Negative
 */

.ts-select.is-negative {
    border-color: var(--ts-negative-400);
}

.ts-select.is-negative select {
    color: var(--ts-negative-600);
    font-weight: 500;
}

.ts-select.is-negative.is-underlined {
    border-color: transparent;
    border-bottom-color: var(--ts-negative-400);
}

/**
 * Sizes
 */

.ts-select.is-small {
    --height: var(--ts-input-height-small);
}
.ts-select.is-large {
    --height: var(--ts-input-height-large);
}

.ts-select.is-small select {
    font-size: var(--ts-font-size-13px);
}
.ts-select.is-large select {
    font-size: var(--ts-font-size-17px);
}

/**
 * Dense
 */

.ts-select.is-dense {
    --height: var(--ts-input-height-medium-dense);
}

.ts-select.is-dense.is-small {
    --height: var(--ts-input-height-small-dense);
}
.ts-select.is-dense.is-large {
    --height: var(--ts-input-height-large-dense);
}

/**
 * Wrappable
 */

.ts-select.is-wrappable {
    min-height: var(--height);
    height: auto;
    padding: 0.184em 0;
}

.ts-select.is-wrappable .content {
    flex-wrap: wrap;
}

.ts-select.is-wrappable::after {
    top: 0.5em;
    bottom: initial;
}

/* ==========================================================================
   Enhanced
   ========================================================================== */

.ts-select[data-tocas="input-select"] select {
    display: none;
}

.ts-select[data-tocas="input-combo"] {
    cursor: text;
}

.ts-select[data-tocas="input-combo"] select {
    display: none;
}

.ts-select[data-tocas="input-combo"] input.append {
    border: 0;
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    top: 0;
    color: var(--ts-gray-800);
    cursor: pointer;
    font-size: var(--ts-font-size-14px);
    padding: 0 2.5rem 0 0.9rem;
    width: 100%;
    z-index: 1;
    background: transparent;
}

.ts-select[data-tocas="input-combo"] .content.is-ghosting {
    opacity: 0.5;
}

.ts-select[data-tocas="input-combo"] .content.is-hidden {
    visibility: hidden;
}

repository: teacat/tocas

repo_name: teacat/tocas

gha_language: CSS

extension: css


text:
@inproceedings{Ghosh2021LearningRD,
  title={Learning Runtime Decisions for Adaptive Real-Time Perception},
  author={Anurag Ghosh and Akshay Uttama Nambi and Vaibhav Balloli and Aditya Singh and Tanuja Ganu},
  year={2021}
}

branch_name: refs/heads/main

extension: bib


text:
#Begining of NumEcon project

#Import various exstentions
import numpy as np
import matplotlib.pyplot as plt
import pandas as pd

#Select data from Nato.int as offline excel document
#Import data
data1 = "data.ny.xlsx"
pd.read_excel(data1,"Ark1")
df1 = pd.read_excel(data1,"Ark1")
print(df1)
#Renaming columns
df1.rename(columns = {'Current prices and exchange rates':'Countries',}, inplace=True)

#Subsetting Countries
df1 = df1.set_index("Countries")

#Remaning the years, due to errors accouring with function variable names as numbers
myDict = {}
for i in range(2010,2018) #Range from the years 2010 to 2017
    myDict[stri(i)] = f"e{i}"
myDict

#Renaming years in dataframe
df1.rename(colmuns = {myDict}, inplace=true)

#Resetting index
df1 = df1.reset_index()

#Switching df from wide to long
df1 = pd.wide_to_long(df1, stubnames = "e", i = "Countries", j = "year")

#Renaming columns
df1 = df1.reset_index()
df1 = df1.rename(columns = {"e":"Million dollars"}, inplace=true)

#Showing defence expenditures of Nato Europe and the United states
#Making individuel columns starting with NATOs Europe countries combined.
NATO_EU = df1.head(1)

df_USA = df1.tail(2)
USA = df_USA.head(1)

year = [2010,2011,2012,2013,2014,2015,2016,2017]

#Showing plot of defence expenditures in plot over the period of time.
plt.plot(year, NATO_EU, "NATO_EU" )
plt.plot(year,USA, "USA")
plt.show()

#Plot above shows the actual spending on military in dollars and cents.
#Next focus will be on, the invidual NATO countries spending on military as a % part of their GNP.

#Import data
data2 = "data.ny.xlsx"
pd.read_excel(data2,"Ark2")
df2 = pd.read_excel(data2,"Ark2")
print(df2)

#Set Countries as a index number
df2 = df2.set_index("Countries")

#Changing names of variables
MyDict2 = {}
for i in range(2010, 2018):
    MyDict2[str(i)] = f'e{i}'
MyDict2

#Renmaing years
df2.rename(columns = MyDict1, inplace = True)

#Resetting index
df2 = df2.reset_index()

# Changing dataframe from wide to long
df2 = pd.wide_to_long(gdp, stubnames='e', i='Country Code', j='Year')

#renaming columns
df2 = df2.reset_index()
df2.rename(columns = {'e':'Procent of GDP'}, inplace = True)

#Showing Scatterplot for % of GDP used on military
plt(x = "year", y = "Procent of GDP")
plt.xlabel("Year")
plt.ylabel("Procent of GDP")
plt.title("NATO countries use on military expendures as a part of their GDP (2010-2017)")

plt.show()

path: /dataproject/Numecon project.py

extension: py

filename: Numecon project.py


text:
DESCRIPTION = "Legacy GNU-tar to unpack hd images on install for Zaurus spitz"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "file://gnu-tar.gz;subdir=${BPN}-${PV}"

do_compile() {
        :
}

PACKAGE_ARCH = "${MACHINE_ARCH}"
PACKAGES = ""

# package_stagefile_shell needs to run before populate_staging for packaged-staging
addtask deploy before do_populate_sysroot after do_compile

COMPATIBLE_MACHINE = "spitz"

do_deploy() {
        install -d ${DEPLOY_DIR_IMAGE}
        install -m 0755 gnu-tar ${DEPLOY_DIR_IMAGE}/gnu-tar
        package_stagefile_shell ${DEPLOY_DIR_IMAGE}/gnu-tar
}