text:
8.10.003}
}

@incollection{Popham_2016,
 author = {Popham, Holly J. R. and Nusawardani, Tyasning and Bonning, Bryony C.},
 title = {Introduction to the Use of Baculoviruses as Biological Insecticides},
 publisher = {Springer New York},
 year = {2016},
 pages = {383--392},
 url = {https://doi.org/10.1007%2F978-1-4939-3043-2_19},
 doi = {10.1007/978-1-4939-3043-2_19},
 booktitle = {Methods in Molecular Biology}
}

@article{Rauniyar_2014,
 author = {Rauniyar, Navin and Yates, John R.},
 title = {Isobaric Labeling-Based Relative Quantification in Shotgun Proteomics},
 journal = {Journal of Proteome Research},
 publisher = {American Chemical Society (ACS)},
 year = {2014},
 month = {nov},
 number = {12},
 volume = {13},
 pages = {5293--5309},
 url = {https://doi.org/10.1021%2Fpr500880b},
 doi = {10.1021/pr500880b}
}

@article{Rausch_2012,
 author = {Rausch, T. and Zichner, T. and Schlattl, A. and Stutz, A. M. and Benes, V. and Korbel, J. O.},
 title = {DELLY: structural variant discovery by integrated paired-end and split-read analysis},
 journal = {Bioinformatics},
 publisher = {Oxford University Press (OUP)},
 year = {2012},
 month = {sep},
 number = {18},
 volume = {28},
 pages = {i333--i339},
 url = {https://doi.org/10.1093%2Fbioinformatics%2Fbts378},
 doi = {10.1093/bioinformatics/bts378}
}

@article{Rawlings_2013,
 author = {Rawlings, Neil D. and Waller, Matthew and Barrett, Alan J. and Bateman, Alex},
 title = {MEROPS: the database of proteolytic enzymes, their substrates and inhibitors},
 journal = {Nucleic Acids Research},
 publisher = {Oxford University Press (OUP)},
 year = {2013},
 month = {oct},
 number = {D1},
 volume = {42},
 pages = {D503--D509},
 url = {https://doi.org/10.1093%2Fnar%2Fgkt953},
 doi = {10.1093/nar/gkt953}
}

@article{Renner_2017,
 author = {Renner, Daniel W. and Szpara, Moriah L.},
 title = {Impacts of Genome-Wide Analyses on Our Understanding of Human Herpesvirus Diversity and Evolution},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2017},
 month = {oct},
 number = {1},
 volume = {92},
 url = {https://doi.org/10.1128%2Fjvi.00908-17},
 doi = {10.1128/jvi.00908-17},
 editor = {Glaunsinger, Britt A.}
}

@article{Rezelj_2018,
 author = {Rezelj, Veronica V and Levi, Laura I and Vignuzzi, Marco},
 title = {The defective component of viral populations},
 journal = {Current Opinion in Virology},
 publisher = {Elsevier BV},
 year = {2018},
 month = {dec},
 volume = {33},
 pages = {74--80},
 url = {https://doi.org/10.1016%2Fj.coviro.2018.07.014},
 doi = {10.1016/j.coviro.2018.07.014}
}

@article{Rodrigues_2020,
 author = {Rodrigues, Daniela T. and Peterson, Lenen and de Oliveira, Lucas Boeni and Sosa-Gómez, Daniel R. and Ribeiro, Bergmann Morais and Ardisson-Araújo, Daniel M. P.},
 title = {Characterization of a novel alphabaculovirus isolated from the Southern armyworm, Spodoptera eridania (Cramer, 1782) (Lepidoptera: Noctuidae) and the evolution of odv-e66, a bacterium-acquired baculoviral chondroitinase gene},
 journal = {Genomics},
 publisher = {Elsevier BV},
 year = {2020},
 month = {nov},
 number = {6},
 volume = {112},
 pages = {3903--3914},
 url = {https://doi.org/10.1016%2Fj.ygeno.2020.06.047},
 doi = {10.1016/j.ygeno.2020.06.047}
}

@article{Rohrmann_2014,
 author = {Rohrmann, George F.},
 title = {Baculovirus nucleocapsid aggregation ({MNPV} vs {SNPV}): an evolutionary strategy, or a product of replication conditions?},
 journal = {Virus Genes},
 publisher = {Springer Science and Business Media {LLC}},
 year = {2014},
 month = {sep},
 number = {3},
 volume = {49},
 pages = {351--357},
 url = {https://doi.org/10.1007%2Fs11262-014-1113-5},
 doi = {10.1007/s11262-014-1113-5}
}

@book{Rohrmann_2019,
 author = {Rohrmann, George F.},
 title = {Baculovirus Molecular Biology 4th edition},
 publisher = {National Center for Biotechnology Information (US)},
 year = {2019},
 url = {https://www.ncbi.nlm.nih.gov/books/NBK543458/},
 adress = {Bethesda (MD)}
}

@article{Salvador_2012,
 author = {Salvador, Ricardo and Ferrelli, M. Leticia and Berretta, Marcelo F. and Mitsuhashi, Wataru and Biedma, Marina E. and Romanowski, Víctor and Sciocco-Cap, Alicia},
 title = {Analysis of EpapGV gp37 gene reveals a close relationship between granulovirus and entomopoxvirus},
 journal = {Virus Genes},
 publisher = {Springer Science and Business Media LLC},
 year = {2012},
 month = {aug},
 number = {3},
 volume = {45},
 pages = {610--613},
 url = {https://doi.org/10.1007%2Fs11262-012-0800-3},
 doi = {10.1007/s11262-012-0800-3}
}

@article{Sayers_2010,
 author = {Sayers, E. W. and Barrett, T. and Benson, D. A. and Bolton, E. and Bryant, S. H. and Canese, K. and Chetvernin, V. and Church, D. M. and DiCuccio, M. and Federhen, S. and Feolo, M. and Fingerman, I. M. and Geer, L. Y. and Helmberg, W. and Kapustin, Y. and Landsman, D. and Lipman, D. J. and Lu, Z. and Madden, T. L. and Madej, T. and Maglott, D. R. and Marchler-Bauer, A. and Miller, V. and Mizrachi, I. and Ostell, J. and Panchenko, A. and Phan, L. and Pruitt, K. D. and Schuler, G. D. and Sequeira, E. and Sherry, S. T. and Shumway, M. and Sirotkin, K. and Slotta, D. and Souvorov, A. and Starchenko, G. and Tatusova, T. A. and Wagner, L. and Wang, Y. and Wilbur, W. J. and Yaschenko, E. and Ye, J.},
 title = {Database resources of the National Center for Biotechnology Information},
 journal = {Nucleic Acids Research},
 publisher = {Oxford University Press (OUP)},
 year = {2010},
 month = {nov},
 number = {Database},
 volume = {39},
 pages = {D38--D51},
 url = {https://doi.org/10.1093%2Fnar%2Fgkq1172},
 doi = {10.1093/nar/gkq1172}
}

@article{Sciocco_Cap_2001,
 author = {Sciocco-Cap, Alicia and Parola, Alejandro D. and Goldberg, Alina V. and Ghiringhelli, Pablo D. and Romanowski, Victor},
 title = {Characterization of a Granulovirus Isolated from Epinotia aporema Wals. (Lepidoptera: Tortricidae) Larvae},
 journal = {Applied and Environmental Microbiology},
 publisher = {American Society for Microbiology},
 year = {2001},
 month = {aug},
 number = {8},
 volume = {67},
 pages = {3702--3706},
 url = {https://doi.org/10.1128%2Faem.67.8.3702-3706.2001},
 doi = {10.1128/aem.67.8.3702-3706.2001}
}

@article{Serrano_2012,
 author = {Serrano, Amaya and Williams, Trevor and Simón, Oihane and López-Ferber, Miguel and Caballero, Primitivo and Muñoz, Delia},
 title = {Analagous Population Structures for Two Alphabaculoviruses Highlight a Functional Role for Deletion Mutants},
 journal = {Applied and Environmental Microbiology},
 publisher = {American Society for Microbiology},
 year = {2012},
 month = {nov},
 number = {4},
 volume = {79},
 pages = {1118--1125},
 url = {https://doi.org/10.1128%2Faem.03021-12},
 doi = {10.1128/aem.03021-12}
}

@article{Shapiro_2000,
 author = {Shapiro, Martin},
 title = {Effect of Two Granulosis Viruses on the Activity of the Gypsy Moth (Lepidoptera: Lymantriidae) Nuclear Polyhedrosis Virus},
 journal = {Journal of Economic Entomology},
 publisher = {Oxford University Press (OUP)},
 year = {2000},
 month = {dec},
 number = {6},
 volume = {93},
 pages = {1633--1637},
 url = {https://doi.org/10.1603%2F0022-0493-93.6.1633},
 doi = {10.1603/0022-0493-93.6.1633}
}

@article{Shi_2017,
 author = {Shi, Anqi and Hu, Zhaoyang and Zuo, Yachao and Wang, Yan and Wu, Wenbi and Yuan, Meijin and Yang, Kai},
 title = {Autographa californica Nucleopolyhedrovirus ac75 is Required for the Nuclear Egress of Nucleocapsids and Intranuclear Microvesicle Formation},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2017},
 month = {dec},
 pages = {JVI.01509--17},
 url = {https://doi.org/10.1128%2Fjvi.01509-17},
 doi = {10.1128/jvi.01509-17}
}

@article{Silver_2019,
 author = {Silver, Andrew},
 title = {Caterpillar's devastating march across China spurs hunt for native predator},
 journal = {Nature},
 publisher = {Springer Science and Business Media LLC},
 year = {2019},
 month = {jun},
 number = {7761},
 volume = {570},
 pages = {286--287},
 url = {https://doi.org/10.1038%2Fd41586-019-01867-3},
 doi = {10.1038/d41586-019-01867-3}
}

@article{Sim_n_2011,
 author = {Simón, Oihane and Palma, Leopoldo and Beperet, Inés and Muñoz, Delia and López-Ferber, Miguel and Caballero, Primitivo and Williams, Trevor},
 title = {Sequence comparison between three geographically distinct Spodoptera frugiperda multiple nucleopolyhedrovirus isolates: Detecting positively selected genes},
 journal = {Journal of Invertebrate Pathology},
 publisher = {Elsevier BV},
 year = {2011},
 month = {may},
 number = {1},
 volume = {107},
 pages = {33--42},
 url = {https://doi.org/10.1016%2Fj.jip.2011.01.002},
 doi = {10.1016/j.jip.2011.01.002}
}

@article{Sim_n_2012,
 author = {Simón, Oihane and Palma, Leopoldo and Williams, Trevor and López-Ferber, Miguel and Caballero, Primitivo},
 title = {Analysis of a naturally-occurring deletion mutant of Spodoptera frugiperda multiple nucleopolyhedrovirus reveals sf58 as a new per os infectivity factor of lepidopteran-infecting baculoviruses},
 journal = {Journal of Invertebrate Pathology},
 publisher = {Elsevier BV},
 year = {2012},
 month = {jan},
 number = {1},
 volume = {109},
 pages = {117--126},
 url = {https://doi.org/10.1016%2Fj.jip.2011.10.010},
 doi = {10.1016/j.jip.2011.10.010}
}

@article{Sim_n_2012a,
 author = {Simón, Oihane and Williams, Trevor and López-Ferber, Miguel and Caballero, Primitivo},
 title = {Deletion of egt is responsible for the fast-killing phenotype of natural deletion genotypes in a Spodoptera frugiperda multiple nucleopolyhedrovirus population},
 journal = {Journal of Invertebrate Pathology},
 publisher = {Elsevier BV},
 year = {2012},
 month = {nov},
 number = {3},
 volume = {111},
 pages = {260--263},
 url = {https://doi.org/10.1016%2Fj.jip.2012.08.013},
 doi = {10.1016/j.jip.2012.08.013}
}

@article{Simo_n_2004,
 author = {Simón, Oihane and Williams, Trevor and Lopez-Ferber, Miguel and Caballero, Primitivo},
 title = {Genetic Structure of a Spodoptera frugiperda Nucleopolyhedrovirus Population: High Prevalence of Deletion Genotypes},
 journal = {Applied and Environmental Microbiology},
 publisher = {American Society for Microbiology},
 year = {2004},
 month = {sep},
 number = {9},
 volume = {70},
 pages = {5579--5588},
 url = {https://doi.org/10.1128%2Faem.70.9.5579-5588.2004},
 doi = {10.1128/aem.70.9.5579-5588.2004}
}

@article{Simo_n_2008,
 author = {Simoń, Oihane and Williams, Trevor and Asensio, Aaron C. and Ros, Sarhay and Gaya, Andrea and Caballero, Primitivo and Possee, Robert D.},
 title = {Sf29 Gene of Spodoptera frugiperda Multiple Nucleopolyhedrovirus Is a Viral Factor That Determines the Number of Virions in Occlusion Bodies},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2008},
 month = {jun},
 number = {16},
 volume = {82},
 pages = {7897--7904},
 url = {https://doi.org/10.1128%2Fjvi.00099-08},
 doi = {10.1128/jvi.00099-08}
}

@incollection{Slack_2006,
 author = {Slack, Jeffery and Arif, Basil M.},
 title = {The Baculoviruses Occlusion-Derived Virus: Virion Structure and Function},
 publisher = {Elsevier},
 year = {2006},
 pages = {99--165},
 url = {https://doi.org/10.1016%2Fs0065-3527%2806%2969003-9},
 doi = {10.1016/s0065-3527(06)69003-9},
 booktitle = {Advances in Virus Research}
}

@article{Slavicek_2005,
 author = {Slavicek, James M. and Popham, Holly J. R.},
 title = {The Lymantria dispar Nucleopolyhedrovirus Enhancins Are Components of Occlusion-Derived Virus},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2005},
 month = {aug},
 number = {16},
 volume = {79},
 pages = {10578--10588},
 url = {https://doi.org/10.1128%2Fjvi.79.16.10578-10588.2005},
 doi = {10.1128/jvi.79.16.10578-10588.2005}
}

@article{Smith_2015,
 author = {Smith, Martin D. and Wertheim, Joel O. and Weaver, Steven and Murrell, Ben and Scheffler, Konrad and Pond, Sergei L. Kosakovsky},
 title = {Less Is More: An Adaptive Branch-Site Random Effects Model for Efficient Detection of Episodic Diversifying Selection},
 journal = {Molecular Biology and Evolution},
 publisher = {Oxford University Press (OUP)},
 year = {2015},
 month = {feb},
 number = {5},
 volume = {32},
 pages = {1342--1353},
 url = {https://doi.org/10.1093%2Fmolbev%2Fmsv022},
 doi = {10.1093/molbev/msv022}
}

@article{Sparks_1979,
 author = {Sparks, Alton N.},
 title = {A Review of the Biology of the Fall Armyworm},
 journal = {The Florida Entomologist},
 publisher = {{JSTOR}},
 year = {1979},
 month = {jun},
 number = {2},
 volume = {62},
 pages = {82},
 url = {https://doi.org/10.2307%2F3494083},
 doi = {10.2307/3494083}
}

@article{Stenberg_2017,
 author = {Stenberg, Johan A.},
 title = {A Conceptual Framework for Integrated Pest Management},
 journal = {Trends in Plant Science},
 publisher = {Elsevier {BV}},
 year = {2017},
 month = {sep},
 number = {9},
 volume = {22},
 pages = {759--769},
 url = {https://doi.org/10.1016%2Fj.tplants.2017.06.010},
 doi = {10.1016/j.tplants.2017.06.010}
}

@article{Stokstad_2017,
 author = {Stokstad, Erik},
 title = {New crop pest takes Africa at lightning speed},
 journal = {Science},
 publisher = {American Association for the Advancement of Science (AAAS)},
 year = {2017},
 month = {may},
 number = {6337},
 volume = {356},
 pages = {473--474},
 url = {https://doi.org/10.1126%2Fscience.356.6337.473},
 doi = {10.1126/science.356.6337.473}
}

@incollection{Summers_2006,
 author = {Summers, Max D.},
 title = {Milestones Leading to the Genetic Engineering of Baculoviruses as Expression Vector Systems and Viral Pesticides},
 publisher = {Elsevier},
 year = {2006},
 pages = {3--73},
 url = {https://doi.org/10.1016%2Fs0065-3527%2806%2968001-9},
 doi = {10.1016/s0065-3527(06)68001-9},
 booktitle = {Advances in Virus Research}
}

@article{Szewczyk_2006,
 author = {Szewczyk, Boguslaw and Hoyos-Carvajal, Liliana and Paluszek, Maria and Skrzecz, Iwona and de Souza, Marlinda Lobo},
 title = {Baculoviruses {\textemdash} re-emerging biopesticides},
 journal = {Biotechnology Advances},
 publisher = {Elsevier {BV}},
 year = {2006},
 month = {mar},
 number = {2},
 volume = {24},
 pages = {143--160},
 url = {https://doi.org/10.1016%2Fj.biotechadv.2005.09.001},
 doi = {10.1016/j.biotechadv.2005.09.001}
}

@inbook{Sánchez2008,
 author = {S{\'a}nchez, Norma E. and Pereyra, Patricia C.},
 title = {Neotropical Soybean Budborer, Crocidosema aporema (Walsingham, 1914) (Lepidoptera: Tortricidae)},
 publisher = {Springer Netherlands},
 year = {2008},
 pages = {2587--2588},
 url = {https://doi.org/10.1007/978-1-4020-6359-6_2186},
 doi = {10.1007/978-1-4020-6359-6_2186},
 address = {Dordrecht},
 booktitle = {Encyclopedia of Entomology},
 editor = {Capinera, John L.},
 isbn = {978-1-4020-6359-6}
}

@article{Tan_2009,
 author = {Tan, Yeping and Bideshi, Dennis K. and Johnson, Jeffrey J. and Bigot, Yves and Federici, Brian A.},
 title = {Proteomic analysis of the Spodoptera frugiperda ascovirus 1a virion reveals 21 proteins},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {2009},
 month = {feb},
 number = {2},
 volume = {90},
 pages = {359--365},
 url = {https://doi.org/10.1099%2Fvir.0.005934-0},
 doi = {10.1099/vir.0.005934-0}
}

@article{Tao_2013,
 author = {Tao, X. Y. and Choi, J. Y. and Kim, W. J. and Lee, J. H. and Liu, Q. and Kim, S. E. and An, S. B. and Lee, S. H. and Woo, S. D. and Jin, B. R. and Je, Y. H.},
 title = {The Autographa californica Multiple Nucleopolyhedrovirus ORF78 Is Essential for Budded Virus Production and General Occlusion Body Formation},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2013},
 month = {may},
 number = {15},
 volume = {87},
 pages = {8441--8450},
 url = {https://doi.org/10.1128%2Fjvi.01290-13},
 doi = {10.1128/jvi.01290-13}
}

@article{Th_z__2015,
 author = {Thézé, Julien and Takatsuka, Jun and Nakai, Madoka and Arif, Basil and Herniou, Elisabeth},
 title = {Gene Acquisition Convergence between Entomopoxviruses  and Baculoviruses},
 journal = {Viruses},
 publisher = {MDPI AG},
 year = {2015},
 month = {apr},
 number = {4},
 volume = {7},
 pages = {1960--1974},
 url = {https://doi.org/10.3390%2Fv7041960},
 doi = {10.3390/v7041960}
}

@article{Th_z__2018,
 author = {Th{\'{e}}z{\'{e}}, Julien and Lopez-Vaamonde, Carlos and Cory, Jenny and Herniou, Elisabeth},
 title = {Biodiversity, Evolution and Ecological Specialization of Baculoviruses: A Treasure Trove for Future Applied Research},
 journal = {Viruses},
 publisher = {{MDPI} {AG}},
 year = {2018},
 month = {jul},
 number = {7},
 volume = {10},
 pages = {366},
 url = {https://doi.org/10.3390%2Fv10070366},
 doi = {10.3390/v10070366}
}

@article{Theze_2011,
 author = {Theze, J. and Bezier, A. and Periquet, G. and Drezen, J. -M. and Herniou, E. A.},
 title = {Paleozoic origin of insect large {dsDNA} viruses},
 journal = {Proceedings of the National Academy of Sciences},
 publisher = {Proceedings of the National Academy of Sciences},
 year = {2011},
 month = {sep},
 number = {38},
 volume = {108},
 pages = {15931--15935},
 url = {https://doi.org/10.1073%2Fpnas.1105580108},
 doi = {10.1073/pnas.1105580108}
}

@article{Thiem_1989,
 author = {Thiem, S M and Miller, L K},
 title = {Identification, sequence, and transcriptional mapping of the major capsid protein gene of the baculovirus Autographa californica nuclear polyhedrosis virus.},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {1989},
 number = {5},
 volume = {63},
 pages = {2008--2018},
 url = {https://doi.org/10.1128%2Fjvi.63.5.2008-2018.1989},
 doi = {10.1128/jvi.63.5.2008-2018.1989}
}

@incollection{Thompson_2016,
 author = {Thompson, Christine M. and Montes, Johnny and Aucoin, Marc G. and Kamen, Amine A.},
 title = {Recombinant Protein Production in Large-Scale Agitated Bioreactors Using the Baculovirus Expression Vector System},
 publisher = {Springer New York},
 year = {2016},
 pages = {241--261},
 url = {https://doi.org/10.1007%2F978-1-4939-3043-2_11},
 doi = {10.1007/978-1-4939-3043-2_11},
 booktitle = {Methods in Molecular Biology}
}

@article{Tweeten_1980,
 author = {Tweeten, Kathleen A. and Bulla, Lee A. and Consigli, Richard A.},
 title = {Characterization of an Extremely Basic Protein Derived from Granulosis Virus Nucleocapsids {\textdagger}},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {1980},
 number = {2},
 volume = {33},
 pages = {866--876},
 url = {https://doi.org/10.1128%2Fjvi.33.2.866-876.1980},
 doi = {10.1128/jvi.33.2.866-876.1980}
}

@article{van_der_Merwe_2017,
 author = {van der Merwe, Marcel and Jukes, Michael and Rabalski, Lukasz and Knox, Caroline and Opoku-Debrah, John and Moore, Sean and Krejmer-Rabalska, Martyna and Szewczyk, Boguslaw and Hill, Martin},
 title = {Genome Analysis and Genetic Stability of the Cryptophlebia leucotreta Granulovirus ({CrleGV}-{SA}) after 15 Years of Commercial Use as a Biopesticide},
 journal = {International Journal of Molecular Sciences},
 publisher = {{MDPI} {AG}},
 year = {2017},
 month = {nov},
 number = {11},
 volume = {18},
 pages = {2327},
 url = {https://doi.org/10.3390%2Fijms18112327},
 doi = {10.3390/ijms18112327}
}

@article{van_Oers_2007,
 author = {van Oers, Monique and Vlak, Just},
 title = {Baculovirus Genomics},
 journal = {Current Drug Targets},
 publisher = {Bentham Science Publishers Ltd.},
 year = {2007},
 month = {oct},
 number = {10},
 volume = {8},
 pages = {1051--1068},
 url = {https://doi.org/10.2174%2F138945007782151333},
 doi = {10.2174/138945007782151333}
}

@article{van_Oers_2015,
 author = {van Oers, Monique M. and Pijlman, Gorben P. and Vlak, Just M.},
 title = {Thirty years of baculovirus–insect cell protein expression: from dark horse to mainstream technology},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {2015},
 month = {jan},
 number = {1},
 volume = {96},
 pages = {6--23},
 url = {https://doi.org/10.1099%2Fvir.0.067108-0},
 doi = {10.1099/vir.0.067108-0}
}

@article{Vanarsdall_2004,
 author = {Vanarsdall, Adam L and Okano, Kazuhiro and Rohrmann, G. F},
 title = {Characterization of a baculovirus with a deletion of vlf-1},
 journal = {Virology},
 publisher = {Elsevier BV},
 year = {2004},
 month = {aug},
 number = {1},
 volume = {326},
 pages = {191--201},
 url = {https://doi.org/10.1016%2Fj.virol.2004.06.003},
 doi = {10.1016/j.virol.2004.06.003}
}

@article{Vidick_2013,
 author = {Vidick, Sarah and Leroy, Baptiste and Palmeira, Leonor and Machiels, B{\'{e}}n{\'{e}}dicte and Mast, Jan and Fran{\c{c}}ois, Sylvie and Wattiez, Ruddy and Vanderplasschen, Alain and Gillet, Laurent},
 title = {Proteomic Characterization of Murid Herpesvirus 4 Extracellular Virions},
 journal = {{PLoS} {ONE}},
 publisher = {Public Library of Science ({PLoS})},
 year = {2013},
 month = {dec},
 number = {12},
 volume = {8},
 pages = {e83842},
 url = {https://doi.org/10.1371%2Fjournal.pone.0083842},
 doi = {10.1371/journal.pone.0083842},
 editor = {Favoreel, Herman}
}

@article{Vieira_2012,
 author = {Vieira, Corina M. and Tuelher, Edmar S. and Valicente, Fernando H. and Wolff, Jos{\'{e}} Luiz Caldas},
 title = {Characterization of a Spodoptera frugiperda multiple nucleopolyhedrovirus isolate that does not liquefy the integument of infected larvae},
 journal = {Journal of Invertebrate Pathology},
 publisher = {Elsevier {BV}},
 year = {2012},
 month = {oct},
 number = {2},
 volume = {111},
 pages = {189--192},
 url = {https://doi.org/10.1016%2Fj.jip.2012.07.010},
 doi = {10.1016/j.jip.2012.07.010}
}

@article{Villamizar_2009,
 author = {Villamizar, Laura and Barrera, Gloria and Cotes, Alba Marina and Mart{\'{\i}}nez, Fleming},
 title = {Eudragit S100 microparticles containing Spodoptera frugiperda nucleopolyhedrovirus: Physico-chemical characterization, photostability and in vitro virus release},
 journal = {Journal of Microencapsulation},
 publisher = {Informa {UK} Limited},
 year = {2009},
 month = {oct},
 number = {4},
 volume = {27},
 pages = {314--324},
 url = {https://doi.org/10.3109%2F02652040903191826},
 doi = {10.3109/02652040903191826}
}

@article{Wan_2017,
 author = {Wan, Peng and Xu, Dong and Cong, Shengbo and Jiang, Yuying and Huang, Yunxin and Wang, Jintao and Wu, Huaiheng and Wang, Ling and Wu, Kongming and Carrière, Yves and Mathias, Andrea and Li, Xianchun and Tabashnik, Bruce E.},
 title = {Hybridizing transgenic Bt cotton with non-Bt cotton counters resistance in pink bollworm},
 journal = {Proceedings of the National Academy of Sciences},
 publisher = {Proceedings of the National Academy of Sciences},
 year = {2017},
 month = {may},
 number = {21},
 volume = {114},
 pages = {5413--5418},
 url = {https://doi.org/10.1073%2Fpnas.1700396114},
 doi = {10.1073/pnas.1700396114}
}

@article{Wang_1997,
 author = {Wang, P. and Granados, R. R.},
 title = {An intestinal mucin is the target substrate for a baculovirus enhancin},
 journal = {Proceedings of the National Academy of Sciences},
 publisher = {Proceedings of the National Academy of Sciences},
 year = {1997},
 month = {jun},
 number = {13},
 volume = {94},
 pages = {6977--6982},
 url = {https://doi.org/10.1073%2Fpnas.94.13.6977},
 doi = {10.1073/pnas.94.13.6977}
}

@article{Wang_2007,
 author = {Wang, Yongjie and Kleespies, Regina G. and Huger, Alois M. and Jehle, Johannes A.},
 title = {The Genome of Gryllus bimaculatus Nudivirus Indicates an Ancient Diversification of Baculovirus-Related Nonoccluded Nudiviruses of Insects},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2007},
 month = {mar},
 number = {10},
 volume = {81},
 pages = {5395--5406},
 url = {https://doi.org/10.1128%2Fjvi.02781-06},
 doi = {10.1128/jvi.02781-06}
}

@article{Wang_2010,
 author = {Wang, RanRan and Deng, Fei and Hou, Dianhai and Zhao, Yong and Guo, Lin and Wang, Hualin and Hu, Zhihong},
 title = {Proteomics of the Autographa californica Nucleopolyhedrovirus Budded Virions},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2010},
 month = {may},
 number = {14},
 volume = {84},
 pages = {7233--7242},
 url = {https://doi.org/10.1128%2Fjvi.00040-10},
 doi = {10.1128/jvi.00040-10}
}

@article{Wang_2011,
 author = {Wang, Xiao-Feng and Zhang, Bao-Qin and Xu, Hai-Jun and Cui, Ying-Jun and Xu, Yi-Peng and Zhang, Min-Juan and Han, Yeon Soo and Lee, Yong Seok and Bao, Yan-Yuan and Zhang, Chuan-Xi},
 title = {ODV-Associated Proteins of the Pieris rapaeGranulovirus},
 journal = {Journal of Proteome Research},
 publisher = {American Chemical Society ({ACS})},
 year = {2011},
 month = {jun},
 number = {6},
 volume = {10},
 pages = {2817--2827},
 url = {https://doi.org/10.1021%2Fpr2000804},
 doi = {10.1021/pr2000804}
}

@article{Wang_2013,
 author = {Wang, M. and Wang, J. and Yin, F. and Tan, Y. and Deng, F. and Chen, X. and Jehle, J. A. and Vlak, J. M. and Hu, Z. and Wang, H.},
 title = {Unraveling the Entry Mechanism of Baculoviruses and Its Evolutionary Implications},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2013},
 month = {dec},
 number = {4},
 volume = {88},
 pages = {2301--2311},
 url = {https://doi.org/10.1128%2Fjvi.03204-13},
 doi = {10.1128/jvi.03204-13}
}

@article{Wang_2015,
 author = {Wang, Yun and Zhang, Yongli and Han, Shili and Hu, Xue and Zhou, Yuan and Mu, Jingfang and Pei, Rongjuan and Wu, Chunchen and Chen, Xinwen},
 title = {Identification of a Novel Regulatory Sequence of Actin Nucleation Promoting Factor Encoded by Autographa californica Multiple Nucleopolyhedrovirus},
 journal = {Journal of Biological Chemistry},
 publisher = {Elsevier {BV}},
 year = {2015},
 month = {apr},
 number = {15},
 volume = {290},
 pages = {9533--9541},
 url = {https://doi.org/10.1074%2Fjbc.m114.635441},
 doi = {10.1074/jbc.m114.635441}
}

@article{Wang_2016,
 author = {Wang, Qiushi and Bosch, Berend-Jan and Vlak, Just M. and van Oers, Monique M. and Rottier, Peter J. and van Lent, Jan W. M.},
 title = {Budded baculovirus particle structure revisited},
 journal = {Journal of Invertebrate Pathology},
 publisher = {Elsevier {BV}},
 year = {2016},
 month = {feb},
 volume = {134},
 pages = {15--22},
 url = {https://doi.org/10.1016%2Fj.jip.2015.12.001},
 doi = {10.1016/j.jip.2015.12.001}
}

@article{Wang_2019,
 author = {Wang, Xi and Shang, Yu and Chen, Cheng and Liu, Shurui and Chang, Meng and Zhang, Nan and Hu, Hengrui and Zhang, Fenghua and Zhang, Tao and Wang, Zhiying and Liu, Xijia and Lin, Zhe and Deng, Fei and Wang, Hualin and Zou, Zhen and Vlak, Just M. and Wang, Manli and Hu, Zhihong},
 title = {Baculovirus Per Os Infectivity Factor Complex: Components and Assembly},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2019},
 month = {jan},
 number = {6},
 volume = {93},
 url = {https://doi.org/10.1128%2Fjvi.02053-18},
 doi = {10.1128/jvi.02053-18},
 editor = {Sandri-Goldin, Rozanne M.}
}

@article{Wang_2020,
 author = {Wang, Wenqiang and Zhao, Huayao and Han, Guan-Zhu},
 title = {Host-Virus Arms Races Drive Elevated Adaptive Evolution in Viral Receptors},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2020},
 month = {jun},
 number = {16},
 volume = {94},
 url = {https://doi.org/10.1128%2Fjvi.00684-20},
 doi = {10.1128/jvi.00684-20},
 editor = {Parrish, Colin R.}
}

@article{Weaver_2018,
 author = {Weaver, Steven and Shank, Stephen D and Spielman, Stephanie J and Li, Michael and Muse, Spencer V and Pond, Sergei L Kosakovsky},
 title = {Datamonkey 2.0: A Modern Web Application for Characterizing Selective and Other Evolutionary Processes},
 journal = {Molecular Biology and Evolution},
 publisher = {Oxford University Press (OUP)},
 year = {2018},
 month = {jan},
 number = {3},
 volume = {35},
 pages = {773--777},
 url = {https://doi.org/10.1093%2Fmolbev%2Fmsx335},
 doi = {10.1093/molbev/msx335}
}

@article{Wennmann_2017,
 author = {Wennmann, Jörg and Radtke, Pit and Eberle, Karolin and Alletti, Gianpiero Gueli and Jehle, Johannes},
 title = {Deciphering Single Nucleotide Polymorphisms and Evolutionary Trends in Isolates of the Cydia pomonella granulovirus},
 journal = {Viruses},
 publisher = {MDPI AG},
 year = {2017},
 month = {aug},
 number = {8},
 volume = {9},
 pages = {227},
 url = {https://doi.org/10.3390%2Fv9080227},
 doi = {10.3390/v9080227}
}

@article{Westermann_2005,
 author = {Westermann, Stefan and Avila-Sakar, Agustin and Wang, Hong-Wei and Niederstrasser, Hanspeter and Wong, Jonathan and Drubin, David G. and Nogales, Eva and Barnes, Georjana},
 title = {Formation of a Dynamic Kinetochore- Microtubule Interface through Assembly of the Dam1 Ring Complex},
 journal = {Molecular Cell},
 publisher = {Elsevier BV},
 year = {2005},
 month = {jan},
 number = {2},
 volume = {17},
 pages = {277--290},
 url = {https://doi.org/10.1016%2Fj.molcel.2004.12.019},
 doi = {10.1016/j.molcel.2004.12.019}
}

@article{Williams_2017,
 author = {Williams, Trevor and Virto, Cristina and Murillo, Rosa and Caballero, Primitivo},
 title = {Covert Infection of Insects by Baculoviruses},
 journal = {Frontiers in Microbiology},
 publisher = {Frontiers Media {SA}},
 year = {2017},
 month = {jul},
 volume = {8},
 url = {https://doi.org/10.3389%2Ffmicb.2017.01337},
 doi = {10.3389/fmicb.2017.01337}
}

@article{Wilm_2012,
 author = {Wilm, Andreas and Aw, Pauline Poh Kim and Bertrand, Denis and Yeo, Grace Hui Ting and Ong, Swee Hoe and Wong, Chang Hua and Khor, Chiea Chuen and Petric, Rosemary and Hibberd, Martin Lloyd and Nagarajan, Niranjan},
 title = {LoFreq: a sequence-quality aware, ultra-sensitive variant caller for uncovering cell-population heterogeneity from high-throughput sequencing datasets},
 journal = {Nucleic Acids Research},
 publisher = {Oxford University Press (OUP)},
 year = {2012},
 month = {oct},
 number = {22},
 volume = {40},
 pages = {11189--11201},
 url = {https://doi.org/10.1093%2Fnar%2Fgks918},
 doi = {10.1093/nar/gks918}
}

@article{Winstanley_1993,
 author = {Winstanley, D. and Crook, N. E.},
 title = {Replication of Cydia pomonella granulosis virus in cell cultures},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {1993},
 month = {aug},
 number = {8},
 volume = {74},
 pages = {1599--1609},
 url = {https://doi.org/10.1099%2F0022-1317-74-8-1599},
 doi = {10.1099/0022-1317-74-8-1599}
}

@article{Wolff_2008,
 author = {Wolff, José Luiz Caldas and Valicente, Fernando Hercos and Martins, Renata and Castro Oliveira, Juliana Velasco de and Andrade Zanotto, Paolo Marinho de},
 title = {Analysis of the genome of Spodoptera frugiperda nucleopolyhedrovirus (SfMNPV-19) and of the high genomic heterogeneity in group II nucleopolyhedroviruses},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {2008},
 month = {may},
 number = {5},
 volume = {89},
 pages = {1202--1211},
 url = {https://doi.org/10.1099%2Fvir.0.83581-0},
 doi = {10.1099/vir.0.83581-0}
}

@article{Wolgamot_1993,
 author = {Wolgamot, G. M. and Gross, C. H. and Russell, R. L. Q. and Rohrmann, G. F.},
 title = {Immunocytochemical characterization of p24, a baculovirus capsid-associated protein},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {1993},
 month = {jan},
 number = {1},
 volume = {74},
 pages = {103--107},
 url = {https://doi.org/10.1099%2F0022-1317-74-1-103},
 doi = {10.1099/0022-1317-74-1-103}
}

@article{Wu_2008,
 author = {Wu, K. -M. and Lu, Y. -H. and Feng, H. -Q. and Jiang, Y. -Y. and Zhao, J. -Z.},
 title = {Suppression of Cotton Bollworm in Multiple Crops in China in Areas with Bt Toxin-Containing Cotton},
 journal = {Science},
 publisher = {American Association for the Advancement of Science (AAAS)},
 year = {2008},
 month = {sep},
 number = {5896},
 volume = {321},
 pages = {1676--1678},
 url = {https://doi.org/10.1126%2Fscience.1160550},
 doi = {10.1126/science.1160550}
}

@article{Wu_2010,
 author = {Wu, Wenbi and Passarelli, A. Lorena},
 title = {Autographa californica Multiple Nucleopolyhedrovirus Ac92 (ORF92, P33) Is Required for Budded Virus Production and Multiply Enveloped Occlusion-Derived Virus Formation},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2010},
 month = {sep},
 number = {23},
 volume = {84},
 pages = {12351--12361},
 url = {https://doi.org/10.1128%2Fjvi.01598-10},
 doi = {10.1128/jvi.01598-10}
}

@article{Xu_2011,
 author = {Xu, Fang and Ince, {\. {I}}kbal Agah and Boeren, Sjef and Vlak, Just M. and van Oers, Monique M.},
 title = {Protein composition of the occlusion derived virus of Chrysodeixis chalcites nucleopolyhedrovirus},
 journal = {Virus Research},
 publisher = {Elsevier {BV}},
 year = {2011},
 month = {jun},
 number = {1-2},
 volume = {158},
 pages = {1--7},
 url = {https://doi.org/10.1016%2Fj.virusres.2011.02.014},
 doi = {10.1016/j.virusres.2011.02.014}
}

@article{Yamamoto_1980,
 author = {Yamamoto, T. and Tanada, Y.},
 title = {Physicochemical properties and location of capsule components, in particular the synergistic factor, in the occlusion body of a granulosis virus of the armyworm, Pseudaletia unipuncta},
 journal = {Virology},
 publisher = {Elsevier BV},
 year = {1980},
 month = {dec},
 number = {2},
 volume = {107},
 pages = {434--440},
 url = {https://doi.org/10.1016%2F0042-6822%2880%2990310-4},
 doi = {10.1016/0042-6822(80)90310-4}
}

@article{Yang_2017,
 author = {Yang, Fei and Kerns, David L and Head, Graham P and Price, Paula and Huang, Fangneng},
 title = {Cross-resistance to purified Bt proteins, Bt corn and Bt cotton in a Cry2Ab2-corn resistant strain of Spodoptera frugiperda},
 journal = {Pest Management Science},
 publisher = {Wiley},
 year = {2017},
 month = {aug},
 number = {12},
 volume = {73},
 pages = {2495--2503},
 url = {https://doi.org/10.1002%2Fps.4644},
 doi = {10.1002/ps.4644}
}

@article{Yin_2008,
 author = {Yin, Feifei and Wang, Manli and Tan, Ying and Deng, Fei and Vlak, Just M. and Hu, Zhihong and Wang, Hualin},
 title = {A Functional F Analogue of Autographa californica Nucleopolyhedrovirus GP64 from the Agrotis segetum Granulovirus},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2008},
 month = {jun},
 number = {17},
 volume = {82},
 pages = {8922--8926},
 url = {https://doi.org/10.1128%2Fjvi.00493-08},
 doi = {10.1128/jvi.00493-08}
}

@article{Yuan_2008,
 author = {Yuan, Meijin and Wu, Wenbi and Liu, Chao and Wang, Yanjie and Hu, Zhaoyang and Yang, Kai and Pang, Yi},
 title = {A highly conserved baculovirus gene p48 (ac103) is essential for BV production and ODV envelopment},
 journal = {Virology},
 publisher = {Elsevier BV},
 year = {2008},
 month = {sep},
 number = {1},
 volume = {379},
 pages = {87--96},
 url = {https://doi.org/10.1016%2Fj.virol.2008.06.015},
 doi = {10.1016/j.virol.2008.06.015}
}

@article{Yuan_2011,
 author = {Yuan, M. and Huang, Z. and Wei, D. and Hu, Z. and Yang, K. and Pang, Y.},
 title = {Identification of Autographa californica Nucleopolyhedrovirus ac93 as a Core Gene and Its Requirement for Intranuclear Microvesicle Formation and Nuclear Egress of Nucleocapsids},
 journal = {Journal of Virology},
 publisher = {American Society for Microbiology},
 year = {2011},
 month = {aug},
 number = {22},
 volume = {85},
 pages = {11664--11674},
 url = {https://doi.org/10.1128%2Fjvi.05275-11},
 doi = {10.1128/jvi.05275-11}
}

@article{Zamora_Avil_s_2013,
 author = {Zamora-Avilés, N. and Alonso-Vargas, J. and Pineda, S. and Isaac-Figueroa, J. and Lobit, P. and Martínez-Castillo, A. M.},
 title = {Effects of a nucleopolyhedrovirus in mixtures with azadirachtin onSpodoptera frugiperda(J. E. Smith) (Lepidoptera: Noctuidae) larvae and viral occlusion body production},
 journal = {Biocontrol Science and Technology},
 publisher = {Informa UK Limited},
 year = {2013},
 month = {may},
 number = {5},
 volume = {23},
 pages = {521--534},
 url = {https://doi.org/10.1080%2F09583157.2013.788133},
 doi = {10.1080/09583157.2013.788133}
}

@article{Zhang_2015,
 author = {Zhang, Xiaoxia and Liang, Zhenpu and Yin, Xinming and Shao, Xinfeng},
 title = {Proteomic analysis of the occlusion-derived virus of Clostera anachoreta granulovirus},
 journal = {Journal of General Virology},
 publisher = {Microbiology Society},
 year = {2015},
 month = {aug},
 number = {8},
 volume = {96},
 pages = {2394--2404},
 url = {https://doi.org/10.1099%2Fvir.0.000146},
 doi = {10.1099/vir.0.000146}
}

@article{Zhao_2019,
 author = {Zhao, Shuling and He, Guanghui and Yang, Yiheng and Liang, Changyong},
 title = {Nucleocapsid Assembly of Baculoviruses},
 journal = {Viruses},
 publisher = {{MDPI} {AG}},
 year = {2019},
 month = {jul},
 number = {7},
 volume = {11},
 pages = {595},
 url = {https://doi.org/10.3390%2Fv11070595},
 doi = {10.3390/v11070595}
}

@article{Zhu_2014,
 author = {Zhu, Zheng and Yin, Feifei and Liu, Xiaoping and Hou, Dianhai and Wang, Jun and Zhang, Lei and Arif, Basil and Wang, Hualin and Deng, Fei and Hu, Zhihong},
 title = {Genome Sequence and Analysis of Buzura suppressaria Nucleopolyhedrovirus: A Group II Alphabaculovirus},
 journal = {PLoS ONE},
 publisher = {Public Library of Science (PLoS)},
 year = {2014},
 month = {jan},
 number = {1},
 volume = {9},
 pages = {e86450},
 url = {https://doi.org/10.1371%2Fjournal.pone.0086450},
 doi = {10.1371/journal.pone.0086450},
 editor = {Li, Yi}
}

@article{Zwart_2019,
 author = {Zwart,  and Ali,  and Strien,  and Schijlen,  and Wang,  and Werf,  and Vlak, },
 title = {Identification of Loci Associated with Enhanced Virulence in Spodoptera litura Nucleopolyhedrovirus Isolates Using Deep Sequencing},
 journal = {Viruses},
 publisher = {MDPI AG},
 year = {2019},
 month = {sep},
 number = {9},
 volume = {11},
 pages = {872},
 url = {https://doi.org/10.3390%2Fv11090872},
 doi = {10.3390/v11090872}
}

license: MIT

license_type: permissive

branch_name: refs/heads/master

extension: bib


text:
package main

import (
	"bytes"
	"sync"
	"time"

	"github.com/vicanso/elton"

	concurrentLimiter "github.com/vicanso/elton-concurrent-limiter"
)

func main() {

	e := elton.New()
	m := new(sync.Map)
	limit := concurrentLimiter.New(concurrentLimiter.Config{
		Keys: []string{
			":ip",
			"h:X-Token",
			"q:type",
			"p:id",
			"account",
		},
		Lock: func(key string, c *elton.Context) (success bool, unlock func(), err error) {
			_, loaded := m.LoadOrStore(key, true)
			// the key not exists
			if !loaded {
				success = true
				unlock = func() {
					m.Delete(key)
				}
			}
			return
		},
	})

	e.POST("/login", limit, func(c *elton.Context) (err error) {
		time.Sleep(3 * time.Second)
		c.BodyBuffer = bytes.NewBufferString("hello world")
		return
	})

	err := e.ListenAndServe(":3000")
	if err != nil {
		panic(err)
	}
}

repository: vicanso/elton-concurrent-limiter

repo_name: vicanso/elton-concurrent-limiter

extension: go


text:
package testutil

import (
	"reflect"
	"testing"
	"time"
)

func ChannelWaitForValueUpTo(t *testing.T, waitOn interface{}, waitFor time.Duration) interface{} {
	cases := make([]reflect.SelectCase, 2)
	cases[0] = reflect.SelectCase{
		Dir:  reflect.SelectRecv,
		Chan: reflect.ValueOf(waitOn),
		Send: reflect.Value{},
	}

	delayChan := time.After(waitFor)

	cases[1] = reflect.SelectCase{
		Dir:  reflect.SelectRecv,
		Chan: reflect.ValueOf(delayChan),
		Send: reflect.Value{},
	}

	idx, v, ok := reflect.Select(cases)
	if !ok {
		t.Fatal("Channel has been closed")
	}
	if idx != 0 {
		t.Fatalf("No message after waiting %v seconds", waitFor)
	}

	return v.Interface()
}

func ChannelWaitForValue(t *testing.T, waitOn interface{}) interface{} {
	const waitForDefault = 10 * time.Second
	return ChannelWaitForValueUpTo(t, waitOn, waitForDefault)
}

repository: ChandraStation/akash

repo_name: ChandraStation/akash

gha_language: Go


text:
package pork

import (
  "github.com/davidlares/nap"
  "github.com/spf13/cobra"
  "encoding/json"
  "io/ioutil"
  "fmt"
  "net/http"
  "strings"
  "log"
)

type SearchResponse struct {
  Results []*SearchResult `json:"items"` // return another slice
}

type SearchResult struct {
  FullName string `json:"full_name"`
}

var SearchCmd = &cobra.Command{
  Use: "search", // subcommand
  Short: "Search for GH repos by keyword",
  Run: func(cmd *cobra.Command, args []string){
    if err := SearchByKeyword(args); err != nil {
      log.Fatalln("Search failed: ", err)
    }
  },
}

func SearchByKeyword(keywords []string) error {
  return GitHubAPI().Call("search", map[string]string {
    "query": strings.Join(keywords, "+"), // forming query
  }, nil)
}

// success response
func SearchSuccess(resp *http.Response) error {
  defer resp.Body.Close()
  content, err := ioutil.ReadAll(resp.Body)
  if err != nil {
    return err
  }

  respContent := SearchResponse{}
  json.Unmarshal(content, &respContent)
  for _, item := range respContent.Results {
    fmt.Println(item.FullName)
  }
  return nil
}

// check for code status
func SearchDefaultRouter(resp *http.Response) error {
  return fmt.Errorf("status code %d", resp.StatusCode)
}

//  responses
func GetSearchResource() *nap.RestResource {
  searchRouter := nap.NewRouter()
  searchRouter.DefaultRouter = SearchDefaultRouter // this is for non 200 statuses
  searchRouter.RegisterFunc(200, SearchSuccess)
  search := nap.NewResource("/search/repositories?q={{.query}}", "GET", searchRouter)
  return search
}

repository: davidlares/pork

repo_name: davidlares/pork


text:
package resource

import (
	. "app/design/constant"
	"app/design/media"

	. "github.com/goadesign/goa/design"
	. "github.com/goadesign/goa/design/apidsl"
)

var _ = Resource("talks", func() {
	BasePath("/api/talks")
	Action("Select", func() {
		Description("与えられた選択肢の中で、ユーザーが選択したと思われる選択肢を返す")
		Routing(
			POST("/select"),
		)
		Payload(func() {
			Attribute("selects", ArrayOf(String), "選択肢", func() {
				Example([]string{
					"ドキュメント管理",
					"ラブちゃん情報",
					"スケジュール管理",
					"障害対策",
				})
			})
			Attribute("input", String, "ユーザーの入力", func() {
				Default("")
				Example("障害対策をしたい")
			})
			Required(
				"selects",
				"input",
			)
		})
		Response(OK, media.SelectType)
		UseTrait(GeneralUserTrait)
	})
	Action("Speech", func() {
		Description(`音声ファイルを投げて、その音声の文字起こしを返す

curl -F 'uploadfile=@./output.wav'  -X POST --header 'Content-Type: multipart/form-data' 'http://localhost:8080/api/talks/speech'`)
		Routing(
			POST("/speech"),
		)
		Response(OK, media.SpeechType)
		UseTrait(GeneralUserTrait)
	})
	Action("ShowRouting", func() {
		Description(`音声ファイルからテキストに起こして、次の画面情報を返す

・root 最初の画面

-> stories ストーリー で選択される

-> conversations 話す で選択される

・conversations 対話画面

-> requests お願いする で選択される

-> questions 質問してもらう で選択される

curl -F 'uploadfile=@./output.wav' -X POST --header 'Content-Type: multipart/form-data' 'http://localhost:8080/api/talks/routings/conversations'`)
		Routing(
			POST("/routings/:current_page"),
		)
		Params(func() {
			Param("current_page", String, "現在のページ `/`は使えないので、rootとする", func() {
				Enum(
					"root",
					"conversations",
				)
				Default("root")
			})
			Required(
				"current_page",
			)
		})
		Response(OK, media.RoutingType)
		UseTrait(GeneralUserTrait)
	})
})

gha_license_id: MIT

gha_language: JavaScript


text:
//------------------------------------------------------------------------------
/*
    Copyright (c) 2011-2013, OpenCoin, Inc.
*/
//==============================================================================

#ifndef __CALLRPC__
#define __CALLRPC__

class RPCParser
{
public:
    Json::Value parseCommand (std::string strMethod, Json::Value jvParams);

private:
    typedef Json::Value (RPCParser::*parseFuncPtr) (const Json::Value& jvParams);

    Json::Value parseAccountRaw (const Json::Value& jvParams, bool bPeer);

    Json::Value parseAccountItems (const Json::Value& jvParams);
    Json::Value parseAccountLines (const Json::Value& jvParams);
    Json::Value parseAccountTransactions (const Json::Value& jvParams);
    Json::Value parseAsIs (const Json::Value& jvParams);
    Json::Value parseBookOffers (const Json::Value& jvParams);
    Json::Value parseConnect (const Json::Value& jvParams);
#if ENABLE_INSECURE
    Json::Value parseDataDelete (const Json::Value& jvParams);
    Json::Value parseDataFetch (const Json::Value& jvParams);
    Json::Value parseDataStore (const Json::Value& jvParams);
#endif
    Json::Value parseEvented (const Json::Value& jvParams);
    Json::Value parseFeature (const Json::Value& jvParams);
    Json::Value parseFetchInfo (const Json::Value& jvParams);
    Json::Value parseGetCounts (const Json::Value& jvParams);
    Json::Value parseInternal (const Json::Value& jvParams);
    Json::Value parseJson (const Json::Value& jvParams);
    Json::Value parseLedger (const Json::Value& jvParams);
    Json::Value parseLedgerId (const Json::Value& jvParams);
#if ENABLE_INSECURE
    Json::Value parseLogin (const Json::Value& jvParams);
#endif
    Json::Value parseLogLevel (const Json::Value& jvParams);
    Json::Value parseOwnerInfo (const Json::Value& jvParams);
    Json::Value parseProofCreate (const Json::Value& jvParams);
    Json::Value parseProofSolve (const Json::Value& jvParams);
    Json::Value parseProofVerify (const Json::Value& jvParams);
    Json::Value parseRandom (const Json::Value& jvParams);
    Json::Value parseRipplePathFind (const Json::Value& jvParams);
    Json::Value parseSMS (const Json::Value& jvParams);
    Json::Value parseSignSubmit (const Json::Value& jvParams);
    Json::Value parseTx (const Json::Value& jvParams);
    Json::Value parseTxHistory (const Json::Value& jvParams);
    Json::Value parseUnlAdd (const Json::Value& jvParams);
    Json::Value parseUnlDelete (const Json::Value& jvParams);
    Json::Value parseValidationCreate (const Json::Value& jvParams);
    Json::Value parseValidationSeed (const Json::Value& jvParams);
    Json::Value parseWalletAccounts (const Json::Value& jvParams);
    Json::Value parseWalletPropose (const Json::Value& jvParams);
    Json::Value parseWalletSeed (const Json::Value& jvParams);
};

extern int commandLineRPC (const std::vector<std::string>& vCmd);

extern void callRPC (
    boost::asio::io_service& io_service,
    const std::string& strIp, const int iPort,
    const std::string& strUsername, const std::string& strPassword,
    const std::string& strPath, const std::string& strMethod,
    const Json::Value& jvParams, const bool bSSL,
    FUNCTION_TYPE<void (const Json::Value& jvInput)> callbackFuncP = FUNCTION_TYPE<void (const Json::Value& jvInput)> ());
#endif

// vim:ts=4

detected_licenses: ISC BSL-1.0 MIT MIT-Wu

extension: h


text:
% This file was created with JabRef 2.10b2.
% Encoding: Cp1252

@Book{Siegert200612,
  Title                    = {Betriebssysteme},
  Author                   = {Hans-Jürgen Siegert},
  Publisher                = {Oldenbourg Wissensch.Vlg},
  Year                     = {2006},
  Month                    = {12},

  ISBN                     = {9783486582116},
  Timestamp                = {2014.01.10},
  Url                      = {http://amazon.com/o/ASIN/3486582119/}
}

@Book{Williams201205,
  Title                    = {Mastering Magento},
  Author                   = {Bret Williams},
  Publisher                = {Packt Publishing},
  Year                     = {2012},
  Month                    = {5},

  ISBN                     = {9781849516945},
  Price                    = {$49.99},
  Timestamp                = {2013.11.19},
  Totalpages               = {300},
  Url                      = {http://amazon.com/o/ASIN/1849516944/}
}