text:
%参考文献
@article{Hiyama2010Molecular,
  title={Molecular communication: Harnessing biochemical materials to engineer biomimetic communication systems},
  author={Hiyama, Satoshi and Moritani, Yuki},
  journal={Nano Communication Networks},
  volume={1},
  number={1},
  pages={20-30},
  year={2010},
}

@book{Atakan2014Molecular,
  title={Molecular Communications and Nanonetworks},
  chapter   = {Front Matter},
  pages     = {1--13},
  author={Atakan, Baris},
  publisher={Springer New York},
  year={2014},
}

@article{基于扩散的分子通信与身体域纳米网络,
  author  = {彭木根 and 艾元 and 纪晓东,},
  title   = {基于扩散的分子通信与身体域纳米网络},
  journal = {北京邮电大学学报},
  volume  = {39},
  pages =    {1-9},
  year    = {2016},
  issn = {1007-5321},
}

@online{compic,
  author = {Puneet Varma},
  url = {https://alchetron.com/Molecular-communication#References},
  title = {Molecular communication},
  data = {2018-5-17},
}

@Inbook{Sakaguchi2018,
author="Sakaguchi, Isao",
editor="White, William M.",
title="Fick's Law",
bookTitle="Encyclopedia of Geochemistry: A Comprehensive Reference Source on the Chemistry of the Earth",
year="2018",
publisher="Springer International Publishing",
address="Cham",
pages="483--484",
isbn="978-3-319-39312-4",
doi="10.1007/978-3-319-39312-4_324",
url="https://doi.org/10.1007/978-3-319-39312-4_324"
}

@Inbook{Ferrari1985,
author="Ferrari, Pablo A.
and Goldstein, Sheldon
and Lebowitz, Joel L.",
editor="Fritz, J.
and Jaffe, A.
and Sz{\'a}sz, D.",
title="Diffusion, Mobility and the Einstein Relation",
bookTitle="Statistical Physics and Dynamical Systems: Rigorous Results",
year="1985",
publisher="Birkh{\"a}user Boston",
address="Boston, MA",
pages="405--441",
abstract="We investigate the Einstein relation $\sigma$ = $\beta$D between the diffusion constant D and the ``mobility'', of a ``test particle'' interacting with its environment: $\beta$−1 is the temperature of the system where D is measured and $\sigma$E is the drift in a constant external field E. The relation is found to be satisfied for all model systems in which we can find a unique stationary non-equilibrium State of the environment, as seen from the test particle in the presence of the field. For some systems, e.g. infinite systems of hard rods in one dimension, we find non unique stationary states which do not satisfy the Einstein relation. For some models in a periodic box the Einstein relation is the most direct way of obtaining D . A precise macroscopic formulation of the Einstein relation which makes it mathematically very plausible is given.",
isbn="978-1-4899-6653-7",
doi="10.1007/978-1-4899-6653-7_22",
url="https://doi.org/10.1007/978-1-4899-6653-7_22"
}
@article{CONWAY1972250,
journal = "Journal of Electroanalytical Chemistry and Interfacial Electrochemistry",
volume = "34",
number = "1",
pages = "250 - 251",
year = "1972",
issn = "0022-0728",
doi = "https://doi.org/10.1016/S0022-0728(72)80524-2",
url = "http://www.sciencedirect.com/science/article/pii/S0022072872805242",
author = "B.E. Conway"
}
@Inbook{Mehrer2007,
title="Diffusion and External Driving Forces",
bookTitle="Diffusion in Solids: Fundamentals, Methods, Materials, Diffusion-Controlled Processes",
year="2007",
publisher="Springer Berlin Heidelberg",
address="Berlin, Heidelberg",
pages="179--190",
isbn="978-3-540-71488-0",
doi="10.1007/978-3-540-71488-0_11",
url="https://doi.org/10.1007/978-3-540-71488-0_11"
}

@Inbook{Smedley1980,
author="Smedley, Stuart I.",
title="Ionic Conductivity in Dilute Electrolyte Solutions",
bookTitle="The Interpretation of Ionic Conductivity in Liquids",
year="1980",
publisher="Springer US",
address="Boston, MA",
pages="11--74",
abstract="Dilute electrolyte solutions will be regarded as those which fall into the concentration range where the classical Debye-H{\"u}ckel model of electrolyte solutions is valid. This model regards ions in an electrolyte as being hard spheres separated by a dielectric continuum whose relative permittivity, e, is that of the pure solvent. In water this model is valid up to 0.001 mol dm -3 for 1: 1 electrolytes.",
isbn="978-1-4684-3818-5",
doi="10.1007/978-1-4684-3818-5_2",
url="https://doi.org/10.1007/978-1-4684-3818-5_2"
}s

@article {GlossaryoftermsusedinphysicalorganicchemistryIUPACRecommendations1994,
author = "P. Muller",
title = "Glossary of terms used in physical organic chemistry (IUPAC Recommendations 1994)",
journal = "Pure and Applied Chemistry",
year = "1994",
publisher = "De Gruyter",
address = "Berlin, Boston",
volume = "66",
number = "5",
pages: = "1077 - 1184",
url = "https://www.degruyter.com/view/journals/pac/66/5/article-p1077.xml"
}

@Inbook{Witelski2015,
author="Witelski, Thomas
and Bowen, Mark",
title="Rate Equations",
bookTitle="Methods of Mathematical Modelling: Continuous Systems and Differential Equations",
year="2015",
publisher="Springer International Publishing",
address="Cham",
pages="3--21",
abstract="We provide a brief introduction to applications of ordinary differential equation (ODE) rate equations in chemistry, biology and physics. In mechanics, Newton's laws prescribe how to write the rate equations while in other fields, the ODEs are based on different principles. In the context of chemical reactions, the law of mass action yields systems of first-order ODEs in terms of the reactants and products. For population dynamics and epidemic models, similar considerations yield comparable nonlinear ODEs. We review geometric and analytic considerations based on local properties for single first-order autonomous equations (phase line dynamics) and extend them to the qualitative understanding of global behaviour in two-dimensional phase plane systems.",
isbn="978-3-319-23042-9",
doi="10.1007/978-3-319-23042-9_1",
url="https://doi.org/10.1007/978-3-319-23042-9_1"
}

@Inbook{ref1,
editor="Gooch, Jan W.",
title="Arrhenius equation",
bookTitle="Encyclopedic Dictionary of Polymers",
year="2007",
publisher="Springer New York",
address="New York, NY",
pages="66--67",
isbn="978-0-387-30160-0",
doi="10.1007/978-0-387-30160-0_786",
url="https://doi.org/10.1007/978-0-387-30160-0_786"
}

@INPROCEEDINGS{Suda05exploratoryresearch,
    author = {Tatsuya Suda and Michael Moore and Tadashi Nakano and Ryota Egashira and Akihiro Enomoto},
    title = {Exploratory research on molecular communication between nanomachines},
    booktitle = {in: Genetic and Evolutionary Computation Conference (GECCO), Late Breaking Papers},
    year = {2005}
}

@article{drugDelivery,
author = {Digge, M. and Moon, R. and Gattani, Surendra},
year = {2011},
month = {11},
pages = {},
title = {Application of Carbon Nanotubes in Drug Delivery: A Review},
volume = {4},
journal = {International Journal of PharmTech Research}
}

@MISC{Weiss_©2003,
    author = {Ron Weiss and Subhayu Basu and Sara Hooshangi and David Karig and Rishabh Mehreja},
    title = {© 2003 Kluwer Academic Publishers. Printed in the Netherlands. Genetic circuit building blocks for cellular computation, communications, and signal processing},
    year = {}
}

@article{HIRATSUKA20011555,
title = "Controlling the Direction of Kinesin-Driven Microtubule Movements along Microlithographic Tracks",
journal = "Biophysical Journal",
volume = "81",
number = "3",
pages = "1555 - 1561",
year = "2001",
issn = "0006-3495",
doi = "https://doi.org/10.1016/S0006-3495(01)75809-2",
url = "http://www.sciencedirect.com/science/article/pii/S0006349501758092",
author = "Yuichi Hiratsuka and Tetsuya Tada and Kazuhiro Oiwa and Toshihiko Kanayama and Taro Q.P. Uyeda",
abstract = "Motor proteins are able to move protein filaments in vitro. However, useful work cannot be extracted from the existing in vitro systems because filament motions are in random directions on two-dimensional surfaces. We succeeded in restricting kinesin-driven movements of microtubules along linear tracks by using micrometer-scaled grooves lithographically fabricated on glass surfaces. We also accomplished the extraction of unidirectional movement from the bidirectional movements along the linear tracks by adding arrowhead patterns on the tracks. These “rectifiers” enabled us to construct microminiturized circulators in which populations of microtubules rotated in one direction, and to actively transport microtubules between two pools connected by arrowheaded tracks in the fields of micrometer scales."
}

@article{QuickSystem,
author = {Farsad, Nariman and Eckford, Andrew and Hiyama, Satoshi and Moritani, Yuki},
year = {2011},
month = {12},
pages = {175-188},
title = {Quick system design of vesicle-based active transport molecular communication by using a simple transport model},
volume = {2},
journal = {Nano Communication Networks},
doi = {10.1016/j.nancom.2011.07.003}
}

@article{achieveForMC,
author = {Lin, Lin and Wu, Qian and Liu, Fuqiang and Yan, Hao},
year = {2018},
month = {09},
pages = {1-1},
title = {Mutual Information and Maximum Achievable Rate for Mobile Molecular Communication Systems},
volume = {PP},
journal = {IEEE Transactions on NanoBioscience},
doi = {10.1109/TNB.2018.2870709}
}

@article{zuo-peng2013review,
	title={Review on molecular communication},
	author={Zuo-peng, LI and Jing, ZHANG and Shao-bin, CAI and Yong, WANG and Jun, NI},
	journal={Journal on Communications},
	pages={156--171},
	year={2013}
}

@article{bm800766t,
author = {Wang, Fuan and Li, Dan and Li, Gaiping and Liu, Xiaoqing and Dong, Shaojun},
title = {Electrodissolution of Inorganic Ions/DNA Multilayer Film for Tunable DNA Release},
journal = {Biomacromolecules},
volume = {9},
number = {10},
pages = {2645-2652},
year = {2008},
doi = {10.1021/bm800766t},
    note ={PMID: 18754640},

URL = {
        https://doi.org/10.1021/bm800766t

},
eprint = {
        https://doi.org/10.1021/bm800766t

}

}

@article{b812940a,
author = {Wang, Fuan and Liu, Xiaoqing and Li, Gaiping and Li, Dan and Dong, Shaojun},
year = {2009},
month = {01},
pages = {},
title = {Selective electrodissolution of inorganic ions/DNA multilayer film for tunable DNA release},
volume = {19},
journal = {Journal of Materials Chemistry - J MATER CHEM},
doi = {10.1039/b812940a}
}

@Article{Liu1999,
author={Liu, Minghua
and Yamashita, Koichi},
title={Layer by layer assembly of DNA film via Zr(IV) ion and its intercalation property},
journal={Science in China Series B: Chemistry},
year={1999},
month={12},
day={01},
volume={42},
number={6},
pages={567-570},
abstract={In order to study the molecular recognition ability of DNA and different behavior of dyes incorporated into the base pairs, DNA molecule was assembled layer by layer via a Zr(IV) ion. The UV absorption spectra showed the uniform layer assembly of the DNA film. The fabricated DNA film was water-insoluble and maintained the native B-form structure. UV and CD measurements showed that the DNA film could intercalate ethidium bromide (EtBr).},
issn={1862-2771},
doi={10.1007/BF02874320},
url={https://doi.org/10.1007/BF02874320}
}

@article{Shervedani2011Electrochemical,
  title={Electrochemical probe of natural DNA attached onto the gold–thiol SAMs via Zr(IV) ion glue},
  author={Shervedani, Reza Karimi and Pourbeyram, Sima and Sabzyan, Hassan},
  journal={Journal of Electroanalytical Chemistry},
  volume={660},
  number={1},
  pages={37-44},
  year={2011},
}

@article{Karimi2011,
author = {Karimi Shervedani, Reza and Pourbeyram, Sima},
year = {2011},
month = {12},
pages = {},
title = {A modification free hybridization biosensor for detection of DNA sequence based on Zr(IV) ion glue mediated the adsorption on Au-MPA SAM electrode},
volume = {160},
journal = {Sensors and Actuators B-chemical - SENSOR ACTUATOR B-CHEM},
doi = {10.1016/j.snb.2011.07.025}
}

@Inbook{Trasatti1980,
author="Trasatti, Sergio",
editor="Bockris, J. O'M.
and Conway, Brian E.
and Yeager, Ernest",
title="The Electrode Potential",
bookTitle="Comprehensive Treatise of Electrochemistry: The Double Layer",
year="1980",
publisher="Springer US",
address="Boston, MA",
pages="45--81",
abstract="``Electrode potential'' is certainly the most used term in electrochemistry, and is very likely to be one of the most popular in the entire field of chemistry. Sound knowledge of the physical and chemical phenomena involved in the establishment of electrode potentials does not correspond, however, to the very wide use of the term. None would be surprised by a 0.059-V change in potential of a hydrogen electrode as the activity of H+ in solution is changed by a power of ten, but it would certainly be surprising if everyone knowing this were actually able to give a physical description of what is occurring at the electrode as the concentration of H+ is changed and why the electrode potential changes. Further, when the term ``electrode potential'' is used, it generally refers to the potential as experimentally measured with respect to a given reference electrode. Conceptually, however, no reference electrode must necessarily be involved for an ``electrode potential'' to be defined. It follows that the physical meaning behind the same term ``electrode potential'' is quite different in the two cases. This is certainly not as well recognized as the term itself is.",
isbn="978-1-4615-6684-7",
doi="10.1007/978-1-4615-6684-7_2",
url="https://doi.org/10.1007/978-1-4615-6684-7_2"
}

@Inbook{Weik2001,
author="Weik, Martin H.",
title="electrochemical series",
bookTitle="Computer Science and Communications Dictionary",
year="2001",
publisher="Springer US",
address="Boston, MA",
pages="489--489",
isbn="978-1-4020-0613-5",
doi="10.1007/1-4020-0613-6_5901",
url="https://doi.org/10.1007/1-4020-0613-6_5901"
}

@Inbook{Königsberger2017,
author="K{\"o}nigsberger, Erich",
editor="White, William M.",
title="Equilibrium Constant",
bookTitle="Encyclopedia of Geochemistry: A Comprehensive Reference Source on the Chemistry of the Earth",
year="2017",
publisher="Springer International Publishing",
address="Cham",
pages="1--5",
isbn="978-3-319-39193-9",
doi="10.1007/978-3-319-39193-9_6-1",
url="https://doi.org/10.1007/978-3-319-39193-9_6-1"
}

@Article{Lipfert2014,
author={Lipfert, Jan
and Doniach, Sebastian
and Das, Rhiju
and Herschlag, Daniel},
title={Understanding nucleic acid-ion interactions},
journal={Annual review of biochemistry},
year={2014},
edition={2014/03/05},
volume={83},
pages={813-841},
issn={1545-4509},
doi={10.1146/annurev-biochem-060409-092720},
url={https://pubmed.ncbi.nlm.nih.gov/24606136},
url={https://doi.org/10.1146/annurev-biochem-060409-092720},
language={eng}
}

@article{Thoenen2004Development,
  title={Development and application of the Nagra/PSI Chemical Thermodynamic Data Base 01/01},
  author={Thoenen, T. and Berner, U. and Curti, E. and Hummel, W. and Pearson, F. J.},
  journal={Geological Society London Special Publications},
  volume={236},
  number={1},
  chapter   = {APPENDIX B: TABLES OF RECOMMENDED THERMODYNAMIC PROPERTIES},
  pages     = {541-565},
  year={2004},
}

@book{CITEREFNewmanThomas-Alyea2004,
  author    = {Newman John,Thomas-Alyea, Karen E},
  booktitle = {Electrochemical Systems (3rd ed.)},
  isbn = {0-471-47756-7},
  publisher = {Hoboken, NJ: John Wiley & Sons, Inc.},
  year      = {2004}
}

@article{40005382310,
author="松井, 光二 and 大貝, 理治",
title="ZrOCl2溶液の加水分解により生成する水和ジルコニア微粒子の生成メカニズム:水和ジルコニア微粒子の生成速度に及ぼすZrOCl2濃度と反応温度の影響",
journal="Tosoh research & technology review",
ISSN="13463039",
publisher="東ソー",
year="2000",
month="",
volume="44",
number="81",
pages="31-41",
URL="https://ci.nii.ac.jp/naid/40005382310/en/",
DOI="",
}

@article{doi:10.1111/j.1151-2916.2002.tb00131.x,
author = {Matsui, Koji and Ohgai, Michiharu},
title = {Formation Mechanism of Hydrous Zirconia Particles Produced by Hydrolysis of ZrOCl2Solutions: IV, Effects of ZrOCl2Concentration and Reaction Temperature},
journal = {Journal of the American Ceramic Society},
volume = {85},
number = {3},
pages = {545-553},
keywords = {crystals/crystallization, hydrolysis, particle size, zirconium/zirconium compounds},
doi = {10.1111/j.1151-2916.2002.tb00131.x},
url = {https://ceramics.onlinelibrary.wiley.com/doi/abs/10.1111/j.1151-2916.2002.tb00131.x},
eprint = {https://ceramics.onlinelibrary.wiley.com/doi/pdf/10.1111/j.1151-2916.2002.tb00131.x},
abstract = {The formation rate, crystal phase, and primary and secondary particle sizes of hydrous zirconia particles produced under the hydrolysis conditions of various ZrOCl2concentrations (0.1–0.4 mol/dm3) and reaction temperatures (343–373 K) were measured to investigate the effects of ZrOCl2concentration and reaction temperature on the formation process. Chemical analyses and X-ray diffraction measurements revealed that hydrous zirconia particles synthesized under all of the hydrolysis conditions were similar to those observed in monoclinic crystalline zirconia, except that the crystal structure changed as the chlorine content increased under the synthesizing conditions of 0.4 mol/dm3 and ≤363 K. The primary particle size of monoclinic hydrous zirconia particles decreased as the ZrOCl2concentration increased and was independent of the reaction temperature. The secondary particle size of hydrous zirconia particles synthesized at ZrOCl2concentrations of 0.1, 0.2, and 0.4 mol/dm3 increased monotonously, first increased and then decreased, and decreased monotonously as the reaction temperature decreased, respectively. The rate constants (k) of the hydrous zirconia particles were determined experimentally by applying Avrami–Erofeev's equation. The determined k value decreased as the ZrOCl2concentration increased and the reaction temperature decreased. From Arrhenius plots of k, the activation energies for hydrous zirconia particles in the monoclinic phase and containing high chlorine contents were determined to be 387–396 and 249 kJ/mol, respectively. The nucleation and crystal-growth mechanisms of primary particles and the formation mechanism of secondary particles formed by hard aggregations among primary particles were determined based on the present experimental results.},
year = {2002}
}

@online{Gibbs,
  url= {https://commons.wikimedia.org/wiki/File:ButlerVolmerGibbsPlot.png#/media/File:ButlerVolmerGibbsPlot.png},
  author = {wiki},
  title = {ButlerVolmerGibbsPlot},
}

@Article{Stellwagen2003,
author={Stellwagen, Earle
and {Lu}
and Stellwagen, Nancy C.},
title={Unified Description of Electrophoresis and Diffusion for DNA and Other Polyions},
journal={Biochemistry},
year={2003},
month={10},
day={01},
publisher={American Chemical Society},
volume={42},
number={40},
pages={11745-11750},
issn={0006-2960},
doi={10.1021/bi035203p},
url={https://doi.org/10.1021/bi035203p}
}

@ARTICLE{8405569,
  author={H. {Yan} and G. {Chang} and Z. {Ma} and L. {Lin}},
  journal={IEEE Communications Letters},
  title={Derivative-Based Signal Detection for High Data Rate Molecular Communication System},
  year={2018},
  volume={22},
  number={9},
  pages={1782-1785},
}

@article{Balasubramaniam2011Development,
  title={Development of artificial neuronal networks for molecular communication},
  author={Balasubramaniam, Sasitharan and Boyle, Noreen T. and Della-Chiesa, Andrea and Walsh, Frank and Mardinoglu, Adil and Botvich, Dmitri and Prina-Mello, Adriele},
  journal={Nano Communication Networks},
  volume={2},
  number={2-3},
  pages={150-160},
  year={2011},
}

@Article{C9RP00218A,
author ="Chang, Hasok and Duncan, Katherine and Kim, Kihyang and Paik, Seoung-Hey",
title  ="Electrolysis: What textbooks don’t tell us",
journal  ="Chem. Educ. Res. Pract.",
year  ="2020",
pages  ="-",
publisher  ="The Royal Society of Chemistry",
doi  ="10.1039/C9RP00218A",
url  ="http://dx.doi.org/10.1039/C9RP00218A",
abstract  ="We present a critical discussion of how chemistry textbooks treat the electrolysis of water and aqueous salt solutions{,} based on a survey of general chemistry textbooks in English and Korean at secondary and tertiary levels{,} also informed by the historical background of 19th-century debates. English-language textbooks present various and contradictory accounts of the electrolysis of water; a key point of disagreement is whether hydrogen and oxygen gases originate from pre-existing H+ and OH− ions{,} or from the direct reduction and oxidation of H2O molecules. School textbooks in South Korea all present the same account{,} with no indication of alternative views. A vast majority of all texts ignore the possibility that H2 and O2 may result from secondary reactions{,} which was a standard view in the late 19th century following the works of Daniell and Miller. Concerning the electrolysis of aqueous salt solutions{,} all texts give oversimplified views of competing reactions based on standard reduction/oxidation potentials. It is understandable that textbooks try to present sufficiently simple pictures that students at each level can handle; however{,} this should not be done in a way that shuts down questions. We recommend that students should be made aware that textbook accounts are only models{,} and encouraged to extend their learning beyond the models. The plausibility of our recommendations is shown in a pilot study we conducted with secondary school students in South Korea."
}

@InProceedings{10.1007/978-3-319-67380-6_19,
author="Dyubo, Dmitrii
and Tsybin, Oleg Yu.",
editor="Galinina, Olga
and Andreev, Sergey
and Balandin, Sergey
and Koucheryavy, Yevgeni",
title="Nano Communication Device with an Embedded Molecular Film: Electromagnetic Signals Integration with Dynamic Operation Photodetector",
booktitle="Internet of Things, Smart Spaces, and Next Generation Networks and Systems",
year="2017",
publisher="Springer International Publishing",
address="Cham",
pages="206--213",
abstract="Nano-devices with embedded molecular films appear as promising nano communications tools. In general, processing in such hybrid nano-device consists of initial energy of both activated electronic and atomic subsystems of an embedded molecular species, followed by intra- and inter-molecular nanoscale signals generation and reception of the transmitted signal at remote site. Actually, electromagnetic radiation can establish wireless nano communication in Visible, Infrared, and Microwave frequency ranges. In this manuscript, we estimate some properties of a microelectronics receiver in such systems, presented by novel dynamic operation pin photodetector, possesses signal integration, and required for receiving and demodulation of an electromagnetic wave. Revealed both theoretical and experimental characteristics of a photodetector have allowed designing dynamic process scenarios, as well as its possible applications inside a nano network.",
isbn="978-3-319-67380-6"
}

@Article{McCutcheon2017,
author={McCutcheon, Sean
and Majeska, Robert
and Schaffler, Mitchell
and Vazquez, Maribel},
title={A multiscale fluidic device for the study of dendrite-mediated cell to cell communication},
journal={Biomedical Microdevices},
year={2017},
month={Aug},
day={08},
volume={19},
number={3},
pages={71},
abstract={Many cell types communicate by means of dendritic extensions via a multi-tiered set of geometric and chemical cues. Until recently, mimicking the compartmentalized in vivo cellular environment of dendrite-expressing cells such as osteocytes and motor neurons in a spatially and temporally controllable manner was limited by the challenges of in vitro device fabrication at submicron scales. Utilizing the improved resolution of current fabrication technology, we have designed a multiscale device, the Macro-micro-nano system, or M$\mu$n, composed of two distinct cell-seeding and interrogation compartments separated by a nanochannel array. The array enables dendrite ingrowth, while providing a mechanism for fluidic sequestration and/or temporally-mediated diffusible signaling between cell populations. Modeling of the M$\mu$n system predicted the ability to isolate diffusible signals, namely ATP. Empirical diffusion studies verified computational modeling. In addition, cell viability, dendrite interaction with the nanoarray, and cellular purinergic response to heat shock were experimentally evaluated within the device for both osteocytes and motor neurons. Our results describe a novel in vitro system in which dendrite-expressing cell types can be studied within nano-environments that mimic in vivo conditions. In particular, the M$\mu$n system enables real-time observation of cell to cell communication between cell populations in distinct, but fluidically coupled regions.},
issn={1572-8781},
doi={10.1007/s10544-017-0212-1},
url={https://doi.org/10.1007/s10544-017-0212-1}
}

@InProceedings{10.1007/978-81-322-1007-8_56,
author="Parthiban, D.
and Alagappan, M.
and Kandaswamy, A.",
editor="Sathiyamoorthy, S.
and Caroline, B. Elizabeth
and Jayanthi, J Gnana",
title="Resonant Frequency Analysis of Nanowire-Based Sensor and Its Applications Toward Ethanol Sensing",
booktitle="Emerging Trends in Science, Engineering and Technology",
year="2012",
publisher="Springer India",
address="India",
pages="611--617",
abstract="In this work, a nanowire-based sensor is designed and its applications toward ethanol sensing is reported. Here, Zinc oxide has been taken as the suitable material for designing nanowire because of its ease of enhanced molecular adsorption while interacting with the target gas molecules. The resonant frequency shift after attaching the ethanol gas molecule is analyzed mathematically and compared with the COMSOL simulation results. The Simulation results showed that the theoretical model leads to a small percentage error of less than 3 {\%}. Hence, this sensor can be used to detect the ethanol molecule in human breath and it provides painless breath diagnosis for alcoholic patients.",
isbn="978-81-322-1007-8"
}

@article{李淑君2014基于,
  title={基于COMSOL多物理场耦合仿真建模方法研究},
  author={李淑君 and 王惠泉 and 赵文玉 and 孟文俊 and 文豪},
  journal={机械工程与自动化},
  volume={000},
  number={4},
  pages={19-20,23},
  year={2014},
}

@article{王瑞2013基于,
  title={基于COMSOL Multiphysics的高拱坝渗流-应力全耦合分析},
  author={王瑞 and 沈振中 and 陈孝兵},
  journal={岩石力学与工程学报},
  volume={000},
  number={s2},
  pages={3197-3204},
  year={2013},
}

repository: SoraKayanomi/thesis

repo_name: SoraKayanomi/thesis


text:
SECTION = "console/utils"
DESCRIPTION = "GNU enscript is a drop-in replacement for the enscript program. \
Enscript converts ASCII files to PostScript and stores generated \
output to a file or sends it directly to the printer."
LICENSE = "GPL"
MAINTAINER = "Chris Larson <kergoth@handhelds.org>"

SRC_URI = "http://www.iki.fi/mtr/genscript/enscript-${PV}.tar.gz \
	   file://autotools.patch;patch=1"

inherit autotools

license: MIT

repository: Terentyev/familiar-linux

license_type: permissive

repo_name: Terentyev/familiar-linux

branch_name: refs/heads/master

extension: bb


text:
#
# Base recipe: meta/recipes-multimedia/libogg/libogg_1.3.1.bb
# Base branch: daisy
# Base commit: 9e4aad97c3b4395edeb9dc44bfad1092cdf30a47
#
SUMMARY = "Ogg bitstream and framing libary"
DESCRIPTION = "libogg is the bitstream and framing library \
for the Ogg project. It provides functions which are \
necessary to codec libraries like libvorbis."
HOMEPAGE = "http://xiph.org/"
BUGTRACKER = "https://trac.xiph.org/newticket"

inherit autotools pkgconfig debian-package

PR = "r0"

# There is no debian patch
DEBIAN_PATCH_TYPE = "nopatch"

LICENSE = "BSD"
LIC_FILES_CHKSUM = "file://COPYING;md5=db1b7a668b2a6f47b2af88fb008ad555 \
                    file://include/ogg/ogg.h;beginline=1;endline=11;md5=eda812856f13a3b1326eb8f020cc3b0b"

repository: nghiaht-tsdv/meta-debian

repo_name: nghiaht-tsdv/meta-debian

branch_name: refs/heads/jethro

gha_language: BitBake


text:
@inproceedings{tao2019brm,
  title = {Phylogenies Derived from Matched Transcriptome Reveal the Evolution of Cell Populations and Temporal Order of Perturbed Pathways in Breast Cancer Brain Metastases},
  author = {Tao, Yifeng  and  Lei, Haoyun  and  Lee, Adrian V.  and  Ma, Jian  and  Schwartz, Russell},
  booktitle = {Mathematical and Computational Oncology},
  publisher = {Springer International Publishing},
  year = {2019},
  pages = {3--28},
}

extension: bib


text:
require ipsec-tools.inc

BV = "${@bb.data.getVar('PV', d, 1).split('+')[1]}"
SRC_URI = "${SOURCEFORGE_MIRROR}/ipsec-tools/ipsec-tools-${BV}.tar.bz2 \
	   file://cross.patch;patch=1"
S = "${WORKDIR}/ipsec-tools-${BV}"


text:
package cli

import (
	"fmt"

	"github.com/spf13/cobra"
)

func versionCmd(version, buildDate string) *cobra.Command {
	versionCmd := &cobra.Command{
		Use:   "version",
		Short: "Print the version number of hash-cracker",
		Run: func(cmd *cobra.Command, args []string) {
			fmt.Printf("hash-cracker version %s - %s\n", version, buildDate)
		},
	}
	return versionCmd
}

repository: jclebreton/hash-cracker

repo_name: jclebreton/hash-cracker

extension: go


text:
SUMMARY = "Crossplatform tool for fast making screenshots"
LICENSE = "GPL-2.0-only"
LIC_FILES_CHKSUM = "file://COPYING;md5=7f201c1a63190995185a05dc34cab048"

inherit lxqt qt5-translation pkgconfig gtk-icon-cache features_check

REQUIRED_DISTRO_FEATURES = "x11"

DEPENDS += " \
    libqtxdg \
    kwindowsystem \
"

SRCREV = "52076892af53faa13a26ec4faa56969208309b5f"
PV = "2.5.0"

FILES:${PN} += "${datadir}/metainfo"

INSANE_SKIP:${PN} = "dev-so"


text:
#
# Copyright (C) 2016 Intel Corporation
#
SUMMARY = "Patchtest-oe package groups"
DESCRIPTION = "Packages required to run patchtest-oe test cases using patchtest"

inherit packagegroup

RDEPENDS_${PN} = "\
    python3-pyparsing \
    python3-unidiff \
    python3-pylint \
    "

repository: DnPlas/patchtest

repo_name: DnPlas/patchtest


text:
@inproceedings{DBLP:conf/ecir/LarsenL16,
 author = {Birger Larsen and
Christina Lioma},
 bibsource = {dblp computer science bibliography, http://dblp.org},
 biburl = {http://dblp.uni-trier.de/rec/bib/conf/ecir/LarsenL16},
 booktitle = {Proceedings of the Third Workshop on Bibliometric-enhanced Information
Retrieval co-located with the 38th European Conference on Information
Retrieval (ECIR 2016), Padova, Italy, March 20, 2016.},
 crossref = {DBLP:conf/ecir/2016bir},
 pages = {73--81},
 timestamp = {Mon, 30 May 2016 16:28:38 +0200},
 title = {On the Need for and Provision for an 'IDEAL' Scholarly Information
Retrieval Test Collection},
 url = {http://ceur-ws.org/Vol-1567/paper8.pdf},
 year = {2016}
}


text:
@InProceedings{pinheiro14,
  pdf = {http://jmlr.org/proceedings/papers/v32/pinheiro14.pdf},
  section = {cycle-1},
  title = {Recurrent Convolutional Neural Networks for Scene Labeling},
  author = {Pedro Pinheiro and Ronan Collobert},
  pages = {82-90},
  abstract = {The goal of the scene labeling task is to assign a class label to each pixel in an image.  To ensure a good visual coherence and a high class accuracy, it is essential for a model to capture long range  pixel) label dependencies in images. In a feed-forward architecture, this can be achieved simply by considering a sufficiently large input context patch, around each pixel to be labeled.  We propose an approach that consists of a recurrent convolutional neural network which allows us to consider a large input context while limiting the capacity of the model. Contrary to most standard approaches, our method does not rely on any segmentation technique nor any task-specific features. The system is trained in an end-to-end manner over raw pixels, and models complex spatial dependencies with low inference cost. As the context size increases with the built-in recurrence, the system identifies and corrects its own errors. Our approach yields state-of-the-art performance on both the Stanford Background Dataset and the SIFT Flow Dataset, while remaining very fast at test time.},
}

repository: mreid/papersite

repo_name: mreid/papersite

gha_license_id: MIT

gha_language: TeX


text:
// Copyright 2021 Intuitive Labs GmbH. All rights reserved.
//
// Use of this source code is governed by a BSD-style license
// that can be found in the LICENSE.txt file in the root of the source
// tree.

package wtimer

import (
	"fmt"
	"sync/atomic"
)

// tInfo encodes information about the list/wheel a timer is on and its
// current flags (which are in fact a combination of state + flags).
// The maximum wheel size is 2^16.
// It is accessed atomically.
//
// Internal encoding format:
//   31    24    16      0
//   | flgs | wNo | wIdx |
// where flgs = flags, wNo = wheel number and wIdx = index inside the wheel.
//
type tInfo struct {
	atomicV uint32
}

const (
	flgsMask = 255
	wNoMask  = 255
	wIdxMask = 65535
	flgsBpos = 24
	wNoBpos  = 16
)

func (t *tInfo) setFlags(mask uint8) {
	f := uint32(mask) << flgsBpos
	for {
		crt := atomic.LoadUint32(&t.atomicV)
		if atomic.CompareAndSwapUint32(&t.atomicV, crt, crt|f) {
			break
		}
	}
}

func (t *tInfo) resetFlags(mask uint8) {
	f := uint32(mask) << flgsBpos
	for {
		crt := atomic.LoadUint32(&t.atomicV)
		if atomic.CompareAndSwapUint32(&t.atomicV, crt, crt & ^f) {
			break
		}
	}
}

// chgFlags resets the flags in resetMask and sets the bits in setMask
func (t *tInfo) chgFlags(setMask, resetMask uint8) {
	setM := uint32(setMask) << flgsBpos
	resetM := uint32(resetMask) << flgsBpos
	for {
		crt := atomic.LoadUint32(&t.atomicV)
		if atomic.CompareAndSwapUint32(&t.atomicV, crt, (crt & ^resetM)|setM) {
			break
		}
	}
}

func (t *tInfo) assignFlags(newVal uint8) {
	v := uint32(newVal) << flgsBpos
	resetM := uint32(flgsMask) << flgsBpos
	for {
		crt := atomic.LoadUint32(&t.atomicV)
		if atomic.CompareAndSwapUint32(&t.atomicV, crt, (crt & ^resetM)|v) {
			break
		}
	}
}

func (t *tInfo) setWheel(w uint8, idx uint16) {
	v := uint32(w)<<wNoBpos | uint32(idx)
	resetM := uint32(wNoMask)<<wNoBpos | uint32(wIdxMask)
	for {
		crt := atomic.LoadUint32(&t.atomicV)
		if atomic.CompareAndSwapUint32(&t.atomicV, crt, (crt & ^resetM)|v) {
			break
		}
	}
}

func (t *tInfo) setAll(flgs uint8, w uint8, idx uint16) {
	v := uint32(flgs)<<flgsBpos | uint32(w)<<wNoBpos | uint32(idx)
	atomic.StoreUint32(&t.atomicV, v)
}

func (t *tInfo) flags() uint8 {
	/*
		crt := atomic.LoadUint32(&t.atomicV)
		return uint8(crt >> flgsBpos)
	*/
	f, _, _ := t.getAll()
	return f
}

// return wheel number and index.
func (t *tInfo) wheelPos() (uint8, uint16) {
	/*
		crt := atomic.LoadUint32(&t.atomicV)
		w := (crt >> wNoBpos) & wNoMask
		idx := crt & wIdxMask
	*/
	_, w, idx := t.getAll()
	return uint8(w), uint16(idx)
}

// returns atomically flags, wheel number and index.
func (t *tInfo) getAll() (uint8, uint8, uint16) {
	crt := atomic.LoadUint32(&t.atomicV)
	f := crt >> flgsBpos
	w := (crt >> wNoBpos) & wNoMask
	idx := crt & wIdxMask
	return uint8(f), uint8(w), uint16(idx)
}

// convert to string, usefull for debugging
func (t tInfo) String() string {
	f, w, i := t.getAll()
	return fmt.Sprintf("%02x:%02x:%d", f, w, i)
}

repository: intuitivelabs/wtimer

repo_name: intuitivelabs/wtimer


text:
PR = "${INC_PR}.0"
require whois.inc

SRC_URI[whois.md5sum] = "516fc54ce709e874133fc3b3c7c05447"
SRC_URI[whois.sha256sum] = "99979ff161ee209da21ae118eff9ca6de7c5cb1b0dc3397de18df534e0afaf76"

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty

branch_name: HEAD


text:
/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/*
    Created on : 2016-09-28, 16:07:03
    Author     : user
*/
/*
*/

body {
background: #78c1af;

}

.pageContainer {
    width: 100%;
    max-width: 1200px;
    margin: auto;
}

.headerWelcome {
    width: 100%;
    height: 500px;
    background: url('http://unsplash.it/1920/800?image=0') no-repeat center center;
    background-size: cover;
    position: relative;
    padding-top: 200px ;

}

.headerWelcome .pageContainer {
    position: relative;
    z-index: 2;
    color: #fff;
    text-align: center;
}

.headerWelcome:after {
          content: "";
          width: 100%;
          height: 100%;
          position: absolute;
          top: 0px;
          left: 0px;
          background: rgba(77, 77, 77, 0.85);
          display: block;

      }

      .headerWelcomeTitle{
    text-transform: uppercase;
        font-size: 50px;
        font-weight: 300;
        margin-top: 0;
        margin-bottom: 20px;
}

.header__navigation{
    height: 10px;
    background: #ffffff;
    text-align: center;
    padding: 15px 0;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

#mainDiv {
    background-color: white;
    box-shadow: 0 2px 3px rgba(0, 0, 0, 0.5);
    margin-bottom: 30px;
}

.peopleListDisplayedHeader {
cursor: pointer;
font-weight: bold;
}

.peopleListDisplayedHeader:hover {
    color: #1E6075;
}

.peopleDetailedInformation {
    font-weight: normal;
    margin-bottom: 7px;
    margin-top: 7px;
}

.row details {
 margin-bottom: 7px;
    margin-top: 7px;
}

tr:hover {
       background-color: #2DEBAE;
}

table table-bordered table-condensed {
    background-color: #D5DED9;
    border: 2px solid red;
    border-radius: 5px;
}

thead {
    background-color: #353634;
    color: white;
}

.footer {
    text-align: center;
    margin-top: 50px;
    font-size: 12px;
    color: #1C264A;
    background-color: #2DA89C;

}

url: https://raw.githubusercontent.com/mlisowski/mlisowski-portfolio/a9c51a0aa22c6d4db8a143337b22b96d612273da/widok listy i widok szczegółowy jQuery/bootstrap-3.3.7-dist/Maciej Lisowski/css/style.css

repository: mlisowski/mlisowski-portfolio

repo_name: mlisowski/mlisowski-portfolio

extension: css


text:
DESCRIPTION = "This repository contains the source code for the ARM side \
libraries used on Raspberry Pi. These typically are installed in /opt/vc/lib \
and includes source for the ARM side code to interface to: EGL, mmal, GLESv2,\
vcos, openmaxil, vchiq_arm, bcm_host, WFC, OpenVG."
LICENSE = "Broadcom"
LIC_FILES_CHKSUM = "file://LICENCE;md5=957f6640d5e2d2acfce73a36a56cb32f"

PR = "r5"

PROVIDES = "virtual/libgles2 \
            virtual/egl"

COMPATIBLE_MACHINE = "raspberrypi"

RREPLACES_${PN} = "libgles2 egl"

SRCBRANCH = "master"
SRCFORK = "raspberrypi"
SRCREV = "40e377862410371a9962db79b81fd4f0f266430a"

SRC_URI = "\
    git://github.com/${SRCFORK}/userland.git;protocol=git;branch=${SRCBRANCH} \
    file://0001-fix-gcc-5.x-inlines.patch \
    file://0002-fix-musl-build.patch \
    file://0003-fix-alloc-size-uninitialized.patch \
    file://0002-set-VMCS_INSTALL_PREFIX-to-usr.patch \
    file://0003-cmake-generate-and-install-pkgconfig-files.patch \
    "

S = "${WORKDIR}/git"

inherit cmake pkgconfig

EXTRA_OECMAKE = "-DCMAKE_BUILD_TYPE=Release -DCMAKE_EXE_LINKER_FLAGS='-Wl,--no-as-needed'"
CFLAGS_append = " -fPIC"

do_install_append () {
	for f in `find ${D}${includedir}/interface/vcos/ -name "*.h"`; do
		sed -i 's/include "vcos_platform.h"/include "pthreads\/vcos_platform.h"/g' ${f}
		sed -i 's/include "vcos_futex_mutex.h"/include "pthreads\/vcos_futex_mutex.h"/g' ${f}
		sed -i 's/include "vcos_platform_types.h"/include "pthreads\/vcos_platform_types.h"/g' ${f}
	done
}

# Shared libs from userland package  build aren't versioned, so we need
# to force the .so files into the runtime package (and keep them
# out of -dev package).
FILES_SOLIBSDEV = ""

FILES_${PN} += " \
    ${libdir}/*.so \
    ${libdir}/plugins"
FILES_${PN}-dev += "${includedir} \
                   ${prefix}/src"
FILES_${PN}-doc += "${datadir}/install"
FILES_${PN}-dbg += "${libdir}/plugins/.debug"

PACKAGE_ARCH = "${MACHINE_ARCH}"

repository: TizenTeam/meta-raspberrypi-tizen

repo_name: TizenTeam/meta-raspberrypi-tizen


text:
set(mylist FILTER_THIS_BIT DO_NOT_FILTER_THIS thisisanitem FILTER_THIS_THING)
list(FILTER mylist RM REGEX "^FILTER_THIS_.+")

extension: cmake


text:
@article{goldstein2013b,
	Author = {Goldstein, David M.},
	Date-Added = {2013-06-14 12:04:30 +0000},
	Date-Modified = {2020-09-07 11:33:32 -0700},
	Doi = {10.1353/apa.2013.0015},
	Journal = {Transactions of the {American} {Philological} {Association}},
	Number = {2},
	Pages = {323--346},
	Title = {Wackernagel's law and the fall of the {Lydian} empire},
	Volume = {143},
	Year = {2013}}

repository: DMGoldstein/academic

repo_name: DMGoldstein/academic


text:
DESCRIPTION = "This module provides a small, fast utility for working with file paths. It \
is friendlier to use than File::Spec and provides easy access to functions \
from several other core file handling modules. It aims to be smaller and \
faster than many alternatives on CPAN, while helping people do many common \
things in consistent and less error-prone ways."

SECTION = "libs"
LICENSE = "Apache-2.0"
PR = "r0"

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

LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

SRC_URI = "https://cpan.metacpan.org/authors/id/D/DA/DAGOLDEN/Path-Tiny-0.120.tar.gz"

SRC_URI[md5sum] = "046d14dde6e3568aee5085487dd4769e"
SRC_URI[sha256sum] = "66a1164981d449da46cc88383fe37f9e352e87e9570bfb960e43fe8ff016ee1b"
RRECOMMENDS:${PN} += "unicode-utf8-perl"
RECOMMENDS += "test-failwarnings-perl-native"
RECOMMENDS += "test-mockrandom-perl-native"

S = "${WORKDIR}/Path-Tiny-${PV}"

inherit cpan allarch

BBCLASSEXTEND = "native"

repository: rehsack/meta-cpan

repo_name: rehsack/meta-cpan


text:
@Article{Harnos20161816,
  author = {D.S. Harnos and S.W. Nesbitt},
  title = {Varied pathways for simulated tropical cyclone rapid intensification. Part I: Precipitation and environment},
  journal = {Quarterly Journal of the Royal Meteorological Society},
  year = {2016},
  volume = {142},
  number = {697},
  doi = {10.1002/qj.2780},
  note = {cited By 5},
  url = {https://www.scopus.com/inward/record.uri?eid=2-s2.0-84992303262&doi=10.1002%2fqj.2780&partnerID=40&md5=a70dc2a81dec01b6c3a1920dc535a7b2},
  document_type = {Article},
  source = {Scopus},
  pages = {1816-1831},
  date = {2016-01-01},
}

repository: swnesbitt/academic-kickstart

repo_name: swnesbitt/academic-kickstart


text:
%% This is just an excerpt of the original file

%% ---------------------------------------------------------------
%% biblatex-phys --- A biblatex implementation of the AIP and APS
%%   bibliography style
%% Maintained by Joseph Wright
%% E-mail: joseph.wright at morningstar2.co.uk
%% Released under the LaTeX Project Public License v1.3c or later
%% See http://www.latex-project.org/lppl.txt
%% ---------------------------------------------------------------
%%

@Report{gap,
  hyphenation = {british},
  author      = {S.W.S. McKeever},
  title       = {Thermoluminescence of Solids. Cambridge Solid State Science
Series.},
  institution = {Cambridge University Press},
  location    = {Cambridge},
  year        = {1988}
}
@Report{TL-DOS,
  hyphenation = {british},
  author      = {J. Walbersloh und F. Busch},
  title       = {ATHIN-LAYER LIF THERMOLUMINESCENCE DOSEMETER
SYSTEM WITH FAST READOUT FORTHE USE IN PERSONAL
DOSIMETRY SERVICES},
  institution = {Materialpruefungsamt Nordrhein-Westfalen},
  location    = {Dortmund},
  year        = {2015}
}

@article{sklearn,
 title={Scikit-learn: Machine Learning in {P}ython},
 author={Pedregosa, F. and Varoquaux, G. and Gramfort, A. and Michel, V.
         and Thirion, B. and Grisel, O. and Blondel, M. and Prettenhofer, P.
         and Weiss, R. and Dubourg, V. and Vanderplas, J. and Passos, A. and
         Cournapeau, D. and Brucher, M. and Perrot, M. and Duchesnay, E.},
 journal={Journal of Machine Learning Research},
 volume={12},
 pages={2825--2830},
 year={2011}
}

%%
%% Copyright (C) 2012,2013 by
%%   Joseph Wright <joseph.wright at morningstar2.co.uk>
%%
%% It may be distributed and/or modified under the conditions of
%% the LaTeX Project Public License (LPPL), either version 1.3c of
%% this license or (at your option) any later version.  The latest
%% version of this license is in the file:
%%
%%    http://www.latex-project.org/lppl.txt
%%
%% This work is "maintained" (as per LPPL maintenance status) by
%%   Joseph Wright.
%%
%% This work consists of the files biblatex-phys.bib,
%%                                 biblatex-phys.tex,
%%                                 phys.bbx and
%%                                 phys.cbx,
%%           and the derived file  biblatex-phys.pdf.
%%
%%
%% End of file `biblatex-phys.bbx'.


text:
SUMMARY = "mongodb"
LICENSE = "AGPL-3.0 & Apache-2.0"
LIC_FILES_CHKSUM = "file://GNU-AGPL-3.0.txt;md5=73f1eb20517c55bf9493b7dd6e480788 \
                    file://APACHE-2.0.txt;md5=3b83ef96387f14655fc854ddc3c6bd57"

DEPENDS = "openssl libpcre libpcap zlib"

inherit scons

PV = "3.3.0+git${SRCPV}"
SRCREV = "aacd231be0626a204cb40908afdf62c4b67bb0ad"
SRC_URI = "git://github.com/mongodb/mongo.git;branch=master \
           file://0001-Tell-scons-to-use-build-settings-from-environment-va.patch \
           "

S = "${WORKDIR}/git"

# Wiredtiger supports only 64-bit platforms
PACKAGECONFIG_x86-64 ??= "tcmalloc wiredtiger"
PACKAGECONFIG_aarch64 ??= "tcmalloc wiredtiger"
PACKAGECONFIG ??= "tcmalloc"
# gperftools compilation fails for arm below v7 because of missing support of
# dmb operation. So we use system-allocator instead of tcmalloc
PACKAGECONFIG_remove_armv6 = "tcmalloc"

#std::current_exception is undefined for arm < v6
COMPATIBLE_MACHINE_armv4 = "(!.*armv4).*"
COMPATIBLE_MACHINE_armv5 = "(!.*armv5).*"
COMPATIBLE_MACHINE_mips64 = "(!.*mips64).*"

PACKAGECONFIG[tcmalloc] = "--use-system-tcmalloc,--allocator=system,gperftools,"
PACKAGECONFIG[wiredtiger] = "--wiredtiger=on,--wiredtiger=off,,"

EXTRA_OESCONS = "--prefix=${D}${prefix} \
                 LIBPATH=${STAGING_LIBDIR} \
                 LINKFLAGS='${LDFLAGS}' \
                 CXXFLAGS='${CXXFLAGS}' \
                 TARGET_ARCH=${TARGET_ARCH} \
                 --ssl \
                 --disable-warnings-as-errors \
                 --use-system-pcre \
                 --use-system-zlib \
                 --js-engine=none \
                 --nostrip \
                 ${EXTRA_OECONF} \
                 mongod mongos"
DISABLE_STATIC = ""

scons_do_compile() {
        ${STAGING_BINDIR_NATIVE}/scons ${PARALLEL_MAKE} ${EXTRA_OESCONS} || \
        die "scons build execution failed."
}

scons_do_install() {
        ${STAGING_BINDIR_NATIVE}/scons install ${EXTRA_OESCONS}|| \
        die "scons install execution failed."
}

repository: reMarkable/meta-openembedded

repo_name: reMarkable/meta-openembedded

branch_name: refs/heads/zero-gravitas


text:
package cli

import "fmt"

// Command describes git-style commands such as `git <log|diff|commit>` etc.
// Each Command has it's own scope of flags and possible SubCommands.
type Command struct {
	// Name of the command.
	Name string

	// Action is the bootstrapping function of the command.
	Action func(*Context) error

	// Description contains a *longer* description of the command.
	Description string
	// Usage should give a short summary of the description.
	Usage string

	// Flags that the command accepts.
	Flags []*Flag
	// InheritParentFlags toggles whether the flags of the parent command (or
	// app) is accessible at the command's scope.
	InheritParentFlags bool
	// PositionalArguments notifies the help printer about positional
	// arguments.
	PositionalArguments []string
	// SubCommands are commands that are accessible under this scope.
	SubCommands []*Command
}

func (cmd *Command) Validate() error {
	if cmd.Name == "" {
		return internalError(fmt.Errorf("commands require a name"))
	}
	if cmd.Action == nil && len(cmd.SubCommands) == 0 {
		return internalError(fmt.Errorf(
			"found an orphan command (%s) without an action",
			cmd.Name))
	}
	return nil
}

repository: alfrunes/cli

repo_name: alfrunes/cli


text:
@article{li2015extended,
 author = {Li, Dong and Shao, Lin and Chen, Bi-Chang and Zhang, Xi and Zhang, Mingshu and Moses, Brian and Milkie, Daniel E and Beach, Jordan R and Hammer, John A and Pasham, Mithun and others},
 journal = {Science},
 number = {6251},
 publisher = {American Association for the Advancement of Science},
 title = {Extended-resolution structured illumination imaging of endocytic and cytoskeletal dynamics},
 volume = {349},
 year = {2015}
}

repository: dmilkie/starter-academic

repo_name: dmilkie/starter-academic


text:
DESCRIPTION = "Matchbox input manager"
LICENSE = "GPL"
DEPENDS = "matchbox-wm libmatchbox"
SECTION = "x11/wm"

SRC_URI = "http://projects.o-hand.com/matchbox/sources/mb-applet-input-manager/${PV}/mb-applet-input-manager-${PV}.tar.bz2"
S = "${WORKDIR}/mb-applet-input-manager-${PV}"

inherit autotools pkgconfig

FILES_${PN} = "${bindir} ${datadir}/applications ${datadir}/pixmaps"

SRC_URI[md5sum] = "bf36926ac97d0419a141f9d18ffab103"
SRC_URI[sha256sum] = "7a1298ea42a976e7a133ec160400daee055450872dcc40d671f08376fc08850a"


text:
#
# This file was derived from the 'rgb2yuv' example recipe in the
#
#

DESCRIPTION = "rgb2yuv_c"
SECTION = "recipes-tec"
DEPENDS = ""
LICENSE = "MIT"
LIC_FILES_CHKSUM = "file://LICENSE;md5=0ec5801450d6b777d973eb956c021332"

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

SRCREV = "c96b1fdd0767a9a13b9fca9d91fd3975c44c9de4"
# SRC_URI = "git://github.com/gbmhunter/YoctoHelloWorldApp.git"
SRC_URI = "file://main.cpp \
	   file://parseArgs.hpp \
	   file://rgb2yuv.hpp \
	   file://LICENSE \
	   file://Makefile.am \
	   file://configure.ac \
	   file://800x608c.brg \
	   file://outc.yuv \
           file://c_results.pdf \

"
S = "${WORKDIR}"

do_install_append() {
      install -d ${D}/rgb2yuv-docs
      cp ${WORKDIR}/outc.yuv /${D}/rgb2yuv-docs
      cp ${WORKDIR}/800x608c.brg /${D}/rgb2yuv-docs
      cp ${WORKDIR}/c_results.pdf /${D}/rgb2yuv-docs
}
FILES_${PN} += "/rgb2yuv-docs"

inherit autotools

# The autotools configuration I am basing this on seems to have a problem with a race condition when parallel make is enabled
PARALLEL_MAKE = ""


text:
%%% -*-BibTeX-*-
%%% Do NOT edit. File created by BibTeX with style
%%% ACM-Reference-Format-Journals [18-Jan-2012].

\begin{thebibliography}{7}

%%% ====================================================================
%%% NOTE TO THE USER: you can override these defaults by providing
%%% customized versions of any of these macros before the \bibliography
%%% command.  Each of them MUST provide its own final punctuation,
%%% except for \shownote{}, \showDOI{}, and \showURL{}.  The latter two
%%% do not use final punctuation, in order to avoid confusing it with
%%% the Web address.
%%%
%%% To suppress output of a particular field, define its macro to expand
%%% to an empty string, or better, \unskip, like this:
%%%
%%% \newcommand{\showDOI}[1]{\unskip}   % LaTeX syntax
%%%
%%% \def \showDOI #1{\unskip}           % plain TeX syntax
%%%
%%% ====================================================================

\ifx \showCODEN    \undefined \def \showCODEN     #1{\unskip}     \fi
\ifx \showDOI      \undefined \def \showDOI       #1{#1}\fi
\ifx \showISBNx    \undefined \def \showISBNx     #1{\unskip}     \fi
\ifx \showISBNxiii \undefined \def \showISBNxiii  #1{\unskip}     \fi
\ifx \showISSN     \undefined \def \showISSN      #1{\unskip}     \fi
\ifx \showLCCN     \undefined \def \showLCCN      #1{\unskip}     \fi
\ifx \shownote     \undefined \def \shownote      #1{#1}          \fi
\ifx \showarticletitle \undefined \def \showarticletitle #1{#1}   \fi
\ifx \showURL      \undefined \def \showURL       {\relax}        \fi
% The following commands are used for tagged output and should be
% invisible to TeX
\providecommand\bibfield[2]{#2}
\providecommand\bibinfo[2]{#2}
\providecommand\natexlab[1]{#1}
\providecommand\showeprint[2][]{arXiv:#2}

\bibitem[\protect\citeauthoryear{??}{Bud}{[n.d.]}]%
        {Budan}
 \bibinfo{year}{[n.d.]}\natexlab{}.
\newblock \bibinfo{booktitle}{\emph{Budan's theorem}}.
\newblock
\urldef\tempurl%
\url{https://en.wikipedia.org/wiki/Budan%27s_theorem}
\showURL{%
\tempurl}
\newblock
\shownote{Last edited: 2020-12-31.}

\bibitem[\protect\citeauthoryear{??}{Vin}{[n.d.]}]%
        {Vincent}
 \bibinfo{year}{[n.d.]}\natexlab{}.
\newblock \bibinfo{booktitle}{\emph{Continued fraction method}}.
\newblock
\urldef\tempurl%
\url{https://en.wikipedia.org/wiki/Real-root_isolation#Continued_fraction_method}
\showURL{%
\tempurl}
\newblock
\shownote{Last edited: 2020-12-31.}

\bibitem[\protect\citeauthoryear{??}{rul}{[n.d.]}]%
        {rule_of_sign}
 \bibinfo{year}{[n.d.]}\natexlab{}.
\newblock \bibinfo{booktitle}{\emph{Descartes’ rule of signs}}.
\newblock
\urldef\tempurl%
\url{https://en.wikipedia.org/wiki/Descartes%27_rule_of_signs}
\showURL{%
\tempurl}
\newblock
\shownote{Last edited: 2021-3-9.}

\bibitem[\protect\citeauthoryear{??}{Lag}{[n.d.]}]%
        {Lag}
 \bibinfo{year}{[n.d.]}\natexlab{}.
\newblock \bibinfo{booktitle}{\emph{Lagrange's bounds}}.
\newblock
\urldef\tempurl%
\url{https://en.wikipedia.org/wiki/Geometrical_properties_of_polynomial_roots#Lagrange's_and_Cauchy's_bounds}
\showURL{%
\tempurl}
\newblock
\shownote{Last edited: 2021-3-9.}

\bibitem[\protect\citeauthoryear{Ayoub}{Ayoub}{1980}]%
        {Abel-Ruffini}
\bibfield{author}{\bibinfo{person}{Raymond~G. Ayoub}.}
  \bibinfo{year}{1980}\natexlab{}.
\newblock \showarticletitle{Paolo Ruffini's Contributions to the Quintic}.
\newblock \bibinfo{journal}{\emph{Archive for History of Exact Sciences}}
  \bibinfo{volume}{23}, \bibinfo{number}{3} (\bibinfo{year}{1980}),
  \bibinfo{pages}{253--277}.
\newblock
\showISSN{00039519, 14320657}
\urldef\tempurl%
\url{http://www.jstor.org/stable/41133596}
\showURL{%
\tempurl}

\bibitem[\protect\citeauthoryear{Noda and Sasaki}{Noda and Sasaki}{1991}]%
        {Approximate}
\bibfield{author}{\bibinfo{person}{Matu-Tarow Noda} {and}
  \bibinfo{person}{Tateaki Sasaki}.} \bibinfo{year}{1991}\natexlab{}.
\newblock \showarticletitle{Approximate GCD and its application to
  ill-conditioned equations}.
\newblock \bibinfo{journal}{\emph{J. Comput. Appl. Math.}}
  \bibinfo{volume}{38}, \bibinfo{number}{1} (\bibinfo{year}{1991}),
  \bibinfo{pages}{335--351}.
\newblock
\showISSN{0377-0427}
\urldef\tempurl%
\url{https://doi.org/10.1016/0377-0427(91)90180-R}
\showDOI{\tempurl}

\bibitem[\protect\citeauthoryear{Yun}{Yun}{1976}]%
        {Yuns}
\bibfield{author}{\bibinfo{person}{David~Y.Y. Yun}.}
  \bibinfo{year}{1976}\natexlab{}.
\newblock \showarticletitle{On Square-Free Decomposition Algorithms}. In
  \bibinfo{booktitle}{\emph{Proceedings of the Third ACM Symposium on Symbolic
  and Algebraic Computation}} (Yorktown Heights, New York, USA)
  \emph{(\bibinfo{series}{SYMSAC '76})}. \bibinfo{publisher}{Association for
  Computing Machinery}, \bibinfo{address}{New York, NY, USA},
  \bibinfo{pages}{26–35}.
\newblock
\showISBNx{9781450377904}
\urldef\tempurl%
\url{https://doi.org/10.1145/800205.806320}
\showDOI{\tempurl}

\end{thebibliography}

repository: willyii/PolynomialRootIsolation

repo_name: willyii/PolynomialRootIsolation

extension: bbl


text:
PR = "r2"
PV = "0.1+git${SRCPV}"
LICENSE = "GPL-2.0-or-later"
LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"

SRC_URI = "git://github.com/yrutschle/sslh;branch=master;protocol=https"
SRCREV = "7e3f723699764a9d000902af55e15e0eb151281f"
S = "${WORKDIR}/git"

inherit perlnative

DEPENDS += "conf2struct-native"
DEPENDS += "libbsd"
DEPENDS += "libcap"
DEPENDS += "libconfig"
DEPENDS += "libev"
DEPENDS += "systemd"
DEPENDS += "pcre2"

EXTRA_OEMAKE += "DESTDIR=${D}"
EXTRA_OEMAKE += "PREFIX=${prefix}"
EXTRA_OEMAKE += "USELIBCAP=1"
EXTRA_OEMAKE += "USELIBBSD=1"
EXTRA_OEMAKE += "USESYSTEMD=1"

do_configure() {
  oe_runmake distclean
}

do_compile() {
  # Workaround for a non-installed and broken echosrv
  sed -i 's,^\(all:.*\) echosrv,\1,' ${S}/Makefile

  # Workaround for the broken dependencies in the Makefile
  oe_runmake sslh-conf.h

  oe_runmake
}

do_install() {
  oe_runmake install
}

repository: openbmc/openbmc

repo_name: openbmc/openbmc

gha_license_id: NOASSERTION

gha_language: Python


text:
set(foo_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foo.dir/cmake_pch.h")
if (RunCMake_GENERATOR_IS_MULTI_CONFIG)
  set(foo_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foo.dir/Debug/cmake_pch.h")
endif()
set(foobar_pch_header "${RunCMake_TEST_BINARY_DIR}/CMakeFiles/foobar.dir/cmake_pch.h")

if (NOT EXISTS ${foo_pch_header})
  set(RunCMake_TEST_FAILED "Generated foo pch header ${foo_pch_header} does not exist")
  return()
endif()

if (EXISTS ${foobar_pch_header})
  set(RunCMake_TEST_FAILED "Generated foobar pch header ${foobar_pch_header} should not exist")
  return()
endif()

branch_name: refs/heads/main


text:
@article{welch_overdiagnosis_2010,
	title = {Overdiagnosis in Cancer},
	url = {http://jnci.oxfordjournals.org/cgi/content/abstract/djq099v1},
	doi = {10.1093/jnci/djq099},
	abstract = {Abstract: "This article summarizes the phenomenon of cancer overdiagnosis--the diagnosis of a "cancer" that would otherwise not go on to cause symptoms or death. We describe the two prerequisites for cancer overdiagnosis to occur: the existence of a silent disease reservoir and activities leading to its detection (particularly cancer screening). We estimated the magnitude of overdiagnosis from randomized trials: about 25% of mammographically detected breast cancers, 50% of chest x-ray and/or sputum-detected lung cancers, and 60% of prostate-specific antigen-detected prostate cancers. We also review data from observational studies and population-based cancer statistics suggesting overdiagnosis in computed tomography-detected lung cancer, neuroblastoma, thyroid cancer, melanoma, and kidney cancer. To address the problem, patients must be adequately informed of the nature and the magnitude of the trade-off involved with early cancer detection. Equally important, researchers need to work to develop better estimates of the magnitude of overdiagnosis and develop clinical strategies to help minimize it."},
	pages = {djq099},
	journaltitle = {J. Natl. Cancer Inst.},
	author = {Welch, H. Gilbert and Black, William C.},
	urldate = {2010-04-28},
	date = {2010-04-22},
	tags = {Diagnostic testing, a02}
}

repository: pmean/build-website

repo_name: pmean/build-website


text:
require vim_${PV}.bb

SUMMARY += " (with tiny features)"

PACKAGECONFIG += "tiny"

do_install() {
    install -d ${D}/${bindir}
    install -m 0755 ${S}/vim ${D}/${bindir}/vim.tiny
}

ALTERNATIVE_PRIORITY = "90"
ALTERNATIVE_TARGET = "${bindir}/vim.tiny"

branch_name: refs/heads/fido


text:
require recipes-android/android-headers/android-headers.inc

PKGV .= "+gitr${SRCPV}"
SRCREV = "eef30c5da666b324072c5b5b029eae71a51d9534"

SRC_URI += " \
    file://0001-Revert-hwc-remove-qcom_bsp-since-it-causes-trouble-w.patch \
    file://0002-Revert-Use-AOSP-version-of-gralloc.h.patch \
"
ANDROID_API = "22"

repository: shr-distribution/meta-smartphone

repo_name: shr-distribution/meta-smartphone

gha_language: Roff


text:
DESCRIPTION = "Tool Command Language ToolKit Extension"
HOMEPAGE = "http://tcl.sourceforge.net"
SECTION = "devel/tcltk"
LICENSE = "tcl"
DEPENDS = "tcl virtual/libx11 libxt"
PR = "r2"

SRC_URI = "\
  ${SOURCEFORGE_MIRROR}/tcl/tk${PV}-src.tar.gz \
  file://confsearch.diff;striplevel=2 \
  file://manpages.diff;striplevel=2 \
  file://non-linux.diff;striplevel=2 \
  file://rpath.diff;striplevel=2 \
  file://tklibrary.diff;striplevel=2 \
  file://tkprivate.diff;striplevel=2 \
  file://fix-xft.diff \
"
SRC_URI[md5sum] = "13bf90602e16fc530e05196431021dc6"
SRC_URI[sha256sum] = "9737da5c30e631281062b6acbb4753840f9e95657c78e37657d9c520589ab2d4"

S = "${WORKDIR}/tk${PV}/unix"

inherit autotools

EXTRA_OECONF = "\
  --enable-threads \
  --with-tcl=${STAGING_BINDIR_CROSS} \
  --x-includes=${STAGING_INCDIR} \
  --x-libraries=${STAGING_LIBDIR} \
"

do_install() {
        autotools_do_install
        mv libtk8.5.so libtk8.5.so.0
        oe_libinstall -so libtk8.5 ${D}${libdir}
        ln -sf wish8.5 ${D}${bindir}/wish
}

PACKAGES =+ "${PN}-lib"

FILES_${PN}-lib = "${libdir}/libtk8.5.so.*"
FILES_${PN} += "${libdir}/tk*"

BINCONFIG_GLOB = "*Config.sh"
BBCLASSEXTEND = "native"


text:
require ${PN}.inc
PR = "${INC_PR}.0"

SRC_URI[md5sum] = "f9042884397002ba40aa89dc7d34f59f"
SRC_URI[sha256sum] = "ffd0a7ccf635c4795edb8f61015b47ff84ec9c5babf502dd2cc8223d4489745c"


text:
set(CMAKE_CXX_FLAGS_DEBUG  "${CMAKE_CXX_FLAGS_DEBUG} -DDEBUG")
set(CMAKE_CXX_STANDARD 17)
set(CMAKE_CXX_STANDARD_REQUIRED ON)

if (NOT (CMAKE_SIZEOF_VOID_P EQUAL 8))
  message( FATAL_ERROR "Only 64 bit builds supported." )
endif()

if (WIN32)
  add_definitions(-DNOMINMAX)
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} /Zi")
  set(CMAKE_EXE_LINKER_FLAGS "${CMAKE_EXE_LINKER_FLAGS} /DEBUG /OPT:REF /OPT:ICF")
else ()
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wextra -fno-strict-aliasing -Wno-unused-parameter")
  if (CMAKE_CXX_COMPILER_ID MATCHES "GNU")
      set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -ggdb -Woverloaded-virtual -Wdouble-promotion")
      if (CMAKE_CXX_COMPILER_VERSION VERSION_GREATER "5.1") # gcc 5.1 and on have suggest-override
          set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wsuggest-override")
      endif ()
      if(CMAKE_CXX_COMPILER_VERSION VERSION_LESS "5.3")
          # GLM 0.9.8 on Ubuntu 14 (gcc 4.4) has issues with the simd declarations
          add_definitions(-DGLM_FORCE_PURE)
      endif()
  endif ()
endif()

if(APPLE)
  set(CMAKE_XCODE_ATTRIBUTE_CLANG_CXX_LIBRARY "libc++")
  set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} --stdlib=libc++")
  if (CMAKE_GENERATOR STREQUAL "Xcode")
    set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -g")
    set(CMAKE_XCODE_ATTRIBUTE_GCC_GENERATE_DEBUGGING_SYMBOLS[variant=Release] "YES")
    set(CMAKE_XCODE_ATTRIBUTE_DEBUG_INFORMATION_FORMAT[variant=Release] "dwarf-with-dsym")
    set(CMAKE_XCODE_ATTRIBUTE_DEPLOYMENT_POSTPROCESSING[variant=Release] "YES")
  endif()

  exec_program(sw_vers ARGS -productVersion  OUTPUT_VARIABLE OSX_VERSION)
  string(REGEX MATCH "^[0-9]+\\.[0-9]+" OSX_VERSION ${OSX_VERSION})
  message(STATUS "Detected OS X version = ${OSX_VERSION}")
  set(OSX_SDK "${OSX_VERSION}" CACHE String "OS X SDK version to look for inside Xcode bundle or at OSX_SDK_PATH")
  # set our OS X deployment target
  set(CMAKE_OSX_DEPLOYMENT_TARGET 10.8)
  # find the SDK path for the desired SDK
  find_path(
    _OSX_DESIRED_SDK_PATH
    NAME MacOSX${OSX_SDK}.sdk
    HINTS ${OSX_SDK_PATH}
    PATHS /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
          /Applications/Xcode-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/
  )

  if (NOT _OSX_DESIRED_SDK_PATH)
    message(STATUS "Could not find OS X ${OSX_SDK} SDK. Will fall back to default. If you want a specific SDK, please pass OSX_SDK and optionally OSX_SDK_PATH to CMake.")
  else ()
    message(STATUS "Found OS X ${OSX_SDK} SDK at ${_OSX_DESIRED_SDK_PATH}/MacOSX${OSX_SDK}.sdk")

    # set that as the SDK to use
    set(CMAKE_OSX_SYSROOT ${_OSX_DESIRED_SDK_PATH}/MacOSX${OSX_SDK}.sdk)
  endif ()
endif()

repository: jherico/OpenXR-Samples

repo_name: jherico/OpenXR-Samples


text:
# Configure IDEs to use proper folders for sources
MACRO(SET_SOURCE_FOLDERS)
    SET(files "${ARGN}")
    FOREACH(file ${files})
        # Get relative path
        FILE(RELATIVE_PATH file_path ${CMAKE_CURRENT_SOURCE_DIR} ${file})
        GET_FILENAME_COMPONENT(folder ${file_path} DIRECTORY)
        # Convert to native `/` or `\` path
        FILE(TO_NATIVE_PATH ${folder} folder)
        # Set the folder in the IDE
        SOURCE_GROUP(${folder} FILES ${file})
    ENDFOREACH()
ENDMACRO()

repository: WhoBrokeTheBuild/NESx

repo_name: WhoBrokeTheBuild/NESx


text:
SUMMARY = "ARM Neural Network SDK"
DESCRIPTION = "Linux software and tools to enable machine learning (Caffe/Tensorflow) workloads on power-efficient devices"
LICENSE = "MIT & Apache-2.0"
# Apache-2.0 license applies to mobilenet tarball
LIC_FILES_CHKSUM = "file://LICENSE;md5=3e14a924c16f7d828b8335a59da64074 \
                    file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

PR = "r1"
PV = "18.08"
PV_MAJOR = "${@d.getVar('PV',d,1).split('.')[0]}"

BRANCH = "master"
SRCREV = "c577f2c6a3b4ddb6ba87a882723c53a248afbeba"
SRCREV_tidl-api = "7e9a3942ec38efd64d45e34c10cba2f2938f5618"

SRCREV_FORMAT = "armnn"

S = "${WORKDIR}/git"

inherit cmake

SRC_URI = " \
    git://github.com/ARM-software/armnn.git;name=armnn;branch=${BRANCH} \
    file://0001-stdlib-issue-work-around.patch \
    file://0002-enable-use-of-boost-shared-library.patch \
    file://0003-add-more-test-command-line-arguments.patch \
    file://0004-generate-versioned-library.patch \
    file://0005-add-armnn-mobilenet-test-example.patch \
    file://0006-armnn-mobilenet-test-example.patch \
    file://0007-enable-use-of-arm-compute-shared-library.patch \
    http://download.tensorflow.org/models/mobilenet_v1_2018_02_22/mobilenet_v1_1.0_224.tgz;name=mobilenet;subdir=${WORKDIR}/tfmodel;destsuffix=tfmodel \
    git://git.ti.com/tidl/tidl-api.git;name=tidl-api;branch=${BRANCH};subdir=${WORKDIR}/tidl-api;destsuffix=tidl-api \
"

SRC_URI[mobilenet.md5sum] = "d5f69cef81ad8afb335d9727a17c462a"
SRC_URI[mobilenet.sha256sum] = "1ccb74dbd9c5f7aea879120614e91617db9534bdfaa53dfea54b7c14162e126b"

DEPENDS = " \
    boost \
    protobuf \
    stb \
    arm-compute-library \
    armnn-caffe \
    armnn-tensorflow \
    opencv \
"

RDEPENDS_${PN} = " arm-compute-library protobuf boost "

EXTRA_OECMAKE=" \
    -DBUILD_SHARED_LIBS=ON -DREGISTER_INSTALL_PREFIX=OFF \
    -DARMCOMPUTE_ROOT=${STAGING_DIR_HOST}${datadir}/arm-compute-library \
    -DCAFFE_GENERATED_SOURCES=${STAGING_DIR_HOST}${datadir}/armnn-caffe \
    -DTF_GENERATED_SOURCES=${STAGING_DIR_HOST}${datadir}/armnn-tensorflow \
    -DBUILD_CAFFE_PARSER=1 -DBUILD_TF_PARSER=1 \
    -DARMCOMPUTENEON=1 \
    -DBUILD_TESTS=1 -DPROFILING=1 \
    -DTHIRD_PARTY_INCLUDE_DIRS=${STAGING_DIR_HOST}${includedir} \
    -DBUILD_ARMNN_EXAMPLES=1 \
    -DGENERIC_LIB_VERSION=${PV} -DGENERIC_LIB_SOVERSION=${PV_MAJOR} \
"

TESTVECS_INSTALL_DIR = "${datadir}/arm/armnn"

do_install_append() {
    CP_ARGS="-Prf --preserve=mode,timestamps --no-preserve=ownership"
    install -d ${D}${bindir}
    find ${WORKDIR}/build/tests -maxdepth 1 -type f -executable -exec cp $CP_ARGS {} ${D}${bindir} \;
    cp $CP_ARGS ${WORKDIR}/build/UnitTests  ${D}${bindir}
    install -d ${D}${TESTVECS_INSTALL_DIR}/models
    cp ${WORKDIR}/tfmodel/mobilenet_v1_1.0_224_frozen.pb  ${D}${TESTVECS_INSTALL_DIR}/models
    cp ${WORKDIR}/git/tests/TfMobileNet-Armnn/labels.txt  ${D}${TESTVECS_INSTALL_DIR}/models
    install -d ${D}${TESTVECS_INSTALL_DIR}/testvecs
    cp ${WORKDIR}/tidl-api/examples/classification/clips/*.mp4  ${D}${TESTVECS_INSTALL_DIR}/testvecs
    cp ${WORKDIR}/tidl-api/examples/classification/images/*.jpg  ${D}${TESTVECS_INSTALL_DIR}/testvecs
    chrpath -d ${D}${bindir}/*
}

CXXFLAGS += "-fopenmp"
LIBS += "-larmpl_lp64_mp"

FILES_${PN} += "${TESTVECS_INSTALL_DIR}"
FILES_${PN}-dev += "{libdir}/cmake/*"
INSANE_SKIP_${PN}-dev = "dev-elf"


text:
% Encoding: UTF-8

@Book{ableson2012android,
  author    = {Ableson, W.F. and Sen, R. and King, C. .},
  title     = {Android in Action},
  year      = {2012},
  series    = {Mobile technology},
  publisher = {Manning},
  isbn      = {9781617290503},
  url       = {https://books.google.co.id/books?id=wH1gzgAACAAJ},
  lccn      = {2012361079},
}

@Misc{nielsen2012,
  author       = {Jakob Nielsen},
  title        = {Usability 101: Introduction to Usability.},
  year         = {2012},
  howpublished = {https://www.nngroup.com/articles/usability-101-introduction-to-usability/.},
  note         = {Diakses pada tanggal 15 Maret 2018},
  url          = {https://www.nngroup.com/articles/usability-101-introduction-to-usability/.},
  urldate      = {2018-04-19},
}

@Misc{Michael,
  author       = {Michael.},
  title        = {Extreme Programming – Michael – Medium},
  year         = {2015},
  howpublished = {https://medium.com/@mikesebastian/extreme-programming-c715e6b8e0e9},
  note         = {Diakses pada tanggal 17 April 2018},
  url          = {https://medium.com/@mikesebastian/extreme-programming-c715e6b8e0e9},
  urldate      = {2018-03-18},
}

@Book{Nazruddin,
  author    = {Nazruddin, Safaat H.},
  title     = {Pemrograman Aplikasi Mobile Smartphone dan Tablet PC Berbasis Android.},
  year      = {2012},
  publisher = {Informatika},
}

@Book{supardi2011,
  author    = {Yuniar Supardi},
  title     = {Semua Bisa Menjadi Programmer Android Basic},
  year      = {2011},
  publisher = {PT Elex Media Komputindo},
  address   = {Jakarta},
}

@Misc{Permana,
  author  = {Permana, Y.},
  title   = {Ini Dia Perbedaan Aplikasi Native, Hybrid atau Web - CodePolitan.com},
  year    = {2016},
  note    = {Diakses pada tanggal 20 April 2018},
  url     = {https://www.codepolitan.com/apa-bedanya-aplikasi-native-hybrid-dan-web},
  urldate = {2018-03-06},
}

@Misc{Ionic,
  author       = {Ionic Framework},
  title        = {What is Ionic},
  year         = {2017},
  howpublished = {https://ionicframework.com/what-is-ionic},
  note         = {Diakses pada tanggal 28 Mei 2018},
  url          = {https://ionicframework.com/what-is-ionic},
  urldate      = {2018-03-20},
}

@Misc{Shanardi,
  author       = {Shanardi, A.},
  title        = {Pengertian Test Plan},
  year         = {2017},
  howpublished = {http://sis.binus.ac.id/2017/05/03/pengertian-test-plan/},
  note         = {Diakses pada tanggal 20 Juni 2018},
  url          = {http://sis.binus.ac.id/2017/05/03/pengertian-test-plan/},
  urldate      = {2018-03-06},
}

@Book{Utama,
  author    = {Utama, A.},
  title     = {Berfikir Objek: Cara Efektif Menguasai Java},
  year      = {2002},
  publisher = {IlmuKomputer.Com},
}

@Misc{zeiger1999servlet,
  author       = {Zeiger, Stefan},
  title        = {Servlet essentials},
  year         = {1999},
  howpublished = {http://www. novocode. com/doc/servletessentials},
  url          = {http://www. novocode. com/doc/servletessentials},
  journal      = {URL:},
}

@Article{zahariev2009google,
  author  = {Zahariev, Alexander},
  title   = {Google app engine},
  journal = {Helsinki University of Technology},
  year    = {2009},
  pages   = {1--5},
}

@Article{rosa2013rekayasa,
  author  = {Rosa, AS and Shalahuddin, M},
  title   = {Rekayasa Perangkat Lunak},
  journal = {Bandung: Informatika},
  year    = {2013},
}

@Book{pressman2005software,
  author    = {Pressman, R.S.},
  title     = {Software Engineering: A Practitioner's Approach},
  year      = {2005},
  series    = {McGraw-Hill higher education},
  publisher = {Boston},
  isbn      = {9780073019338},
  url       = {https://books.google.co.id/books?id=bL7QZHtWvaUC},
  lccn      = {2003026394},
}

@Misc{jauhari,
  author       = {Jauhari, Jaidan},
  title        = {Modul Rekayasa Perangkat Lunak},
  year         = {2009},
  howpublished = {https://www.scribd.com/document/240374472/Modul-Rekayasa-Perangkat-Lunak},
  note         = {Diakses pada tanggal 25 Agustus 2018},
  url          = {https://www.scribd.com/document/240374472/Modul-Rekayasa-Perangkat-Lunak},
}

@Book{raharjana2017pengembangan,
  author = {Raharjana, Indra Kharisma.},
  title  = {Pengembangan Sistem Informasi Menggunakan Metodologi Agile},
  year   = {2017},
  isbn   = {9786024536503},
  url    = {https://books.google.co.id/books?id=kEZHDwAAQBAJ},
}

@Book{scrum2010,
  author = {Sutherland, Jeff},
  title  = {Jeff Sutherland's Scrum Handbook},
  year   = {2010},
}

@Misc{sutherlandpanduan,
  author       = {Sutherland, Jeff and Schwber, Ken},
  title        = {Panduan Scrum, Rincian Panduan Scrum: Aturan Main},
  year         = {2017},
  howpublished = {https://www.scrumguides.org/docs/scrumguide/v2017/2017-Scrum-Guide-Indonesian.pdf},
  note         = {diakses pada tanggal 10 Nov 2018},
  url          = {https://www.scrumguides.org/docs/scrumguide/v2017/2017-Scrum-Guide-Indonesian.pdf},
}

@Article{software2008ieee,
  author  = {Software \& Systems Engineering Committee and others},
  title   = {IEEE standard for software and system test documentation},
  journal = {Fredericksburg, VA, USA: IEEE Computer Society},
  year    = {2008},
}

@Article{alurLPG,
  author  = {Subakdo, Wawan Ardi and Nugroho, Yuwono Ario},
  title   = {In-bound dan Out-bound Logistic pada Distribusi Lpg 3kg di Indonesia},
  journal = {Prosiding Semnastek},
  year    = {2016},
}

@Misc{fiktif,
  author       = {Fernando},
  editor       = {M. Iqbal},
  title        = {Dugaan Log Book Fiktif, Pertamina Janji Beri Sanksi PT. Pully Rafi Jaya - Tribun Pekanbaru},
  year         = {2017},
  date         = {2017-10-31},
  howpublished = {http://pekanbaru.tribunnews.com/2017/10/31/dugaan-log-book-fiktif-pertamina-janji-beri-sanksi-pt-pully-rafi-jaya},
  note         = {Diakses pada tanggal 6 Juni 2018},
  url          = {http://pekanbaru.tribunnews.com/2017/10/31/dugaan-log-book-fiktif-pertamina-janji-beri-sanksi-pt-pully-rafi-jaya},
  urldate      = {2018-06-06},
}

@InProceedings{malavolta2015hybrid,
  author       = {Malavolta, Ivano and Ruberto, Stefano and Soru, Tommaso and Terragni, Valerio},
  title        = {Hybrid mobile apps in the google play store: An exploratory investigation},
  booktitle    = {Proceedings of the Second ACM International Conference on Mobile Software Engineering and Systems},
  year         = {2015},
  organization = {IEEE Press},
  pages        = {56--59},
}

@Book{cheng2017build,
  author    = {Cheng, Fu},
  title     = {Build Mobile Apps with Ionic 2 and Firebase: Hybrid Mobile App Development},
  year      = {2017},
  publisher = {Apress},
}

@Misc{antaraRiau,
  author       = {Vera Lusiana},
  title        = {Penerapan Elpiji Bersubsidi Untuk Masyarakat Miskin Butuh Komitmen Bersama},
  year         = {2017},
  howpublished = {http://www.antarariau.com/berita/95487/penerapan-elpiji-bersubsidi-untuk-masyarakat-miskin-butuh-komitmen-bersama},
  note         = {Diakses pada tanggal 8 Agustus 2018},
  url          = {http://www.antarariau.com/berita/95487/penerapan-elpiji-bersubsidi-untuk-masyarakat-miskin-butuh-komitmen-bersama},
  urldate      = {2017-08-30},
}

@Misc{manadoTribun,
  author       = {Christian Wayongkere},
  editor       = {Alexander Pattyranie},
  title        = {Antrean Karena Sistem Log Book - Halaman all - Tribun Manado},
  year         = {2018},
  howpublished = {http://manado.tribunnews.com/2018/10/11/antrean-karena-sistem-log-book?page=all},
  note         = {Diakses pada tanggal 19 Nov 2018},
  url          = {http://manado.tribunnews.com/2018/10/11/antrean-karena-sistem-log-book?page=all},
  urldate      = {2018-10-11},
}

@Comment{jabref-meta: databaseType:biblatex;}

repository: andre-arc/Latex-TA

repo_name: andre-arc/Latex-TA


text:
SUMMARY = "Assistive Technology Service Provider Interface (dbus core)"
HOMEPAGE = "https://wiki.linuxfoundation.org/accessibility/d-bus"
LICENSE = "LGPLv2"
LIC_FILES_CHKSUM = "file://COPYING;md5=e9f288ba982d60518f375b5898283886"

MAJ_VER = "${@oe.utils.trim_version("${PV}", 2)}"

FILESEXTRAPATHS_prepend := "${COREBASE}/meta/recipes-support/atk/at-spi2-core:"
SRC_URI = "${GNOME_MIRROR}/${BPN}/${MAJ_VER}/${BPN}-${PV}.tar.xz \
           file://0001-build-Add-with-systemduserunitdir.patch \
           "
SRC_URI[md5sum] = "4a042e4c801fdb793788b749eab21485"
SRC_URI[sha256sum] = "c80e0cdf5e3d713400315b63c7deffa561032a6c37289211d8afcfaa267c2615"

DEPENDS = "dbus glib-2.0 virtual/libx11 libxi libxtst"

inherit autotools gtk-doc gettext systemd pkgconfig distro_features_check upstream-version-is-even gobject-introspection
# depends on virtual/libx11
REQUIRED_DISTRO_FEATURES = "x11"

EXTRA_OECONF = " \
                --with-systemduserunitdir=${systemd_user_unitdir} \
                --with-dbus-daemondir=${bindir}"

FILES_${PN} += "${datadir}/dbus-1/services/*.service \
                ${datadir}/dbus-1/accessibility-services/*.service \
                ${datadir}/defaults/at-spi2 \
                ${systemd_user_unitdir}/at-spi-dbus-bus.service \
                "

repository: oholiab/citadel

repo_name: oholiab/citadel


text:
# Copyright (c) 2011-2023, The DART development contributors
# All rights reserved.
#
# The list of contributors can be found at:
#   https://github.com/dartsim/dart/blob/master/LICENSE
#
# This file is provided under the "BSD-style" License

find_package(ccd 2.0 REQUIRED MODULE)

# Set target ccd if not set
# Upstream provides the target since 2.1
if((CCD_FOUND OR ccd_FOUND) AND NOT TARGET ccd)
  add_library(ccd INTERFACE IMPORTED)
  set_target_properties(ccd PROPERTIES
    INTERFACE_INCLUDE_DIRECTORIES "${CCD_INCLUDE_DIRS}"
    INTERFACE_LINK_LIBRARIES "${CCD_LIBRARIES}"
  )
endif()

repository: dartsim/dart

repo_name: dartsim/dart


text:
@inproceedings{Demoen91:RU,
title={{I}mplementation of {P}rolog as binary definite {P}rograms},
author={Demoen, Bart and Mari\"{e}n, Andr\'{e}},
pages={165--176},
  booktitle = {Logic Programming, RCLP Proceedings},
  year =        {1992},
  editor =      {Voronkov, Andrei},
  publisher =   {Springer-Verlag},
  series = {Lecture Notes in Artificial Intelligence},
  number = {592},
  address =     {Berlin, Heidelberg},
}

@TECHREPORT{Demoen90:KUL,
   author={Demoen, Bart},
   title = {On the {T}ransformation of a {P}rolog Program to a more efficient
	{B}inary Program},
   institution = "K.U.Leuven",
   number = "130",
   month = dec,
   year = 1990,
}

@inproceedings{LOPSTR93:Neumerkel,
author="Ulrich Neumerkel",
title= "A Transformation Based on the Equality between Terms",
booktitle= "Logic Program Synthesis and Transformation, LOPSTR 1993",
publisher = "Springer-Verlag",
year = "1993"
}

@PHDTHESIS{Neum92,
  author =      "Neumerkel, Ulrich",
  title =       "Specialization of {Prolog} Programs with Partially
		 Static Goals and Binarization",
   type={PhD thesis},
   school={Technische Universit\"{a}t Wien},
   year = 1992,
}

@Misc{lindgren,
  author = "Lindgren, T.",
  title = "Compiling Logic Programs Using a Binary Continuation Style",
  month = dec,
  year = 1992,
  note = "draft, Uppsala University"
}

@TECHREPORT{WA83,
   author={Warren, D. H. D.},
   title =  "An  {A}bstract  {P}rolog  {I}nstruction  {S}et",
   institution = "SRI International",
   type="Technical Note",
   number=309,
   month = Oct,
   year = 1983,
}

repository: ptarau/binprolog

repo_name: ptarau/binprolog

gha_language: C


text:
@article{You:2007to,
author = {You, Jinhong and Xie, Shangyu and Zhou, Yong},
title = {{Two-Stage Estimation for Seemingly Unrelated Nonparametric Regression Models}},
journal = {Journal of Systems Science and Complexity},
year = {2007},
volume = {20},
number = {4},
pages = {509--520}
}

@article{Racine:2004tu,
author = {Racine, Jeff and Li, Qi},
title = {{Nonparametric estimation of regression functions with both categorical and continuous data}},
journal = {Journal of Econometrics},
year = {2004},
volume = {119},
number = {1},
pages = {99--130}
}

@article{Clements:2015wj,
author = {Clements, Kenneth W and Gao, Grace},
title = {{The Rotterdam demand model half a century on}},
journal = {Economic Modelling},
year = {2015},
volume = {49 IS -},
pages = {91--103}
}

@article{Leser:1963vd,
author = {Leser, C E V},
title = {{Forms of Engel Functions}},
journal = {Econometrica},
year = {1963},
volume = {31},
number = {4},
pages = {694--703}
}

@article{Working:1943wb,
author = {Working, Holbrook},
title = {{Statistical Laws of Family Expenditure}},
journal = {Journal of the American Statistical Association},
year = {1943},
volume = {38},
number = {221},
pages = {43--56}
}

@article{Varian:1982wa,
author = {Varian, Hal R},
title = {{Non-parametric methods in demand analysis}},
journal = {Economics Letters},
year = {1982},
volume = {9},
number = {1},
pages = {23--29}
}

@article{Hsiao:2007uk,
author = {Hsiao, Cheng and Li, Qi and Racine, Jeffrey S},
title = {{A consistent model specification test with mixed discrete and continuous data}},
journal = {Journal of Econometrics},
year = {2007},
volume = {140},
number = {2},
pages = {802--826}
}

@article{Fan:1996wr,
author = {Fan, Yanqin and Li, Qi},
title = {{Consistent model specification tests: omitted variables and semiparametric functional forms}},
journal = {Econometrica},
year = {1996},
volume = {64},
number = {4},
pages = {865}
}

@article{JohnXuZheng:1996uo,
author = {{John Xu Zheng}},
title = {{A consistent test of functional form via nonparametric estimation techniques}},
journal = {Journal of Econometrics},
year = {1996},
volume = {75},
number = {2},
pages = {263--289}
}

@article{Cheng:1997vy,
author = {Cheng, Ming-Yen and Hall, Peter and Titterington, D},
title = {{On the shrinkage of local linear curve estimators}},
journal = {Statistics and Computing},
year = {1997},
volume = {7},
number = {1},
pages = {11--17}
}

@article{Hall:2007vq,
author = {Hall, Peter and Li, Qi and Racine, Jeffrey S},
title = {{Nonparametric Estimation of Regression Functions in the Presence of Irrelevant Regressors}},
journal = {The Review of Economics and Statistics},
year = {2007},
volume = {89},
number = {4},
pages = {784--789}
}

@article{Hurvich:1998wi,
author = {Hurvich, Clifford M and Simonoff, Jeffrey S and Tsai, Chih-Ling},
title = {{Smoothing Parameter Selection in Nonparametric Regression Using an Improved Akaike Information Criterion}},
journal = {Journal of the Royal Statistical Society. Series B (Statistical Methodology)},
year = {1998},
volume = {60},
number = {2},
pages = {271--293}
}

@book{li2007nonparametric,
author = {Li, Qi and Racine, Jeffrey Scott},
title = {{Nonparametric econometrics: theory and practice}},
publisher = {Princeton University Press},
year = {2007}
}

@article{Racine:2004tua,
author = {Racine, Jeff and Li, Qi},
title = {{Nonparametric estimation of regression functions with both categorical and continuous data}},
journal = {Journal of Econometrics},
year = {2004},
volume = {119},
number = {1},
pages = {99--130}
}

@article{Li:2004tn,
author = {Li, Qi and Racine, Jeff},
title = {{Cross-Validated Local Linear Nonparametric Regression}},
journal = {Statistica Sinica},
year = {2004},
volume = {14},
number = {2},
pages = {485--512}
}

@article{Hastie:1993vz,
author = {Hastie, Trevor and Tibshirani, Robert},
title = {{Varying-Coefficient Models}},
journal = {Journal of the Royal Statistical Society. Series B (Methodological)},
year = {1993},
volume = {55},
number = {4},
pages = {757--796}
}

@article{Nadaraya:1964de,
author = {Nadaraya, E A},
title = {{On Estimating Regression}},
journal = {Theory Probab. Appl.},
year = {1964},
volume = {9},
number = {1},
pages = {141--142},
month = jan,
annote = {doi: 10.1137/1109020}
}

@article{Watson:1964vz,
author = {Watson, Geoffrey S},
title = {{Smooth Regression Analysis}},
journal = {Sankhy{\=a}: The Indian Journal of Statistics, Series A (1961-2002)},
year = {1964},
volume = {26},
number = {4},
pages = {359--372}
}

@article{Racine:2006wf,
author = {Racine, Jeffery and Hart, Jeffrey and Li, Qi},
title = {{Testing the Significance of Categorical Predictor Variables in Nonparametric Regression Models}},
journal = {Econometric Reviews},
year = {2006},
volume = {25},
number = {4},
pages = {523}
}

@article{Racine:1997vd,
author = {Racine, Jeff},
title = {{Consistent Significance Testing for Nonparametric Regression}},
journal = {Journal of Business {\&}amp; Economic Statistics},
year = {1997},
volume = {15},
number = {3},
pages = {369--378}
}

@article{Deaton:1980vf,
author = {Deaton, Angus and Muellbauer, John},
title = {{An Almost Ideal Demand System}},
journal = {The American Economic Review},
year = {1980},
volume = {70},
number = {3},
pages = {312--326}
}

@book{Deaton:1980vh,
author = {Deaton, Angus},
editor = {Muellbauer, John},
title = {{Economics and consumer behavior}},
publisher = {Cambridge ; New York : Cambridge University Press},
year = {1980},
annote = {Bibliography: pages [414]-436.}
}

@article{Barnett:2008ut,
author = {Barnett, William A and Seck, Ousmane},
title = {{Rotterdam Model versus Almost Ideal Demand System: Will the Best Specification Please Stand Up?}},
journal = {Journal of Applied Econometrics},
year = {2008},
volume = {23},
number = {6},
pages = {795--824}
}

@article{Blundell:1999tw,
author = {Blundell, Richard and Robin, Jean Marc},
title = {{Estimation in large and disaggregated demand systems: an estimator for conditionally linear systems}},
journal = {Journal of Applied Econometrics},
year = {1999},
volume = {14},
number = {3},
pages = {209--232}
}


text:
// 设置 form 配置
function setFormALl(setData,callback){

    // var setData = {name:_uname,time:_setTime,type:_Type,getUrl:_getUrl,postUrl:_postUrl};

    var obj = {};
    obj.setUname = setData.name;
    obj.setTimeout = setData.time;
    obj.NumberType = setData.type;
    obj.getUrl = setData.getUrl;
    obj.postUrl = setData.postUrl;

    console.log(obj);

    chrome.storage.sync.set(obj, function(data) {

        callback();

    })
}

// 添加订单号
function addOrderCode(){

    var textartD = '
'+
          '<textarea id="textarea1" class="textarea"></textarea>'+
          ''+
        '
<button class="waves-effect waves-light btn closediy">确定</button>    只允许输入数字,并用逗号分割';

    var pagei = PL.open({
        type: 1, //1代表页面层
        content: textartD,
        style: 'width:660px; height:400px; border:none;',
        success: function(oPan){
            var cla = 'getElementsByClassName';
            oPan[cla]('closediy')[0].onclick = function(){

                var codeALl = PD.trim(oPan[cla]('textarea')[0].value).replace(/\s/g,"").replace(/，/g,",").replace(/\s/g,"").replace(/\n/g,"");

                var reg = /^(\d+,?)+$/;

                if(!reg.test(codeALl)){

                    PL.open({
                        title: '错误',
                        content: '输入单号格式不正确'
                    });

                    return;
                }

               var bizOrderIdAll = codeALl.split(',');

               saveOrderIdAll(bizOrderIdAll);

            }
        }
    });
}

// 保存 api 接口 获取的订单号

function saveApitOrderId(data){

    var dataL =  data.length > 0;

    if(!dataL){
        return;
    }

    var arr = [];

    for(var i=0;i<data.length;i++){

        if(data[i].TaobaoOrderId.length == 16){

           var regId = data[i].TaobaoOrderId.replace(/，/g,',');

           regId = _.split(regId,',');

           if(_.isObject(regId)){

               for(var j=0;j<regId.length;j++){

                 arr.push(regId[j]);

               }

           }else{

              arr.push(regId);
           }
        }

    }
    saveOrderIdAll(arr);
    // console.log(arr);
}

// 保存订单信息
function saveOrderIdAll(bizOrderIdAll){

     var obj = {},
          ind = 50;

     var Thread = 2;  //打开浏览器线程

    var OrderIdAll = _.compact(bizOrderIdAll),
        legt = OrderIdAll.length,
        ltb = Math.ceil(legt/ind);

        saveTotalNum(legt)

        obj.OrderIdIndex = ltb;

        // console.log(obj.OrderIdIndex);

    for(var i=1;i<=ltb;i++){

        var arr = "OrderIdAll_"+i;

        obj["OrderIdAll_"+i] = [];

        for(var j = (i-1)*ind;j<(i)*ind;j++){

            if(OrderIdAll[j]){
              obj["OrderIdAll_"+i].push(OrderIdAll[j])
            }

        }

        console.log(obj["OrderIdAll_"+i])

    }

    syncSetFenPian(obj,"OrderIdAll_"+ltb);

    if(OrderIdAll.length > 0){

    }else{

      PL.open({
        title: '',
        content: '该账户没有订单了'
     });

    }

}

// 分片保存id
function syncSetFenPian(obj,ednTb){

    chrome.storage.sync.set(obj, function(){

                     PL.open({
                        title: '保存订单号成功',
                        content: '是否开始抓取第一个订单详细页面',
                        btn: ['嗯', '不要'],
                        yes: function(index){

                            PL.closeAll();
                            LocalDay.save();
                            chrome.storage.sync.set({'sl': '开始'},function(){ })

                            console.log(obj[ednTb])

                            window.open(openTaoBaoUrl(obj[ednTb][0]));

                            return;

                        }
                    });

        });
}

// 开启时间

var LocalDay = {
    save:function(){
        var day = new Date();
        var date = day.getDate();
        localStorage.LocalDay = date;
    },
    get:function(){
       if(localStorage.LocalDay){
           return ocalStorage.LocalDay
       }
       var day = new Date();
       var date = day.getDate();
       return date;

    },
    isClear:function(){
         var day = new Date();
         var date = day.getDate();

         if(localStorage.LocalDay){
             if(localStorage.LocalDay == date){
                 return false;
             }

             LocalDay.save();
             return true;
        }
        LocalDay.save();
        return true;

    }
}

repository: browser-extensions/PanCrawl

repo_name: browser-extensions/PanCrawl

extension: js


text:
package models

type WithdrawalPriority struct {
	Name  string  `json:"name"`
	Value float64 `json:"value"`
}

type Currency struct {
	CoinType                       string               `json:"coin_type"`
	Currency                       string               `json:"currency"`
	CurrencyLong                   string               `json:"currency_long"`
	DisabledDepositAddressCreation bool                 `json:"disabled_deposit_address_creation"`
	FeePrecision                   int                  `json:"fee_precision"`
	MinConfirmations               int                  `json:"min_confirmations"`
	MinWithdrawalFee               float64              `json:"min_withdrawal_fee"`
	WithdrawalFee                  float64              `json:"withdrawal_fee"`
	WithdrawalPriorities           []WithdrawalPriority `json:"withdrawal_priorities"`
}

repository: trumae/deribit-api

repo_name: trumae/deribit-api


text:
DESCRIPTION = "Machine specific configuration file for the Nyx hardware abstraction layer"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${COMMON_LICENSE_DIR}/Apache-2.0;md5=89aea4e17d99a7cacdbeed46a0096b10"

PV = "1.0"

PACKAGE_ARCH = "${MACHINE_ARCH}"

SRC_URI = "file://nyx.conf"

do_install() {
    install -d ${D}${sysconfdir}
    install -m 0644 ${WORKDIR}/nyx.conf ${D}${sysconfdir}
}

repository: Tofee/meta-webos-ports

repo_name: Tofee/meta-webos-ports


text:
var bStore = angular.module('bstore-directives',[]);

	bStore.directive('reviewForm', function(){
		return {
			restrict: 'A',
			templateUrl: 'components/templates/review-form.html'
		};
	});

	bStore.directive('reviewContent', function(){
		return {
			restrict: 'E',
			templateUrl: 'components/templates/review-content.html'
		};
	});

	bStore.directive('productTabs', function(){
		return {
			restrict: 'E',
			templateUrl: 'components/templates/product-tabs.html',
			controller: function(){
				this.tab = 1;
				this.selectTab = function(setTab) {
					this.tab = setTab;
				};
				this.isSelected = function(checkTab){
					return this.tab === checkTab;
				};
			},
			controllerAs: 'panel'
		};

	});

repository: bahuzz/books

repo_name: bahuzz/books


text:
// Package ls implements an utility.
package ls

import (
	"flag"
	"fmt"
	"io/ioutil"
	"os"
	"path/filepath"
	"syscall"

	"github.com/udhos/conbox/common"
)

// Run executes the applet.
func Run(tab map[string]common.AppletFunc, args []string) int {

	var help, long bool

	flagSet := flag.NewFlagSet("ls", flag.ContinueOnError)
	flagSet.BoolVar(&help, "h", false, "Show command-line help")
	flagSet.BoolVar(&long, "l", false, "Long list mode")

	if err := flagSet.Parse(args); err != nil {
		usage(flagSet)
		return 1 // exit status
	}

	if help {
		usage(flagSet)
		return 2 // exit status
	}

	if flagSet.NArg() < 1 {
		err := ls(".", long)
		if err != nil {
			fmt.Printf("ls: %v\n", err)
			return 3
		}
		return 0
	}

	var status int

	for _, f := range flagSet.Args() {
		if err := ls(f, long); err != nil {
			fmt.Printf("ls: %v\n", err)
			status = 4
		}
	}

	return status // exit status
}

func usage(flagSet *flag.FlagSet) {
	common.ShowVersion()
	fmt.Println("ls [OPTION]... [FILE]...")
	flagSet.PrintDefaults()
}

func ls(path string, long bool) error {

	stat, errStat := os.Stat(path)
	if errStat != nil {
		return errStat
	}

	if stat.IsDir() {
		return lsDir(path, long)
	}

	showInfo(path, long, stat)

	return nil
}

func lsDir(path string, long bool) error {

	list, errList := ioutil.ReadDir(path)
	if errList != nil {
		return errList
	}

	for _, f := range list {
		show(filepath.Join(path, f.Name()), long)
	}

	return nil
}

func show(path string, long bool) {

	stat, errStat := os.Stat(path)
	if errStat != nil {
		fmt.Printf("ls: %v\n", errStat)
		return
	}

	showInfo(path, long, stat)
}

func showInfo(path string, long bool, info os.FileInfo) {
	if long {
		showFileMode(info)
	}

	fmt.Println(path)
}

func showFileMode(info os.FileInfo) {
	showBool(info.IsDir(), "d")
	mode := info.Mode()
	showBool(mode&0400 != 0, "r")
	showBool(mode&0200 != 0, "w")
	showBool(mode&0100 != 0, "x")
	showBool(mode&0040 != 0, "r")
	showBool(mode&0020 != 0, "w")
	showBool(mode&0010 != 0, "x")
	showBool(mode&0004 != 0, "r")
	showBool(mode&0002 != 0, "w")
	showBool(mode&0001 != 0, "x")

	uid := -1
	gid := -1

	sys := info.Sys()
	if s, ok := sys.(*syscall.Stat_t); ok {
		uid = int(s.Uid)
		gid = int(s.Gid)
	}

	fmt.Printf(" %4d %4d ", uid, gid)
}

func showBool(value bool, ifTrue string) {
	if value {
		fmt.Print(ifTrue)
	} else {
		fmt.Print("-")
	}
}

repository: udhos/conbox

repo_name: udhos/conbox


text:
package main

import (
	"encoding/json"
	"fmt"
	"io"
	"net/http"
	"os"
	"testing"

	jg "github.com/dgrijalva/jwt-go"
	"github.com/goadesign/goa"
	"github.com/goadesign/goa/middleware"
	mjwt "github.com/goadesign/goa/middleware/security/jwt"
	"github.com/gopheracademy/congo/app"
	"github.com/gopheracademy/congo/jwt"
	"github.com/gopheracademy/congo/swagger"
	"github.com/kelseyhightower/envconfig"
	"github.com/kr/pretty"
	_ "github.com/lib/pq"
)

var reader io.Reader

func TestMain(m *testing.M) {

	err := envconfig.Process("congotest", &settings)
	if err != nil {
		fmt.Println(err.Error())
		os.Exit(1)
	}

	env, err := envFromSettings()
	if err != nil {
		fmt.Println(err.Error())
		os.Exit(1)
	}

	Migrate(env)

	storageList := makeStorage(env)
	// Create service
	service := goa.New("API")

	// Setup middleware
	service.Use(middleware.RequestID())
	service.Use(middleware.LogRequest(true))
	service.Use(middleware.ErrorHandler(service, true))
	service.Use(middleware.Recover())
	spec := &jwt.Specification{
		AllowParam:       false,
		AuthOptions:      false,
		TTLMinutes:       60,
		Issuer:           "congo.gopheracademy.com",
		KeySigningMethod: jwt.RSA256,
		SigningKeyFunc:   privateKey,
		ValidationFunc:   pubKey,
	}

	tm := jwt.NewTokenManager(spec)

	pubkey, err := readPubKey()
	if err != nil {
		panic(err)
	}
	pk, err := jg.ParseRSAPublicKeyFromPEM(pubkey)
	if err != nil {
		panic(err)
	}
	app.ConfigureJWTSecurity(service, mjwt.New(pk, nil))
	app.ConfigurePasswordSecurity(service, BasicAuth(env))
	// Mount "adminuser" controller
	c := NewAdminuserController(service)
	app.MountAdminuserController(service, c)
	// Mount "auth" controller
	c2 := NewAuthController(service, env, tm, spec)
	app.MountAuthController(service, c2)
	// Mount "event" controller
	c3 := NewEventController(service, storageList, env)
	app.MountEventController(service, c3)
	// Mount "healthz" controller
	c4 := NewHealthzController(service)
	app.MountHealthzController(service, c4)
	// Mount "series" controller
	c5 := NewSeriesController(service, storageList, env)
	app.MountSeriesController(service, c5)
	// Mount "tenant" controller
	c6 := NewTenantController(service, storageList, env)
	app.MountTenantController(service, c6)
	// Mount "user" controller
	c7 := NewUserController(service, storageList, env)
	app.MountUserController(service, c7)
	// Mount "validate" controller
	c8 := NewValidateController(service)
	app.MountValidateController(service, c8)
	// Mount Swagger spec provider controller
	swagger.MountController(service)

	go service.ListenAndServe(":18081")

	status := m.Run()
	service.CancelAll()
	os.Exit(status)
}

func TestTenantsNoAuth(t *testing.T) {
	tenantsUrl := "http://localhost:18081/api/tenants"

	request, err := http.NewRequest("GET", tenantsUrl, reader) //Create request with JSON body

	res, err := http.DefaultClient.Do(request)

	if err != nil {
		t.Error(err) //Something is wrong while sending request
	}

	if res.StatusCode != 401 {
		t.Errorf("expected: %d got %d", 401, res.StatusCode) //Uh-oh this means our test failed
	}
}

func TestTenantsWithAuth(t *testing.T) {
	token, err := getToken()
	if err != nil {
		t.Error(err)
	}
	tenantsUrl := "http://localhost:18081/api/tenants"

	request, err := http.NewRequest("GET", tenantsUrl, reader) //Create request with JSON body
	request.Header.Add("Authorization", "Bearer "+token)
	res, err := http.DefaultClient.Do(request)

	if err != nil {
		t.Error(err) //Something is wrong while sending request
	}

	if res.StatusCode != 200 {
		t.Errorf("expected: %d got %d", 200, res.StatusCode) //Uh-oh this means our test failed
	}

	var a app.TenantCollection
	err = json.NewDecoder(res.Body).Decode(&a)
	if err != nil {
		t.Error(err)
	}

	if len(a) < 1 {
		t.Errorf("expected a tenant, got none")
	}
	pretty.Println(a)

}

func TestAuth(t *testing.T) {

	token, err := getToken()

	if err != nil {
		t.Error(err)
	}
	if len(token) < 1 {
		t.Error("Expected a token, got %s", token)
	}
	fmt.Println(token)

}

func getToken() (string, error) {

	authurl := "http://localhost:18081/api/auth/token"

	request, err := http.NewRequest("POST", authurl, reader) //Create request with JSON body
	request.SetBasicAuth("bketelsen@gmail.com", "GopherCon")
	res, err := http.DefaultClient.Do(request)

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

	if res.StatusCode != 201 {
		return "", err
	}

	defer res.Body.Close()
	var a app.Authorize
	err = json.NewDecoder(res.Body).Decode(&a)
	return *a.AccessToken, err

}

repository: digideskio/congo

repo_name: digideskio/congo


text:
DESCRIPTION = "Secure ftp daemon"
SECTION = "console/network"
LICENSE = "GPL"
PR = "r0"

SRC_URI = "ftp://ftp.nl.uu.net/pub/unix/ftp/proftpd/ftp/distrib/source/${PN}-${PV}.tar.gz;name=src \
	file://make.patch \
	"
SRC_URI[src.md5sum] = "4ecb82cb1050c0e897d5343f6d2cc1ed"
SRC_URI[src.sha256sum] = "7c7f295944e8e7c85060829deeaed74f3f0b36c8f1d3936277d59bbea5d60093"

EXTRA_OECONF = "ac_cv_func_setpgrp_void=yes ac_cv_func_setgrent_void=yes"
LDFLAGS += "-Llib"
PARALLEL_MAKE = ""

do_configure () {
	 ./configure \
		   --disable-auth-pam \
                   --build=${BUILD_SYS} \
                   --host=${HOST_SYS} \
                   --target=${TARGET_SYS} \
                   --prefix=/usr \
		   --sysconfdir=/etc \
		   --sharedstatedir=/com \
		   --localstatedir=/var \
                   ${EXTRA_OECONF} \
                   $@;
}

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

pkg_postinst () {
	# more chown's might be needed
        chown root:root /usr/sbin/proftpd
}

repository: overo/overo-oe-natty

repo_name: overo/overo-oe-natty