text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="7.2.0">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.001" unitdist="inch" unit="inch" style="lines" multiple="1" display="yes" altdistance="0.0005" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="no" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="no" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="no" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="no" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="no" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="no" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="no" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="no" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="no" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="no" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="no" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="no" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="no" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="no" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="no" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="no" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="no" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="no" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="no" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="no" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="no" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="no" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="no" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="no" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="no" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="no" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="no" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="no" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="no" active="yes"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="yes"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="no" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="yes"/>
<layer number="90" name="Modules" color="5" fill="1" visible="no" active="no"/>
<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
<layer number="101" name="Patch_Top" color="12" fill="4" visible="no" active="yes"/>
<layer number="102" name="Vscore" color="7" fill="1" visible="no" active="yes"/>
<layer number="103" name="tMap" color="7" fill="1" visible="no" active="yes"/>
<layer number="104" name="Name" color="16" fill="1" visible="no" active="yes"/>
<layer number="105" name="tPlate" color="7" fill="1" visible="no" active="yes"/>
<layer number="106" name="bPlate" color="7" fill="1" visible="no" active="yes"/>
<layer number="107" name="Crop" color="7" fill="1" visible="no" active="yes"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="no" active="yes"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="no" active="yes"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="no" active="yes"/>
<layer number="200" name="200bmp" color="1" fill="10" visible="no" active="yes"/>
<layer number="201" name="201bmp" color="2" fill="10" visible="no" active="yes"/>
<layer number="202" name="202bmp" color="3" fill="10" visible="no" active="yes"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="no" active="yes"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="no" active="yes"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="no" active="yes"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="no" active="yes"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="no" active="yes"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="no" active="yes"/>
<layer number="250" name="Descript" color="3" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="12" fill="11" visible="no" active="no"/>
<layer number="254" name="cooling" color="7" fill="1" visible="no" active="yes"/>
</layers>
<board>
<plain>
<wire x1="0" y1="47.2948" x2="40.0304" y2="47.2948" width="0" layer="20"/>
<wire x1="40.0304" y1="47.2948" x2="40.0304" y2="0" width="0" layer="20"/>
<wire x1="40.0304" y1="0" x2="0" y2="0" width="0" layer="20"/>
<wire x1="0" y1="0" x2="0" y2="47.2948" width="0" layer="20"/>
</plain>
<libraries>
<library name="con-lstb">
<packages>
<package name="MA08-1">
<description>PIN HEADER</description>
<wire x1="-9.525" y1="1.27" x2="-8.255" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-8.255" y1="1.27" x2="-7.62" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-7.62" y1="-0.635" x2="-8.255" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-7.62" y1="0.635" x2="-6.985" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-6.985" y1="1.27" x2="-5.715" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-5.715" y1="1.27" x2="-5.08" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-5.08" y1="-0.635" x2="-5.715" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-5.715" y1="-1.27" x2="-6.985" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-6.985" y1="-1.27" x2="-7.62" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-10.16" y1="0.635" x2="-10.16" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-9.525" y1="1.27" x2="-10.16" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-10.16" y1="-0.635" x2="-9.525" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-8.255" y1="-1.27" x2="-9.525" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-5.08" y1="0.635" x2="-4.445" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="1.27" x2="-3.175" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="-0.635" x2="-3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-3.175" y1="-1.27" x2="-4.445" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-4.445" y1="-1.27" x2="-5.08" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="1.27" x2="-0.635" y2="1.27" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="-0.635" x2="-0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-1.905" y1="1.27" x2="-2.54" y2="0.635" width="0.1524" layer="21"/>
<wire x1="-2.54" y1="-0.635" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="-0.635" y1="-1.27" x2="-1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="0.635" y1="1.27" x2="1.905" y2="1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="1.27" x2="2.54" y2="0.635" width="0.1524" layer="21"/>
<wire x1="2.54" y1="-0.635" x2="1.905" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="2.54" y1="0.635" x2="3.175" y2="1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="1.27" x2="4.445" y2="1.27" width="0.1524" layer="21"/>
<wire x1="4.445" y1="1.27" x2="5.08" y2="0.635" width="0.1524" layer="21"/>
<wire x1="5.08" y1="-0.635" x2="4.445" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="4.445" y1="-1.27" x2="3.175" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="3.175" y1="-1.27" x2="2.54" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="0.635" y1="1.27" x2="0" y2="0.635" width="0.1524" layer="21"/>
<wire x1="0" y1="-0.635" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="1.905" y1="-1.27" x2="0.635" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="5.08" y1="0.635" x2="5.715" y2="1.27" width="0.1524" layer="21"/>
<wire x1="5.715" y1="1.27" x2="6.985" y2="1.27" width="0.1524" layer="21"/>
<wire x1="6.985" y1="1.27" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
<wire x1="7.62" y1="-0.635" x2="6.985" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="6.985" y1="-1.27" x2="5.715" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="5.715" y1="-1.27" x2="5.08" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="8.255" y1="1.27" x2="9.525" y2="1.27" width="0.1524" layer="21"/>
<wire x1="9.525" y1="1.27" x2="10.16" y2="0.635" width="0.1524" layer="21"/>
<wire x1="10.16" y1="0.635" x2="10.16" y2="-0.635" width="0.1524" layer="21"/>
<wire x1="10.16" y1="-0.635" x2="9.525" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="8.255" y1="1.27" x2="7.62" y2="0.635" width="0.1524" layer="21"/>
<wire x1="7.62" y1="-0.635" x2="8.255" y2="-1.27" width="0.1524" layer="21"/>
<wire x1="9.525" y1="-1.27" x2="8.255" y2="-1.27" width="0.1524" layer="21"/>
<pad name="1" x="-8.89" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="2" x="-6.35" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="3" x="-3.81" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="4" x="-1.27" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="5" x="1.27" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="6" x="3.81" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="7" x="6.35" y="0" drill="1.016" shape="long" rot="R90"/>
<pad name="8" x="8.89" y="0" drill="1.016" shape="long" rot="R90"/>
<text x="-10.16" y="1.651" size="1.27" layer="25" ratio="10">>NAME</text>
<text x="-9.398" y="-2.921" size="1.27" layer="21" ratio="10">1</text>
<text x="8.255" y="1.651" size="1.27" layer="21" ratio="10">8</text>
<text x="-1.27" y="-2.921" size="1.27" layer="27" ratio="10">>VALUE</text>
<rectangle x1="-6.604" y1="-0.254" x2="-6.096" y2="0.254" layer="51"/>
<rectangle x1="-9.144" y1="-0.254" x2="-8.636" y2="0.254" layer="51"/>
<rectangle x1="-4.064" y1="-0.254" x2="-3.556" y2="0.254" layer="51"/>
<rectangle x1="-1.524" y1="-0.254" x2="-1.016" y2="0.254" layer="51"/>
<rectangle x1="3.556" y1="-0.254" x2="4.064" y2="0.254" layer="51"/>
<rectangle x1="1.016" y1="-0.254" x2="1.524" y2="0.254" layer="51"/>
<rectangle x1="6.096" y1="-0.254" x2="6.604" y2="0.254" layer="51"/>
<rectangle x1="8.636" y1="-0.254" x2="9.144" y2="0.254" layer="51"/>
</package>
</packages>
</library>
<library name="01_SparkFun">
<description>
SparkFun Electronics' preferred foot prints

We've spent an enormous amount of time creating and checking these footprints and parts. If you enjoy using this library, please buy one of our products at www.sparkfun.com.

Licensing: CC v3.0 Share-Alike You are welcome to use this library for commercial purposes. For attribution, we ask that when you begin to sell your device using our footprint, you email us with a link to the product being sold. We want bragging rights that we helped (in a very small part) to create your 8th world wonder. We would like the opportunity to feature your device on our homepage.</description>
<packages>
<package name="SO08">
<description>Small Outline Package Fits JEDEC packages (narrow SOIC-8)</description>
<wire x1="-2.362" y1="-1.803" x2="2.362" y2="-1.803" width="0.1524" layer="51"/>
<wire x1="2.362" y1="-1.803" x2="2.362" y2="1.803" width="0.1524" layer="21"/>
<wire x1="2.362" y1="1.803" x2="-2.362" y2="1.803" width="0.1524" layer="51"/>
<wire x1="-2.362" y1="1.803" x2="-2.362" y2="-1.803" width="0.1524" layer="21"/>
<circle x="-1.8034" y="-0.9906" radius="0.1436" width="0.2032" layer="21"/>
<smd name="1" x="-1.905" y="-2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="2" x="-0.635" y="-2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="3" x="0.635" y="-2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="4" x="1.905" y="-2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="5" x="1.905" y="2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="6" x="0.635" y="2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="7" x="-0.635" y="2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<smd name="8" x="-1.905" y="2.6162" dx="0.6096" dy="2.2098" layer="1"/>
<text x="-1.27" y="-0.635" size="0.4064" layer="27">>VALUE</text>
<text x="-1.27" y="0" size="0.4064" layer="25">>NAME</text>
<rectangle x1="-2.0828" y1="-2.8702" x2="-1.7272" y2="-1.8542" layer="51"/>
<rectangle x1="-0.8128" y1="-2.8702" x2="-0.4572" y2="-1.8542" layer="51"/>
<rectangle x1="0.4572" y1="-2.8702" x2="0.8128" y2="-1.8542" layer="51"/>
<rectangle x1="1.7272" y1="-2.8702" x2="2.0828" y2="-1.8542" layer="51"/>
<rectangle x1="-2.0828" y1="1.8542" x2="-1.7272" y2="2.8702" layer="51"/>
<rectangle x1="-0.8128" y1="1.8542" x2="-0.4572" y2="2.8702" layer="51"/>
<rectangle x1="0.4572" y1="1.8542" x2="0.8128" y2="2.8702" layer="51"/>
<rectangle x1="1.7272" y1="1.8542" x2="2.0828" y2="2.8702" layer="51"/>
</package>
<package name="1X02_LONGPADS">
<pad name="1" x="0" y="0" drill="1.016" diameter="1.8796" shape="long" rot="R90"/>
<pad name="2" x="2.54" y="0" drill="1.016" diameter="1.8796" shape="long" rot="R90"/>
</package>
<package name="1206">
<wire x1="-2.473" y1="0.983" x2="2.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="2.473" y1="-0.983" x2="-2.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-2.473" y1="-0.983" x2="-2.473" y2="0.983" width="0.0508" layer="39"/>
<wire x1="2.473" y1="0.983" x2="2.473" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-0.965" y1="0.787" x2="0.965" y2="0.787" width="0.1016" layer="51"/>
<wire x1="-0.965" y1="-0.787" x2="0.965" y2="-0.787" width="0.1016" layer="51"/>
<smd name="1" x="-1.4" y="0" dx="1.6" dy="1.8" layer="1"/>
<smd name="2" x="1.4" y="0" dx="1.6" dy="1.8" layer="1"/>
<text x="-1.27" y="1.143" size="0.4064" layer="25">>NAME</text>
<text x="-1.397" y="-1.524" size="0.4064" layer="27">>VALUE</text>
<rectangle x1="-1.7018" y1="-0.8509" x2="-0.9517" y2="0.8491" layer="51"/>
<rectangle x1="0.9517" y1="-0.8491" x2="1.7018" y2="0.8509" layer="51"/>
<rectangle x1="-0.1999" y1="-0.4001" x2="0.1999" y2="0.4001" layer="35"/>
</package>
</packages>
</library>
<library name="01_FAB_Hello">
<packages>
<package name="1206">
<description>RESISTOR

chip</description>
<wire x1="0.9525" y1="-0.8128" x2="-0.9652" y2="-0.8128" width="0.1524" layer="51"/>
<wire x1="0.9525" y1="0.8128" x2="-0.9652" y2="0.8128" width="0.1524" layer="51"/>
<wire x1="-2.3206" y1="0.983" x2="2.3206" y2="0.983" width="0.0508" layer="39"/>
<wire x1="2.3206" y1="0.983" x2="2.3206" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="2.3206" y1="-0.983" x2="-2.3206" y2="-0.983" width="0.0508" layer="39"/>
<wire x1="-2.3206" y1="-0.983" x2="-2.3206" y2="0.983" width="0.0508" layer="39"/>
<smd name="2" x="1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
<smd name="1" x="-1.422" y="0" dx="1.6" dy="1.803" layer="1"/>
<text x="-1.397" y="1.143" size="1.27" layer="25">>NAME</text>
<text x="-1.397" y="-2.413" size="1.27" layer="27">>VALUE</text>
<rectangle x1="-1.6891" y1="-0.8763" x2="-0.9525" y2="0.8763" layer="51"/>
<rectangle x1="0.9525" y1="-0.8763" x2="1.6891" y2="0.8763" layer="51"/>
<rectangle x1="-0.3" y1="-0.7" x2="0.3" y2="0.7" layer="35"/>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<designrules name="default *">
<description language="en">EAGLE Design Rules

The default Design Rules have been set to cover
a wide range of applications. Your particular design
may have different requirements, so please make the
necessary adjustments and save your customized
design rules under a new name.</description>
<param name="layerSetup" value="(1*16)"/>
<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
<param name="mdWireWire" value="16mil"/>
<param name="mdWirePad" value="16mil"/>
<param name="mdWireVia" value="16mil"/>
<param name="mdPadPad" value="16mil"/>
<param name="mdPadVia" value="16mil"/>
<param name="mdViaVia" value="16mil"/>
<param name="mdSmdPad" value="16mil"/>
<param name="mdSmdVia" value="16mil"/>
<param name="mdSmdSmd" value="16mil"/>
<param name="mdViaViaSameLayer" value="8mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="16mil"/>
<param name="mdDrill" value="8mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="10mil"/>
<param name="msDrill" value="24mil"/>
<param name="msMicroVia" value="9.99mm"/>
<param name="msBlindViaRatio" value="0.5"/>
<param name="rvPadTop" value="0.25"/>
<param name="rvPadInner" value="0.25"/>
<param name="rvPadBottom" value="0.25"/>
<param name="rvViaOuter" value="0.25"/>
<param name="rvViaInner" value="0.25"/>
<param name="rvMicroViaOuter" value="0.25"/>
<param name="rvMicroViaInner" value="0.25"/>
<param name="rlMinPadTop" value="10mil"/>
<param name="rlMaxPadTop" value="20mil"/>
<param name="rlMinPadInner" value="10mil"/>
<param name="rlMaxPadInner" value="20mil"/>
<param name="rlMinPadBottom" value="10mil"/>
<param name="rlMaxPadBottom" value="20mil"/>
<param name="rlMinViaOuter" value="8mil"/>
<param name="rlMaxViaOuter" value="20mil"/>
<param name="rlMinViaInner" value="8mil"/>
<param name="rlMaxViaInner" value="20mil"/>
<param name="rlMinMicroViaOuter" value="4mil"/>
<param name="rlMaxMicroViaOuter" value="20mil"/>
<param name="rlMinMicroViaInner" value="4mil"/>
<param name="rlMaxMicroViaInner" value="20mil"/>
<param name="psTop" value="-1"/>
<param name="psBottom" value="-1"/>
<param name="psFirst" value="-1"/>
<param name="psElongationLong" value="100"/>
<param name="psElongationOffset" value="100"/>
<param name="mvStopFrame" value="1"/>
<param name="mvCreamFrame" value="0"/>
<param name="mlMinStopFrame" value="4mil"/>
<param name="mlMaxStopFrame" value="4mil"/>
<param name="mlMinCreamFrame" value="0mil"/>
<param name="mlMaxCreamFrame" value="0mil"/>
<param name="mlViaStopLimit" value="0mil"/>
<param name="srRoundness" value="0"/>
<param name="srMinRoundness" value="0mil"/>
<param name="srMaxRoundness" value="0mil"/>
<param name="slThermalIsolate" value="10mil"/>
<param name="slThermalsForVias" value="0"/>
<param name="dpMaxLengthDifference" value="10mm"/>
<param name="dpGapFactor" value="2.5"/>
<param name="checkGrid" value="0"/>
<param name="checkAngle" value="0"/>
<param name="checkFont" value="1"/>
<param name="checkRestrict" value="1"/>
<param name="useDiameter" value="13"/>
<param name="maxErrors" value="50"/>
</designrules>
<autorouter>
<pass name="Default">
<param name="RoutingGrid" value="6.25mil"/>
<param name="AutoGrid" value="1"/>
<param name="Efforts" value="2"/>
<param name="TopRouterVariant" value="1"/>
<param name="tpViaShape" value="round"/>
<param name="PrefDir.1" value="|"/>
<param name="PrefDir.2" value="0"/>
<param name="PrefDir.3" value="0"/>
<param name="PrefDir.4" value="0"/>
<param name="PrefDir.5" value="0"/>
<param name="PrefDir.6" value="0"/>
<param name="PrefDir.7" value="0"/>
<param name="PrefDir.8" value="0"/>
<param name="PrefDir.9" value="0"/>
<param name="PrefDir.10" value="0"/>
<param name="PrefDir.11" value="0"/>
<param name="PrefDir.12" value="0"/>
<param name="PrefDir.13" value="0"/>
<param name="PrefDir.14" value="0"/>
<param name="PrefDir.15" value="0"/>
<param name="PrefDir.16" value="0"/>
<param name="cfVia" value="8"/>
<param name="cfNonPref" value="5"/>
<param name="cfChangeDir" value="2"/>
<param name="cfOrthStep" value="2"/>
<param name="cfDiagStep" value="3"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="1"/>
<param name="cfMalusStep" value="1"/>
<param name="cfPadImpact" value="4"/>
<param name="cfSmdImpact" value="4"/>
<param name="cfBusImpact" value="0"/>
<param name="cfHugging" value="3"/>
<param name="cfAvoid" value="4"/>
<param name="cfPolygon" value="10"/>
<param name="cfBase.1" value="0"/>
<param name="cfBase.2" value="1"/>
<param name="cfBase.3" value="1"/>
<param name="cfBase.4" value="1"/>
<param name="cfBase.5" value="1"/>
<param name="cfBase.6" value="1"/>
<param name="cfBase.7" value="1"/>
<param name="cfBase.8" value="1"/>
<param name="cfBase.9" value="1"/>
<param name="cfBase.10" value="1"/>
<param name="cfBase.11" value="1"/>
<param name="cfBase.12" value="1"/>
<param name="cfBase.13" value="1"/>
<param name="cfBase.14" value="1"/>
<param name="cfBase.15" value="1"/>
<param name="cfBase.16" value="0"/>
<param name="mnVias" value="20"/>
<param name="mnSegments" value="9999"/>
<param name="mnExtdSteps" value="9999"/>
<param name="mnRipupLevel" value="10"/>
<param name="mnRipupSteps" value="100"/>
<param name="mnRipupTotal" value="100"/>
</pass>
<pass name="Follow-me" refer="Default" active="yes">
</pass>
<pass name="Busses" refer="Default" active="yes">
<param name="cfNonPref" value="4"/>
<param name="cfBusImpact" value="4"/>
<param name="cfHugging" value="0"/>
<param name="mnVias" value="0"/>
</pass>
<pass name="Route" refer="Default" active="yes">
</pass>
<pass name="Optimize1" refer="Default" active="yes">
<param name="cfVia" value="99"/>
<param name="cfExtdStep" value="10"/>
<param name="cfHugging" value="1"/>
<param name="mnExtdSteps" value="1"/>
<param name="mnRipupLevel" value="0"/>
</pass>
<pass name="Optimize2" refer="Optimize1" active="yes">
<param name="cfNonPref" value="0"/>
<param name="cfChangeDir" value="6"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="2"/>
<param name="cfMalusStep" value="2"/>
<param name="cfPadImpact" value="2"/>
<param name="cfSmdImpact" value="2"/>
<param name="cfHugging" value="0"/>
</pass>
<pass name="Optimize3" refer="Optimize2" active="yes">
<param name="cfChangeDir" value="8"/>
<param name="cfPadImpact" value="0"/>
<param name="cfSmdImpact" value="0"/>
</pass>
<pass name="Optimize4" refer="Optimize3" active="yes">
<param name="cfChangeDir" value="25"/>
</pass>
</autorouter>
<elements>
<element name="SV2" library="con-lstb" package="MA08-1" value="" x="3.937" y="25.8826" rot="R270"/>
<element name="SV4" library="con-lstb" package="MA08-1" value="" x="34.9758" y="25.9842" rot="R90"/>
<element name="SV1" library="con-lstb" package="MA08-1" value="" x="19.558" y="10.4902"/>
<element name="U$1" library="01_SparkFun" package="SO08" value="MOSFET-NCHANNEL-SOIC8" x="25.146" y="29.1338"/>
<element name="MOTOR" library="01_SparkFun" package="1X02_LONGPADS" value="DC" x="23.241" y="41.7322"/>
<element name="BATTERY" library="01_SparkFun" package="1X02_LONGPADS" value="" x="18.6182" y="41.8592" rot="R180"/>
<element name="U$3" library="01_SparkFun" package="SO08" value="MOSFET-NCHANNEL-SOIC8" x="10.2362" y="29.1338"/>
<element name="MOTOR1" library="01_SparkFun" package="1X02_LONGPADS" value="DC" x="8.3312" y="41.783"/>
<element name="C7" library="01_SparkFun" package="1206" value=".1 uf" x="17.6022" y="32.004"/>
<element name="C8" library="01_SparkFun" package="1206" value="10 uf" x="17.6022" y="36.703"/>
<element name="VCC_SERVO" library="01_SparkFun" package="1X02_LONGPADS" value="" x="8.5852" y="4.9784"/>
<element name="PIN_SERVO" library="01_SparkFun" package="1X02_LONGPADS" value="" x="26.5938" y="5.08" rot="R180"/>
<element name="GND_SERVO" library="01_SparkFun" package="1X02_LONGPADS" value="" x="16.6624" y="5.0292"/>
<element name="R1" library="01_FAB_Hello" package="1206" value="0" x="25.908" y="17.0942"/>
</elements>
<signals>
<signal name="GND">
<contactref element="U$3" pad="1"/>
<contactref element="U$1" pad="1"/>
<contactref element="GND_SERVO" pad="1"/>
<contactref element="GND_SERVO" pad="2"/>
<contactref element="C7" pad="1"/>
<contactref element="C8" pad="1"/>
<contactref element="BATTERY" pad="2"/>
<contactref element="SV1" pad="2"/>
<wire x1="8.3312" y1="29.0576" x2="6.8326" y2="29.083" width="1.778" layer="1"/>
<wire x1="8.3312" y1="26.5176" x2="8.3312" y2="29.0576" width="0.4064" layer="1"/>
<wire x1="8.3312" y1="29.0576" x2="16.2022" y2="29.0576" width="1.778" layer="1"/>
<wire x1="16.0782" y1="41.8592" x2="16.2022" y2="41.8592" width="0.3048" layer="1"/>
<wire x1="16.2022" y1="41.8592" x2="16.2022" y2="36.703" width="0.4064" layer="1"/>
<wire x1="16.2022" y1="36.703" x2="16.2022" y2="32.004" width="0.4064" layer="1"/>
<wire x1="16.2022" y1="32.004" x2="16.2022" y2="29.0576" width="0.4064" layer="1"/>
<wire x1="23.241" y1="26.5176" x2="23.241" y2="29.0322" width="0.4064" layer="1"/>
<wire x1="23.241" y1="29.0322" x2="27.5082" y2="29.0322" width="1.778" layer="1"/>
<wire x1="16.2022" y1="29.0576" x2="16.2022" y2="29.0322" width="0.3048" layer="1"/>
<wire x1="16.2022" y1="29.0322" x2="23.241" y2="29.0322" width="0.3048" layer="1"/>
<contactref element="SV4" pad="2"/>
<wire x1="13.208" y1="10.4902" x2="13.208" y2="13.0556" width="0.4064" layer="1"/>
<wire x1="13.208" y1="13.0556" x2="6.477" y2="13.0556" width="0.4064" layer="1"/>
<wire x1="19.2024" y1="5.0292" x2="16.6624" y2="5.0292" width="0.4064" layer="1"/>
<wire x1="13.208" y1="10.4902" x2="13.208" y2="5.0292" width="0.4064" layer="1"/>
<wire x1="13.208" y1="5.0292" x2="16.6624" y2="5.0292" width="0.4064" layer="1"/>
<wire x1="6.477" y1="29.083" x2="6.8326" y2="29.083" width="0.4064" layer="1"/>
<wire x1="27.5082" y1="29.0322" x2="34.9758" y2="19.6342" width="0" layer="19" extent="1-1"/>
<wire x1="6.477" y1="13.0556" x2="6.477" y2="32.2072" width="0.4064" layer="1"/>
<wire x1="6.477" y1="32.2072" x2="3.937" y2="32.2072" width="0.4064" layer="1"/>
<wire x1="3.937" y1="32.2072" x2="6.477" y2="29.083" width="0" layer="19" extent="1-16"/>
</signal>
<signal name="VCC">
<contactref element="U$1" pad="4"/>
<contactref element="U$3" pad="4"/>
<contactref element="VCC_SERVO" pad="2"/>
<contactref element="VCC_SERVO" pad="1"/>
<contactref element="SV1" pad="1"/>
<wire x1="12.1412" y1="26.5176" x2="12.1412" y2="17.2974" width="0.4064" layer="1"/>
<wire x1="10.668" y1="10.4902" x2="11.1252" y2="10.4902" width="0.4064" layer="1"/>
<wire x1="11.1252" y1="10.4902" x2="11.1252" y2="4.9784" width="0.4064" layer="1"/>
<wire x1="11.1252" y1="4.9784" x2="8.5852" y2="4.9784" width="0.4064" layer="1"/>
<wire x1="12.1412" y1="17.2974" x2="12.2936" y2="16.383" width="0" layer="19" extent="1-16"/>
<wire x1="27.051" y1="26.5176" x2="29.3878" y2="26.5176" width="0.4064" layer="1"/>
<wire x1="29.3878" y1="26.5176" x2="29.3878" y2="46.101" width="0.4064" layer="1"/>
<wire x1="29.3878" y1="46.101" x2="3.9116" y2="46.0756" width="0.4064" layer="1"/>
<wire x1="3.9116" y1="46.0756" x2="3.9116" y2="34.5694" width="0.4064" layer="1"/>
<wire x1="3.9116" y1="34.5694" x2="4.0132" y2="34.544" width="0.4064" layer="1"/>
<wire x1="4.0132" y1="34.544" x2="4.0132" y2="34.7726" width="0.4064" layer="1"/>
<contactref element="R1" pad="1"/>
<wire x1="12.1412" y1="17.2974" x2="12.1158" y2="17.0688" width="0.4064" layer="1"/>
<wire x1="12.1158" y1="17.0688" x2="24.486" y2="17.0942" width="0.4064" layer="1"/>
<wire x1="24.486" y1="17.0942" x2="27.051" y2="26.5176" width="0" layer="19" extent="1-1"/>
<wire x1="11.1252" y1="10.4902" x2="12.2936" y2="16.383" width="0" layer="19" extent="1-1"/>
</signal>
<signal name="SER2">
<contactref element="PIN_SERVO" pad="1"/>
<contactref element="SV4" pad="4"/>
<wire x1="26.5938" y1="5.08" x2="37.3634" y2="5.08" width="0.4064" layer="1"/>
<wire x1="37.3634" y1="5.08" x2="37.3634" y2="24.7142" width="0.4064" layer="1"/>
<wire x1="37.3634" y1="24.7142" x2="34.9758" y2="24.7142" width="0.4064" layer="1"/>
</signal>
<signal name="SER1">
<contactref element="PIN_SERVO" pad="2"/>
<contactref element="SV4" pad="5"/>
<wire x1="34.9758" y1="27.2542" x2="38.4302" y2="27.2542" width="0.4064" layer="1"/>
<wire x1="38.4302" y1="27.2542" x2="38.4302" y2="2.5146" width="0.4064" layer="1"/>
<wire x1="38.4302" y1="2.5146" x2="24.0538" y2="2.5146" width="0.4064" layer="1"/>
<wire x1="24.0538" y1="2.5146" x2="24.0538" y2="5.08" width="0.4064" layer="1"/>
</signal>
<signal name="OUT2">
<contactref element="MOTOR1" pad="1"/>
<contactref element="U$3" pad="8"/>
<wire x1="8.3312" y1="31.75" x2="8.3312" y2="41.783" width="0.4064" layer="1"/>
</signal>
<signal name="LSS">
<contactref element="U$1" pad="7"/>
<contactref element="U$3" pad="7"/>
<wire x1="9.6012" y1="31.75" x2="9.6012" y2="29.0576" width="0.4064" layer="1"/>
<wire x1="24.511" y1="29.0576" x2="24.511" y2="31.75" width="0.4064" layer="1"/>
<wire x1="9.6012" y1="29.0576" x2="24.511" y2="29.0576" width="1.778" layer="1"/>
</signal>
<signal name="OUT1">
<contactref element="MOTOR1" pad="2"/>
<contactref element="U$3" pad="6"/>
<wire x1="10.8712" y1="31.75" x2="10.8712" y2="41.783" width="0.4064" layer="1"/>
</signal>
<signal name="VBB">
<contactref element="BATTERY" pad="1"/>
<contactref element="U$1" pad="5"/>
<contactref element="C8" pad="2"/>
<contactref element="C7" pad="2"/>
<contactref element="U$3" pad="5"/>
<wire x1="18.6182" y1="41.8592" x2="18.9992" y2="40.8432" width="0.4064" layer="1"/>
<wire x1="18.9992" y1="40.8432" x2="19.0022" y2="36.703" width="0.4064" layer="1"/>
<wire x1="19.0022" y1="36.703" x2="19.0022" y2="32.004" width="0.4064" layer="1"/>
<wire x1="12.1412" y1="31.75" x2="12.9794" y2="31.75" width="0.4064" layer="1"/>
<wire x1="12.9794" y1="31.75" x2="12.9794" y2="44.8564" width="0.4064" layer="1"/>
<wire x1="27.051" y1="31.75" x2="28.2194" y2="31.7246" width="0.4064" layer="1"/>
<wire x1="28.2194" y1="31.7246" x2="28.2194" y2="44.8564" width="0.4064" layer="1"/>
<wire x1="28.2194" y1="44.8564" x2="21.082" y2="44.8564" width="0.4064" layer="1"/>
<wire x1="12.9794" y1="44.8564" x2="21.082" y2="44.8564" width="0.4064" layer="1"/>
<wire x1="21.082" y1="44.8564" x2="21.082" y2="32.004" width="0.4064" layer="1"/>
<wire x1="21.082" y1="32.004" x2="19.0022" y2="32.004" width="0.4064" layer="1"/>
</signal>
<signal name="IN2">
<contactref element="U$3" pad="2"/>
<contactref element="SV1" pad="5"/>
<wire x1="20.828" y1="10.4902" x2="20.828" y2="14.2494" width="0.4064" layer="1"/>
<wire x1="20.828" y1="14.2494" x2="9.6266" y2="14.2494" width="0.4064" layer="1"/>
<wire x1="9.6266" y1="14.2494" x2="9.6266" y2="26.5176" width="0.4064" layer="1"/>
<wire x1="9.6266" y1="26.5176" x2="9.6012" y2="26.5176" width="0.3048" layer="1"/>
</signal>
<signal name="IN1">
<contactref element="U$3" pad="3"/>
<contactref element="SV1" pad="6"/>
<wire x1="23.368" y1="10.4902" x2="23.3426" y2="15.4178" width="0.4064" layer="1"/>
<wire x1="23.3426" y1="15.4178" x2="10.8458" y2="15.4178" width="0.4064" layer="1"/>
<wire x1="10.8458" y1="15.4178" x2="10.8458" y2="26.5176" width="0.4064" layer="1"/>
<wire x1="10.8458" y1="26.5176" x2="10.8712" y2="26.5176" width="0.3048" layer="1"/>
</signal>
<signal name="IN3">
<contactref element="U$1" pad="3"/>
<contactref element="SV4" pad="7"/>
<wire x1="25.781" y1="26.5176" x2="25.7556" y2="24.4348" width="0.4064" layer="1"/>
<wire x1="25.7556" y1="24.4348" x2="30.7848" y2="24.4348" width="0.4064" layer="1"/>
<wire x1="30.7848" y1="24.4348" x2="30.7848" y2="32.3342" width="0.4064" layer="1"/>
<wire x1="30.7848" y1="32.3342" x2="34.9758" y2="32.3342" width="0.4064" layer="1"/>
</signal>
<signal name="IN4">
<contactref element="U$1" pad="2"/>
<contactref element="SV1" pad="7"/>
<wire x1="25.908" y1="10.4902" x2="25.908" y2="19.1008" width="0.4064" layer="1"/>
<wire x1="25.908" y1="19.1008" x2="24.5618" y2="19.1008" width="0.4064" layer="1"/>
<wire x1="24.5618" y1="19.1008" x2="24.5618" y2="26.5176" width="0.4064" layer="1"/>
<wire x1="24.5618" y1="26.5176" x2="24.511" y2="26.5176" width="0.4064" layer="1"/>
</signal>
<signal name="OUT4">
<contactref element="MOTOR" pad="1"/>
<contactref element="U$1" pad="8"/>
<wire x1="23.241" y1="31.75" x2="23.241" y2="42.2148" width="0.4064" layer="1"/>
<wire x1="23.241" y1="42.2148" x2="23.7236" y2="42.2148" width="0.3048" layer="1"/>
<wire x1="23.7236" y1="42.2148" x2="23.241" y2="41.7322" width="0" layer="19" extent="1-16"/>
</signal>
<signal name="OUT3">
<contactref element="MOTOR" pad="2"/>
<contactref element="U$1" pad="6"/>
<wire x1="25.781" y1="31.75" x2="25.781" y2="41.7322" width="0.4064" layer="1"/>
</signal>
<signal name="N$1">
<contactref element="SV4" pad="1"/>
<contactref element="R1" pad="2"/>
<wire x1="27.33" y1="17.0942" x2="34.9758" y2="17.0942" width="0.4064" layer="1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>

repository: FabAcademyFR/fabacademy-fr

repo_name: FabAcademyFR/fabacademy-fr

extension: brd


text:
#base recipe: meta-openembedded/meta-oe/recipes-extended/polkit/polkit_0.104.bb
#base branch: dylan
#base commif: 4e3362f9c2b5540231011930b91d2cf56e487ff7

SUMMARY = "PolicyKit Authorization Framework"
DESCRIPTION = "The polkit package is an application-level toolkit for defining and handling the policy that allows unprivileged processes to speak to privileged processes."
HOMEPAGE = "http://www.freedesktop.org/wiki/Software/polkit"
LICENSE = "LGPLv2+"
LIC_FILES_CHKSUM = "file://COPYING;md5=155db86cdbafa7532b41f390409283eb \
                    file://src/polkit/polkit.h;beginline=1;endline=20;md5=0a8630b0133176d0504c87a0ded39db4"

DEPENDS = "expat glib-2.0 intltool-native"

inherit autotools gtk-doc pkgconfig useradd systemd distro_features_check gobject-introspection

inherit debian-package
require recipes-debian/sources/policykit-1.inc

DEBIAN_UNPACK_DIR = "${WORKDIR}/polkit-${PV}"

REQUIRED_DISTRO_FEATURES = "polkit"

PACKAGECONFIG = "${@bb.utils.filter('DISTRO_FEATURES', 'pam', d)} \
                "

PACKAGECONFIG[pam] = "--with-authfw=pam,--with-authfw=shadow,libpam,libpam"

PAM_SRC_URI = "file://polkit-1_pam.patch"
SRC_URI += " \
           ${@bb.utils.contains('DISTRO_FEATURES', 'pam', '${PAM_SRC_URI}', '', d)} \
           file://0001-exec-path-change-polkit.service.patch \
"

EXTRA_OECONF = "--with-os-type=moblin --disable-man-pages --disable-introspection --enable-systemd"

do_install_append() {
    rm -f ${D}${libdir}/${BPN}-1/extensions/*.a
    install -d ${D}${base_libdir}/systemd/system
    install -m 644 ${S}/debian/polkit.service ${D}${base_libdir}/systemd/system
}

FILES_${PN}_append = " \
                ${libdir}/${BPN}-1 \
                ${nonarch_libdir}/${BPN}-1 \
                ${datadir}/dbus-1 \
                ${datadir}/${BPN}-1 \
                ${datadir}/gettext\
                ${base_libdir} \
"
FILES_${PN}_append = " \
"
FILES_${PN}-dbg += "${libdir}/${BPN}-1/extensions/.debug/*.so"
FILES_${PN}-dev += "${libdir}/${BPN}-1/extensions/*.la "

USERADD_PACKAGES = "${PN}"
USERADD_PARAM_${PN} = "--system --no-create-home --user-group --home-dir ${sysconfdir}/${BPN}-1 polkitd"

RDEPENDS_${PN} += "dbus "
SYSTEMD_SERVICE_${PN} = "${BPN}.service"
SYSTEMD_AUTO_ENABLE = "disable"

license: MIT

repository: miraclelinux/meta-debian-extended

license_type: permissive

repo_name: miraclelinux/meta-debian-extended

branch_name: refs/heads/warrior

gha_license_id: MIT

gha_language: BitBake

extension: bb


text:
package models

import (
	"encoding/gob"
	"time"
)

func init() {
	gob.Register(&User{})
}

// UserKey is key to save user to context
type UserKey int

// User hold information about an user
type User struct {
	ID                string    `json:"id" bson:"_id"`
	Provider          string    `json:"provider" bson:"provider"`
	Email             string    `json:"email" bson:"email"`
	Name              string    `json:"name" bson:"name"`
	FirstName         string    `json:"first_name" bson:"first_name"`
	LastName          string    `json:"last_name" bson:"last_name"`
	NickName          string    `json:"nick_name" bson:"nick_name"`
	Description       string    `json:"description" bson:"description"`
	UserID            string    `json:"user_id" bson:"user_id"`
	AvatarURL         string    `json:"avatar_url" bson:"avatar_url"`
	Location          string    `json:"location" bson:"location"`
	AccessToken       string    `json:"access_token" bson:"access_token"`
	AccessTokenSecret string    `json:"access_token_secret" bson:"access_token_secret"`
	RefreshToken      string    `json:"refresh_token" bson:"refresh_token"`
	ExpiresAt         time.Time `json:"expires_at" bson:"expires_at"`
	CreatedAt         time.Time `json:"created_at" bson:"created_at"`
	Active            bool      `json:"active" bson:"active"`
}

repository: manhtai/golang-mongodb-chat

repo_name: manhtai/golang-mongodb-chat

branch_name: refs/heads/master

extension: go


text:
#include <ESP8266WiFi.h>
#include "Constants.h"
#include "Commons.h"
#include "ConfigServer.h"
#include "ConfigFile.h"
#include "FS.h"
#include "Client.h"
#include <string>
#include "SimpClient.h"

simp::SimpClient<smart::Client>* client;

smart::ConfigServer *configServer = NULL;

void restartClick() {
  Serial.println("Restart click");
  smart::eraseConfigFile();
}

void clientModeState() {
  Serial.println(F("Switching to lient mode state"));
  WiFi.mode(WIFI_STA);
}

char* response = "OK";
char* wrong = "NO";

uint8_t* changeLight(uint8_t* request) {
  size_t length = strlen((char*) request);
  if (length != 1) {
    return (uint8_t*) wrong;
  }
  int state = request[0] - 48;
  digitalWrite(LIGHT_PIN, state);
  return (uint8_t*)response;
}

void setupClient() {
  using smart::deviceState;
  client = new simp::SimpClient<smart::Client>(new smart::Client(deviceState.serverHost));
  client->onRequest("/control/1", changeLight);
}

#ifdef TEST
void setup() {
  Serial.begin(115200);
  Serial.println();
  Serial.println();
  Serial.println(F("Setuping..."));
}
void loop() {
  delay(1000);
  Serial.println(F("Lap 1"));
  delay(1000);
  Serial.println(F("Lap 2"));
}
#else
void setup() {
  Serial.begin(115200);
  Serial.println();
  Serial.println();
  Serial.println(F("Setuping..."));
  pinMode(RESET_BTN_PIN, OUTPUT);
  digitalWrite(RESET_BTN_PIN, LOW);
  pinMode(RESET_BTN_PIN, INPUT);
  attachInterrupt(digitalPinToInterrupt(RESET_BTN_PIN), restartClick, CHANGE);
  pinMode(NORMAL_STATE_PIN, OUTPUT);
  pinMode(AP_CONNECTION_PIN, OUTPUT);
  pinMode(HOST_CONNECTION_PIN, OUTPUT);
  pinMode(LIGHT_PIN, OUTPUT);
  digitalWrite(NORMAL_STATE_PIN, LOW);
  digitalWrite(AP_CONNECTION_PIN, LOW);
  digitalWrite(HOST_CONNECTION_PIN, LOW);
  digitalWrite(LIGHT_PIN, LOW);
  smart::initId();
}

void loop() {
  using smart::deviceState;
  switch(deviceState.connectionStage) {
    case CONNECTION_STAGE_FILE:
      smart::useConfigFile();
      if (deviceState.connectionStage == CONNECTION_STAGE_CONNECTED) {
        digitalWrite(NORMAL_STATE_PIN, HIGH);
        clientModeState();
        setupClient();
      }
      break;
    case CONNECTION_STAGE_SERVER:
      smart::useConfigServer(configServer);
      if (deviceState.connectionStage == CONNECTION_STAGE_CONNECTED) {
        smart::cleanConfigServer(configServer);
        digitalWrite(NORMAL_STATE_PIN, HIGH);
        clientModeState();
        setupClient();
      }
      break;
    case CONNECTION_STAGE_CONNECTED:
//    TODO reconnect to AP
      Serial.println("CONNECTED");
      client->loop();
      digitalWrite(NORMAL_STATE_PIN, HIGH);
      delay(1000);
      digitalWrite(NORMAL_STATE_PIN, LOW);
      delay(1000);
      break;
  }
}
#endif

extension: ino


text:
DESCRIPTION = "Installer tegraflash package"
LICENSE = "MIT"

IMAGE_INSTALL = "packagegroup-core-boot tegra-sysinstall-tools haveged"
IMAGE_FEATURES = "empty-root-password allow-empty-password"
IMAGE_LINUGAS = ""

inherit core-image

IMAGE_FSTYPES = "tegraflash"
IMAGE_ROOTFS_SIZE = "131072"
KERNEL_ARGS_append = " root=PARTLABEL=INSTALLER"

repository: ruisebastiao/test-distro

repo_name: ruisebastiao/test-distro


text:
package commands

import (
	"os"

	"github.com/gemnasium/toolbelt/models"
	"github.com/urfave/cli"
)

var confFunc = func(project *models.Project) error {
	f, err := os.Create(".gemnasium.yml")
	if err != nil {
		return err
	}
	defer f.Close()
	err = project.Configure(project.Slug, os.Stdin, f)
	return err
}

func Configure(ctx *cli.Context) error {
	slug := ctx.Args().First()
	project, err := models.GetProject(slug)
	if err != nil {
		return err
	}

	err = confFunc(project)
	return err
}

repository: elTiempoVuela/toolbelt

repo_name: elTiempoVuela/toolbelt

gha_language: Go


text:
// Unless explicitly stated otherwise all files in this repository are licensed
// under the MIT License.
// This product includes software developed at Guance Cloud (https://www.guance.com/).
// Copyright 2021-present Guance, Inc.

package cmds

import (
	"fmt"

	"gitlab.jiagouyun.com/cloudcare-tools/datakit/internal/datakit"
	dl "gitlab.jiagouyun.com/cloudcare-tools/datakit/internal/downloader"
)

const (
	baseURL = "https://zhuyun-static-files-production.oss-cn-hangzhou.aliyuncs.com/datakit/ipdb/"
)

var allDB = []string{
	"iploc.tar.gz",
	"geolite2.tar.gz",
}

var dbDir = []string{
	"iploc",
	"geolite2",
}

func updateIPDB() error {
	installDir := datakit.DataDir + "/ipdb/"
	for idx, c := range allDB {
		fmt.Printf("Start downloading %s...\n", c)
		c = baseURL + c
		cli := getcli()

		dl.CurDownloading = "ipdb"
		if err := dl.Download(cli, c, installDir+dbDir[idx], true, false); err != nil {
			return err
		}
	}
	return nil
}

repository: GuanceCloud/datakit

repo_name: GuanceCloud/datakit

branch_name: refs/heads/main


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

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

extension: cmake


text:
#ifndef _PROCX_H
#define _PROCX_H

#include "typy.h"

class ProcessClass
{
protected:
 int State;
 int RodzajWej;
 int RodzajWyj;

public:
 ProcessClass(void);
 ~ProcessClass(void);
 ProcessClass * PrevProcess;
 ProcessClass * NextProcess;
 virtual int Init(int, char *[]);
 virtual int Work(int, Byte *, int);
 virtual void LocalDestructor(void);
 virtual ProcessClass * FindUnusedPointer(void);
 virtual int ConnectPointer(ProcessClass *);
 virtual void ZmienStan(int, int);
 virtual int Rozszczepianie(void);
 int ZgodnyTyp(ProcessClass *);
 int ProcesWejsciowy(void);
 int DodajWatek(void);
 int FunkcjaWatka(void);
};

#endif

repository: michalwidera/jeton

repo_name: michalwidera/jeton

extension: h


text:
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE eagle SYSTEM "eagle.dtd">
<eagle version="6.4">
<drawing>
<settings>
<setting alwaysvectorfont="no"/>
<setting verticaltext="up"/>
</settings>
<grid distance="0.05" unitdist="inch" unit="inch" style="lines" multiple="1" display="no" altdistance="0.025" altunitdist="inch" altunit="inch"/>
<layers>
<layer number="1" name="Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="16" name="Bottom" color="1" fill="1" visible="yes" active="yes"/>
<layer number="17" name="Pads" color="2" fill="1" visible="yes" active="yes"/>
<layer number="18" name="Vias" color="2" fill="1" visible="yes" active="yes"/>
<layer number="19" name="Unrouted" color="6" fill="1" visible="yes" active="yes"/>
<layer number="20" name="Dimension" color="15" fill="1" visible="yes" active="yes"/>
<layer number="21" name="tPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="22" name="bPlace" color="7" fill="1" visible="yes" active="yes"/>
<layer number="23" name="tOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="24" name="bOrigins" color="15" fill="1" visible="yes" active="yes"/>
<layer number="25" name="tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="26" name="bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="27" name="tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="28" name="bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="29" name="tStop" color="7" fill="3" visible="yes" active="yes"/>
<layer number="30" name="bStop" color="7" fill="6" visible="yes" active="yes"/>
<layer number="31" name="tCream" color="7" fill="4" visible="yes" active="yes"/>
<layer number="32" name="bCream" color="7" fill="5" visible="yes" active="yes"/>
<layer number="33" name="tFinish" color="6" fill="3" visible="yes" active="yes"/>
<layer number="34" name="bFinish" color="6" fill="6" visible="yes" active="yes"/>
<layer number="35" name="tGlue" color="7" fill="4" visible="yes" active="yes"/>
<layer number="36" name="bGlue" color="7" fill="5" visible="yes" active="yes"/>
<layer number="37" name="tTest" color="7" fill="1" visible="yes" active="yes"/>
<layer number="38" name="bTest" color="7" fill="1" visible="yes" active="yes"/>
<layer number="39" name="tKeepout" color="4" fill="11" visible="yes" active="yes"/>
<layer number="40" name="bKeepout" color="1" fill="11" visible="yes" active="yes"/>
<layer number="41" name="tRestrict" color="4" fill="10" visible="yes" active="yes"/>
<layer number="42" name="bRestrict" color="1" fill="10" visible="yes" active="yes"/>
<layer number="43" name="vRestrict" color="2" fill="10" visible="yes" active="yes"/>
<layer number="44" name="Drills" color="7" fill="1" visible="yes" active="yes"/>
<layer number="45" name="Holes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="46" name="Milling" color="3" fill="1" visible="yes" active="yes"/>
<layer number="47" name="Measures" color="7" fill="1" visible="yes" active="yes"/>
<layer number="48" name="Document" color="7" fill="1" visible="yes" active="yes"/>
<layer number="49" name="Reference" color="7" fill="1" visible="yes" active="yes"/>
<layer number="50" name="dxf" color="7" fill="1" visible="no" active="no"/>
<layer number="51" name="tDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="52" name="bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="53" name="tGND_GNDA" color="7" fill="9" visible="no" active="no"/>
<layer number="54" name="bGND_GNDA" color="1" fill="9" visible="no" active="no"/>
<layer number="56" name="wert" color="7" fill="1" visible="no" active="no"/>
<layer number="57" name="tCAD" color="7" fill="1" visible="no" active="no"/>
<layer number="91" name="Nets" color="2" fill="1" visible="no" active="no"/>
<layer number="92" name="Busses" color="1" fill="1" visible="no" active="no"/>
<layer number="93" name="Pins" color="2" fill="1" visible="no" active="no"/>
<layer number="94" name="Symbols" color="4" fill="1" visible="no" active="no"/>
<layer number="95" name="Names" color="7" fill="1" visible="no" active="no"/>
<layer number="96" name="Values" color="7" fill="1" visible="no" active="no"/>
<layer number="97" name="Info" color="7" fill="1" visible="no" active="no"/>
<layer number="98" name="Guide" color="6" fill="1" visible="no" active="no"/>
<layer number="100" name="Muster" color="7" fill="1" visible="no" active="no"/>
<layer number="101" name="Patch_Top" color="12" fill="4" visible="yes" active="yes"/>
<layer number="102" name="Vscore" color="7" fill="1" visible="yes" active="yes"/>
<layer number="103" name="fp3" color="7" fill="1" visible="yes" active="yes"/>
<layer number="104" name="Name" color="7" fill="1" visible="yes" active="yes"/>
<layer number="105" name="Beschreib" color="9" fill="1" visible="yes" active="yes"/>
<layer number="106" name="BGA-Top" color="4" fill="1" visible="yes" active="yes"/>
<layer number="107" name="BD-Top" color="5" fill="1" visible="yes" active="yes"/>
<layer number="108" name="fp8" color="7" fill="1" visible="yes" active="yes"/>
<layer number="109" name="fp9" color="7" fill="1" visible="yes" active="yes"/>
<layer number="110" name="fp0" color="7" fill="1" visible="yes" active="yes"/>
<layer number="111" name="LPC17xx" color="7" fill="1" visible="yes" active="yes"/>
<layer number="112" name="tSilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="116" name="Patch_BOT" color="9" fill="4" visible="yes" active="yes"/>
<layer number="121" name="_tsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="122" name="_bsilk" color="7" fill="1" visible="yes" active="yes"/>
<layer number="123" name="tTestmark" color="7" fill="1" visible="yes" active="yes"/>
<layer number="124" name="bTestmark" color="7" fill="1" visible="yes" active="yes"/>
<layer number="125" name="_tNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="126" name="_bNames" color="7" fill="1" visible="yes" active="yes"/>
<layer number="127" name="_tValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="128" name="_bValues" color="7" fill="1" visible="yes" active="yes"/>
<layer number="131" name="tAdjust" color="7" fill="1" visible="yes" active="yes"/>
<layer number="132" name="bAdjust" color="7" fill="1" visible="yes" active="yes"/>
<layer number="144" name="Drill_legend" color="7" fill="1" visible="yes" active="yes"/>
<layer number="150" name="Notes" color="7" fill="1" visible="yes" active="yes"/>
<layer number="151" name="HeatSink" color="7" fill="1" visible="yes" active="yes"/>
<layer number="152" name="_bDocu" color="7" fill="1" visible="yes" active="yes"/>
<layer number="153" name="FabDoc1" color="6" fill="1" visible="no" active="no"/>
<layer number="154" name="FabDoc2" color="2" fill="1" visible="no" active="no"/>
<layer number="155" name="FabDoc3" color="7" fill="15" visible="no" active="no"/>
<layer number="199" name="Contour" color="7" fill="1" visible="yes" active="yes"/>
<layer number="200" name="200bmp" color="1" fill="10" visible="yes" active="yes"/>
<layer number="201" name="201bmp" color="2" fill="1" visible="no" active="no"/>
<layer number="202" name="202bmp" color="3" fill="1" visible="no" active="no"/>
<layer number="203" name="203bmp" color="4" fill="10" visible="yes" active="yes"/>
<layer number="204" name="204bmp" color="5" fill="10" visible="yes" active="yes"/>
<layer number="205" name="205bmp" color="6" fill="10" visible="yes" active="yes"/>
<layer number="206" name="206bmp" color="7" fill="10" visible="yes" active="yes"/>
<layer number="207" name="207bmp" color="8" fill="10" visible="yes" active="yes"/>
<layer number="208" name="208bmp" color="9" fill="10" visible="yes" active="yes"/>
<layer number="209" name="209bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="210" name="210bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="211" name="211bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="212" name="212bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="213" name="213bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="214" name="214bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="215" name="215bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="216" name="216bmp" color="7" fill="1" visible="yes" active="yes"/>
<layer number="217" name="217bmp" color="18" fill="1" visible="no" active="no"/>
<layer number="218" name="218bmp" color="19" fill="1" visible="no" active="no"/>
<layer number="219" name="219bmp" color="20" fill="1" visible="no" active="no"/>
<layer number="220" name="220bmp" color="21" fill="1" visible="no" active="no"/>
<layer number="221" name="221bmp" color="22" fill="1" visible="no" active="no"/>
<layer number="222" name="222bmp" color="23" fill="1" visible="no" active="no"/>
<layer number="223" name="223bmp" color="24" fill="1" visible="no" active="no"/>
<layer number="224" name="224bmp" color="25" fill="1" visible="no" active="no"/>
<layer number="248" name="Housing" color="7" fill="1" visible="yes" active="yes"/>
<layer number="249" name="Edge" color="7" fill="1" visible="yes" active="yes"/>
<layer number="250" name="Descript" color="7" fill="1" visible="no" active="no"/>
<layer number="251" name="SMDround" color="7" fill="1" visible="no" active="no"/>
<layer number="254" name="cooling" color="7" fill="1" visible="yes" active="yes"/>
</layers>
<board>
<plain>
<wire x1="16.51" y1="1.27" x2="65.71" y2="1.27" width="0" layer="20"/>
<wire x1="65.71" y1="1.27" x2="65.71" y2="54.6" width="0" layer="20"/>
<wire x1="65.71" y1="54.6" x2="16.51" y2="54.6" width="0" layer="20"/>
<wire x1="16.51" y1="54.6" x2="16.51" y2="1.27" width="0" layer="20"/>
</plain>
<libraries>
<library name="adafruit">
<packages>
<package name="ARDUINOR3">
<description>The new Arduino R3 'classic' adds duplicate I2C pins and an IORef pin (and an unused pin</description>
<wire x1="0" y1="0" x2="66.04" y2="0" width="0" layer="20"/>
<wire x1="66.04" y1="0" x2="66.04" y2="2.54" width="0" layer="20"/>
<wire x1="66.04" y1="2.54" x2="68.58" y2="5.08" width="0" layer="20"/>
<wire x1="68.58" y1="5.08" x2="68.58" y2="37.846" width="0" layer="20"/>
<wire x1="68.58" y1="37.846" x2="66.04" y2="40.386" width="0" layer="20"/>
<wire x1="66.04" y1="40.386" x2="66.04" y2="51.816" width="0" layer="20"/>
<wire x1="66.04" y1="51.816" x2="64.516" y2="53.34" width="0" layer="20"/>
<wire x1="64.516" y1="53.34" x2="0" y2="53.34" width="0" layer="20"/>
<wire x1="0" y1="53.34" x2="0" y2="0" width="0" layer="20"/>
<circle x="15.24" y="50.8" radius="1.796" width="0.127" layer="51"/>
<circle x="13.97" y="2.54" radius="1.796" width="0.127" layer="51"/>
<circle x="66.04" y="35.56" radius="1.796" width="0.127" layer="51"/>
<circle x="66.04" y="7.62" radius="1.796" width="0.127" layer="51"/>
<pad name="D4" x="53.34" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A0" x="50.8" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D3" x="55.88" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D2" x="58.42" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D1" x="60.96" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D0" x="63.5" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D5" x="50.8" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D6" x="48.26" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D7" x="45.72" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D8" x="41.656" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D9" x="39.116" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D10" x="36.576" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D11" x="34.036" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D12" x="31.496" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="D13" x="28.956" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="GND" x="26.416" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="AREF" x="23.876" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A1" x="53.34" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A2" x="55.88" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A3" x="58.42" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A4" x="60.96" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="A5" x="63.5" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="VIN" x="45.72" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="GND1" x="43.18" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="GND2" x="40.64" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="5V" x="38.1" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="3V" x="35.56" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="RESET" x="33.02" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="SDA" x="21.336" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="SCL" x="18.796" y="50.8" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="IOREF" x="30.48" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<pad name="RESERVED" x="27.94" y="2.54" drill="1" diameter="1.6764" shape="octagon"/>
<text x="31.7399" y="0.254" size="1.016" layer="21" font="vector">RST</text>
<text x="34.7523" y="3.81" size="1.016" layer="21" font="vector">3v</text>
<text x="37.5463" y="3.81" size="1.016" layer="21" font="vector">5v</text>
<text x="40.7771" y="3.81" size="1.016" layer="21" font="vector">Gnd</text>
<text x="44.7853" y="3.81" size="1.016" layer="21" font="vector">Vin</text>
<text x="54.1121" y="0.4623" size="1.016" layer="21" font="vector">Analog In</text>
<text x="50.419" y="3.81" size="1.016" layer="21" font="vector">0</text>
<text x="52.959" y="3.81" size="1.016" layer="21" font="vector">1</text>
<text x="55.499" y="3.81" size="1.016" layer="21" font="vector">2</text>
<text x="58.039" y="3.81" size="1.016" layer="21" font="vector">3</text>
<text x="60.579" y="3.81" size="1.016" layer="21" font="vector">4</text>
<text x="63.119" y="3.81" size="1.016" layer="21" font="vector">5</text>
<text x="22.225" y="48.514" size="1.016" layer="21" font="vector">ARef</text>
<text x="25.146" y="52.07" size="1.016" layer="21" font="vector">Gnd</text>
<text x="30.099" y="49.53" size="1.016" layer="21" font="vector" rot="R180">13</text>
<text x="32.639" y="49.53" size="1.016" layer="21" font="vector" rot="R180">12</text>
<text x="35.179" y="49.53" size="1.016" layer="21" font="vector" rot="R180">11</text>
<text x="37.719" y="49.53" size="1.016" layer="21" font="vector" rot="R180">10</text>
<text x="39.751" y="49.53" size="1.016" layer="21" font="vector" rot="R180">9</text>
<text x="42.291" y="49.53" size="1.016" layer="21" font="vector" rot="R180">8</text>
<text x="46.355" y="49.53" size="1.016" layer="21" font="vector" rot="R180">7</text>
<text x="48.895" y="49.53" size="1.016" layer="21" font="vector" rot="R180">6</text>
<text x="51.435" y="49.53" size="1.016" layer="21" font="vector" rot="R180">5</text>
<text x="53.975" y="49.53" size="1.016" layer="21" font="vector" rot="R180">4</text>
<text x="56.515" y="49.53" size="1.016" layer="21" font="vector" rot="R180">3</text>
<text x="59.055" y="49.53" size="1.016" layer="21" font="vector" rot="R180">2</text>
<text x="61.595" y="49.53" size="1.016" layer="21" font="vector" rot="R180">1</text>
<text x="64.135" y="49.53" size="1.016" layer="21" font="vector" rot="R180">0</text>
<text x="31.623" y="52.07" size="1.016" layer="21" font="vector">Digital I/O</text>
<text x="50.927" y="52.07" size="1.016" layer="21" font="vector">Digital I/O</text>
<text x="17.653" y="48.514" size="1.016" layer="21" font="vector">SCL</text>
<text x="19.939" y="52.07" size="1.016" layer="21" font="vector">SDA</text>
<text x="29.4539" y="3.81" size="1.016" layer="21" font="vector">IOr</text>
</package>
</packages>
</library>
<library name="serge">
<packages>
<package name="ARDUINO-PRO-MINI">
<pad name="D9" x="-13.97" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D8" x="-11.43" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D7" x="-8.89" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D6" x="-6.35" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D5" x="-3.81" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D4" x="-1.27" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D3" x="1.27" y="7.62" drill="0.8" shape="octagon"/>
<pad name="D2" x="3.81" y="7.62" drill="0.8" shape="octagon"/>
<pad name="GND4" x="6.35" y="7.62" drill="0.8" shape="octagon"/>
<pad name="RST1" x="8.89" y="7.62" drill="0.8" shape="octagon"/>
<pad name="RX1" x="11.43" y="7.62" drill="0.8" shape="octagon"/>
<pad name="TX1" x="13.97" y="7.62" drill="0.8" shape="octagon"/>
<pad name="GND2" x="16.51" y="6.35" drill="0.8" shape="octagon"/>
<pad name="GND3" x="16.51" y="3.81" drill="0.8" shape="octagon"/>
<pad name="VCC1" x="16.51" y="1.27" drill="0.8" shape="octagon"/>
<pad name="RX2" x="16.51" y="-1.27" drill="0.8" shape="octagon"/>
<pad name="TX2" x="16.51" y="-3.81" drill="0.8" shape="octagon"/>
<pad name="DTR" x="16.51" y="-6.35" drill="0.8" shape="octagon"/>
<pad name="RAW" x="13.97" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="GND1" x="11.43" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="RST2" x="8.89" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="VCC2" x="6.35" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="A3" x="3.81" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="A5" x="5.08" y="-5.08" drill="0.8" shape="octagon"/>
<pad name="A4" x="2.54" y="-5.08" drill="0.8" shape="octagon"/>
<pad name="A2" x="1.27" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="A1" x="-1.27" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="A0" x="-3.81" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="A7" x="-5.08" y="-5.08" drill="0.8" shape="octagon"/>
<pad name="A6" x="-7.62" y="-5.08" drill="0.8" shape="octagon"/>
<pad name="D13" x="-6.35" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="D12" x="-8.89" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="D11" x="-11.43" y="-7.62" drill="0.8" shape="octagon"/>
<pad name="D10" x="-13.97" y="-7.62" drill="0.8" shape="octagon"/>
<wire x1="-15.24" y1="-8.89" x2="17.78" y2="-8.89" width="0.127" layer="21"/>
<wire x1="17.78" y1="-8.89" x2="17.78" y2="8.89" width="0.127" layer="21"/>
<wire x1="17.78" y1="8.89" x2="-15.24" y2="8.89" width="0.127" layer="21"/>
<wire x1="-15.24" y1="8.89" x2="-15.24" y2="-8.89" width="0.127" layer="21"/>
<text x="12.446" y="8.89" size="1.778" layer="25" rot="R90">RX</text>
<text x="14.986" y="8.89" size="1.778" layer="25" rot="R90">TX</text>
<text x="18.034" y="5.588" size="1.778" layer="25">GND</text>
<text x="18.034" y="3.048" size="1.778" layer="25">GND</text>
<text x="18.034" y="0.508" size="1.778" layer="25">VCC</text>
<text x="18.034" y="-2.032" size="1.778" layer="25">RX</text>
<text x="18.034" y="-4.572" size="1.778" layer="25">TX</text>
<text x="18.034" y="-7.112" size="1.778" layer="25">DTR</text>
<text x="12.954" y="-9.144" size="1.778" layer="25" rot="R270">RAW</text>
<text x="10.414" y="-9.144" size="1.778" layer="25" rot="R270">GND</text>
<text x="7.874" y="-9.144" size="1.778" layer="25" rot="R270">RST</text>
<text x="5.334" y="-9.144" size="1.778" layer="25" rot="R270">VCC</text>
<text x="2.794" y="-9.144" size="1.778" layer="25" rot="R270">A3</text>
<text x="0.254" y="-9.144" size="1.778" layer="25" rot="R270">A2</text>
<text x="-2.286" y="-9.144" size="1.778" layer="25" rot="R270">A1</text>
<text x="-4.826" y="-9.144" size="1.778" layer="25" rot="R270">A0</text>
<text x="-7.366" y="-9.144" size="1.778" layer="25" rot="R270">D13</text>
<text x="-9.906" y="-9.144" size="1.778" layer="25" rot="R270">D12</text>
<text x="-12.446" y="-9.144" size="1.778" layer="25" rot="R270">D11</text>
<text x="-14.986" y="-9.144" size="1.778" layer="25" rot="R270">D10</text>
<text x="6.096" y="-3.81" size="1.778" layer="25" rot="R90">A5</text>
<text x="3.556" y="-3.81" size="1.778" layer="25" rot="R90">A4</text>
<text x="-4.064" y="-3.81" size="1.778" layer="25" rot="R90">A7</text>
<text x="9.906" y="8.89" size="1.778" layer="25" rot="R90">RST</text>
<text x="-6.604" y="-3.81" size="1.778" layer="25" rot="R90">A6</text>
<text x="7.366" y="8.89" size="1.778" layer="25" rot="R90">GND</text>
<text x="4.826" y="8.89" size="1.778" layer="25" rot="R90">D2</text>
<text x="2.286" y="8.89" size="1.778" layer="25" rot="R90">D3</text>
<text x="-0.254" y="8.89" size="1.778" layer="25" rot="R90">D4</text>
<text x="-2.794" y="8.89" size="1.778" layer="25" rot="R90">D5</text>
<text x="-5.334" y="8.89" size="1.778" layer="25" rot="R90">D6</text>
<text x="-7.874" y="8.89" size="1.778" layer="25" rot="R90">D7</text>
<text x="-10.414" y="8.89" size="1.778" layer="25" rot="R90">D8</text>
<text x="-12.954" y="8.89" size="1.778" layer="25" rot="R90">D9</text>
</package>
</packages>
</library>
</libraries>
<attributes>
</attributes>
<variantdefs>
</variantdefs>
<classes>
<class number="0" name="default" width="0" drill="0">
</class>
</classes>
<designrules name="default">
<description language="de"><b>EAGLE Design Rules</b>
<p>
Die Standard-Design-Rules sind so gewählt, dass sie für
die meisten Anwendungen passen. Sollte ihre Platine
besondere Anforderungen haben, treffen Sie die erforderlichen
Einstellungen hier und speichern die Design Rules unter
einem neuen Namen ab.</description>
<description language="en"><b>EAGLE Design Rules</b>
<p>
The default Design Rules have been set to cover
a wide range of applications. Your particular design
may have different requirements, so please make the
necessary adjustments and save your customized
design rules under a new name.</description>
<param name="layerSetup" value="(1*16)"/>
<param name="mtCopper" value="0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm 0.035mm"/>
<param name="mtIsolate" value="1.5mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm 0.15mm 0.2mm"/>
<param name="mdWireWire" value="16mil"/>
<param name="mdWirePad" value="16mil"/>
<param name="mdWireVia" value="16mil"/>
<param name="mdPadPad" value="16mil"/>
<param name="mdPadVia" value="16mil"/>
<param name="mdViaVia" value="16mil"/>
<param name="mdSmdPad" value="16mil"/>
<param name="mdSmdVia" value="16mil"/>
<param name="mdSmdSmd" value="16mil"/>
<param name="mdViaViaSameLayer" value="8mil"/>
<param name="mnLayersViaInSmd" value="2"/>
<param name="mdCopperDimension" value="16mil"/>
<param name="mdDrill" value="8mil"/>
<param name="mdSmdStop" value="0mil"/>
<param name="msWidth" value="10mil"/>
<param name="msDrill" value="24mil"/>
<param name="msMicroVia" value="9.99mm"/>
<param name="msBlindViaRatio" value="0.5"/>
<param name="rvPadTop" value="0.25"/>
<param name="rvPadInner" value="0.25"/>
<param name="rvPadBottom" value="0.25"/>
<param name="rvViaOuter" value="0.25"/>
<param name="rvViaInner" value="0.25"/>
<param name="rvMicroViaOuter" value="0.25"/>
<param name="rvMicroViaInner" value="0.25"/>
<param name="rlMinPadTop" value="10mil"/>
<param name="rlMaxPadTop" value="20mil"/>
<param name="rlMinPadInner" value="10mil"/>
<param name="rlMaxPadInner" value="20mil"/>
<param name="rlMinPadBottom" value="10mil"/>
<param name="rlMaxPadBottom" value="20mil"/>
<param name="rlMinViaOuter" value="8mil"/>
<param name="rlMaxViaOuter" value="20mil"/>
<param name="rlMinViaInner" value="8mil"/>
<param name="rlMaxViaInner" value="20mil"/>
<param name="rlMinMicroViaOuter" value="4mil"/>
<param name="rlMaxMicroViaOuter" value="20mil"/>
<param name="rlMinMicroViaInner" value="4mil"/>
<param name="rlMaxMicroViaInner" value="20mil"/>
<param name="psTop" value="-1"/>
<param name="psBottom" value="-1"/>
<param name="psFirst" value="-1"/>
<param name="psElongationLong" value="100"/>
<param name="psElongationOffset" value="100"/>
<param name="mvStopFrame" value="1"/>
<param name="mvCreamFrame" value="0"/>
<param name="mlMinStopFrame" value="4mil"/>
<param name="mlMaxStopFrame" value="4mil"/>
<param name="mlMinCreamFrame" value="0mil"/>
<param name="mlMaxCreamFrame" value="0mil"/>
<param name="mlViaStopLimit" value="0mil"/>
<param name="srRoundness" value="0"/>
<param name="srMinRoundness" value="0mil"/>
<param name="srMaxRoundness" value="0mil"/>
<param name="slThermalIsolate" value="10mil"/>
<param name="slThermalsForVias" value="0"/>
<param name="dpMaxLengthDifference" value="10mm"/>
<param name="dpGapFactor" value="2.5"/>
<param name="checkGrid" value="0"/>
<param name="checkAngle" value="0"/>
<param name="checkFont" value="1"/>
<param name="checkRestrict" value="1"/>
<param name="useDiameter" value="13"/>
<param name="maxErrors" value="50"/>
</designrules>
<autorouter>
<pass name="Default">
<param name="RoutingGrid" value="50mil"/>
<param name="tpViaShape" value="round"/>
<param name="PrefDir.1" value="|"/>
<param name="PrefDir.2" value="0"/>
<param name="PrefDir.3" value="0"/>
<param name="PrefDir.4" value="0"/>
<param name="PrefDir.5" value="0"/>
<param name="PrefDir.6" value="0"/>
<param name="PrefDir.7" value="0"/>
<param name="PrefDir.8" value="0"/>
<param name="PrefDir.9" value="0"/>
<param name="PrefDir.10" value="0"/>
<param name="PrefDir.11" value="0"/>
<param name="PrefDir.12" value="0"/>
<param name="PrefDir.13" value="0"/>
<param name="PrefDir.14" value="0"/>
<param name="PrefDir.15" value="0"/>
<param name="PrefDir.16" value="-"/>
<param name="cfVia" value="8"/>
<param name="cfNonPref" value="5"/>
<param name="cfChangeDir" value="2"/>
<param name="cfOrthStep" value="2"/>
<param name="cfDiagStep" value="3"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="1"/>
<param name="cfMalusStep" value="1"/>
<param name="cfPadImpact" value="4"/>
<param name="cfSmdImpact" value="4"/>
<param name="cfBusImpact" value="0"/>
<param name="cfHugging" value="3"/>
<param name="cfAvoid" value="4"/>
<param name="cfPolygon" value="10"/>
<param name="cfBase.1" value="0"/>
<param name="cfBase.2" value="1"/>
<param name="cfBase.3" value="1"/>
<param name="cfBase.4" value="1"/>
<param name="cfBase.5" value="1"/>
<param name="cfBase.6" value="1"/>
<param name="cfBase.7" value="1"/>
<param name="cfBase.8" value="1"/>
<param name="cfBase.9" value="1"/>
<param name="cfBase.10" value="1"/>
<param name="cfBase.11" value="1"/>
<param name="cfBase.12" value="1"/>
<param name="cfBase.13" value="1"/>
<param name="cfBase.14" value="1"/>
<param name="cfBase.15" value="1"/>
<param name="cfBase.16" value="0"/>
<param name="mnVias" value="20"/>
<param name="mnSegments" value="9999"/>
<param name="mnExtdSteps" value="9999"/>
<param name="mnRipupLevel" value="10"/>
<param name="mnRipupSteps" value="100"/>
<param name="mnRipupTotal" value="100"/>
</pass>
<pass name="Follow-me" refer="Default" active="yes">
</pass>
<pass name="Busses" refer="Default" active="yes">
<param name="cfNonPref" value="4"/>
<param name="cfBusImpact" value="4"/>
<param name="cfHugging" value="0"/>
<param name="mnVias" value="0"/>
</pass>
<pass name="Route" refer="Default" active="yes">
</pass>
<pass name="Optimize1" refer="Default" active="yes">
<param name="cfVia" value="99"/>
<param name="cfExtdStep" value="10"/>
<param name="cfHugging" value="1"/>
<param name="mnExtdSteps" value="1"/>
<param name="mnRipupLevel" value="0"/>
</pass>
<pass name="Optimize2" refer="Optimize1" active="yes">
<param name="cfNonPref" value="0"/>
<param name="cfChangeDir" value="6"/>
<param name="cfExtdStep" value="0"/>
<param name="cfBonusStep" value="2"/>
<param name="cfMalusStep" value="2"/>
<param name="cfPadImpact" value="2"/>
<param name="cfSmdImpact" value="2"/>
<param name="cfHugging" value="0"/>
</pass>
<pass name="Optimize3" refer="Optimize2" active="yes">
<param name="cfChangeDir" value="8"/>
<param name="cfPadImpact" value="0"/>
<param name="cfSmdImpact" value="0"/>
</pass>
<pass name="Optimize4" refer="Optimize3" active="yes">
<param name="cfChangeDir" value="25"/>
</pass>
</autorouter>
<elements>
<element name="U1" library="adafruit" package="ARDUINOR3" value="ARDUINOR3-DIMENSION" x="1.27" y="1.27"/>
<element name="U$1" library="serge" package="ARDUINO-PRO-MINI" value="ARDUINO-PRO-MINI" x="40.64" y="27.94" rot="R180"/>
</elements>
<signals>
<signal name="GND">
<contactref element="U1" pad="GND"/>
<contactref element="U1" pad="GND1"/>
<contactref element="U1" pad="GND2"/>
<contactref element="U$1" pad="GND1"/>
<contactref element="U$1" pad="GND2"/>
<contactref element="U$1" pad="GND3"/>
<contactref element="U$1" pad="GND4"/>
<polygon width="0.4064" layer="16">
<vertex x="17.78" y="54.61"/>
<vertex x="67.31" y="54.61"/>
<vertex x="67.31" y="1.27"/>
<vertex x="17.78" y="1.27"/>
</polygon>
</signal>
<signal name="VIN">
<contactref element="U1" pad="VIN"/>
</signal>
<signal name="3V">
<contactref element="U1" pad="3V"/>
</signal>
<signal name="RAW">
<contactref element="U$1" pad="RAW"/>
</signal>
<signal name="D10">
<contactref element="U$1" pad="RST1"/>
<contactref element="U$1" pad="RST2"/>
<contactref element="U1" pad="D10"/>
<wire x1="37.846" y1="52.07" x2="37.846" y2="51.054" width="0.4064" layer="16"/>
<wire x1="37.846" y1="51.054" x2="41.91" y2="46.99" width="0.4064" layer="16"/>
<wire x1="41.91" y1="46.99" x2="46.99" y2="46.99" width="0.4064" layer="16"/>
<wire x1="46.99" y1="46.99" x2="57.15" y2="36.83" width="0.4064" layer="16"/>
<wire x1="57.15" y1="36.83" x2="57.15" y2="35.56" width="0.4064" layer="16"/>
<wire x1="57.15" y1="35.56" x2="55.88" y2="34.29" width="0.4064" layer="16"/>
<wire x1="55.88" y1="34.29" x2="33.02" y2="34.29" width="0.4064" layer="16"/>
<wire x1="33.02" y1="34.29" x2="31.75" y2="35.56" width="0.4064" layer="16"/>
<wire x1="31.75" y1="20.32" x2="33.02" y2="34.29" width="0" layer="19" extent="16-16"/>
</signal>
<signal name="D13">
<contactref element="U$1" pad="D13"/>
<contactref element="U1" pad="D13"/>
<wire x1="30.226" y1="52.07" x2="30.226" y2="51.054" width="0.4064" layer="16"/>
<wire x1="30.226" y1="51.054" x2="38.1" y2="43.18" width="0.4064" layer="16"/>
<wire x1="38.1" y1="43.18" x2="43.18" y2="43.18" width="0.4064" layer="16"/>
<wire x1="43.18" y1="43.18" x2="46.99" y2="39.37" width="0.4064" layer="16"/>
<wire x1="46.99" y1="39.37" x2="46.99" y2="35.56" width="0.4064" layer="16"/>
</signal>
<signal name="D12">
<contactref element="U$1" pad="D12"/>
<contactref element="U1" pad="D12"/>
<wire x1="49.53" y1="35.56" x2="49.53" y2="39.37" width="0.4064" layer="16"/>
<wire x1="49.53" y1="39.37" x2="44.45" y2="44.45" width="0.4064" layer="16"/>
<wire x1="44.45" y1="44.45" x2="39.37" y2="44.45" width="0.4064" layer="16"/>
<wire x1="39.37" y1="44.45" x2="32.766" y2="51.054" width="0.4064" layer="16"/>
<wire x1="32.766" y1="52.07" x2="32.766" y2="51.054" width="0.4064" layer="16"/>
</signal>
<signal name="D11">
<contactref element="U$1" pad="D11"/>
<contactref element="U1" pad="D11"/>
<wire x1="35.306" y1="52.07" x2="35.306" y2="51.054" width="0.4064" layer="16"/>
<wire x1="35.306" y1="51.054" x2="40.64" y2="45.72" width="0.4064" layer="16"/>
<wire x1="40.64" y1="45.72" x2="45.72" y2="45.72" width="0.4064" layer="16"/>
<wire x1="45.72" y1="45.72" x2="52.07" y2="39.37" width="0.4064" layer="16"/>
<wire x1="52.07" y1="39.37" x2="52.07" y2="35.56" width="0.4064" layer="16"/>
</signal>
<signal name="VCC">
<contactref element="U1" pad="5V"/>
<contactref element="U$1" pad="VCC1"/>
<contactref element="U$1" pad="VCC2"/>
<wire x1="39.37" y1="3.81" x2="39.37" y2="6.35" width="0.4064" layer="16"/>
<wire x1="39.37" y1="6.35" x2="36.83" y2="8.89" width="0.4064" layer="16"/>
<wire x1="36.83" y1="8.89" x2="30.48" y2="8.89" width="0.4064" layer="16"/>
<wire x1="30.48" y1="8.89" x2="21.59" y2="17.78" width="0.4064" layer="16"/>
<wire x1="21.59" y1="17.78" x2="21.59" y2="25.4" width="0.4064" layer="16"/>
<wire x1="21.59" y1="25.4" x2="22.86" y2="26.67" width="0.4064" layer="16"/>
<wire x1="22.86" y1="26.67" x2="24.13" y2="26.67" width="0.4064" layer="16"/>
<wire x1="24.13" y1="26.67" x2="34.29" y2="35.56" width="0" layer="19" extent="1-1"/>
</signal>
</signals>
</board>
</drawing>
</eagle>

repository: sergesyrota/arduino-projects

repo_name: sergesyrota/arduino-projects

gha_language: Eagle


text:
include(vcpkg_common_functions)

vcpkg_from_github(
    OUT_SOURCE_PATH SOURCE_PATH
    REPO frankosterfeld/qtkeychain
    REF v0.9.1
    SHA512    c80bd25a5b72c175d0d4a985b952924c807bf67be33eeb89e2b83757727e642c10d8d737cea9744d2faad74c50c1b55d82b306135559c35c91a088c3b198b33a
    HEAD_REF master
)

list(APPEND QTKEYCHAIN_OPTIONS -DCMAKE_DEBUG_POSTFIX=d)
list(APPEND QTKEYCHAIN_OPTIONS -DBUILD_TEST_APPLICATION:BOOL=OFF)
if(VCPKG_LIBRARY_LINKAGE STREQUAL "static")
    list(APPEND QTKEYCHAIN_OPTIONS -DQTKEYCHAIN_STATIC:BOOL=ON)
else()
    list(APPEND QTKEYCHAIN_OPTIONS -DQTKEYCHAIN_STATIC:BOOL=OFF)
endif()

if (CMAKE_HOST_WIN32)
    list(APPEND QTKEYCHAIN_OPTIONS -DBUILD_TRANSLATIONS:BOOL=ON)
else()
    list(APPEND QTKEYCHAIN_OPTIONS -DBUILD_TRANSLATIONS:BOOL=OFF)
endif()

vcpkg_configure_cmake(
    SOURCE_PATH ${SOURCE_PATH}
	OPTIONS ${QTKEYCHAIN_OPTIONS}
)

vcpkg_install_cmake()

vcpkg_copy_pdbs()

# Remove unneeded dirs
file(REMOVE_RECURSE
	${CURRENT_PACKAGES_DIR}/debug/include
	${CURRENT_PACKAGES_DIR}/debug/lib/cmake
	${CURRENT_PACKAGES_DIR}/lib/cmake
)

# Handle copyright
file(COPY ${SOURCE_PATH}/COPYING DESTINATION ${CURRENT_PACKAGES_DIR}/share/qtkeychain)
file(RENAME ${CURRENT_PACKAGES_DIR}/share/qtkeychain/COPYING ${CURRENT_PACKAGES_DIR}/share/qtkeychain/copyright)

repository: JackBoos/vcpkg

repo_name: JackBoos/vcpkg

gha_license_id: NOASSERTION


text:
@inproceedings{pdp08:beske,
 address = {Toulose, France},
 author = {Aldinucci, Marco and Campa, Sonia and Danelutto, Marco and Vanneschi, Marco and Kilpatrick, Peter and Dazzi, Patrizio and Laforenza, Domenico and Tonellotto, Nicola},
 bibmarkers = {GRIN-2017 Classe B- Scopus Cit. 45 Google Cit. 82},
 booktitle = {Proceedings of the $16^th$ Euromicro Conference on Parallel, Distributed and Network-based Processing (PDP 2008)},
 doi = {10.1109/PDP.2008.46},
 isbn = {978-0-7695-3089-5},
 issn = {1066-6192},
 month = {February},
 pages = {54--63},
 publisher = {IEEE Computer Society Press},
 title = {Behavioral skeletons in GCM: automatic management of grid components,},
 year = {2008}
}

repository: khastagir/academic-kickstart

repo_name: khastagir/academic-kickstart

extension: bib


text:
using AcBlog.Client.Models;
using AcBlog.Sdk;
using AcBlog.Sdk.Api;
using AcBlog.Sdk.FileSystem;
using Microsoft.Extensions.DependencyInjection;
using System;
using System.Collections.Generic;
using System.IO;
using System.Net.Http;
using System.Text;
using StardustDL.Extensions.FileProviders.Http;
using Microsoft.Extensions.Configuration;
using Microsoft.Extensions.Options;
using System.Net.Http.Headers;
using AcBlog.Sdk.Extensions;
using AcBlog.Data.Pages;
using AcBlog.Data.Repositories;
using AcBlog.Sdk.Helpers;

namespace AcBlog.Client
{
    public static class ServiceExtensions
    {
        public static void AddClientConfigurations(this IServiceCollection services, IConfiguration configuration)
        {
            services.Configure<ServerSettings>(configuration.GetSection("Server"));
            services.Configure<BuildStatus>(configuration.GetSection("Build"));
        }

        public static void AddBlogService(this IServiceCollection services, string baseAddress)
        {
            services.PostConfigure<ServerSettings>(settings =>
            {
                settings.BaseAddress = baseAddress;
            });
            services.AddScoped<IBlogService, ClientBlogService>();

            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService);
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PageService);
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().LayoutService);
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().CommentService);
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().StatisticService);
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().FileService);
            services.AddScoped<IPostRepository>(sp => sp.GetRequiredService<IBlogService>().PostService);
            services.AddScoped<IPageRepository>(sp => sp.GetRequiredService<IBlogService>().PageService);
            services.AddScoped<ILayoutRepository>(sp => sp.GetRequiredService<IBlogService>().LayoutService);
            services.AddScoped<ICommentRepository>(sp => sp.GetRequiredService<IBlogService>().CommentService);
            services.AddScoped<IStatisticRepository>(sp => sp.GetRequiredService<IBlogService>().StatisticService);
            services.AddScoped<IFileRepository>(sp => sp.GetRequiredService<IBlogService>().FileService);

            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService.CreateArticleFilter());
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService.CreateSlidesFilter());
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService.CreateNoteFilter());
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService.CreateKeywordFilter());
            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PostService.CreateCategoryFilter());

            services.AddScoped(sp => sp.GetRequiredService<IBlogService>().PageService.CreateRouteFilter());

            services.AddScoped<IMarkdownRenderService, MarkdownRenderService>();
            services.AddScoped<IPageRenderService, PageRenderService>();

            services.AddScoped<IClientUrlGenerator, ClientUrlGenerator>();
        }
    }
}

repository: dystudio/acblog

repo_name: dystudio/acblog

extension: cs


text:
SUMMARY = "Baslcer BCON Demo Application"
DESCRIPTION = "Early demo app to be run in 5csx dev board"
LICENSE = "GPLv2"
LIC_FILES_CHKSUM = "file://${COREBASE}/meta/files/common-licenses/GPL-2.0;md5=801f80980d171dd6425610833a22dbe6"

SRC_URI = "svn://svnsrv/svn/mityaltera/stereo_vision_carrier/trunk/sw;protocol=http;module=ARM;"
SRCREV = "${AUTOREV}"

S = "${WORKDIR}/ARM/demo_app"

# r1 - add logos
# r2 - add support files for stereo vision application
PR = "r1"
PR = "r2"

# ${PV} is pulled from the recipe filename, e.g. helloworld_2.7.bb -> ${PV} expands to "2.7".
# We use immediate evaluation to define a new var PVBASE holding the original value of ${PV}.
PVBASE := "${PV}"

# We need to tell bitbake about our current directory structure or we won't be able to find patches after we mess with ${PV}
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}-${PVBASE}:"

# Then redefine PV to tack the svn rev onto the base version. This is evaluated at fetch time.
# Then the package will get rebuilt any time the relevant part of the source tree changes.
PV = "${PVBASE}.${SRCPV}"

inherit autotools

DEPENDS += "pylon libfpga"

RDEPENDS_${PN} += "bash"

do_install_append() {
    install -d ${D}/home
    install -d ${D}/home/root
    install -m 0755 ${WORKDIR}/ARM/config/setup.sh ${D}/home/root
    install -m 0755 ${WORKDIR}/ARM/config/setup_dual.sh ${D}/home/root
    install -m 0755 ${WORKDIR}/ARM/config/daA2500-14bc.ini ${D}/home/root
    install -m 0755 ${WORKDIR}/ARM/config/da1280-54bm_cam1.ini ${D}/home/root
    install -m 0755 ${WORKDIR}/ARM/config/da1280-54bm_cam2.ini ${D}/home/root
    install -m 0644 ${WORKDIR}/ARM/config/basler_logo.raw ${D}/home/root
    install -m 0644 ${WORKDIR}/ARM/config/critical_link_logo.raw ${D}/home/root
}

FILES_${PN} += " \
	/home \
	/home/root \
	/home/root/setup.sh \
	/home/root/setup_dual.sh \
	/home/root/daA2500-14bc.ini \
	/home/root/da1280-54bm_cam1.ini \
	/home/root/da1280-54bm_cam2.ini \
	/home/root/basler_logo.raw \
	/home/roo/critical_link_logo.raw "