answer
stringlengths 15
1.25M
|
|---|
<!DOCTYPE html>
<html xmlns:msxsl="urn:<API key>:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="<API key>">.NET Portability Report</title>
<style>
/* Body style, for the entire document */
body {
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1 {
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2 {
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3 {
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
h4 {
font-weight: normal;
font-size: 12pt;
margin: 0;
padding: 0 0 0 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a {
color: #1382CE;
}
/* Paragraph text (for longer informational messages) */
p {
font-size: 10pt;
}
/* Table styles */
table {
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th {
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td {
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
.NoBreakingChanges {
color: darkgreen;
font-weight:bold;
}
.FewBreakingChanges {
color: orange;
font-weight:bold;
}
.ManyBreakingChanges {
color: red;
font-weight:bold;
}
.BreakDetails {
margin-left: 30px;
}
.CompatMessage {
font-style: italic;
font-size: 10pt;
}
.GoodMessage {
color: darkgreen;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink {
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover {
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered {
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell {
width: 100%;
}
/* Padding around the content after the h1 */
#content {
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table {
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table {
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded {
min-width: 18px;
min-height: 18px;
background-repeat: no-repeat;
background-position: center;
}
/* Success icon encoded */
.IconSuccessEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+<API key>/H5+sHpZwYfxyRjTs+<API key>/13u3Fjrs/EdhsdDFHGB/<API key>+m3tVe/t97D52CB/ziG0nIgD/<API key>/<API key>/<API key>+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==);
}
/* Information icon encoded */
.IconInfoEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/<API key>+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/<API key>/HF1RsMXq+<API key>/<API key>+<API key>/<API key>=);
}
/* Warning icon encoded */
.IconWarningEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/<API key>+wVDSyyzFoJjfz9NB+pAF+<API key>/<API key>/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/<API key>==);
}
/* Error icon encoded */
.IconErrorEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/<API key>/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+<API key>/<API key>/<API key>=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
<API key>
</i>
</p>
</div>
<h2 _locid="SummaryTitle">
<a name="Portability Summary"></a>Portability Summary
</h2>
<div id="summary">
<table>
<tbody>
<tr>
<th>Assembly</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
</tr>
<tr>
<td><strong><a href="#Assembly-CSharp">Assembly-CSharp</a></strong></td>
<td class="text-center">97.60 %</td>
<td class="text-center">91.98 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">91.98 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
<a name="Assembly-CSharp"><h3>Assembly-CSharp</h3></a>
<table>
<tbody>
<tr>
<th>Target type</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
<th>Recommended changes</th>
</tr>
<tr>
<td>System.Array</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Sort``2(``0[],``1[],System.Int32,System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Collections.ArrayList</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Clear</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Count</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Item(System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetEnumerator</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Insert(System.Int32,System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">RemoveAt(System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Collections.Generic.List`1</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ConvertAll``1(System.Converter{`0,``0})</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ForEach(System.Action{`0})</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Collections.Hashtable</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Add(System.Object,System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Clone</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Contains(System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ContainsKey(System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Count</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Item(System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Keys</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Values</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetEnumerator</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Remove(System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_Item(System.Object,System.Object)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Converter`2</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage. Implement conversion code yourself if needed.</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.Object,System.IntPtr)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage. Implement conversion code yourself if needed.</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Delegate</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use MethodInfo.CreateDelegate</td>
</tr>
<tr>
<td style="padding-left:2em">CreateDelegate(System.Type,System.Object,System.Reflection.MethodInfo)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use MethodInfo.CreateDelegate</td>
</tr>
<tr>
<td style="padding-left:2em">CreateDelegate(System.Type,System.Object,System.String,System.Boolean)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use MethodInfo.CreateDelegate</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Diagnostics.Process</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_StartInfo</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Start</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Start(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Diagnostics.ProcessStartInfo</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_FileName(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Environment</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFolderPath(System.Environment.SpecialFolder)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Environment.SpecialFolder</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Globalization.CultureInfo</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em"><API key>(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Globalization.TextInfo</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ToTitleCase(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IConvertible</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.BinaryReader</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.BinaryWriter</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.Directory</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">CreateDirectory(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Delete(System.String,System.Boolean)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Exists(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetCurrentDirectory</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetDirectories(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetDirectories(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFiles(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFiles(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetLogicalDrives</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.DirectoryInfo</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Name</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Parent</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Root</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetDirectories</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFiles</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFiles(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFiles(System.String,System.IO.SearchOption)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ToString</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.File</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">AppendAllText(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">AppendText(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Create(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">CreateText(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Delete(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Exists(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetLastWriteTime(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Open(System.String,System.IO.FileMode)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenRead(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenText(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenWrite(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ReadAllBytes(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ReadAllLines(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.ReadLines()</td>
</tr>
<tr>
<td style="padding-left:2em">ReadAllText(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteAllBytes(System.String,System.Byte[])</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteAllLines(System.String,System.String[])</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.WriteAllLines(String, Ienumerable <System.String>) instead</td>
</tr>
<tr>
<td style="padding-left:2em">WriteAllText(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileAccess</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileInfo</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">AppendText</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">CopyTo(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">CopyTo(System.String,System.Boolean)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Create</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">CreateText</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Decrypt</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Delete</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Encrypt</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Directory</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_DirectoryName</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Exists</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_IsReadOnly</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.GetAttributes(), check (fileInfo.Attributes & FileAttributes.ReadOnly) == FileAttributes.ReadOnly</td>
</tr>
<tr>
<td style="padding-left:2em">get_Length</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Name</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">MoveTo(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Open(System.IO.FileMode)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Open(System.IO.FileMode,System.IO.FileAccess)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Open(System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenRead</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenText</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">OpenWrite</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Replace(System.String,System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Replace(System.String,System.String,System.Boolean)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_IsReadOnly(System.Boolean)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use fileInfo.Attributes = fileInfo.Attributes | FileAttributes.ReadOnly to set read only, fileInfo.Attributes = fileInfo.Attributes & ~FileAttributes.ReadOnly … to clear it.</td>
</tr>
<tr>
<td style="padding-left:2em">ToString</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileMode</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileShare</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileStream</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String,System.IO.FileMode)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">BeginRead(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">BeginWrite(System.Byte[],System.Int32,System.Int32,System.AsyncCallback,System.Object)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">EndRead(System.IAsyncResult)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">EndWrite(System.IAsyncResult)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Flush</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_CanRead</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_CanSeek</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_CanWrite</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_IsAsync</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Length</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Name</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Position</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Lock(System.Int64,System.Int64)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Read(System.Byte[],System.Int32,System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ReadByte</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Seek(System.Int64,System.IO.SeekOrigin)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_Position(System.Int64)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">SetLength(System.Int64)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Unlock(System.Int64,System.Int64)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Write(System.Byte[],System.Int32,System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteByte(System.Byte)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.FileSystemInfo</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Extension</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_FullName</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_LastWriteTime</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.MemoryStream</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use an overload that supplies a buffer and maintain that buffer outside of memory stream. If you need the internal buffer, create a copy via .ToArray();</td>
</tr>
<tr>
<td style="padding-left:2em">GetBuffer</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use an overload that supplies a buffer and maintain that buffer outside of memory stream. If you need the internal buffer, create a copy via .ToArray();</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.Path</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em"><API key></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.SearchOption</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.Stream</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.StreamReader</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.OpenText, or use File.Open to get a Stream then pass it to StreamReader constructor</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.StreamWriter</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.Open to get a Stream then pass it to StreamWriter constructor</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String,System.Boolean)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use File.Open to get a Stream then pass it to StreamWriter constructor</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.IO.TextWriter</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Dispose instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.MarshalByRefObject</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Remove usage</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Net.Security.<API key></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Not supported for HTTP - use new Handler and ignorable server certificate errors instead</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.Object,System.IntPtr)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Not supported for HTTP - use new Handler and ignorable server certificate errors instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Net.Security.SslPolicyErrors</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Not supported for HTTP - use new Handler and ignorable server certificate errors instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Net.ServicePointManager</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler types instead</td>
</tr>
<tr>
<td style="padding-left:2em"><API key>(System.Net.Security.<API key>)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use System.Net.Http.HttpClient, System.Net.Http.HttpClientHandler and System.Net.Http.WinHttpHandler types instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Net.WebClient</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use HttpClient instead</td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use HttpClient instead</td>
</tr>
<tr>
<td style="padding-left:2em"><API key>(System.ComponentModel.<API key>)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">DownloadFileAsync(System.Uri,System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use HttpClient instead</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Reflection.Assembly</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>typeof(CurrentType).GetTypeInfo().Assembly</td>
</tr>
<tr>
<td style="padding-left:2em"><API key></td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>typeof(CurrentType).GetTypeInfo().Assembly</td>
</tr>
<tr>
<td style="padding-left:2em">GetTypes</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Assembly.DefinedTypes</td>
</tr>
<tr>
<td style="padding-left:2em">LoadFrom(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use AssemblyLoadContext</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Reflection.Binder</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use an overload that does not take a Binder.</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Reflection.BindingFlags</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Reflection.ParameterModifier</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use an overload that does not take a ParameterModifier array.</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Runtime.InteropServices.COMException</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ToString</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Runtime.Serialization.Formatters.Binary.BinaryFormatter</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Deserialize(System.IO.Stream)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Serialize(System.IO.Stream,System.Object)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.Cryptography.HashAlgorithm</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">ComputeHash(System.Byte[])</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.Cryptography.<API key></td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.Cryptography.X509Certificates.X509Certificate</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Security.Cryptography.X509Certificates.X509Chain</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.String</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Copy(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Intern(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Text.Encoding</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ASCII</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Threading.Thread</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_CurrentThread</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_CurrentCulture(System.Globalization.CultureInfo)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Type</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Assembly</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().Assembly</td>
</tr>
<tr>
<td style="padding-left:2em">get_BaseType</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().BaseType</td>
</tr>
<tr>
<td style="padding-left:2em">get_IsEnum</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().IsEnum</td>
</tr>
<tr>
<td style="padding-left:2em">get_IsGenericType</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().IsGenericType</td>
</tr>
<tr>
<td style="padding-left:2em">get_IsValueType</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().IsValueType</td>
</tr>
<tr>
<td style="padding-left:2em">GetConstructor(System.Reflection.BindingFlags,System.Reflection.Binder,System.Type[],System.Reflection.ParameterModifier[])</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use GetConstructor(Type[]) to search for public constructors by parameter type or filter the results of GetConstructors(BindingFlags) using LINQ for other queries.</td>
</tr>
<tr>
<td style="padding-left:2em">GetConstructor(System.Type[])</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetField(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetField(System.String,System.Reflection.BindingFlags)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFields</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetFields(System.Reflection.BindingFlags)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetGenericArguments</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetInterface(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetInterfaces</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetMethod(System.String,System.Reflection.BindingFlags)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Equivalent available: Add using for System.Reflection, and reference System.Reflection.TypeExtensions </td>
</tr>
<tr>
<td style="padding-left:2em">GetMethod(System.String,System.Type[])</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetMethods</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetMethods(System.Reflection.BindingFlags)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetProperties</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetProperty(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetType</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">InvokeMember(System.String,System.Reflection.BindingFlags,System.Reflection.Binder,System.Object,System.Object[])</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Find member and use appropriate invocation method based off BindingFlags values used in original call (varies by type of member)</td>
</tr>
<tr>
<td style="padding-left:2em">IsAssignableFrom(System.Type)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">IsSubclassOf(System.Type)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>.GetTypeInfo().IsSubclassOf</td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.Formatting</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlAttribute</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Value</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.<API key></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ItemOf(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlDocument</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em"><API key>(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Load(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td>Use Load(System.IO.Stream) overload</td>
</tr>
<tr>
<td style="padding-left:2em">LoadXml(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlElement</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Attributes</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_InnerXml</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Name</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ParentNode</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em"><API key>(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">HasAttribute(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">SetAttribute(System.String,System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlNode</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Attributes</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ChildNodes</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_FirstChild</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_HasChildNodes</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_InnerText</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_InnerXml</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Item(System.String)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Name</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_NextSibling</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_NodeType</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_OuterXml</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ParentNode</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlNodeList</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_Count</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">get_ItemOf(System.Int32)</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">GetEnumerator</td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
<tr>
<td>System.Xml.XmlTextWriter</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">#ctor(System.String,System.Text.Encoding)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">Close</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_Formatting(System.Xml.Formatting)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_Indentation(System.Int32)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">set_IndentChar(System.Char)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteEndDocument</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteEndElement</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteStartDocument</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td style="padding-left:2em">WriteString(System.String)</td>
<td class="IconErrorEncoded"></td>
<td class="IconErrorEncoded"></td>
<td class="IconSuccessEncoded"></td>
<td class="IconErrorEncoded"></td>
<td></td>
</tr>
<tr>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
<td> </td>
</tr>
</tbody>
</table>
<p>
<a href="#Portability Summary">Back to Summary</a>
</p>
</div>
</div>
</body>
</html>
|
<?php
function formatBytes($bytes, $precision = 2) {
$units = array('B', 'KB', 'MB', 'GB', 'TB');
$bytes = max($bytes, 0);
$pow = floor(($bytes ? log($bytes) : 0) / log(1024));
$pow = min($pow, count($units) - 1);
$bytes /= pow(1024, $pow);
return round($bytes, $precision) . ' ' . $units[$pow];
}
function secondsToTime($seconds) {
$dtF = new DateTime("@0");
$dtT = new DateTime("@$seconds");
return $dtF->diff($dtT)->format('%a days');
}
function pagination($query,$per_page=10,$page=1,$url='?'){
global $con;
$query = "SELECT COUNT(*) as `num` FROM {$query}";
$row = mysqli_fetch_array(mysqli_query($con,$query));
$total = $row['num'];
$adjacents = "2";
$prevlabel = "‹ Prev";
$nextlabel = "Next ›";
$lastlabel = "Last ››";
$page = ($page == 0 ? 1 : $page);
$start = ($page - 1) * $per_page;
$prev = $page - 1;
$next = $page + 1;
$lastpage = ceil($total/$per_page);
$lpm1 = $lastpage - 1; // //last page minus 1
$pagination = "";
if($lastpage > 1){
$pagination .= "<ul class='pagination'>";
$pagination .= "<li class='page_info'>Page {$page} of {$lastpage}</li>";
if ($page > 1) $pagination.= "<li><a href='{$url}page={$prev}'>{$prevlabel}</a></li>";
if ($lastpage < 7 + ($adjacents * 2)){
for ($counter = 1; $counter <= $lastpage; $counter++){
if ($counter == $page)
$pagination.= "<li><a class='current'>{$counter}</a></li>";
else
$pagination.= "<li><a href='{$url}page={$counter}'>{$counter}</a></li>";
}
} elseif($lastpage > 5 + ($adjacents * 2)){
if($page < 1 + ($adjacents * 2)) {
for ($counter = 1; $counter < 4 + ($adjacents * 2); $counter++){
if ($counter == $page)
$pagination.= "<li><a class='current'>{$counter}</a></li>";
else
$pagination.= "<li><a href='{$url}page={$counter}'>{$counter}</a></li>";
}
$pagination.= "<li class='dot'>...</li>";
$pagination.= "<li><a href='{$url}page={$lpm1}'>{$lpm1}</a></li>";
$pagination.= "<li><a href='{$url}page={$lastpage}'>{$lastpage}</a></li>";
} elseif($lastpage - ($adjacents * 2) > $page && $page > ($adjacents * 2)) {
$pagination.= "<li><a href='{$url}page=1'>1</a></li>";
$pagination.= "<li><a href='{$url}page=2'>2</a></li>";
$pagination.= "<li class='dot'>...</li>";
for ($counter = $page - $adjacents; $counter <= $page + $adjacents; $counter++) {
if ($counter == $page)
$pagination.= "<li><a class='current'>{$counter}</a></li>";
else
$pagination.= "<li><a href='{$url}page={$counter}'>{$counter}</a></li>";
}
$pagination.= "<li class='dot'>..</li>";
$pagination.= "<li><a href='{$url}page={$lpm1}'>{$lpm1}</a></li>";
$pagination.= "<li><a href='{$url}page={$lastpage}'>{$lastpage}</a></li>";
} else {
$pagination.= "<li><a href='{$url}page=1'>1</a></li>";
$pagination.= "<li><a href='{$url}page=2'>2</a></li>";
$pagination.= "<li class='dot'>..</li>";
for ($counter = $lastpage - (2 + ($adjacents * 2)); $counter <= $lastpage; $counter++) {
if ($counter == $page)
$pagination.= "<li><a class='current'>{$counter}</a></li>";
else
$pagination.= "<li><a href='{$url}page={$counter}'>{$counter}</a></li>";
}
}
}
if ($page < $counter - 1) {
$pagination.= "<li><a href='{$url}page={$next}'>{$nextlabel}</a></li>";
$pagination.= "<li><a href='{$url}page=$lastpage'>{$lastlabel}</a></li>";
}
$pagination.= "</ul>";
}
return $pagination;
}
function statustorrent($intstatus) {
if( $intstatus == 1 )
return "Waiting to verify local files";
if( $intstatus == 2 )
return "Verifying local files";
if( $intstatus == 4 )
return "<font color=\"#DBA901\">Downloading</font>";
if( $intstatus == 6 )
return "<font color=\"green\">Seeding</font>";
if( $intstatus == 0 )
return "<font color=\"red\">Stopped</font>";
if( $intstatus == 5 )
return "Queued for seeding";
if( $intstatus == 3 )
return "Queued for download";
}
function colorratio($ratio) {
if( $ratio >= 1 )
$color = '#006600';
elseif( $ratio == 1 )
$color = '#33FF00';
elseif( $ratio >= 0.8 )
$color = '#FF9900';
elseif( $ratio >= 0.5 )
$color = '#FF3300';
elseif( $ratio >= 0 )
$color = '#FF0000 ';
return "<font color=\"$color\">$ratio</font>";
}
function rateupload($rate) {
if( $rate > 0 )
return "<img src=\"mos-css/img/arrow_large_up.png\" title=\"".formatBytes($rate)."/s\">";
}
?>
|
# Namespace for library
module P3
module TV
# Settings for P3 TV
class Settings
attr_accessor :path
DEFAULT_PATH = File::expand_path( "~/.p3tv/p3tv" )
EPISODES_JSON = 'episodes.json'
DEFAULTS = {
:library_path => '~/Movies/P3TV',
:download_path => '~/Downloads',
:<API key> => false,
:<API key> => false,
:allowed_types => ['.avi', '.mkv', '.mp4'],
:language => 'en',
:subtitles => ['.srt'],
:high_def => true,
:verbose => false,
:dry_run => false,
:series => []
}
def self.exists?( path = DEFAULT_PATH )
File::exist?( path )
end
def self.create_default!( path = DEFAULT_PATH )
raise "a settings file already exists. please delete #{path} first" if exists?( path )
FileUtils::mkdir_p( File::dirname( path ) )
settings = Settings.new( path )
DEFAULTS.each do | key, value |
settings[ key ] = value
end
settings.save!
end
def self.set!( key, value, path = DEFAULT_PATH )
settings = Settings.new( path )
settings[ key ] = value
settings.save!
end
def initialize( path = DEFAULT_PATH )
@path = path
@values = {}
@episodes = {}
return unless File::exists?( @path )
FileUtils::mkdir_p( File::dirname( @path ) )
f = File::open( @path, 'r' )
@values = JSON.parse(f.read, symbolize_names: true)
f.close
self[:library_path] = File::expand_path( self[:library_path ] )
FileUtils::mkdir_p( self[:library_path] )
self[:download_path] = File::expand_path( self[:download_path ] )
self[:series].uniq!
if( self[:<API key>] and self[:<API key>] )
raise "you cannot have '<API key>' and '<API key>' both set to true"
end
end
def to_h
@values
end
def []( key )
@values[ key.to_sym ]
end
def []=( key, value )
@values[ key.to_sym ] = value
self.save!
end
def <API key>(dir = self[:download_path])
glob = File.join(dir, '**/*')
all_file_paths = Dir.glob(glob)
all_file_paths.select do |file_path|
<API key>?(file_path)
end
end
def <API key>?(path)
return ( self[:allowed_types].include?( File::extname( path ) ) or self[:allowed_types].include?( File::extname( path ) ) )
end
def get_series( seriesid )
return self[:series].detect{|s| s[:id] == seriesid }
end
def download_url!( url, path )
return path if File::exists?( path )
begin
download = open( url )
IO.copy_stream( download, path )
rescue => e
return ""
end
return path
end
def download_banners!( banners, path )
FileUtils::mkdir_p( File::dirname( path ) )
return if banners.empty?
banner = banners.detect{|b| b.url.length }
return "" unless banner
return download_url!( banner.url, path )
end
def episodes( seriesid )
unless @episodes.has_key?( seriesid )
episode_file = File::join( series_dir( seriesid ), EPISODES_JSON )
if( File::exists?( episode_file ) )
f = File::open( episode_file )
@episodes[ seriesid ] = JSON::parse( f.read, :symbolize_names => true )
end
end
return @episodes[ seriesid ]
end
def <API key>( seriesid, search, downloads, library )
today = Date::today.to_s
series_hash = self[:series].detect{|s| s[:id] == seriesid}
return unless series_hash
episodes( seriesid ).each do | episode_hash |
next if episode_hash[:season_number] == 0
ep_file = P3::TV::EpisodeFile.new
ep_file.series_id = episode_hash[:id]
ep_file.series = series_hash[:name]
ep_file.season = episode_hash[:season_number]
ep_file.episode = episode_hash[:number]
ep_file.title = episode_hash[:name]
ep_file.air_date = episode_hash[:air_date]
ep_file.thumbnail = episode_hash[:thumb_path]
if( ( ep_file.air_date == nil ) or ( ep_file.air_date > today ) )
ep_file.percent_done = 0
ep_file.status = :upcoming
ep_file.path = ''
elsif( library.exists?( ep_file ) )
ep_file.percent_done = 1
ep_file.status = :cataloged
ep_file.path = library.episode_path( ep_file )
elsif( download_path = downloads.get_path_if_exists( ep_file ) )
ep_file.percent_done = 1
ep_file.status = :downloaded
ep_file.path = download_path
elsif( torrent = downloads.<API key>( ep_file ) )
ep_file.percent_done = torrent['percentDone']
ep_file.status = :downloading
ep_file.path = ''
elsif( magnet_link = search.<API key>( ep_file ) )
ep_file.percent_done = 0
ep_file.status = :available
ep_file.path = magnet_link
else
ep_file.percent_done = 0
ep_file.status = :missing
ep_file.path = ''
end
yield( ep_file )
end
end
def series_dir( seriesid )
return File::join( File::dirname( @path ), 'series', seriesid )
end
def download_episodes!( series )
meta_path = series_dir( series.id )
episodes = []
series.episodes.each do |episode|
episode_hash = episode.to_h
episode_hash[:thumb_path] = download_url!( episode_hash[:thumb], File::join( meta_path, "#{episode.id}.jpg" ) )
episodes << episode_hash
end
f = File::open( File::join( meta_path, EPISODES_JSON ), 'w' )
f.puts JSON::pretty_generate( episodes )
f.close()
@episodes.delete( series.id ) #clear the cache
end
def add_series!( series )
meta_path = series_dir( series.id )
hash = series.to_h
hash[:banners] = {}
hash[:banners][:poster] = download_banners!(series.posters( self[:language] ), File::join( meta_path, 'poster.jpg' ) )
hash[:banners][:banner] = download_banners!( series.series_banners( self[:language] ), File::join( meta_path, 'banner.jpg' ) )
download_episodes!( series )
remove_series!( hash[:id] )
self[:series] << hash
leading_the = /^The /
self[:series].sort!{|a,b| a[:name].gsub(leading_the,'') <=> b[:name].gsub(leading_the,'') }
self.save!
end
def update_series!( series )
return unless series.status == "Continuing"
ep = self.episodes( series.id )
return unless( ep )
ep.select!{|e| e[:air_date] }
ep.sort!{|a,b| b[:air_date] <=> a[:air_date] } #newest episode first
today = Date::today.to_s
if( ep.empty? or ( ep[0][:air_date] < today ) )
download_episodes!( series )
end
end
def remove_series!( seriesid )
self[:series].reject!{|s| s[:id] == seriesid }
self.save!
end
def save!
f = File::open( @path, 'w' )
f.puts( JSON::pretty_generate( @values ) )
f.close
end
end
end
end
|
import * as React from 'react';
function CubeIcon(props) {
return (
<svg
xmlns="http:
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
{...props}
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M20 7l-8-4-8 4m16 0l-8 4m8-4v10l-8 4m0-10L4 7m8 4v10M4 7v10l8 4"
/>
</svg>
);
}
export default CubeIcon;
|
<ion-header>
<ion-navbar>
<ion-title>{{'Wallet Color' | translate}}</ion-title>
</ion-navbar>
</ion-header>
<ion-content class="wallet-color-count <API key>">
<ion-list radio-group [(ngModel)]="currentColorIndex">
<ion-item *ngFor="let i of colorCount">
<ion-label>
<span class="<API key> wallet-color-{{i}}"></span>
</ion-label>
<ion-radio (click)="save(i)" [value]="i"></ion-radio>
</ion-item>
</ion-list>
</ion-content>
|
INCLUDE "hardware.inc"
INCLUDE "header.inc"
SECTION "Main",HOME
;
;- Main() -
;
Main:
ld a,$80
ld [rNR52],a
ld a,$FF
ld [rNR51],a
ld a,$77
ld [rNR50],a
ld a,$C0
ld [rNR11],a
ld a,$E0
ld [rNR12],a
ld a,$00
ld [rNR13],a
ld a,$87
ld [rNR14],a
;
ld a,LCDCF_ON
ld [rLCDC],a
REPT 100
ld b,140
call wait_ly
ld b,139
call wait_ly
ENDR
;
ld a,0
ld [rIF],a
ld a,IEF_HILO
ld [rIE],a
;
ei
.end:
ld b,1
call wait_ly
ld b,0
call wait_ly
ld a,$00
ld [rP1],a
ld a,$30
ld [rP1],a
inc a
inc a
inc a
inc a
inc a
jr .end
|
# module Hello
class Identity < ActiveRecord::Base
module Password
extend ActiveSupport::Concern
included do
<API key> :email, :password, if: :is_password?
# email
<API key> :email, if: :is_password?
<API key> :email,
message: 'already exists',
if: :is_password?
puts "username should be unique too".on_red
# <API key> :password,
in: 4..200,
too_long: 'pick a longer password',
too_short: 'pick a shorter password',
if: :is_password?
end
def is_password?
strategy.to_s.inquiry.password?
end
module ClassMethods
def encrypt(unencrypted_string)
Digest::MD5.hexdigest(unencrypted_string)
end
end
def should_reset_token?
token_digested_at.blank? || token_digested_at < 7.days.ago
end
def reset_token
uuid = SecureRandom.hex(8) # probability = 1 / (16 ** 16)
digest = self.class.encrypt(uuid)
update(token_digest: digest, token_digested_at: 1.second.ago)
return uuid
end
def invalidate_token
update(token_digest: nil, token_digested_at: nil)
end
private
end
end
# end
|
<!DOCTYPE html>
<html ng-app="myApp">
<head>
<script src="http://code.angularjs.org/1.2.16/angular.min.js"></script>
<script src="http://code.angularjs.org/1.2.16/angular-route.min.js"></script>
<script src="/ng-tools/src/module.js"></script>
<script src="/ng-tools/src/mark-current-links.js"></script>
<script>
console.log("app loaded");
var app = angular.module('myApp', ['ngRoute', 'ngTools']);
app.config(function ($routeProvider, $locationProvider) {
$locationProvider.html5Mode(true); //Setting HTML5 Location Mode
var routes = [
{ route:'/1', resolve: {template: '<h2>view 1</h2>'}},
{ route:'/2', resolve: {template: '<h2>view 2</h2>', reloadOnSearch: false}},
{ route:'/3', resolve: {template: '<h2>view 2</h2>', reloadOnSearch: false}}
];
routes.forEach(function(routeDef){
$routeProvider.when(routeDef.route, routeDef.resolve);
});
});
app.controller('mainCtrl', function ($scope) {
$scope.routes = [1,2,3];
$scope.addLink = function () {
$scope.routes.push($scope.routes.length + 1);
};
})
</script>
<style type="text/css">
a.current p{
background-color: lightblue;
}
</style>
</head>
<body ng-controller="mainCtrl" mark-current-links>
<a ng-repeat="link in routes" href="/{{ link }}"><p>Route {{link}}</p></a>
<button ng-click="addLink()">add link</button>
</body>
</html>
|
var repl = require('repl');
var server = repl.start({});
var con = server.context;
con.name='zfpx';
con.age = 5;
con.grow = function(){
return ++con.age;
}
|
<!DOCTYPE HTML PUBLIC "-
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (1.8.0_92) on Sat Oct 22 19:44:39 CEST 2016 -->
<title>Uses of Package com.vangav.backend.exceptions</title>
<meta name="date" content="2016-10-22">
<link rel="stylesheet" type="text/css" href="../../../../stylesheet.css" title="Style">
<script type="text/javascript" src="../../../../script.js"></script>
</head>
<body>
<script type="text/javascript"><!
try {
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="Uses of Package com.vangav.backend.exceptions";
}
}
catch(err) {
}
</script>
<noscript>
<div>JavaScript is disabled on your browser.</div>
</noscript>
<div class="topNav"><a name="navbar.top">
</a>
<div class="skipNav"><a href="#skip.navbar.top" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.top.firstrow">
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/vangav/backend/exceptions/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip.navbar.top">
</a></div>
<div class="header">
<h1 title="Uses of Package com.vangav.backend.exceptions" class="title">Uses of Package<br>com.vangav.backend.exceptions</h1>
</div>
<div class="contentContainer">
<ul class="blockList">
<li class="blockList">
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing packages, and an explanation">
<caption><span>Packages that use <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colFirst" scope="col">Package</th>
<th class="colLast" scope="col">Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colFirst"><a href="#com.vangav.backend.exceptions">com.vangav.backend.exceptions</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.vangav.backend.exceptions.handlers">com.vangav.backend.exceptions.handlers</a></td>
<td class="colLast"> </td>
</tr>
<tr class="altColor">
<td class="colFirst"><a href="#com.vangav.backend.play_framework.request">com.vangav.backend.play_framework.request</a></td>
<td class="colLast"> </td>
</tr>
<tr class="rowColor">
<td class="colFirst"><a href="#com.vangav.backend.play_framework.request.response">com.vangav.backend.play_framework.request.response</a></td>
<td class="colLast"> </td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.vangav.backend.exceptions">
</a>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a> used by <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.html#com.vangav.backend.exceptions">VangavException</a>
<div class="block">VangavException is the parent exception class for all exceptions</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.ExceptionClass.html#com.vangav.backend.exceptions">VangavException.ExceptionClass</a>
<div class="block">ExceptionClass
sub-type for an exception defining the logical source of the exception
this helps classifying the exception</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.ExceptionType.html#com.vangav.backend.exceptions">VangavException.ExceptionType</a>
<div class="block">ExceptionType
exception types for child classes</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.vangav.backend.exceptions.handlers">
</a>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a> used by <a href="../../../../com/vangav/backend/exceptions/handlers/package-summary.html">com.vangav.backend.exceptions.handlers</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.ExceptionType.html#com.vangav.backend.exceptions.handlers">VangavException.ExceptionType</a>
<div class="block">ExceptionType
exception types for child classes</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.vangav.backend.play_framework.request">
</a>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a> used by <a href="../../../../com/vangav/backend/play_framework/request/package-summary.html">com.vangav.backend.play_framework.request</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.html#com.vangav.backend.play_framework.request">VangavException</a>
<div class="block">VangavException is the parent exception class for all exceptions</div>
</td>
</tr>
</tbody>
</table>
</li>
<li class="blockList"><a name="com.vangav.backend.play_framework.request.response">
</a>
<table class="useSummary" border="0" cellpadding="3" cellspacing="0" summary="Use table, listing classes, and an explanation">
<caption><span>Classes in <a href="../../../../com/vangav/backend/exceptions/package-summary.html">com.vangav.backend.exceptions</a> used by <a href="../../../../com/vangav/backend/play_framework/request/response/package-summary.html">com.vangav.backend.play_framework.request.response</a></span><span class="tabEnd"> </span></caption>
<tr>
<th class="colOne" scope="col">Class and Description</th>
</tr>
<tbody>
<tr class="altColor">
<td class="colOne"><a href="../../../../com/vangav/backend/exceptions/class-use/VangavException.html#com.vangav.backend.play_framework.request.response">VangavException</a>
<div class="block">VangavException is the parent exception class for all exceptions</div>
</td>
</tr>
</tbody>
</table>
</li>
</ul>
</div>
<div class="bottomNav"><a name="navbar.bottom">
</a>
<div class="skipNav"><a href="#skip.navbar.bottom" title="Skip navigation links">Skip navigation links</a></div>
<a name="navbar.bottom.firstrow">
</a>
<ul class="navList" title="Navigation">
<li><a href="../../../../overview-summary.html">Overview</a></li>
<li><a href="package-summary.html">Package</a></li>
<li>Class</li>
<li class="navBarCell1Rev">Use</li>
<li><a href="package-tree.html">Tree</a></li>
<li><a href="../../../../deprecated-list.html">Deprecated</a></li>
<li><a href="../../../../index-files/index-1.html">Index</a></li>
<li><a href="../../../../help-doc.html">Help</a></li>
</ul>
</div>
<div class="subNav">
<ul class="navList">
<li>Prev</li>
<li>Next</li>
</ul>
<ul class="navList">
<li><a href="../../../../index.html?com/vangav/backend/exceptions/package-use.html" target="_top">Frames</a></li>
<li><a href="package-use.html" target="_top">No Frames</a></li>
</ul>
<ul class="navList" id="<API key>">
<li><a href="../../../../allclasses-noframe.html">All Classes</a></li>
</ul>
<div>
<script type="text/javascript"><!
allClassesLink = document.getElementById("<API key>");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
</script>
</div>
<a name="skip.navbar.bottom">
</a></div>
</body>
</html>
|
layout: page
title: Library Students
categories: []
tags: []
status: draft
type: page
published: false
meta:
_edit_last: '1'
[nggallery id=8]<br /><br />
|
// Please see <API key>.md in repository root for
#include <Atomic/Core/ProcessUtils.h>
#include <Atomic/IO/Log.h>
#include <Atomic/IO/FileSystem.h>
#include <Atomic/Engine/Engine.h>
#include <Atomic/Resource/ResourceCache.h>
#include <ToolCore/ToolSystem.h>
#include <ToolCore/ToolEnvironment.h>
#include <ToolCore/Build/BuildSystem.h>
#include <ToolCore/License/LicenseEvents.h>
#include <ToolCore/License/LicenseSystem.h>
#include <ToolCore/Command/Command.h>
#include <ToolCore/Command/CommandParser.h>
#include "AtomicTool.h"
<API key>(AtomicTool::AtomicTool);
using namespace ToolCore;
namespace AtomicTool
{
AtomicTool::AtomicTool(Context* context) :
Application(context),
deactivate_(false)
{
}
AtomicTool::~AtomicTool()
{
}
void AtomicTool::Setup()
{
const Vector<String>& arguments = GetArguments();
for (unsigned i = 0; i < arguments.Size(); ++i)
{
if (arguments[i].Length() > 1)
{
String argument = arguments[i].ToLower();
String value = i + 1 < arguments.Size() ? arguments[i + 1] : String::EMPTY;
if (argument == "--cli-data-path")
{
if (!value.Length())
ErrorExit("Unable to parse --cli-data-path");
cliDataPath_ = AddTrailingSlash(value);
}
else if (argument == "--activate")
{
if (!value.Length())
ErrorExit("Unable to parse --activation product key");
activationKey_ = value;
}
else if (argument == "--deactivate")
{
deactivate_ = true;
}
}
}
engineParameters_["Headless"] = true;
engineParameters_["LogLevel"] = LOG_INFO;
// no default resources (will be initialized later)
engineParameters_["ResourcePaths"] = "";
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
GetSubsystem<Engine>()->Exit();
}
void AtomicTool::HandleCommandError(StringHash eventType, VariantMap& eventData)
{
String error = "Command Error";
const String& message = eventData[CommandError::P_MESSAGE].ToString();
if (message.Length())
error = message;
ErrorExit(error);
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
ErrorExit("\nActivation Required: Please run: atomic-cli activate\n");
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
ErrorExit("\nActivation Required: Please run: atomic-cli activate\n");
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
if (command_.Null())
{
GetSubsystem<Engine>()->Exit();
return;
}
command_->Run();
}
void AtomicTool::HandleLicenseError(StringHash eventType, VariantMap& eventData)
{
ErrorExit("\nActivation Required: Please run: atomic-cli activate\n");
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
String message = eventData[<API key>::P_MESSAGE].ToString();
ErrorExit(message);
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
LOGRAW("\nActivation successful, thank you!\n\n");
GetSubsystem<Engine>()->Exit();
}
void AtomicTool::DoActivation()
{
LicenseSystem* licenseSystem = GetSubsystem<LicenseSystem>();
if (!licenseSystem->ValidateKey(activationKey_))
{
ErrorExit(ToString("\nProduct key \"%s\" is invalid, keys are in the form <API key>\n", activationKey_.CString()));
return;
}
licenseSystem-><API key>();
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
licenseSystem-><API key>(activationKey_);
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
String message = eventData[<API key>::P_MESSAGE].ToString();
ErrorExit(message);
}
void AtomicTool::<API key>(StringHash eventType, VariantMap& eventData)
{
LOGRAW("\nDeactivation successful\n\n");
GetSubsystem<Engine>()->Exit();
}
void AtomicTool::DoDeactivation()
{
LicenseSystem* licenseSystem = GetSubsystem<LicenseSystem>();
if (!licenseSystem->LoadLicense())
{
ErrorExit("\nNot activated");
return;
}
if (!licenseSystem->Deactivate())
{
ErrorExit("\nNot activated\n");
return;
}
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
}
void AtomicTool::Start()
{
// Subscribe to events
SubscribeToEvent(E_COMMANDERROR, HANDLER(AtomicTool, HandleCommandError));
SubscribeToEvent(E_COMMANDFINISHED, HANDLER(AtomicTool, <API key>));
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
SubscribeToEvent(<API key>, HANDLER(AtomicTool, <API key>));
SubscribeToEvent(E_LICENSE_ERROR, HANDLER(AtomicTool, HandleLicenseError));
SubscribeToEvent(E_LICENSE_SUCCESS, HANDLER(AtomicTool, <API key>));
const Vector<String>& arguments = GetArguments();
ToolSystem* tsystem = new ToolSystem(context_);
context_->RegisterSubsystem(tsystem);
ToolEnvironment* env = new ToolEnvironment(context_);
context_->RegisterSubsystem(env);
//#ifdef ATOMIC_DEV_BUILD
if (!env->InitFromJSON())
{
ErrorExit(ToString("Unable to initialize tool environment from %s", env-><API key>().CString()));
return;
}
if (!cliDataPath_.Length())
{
cliDataPath_ = env->GetRootSourceDir() + "/Resources/";
}
//#endif
ResourceCache* cache = GetSubsystem<ResourceCache>();
cache->AddResourceDir(env->GetCoreDataDir());
cache->AddResourceDir(env->GetPlayerDataDir());
tsystem->SetCLI();
tsystem->SetDataPath(cliDataPath_);
if (activationKey_.Length())
{
DoActivation();
return;
} else if (deactivate_)
{
DoDeactivation();
return;
}
BuildSystem* buildSystem = GetSubsystem<BuildSystem>();
SharedPtr<CommandParser> parser(new CommandParser(context_));
SharedPtr<Command> cmd(parser->Parse(arguments));
if (!cmd)
{
String error = "No command found";
if (parser->GetErrorMessage().Length())
error = parser->GetErrorMessage();
ErrorExit(error);
return;
}
if (cmd->RequiresProjectLoad())
{
FileSystem* fileSystem = GetSubsystem<FileSystem>();
String projectDirectory = fileSystem->GetCurrentDir();
Vector<String> projectFiles;
fileSystem->ScanDir(projectFiles, projectDirectory, "*.atomic", SCAN_FILES, false);
if (!projectFiles.Size())
{
ErrorExit(ToString("No .atomic project file in %s", projectDirectory.CString()));
return;
}
else if (projectFiles.Size() > 1)
{
ErrorExit(ToString("Multiple .atomic project files found in %s", projectDirectory.CString()));
return;
}
String projectFile = projectDirectory + "/" + projectFiles[0];
if (!tsystem->LoadProject(projectFile))
{
//ErrorExit(ToString("Failed to load project: %s", projectFile.CString()));
//return;
}
// Set the build path
String buildFolder = projectDirectory + "/" + "Build";
buildSystem->SetBuildPath(buildFolder);
if (!fileSystem->DirExists(buildFolder))
{
fileSystem->CreateDir(buildFolder);
if (!fileSystem->DirExists(buildFolder))
{
ErrorExit(ToString("Failed to create build folder: %s", buildFolder.CString()));
return;
}
}
}
command_ = cmd;
if (cmd-><API key>())
{
GetSubsystem<LicenseSystem>()->Initialize();
}
else
{
if (command_.Null())
{
GetSubsystem<Engine>()->Exit();
return;
}
command_->Run();
}
}
void AtomicTool::Stop()
{
}
void AtomicTool::ErrorExit(const String& message)
{
engine_->Exit(); // Close the rendering window
exitCode_ = EXIT_FAILURE;
// Only for WIN32, otherwise the error messages would be double posted on Mac OS X and Linux platforms
if (!message.Length())
{
#ifdef WIN32
Atomic::ErrorExit(startupErrors_.Length() ? startupErrors_ :
"Application has been terminated due to unexpected error.", exitCode_);
#endif
}
else
Atomic::ErrorExit(message, exitCode_);
}
}
|
#include "BoatWithSupport.h"
BoatWithSupport::BoatWithSupport(int extraCapacity) :
Boat() {
extraCap = extraCapacity;
lastMaxCap = 0;
lastTransported = 0;
}
BoatWithSupport::BoatWithSupport(int capacity, int extraCapacity) :
Boat(capacity) {
extraCap = extraCapacity;
lastMaxCap = 0;
lastTransported = 0;
}
int BoatWithSupport::getExtraCapacity() {
return extraCap;
}
int BoatWithSupport::getMaxCapacity() {
return this->maxCapacity + this->extraCap;
}
BoatWithSupport::~BoatWithSupport() {
// TODO Auto-generated destructor stub
}
void BoatWithSupport::reset() {
this->transportedQuantity = lastTransported;
this->maxCapacity = lastMaxCap;
}
void BoatWithSupport::resize() {
this->lastMaxCap = this->maxCapacity;
this->maxCapacity = this->extraCap;
lastTransported = this->transportedQuantity;
this->transportedQuantity = this->extraCap;
}
|
#!/usr/bin/env python
import os
import sys
if __name__ == "__main__":
os.environ.setdefault("<API key>", "corponovo.settings")
try:
from django.core.management import <API key>
except ImportError:
# The above import may fail for some other reason. Ensure that the
# issue is really that Django is missing to avoid masking other
# exceptions on Python 2.
try:
import django
except ImportError:
raise ImportError(
"Couldn't import Django. Are you sure it's installed and "
"available on your PYTHONPATH environment variable? Did you "
"forget to activate a virtual environment?"
)
raise
<API key>(sys.argv)
|
import time
t1=.3
t2=.1
path="~/Dropbox/Ingenieria/<API key>"
time.sleep(t2)
keyboard.send_key("<f6>")
time.sleep(t2)
keyboard.send_keys(path)
time.sleep(t1)
keyboard.send_key("<enter>")
|
package org.bitbucket.ytimes.client.main;
import org.springframework.context.support.<API key>;
public class Main {
public static void main( String[] args ) throws Exception {
<API key> ctx =
new <API key>("root-context.xml");
}
}
|
require 'oplogjam/noop'
require 'oplogjam/insert'
require 'oplogjam/update'
require 'oplogjam/delete'
require 'oplogjam/command'
require 'oplogjam/apply_ops'
module Oplogjam
InvalidOperation = Class.new(ArgumentError)
class Operation
def self.from(bson)
op = bson.fetch(OP, UNKNOWN)
case op
when N then Noop.from(bson)
when I then Insert.from(bson)
when U then Update.from(bson)
when D then Delete.from(bson)
when C
if bson.fetch(O, {}).key?(APPLY_OPS)
ApplyOps.from(bson)
else
Command.from(bson)
end
else
raise InvalidOperation, "invalid operation: #{bson}"
end
end
end
end
|
from charmhelpers.core.hookenv import (
config,
unit_get,
)
from charmhelpers.contrib.network.ip import (
<API key>,
<API key>,
is_ipv6,
get_ipv6_addr,
)
from charmhelpers.contrib.hahelpers.cluster import is_clustered
PUBLIC = 'public'
INTERNAL = 'int'
ADMIN = 'admin'
_address_map = {
PUBLIC: {
'config': 'os-public-network',
'fallback': 'public-address'
},
INTERNAL: {
'config': 'os-internal-network',
'fallback': 'private-address'
},
ADMIN: {
'config': 'os-admin-network',
'fallback': 'private-address'
}
}
def canonical_url(configs, endpoint_type=PUBLIC):
'''
Returns the correct HTTP URL to this host given the state of HTTPS
configuration, hacluster and charm configuration.
:configs OSTemplateRenderer: A config tempating object to inspect for
a complete https context.
:endpoint_type str: The endpoint type to resolve.
:returns str: Base URL for services on the current service unit.
'''
scheme = 'http'
if 'https' in configs.complete_contexts():
scheme = 'https'
address = resolve_address(endpoint_type)
if is_ipv6(address):
address = "[{}]".format(address)
return '%s://%s' % (scheme, address)
def resolve_address(endpoint_type=PUBLIC):
resolved_address = None
if is_clustered():
if config(_address_map[endpoint_type]['config']) is None:
# Assume vip is simple and pass back directly
resolved_address = config('vip')
else:
for vip in config('vip').split():
if <API key>(
config(_address_map[endpoint_type]['config']),
vip):
resolved_address = vip
else:
if config('prefer-ipv6'):
fallback_addr = get_ipv6_addr()
else:
fallback_addr = unit_get(_address_map[endpoint_type]['fallback'])
resolved_address = <API key>(
config(_address_map[endpoint_type]['config']), fallback_addr)
if resolved_address is None:
raise ValueError('Unable to resolve a suitable IP address'
' based on charm state and configuration')
else:
return resolved_address
|
package alexp.blog.service;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import alexp.blog.repository.*;
import alexp.blog.model.Schedule;
@Service("ScheduleService")
public class ScheduleServiceImpl implements ScheduleService{
@Autowired
private ScheduleRepository schedulerepository;
@Override
public Schedule getSchedule(String username) {
// TODO Auto-generated method stub
System.out.println("I am in service");
return schedulerepository.<API key>(username);
}
}
|
export default {
queryRouteList: '/routes',
queryUserInfo: '/user',
logoutUser: '/user/logout',
loginUser: 'POST /user/login',
queryUser: '/user/:id',
queryUserList: '/users',
updateUser: 'Patch /user/:id',
createUser: 'POST /user',
removeUser: 'DELETE /user/:id',
removeUserList: 'POST /users/delete',
queryPostList: '/posts',
queryDashboard: '/dashboard',
}
|
import Controller from '@ember/controller';
import { debounce } from '@ember/runloop';
import fetch from 'fetch';
import RSVP from 'rsvp';
export default class extends Controller {
searchRepo(term) {
return new RSVP.Promise((resolve, reject) => {
debounce(_performSearch, term, resolve, reject, 600);
});
}
}
function _performSearch(term, resolve, reject) {
let url = `https://api.github.com/search/repositories?q=${term}`;
fetch(url).then((resp) => resp.json()).then((json) => resolve(json.items), reject);
}
|
<html>
<head>
<title>User agent detail - Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="section">
<h1 class="header center orange-text">User agent detail</h1>
<div class="row center">
<h5 class="header light">
Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
</h5>
</div>
</div>
<div class="section">
<table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Source result (test suite)</th></tr><tr><td>ua-parser/uap-core<br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td> </td><td> </td><td style="border-left: 1px solid #555">Kyocera</td><td>E4000</td><td></td><td></td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td></td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#modal-test">Detail</a>
<!-- Modal Structure -->
<div id="modal-test" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Testsuite result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
[family] => Kyocera E4000
[brand] => Kyocera
[model] => E4000
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapPhp<br /><small>6012</small></td><td>IEMobile 7.11</td><td>Trident 3.1</td><td>WinCE </td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.023</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapPhp result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^mozilla\/4\.0 \(compatible.*; msie 6\.0; windows ce; iemobile.7\.11.*$/
[<API key>] => mozilla/4.0 (compatible*; msie 6.0; windows ce; iemobile?7.11*
[parent] => IEMobile 7.11
[comment] => IEMobile 7.11
[browser] => IEMobile
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Microsoft Corporation
[browser_modus] => unknown
[version] => 7.11
[majorver] => 7
[minorver] => 11
[platform] => WinCE
[platform_version] => unknown
[<API key>] => Windows CE
[platform_bits] => 32
[platform_maker] => Microsoft Corporation
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] => 1
[javascript] => 1
[vbscript] => 1
[javaapplets] => 1
[activexcontrols] => 1
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[cssversion] => 2
[aolversion] => 0
[device_name] => general Mobile Phone
[device_maker] => unknown
[device_type] => Mobile Phone
[<API key>] => unknown
[device_code_name] => general Mobile Phone
[device_brand_name] => unknown
[<API key>] => Trident
[<API key>] => 3.1
[<API key>] => For Internet Explorer since version 4.0 and embedded WebBrowser controls (such as Internet Explorer shells, Maxthon and some media players).
[<API key>] => Microsoft Corporation
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>DonatjUAParser<br /><small>v0.5.0</small></td><td>IEMobile 7.11</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Windows
[browser] => IEMobile
[version] => 7.11
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>NeutrinoApiCom<br /><small></small></td><td>IE Mobile 7.11</td><td><i class="material-icons">close</i></td><td>Windows </td><td style="border-left: 1px solid #555">Kyocera</td><td>E4000</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.21202</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[<API key>] => 320
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Kyocera
[mobile_model] => E4000
[version] => 7.11
[is_android] =>
[browser_name] => IE Mobile
[<API key>] => Windows
[<API key>] =>
[is_ios] =>
[producer] => Microsoft Corporation.
[operating_system] => Windows CE
[mobile_screen_width] => 240
[mobile_browser] => Microsoft Mobile Explorer
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>PiwikDeviceDetector<br /><small>3.5.2</small></td><td>IE Mobile 7.11</td><td>Trident </td><td>Windows CE </td><td style="border-left: 1px solid #555">Kyocera</td><td>E4000</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.004</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => IE Mobile
[short_name] => IM
[version] => 7.11
[engine] => Trident
)
[operatingSystem] => Array
(
[name] => Windows CE
[short_name] => WCE
[version] =>
[platform] =>
)
[device] => Array
(
[brand] => KY
[brandName] => Kyocera
[model] => E4000
[device] => 1
[deviceName] => smartphone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[<API key>] =>
[isSmartDisplay] =>
[isSmartphone] => 1
[isTablet] =>
[isTV] =>
[isDesktop] =>
[isMobile] => 1
[isTouchEnabled] =>
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td><API key><br /><small>6.0.0</small></td><td>Internet Explorer 6.0</td><td><i class="material-icons">close</i></td><td>Windows CE</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4><API key> result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
)
[name:Sinergi\BrowserDetector\Browser:private] => Internet Explorer
[version:Sinergi\BrowserDetector\Browser:private] => 6.0
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Windows
[version:Sinergi\BrowserDetector\Os:private] => CE
[isMobile:Sinergi\BrowserDetector\Os:private] =>
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
)
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UAParser<br /><small>v3.4.5</small></td><td>IE Mobile 7.11</td><td><i class="material-icons">close</i></td><td>Windows CE </td><td style="border-left: 1px solid #555">Kyocera</td><td>E4000</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">UAParser\Result\Client Object
(
[ua] => UAParser\Result\UserAgent Object
(
[major] => 7
[minor] => 11
[patch] =>
[family] => IE Mobile
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] =>
[minor] =>
[patch] =>
[patchMinor] =>
[family] => Windows CE
)
[device] => UAParser\Result\Device Object
(
[brand] => Kyocera
[model] => E4000
[family] => Kyocera E4000
)
[originalUserAgent] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentStringCom<br /><small></small></td><td>IE Mobile 7.11</td><td><i class="material-icons">close</i></td><td>Windows CE </td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.06001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => IE Mobile
[agent_version] => 7.11
[os_type] => Windows
[os_name] => Windows CE
[os_versionName] =>
[os_versionNumber] =>
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] =>
[agent_languageTag] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small></td><td>Internet Explorer Mobile </td><td> </td><td>Windows </td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.40604</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[<API key>] => Windows
[<API key>] =>
[<API key>] => Internet Explorer Mobile on Windows CE
[browser_version] =>
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => Array
(
)
[layout_engine_name] =>
[detected_addons] => Array
(
)
[<API key>] =>
[<API key>] =>
[<API key>] =>
[<API key>] => Array
(
)
[browser_name_code] => <API key>
[<API key>] => CE
[<API key>] =>
[is_abusive] =>
[<API key>] =>
[<API key>] => Array
(
)
[<API key>] =>
[operating_system] => Windows CE
[<API key>] =>
[<API key>] =>
[browser_name] => Internet Explorer Mobile
[<API key>] => windows
[user_agent] => Mozilla/4.0 (compatible; MSIE 6.0; Windows CE; IEMobile 7.11) /Kyocera-E4000
[<API key>] =>
[browser] => Internet Explorer Mobile
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhichBrowser<br /><small>2.0.10</small></td><td>Mobile Internet Explorer 6.0</td><td> </td><td>Windows Mobile 6.1</td><td style="border-left: 1px solid #555"></td><td>/Kyocera-E4000</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.014</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Mobile Internet Explorer
[version] => 6.0
[type] => browser
)
[os] => Array
(
[name] => Windows Mobile
[version] => 6.1
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[model] => /Kyocera-E4000
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Woothee<br /><small>v1.2.0</small></td><td>Internet Explorer 6.0</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Internet Explorer
[vendor] => Microsoft
[version] => 6.0
[category] => smartphone
[os] => Windows CE
[os_version] => CE
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Wurfl<br /><small>1.6.4</small></td><td>IE Mobile </td><td><i class="material-icons">close</i></td><td>Windows Mobile </td><td style="border-left: 1px solid #555">Kyocera</td><td>E4000</td><td>Feature Phone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.055</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => false
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => false
[is_mobile] => true
[is_robot] => false
[is_smartphone] => false
[is_touchscreen] => false
[is_wml_preferred] => false
[<API key>] => true
[is_html_preferred] => false
[<API key>] => Windows Mobile
[<API key>] =>
[advertised_browser] => IE Mobile
[<API key>] =>
[<API key>] => Kyocera E4000
[form_factor] => Feature Phone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Kyocera
[model_name] => E4000
[unique] => true
[<API key>] =>
[is_wireless_device] => true
[<API key>] => true
[has_qwerty_keyboard] => false
[<API key>] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Windows Mobile OS
[mobile_browser] => Microsoft Mobile Explorer
[<API key>] => 7.6
[device_os_version] => 6.0
[pointing_method] =>
[release_date] => 2008_august
[marketing_name] =>
[model_extra_info] =>
[nokia_feature_pack] => 0
[<API key>] => true
[is_tablet] => false
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[<API key>] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[<API key>] => false
[<API key>] => true
[<API key>] => false
[<API key>] => true
[access_key_support] => false
[wrap_mode_support] => false
[<API key>] => false
[<API key>] => false
[<API key>] => true
[wizards_recommended] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => wtai://wp/mc;
[<API key>] => false
[emoji] => false
[<API key>] => false
[<API key>] => false
[imode_region] => none
[<API key>] => tel:
[chtml_table_support] => true
[<API key>] => true
[<API key>] => true
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => true
[<API key>] => true
[<API key>] => true
[<API key>] => false
[xhtml_nowrap_mode] => false
[<API key>] => true
[<API key>] => #FFFFFF
[<API key>] => #FFFFFF
[<API key>] => false
[<API key>] => true
[<API key>] => utf8
[<API key>] => false
[<API key>] => tel:
[<API key>] => application/xhtml+xml
[xhtml_table_support] => true
[<API key>] => none
[<API key>] => none
[xhtml_file_upload] => not_supported
[cookie_support] => true
[<API key>] => true
[<API key>] => full
[<API key>] => false
[<API key>] => none
[<API key>] => true
[ajax_manipulate_css] => false
[<API key>] => false
[<API key>] => false
[ajax_xhr_type] => none
[ajax_manipulate_dom] => false
[ajax_support_events] => false
[<API key>] => false
[<API key>] => none
[xhtml_support_level] => 3
[preferred_markup] => <API key>
[wml_1_1] => true
[wml_1_2] => true
[wml_1_3] => true
[<API key>] => true
[<API key>] => true
[<API key>] => true
[<API key>] => true
[<API key>] => true
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[<API key>] => false
[<API key>] => false
[resolution_width] => 240
[resolution_height] => 320
[columns] => 15
[max_image_width] => 228
[max_image_height] => 280
[rows] => 7
[<API key>] => 27
[<API key>] => 27
[dual_orientation] => false
[density_class] => 1.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => true
[jpg] => true
[png] => true
[tiff] => false
[<API key>] => false
[<API key>] => false
[svgt_1_1] => false
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 4096
[webp_lossy_support] => false
[<API key>] => false
[post_method_support] => true
[basic_<API key>] => true
[<API key>] => true
[emptyok] => false
[nokia_voice_call] => false
[wta_voice_call] => false
[wta_phonebook] => false
[wta_misc] => false
[wta_pdc] => false
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 200
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 16384
[<API key>] => 256
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[max_no_of_bookmarks] => 0
[<API key>] => 0
[<API key>] => 0
[max_object_size] => 0
[downloadfun_support] => false
[<API key>] => true
[inline_support] => false
[oma_support] => false
[ringtone] => true
[ringtone_3gpp] => false
[<API key>] => true
[<API key>] => true
[ringtone_imelody] => false
[ringtone_digiplug] => false
[<API key>] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => false
[ringtone_awb] => false
[ringtone_aac] => false
[ringtone_wav] => true
[ringtone_mp3] => false
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 16
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[wallpaper] => true
[wallpaper_max_width] => 176
[<API key>] => 220
[<API key>] => 176
[<API key>] => 220
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => true
[wallpaper_jpg] => true
[wallpaper_png] => true
[wallpaper_tiff] => false
[wallpaper_greyscale] => false
[wallpaper_colors] => 8
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[screensaver] => false
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[<API key>] => false
[screensaver_colors] => 2
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[<API key>] => 0
[<API key>] => 0
[picture_resize] => none
[picture_wbmp] => false
[picture_bmp] => false
[picture_gif] => false
[picture_jpg] => false
[picture_png] => false
[picture_greyscale] => false
[picture_colors] => 2
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[video] => true
[<API key>] => false
[<API key>] => false
[<API key>] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[<API key>] => 0
[<API key>] => none
[streaming_flv] => false
[streaming_3g2] => true
[<API key>] => 10
[<API key>] => -1
[<API key>] => -1
[<API key>] => -1
[<API key>] => -1
[<API key>] => nb
[<API key>] => none
[streaming_wmv] => 7
[<API key>] => rtsp
[<API key>] => none
[wap_push_support] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[utf8_support] => true
[ascii_support] => false
[iso8859_support] => false
[expiration_date] => false
[j2me_cldc_1_0] => false
[j2me_cldc_1_1] => false
[j2me_midp_1_0] => false
[j2me_midp_2_0] => false
[doja_1_0] => false
[doja_1_5] => false
[doja_2_0] => false
[doja_2_1] => false
[doja_2_2] => false
[doja_3_0] => false
[doja_3_5] => false
[doja_4_0] => false
[j2me_jtwi] => false
[j2me_mmapi_1_0] => false
[j2me_mmapi_1_1] => false
[j2me_wmapi_1_0] => false
[j2me_wmapi_1_1] => false
[j2me_wmapi_2_0] => false
[j2me_btapi] => false
[j2me_3dapi] => false
[j2me_locapi] => false
[j2me_nokia_ui] => false
[j2me_motorola_lwt] => false
[<API key>] => false
[<API key>] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[<API key>] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => none
[j2me_http] => false
[j2me_https] => false
[j2me_socket] => false
[j2me_udp] => false
[j2me_serial] => false
[j2me_gif] => false
[j2me_gif89a] => false
[j2me_jpg] => false
[j2me_png] => false
[j2me_bmp] => false
[j2me_bmp3] => false
[j2me_wbmp] => false
[j2me_midi] => false
[j2me_wav] => false
[j2me_amr] => false
[j2me_mp3] => false
[j2me_mp4] => false
[j2me_imelody] => false
[j2me_rmf] => false
[j2me_au] => false
[j2me_aac] => false
[j2me_realaudio] => false
[j2me_xmf] => false
[j2me_wma] => false
[j2me_3gpp] => false
[j2me_h263] => false
[j2me_svgt] => false
[j2me_mpeg4] => false
[j2me_realvideo] => false
[j2me_real8] => false
[j2me_realmedia] => false
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[j2me_clear_key_code] => 0
[<API key>] => false
[<API key>] => false
[receiver] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => false
[mms_jpeg_baseline] => false
[<API key>] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[<API key>] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[mms_max_frame_rate] => 0
[nokiaring] => false
[picturemessage] => false
[operatorlogo] => false
[largeoperatorlogo] => false
[callericon] => false
[nokiavcard] => false
[nokiavcal] => false
[sckl_ringtone] => false
[sckl_operatorlogo] => false
[sckl_groupgraphic] => false
[sckl_vcard] => false
[sckl_vcalendar] => false
[text_imelody] => false
[ems] => false
[<API key>] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[<API key>] => 101
[<API key>] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[awb] => false
[aac] => false
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] =>
[fl_wallpaper] => false
[fl_screensaver] => false
[fl_standalone] => false
[fl_browser] => false
[fl_sub_lcd] => false
[full_flash_support] => false
[<API key>] => true
[css_border_image] => none
[css_rounded_corners] => none
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[<API key>] => user-agent
[rss_support] => true
[pdf_support] => false
[<API key>] => false
[<API key>] => 10
[<API key>] => -1
[<API key>] => 0
[<API key>] => -1
[<API key>] => -1
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => true
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => lc
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => false
[playback_wmv] => 7
[<API key>] => false
[html_preferred_dtd] => xhtml_mp1
[viewport_supported] => false
[viewport_width] =>
[<API key>] =>
[<API key>] =>
[<API key>] =>
[<API key>] =>
[mobileoptimized] => true
[handheldfriendly] => false
[canvas_support] => none
[image_inlining] => false
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => C
[is_sencha_touch_ok] => false
[<API key>] => default
[controlcap_is_ios] => default
[<API key>] => default
[controlcap_is_robot] => default
[controlcap_is_app] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
[<API key>] => default
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr></table>
</div>
<div class="section">
<h1 class="header center orange-text">About this comparison</h1>
<div class="row center">
<h5 class="header light">
The primary goal of this project is simple<br />
I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br />
<br />
The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br />
<br />
You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/<API key>">ThaDafinser/<API key></a><br />
<br />
The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-content">
Comparison created <i>2016-02-13 13:36:23</i> | by
<a href="https://github.com/ThaDafinser">ThaDafinser</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.1.1/list.min.js"></script>
<script>
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</body>
</html>
|
<!DOCTYPE HTML PUBLIC "-
<!--NewPage
<HTML>
<HEAD>
<!-- Generated by javadoc (build 1.6.0_24) on Mon Apr 01 21:56:34 EDT 2013 -->
<TITLE>
<API key> (ATG Java API)
</TITLE>
<META NAME="date" CONTENT="2013-04-01">
<LINK REL ="stylesheet" TYPE="text/css" HREF="../../../../../stylesheet.css" TITLE="Style">
<SCRIPT type="text/javascript">
function windowTitle()
{
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="<API key> (ATG Java API)";
}
}
</SCRIPT>
<NOSCRIPT>
</NOSCRIPT>
</HEAD>
<BODY BGCOLOR="white" onload="windowTitle();">
<HR>
<A NAME="navbar_top"></A>
<A HREF="#skip-navbar_top" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="navbar_top_firstrow"></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../atg/search/routing/command/search/BaseValidation.html" title="class in atg.search.routing.command.search"><B>PREV CLASS</B></A>
<A HREF="../../../../../atg/search/routing/command/search/<API key>.<API key>.html" title="class in atg.search.routing.command.search"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?atg/search/routing/command/search/<API key>.html" target="_top"><B>FRAMES</B></A>
<A HREF="<API key>.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#<API key>">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_top"></A>
<HR>
<H2>
<FONT SIZE="-1">
atg.search.routing.command.search</FONT>
<BR>
Class <API key></H2>
<PRE>
java.lang.Object
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><A HREF="../../../../../atg/core/util/Enum.html" title="class in atg.core.util">atg.core.util.Enum</A>
<IMG SRC="../../../../../resources/inherit.gif" ALT="extended by "><B>atg.search.routing.command.search.<API key></B>
</PRE>
<DL>
<DT><B>All Implemented Interfaces:</B> <DD>java.io.Serializable, java.lang.Comparable</DD>
</DL>
<HR>
<DL>
<DT><PRE>public class <B><API key></B><DT>extends <A HREF="../../../../../atg/core/util/Enum.html" title="class in atg.core.util">Enum</A></DL>
</PRE>
<P>
Types of boolean expressions
<P>
<P>
<DL>
<DT><B>See Also:</B><DD><A HREF="../../../../../serialized-form.html#atg.search.routing.command.search.<API key>">Serialized Form</A></DL>
<HR>
<P>
<A NAME="<API key>"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Nested Class Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static class</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.<API key>.html" title="class in atg.search.routing.command.search"><API key>.<API key></A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="<API key>.core.util.Enum"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="<API key>">
<TH ALIGN="left"><B>Nested classes/interfaces inherited from class atg.core.util.<A HREF="../../../../../atg/core/util/Enum.html" title="class in atg.core.util">Enum</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../atg/core/util/Enum.EnumEditor.html" title="class in atg.core.util">Enum.EnumEditor</A>, <A HREF="../../../../../atg/core/util/Enum.LocaleEnumEditor.html" title="class in atg.core.util">Enum.LocaleEnumEditor</A></CODE></TD>
</TR>
</TABLE>
<A NAME="field_summary"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Field Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.html#AND">AND</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static java.lang.String</CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.html#CLASS_VERSION">CLASS_VERSION</A></B></CODE>
<BR>
Class version string</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.html#NOT">NOT</A></B></CODE>
<BR>
</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.html#OR">OR</A></B></CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="method_summary"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="2"><FONT SIZE="+2">
<B>Method Summary</B></FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A></CODE></FONT></TD>
<TD><CODE><B><A HREF="../../../../../atg/search/routing/command/search/<API key>.html#valueOf(java.lang.String)">valueOf</A></B>(java.lang.String pName)</CODE>
<BR>
</TD>
</TR>
</TABLE>
<A NAME="<API key>.core.util.Enum"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="<API key>">
<TH ALIGN="left"><B>Methods inherited from class atg.core.util.<A HREF="../../../../../atg/core/util/Enum.html" title="class in atg.core.util">Enum</A></B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE><A HREF="../../../../../atg/core/util/Enum.html#compareTo(java.lang.Object)">compareTo</A>, <A HREF="../../../../../atg/core/util/Enum.html#getEnumClassInfo(java.lang.Class)">getEnumClassInfo</A>, <A HREF="../../../../../atg/core/util/Enum.html#getOrdinal()">getOrdinal</A>, <A HREF="../../../../../atg/core/util/Enum.html#iterator()">iterator</A>, <A HREF="../../../../../atg/core/util/Enum.html#iterator(java.lang.Class)">iterator</A>, <A HREF="../../../../../atg/core/util/Enum.html#lookup(java.lang.Class, int)">lookup</A>, <A HREF="../../../../../atg/core/util/Enum.html#lookup(java.lang.Class, java.lang.String)">lookup</A>, <A HREF="../../../../../atg/core/util/Enum.html#lookup(int)">lookup</A>, <A HREF="../../../../../atg/core/util/Enum.html#lookup(java.lang.String)">lookup</A>, <A HREF="../../../../../atg/core/util/Enum.html#readResolve()">readResolve</A>, <A HREF="../../../../../atg/core/util/Enum.html#toString()">toString</A></CODE></TD>
</TR>
</TABLE>
<A NAME="<API key>.lang.Object"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#EEEEFF" CLASS="<API key>">
<TH ALIGN="left"><B>Methods inherited from class java.lang.Object</B></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD><CODE>clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait</CODE></TD>
</TR>
</TABLE>
<P>
<A NAME="field_detail"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Field Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="CLASS_VERSION"></A><H3>
CLASS_VERSION</H3>
<PRE>
public static java.lang.String <B>CLASS_VERSION</B></PRE>
<DL>
<DD>Class version string
<P>
<DL>
</DL>
</DL>
<HR>
<A NAME="OR"></A><H3>
OR</H3>
<PRE>
public static final <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A> <B>OR</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="AND"></A><H3>
AND</H3>
<PRE>
public static final <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A> <B>AND</B></PRE>
<DL>
<DL>
</DL>
</DL>
<HR>
<A NAME="NOT"></A><H3>
NOT</H3>
<PRE>
public static final <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A> <B>NOT</B></PRE>
<DL>
<DL>
</DL>
</DL>
<A NAME="method_detail"></A>
<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableHeadingColor">
<TH ALIGN="left" COLSPAN="1"><FONT SIZE="+2">
<B>Method Detail</B></FONT></TH>
</TR>
</TABLE>
<A NAME="valueOf(java.lang.String)"></A><H3>
valueOf</H3>
<PRE>
public static <A HREF="../../../../../atg/search/routing/command/search/<API key>.html" title="class in atg.search.routing.command.search"><API key></A> <B>valueOf</B>(java.lang.String pName)</PRE>
<DL>
<DD><DL>
</DL>
</DD>
</DL>
<HR>
<A NAME="navbar_bottom"></A>
<A HREF="#skip-navbar_bottom" title="Skip navigation links"></A>
<TABLE BORDER="0" WIDTH="100%" CELLPADDING="1" CELLSPACING="0" SUMMARY="">
<TR>
<TD COLSPAN=2 BGCOLOR="#EEEEFF" CLASS="NavBarCell1">
<A NAME="<API key>"></A>
<TABLE BORDER="0" CELLPADDING="0" CELLSPACING="3" SUMMARY="">
<TR ALIGN="center" VALIGN="top">
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../overview-summary.html"><FONT CLASS="NavBarFont1"><B>Overview</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-summary.html"><FONT CLASS="NavBarFont1"><B>Package</B></FONT></A> </TD>
<TD BGCOLOR="#FFFFFF" CLASS="NavBarCell1Rev"> <FONT CLASS="NavBarFont1Rev"><B>Class</B></FONT> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="package-tree.html"><FONT CLASS="NavBarFont1"><B>Tree</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../deprecated-list.html"><FONT CLASS="NavBarFont1"><B>Deprecated</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../index-all.html"><FONT CLASS="NavBarFont1"><B>Index</B></FONT></A> </TD>
<TD BGCOLOR="#EEEEFF" CLASS="NavBarCell1"> <A HREF="../../../../../help-doc.html"><FONT CLASS="NavBarFont1"><B>Help</B></FONT></A> </TD>
</TR>
</TABLE>
</TD>
<TD ALIGN="right" VALIGN="top" ROWSPAN=3><EM>
</EM>
</TD>
</TR>
<TR>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../atg/search/routing/command/search/BaseValidation.html" title="class in atg.search.routing.command.search"><B>PREV CLASS</B></A>
<A HREF="../../../../../atg/search/routing/command/search/<API key>.<API key>.html" title="class in atg.search.routing.command.search"><B>NEXT CLASS</B></A></FONT></TD>
<TD BGCOLOR="white" CLASS="NavBarCell2"><FONT SIZE="-2">
<A HREF="../../../../../index.html?atg/search/routing/command/search/<API key>.html" target="_top"><B>FRAMES</B></A>
<A HREF="<API key>.html" target="_top"><B>NO FRAMES</B></A>
<SCRIPT type="text/javascript">
<!
if(window==top) {
document.writeln('<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>');
}
</SCRIPT>
<NOSCRIPT>
<A HREF="../../../../../allclasses-noframe.html"><B>All Classes</B></A>
</NOSCRIPT>
</FONT></TD>
</TR>
<TR>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
SUMMARY: <A HREF="#<API key>">NESTED</A> | <A HREF="#field_summary">FIELD</A> | CONSTR | <A HREF="#method_summary">METHOD</A></FONT></TD>
<TD VALIGN="top" CLASS="NavBarCell3"><FONT SIZE="-2">
DETAIL: <A HREF="#field_detail">FIELD</A> | CONSTR | <A HREF="#method_detail">METHOD</A></FONT></TD>
</TR>
</TABLE>
<A NAME="skip-navbar_bottom"></A>
<HR>
</BODY>
</HTML>
|
import controller from './controller';
import template from './template.pug';
routes.$inject = ['$stateProvider', '$urlRouterProvider'];
export default function routes($stateProvider, $urlRouterProvider){
$stateProvider.state('main.item', {
url: '/:id/item',
template: template,
controllerAs: 'ctrl',
controller: controller
})
}
|
import { OnInit, SimpleChanges, OnChanges } from '@angular/core';
import { Validator, AbstractControl } from '@angular/forms';
export declare class NotEqualValidator implements Validator, OnInit, OnChanges {
notEqual: any;
private validator;
private onChange;
ngOnInit(): void;
ngOnChanges(changes: SimpleChanges): void;
validate(c: AbstractControl): {
[key: string]: any;
};
<API key>(fn: () => void): void;
}
|
html, body{
width: 100%;
height: 100%;
padding: 0px;
margin: 0px;
font: 14px 'Merriweather', 'serif';
color: rgb(20, 20, 20);
}
body, header{
display: -webkit-box;
display: -moz-box;
display: -ms-flexbox;
display: -webkit-flex;
display: flex;
}
body{
flex-flow: row wrap;
-webkit-box-pack: flex-start;
-moz-box-pack: flex-start;
-ms-flex-pack: flex-start;
-<API key>: flex-start;
justify-content: flex-start;
-webkit-box-align: stretch;
-moz-box-align: stretch;
-ms-flex-align: stretch;
-webkit-align-items: stretch;
align-items: stretch;
flex-grow: 2;
}
header{
flex-flow: column nowrap;
-webkit-box-pack: flex-start;
-moz-box-pack: flex-start;
-ms-flex-pack: flex-start;
-<API key>: flex-start;
justify-content: flex-start;
-webkit-box-align: center;
-moz-box-align: center;
-ms-flex-align: center;
-webkit-align-items: center;
align-items: center;
flex-grow: 1;
text-align: center;
min-width: 300px;
}
header, header > div{
-webkit-flex: 1;
-ms-flex: 1;
flex: 1;
}
header > div > div:first-child, header > div > div:last-child, main > div > *:first-child {
margin-top: 40px;
}
main {
-webkit-flex: 2;
-ms-flex: 2;
flex: 2;
}
nav {
padding-top: 2em;
}
blockquote > * {
-moz-box-sizing: border-box;
box-sizing: border-box;
margin: 1em 0px 1.75em 2.2em;
padding: 10px 0 0 1.75em;
border-left: #4A4A4A 0.4em solid;
font-size: 1.5em;
font-family: 'Open Sans','sans-sherif';
color: rgb(97, 97, 97);
}
p {
padding-bottom: 1.75em;
}
input {
padding: 5px 5px 2px 5px;
min-width: 150px;
font-size: 1.25em;
font-family: monospace;
letter-spacing: -0.05em;
line-height: 1em;
}
.container{
display:block;
width:90%;
margin:auto;
}
.small-container{
display:block;
width:97%;
margin:auto;
}
.content{
line-height: 1.75em;
padding-bottom: 50px;
}
h1, h2, h3 {
font-family: 'Open Sans','sans-sherif';
text-transform: uppercase;
padding-bottom: .45em;
}
h1{
font-size: 3.5em;
line-height: .85em;
}
h2{
font-size: 2.35em;
line-height: 1em;
}
h3{
font-size: 1.5em;
line-height: 1.25em;
}
ul, ol {
list-style-position: inside;
padding-top: .75em;
padding-bottom: .75em;
}
img {
display: block;
width: 40%;
margin: auto;
padding-top: .75em;
padding-bottom: .75em;
}
small{
font: .75em 'Open Sans', 'sans-sherif';
text-transform: uppercase;
}
a{
font-family: 'Open Sans','sans-sherif';
text-decoration: none;
color: rgb(180, 129, 0);
}
code, kbd, pre, samp {
font-family: monospace, serif;
font-size: 1em;
margin-bottom: 1em;
}
.title{
font-family: 'Open Sans','sans-sherif';
text-transform: uppercase;
letter-spacing: .05em;
}
.pagination{
margin-bottom: 20px;
text-align: center;
}
.nav > li{
list-style-type: none;
}
.bottom-links{
text-align: center;
margin-bottom: 30px;
display:none;
}
@media all and (max-width:825px) {
h1{font-size: 3em;}
h2{font-size: 2em;}
h3{font-size: 1.25em;}
}
@media all and (max-width:700px) {
.bottom-links{ display:block;}
.top-links{ display:none;}
}
@media all and (max-width:350px) {
h1{font-size: 2.5em;}
h2{font-size: 1.75em;}
h3{font-size: 1.15em;}
}
|
var config = require('./config')
var webpack = require('webpack')
var merge = require('webpack-merge')
var utils = require('./utils')
var baseWebpackConfig = require('./webpack.base.conf')
var HtmlWebpackPlugin = require('html-webpack-plugin')
var FriendlyErrors = require('<API key>')
// add hot-reload related code to entry chunks
Object.keys(baseWebpackConfig.entry).forEach(function (name) {
baseWebpackConfig.entry[name] = ['./build/dev-client'].concat(baseWebpackConfig.entry[name])
})
module.exports = merge(baseWebpackConfig, {
module: {
loaders: utils.styleLoaders({ sourceMap: config.dev.cssSourceMap })
},
// eval-source-map is faster for development
devtool: '#eval-source-map',
plugins: [
new webpack.DefinePlugin({
'process.env': config.dev.env
}),
// https://github.com/glenjamin/<API key>#installation--usage
new webpack.optimize.<API key>(),
new webpack.<API key>(),
new webpack.NoErrorsPlugin(),
new HtmlWebpackPlugin({
filename: 'example/index.html',
template: 'example/index.html',
inject: true
}),
new FriendlyErrors()
]
})
|
var margin = {top: 0, right: 0, bottom: 0, left: 130},
width = 1500 - margin.right - margin.left,
height = 470 - margin.top - margin.bottom;
var i = 0,
duration = 750,
root;
var tree = d3.layout.tree()
.size([height, width]);
var diagonal = d3.svg.diagonal()
.projection(function(d) { return [d.y, d.x]; });
var svg = d3.select("#treeplot").append("svg")
.attr("width", width + margin.right + margin.left)
.attr("height", height + margin.top + margin.bottom)
.append("g")
.attr("transform", "translate(" + margin.left + "," + margin.top + ")");
d3.json("/pattern_discovery/data?id={{selections.current_dataset}}", function(error, flare) {
if (error) throw error;
$("#wait").empty();
root = flare;
root.x0 = height / 2;
root.y0 = 0;
function collapse(d) {
if (d.children) {
d._children = d.children;
d._children.forEach(collapse);
d.children = null;
}
}
root.children.forEach(collapse);
update(root);
});
d3.select(self.frameElement).style("height", "800px");
function update(source) {
// Compute the new tree layout.
var nodes = tree.nodes(root).reverse(),
links = tree.links(nodes);
// Normalize for fixed-depth.
nodes.forEach(function(d) { d.y = d.depth * 300; });
var node = svg.selectAll("g.node")
.data(nodes, function(d) { return d.id || (d.id = ++i); });
// Enter any new nodes at the parent's previous position.
var nodeEnter = node.enter().append("g")
.attr("class", "node")
.attr("transform", function(d) { return "translate(" + source.y0 + "," + source.x0 + ")"; })
.on("click", click);
nodeEnter.append("circle")
.attr("r", 1e-6)
.style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; });
nodeEnter.append("text")
.attr("x", function(d) { return d.children || d._children ? -10 : 10; })
.attr("dy", ".35em")
.attr("text-anchor", function(d) { return d.children || d._children ? "end" : "start"; })
.text(function(d) { return d.name; })
.style("fill-opacity", 1e-6);
// Transition nodes to their new position.
var nodeUpdate = node.transition()
.duration(duration)
.attr("transform", function(d) { return "translate(" + d.y + "," + d.x + ")"; });
nodeUpdate.select("circle")
.attr("r", 4.5)
.style("fill", function(d) { return d._children ? "lightsteelblue" : "#fff"; });
nodeUpdate.select("text")
.style("fill-opacity", 1);
// Transition exiting nodes to the parent's new position.
var nodeExit = node.exit().transition()
.duration(duration)
.attr("transform", function(d) { return "translate(" + source.y + "," + source.x + ")"; })
.remove();
nodeExit.select("circle")
.attr("r", 1e-6);
nodeExit.select("text")
.style("fill-opacity", 1e-6);
var link = svg.selectAll("path.link")
.data(links, function(d) { return d.target.id; });
// Enter any new links at the parent's previous position.
link.enter().insert("path", "g")
.attr("class", "link")
.attr("d", function(d) {
var o = {x: source.x0, y: source.y0};
return diagonal({source: o, target: o});
});
// Transition links to their new position.
link.transition()
.duration(duration)
.attr("d", diagonal);
// Transition exiting nodes to the parent's new position.
link.exit().transition()
.duration(duration)
.attr("d", function(d) {
var o = {x: source.x, y: source.y};
return diagonal({source: o, target: o});
})
.remove();
// Stash the old positions for transition.
nodes.forEach(function(d) {
d.x0 = d.x;
d.y0 = d.y;
});
}
// Toggle children on click.
function click(d) {
if (d.children) {
d._children = d.children;
d.children = null;
} else {
d.children = d._children;
d._children = null;
}
update(d);
}
|
require 'rubygems'
gem 'rspec', '>= 1.2.8'
require 'spec'
require File.join(File.dirname(__FILE__), '..', 'lib', 'almaz')
require 'base64'
require 'timecop'
require 'logger'
Spec::Runner.configure do |config|
config.before(:all) {
result = RedisRunner.start_detached
raise("Could not start redis-server, aborting") unless result
# yeah, this sucks, but it seems like sometimes we try to connect too quickly w/o it
sleep 1
# use database 15 for testing so we dont accidentally step on real data
@db = Redis.new(:db => 15) #, :logger => Logger.new(STDOUT), :debug => true)
}
config.after(:each) {
@db.flushdb
}
config.after(:all) {
begin
@db.quit
ensure
RedisRunner.stop rescue 'Oops'
end
}
end
def encode_credentials(username, password)
"Basic " + Base64.encode64("#{username}:#{password}")
end
class ExampleSinatraApp < Sinatra::Base
get '/awesome/controller' do
'wooo hoo'
end
end
|
import { EventBus } from '../wires/event_bus';
class EventStore {
constructor(storeAdapter) {
this.adapter = storeAdapter;
}
appendToStream(streamId, expectedVersion, events) {
if (events.length === 0) {
return;
}
events.forEach(function(event) {
this.adapter.append(streamId, expectedVersion, event);
EventBus.publish('domain.'+streamId+'.'+event.name, event);
expectedVersion++;
}, this);
}
loadEventStream(streamId) {
var version = 0,
events = [],
records = this.readEventStream(streamId, 0, null);
records.forEach(function(r) {
version = r.version;
events.push(r.data);
});
return new EventStream(streamId, events, version);
}
readEventStream(streamId, skipEvents, maxCount) {
return this.adapter.read(streamId, skipEvents, maxCount);
}
}
class EventStream {
constructor(streamId, events, version) {
this.streamId = streamId;
this.events = events;
this.version = version;
}
}
export { EventStore, EventStream };
|
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Numerics;
namespace <API key>
{
public class <API key>
{
public static void Main()
{
string[] parameters = Console.ReadLine()
.Split()
.ToArray();
int toBase = int.Parse(parameters[0]);
List<int> number = parameters[1].Select(x => (int)(x - '0')).ToList();
BigInteger result = number[number.Count - 1] + (number[number.Count - 2] * toBase);
int index = 0;
int pow = number.Count - 1;
while (pow > 1)
{
result += number[index] * PowerNumber(toBase, pow);
index++;
pow
}
Console.WriteLine(result);
}
public static BigInteger PowerNumber(int toBase, int pow)
{
BigInteger poweredNumber = toBase;
for (int i = 1; i < pow; i++)
{
poweredNumber *= toBase;
}
return poweredNumber;
}
}
}
|
using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using System.Collections;
using System.Threading;
namespace Joddgewe
{
public partial class Form1 : Form
{
private string filenameOrto;
public Form1()
{
InitializeComponent();
<API key>.Text = "Venter på at brukeren skal åpne ortofoto...";
}
private void <API key>(object sender, EventArgs e)
{
addFiles();
}
private void <API key>(object sender, EventArgs e)
{
closeApp();
}
public void closeApp()
{
this.Dispose();
}
public void addFiles()
{
Stream myStream;
OpenFileDialog openFileDialog1 = new OpenFileDialog();
openFileDialog1.Filter = "Ortofoto(*.tif;*.jpg;*.gif)|*.TIF;*.JPG;*.GIF";
openFileDialog1.FilterIndex = 3;
openFileDialog1.RestoreDirectory = true;
openFileDialog1.Multiselect = true;
if (openFileDialog1.ShowDialog(this) == DialogResult.OK)
{
if ((myStream = openFileDialog1.OpenFile()) != null)
{
string[] files = openFileDialog1.FileNames;
foreach (string file in files )
{
Image bm = Image.FromFile(file);
FileHandler fh = new FileHandler(file, bm.Width, bm.Height);
bm.Dispose();
listBoxFiler.Items.Add(fh);
}
myStream.Close();
enableButtons();
<API key>.Text = "Venter på at brukeren skal velge utformat...";
}
myStream.Dispose();
lblVisEgenskaper.Visible = true;
lblUtformat.Visible = true;
}
openFileDialog1.Dispose();
}
private void removeFiles()
{
listBoxFiler.Items.Remove(listBoxFiler.SelectedItem);
textBoxMMM.Text = "";
textBoxJGW.Text = "";
textBoxSOSI.Text = "";
}
private void btnKonverter_Click(object sender, EventArgs e)
{
}
private void <API key>(object sender, EventArgs e)
{
Form2 frm = new Form2(this);
frm.ShowDialog();
}
private void btnAdd_Click(object sender, EventArgs e)
{
addFiles();
}
private void btnRemove_Click(object sender, EventArgs e)
{
removeFiles();
}
private void <API key>(object sender, EventArgs e)
{
pictboxOrtofoto.Image.Dispose();
if (listBoxFiler.SelectedItems.Count == 0)
{
System.ComponentModel.<API key> resources =
new System.ComponentModel.<API key>(typeof(Form1));
pictboxOrtofoto.Image =
((System.Drawing.Image)(resources.GetObject("pictboxOrtofoto.Image")));
}
else
{
FileHandler fh = (FileHandler)listBoxFiler.SelectedItem;
filenameOrto = fh.ToString();
try
{
pictboxOrtofoto.Image = (Bitmap)Image.FromFile(filenameOrto);
<API key>();
}
catch
{
System.ComponentModel.<API key> resources =
new System.ComponentModel.<API key>(typeof(Form1));
pictboxOrtofoto.Image =
((System.Drawing.Image)(resources.GetObject("pictboxOrtofoto.ErrorImage")));
}
}
if (listBoxFiler.Items.Count > 0) enableButtons();
else disableButtons();
}
private void disableButtons()
{
radioButtonJGW.Enabled = false;
radioButtonMMM.Enabled = false;
radioButtonSOSI.Enabled = false;
checkBoxFilliste.Enabled = false;
btnFullfør.Enabled = false;
}
private void enableButtons()
{
radioButtonJGW.Enabled = true;
radioButtonMMM.Enabled = true;
radioButtonSOSI.Enabled = true;
checkBoxFilliste.Enabled = true;
if (radioButtonJGW.Checked || radioButtonMMM.Checked || radioButtonSOSI.Checked)
btnFullfør.Enabled = true;
}
private void <API key>()
{
try
{
FileHandler fh = (FileHandler) listBoxFiler.SelectedItem;
textBoxJGW.Text = fh.toJGW();
textBoxMMM.Text = fh.toMMM();
textBoxSOSI.Text = fh.toSOSI();
}
catch
{
textBoxMMM.Text = "";
textBoxJGW.Text = "";
textBoxSOSI.Text = "";
}
}
private void btnFullfør_Click(object sender, EventArgs e)
{
string fileList = "";
FileHandler fh1 = null;
foreach (FileHandler fh in listBoxFiler.Items)
{
if (checkBoxFilliste.Checked) fileList += fh.ToString() + "\r\n";
if (radioButtonJGW.Checked) fh.writeToFile(FileHandler.TYPE_JGW);
if (radioButtonMMM.Checked) fh.writeToFile(FileHandler.TYPE_MMM);
if (radioButtonSOSI.Checked) fh.writeToFile(FileHandler.TYPE_SOSI);
}
try
{
fh1 = (FileHandler)listBoxFiler.Items[0];
}
catch { }
if (fh1 != null && checkBoxFilliste.Checked)
{
fh1.createFileList(fileList);
}
<API key>.Text = "Suksess!";
MessageBox.Show("Ferdig med å konvertere!", "JoddGewe 0.1",
MessageBoxButtons.OK, MessageBoxIcon.Information);
}
private void <API key>(object sender, EventArgs e)
{
btnFullfør.Enabled = true;
<API key>.Text = "Klar til å konvertere styringsfiler!";
}
private void <API key>(object sender, EventArgs e)
{
btnFullfør.Enabled = true;
<API key>.Text = "Klar til å konvertere styringsfiler!";
}
private void <API key>(object sender, EventArgs e)
{
btnFullfør.Enabled = true;
<API key>.Text = "Klar til å konvertere styringsfiler!";
}
}
}
|
package com.jnape.palatable.lambda.optics.prisms;
import org.junit.Test;
import java.util.HashMap;
import java.util.LinkedHashMap;
import static java.util.Arrays.asList;
import static java.util.Collections.singleton;
import static java.util.Collections.singletonMap;
import static testsupport.assertion.PrismAssert.<API key>;
public class MapPrismTest {
@Test
public void <API key>() {
<API key>(MapPrism.valueAt(LinkedHashMap::new, "foo"),
asList(new LinkedHashMap<>(),
new LinkedHashMap<>(singletonMap("foo", 1)),
new LinkedHashMap<>(singletonMap("bar", 2))),
singleton(1));
}
@Test
public void <API key>() {
<API key>(MapPrism.valueAt("foo"),
asList(new HashMap<>(),
new HashMap<>(singletonMap("foo", 1)),
new HashMap<>(singletonMap("bar", 2))),
singleton(1));
}
}
|
import { h } from 'omi';
import createSvgIcon from './utils/createSvgIcon';
export default createSvgIcon(h("path", {
d: "M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2zm-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1zm0 <API key> 5z"
}), 'AssignmentReturned');
|
(function () {
'use strict';
angular
.module('app.home')
.config(appRun);
/* @ngInject */
function appRun($stateProvider) {
$stateProvider
.state('root.home', {
url: '/',
templateUrl: 'app/home/home.html',
controller: 'Home',
controllerAs: 'vm',
});
}
})();
|
using OTransport.Factory;
using OTransport.Serializer.protobuf;
namespace OTransport.Serializer.protobuf
{
public static class <API key>
{
<summary>
Use Protobuf Serialization to serialize objects
</summary>
<returns></returns>
public static <API key> <API key>(this <API key> <API key>)
{
var <API key> = new ProtobufSerializer();
<API key>.SetSerializer(<API key>);
return <API key>;
}
}
}
|
import React from 'react';
import {
Text,
View,
TextInput,
} from 'react-native';
import newChallengeStyles from '../../styles/newChallenge/newChallengeStyles';
import mainStyles from '../../styles/main/mainStyles';
import ItemSelectView from './ItemSelectView';
const propTypes = {
onChallengeUpdate: React.PropTypes.func,
};
const prizeItemStyle = {
marginTop: 10,
labelFontSize: 22,
iconFontSize: 30,
iconColor: mainStyles.themeColors.textPrimary,
};
class PrizeView extends React.Component {
constructor(props) {
super(props);
this.state = {
prize: null,
customPrize: '',
prizes: [
{ label: 'Diner', style: prizeItemStyle },
{ label: 'Drinks', style: prizeItemStyle },
{ label: 'Gift', style: prizeItemStyle },
{ label: 'Define your own', style: prizeItemStyle },
],
};
}
setCustomPrize = (customPrize) => {
this.setState({ customPrize });
this.props.onChallengeUpdate({ prize: customPrize });
}
selectPrize = (prizeLabel) => {
const prizes = this.state.prizes;
prizes.forEach(prize => {
if (prizeLabel === prize.label) {
prize.style = { ...prizeItemStyle, iconColor: mainStyles.themeColors.primary };
} else {
prize.style = { ...prizeItemStyle, opacity: 0.2 };
}
});
this.setState({ prize: prizeLabel, prizes });
this.props.onChallengeUpdate({ prize: prizeLabel });
}
render = () => (
<View style={newChallengeStyles.mainContainer}>
<View style={newChallengeStyles.contentContainer}>
<Text style={newChallengeStyles.titleFont}>Prize (optional)</Text>
<View style={newChallengeStyles.itemsContainer} >
{this.state.prizes.map(prize =>
(<ItemSelectView
key={prize.label}
label={prize.label}
style={prize.style}
onItemSelect={this.selectPrize}
/>)
)}
</View>
{this.state.prize === 'Define your own' ?
<View style={newChallengeStyles.<API key>} >
<TextInput
style={newChallengeStyles.inputFont}
placeholder="Birthday cake for Paul"
<API key>={mainStyles.themeColors.textPrimary}
onChangeText={this.setCustomPrize}
value={this.state.customPrize}
/>
</View>
: null}
</View>
</View>
);
}
PrizeView.propTypes = propTypes;
export default PrizeView;
|
package com.agileapes.powerpack.string.exception;
/**
* @author Mohammad Milad Naseri (m.m.naseri@gmail.com)
* @since 1.0 (2012/12/3, 17:47)
*/
public class NoMoreTextException extends <API key> {
private static final long serialVersionUID = -<API key>;
public NoMoreTextException() {
}
public NoMoreTextException(String message) {
super(message);
}
}
|
package xyz.cofe.lang2.parser.vref;
import java.net.URL;
import xyz.cofe.lang2.parser.BasicParserTest;
import xyz.cofe.lang2.parser.L2Engine;
import xyz.cofe.lang2.vm.Callable;
import xyz.cofe.lang2.vm.Value;
import org.junit.Test;
import xyz.cofe.log.CLILoggers;
public class L2EngineVarRef2 extends BasicParserTest
{
protected L2Engine l2Engine = null;
@Override
protected Value parseExpressions(String source) {
if( l2Engine==null ){
l2Engine = new L2Engine();
l2Engine.setMemory(memory);
}
return l2Engine.parse(source);
}
@Test
public void varRef2(){
return;
// String src = "var v = \"abc\";\n"
// + "var obj = \n"
// + " f : function ( a )\n"
// + " a + v\n"
// + "v = \"def\";\n"
// + "obj.f( \"xcv\" )";
// String must = "xcvabc";
// CLILoggers logger = new CLILoggers();
// URL logConf = L2EngineVarRefTest.class.getResource("L2EngineVarRefTest2.logconf.xml");
// logger.parseXmlConfig(logConf);
// <API key>(src, must);
// if( logger.getNamedHandler().containsKey("console") ){
// logger.<API key>(logger.getNamedHandler().get("console"));
}
}
|
import React, {PropTypes} from 'react';
import L from 'leaflet';
import gh from '../api/GitHubApi';
import RaisedButton from 'material-ui/RaisedButton';
const REPO_TIMESPAN = {
ALLTIME: 0,
THIRTYDAYS: 1,
SIXTYDAYS: 2,
ONEYEAR: 3
};
const defaultMapConfig = {
options: {
center: [
39.7589, -84.1916
],
zoomControl: false,
zoom: 4,
maxZoom: 20,
minZoom: 2,
scrollwheel: false,
infoControl: false,
attributionControl: false
},
tileLayer: {
uri: 'http://{s}.tiles.wmflabs.org/bw-mapnik/{z}/{x}/{y}.png',
options: {
maxZoom: 18,
id: ''
}
}
};
class RepoUserHeatmap extends React.Component {
constructor(props, context) {
super(props, context);
this.state = {
timespan: REPO_TIMESPAN.THIRTYDAYS,
data: []
};
this.initializeMap = this.initializeMap.bind(this);
}
componentDidMount() {
this.initializeMap();
this.updateData();
gh.getTopRepos().then(data => {
console.log('=== REPOS ===');
console.log(data);
return gh.getContributors(data.data[0].full_name);
}).then(contribs => {
console.log('=== CONTRIBS ===');
console.log(contribs);
return gh.getUser(contribs.data[0].login);
}).then(user => {
console.log('=== USER ===');
console.log(user);
return gh.getRateLimit();
}).then(limit => {
console.log('=== RATE LIMIT ===');
console.log(limit);
}).catch(err => {
console.log('ERROR:');
console.log(err);
});
}
<API key>() {
this.map = null;
}
initializeMap() {
if (this.map) {
return;
}
this.map = L.map(this.mapDiv, this.props.mapOptions || defaultMapConfig.options);
if (this.props.mapLayers && this.props.mapLayers.length > 0) {
for (let i=0; i < this.props.mapLayers.length; i++) {
this.props.mapLayers[i].addTo(this.map);
}
}
else {
L.tileLayer(defaultMapConfig.tileLayer.uri, defaultMapConfig.tileLayer.options).addTo(this.map);
}
}
updateData() {
}
render() {
return (
<div className="map-container">
<div className="os-map" ref={(div) => { this.mapDiv = div; }}></div>
<RaisedButton label="Default" />
</div>
);
}
}
RepoUserHeatmap.propTypes = {
mapOptions: PropTypes.object,
mapLayers: PropTypes.array
};
export default RepoUserHeatmap;
|
package db;
import db.*;
public class test {
public static void main(String[] args) {
// TODO Auto-generated method stub
Database.getInstance().register("111", "22");
// Database.getInstance().login("111", "22");
}
}
|
:- module(
jwt_enc,
[
jwt_enc/4 % +Header, +Payload, ?Key, -Token
]
).
/** <module> JSON Web Tokens (JWT): Encoding
@author Wouter Beek
@version 2015/06
*/
:- use_module(library(apply)).
:- use_module(library(base64)).
:- use_module(library(sha)).
:- use_module(library(jwt/jwt_util)).
%! jwt_enc(+Header:dict, +Payload:dict, ?Key, -Token:atom) is det.
jwt_enc(Header0, Payload0, Key, Token):-
header_claims(Header0, Header),
payload_claims(Payload0, Payload),
maplist(atom_json_dict, [HeaderDec,PayloadDec], [Header,Payload]),
maplist(base64url, [HeaderDec,PayloadDec], [HeaderEnc,PayloadEnc]),
atomic_list_concat([HeaderEnc,PayloadEnc], ., SignWith),
create_signature(Header, SignWith, Key, SignatureEnc),
atomic_list_concat([SignWith,SignatureEnc], ., Token).
%! create_signature(+Header:dict, +SignWith:atom, ?Key:dict, -Signature:atom) is det.
create_signature(Header, _, _, ''):-
Header.alg == "none", !.
create_signature(Header, SignWith, Key, SignatureEnc):- !,
hmac_algorithm_name(Header.alg, Alg), !,
interpret_key(Header, Key, Secret),
hmac_sha(Secret, SignWith, Hash, [algorithm(Alg)]),
atom_codes(SignatureDec, Hash),
base64url(SignatureDec, SignatureEnc).
%! header_claims(+Old:dict, -New:dict) is det.
header_claims(Old, New):-
dict_add_default(Old, typ, "JWT", New).
%! payload_claims(+Old:dict, -New:dict) is det.
payload_claims(Old, New):-
dict_add_default(Old, iss, "SWI-Prolog", Tmp),
get_time(Now0),
Now is floor(Now0),
dict_add_default(Tmp, iat, Now, New).
|
import java.security.Security;
import java.util.Base64;
import org.bouncycastle.crypto.BlockCipher;
import org.bouncycastle.crypto.BufferedBlockCipher;
import org.bouncycastle.crypto.engines.RijndaelEngine;
import org.bouncycastle.crypto.modes.CBCBlockCipher;
import org.bouncycastle.crypto.paddings.PKCS7Padding;
import org.bouncycastle.crypto.paddings.<API key>;
import org.bouncycastle.crypto.params.KeyParameter;
import org.bouncycastle.crypto.params.ParametersWithIV;
public class DotNet {
static byte[] buffer = new byte[] {
(byte)17,
(byte)185,
(byte)186,
(byte)161,
(byte)188,
(byte)43,
(byte)253,
(byte)224,
(byte)76,
(byte)24,
(byte)133,
(byte)9,
(byte)201,
(byte)173,
(byte)255,
(byte)152,
(byte)113,
(byte)171,
(byte)225,
(byte)163,
(byte)121,
(byte)177,
(byte)211,
(byte)18,
(byte)50,
(byte)50,
(byte)219,
(byte)190,
(byte)168,
(byte)138,
(byte)97,
(byte)197
};
static byte[] initVector = new byte[] {
(byte) 8,
(byte) 173,
(byte) 47,
(byte) 130,
(byte) 199,
(byte) 242,
(byte) 20,
(byte) 211,
(byte) 63,
(byte) 47,
(byte) 254,
(byte) 173,
(byte) 163,
(byte) 245,
(byte) 242,
(byte) 232,
(byte) 11,
(byte) 244,
(byte) 134,
(byte) 249,
(byte) 44,
(byte) 123,
(byte) 138,
(byte) 109,
(byte) 155,
(byte) 173,
(byte) 122,
(byte) 76,
(byte) 93,
(byte) 125,
(byte) 185,
(byte) 66
};
public static String decrypt(byte[] key, byte[] initVector, byte[] encrypted) {
try {
BlockCipher engine = new RijndaelEngine(256);
CBCBlockCipher cbc = new CBCBlockCipher(engine);
BufferedBlockCipher cipher = new <API key>(cbc, new PKCS7Padding());
cipher.init(false, new ParametersWithIV(new KeyParameter(key), initVector));
int minSize = cipher.getOutputSize(encrypted.length);
byte[] outBuf = new byte[minSize];
int length1 = cipher.processBytes(encrypted, 0, encrypted.length, outBuf, 0);
int length2 = cipher.doFinal(outBuf, length1);
int actualLength = length1 + length2;
byte[] result = new byte[actualLength];
System.arraycopy(outBuf, 0, result, 0, result.length);
return new String(result);
} catch (Exception ex) {
ex.printStackTrace();
}
return null;
}
public static void main(String[] args) {
Security.addProvider(new org.bouncycastle.jce.provider.<API key>());
String sha64 = "SxTgWtrMjXY/dA50Kk20PkNeNLQ=";
byte[] k = Base64.getDecoder().decode(sha64);
System.out.println("Buffer :: "+Base64.getEncoder().encodeToString(buffer)+" --> length "+buffer.length);
System.out.println("Key(Sha) :: "+Base64.getEncoder().encodeToString(k)+" --> length "+k.length);
System.out.println("IV :: "+Base64.getEncoder().encodeToString(initVector)+" --> length "+initVector.length);
System.out.println(decrypt(k, initVector, buffer));
}
}
|
#pragma once
#include "cinder/app/App.h"
namespace reza { namespace paths {
bool createDirectory( const ci::fs::path& path );
bool createDirectories( const ci::fs::path& path );
void <API key>();
ci::fs::path getWorkingPath();
ci::fs::path getPath( std::string path = "" );
ci::fs::path getPresetsPath( std::string path = "" );
ci::fs::path getDataPath( std::string path = "" );
ci::fs::path getAudioPath( std::string path = "" );
ci::fs::path getVideoPath( std::string path = "" );
ci::fs::path getFontsPath( std::string path = "" );
ci::fs::path getModelsPath( std::string path = "" );
ci::fs::path getImagesPath( std::string path = "" );
ci::fs::path getMatCapsPath( std::string path = "" );
ci::fs::path getPalettesPath( std::string path = "" );
ci::fs::path getRendersPath( std::string path = "" );
ci::fs::path getShadersPath( std::string path = "" );
} } // namespace reza::paths
|
function lessThan (a, b) {
return a < b
}
function main () {
for (var i = 0; i < 10000; i++) {
lessThan(1, 0x7fffffff)
}
for (var i = 0; i < 10000; i++) {
lessThan(1, Infinity)
}
for (var i = 0; i < 10000; i++) {
lessThan(1, 0x7fffffff)
}
}
main()
|
<div class="dash-footer container">
<div class="row">
<div class="col-lg-12">
<hr>
<p class="text-muted credit text-right">Powered by <a href="https:
</div>
</div>
</div>
<!-- Bootstrap core JavaScript
===============================================
<!-- Placed at the end of the document so the pages load faster -->
<script src="{{url_for('static', filename='js/<API key>.js')}}" type="text/javascript"></script>
<script src="{{url_for('static', filename='js/list.min.js')}}" type="text/javascript"></script>
<script src="{{url_for('static', filename='js/list.pagination.min.js')}}" type="text/javascript"></script>
<script type="text/javascript">
$(document).ready(function() {
$('.multiselect').multiselect({
<API key>: true,
filterBehavior: 'both',
filterPlaceholder: 'Search',
buttonClass: 'form-control',
numberDisplayed: 1,
maxHeight: 400,
});
$('.select').multiselect({
buttonClass: 'form-control',
<API key>: true,
filterBehavior: 'both',
filterPlaceholder: 'Search',
maxHeight: 400,
});
$('.plan-select').multiselect({
buttonClass: 'form-control',
maxHeight: 400,
});
});
</script>
{% for item in data['js_bottom'] %}
{% include item %}
{% endfor %}
{% block js %}{% endblock %}
</body>
</html>
|
'use strict'
var reduce = require('object.reduce')
var hybridify = require('hybridify')
/**
* > Hybridifies all the selected functions in an object.
*
* **Example:**
*
* ```js
* var hybridifyAll = require('hybridify-all')
* var fs = require('fs')
*
* fs = hybridifyAll(fs)
* fs.readFile(__filename, 'utf8', function(err, res) {
* //=> err, res
* })
* .then(function(res) {
* //=> res
* return fs.stat(__filename)
* })
* .then(function(stat) {
* assert.strictEqual(stat.size, fs.statSync(__filename).size)
* })
* ```
*
* @name hybridifyAll
* @param {Object|Function} `<source>` the source object for the async functions
* @param {Object|Function} `[dest]` the destination to set all the hybridified methods
* @return {Object|Function}
* @api public
*/
module.exports = function hybridifyAll (source, dest) {
if (!source) {
throw new Error('hybridify-all: should have at least 1 arguments')
}
if (typeOf(source) !== 'function' && typeOf(source) !== 'object') {
throw new TypeError('hybridify-all: expect `source` be object|function')
}
dest = dest || {}
if (typeof source === 'function') {
dest = hybridify(source)
}
return Object.keys(source).length ? reduce(source, function (dest, fn, key) {
if (typeof fn === 'function') {
dest[key] = hybridify(fn)
}
return dest
}, dest) : dest
}
/**
* Get correct type of value
*
* @param {*} `val`
* @return {String}
* @api private
*/
function typeOf (val) {
if (Array.isArray(val)) {
return 'array'
}
if (typeof val !== 'object') {
return typeof val
}
return Object.prototype.toString(val).slice(8, -1).toLowerCase()
}
|
<?php
namespace Nur\Database;
use Illuminate\Database\Eloquent\Model as EloquentModel;
/**
* @mixin \Illuminate\Database\Query\Builder
*/
class Model extends EloquentModel
{
/**
* Create Eloquent Model.
*
* @param array $attributes
*
* @return void
*/
function __construct(array $attributes = [])
{
parent::__construct($attributes);
Eloquent::getInstance()->getCapsule();
Eloquent::getInstance()->getSchema();
}
}
|
module Miro
class DominantColors
attr_accessor :src_image_path
def initialize(src_image_path, image_type = nil)
@src_image_path = src_image_path
@image_type = image_type
end
def to_hex
return histogram.map{ |item| item[1].html } if Miro.histogram?
sorted_pixels.collect { |pixel| ChunkyPNG::Color.to_hex(pixel, false) }
end
def to_rgb
return histogram.map { |item| item[1].to_rgb.to_a } if Miro.histogram?
sorted_pixels.collect { |pixel| ChunkyPNG::Color.to_truecolor_bytes(pixel) }
end
def to_rgba
return histogram.map { |item| item[1].css_rgba } if Miro.histogram?
sorted_pixels.collect { |pixel| ChunkyPNG::Color.<API key>(pixel) }
end
def to_hsl
histogram.map { |item| item[1].to_hsl.to_a } if Miro.histogram?
end
def to_cmyk
histogram.map { |item| item[1].to_cmyk.to_a } if Miro.histogram?
end
def to_yiq
histogram.map { |item| item[1].to_yiq.to_a } if Miro.histogram?
end
def by_percentage
return nil if Miro.histogram?
sorted_pixels
pixel_count = @pixels.size
sorted_pixels.collect { |pixel| @grouped_pixels[pixel].size / pixel_count.to_f }
end
def sorted_pixels
@sorted_pixels ||= <API key>
end
def histogram
@histogram ||= <API key>.sort_by { |item| item[0] }.reverse
end
private
def <API key>
@source_image = open_source_image
hstring = Cocaine::CommandLine.new(Miro.options[:image_magick_path], image_magick_params).
run(:in => File.expand_path(@source_image.path),
:resolution => Miro.options[:resolution],
:colors => Miro.options[:color_count].to_s,
:quantize => Miro.options[:quantize])
<API key>!
parse_result(hstring)
end
def parse_result(hstring)
hstring.scan(/(\d*):.*(#[0-9A-Fa-f]*)/).collect do |match|
[match[0].to_i, Object.const_get("Color::#{Miro.options[:quantize].upcase}").from_html(match[1])]
end
end
def <API key>
<API key>!
colors = <API key>
<API key>!
colors
end
def <API key>!
@source_image = open_source_image
@downsampled_image = <API key>
Cocaine::CommandLine.new(Miro.options[:image_magick_path], image_magick_params).
run(:in => File.expand_path(@source_image.path),
:resolution => Miro.options[:resolution],
:colors => Miro.options[:color_count].to_s,
:quantize => Miro.options[:quantize],
:out => File.expand_path(@downsampled_image.path))
end
def open_source_image
return File.open(@src_image_path) unless remote_source_image?
original_extension = @image_type || URI.parse(@src_image_path).path.split('.').last
tempfile = Tempfile.open(["source", ".#{original_extension}"])
remote_file_data = open(@src_image_path).read
tempfile.write(<API key>? ? remote_file_data.force_encoding("UTF-8") : remote_file_data)
tempfile.close
tempfile
end
def <API key>?
Gem::Version.new(RUBY_VERSION.dup) >= Gem::Version.new('1.9')
end
def <API key>
tempfile = Tempfile.open(["downsampled", '.png'])
tempfile.binmode
tempfile
end
def image_magick_params
if Miro.histogram?
"':in[0]' -resize :resolution -colors :colors -colorspace :quantize -quantize :quantize -alpha remove -format %c histogram:info:"
else
"':in[0]' -resize :resolution -colors :colors -colorspace :quantize -quantize :quantize :out"
end
end
def <API key>
@pixels ||= ChunkyPNG::Image.from_file(File.expand_path(@downsampled_image.path)).pixels
@grouped_pixels ||= @pixels.group_by { |pixel| pixel }
end
def <API key>
<API key>.sort_by { |k,v| v.size }.reverse.flatten.uniq
end
def <API key>!
@source_image.close! if remote_source_image?
@downsampled_image.close! if @downsampled_image
end
def remote_source_image?
@src_image_path =~ /^https?:\/\
end
end
end
|
<?php
include_once('<API key>.php');
class Msidcalendar_Plugin extends <API key> {
public function getOptionMetaData() {
return array(
//'_version' => array('Installed Version'), // Leave this one commented-out. Uncomment to test upgrades.
'MSIDBaseURL' => array(__('Base url to the MSI Calendar', 'my-awesome-plugin')),
'CanSeeSubmitData' => array(__('Can See Submission data', 'my-awesome-plugin'),
'Administrator', 'Editor', 'Author', 'Contributor', 'Subscriber', 'Anyone')
);
}
// protected function <API key>($optionValue) {
// $i18nValue = parent::<API key>($optionValue);
// return $i18nValue;
protected function initOptions() {
$options = $this->getOptionMetaData();
if (!empty($options)) {
foreach ($options as $key => $arr) {
if (is_array($arr) && count($arr > 1)) {
$this->addOption($key, $arr[1]);
}
}
$this->updateOption('MSIDBaseURL','http://msid.ca/calendar/events/json/');
}
}
public function <API key>() {
return 'MSIDCalendar';
}
protected function <API key>() {
return 'msidcalendar.php';
}
protected function <API key>() {
// global $wpdb;
// $tableName = $this->prefixTableName('mytable');
// $wpdb->query("CREATE TABLE IF NOT EXISTS `$tableName` (
// `id` INTEGER NOT NULL");
}
protected function <API key>() {
// global $wpdb;
// $tableName = $this->prefixTableName('mytable');
// $wpdb->query("DROP TABLE IF EXISTS `$tableName`");
}
public function upgrade() {
}
public function <API key>() {
// Add options administration page
add_action('admin_menu', array(&$this, '<API key>'));
// Example adding a script & style just for the options administration page
// if (strpos($_SERVER['REQUEST_URI'], $this->getSettingsSlug()) !== false) {
// wp_enqueue_script('my-script', plugins_url('/js/my-script.js', __FILE__));
// wp_enqueue_style('my-style', plugins_url('/css/my-style.css', __FILE__));
// Add Actions & Filters
// Adding scripts & styles to all pages
// Examples:
add_action( 'wp_enqueue_scripts', array( &$this, '<API key>' ) );
add_action( 'wp_enqueue_scripts', array( &$this, '<API key>' ) );
// Register short codes
// Register AJAX hooks
add_action( '<API key>', array( &$this, 'fetch_events' ) );
add_action( '<API key>', array( &$this, 'fetch_events' ) );// optional
// Include the Ajax library on the front end
add_action( 'wp_head', array( &$this, 'add_ajax_library' ) );
}
/**
* Adds the WordPress Ajax Library to the frontend.
*/
public function add_ajax_library() {
$html = '<script type="text/javascript">';
$html .= 'var msidajaxurl = "' . admin_url( 'admin-ajax.php' ) . '"';
$html .= '</script>';
echo $html;
} // end add_ajax_library
/**
* Registers and enqueues plugin-specific styles.
*/
public function <API key>() {
wp_enqueue_style('jquery-ui','http://code.jquery.com/ui/1.10.3/themes/smoothness/jquery-ui.css');
wp_register_style( 'ive-read-this', plugins_url( 'ive-read-this/css/plugin.css' ) );
wp_enqueue_style( 'ive-read-this' );
} // end <API key>
/**
* Registers and enqueues plugin-specific scripts.
*/
public function <API key>() {
wp_enqueue_script('jquery-ui', 'https://ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js', array('jquery'), '1.10.3');
wp_register_script( 'ive-read-this', plugins_url( 'ive-read-this/js/plugin.js' ), array( 'jquery' ) );
wp_enqueue_script( 'ive-read-this' );
} // end <API key>
public function fetch_events() {
// Don't let IE cache this request
header("Pragma: no-cache");
header("Cache-Control: no-cache, must-revalidate");
header("Expires: Thu, 01 Jan 1970 00:00:00 GMT");
header("Content-type: text/plain");
$start = date('Y-m-d',$_POST["start"]);
$end = date('Y-m-d',$_POST["end"]);
$url = 'http://msid.ca/calendar/events/json/?<API key>=true&start_date='.$start.'&end_date='.$end;
$json = file_get_contents($url );
$obj = json_decode($json);
$events = array();
foreach($obj->events as $event)
{
$calobj=array();
$calobj['title']= $event->summary;
$calobj['id'] = $event->id;
$calobj['keywords']= $event->keywords;
$calobj['allDay'] = empty($event->start_time);
$calobj['start'] = date('c',strtotime($event->year.'-'.$event->month.'-'.$event->day.' '.date("H:i", strtotime($event->start_time))));
$calobj['end'] = date('c',strtotime($event->year.'-'.$event->month.'-'.$event->day.' '.date("H:i", strtotime($event->end_time))));
array_push($events, $calobj);
}
echo json_encode($events);
die();
}
}
|
<div class="container-fluid">
<div class="page-content">
<div class="portlet-body form">
<!-- BEGIN FORM-->
<form action="<?php echo base_url(); ?>User/user_dashboard/editorginfo" method="POST" role="form" class="horizontal-form">
<div class="form-body">
<h3 class="form-section">Organization Information</h3>
<div class="row ">
<!-- ACTIVITY TITLE -->
<div class="col-md-12">
<div class="form-group">
<div class="form-group form-md-line-input">
<input type="text" class="form-control" id="title" placeholder="Enter Organization Name" name="org_name" value="<?=$org['organization_name']?>">
<label for="form_control_1">Organization Name: </label>
<span class="help-block">Input Organization Name</span>
</div>
</div>
</div>
<!-- /ACTIVITY TITLE -->
<!-- DESCRIPTION -->
<div class="col-md-12">
<div class="form-group form-md-line-input">
<textarea class="form-control" rows="3" placeholder="Enter Acronym" name="org_abbreviation" ><?=$org['<API key>']?></textarea>
<label for="form_control_1">Acronym </label>
<span class="help-block">Enter Acronym for your organization</span>
</div>
</div>
<!-- /DESCRIPTION -->
<!-- GENERAL OBJECTIVES -->
<div class="col-md-12">
<div class="form-group form-md-line-input">
<textarea class="form-control" rows="3" placeholder="Enter Mission" name="org_mission" ><?=$org['org_mission']?>"</textarea>
<label for="form_control_1">Mission</label>
<span class="help-block">What is the mission of this organization? </span>
</div>
</div>
<!-- /GENERAL OBJECTIVES -->
<!-- SPECIFIC OBJECTIVES -->
<div class="col-md-12">
<div class="form-group form-md-line-input">
<textarea class="form-control" rows="3" placeholder="Enter Vision" name="org_vision" value=""><?=$org['org_vision']?></textarea>
<label for="form_control_1">Vision</label>
<span class="help-block">What is the vision of this organization? </span>
</div>
</div>
<!-- /SPECIFIC OBJECTIVES -->
</div>
<!--/span-->
</div>
<ul id="list_item">
</ul>
<div class="form-actions right">
<button type="submit" class="btn green"><i class="fa fa-check"></i> Save Changes</button>
<button type="button" id="modalbutton1" class="btn default">Cancel</button>
</div>
</form>
<!-- END FORM-->
</div>
</div>
</div>
|
import {Server, Config} from "./server";
import * as path from "path";
/**
* Load configuration file given as command line parameter
*/
let config: Config;
if (process.argv.length > 2) {
const configPath = path.join(__dirname, process.argv[2]);
console.info("loading configuration file: " + configPath);
config = require(configPath);
}else {
console.error("no configuration file provided, exiting");
process.exit();
};
const server = new Server(config);
server.run();
|
import { createStore } from '@utils/store.utils';
import placeholderImage from '../images/placeholder.jpeg';
import { getPhotoUrl, <API key> } from './api';
import { getLocalPhotoPath, getRandomLocalPhoto } from './photos.local';
import Settings from './settings';
export const getStateObject = (force = false) => {
const fetchFromServer = Settings.fetchFromServer;
const newPhotoDuration = Settings.newPhotoDuration;
let photoUrl;
let placeholderPhotoUrl;
let photoMeta;
let <API key>;
// if allowed to fetch from server
// begin with assuming we get a
// prefetched photo from the api
if (fetchFromServer) {
photoMeta = <API key>(force ? 0 : newPhotoDuration);
photoUrl = getPhotoUrl(photoMeta);
}
// or a locally stored photo
if (!photoUrl) {
photoMeta = getRandomLocalPhoto();
photoUrl = getLocalPhotoPath(photoMeta);
}
// or a fallback placeholder photo
if (!photoUrl) {
photoMeta = null;
photoUrl = placeholderImage;
}
// get a random image as placeholder
// to handle offline network scenarios
<API key> = getRandomLocalPhoto();
placeholderPhotoUrl = getLocalPhotoPath(<API key>);
return {
fetchFromServer,
photoUrl,
photoMeta,
placeholderPhotoUrl,
<API key>,
newPhotoDuration,
};
};
export default createStore();
|
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<title>
AutoPark Toronto -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]
<!--[if lte IE 9]>
<![endif]
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/<API key>.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.<API key>(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="<API key>"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492241345707&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=4583&V_SEARCH.docsStart=4582&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/imbs/ccc/rgstrtn/magmi/web/magmi/web/app/etc/api/xmlrpc?_flId?_flxKy=e1s1&estblmntNo=234567041301&profileId=61&_evId=bck&lang=eng&V_SEARCH.showStricts=false&prtl=1&_flId?_flId?_flxKy=e1s1" title="Français" lang="fr">Français</a></li>
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http:
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="<API key>">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https:
<li><a href="http:
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https:
<li><a href="https:
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https:
<li><a href="https:
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=4581&V_DOCUMENT.docRank=4582&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492241358965&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567155929&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=4583&V_DOCUMENT.docRank=4584&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492241358965&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567004353&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
AutoPark Toronto
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>AutoPark Toronto</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http:
target="_blank" title="Website URL">http:
<p><a href="mailto:leads@autopark.ca" title="leads@autopark.ca">leads@autopark.ca</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
1900 Victoria Park Ave<br/>
NORTH YORK,
Ontario<br/>
M1R 1T6
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
1900 Victoria Park Ave<br/>
NORTH YORK,
Ontario<br/>
M1R 1T6
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(416) 288-5550
</p>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(877) 727-3107</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
</p>
</div>
<div class="col-md-3 mrgn-tp-md">
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
<h2 class="wb-inv">Company Profile</h2>
<br> AutoPark Toronto is a used car dealership servicing Toronto and the Greater Toronto Area including Scarborough and Markham. We have used cars of all makes; as well as providing professional maintenance, repair, and body shop services. Our dedicated financial department can help with any car loans and credit challenges.
<br><br>
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
General
Inquiries
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
hub@humberviewgroup.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Alternate Industries (NAICS):
</strong>
</div>
<div class="col-md-7">
441120 - Used Car Dealers<br>
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Retail
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Used vehicles<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
AutoPark Toronto sells all makes of used vehicles, servicing Toronto, Markham, Richmond Hill, and Scarborough.
<br>
<br>
<br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
General
Inquiries
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
hub@humberviewgroup.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
No
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Alternate Industries (NAICS):
</strong>
</div>
<div class="col-md-7">
441120 - Used Car Dealers<br>
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Retail
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Product Name:
</strong>
</div>
<div class="col-md-9">
Used vehicles<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
AutoPark Toronto sells all makes of used vehicles, servicing Toronto, Markham, Richmond Hill, and Scarborough.
<br>
<br>
<br>
</div>
</div>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2015-10-26
</div>
</div>
<!
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https:
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https:
<li><a href="https:
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http:
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon <API key>"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.<API key>.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/<API key>.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' <API key>='' <API key>='' <API key>='' <API key>='' data-issue-tracking='' data-scm-sha1='' <API key>='' data-scm-branch='' <API key>=''></span>
</body></html>
<!-- End Footer -->
<!
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
|
using System;
using System.ComponentModel;
using System.Reactive.Linq;
using System.Reactive.Subjects;
namespace Moen.KanColle.Dentan.ViewModel
{
public abstract class ViewModel<T> : ModelBase, IDisposable
where T : ModelBase
{
public T Model { get; private set; }
public <API key><string> <API key> { get; private set; }
IDisposable r_Subscriptions;
protected ViewModel(T rpModel)
{
Model = rpModel;
<API key> = Observable.FromEventPattern<<API key>, <API key>>(
rpHandler => Model.PropertyChanged += rpHandler,
rpHandler => Model.PropertyChanged -= rpHandler)
.Select(r => r.EventArgs.PropertyName).Publish();
r_Subscriptions = <API key>.Connect();
}
public void Dispose()
{
r_Subscriptions.Dispose();
}
}
}
|
import {Component} from 'react';
import {reduxForm} from 'redux-form';
import './CreateTodoForm.styl';
class CreateTodoForm extends Component {
render() {
return (
<form className="create-todo-form" onSubmit={this.props.handleSubmit} autoComplete="off">
<input type="text" placeholder="Todo text..." {...this.props.fields.text}></input>
<button type="submit">Create</button>
</form>
);
}
}
CreateTodoForm.propTypes = {
fields: React.PropTypes.object.isRequired,
handleSubmit: React.PropTypes.func.isRequired
};
export default reduxForm({
form: 'CreateTodoForm',
fields: ['text']
})(CreateTodoForm);
|
require 'spec_helper'
describe SK::GameObjectManager do
it "can create a game_object with a name" do
expect(SK::GameObjectManager.new).to respond_to(:create).with(1).argument
end
it "can not create a game_object without a name" do
expect(SK::GameObjectManager.new).to_not respond_to(:create).with(0).arguments
end
it "creates a new game_object when calling name" do
expect(SK::GameObjectManager.new.create("my_obj").name).to eq("my_obj")
end
it "can remove a game_object" do
manager = SK::GameObjectManager.new
game_object = manager.create("obj")
manager.remove(game_object)
expect(manager.<API key>(:@game_objects).size).to be(0)
end
it "starts a gameobject when created if manager alread has started" do
manager = SK::GameObjectManager.new
manager.start
<API key>(SK::GameObject).to receive(:start)
obj = manager.create "obj"
end
it "generates a unique id for all new game_objects created" do
manager = SK::GameObjectManager.new
expect(manager.create("obj_1").id).to eq(1)
expect(manager.create("obj_2").id).to eq(2)
expect(manager.create("obj_3").id).to eq(3)
expect(manager.create("obj_4").id).to eq(4)
end
it "contains the game_object after calling create" do
manager = SK::GameObjectManager.new
manager.create("my_obj")
expect(manager.<API key>(:@game_objects).size).to eq(1)
end
it "can be updated" do
expect(SK::GameObjectManager.new).to respond_to(:update).with(1).argument
end
it "can be drawn with a context" do
expect(SK::GameObjectManager.new).to respond_to(:draw).with(1).argument
end
it "starts all gameobjects when calling start" do
manager = SK::GameObjectManager.new
obj = manager.create("my_obj")
expect(obj).to receive(:start)
manager.start
end
it "updates all gameobjects when calling update" do
manager = SK::GameObjectManager.new
obj = manager.create("my_obj")
expect(obj).to receive(:update).with(16.0)
manager.update 16.0
end
it "draws all gameobjects in order of sorting layer" do
manager = SK::GameObjectManager.new
foreground_object = manager.create("fg")
fg_component = SK::Component.new()
fg_component.layer = 1
foreground_object.add_component fg_component
background_object = manager.create("bg")
bg_component = SK::Component.new()
bg_component.layer = 0
background_object.add_component bg_component
context = "context"
expect(bg_component).to receive(:draw).ordered
expect(fg_component).to receive(:draw).ordered
manager.draw context
end
it "draws all gameobjects in order of sorting layer and order in layer" do
manager = SK::GameObjectManager.new
foreground_object = manager.create("fg")
fg_component = SK::Component.new()
fg_component.layer = 1
foreground_object.add_component fg_component
background_object = manager.create("bg")
bg_component = SK::Component.new()
bg_component.layer = 0
bg_component.order_in_layer = 2
bg_component2 = SK::Component.new()
bg_component2.layer = 0
bg_component2.order_in_layer = 3
background_object.add_component bg_component
background_object.add_component bg_component2
context = "context"
expect(bg_component).to receive(:draw).ordered
expect(bg_component2).to receive(:draw).ordered
manager.draw context
end
end
|
2018-11-14
# python
* [s0md3v/XSStrike](https://github.com/s0md3v/XSStrike): Most advanced XSS detection suite.
* [google/uis-rnn](https://github.com/google/uis-rnn): This is the library for the Unbounded Interleaved-State Recurrent Neural Network (UIS-RNN) algorithm, corresponding to the paper Fully Supervised Speaker Diarization.
* [google-research/bert](https://github.com/google-research/bert): TensorFlow code and pre-trained models for BERT
* [tensorflow/models](https://github.com/tensorflow/models): Models and examples built with TensorFlow
* [TheAlgorithms/Python](https://github.com/TheAlgorithms/Python): All Algorithms implemented in Python
* [santinic/pampy](https://github.com/santinic/pampy): Pampy: The Pattern Matching for Python you always dreamed of.
* [openai/spinningup](https://github.com/openai/spinningup): An educational resource to help anyone learn deep reinforcement learning.
* [deeppomf/DeepCreamPy](https://github.com/deeppomf/DeepCreamPy): Decensoring Hentai with Deep Neural Networks
* [donnemartin/<API key>](https://github.com/donnemartin/<API key>): Learn how to design large-scale systems. Prep for the system design interview. Includes Anki flashcards.
* [vinta/awesome-python](https://github.com/vinta/awesome-python): A curated list of awesome Python frameworks, libraries, software and resources
* [liquanzhou/cedardeploy](https://github.com/liquanzhou/cedardeploy): sshsupervisord
* [keras-team/keras](https://github.com/keras-team/keras): Deep Learning for humans
* [geekcomputers/Python](https://github.com/geekcomputers/Python): My Python Examples
* [python/cpython](https://github.com/python/cpython): The Python programming language
* [ageitgey/face_recognition](https://github.com/ageitgey/face_recognition): The world's simplest facial recognition api for Python and the command line
* [localstack/localstack](https://github.com/localstack/localstack): A fully functional local AWS cloud stack. Develop and test your cloud apps offline!
* [apachecn/awesome-algorithm](https://github.com/apachecn/awesome-algorithm): Leetcode ()
* [django/django](https://github.com/django/django): The Web framework for perfectionists with deadlines.
* [jayshah19949596/CodingInterviews](https://github.com/jayshah19949596/CodingInterviews):
* [pallets/flask](https://github.com/pallets/flask): The Python micro framework for building web applications.
* [ansible/ansible](https:
* [scikit-learn/scikit-learn](https://github.com/scikit-learn/scikit-learn): scikit-learn: machine learning in Python
* [aaronpenne/generative_art](https://github.com/aaronpenne/generative_art): A collection of my generative artwork, mostly with Processing in Python mode
* [tensorflow/adanet](https://github.com/tensorflow/adanet): Fast and flexible AutoML with learning guarantees.
* [home-assistant/home-assistant](https://github.com/home-assistant/home-assistant): Open source home automation that puts local control and privacy first
* [maxmcd/webtty](https://github.com/maxmcd/webtty): Share a terminal session over WebRTC
* [golang/go](https://github.com/golang/go): The Go programming language
* [writeas/writefreely](https://github.com/writeas/writefreely): A simple, federated blogging platform.
* [XiaoMi/soar](https://github.com/XiaoMi/soar): SQL Optimizer And Rewriter
* [goki/gi](https://github.com/goki/gi): Native Go (golang) Graphical Interface system (2D and 3D), built on GoKi tree framework
* [kubernetes/kubernetes](https://github.com/kubernetes/kubernetes): Production-Grade Container Scheduling and Management
* [iikira/BaiduPCS-Go](https://github.com/iikira/BaiduPCS-Go): - Go
* [fatedier/frp](https://github.com/fatedier/frp): A fast reverse proxy to help you expose a local server behind a NAT or firewall to the internet.
* [prometheus/prometheus](https://github.com/prometheus/prometheus): The Prometheus monitoring system and time series database.
* [avelino/awesome-go](https://github.com/avelino/awesome-go): A curated list of awesome Go frameworks, libraries and software
* [gohugoio/hugo](https://github.com/gohugoio/hugo): The worlds fastest framework for building websites.
* [goharbor/harbor](https://github.com/goharbor/harbor): An open source trusted cloud native registry project that stores, signs, and scans content.
* [astaxie/<API key>](https://github.com/astaxie/<API key>): A golang ebook intro how to build a web with golang
* [moby/moby](https://github.com/moby/moby): Moby Project - a collaborative project for the container ecosystem to assemble container-based systems
* [FiloSottile/mkcert](https://github.com/FiloSottile/mkcert): A simple zero-config tool to make locally trusted development certificates with any names you'd like.
* [mholt/caddy](https://github.com/mholt/caddy): Fast, cross-platform HTTP/2 web server with automatic HTTPS
* [istio/istio](https://github.com/istio/istio): Connect, secure, control, and observe services.
* [containous/traefik](https://github.com/containous/traefik): The Cloud Native Edge Router
* [bashmohandes/go-askme](https://github.com/bashmohandes/go-askme): My GoLang learning journey by building an AskFm clone
* [Golangltd/codeclass](https://github.com/Golangltd/codeclass): Golang--PPT
* [rodrigo-brito/gocity](https://github.com/rodrigo-brito/gocity): Code City metaphor for visualizing Go source code in 3D
* [gin-gonic/gin](https://github.com/gin-gonic/gin): Gin is a HTTP web framework written in Go (Golang). It features a Martini-like API with much better performance -- up to 40 times faster. If you need smashing performance, get yourself some Gin.
* [kataras/iris](https:
* [dexon-foundation/dexon](https://github.com/dexon-foundation/dexon): Official golang DEXON fullnode implementation
* [v2ray/v2ray-core](https://github.com/v2ray/v2ray-core): A platform for building proxies to bypass network restrictions.
# cpp
* [LUX-Core/lux](https://github.com/LUX-Core/lux): LUX - Hybrid PoW/PoS & Unique PHI2 Algorithm | Masternode | Parallel masternode | Segwit | Smartcontract | Luxgate | Proof of file storage (Decentralised distributed file storage)
* [tensorflow/tensorflow](https://github.com/tensorflow/tensorflow): An Open Source Machine Learning Framework for Everyone
* [pytorch/pytorch](https://github.com/pytorch/pytorch): Tensors and Dynamic neural networks in Python with strong GPU acceleration
* [opencv/opencv](https://github.com/opencv/opencv): Open Source Computer Vision Library
* [Microsoft/ShaderConductor](https://github.com/Microsoft/ShaderConductor): ShaderConductor is a tool designed for cross-compiling HLSL to other shading languages
* [fungos/cr](https://github.com/fungos/cr): cr.h: A Simple C Hot Reload Header-only Library
* [electron/electron](https://github.com/electron/electron): Build cross-platform desktop apps with JavaScript, HTML, and CSS
* [brpc/brpc](https://github.com/brpc/brpc): Industrial-grade RPC framework used throughout Baidu, with 1,000,000+ instances and thousands kinds of services, called "baidu-rpc" inside Baidu.
* [<API key>/openpose](https://github.com/<API key>/openpose): OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation
* [bitcoin/bitcoin](https://github.com/bitcoin/bitcoin): Bitcoin Core integration/staging tree
* [tesseract-ocr/tesseract](https://github.com/tesseract-ocr/tesseract): Tesseract Open Source OCR Engine (main repository)
* [wnagzihxa1n/BrowserSecurity](https://github.com/wnagzihxa1n/BrowserSecurity):
* [google/googletest](https://github.com/google/googletest): Google Test
* [mbinary/<API key>](https://github.com/mbinary/<API key>):
* [vmware/cascade](https://github.com/vmware/cascade): A Just-In-Time Compiler for Verilog
* [Microsoft/AirSim](https://github.com/Microsoft/AirSim): Open source simulator based on Unreal Engine for autonomous vehicles from Microsoft AI & Research
* [grpc/grpc](https://github.com/grpc/grpc): The C based gRPC (C++, Python, Ruby, Objective-C, PHP, C
* [godotengine/godot](https://github.com/godotengine/godot): Godot Engine Multi-platform 2D and 3D game engine
* [wangzheng0822/algo](https://github.com/wangzheng0822/algo): Data Structure & Algorithm
* [uglide/RedisDesktopManager](https://github.com/uglide/RedisDesktopManager): Cross-platform GUI management tool for Redis
* [apple/swift](https://github.com/apple/swift): The Swift Programming Language
* [Ewenwan/MVision](https://github.com/Ewenwan/MVision): SLAM ORB LSD SVO DSO yolov3 opencv PCL
* [protocolbuffers/protobuf](https://github.com/protocolbuffers/protobuf): Protocol Buffers - Google's data interchange format
* [uber/horovod](https://github.com/uber/horovod): Distributed training framework for TensorFlow, Keras, and PyTorch.
* [BVLC/caffe](https://github.com/BVLC/caffe): Caffe: a fast open framework for deep learning.
# javascript
* [tensorspace-team/tensorspace](https://github.com/tensorspace-team/tensorspace): Neural network 3D visualization framework, build interactive and intuitive model in browsers, support pre-trained deep learning models from TensorFlow, Keras, TensorFlow.js
* [GoogleChromeLabs/ProjectVisBug](https:
* [valdrinkoshi/virtual-scroller](https://github.com/valdrinkoshi/virtual-scroller):
* [antonmedv/fx](https://github.com/antonmedv/fx): Command-line JSON viewer
* [nasa/openmct](https://github.com/nasa/openmct): A web based mission control framework.
* [enquirer/enquirer](https://github.com/enquirer/enquirer): Stylish, intuitive and user-friendly prompt system.
* [leonardomso/33-js-concepts](https://github.com/leonardomso/33-js-concepts): 33 concepts every JavaScript developer should know.
* [atlassian/react-beautiful-dnd](https://github.com/atlassian/react-beautiful-dnd): Beautiful and accessible drag and drop for lists with React
* [30-seconds/30-seconds-of-code](https://github.com/30-seconds/30-seconds-of-code): Curated collection of useful JavaScript snippets that you can understand in 30 seconds or less.
* [unifiedjs/unified](https://github.com/unifiedjs/unified): Text processing umbrella: Parse / Transform / Compile
* [facebook/react](https://github.com/facebook/react): A declarative, efficient, and flexible JavaScript library for building user interfaces.
* [vuejs/vue](https://github.com/vuejs/vue): A progressive, <API key> JavaScript framework for building UI on the web.
* [GoogleWebComponents/model-viewer](https://github.com/GoogleWebComponents/model-viewer): Easily display interactive 3D models on the web and in AR!
* [NickPiscitelli/Glider.js](https://github.com/NickPiscitelli/Glider.js): A blazingly fast, lightweight, dependency free, minimal carousel with momentum scrolling!
* [stephentian/33-js-concepts](https://github.com/stephentian/33-js-concepts): JavaScript 33 @leonardomso
* [facebook/create-react-app](https://github.com/facebook/create-react-app): Set up a modern web app by running one command.
* [GoogleChromeLabs/carlo](https://github.com/GoogleChromeLabs/carlo): Web rendering surface for Node applications
* [Tencent/omi](https://github.com/Tencent/omi): Next generation web framework in 4kb JavaScript (Web Components + JSX + Proxy + Store + Path Updating)
* [NervJS/taro](https://github.com/NervJS/taro): React //H5React Native
* [iamkun/dayjs](https://github.com/iamkun/dayjs): Day.js 2KB immutable date library alternative to Moment.js with the same modern API
* [strapi/strapi](https://github.com/strapi/strapi): Node.js Content Management Framework (headless-CMS) to build powerful API with no effort.
* [axios/axios](https://github.com/axios/axios): Promise based HTTP client for the browser and node.js
* [sokra/rawact](https://github.com/sokra/rawact): [POC] A babel plugin which compiles React.js components into native DOM instructions to eliminate the need for the react library at runtime.
* [kaola-fed/megalo](https://github.com/kaola-fed/megalo): Vue
* [airbnb/javascript](https://github.com/airbnb/javascript): JavaScript Style Guide
# coffeescript
* [cypress-io/cypress](https://github.com/cypress-io/cypress): Fast, easy and reliable testing for anything that runs in a browser.
* [FelisCatus/SwitchyOmega](https://github.com/FelisCatus/SwitchyOmega): Manage and switch between multiple proxies quickly & easily.
* [atom/tree-view](https://github.com/atom/tree-view): Explore and open project files in Atom
* [atom/language-javascript](https://github.com/atom/language-javascript): JavaScript language package for Atom
* [laravelio/liona](https://github.com/laravelio/liona): The Laravel.io IRC Bot
* [hiddentao/squel](https://github.com/hiddentao/squel): SQL query string builder for Javascript
* [atom/node-nslog](https://github.com/atom/node-nslog): Access to NSLog from inside node!
* [jashkenas/coffeescript](https://github.com/jashkenas/coffeescript): Unfancy JavaScript
* [basecamp/trix](https://github.com/basecamp/trix): A rich text editor for everyday writing
* [philc/vimium](https://github.com/philc/vimium): The hacker's browser.
* [dropbox/zxcvbn](https://github.com/dropbox/zxcvbn): Low-Budget Password Strength Estimation
* [turbolinks/turbolinks](https://github.com/turbolinks/turbolinks): Turbolinks makes navigating your web application faster
* [yhatt/marp](https://github.com/yhatt/marp): Markdown presentation writer, powered by Electron.
* [michaelvillar/dynamics.js](https://github.com/michaelvillar/dynamics.js): Javascript library to create physics-based animations
* [morrisjs/morris.js](https://github.com/morrisjs/morris.js): Pretty time-series line graphs
* [codecombat/codecombat](https://github.com/codecombat/codecombat): Game for learning how to code.
* [baconjs/bacon.js](https://github.com/baconjs/bacon.js): FRP (functional reactive programming) library for Javascript
* [gka/chroma.js](https://github.com/gka/chroma.js): JavaScript library for all kinds of color manipulations
* [sharelatex/sharelatex](https://github.com/sharelatex/sharelatex): A web-based collaborative LaTeX editor
* [ichord/At.js](https://github.com/ichord/At.js): Add Github like mentions autocomplete to your application.
* [sparanoid/<API key>](https://github.com/sparanoid/<API key>): Chinese copywriting guidelines for better written communication
* [foliojs/pdfkit](https://github.com/foliojs/pdfkit): A JavaScript PDF generation library for Node and the browser
* [jariz/vibrant.js](https://github.com/jariz/vibrant.js): Extract prominent colors from an image. JS port of Android's Palette.
* [sorich87/bootstrap-tour](https://github.com/sorich87/bootstrap-tour): Quick and easy product tours with Twitter Bootstrap Popovers
* [danielgtaylor/aglio](https://github.com/danielgtaylor/aglio): An API Blueprint renderer with theme support that outputs static HTML
|
CREATE OR REPLACE FUNCTION ts.<API key>(_chroncontrolid integer, _notes character varying DEFAULT NULL::character varying)
RETURNS void
LANGUAGE sql
AS $function$
UPDATE ndb.chroncontrols
SET notes = _notes
WHERE chroncontrolid = _chroncontrolid
$function$
|
layout: post
date: 2017-01-17
title: "Sherri Hill Prom Dresses Style 50075 Sleeveless Floor-Length Ballgown"
category: Sherri Hill
tags: [Sherri Hill ,Sherri Hill,Ballgown,Halter,Floor-Length,Sleeveless]
Sherri Hill Prom Dresses Style 50075
Just **$609.99**
Sleeveless Floor-Length Ballgown
<table><tr><td>BRANDS</td><td>Sherri Hill</td></tr><tr><td>Silhouette</td><td>Ballgown</td></tr><tr><td>Neckline</td><td>Halter</td></tr><tr><td>Hemline/Train</td><td>Floor-Length</td></tr><tr><td>Sleeve</td><td>Sleeveless</td></tr></table>
<a href="https:
<!-- break --><a href="https:
<a href="https:
<a href="https:
<a href="https:
<a href="https:
<a href="https:
<a href="https:
<a href="https:
<a href="https:
Buy it: [https:
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>User agent detail - Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )</title>
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/css/materialize.min.css">
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet">
<link href="../circle.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="section">
<h1 class="header center orange-text">User agent detail</h1>
<div class="row center">
<h5 class="header light">
Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
</h5>
</div>
</div>
<div class="section">
<table class="striped"><tr><th></th><th colspan="3">General</th><th colspan="5">Device</th><th colspan="3">Bot</th><th colspan="2"></th></tr><tr><th>Provider</th><th>Browser</th><th>Engine</th><th>OS</th><th>Brand</th><th>Model</th><th>Type</th><th>Is mobile</th><th>Is touch</th><th>Is bot</th><th>Name</th><th>Type</th><th>Parse time</th><th>Actions</th></tr><tr><th colspan="14" class="green lighten-3">Test suite</th></tr><tr><td>UAParser<br /><small>v0.5.0.2</small><br /><small>vendor/thadafinser/uap-core/tests/test_device.yaml</small></td><td> </td><td><i class="material-icons">close</i></td><td> </td><td style="border-left: 1px solid #555">Lenovo</td><td>A269i</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">Array
(
[user_agent_string] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
[family] => Lenovo A269i
[brand] => Lenovo
[model] => A269i
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><th colspan="14" class="green lighten-3">Providers</th></tr><tr><td>BrowscapFull<br /><small>6014</small><br /></td><td>Android 4.0</td><td>WebKit </td><td>Android 2.3</td><td style="border-left: 1px solid #555"></td><td></td><td>Mobile Phone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.024</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>BrowscapFull result detail</h4>
<p><pre><code class="php">stdClass Object
(
[browser_name_regex] => /^.*linux.*android.2\.3.* release.* browser.applewebkit.*$/
[<API key>] => *linux*android?2.3* release* browser?applewebkit*
[parent] => Android Browser 4.0
[comment] => Android Browser 4.0
[browser] => Android
[browser_type] => Browser
[browser_bits] => 32
[browser_maker] => Google Inc
[browser_modus] => unknown
[version] => 4.0
[majorver] => 4
[minorver] => 0
[platform] => Android
[platform_version] => 2.3
[<API key>] => Android OS
[platform_bits] => 32
[platform_maker] => Google Inc
[alpha] =>
[beta] =>
[win16] =>
[win32] =>
[win64] =>
[frames] => 1
[iframes] => 1
[tables] => 1
[cookies] => 1
[backgroundsounds] =>
[javascript] => 1
[vbscript] =>
[javaapplets] => 1
[activexcontrols] =>
[ismobiledevice] => 1
[istablet] =>
[issyndicationreader] =>
[crawler] =>
[isfake] =>
[isanonymized] =>
[ismodified] =>
[cssversion] => 3
[aolversion] => 0
[device_name] => general Mobile Phone
[device_maker] => unknown
[device_type] => Mobile Phone
[<API key>] => touchscreen
[device_code_name] => general Mobile Phone
[device_brand_name] => unknown
[<API key>] => WebKit
[<API key>] => unknown
[<API key>] => For Google Chrome, iOS (including both mobile Safari, WebViews within third-party apps, and web clips), Safari, Arora, Midori, OmniWeb, Shiira, iCab since version 4, Web, SRWare Iron, Rekonq, and in Maxthon 3.
[<API key>] => Apple Inc
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>BrowscapLite<br /><small>6014</small><br /></td>
<td colspan="12" class="center-align red lighten-1">
<strong>No result found</strong>
</td>
</tr><tr><td>BrowscapPhp<br /><small>6014</small><br /></td>
<td colspan="12" class="center-align red lighten-1">
<strong>No result found</strong>
</td>
</tr><tr><td>DonatjUAParser<br /><small>v0.5.1</small><br /></td><td>Safari 533.1</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>DonatjUAParser result detail</h4>
<p><pre><code class="php">Array
(
[platform] => Android
[browser] => Safari
[version] => 533.1
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>JenssegersAgent<br /><small>v2.3.3</small><br /></td><td>Safari 533.1</td><td><i class="material-icons">close</i></td><td>AndroidOS 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>JenssegersAgent result detail</h4>
<p><pre><code class="php">Array
(
[browserName] => Safari
[browserVersion] => 533.1
[osName] => AndroidOS
[osVersion] => 2.3.6
[deviceModel] =>
[isMobile] => 1
[isRobot] =>
[botName] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>NeutrinoApiCom<br /><small></small><br /></td><td>Android Browser </td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269</td><td>mobile-browser</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.28202</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>NeutrinoApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[<API key>] => 0
[is_mobile] => 1
[type] => mobile-browser
[mobile_brand] => Lenovo
[mobile_model] => A269
[version] =>
[is_android] => 1
[browser_name] => Android Browser
[<API key>] => Android
[<API key>] => 2.3.6
[is_ios] =>
[producer] => Lenovo
[operating_system] => Android 2.3.6
[mobile_screen_width] => 0
[mobile_browser] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>PiwikDeviceDetector<br /><small>3.6.1</small><br /></td><td>Android Browser </td><td>WebKit </td><td>Android 2.3</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269i</td><td>smartphone</td><td>yes</td><td></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.003</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>PiwikDeviceDetector result detail</h4>
<p><pre><code class="php">Array
(
[client] => Array
(
[type] => browser
[name] => Android Browser
[short_name] => AN
[version] =>
[engine] => WebKit
)
[operatingSystem] => Array
(
[name] => Android
[short_name] => AND
[version] => 2.3
[platform] =>
)
[device] => Array
(
[brand] => LE
[brandName] => Lenovo
[model] => A269i
[device] => 1
[deviceName] => smartphone
)
[bot] =>
[extra] => Array
(
[isBot] =>
[isBrowser] => 1
[isFeedReader] =>
[isMobileApp] =>
[isPIM] =>
[isLibrary] =>
[isMediaPlayer] =>
[isCamera] =>
[isCarBrowser] =>
[isConsole] =>
[isFeaturePhone] =>
[isPhablet] =>
[<API key>] =>
[isSmartDisplay] =>
[isSmartphone] => 1
[isTablet] =>
[isTV] =>
[isDesktop] =>
[isMobile] => 1
[isTouchEnabled] =>
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td><API key><br /><small>6.0.1</small><br /></td><td>Navigator </td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td></td><td><i class="material-icons">close</i></td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4><API key> result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Sinergi\BrowserDetector\Browser Object
(
[userAgent:Sinergi\BrowserDetector\Browser:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
)
[name:Sinergi\BrowserDetector\Browser:private] => Navigator
[version:Sinergi\BrowserDetector\Browser:private] => unknown
[isRobot:Sinergi\BrowserDetector\Browser:private] =>
[isChromeFrame:Sinergi\BrowserDetector\Browser:private] =>
[isFacebookWebView:Sinergi\BrowserDetector\Browser:private] =>
[isCompatibilityMode:Sinergi\BrowserDetector\Browser:private] =>
)
[operatingSystem] => Sinergi\BrowserDetector\Os Object
(
[name:Sinergi\BrowserDetector\Os:private] => Android
[version:Sinergi\BrowserDetector\Os:private] => 2.3.6
[isMobile:Sinergi\BrowserDetector\Os:private] => 1
[userAgent:Sinergi\BrowserDetector\Os:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
)
)
[device] => Sinergi\BrowserDetector\Device Object
(
[name:Sinergi\BrowserDetector\Device:private] => unknown
[userAgent:Sinergi\BrowserDetector\Device:private] => Sinergi\BrowserDetector\UserAgent Object
(
[userAgentString:Sinergi\BrowserDetector\UserAgent:private] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
)
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UAParser<br /><small>v3.4.5</small><br /></td><td>Android 2.3.6</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269i</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UAParser result detail</h4>
<p><pre><code class="php">UAParser\Result\Client Object
(
[ua] => UAParser\Result\UserAgent Object
(
[major] => 2
[minor] => 3
[patch] => 6
[family] => Android
)
[os] => UAParser\Result\OperatingSystem Object
(
[major] => 2
[minor] => 3
[patch] => 6
[patchMinor] =>
[family] => Android
)
[device] => UAParser\Result\Device Object
(
[brand] => Lenovo
[model] => A269i
[family] => Lenovo A269i
)
[originalUserAgent] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentApiCom<br /><small></small><br /></td><td>Safari 533.1</td><td>WebKit 533.1</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>Mobile</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.15001</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentApiCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[platform_name] => Android
[platform_version] => 2.3.6
[platform_type] => Mobile
[browser_name] => Safari
[browser_version] => 533.1
[engine_name] => WebKit
[engine_version] => 533.1
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>UserAgentStringCom<br /><small></small><br /></td><td>Android Webkit Browser </td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td></td><td>0.14501</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>UserAgentStringCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[agent_type] => Browser
[agent_name] => Android Webkit Browser
[agent_version] =>
[os_type] => Android
[os_name] => Android
[os_versionName] =>
[os_versionNumber] => 2.3.6
[os_producer] =>
[os_producerURL] =>
[linux_distibution] => Null
[agent_language] =>
[agent_languageTag] =>
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhatIsMyBrowserCom<br /><small></small><br /></td><td> </td><td>WebKit </td><td>Android 2.3.6</td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.24201</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhatIsMyBrowserCom result detail</h4>
<p><pre><code class="php">stdClass Object
(
[<API key>] => Android
[<API key>] =>
[<API key>] => Unknown browser on Android (Gingerbread)
[browser_version] =>
[extra_info] => Array
(
)
[operating_platform] =>
[extra_info_table] => Array
(
)
[layout_engine_name] => WebKit
[detected_addons] => Array
(
)
[<API key>] =>
[<API key>] =>
[<API key>] =>
[<API key>] => Array
(
)
[browser_name_code] => unknown-browser
[<API key>] => Gingerbread
[<API key>] =>
[is_abusive] =>
[<API key>] =>
[<API key>] => Array
(
[0] => MIDP v2.0
[1] => CLDC v1.1
)
[<API key>] =>
[operating_system] => Android (Gingerbread)
[<API key>] => 2.3.6
[<API key>] =>
[browser_name] => Unknown browser
[<API key>] => android
[user_agent] => Lenovo-A269i/S001 Linux/3.4.5 Android/2.3.6 Release/06.02.2013 Browser/AppleWebKit533.1 Profile/MIDP-2.0 Configuration/CLDC-1.1 Mobile Safari/533.1 Mozilla/5.0 (Linux; U; Android 2.3.6; )
[<API key>] =>
[browser] => Unknown browser
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>WhichBrowser<br /><small>v2.0.18</small><br /></td><td>Android Browser </td><td>Webkit 533.1</td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269</td><td>mobile:smart</td><td>yes</td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0.002</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>WhichBrowser result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[name] => Android Browser
)
[engine] => Array
(
[name] => Webkit
[version] => 533.1
)
[os] => Array
(
[name] => Android
[version] => 2.3.6
)
[device] => Array
(
[type] => mobile
[subtype] => smart
[manufacturer] => Lenovo
[model] => A269
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Woothee<br /><small>v1.2.0</small><br /></td><td>Safari </td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>smartphone</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"></td><td></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Woothee result detail</h4>
<p><pre><code class="php">Array
(
[name] => Safari
[vendor] => Apple
[version] => UNKNOWN
[category] => smartphone
[os] => Android
[os_version] => 2.3.6
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Wurfl<br /><small>1.7.1.0</small><br /></td><td>Android 2.3.6</td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269i</td><td>Smartphone</td><td>yes</td><td>yes</td><td style="border-left: 1px solid #555"></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0.033</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Wurfl result detail</h4>
<p><pre><code class="php">Array
(
[virtual] => Array
(
[is_android] => true
[is_ios] => false
[is_windows_phone] => false
[is_app] => false
[is_full_desktop] => false
[is_largescreen] => false
[is_mobile] => true
[is_robot] => false
[is_smartphone] => true
[is_touchscreen] => true
[is_wml_preferred] => false
[<API key>] => false
[is_html_preferred] => true
[<API key>] => Android
[<API key>] => 2.3.6
[advertised_browser] => Android
[<API key>] => 2.3.6
[<API key>] => Lenovo A269i
[device_name] => Lenovo A269i
[form_factor] => Smartphone
[is_phone] => true
[is_app_webview] => false
)
[all] => Array
(
[brand_name] => Lenovo
[model_name] => A269i
[unique] => true
[<API key>] =>
[is_wireless_device] => true
[<API key>] => true
[has_qwerty_keyboard] => true
[<API key>] => true
[uaprof] =>
[uaprof2] =>
[uaprof3] =>
[nokia_series] => 0
[nokia_edition] => 0
[device_os] => Android
[mobile_browser] => Android Webkit
[<API key>] =>
[device_os_version] => 2.3
[pointing_method] => touchscreen
[release_date] => 2013_october
[marketing_name] =>
[model_extra_info] =>
[nokia_feature_pack] => 0
[<API key>] => true
[is_tablet] => false
[manufacturer_name] =>
[is_bot] => false
[is_google_glass] => false
[proportional_font] => false
[<API key>] => false
[card_title_support] => true
[softkey_support] => false
[table_support] => true
[numbered_menus] => false
[<API key>] => false
[<API key>] => true
[<API key>] => false
[<API key>] => true
[access_key_support] => false
[wrap_mode_support] => false
[<API key>] => false
[<API key>] => false
[<API key>] => true
[wizards_recommended] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => wtai://wp/mc;
[<API key>] => false
[emoji] => false
[<API key>] => false
[<API key>] => false
[imode_region] => none
[<API key>] => tel:
[chtml_table_support] => false
[<API key>] => true
[<API key>] => true
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => true
[<API key>] => true
[<API key>] => false
[<API key>] => false
[xhtml_nowrap_mode] => false
[<API key>] => false
[<API key>] => #FFFFFF
[<API key>] => #FFFFFF
[<API key>] => true
[<API key>] => true
[<API key>] => iso-8859-1
[<API key>] => false
[<API key>] => tel:
[<API key>] => text/html
[xhtml_table_support] => true
[<API key>] => sms:
[<API key>] => mms:
[xhtml_file_upload] => supported
[cookie_support] => true
[<API key>] => true
[<API key>] => full
[<API key>] => true
[<API key>] => none
[<API key>] => true
[ajax_manipulate_css] => true
[<API key>] => true
[<API key>] => true
[ajax_xhr_type] => standard
[ajax_manipulate_dom] => true
[ajax_support_events] => true
[<API key>] => true
[<API key>] => w3c_api
[xhtml_support_level] => 4
[preferred_markup] => html_web_4_0
[wml_1_1] => false
[wml_1_2] => false
[wml_1_3] => false
[<API key>] => true
[<API key>] => true
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[html_web_3_2] => true
[html_web_4_0] => true
[voicexml] => false
[multipart_support] => false
[<API key>] => false
[<API key>] => false
[resolution_width] => 320
[resolution_height] => 480
[columns] => 60
[max_image_width] => 320
[max_image_height] => 400
[rows] => 40
[<API key>] => 50
[<API key>] => 74
[dual_orientation] => true
[density_class] => 1.0
[wbmp] => true
[bmp] => false
[epoc_bmp] => false
[gif_animated] => false
[jpg] => true
[png] => true
[tiff] => false
[<API key>] => true
[<API key>] => true
[svgt_1_1] => false
[svgt_1_1_plus] => false
[greyscale] => false
[gif] => true
[colors] => 65536
[webp_lossy_support] => false
[<API key>] => false
[post_method_support] => true
[basic_<API key>] => true
[<API key>] => true
[emptyok] => false
[nokia_voice_call] => false
[wta_voice_call] => false
[wta_phonebook] => false
[wta_misc] => false
[wta_pdc] => false
[https_support] => true
[phone_id_provided] => false
[max_data_rate] => 384
[wifi] => true
[sdio] => false
[vpn] => false
[has_cellular_radio] => true
[max_deck_size] => 2000000
[<API key>] => 256
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[max_no_of_bookmarks] => 0
[<API key>] => 0
[<API key>] => 0
[max_object_size] => 0
[downloadfun_support] => false
[<API key>] => true
[inline_support] => false
[oma_support] => true
[ringtone] => false
[ringtone_3gpp] => false
[<API key>] => false
[<API key>] => false
[ringtone_imelody] => false
[ringtone_digiplug] => false
[<API key>] => false
[ringtone_mmf] => false
[ringtone_rmf] => false
[ringtone_xmf] => false
[ringtone_amr] => false
[ringtone_awb] => false
[ringtone_aac] => false
[ringtone_wav] => false
[ringtone_mp3] => false
[ringtone_spmidi] => false
[ringtone_qcelp] => false
[ringtone_voices] => 1
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[wallpaper] => false
[wallpaper_max_width] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[wallpaper_resize] => none
[wallpaper_wbmp] => false
[wallpaper_bmp] => false
[wallpaper_gif] => false
[wallpaper_jpg] => false
[wallpaper_png] => false
[wallpaper_tiff] => false
[wallpaper_greyscale] => false
[wallpaper_colors] => 2
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[screensaver] => false
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[screensaver_resize] => none
[screensaver_wbmp] => false
[screensaver_bmp] => false
[screensaver_gif] => false
[screensaver_jpg] => false
[screensaver_png] => false
[<API key>] => false
[screensaver_colors] => 2
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[picture] => false
[picture_max_width] => 0
[picture_max_height] => 0
[<API key>] => 0
[<API key>] => 0
[picture_resize] => none
[picture_wbmp] => false
[picture_bmp] => false
[picture_gif] => false
[picture_jpg] => false
[picture_png] => false
[picture_greyscale] => false
[picture_colors] => 2
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[video] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[streaming_video] => true
[streaming_3gpp] => true
[streaming_mp4] => true
[streaming_mov] => false
[<API key>] => 0
[<API key>] => none
[streaming_flv] => false
[streaming_3g2] => false
[<API key>] => 10
[<API key>] => -1
[<API key>] => 2
[<API key>] => -1
[<API key>] => 3.0
[<API key>] => nb
[<API key>] => lc
[streaming_wmv] => none
[<API key>] => rtsp
[<API key>] => <API key>
[wap_push_support] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[utf8_support] => true
[ascii_support] => false
[iso8859_support] => false
[expiration_date] => false
[j2me_cldc_1_0] => false
[j2me_cldc_1_1] => false
[j2me_midp_1_0] => false
[j2me_midp_2_0] => false
[doja_1_0] => false
[doja_1_5] => false
[doja_2_0] => false
[doja_2_1] => false
[doja_2_2] => false
[doja_3_0] => false
[doja_3_5] => false
[doja_4_0] => false
[j2me_jtwi] => false
[j2me_mmapi_1_0] => false
[j2me_mmapi_1_1] => false
[j2me_wmapi_1_0] => false
[j2me_wmapi_1_1] => false
[j2me_wmapi_2_0] => false
[j2me_btapi] => false
[j2me_3dapi] => false
[j2me_locapi] => false
[j2me_nokia_ui] => false
[j2me_motorola_lwt] => false
[<API key>] => false
[<API key>] => false
[j2me_heap_size] => 0
[j2me_max_jar_size] => 0
[j2me_storage_size] => 0
[<API key>] => 0
[j2me_screen_width] => 0
[j2me_screen_height] => 0
[j2me_canvas_width] => 0
[j2me_canvas_height] => 0
[j2me_bits_per_pixel] => 0
[<API key>] => false
[<API key>] => false
[<API key>] => false
[<API key>] => none
[j2me_http] => false
[j2me_https] => false
[j2me_socket] => false
[j2me_udp] => false
[j2me_serial] => false
[j2me_gif] => false
[j2me_gif89a] => false
[j2me_jpg] => false
[j2me_png] => false
[j2me_bmp] => false
[j2me_bmp3] => false
[j2me_wbmp] => false
[j2me_midi] => false
[j2me_wav] => false
[j2me_amr] => false
[j2me_mp3] => false
[j2me_mp4] => false
[j2me_imelody] => false
[j2me_rmf] => false
[j2me_au] => false
[j2me_aac] => false
[j2me_realaudio] => false
[j2me_xmf] => false
[j2me_wma] => false
[j2me_3gpp] => false
[j2me_h263] => false
[j2me_svgt] => false
[j2me_mpeg4] => false
[j2me_realvideo] => false
[j2me_real8] => false
[j2me_realmedia] => false
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[j2me_clear_key_code] => 0
[<API key>] => false
[<API key>] => false
[receiver] => false
[sender] => false
[mms_max_size] => 0
[mms_max_height] => 0
[mms_max_width] => 0
[built_in_recorder] => false
[built_in_camera] => true
[mms_jpeg_baseline] => false
[<API key>] => false
[mms_gif_static] => false
[mms_gif_animated] => false
[mms_png] => false
[mms_bmp] => false
[mms_wbmp] => false
[mms_amr] => false
[mms_wav] => false
[mms_midi_monophonic] => false
[mms_midi_polyphonic] => false
[<API key>] => 0
[mms_spmidi] => false
[mms_mmf] => false
[mms_mp3] => false
[mms_evrc] => false
[mms_qcelp] => false
[mms_ota_bitmap] => false
[mms_nokia_wallpaper] => false
[<API key>] => false
[<API key>] => false
[<API key>] => false
[mms_rmf] => false
[mms_xmf] => false
[mms_symbian_install] => false
[mms_jar] => false
[mms_jad] => false
[mms_vcard] => false
[mms_vcalendar] => false
[mms_wml] => false
[mms_wbxml] => false
[mms_wmlc] => false
[mms_video] => false
[mms_mp4] => false
[mms_3gpp] => false
[mms_3gpp2] => false
[mms_max_frame_rate] => 0
[nokiaring] => false
[picturemessage] => false
[operatorlogo] => false
[largeoperatorlogo] => false
[callericon] => false
[nokiavcard] => false
[nokiavcal] => false
[sckl_ringtone] => false
[sckl_operatorlogo] => false
[sckl_groupgraphic] => false
[sckl_vcard] => false
[sckl_vcalendar] => false
[text_imelody] => false
[ems] => false
[<API key>] => false
[ems_imelody] => false
[ems_odi] => false
[ems_upi] => false
[ems_version] => 0
[siemens_ota] => false
[siemens_logo_width] => 101
[siemens_logo_height] => 29
[<API key>] => 101
[<API key>] => 50
[gprtf] => false
[sagem_v1] => false
[sagem_v2] => false
[panasonic] => false
[sms_enabled] => true
[wav] => false
[mmf] => false
[smf] => false
[mld] => false
[midi_monophonic] => false
[midi_polyphonic] => false
[sp_midi] => false
[rmf] => false
[xmf] => false
[compactmidi] => false
[digiplug] => false
[nokia_ringtone] => false
[imelody] => false
[au] => false
[amr] => false
[awb] => false
[aac] => true
[mp3] => true
[voices] => 1
[qcelp] => false
[evrc] => false
[flash_lite_version] =>
[fl_wallpaper] => false
[fl_screensaver] => false
[fl_standalone] => false
[fl_browser] => false
[fl_sub_lcd] => false
[full_flash_support] => true
[<API key>] => true
[css_border_image] => webkit
[css_rounded_corners] => webkit
[css_gradient] => none
[css_spriting] => true
[css_gradient_linear] => none
[is_transcoder] => false
[<API key>] => user-agent
[rss_support] => false
[pdf_support] => true
[<API key>] => true
[<API key>] => 10
[<API key>] => -1
[<API key>] => 0
[<API key>] => -1
[<API key>] => 3.0
[playback_real_media] => none
[playback_3gpp] => true
[playback_3g2] => false
[playback_mp4] => true
[playback_mov] => false
[playback_acodec_amr] => nb
[playback_acodec_aac] => none
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => 0
[<API key>] => false
[playback_wmv] => none
[<API key>] => true
[html_preferred_dtd] => html4
[viewport_supported] => true
[viewport_width] => device_width_token
[<API key>] => no
[<API key>] =>
[<API key>] =>
[<API key>] =>
[mobileoptimized] => false
[handheldfriendly] => false
[canvas_support] => full
[image_inlining] => true
[is_smarttv] => false
[is_console] => false
[nfc_support] => false
[ux_full_desktop] => false
[jqm_grade] => A
[is_sencha_touch_ok] => false
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr><tr><td>Zsxsoft<br /><small>1.3</small><br /></td><td>Android Webkit </td><td><i class="material-icons">close</i></td><td>Android 2.3.6</td><td style="border-left: 1px solid #555">Lenovo</td><td>A269i</td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td style="border-left: 1px solid #555"><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td><i class="material-icons">close</i></td><td>0</td><td>
<!-- Modal Trigger -->
<a class="modal-trigger btn waves-effect waves-light" href="#<API key>">Detail</a>
<!-- Modal Structure -->
<div id="<API key>" class="modal modal-fixed-footer">
<div class="modal-content">
<h4>Zsxsoft result detail</h4>
<p><pre><code class="php">Array
(
[browser] => Array
(
[link] => http://developer.android.com/reference/android/webkit/package-summary.html
[title] => Android Webkit
[name] => Android Webkit
[version] =>
[code] => android-webkit
[image] => img/16/browser/android-webkit.png
)
[os] => Array
(
[link] => http:
[name] => Android
[version] => 2.3.6
[code] => android
[x64] =>
[title] => Android 2.3.6
[type] => os
[dir] => os
[image] => img/16/os/android.png
)
[device] => Array
(
[link] => http:
[title] => Lenovo A269i
[model] => A269i
[brand] => Lenovo
[code] => lenovo
[dir] => device
[type] => device
[image] => img/16/device/lenovo.png
)
[platform] => Array
(
[link] => http:
[title] => Lenovo A269i
[model] => A269i
[brand] => Lenovo
[code] => lenovo
[dir] => device
[type] => device
[image] => img/16/device/lenovo.png
)
)
</code></pre></p>
</div>
<div class="modal-footer">
<a href="#!" class="modal-action modal-close waves-effect waves-green btn-flat ">close</a>
</div>
</div>
</td></tr></table>
</div>
<div class="section">
<h1 class="header center orange-text">About this comparison</h1>
<div class="row center">
<h5 class="header light">
The primary goal of this project is simple<br />
I wanted to know which user agent parser is the most accurate in each part - device detection, bot detection and so on...<br />
<br />
The secondary goal is to provide a source for all user agent parsers to improve their detection based on this results.<br />
<br />
You can also improve this further, by suggesting ideas at <a href="https://github.com/ThaDafinser/<API key>">ThaDafinser/<API key></a><br />
<br />
The comparison is based on the abstraction by <a href="https://github.com/ThaDafinser/UserAgentParser">ThaDafinser/UserAgentParser</a>
</h5>
</div>
</div>
<div class="card">
<div class="card-content">
Comparison created <i>2016-05-10 08:04:30</i> | by
<a href="https://github.com/ThaDafinser">ThaDafinser</a>
</div>
</div>
</div>
<script src="https://code.jquery.com/jquery-2.1.4.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/materialize/0.97.3/js/materialize.min.js"></script>
<script src="http://cdnjs.cloudflare.com/ajax/libs/list.js/1.2.0/list.min.js"></script>
<script>
$(document).ready(function(){
// the "href" attribute of .modal-trigger must specify the modal ID that wants to be triggered
$('.modal-trigger').leanModal();
});
</script>
</body>
</html>
|
module DataMapper
# :include:/QUICKLINKS
# = Types
# Provides means of writing custom types for properties. Each type is based
# on a ruby primitive and handles its own serialization and materialization,
# and therefore is responsible for providing those methods.
# To see complete list of supported types, see documentation for
# DataMapper::Property::TYPES
# == Defining new Types
# To define a new type, subclass DataMapper::Type, pick ruby primitive, and
# set the options for this type.
# class MyType < DataMapper::Type
# primitive String
# size 10
# end
# Following this, you will be able to use MyType as a type for any given
# property. If special materialization and serialization is required,
# override the class methods
# class MyType < DataMapper::Type
# primitive String
# size 10
# def self.dump(value, property)
# <work some magic>
# end
# def self.load(value)
# <work some magic>
# end
# end
class Type
PROPERTY_OPTIONS = [
:public, :protected, :private, :accessor, :reader, :writer,
:lazy, :default, :nullable, :key, :serial, :field, :size, :length,
:format, :index, :check, :ordinal, :auto_validation, :validates, :unique,
:lock, :track
]
<API key> = {
:size => [ :length ]
}
class << self
def configure(primitive_type, options)
@_primitive_type = primitive_type
@_options = options
def self.inherited(base)
base.primitive @_primitive_type
@_options.each do |k, v|
base.send(k, v)
end
end
self
end
# The Ruby primitive type to use as basis for this type. See
# DataMapper::Property::TYPES for list of types.
# primitive<Class, nil>::
# The class for the primitive. If nil is passed in, it returns the
# current primitive
# Class:: if the <primitive> param is nil, return the current primitive.
# @public
def primitive(primitive = nil)
return @primitive if primitive.nil?
@primitive = primitive
end
#load DataMapper::Property options
PROPERTY_OPTIONS.each do |property_option|
self.class_eval <<-EOS, __FILE__, __LINE__
def #{property_option}(arg = nil)
return @#{property_option} if arg.nil?
@#{property_option} = arg
end
EOS
end
#create property aliases
<API key>.each do |property_option, aliases|
aliases.each do |ali|
self.class_eval <<-EOS, __FILE__, __LINE__
alias #{ali} #{property_option}
EOS
end
end
# Gives all the options set on this type
# Hash:: with all options and their values set on this type
# @public
def options
options = {}
PROPERTY_OPTIONS.each do |method|
next if (value = send(method)).nil?
options[method] = value
end
options
end
end
# Stub instance method for dumping
# value<Object, nil>::
# The value to dump
# property<Property, nil>::
# The property the type is being used by
# Object:: Dumped object
# @public
def self.dump(value, property)
value
end
# Stub instance method for loading
# value<Object, nil>::
# The value to serialize
# property<Property, nil>::
# The property the type is being used by
# Object:: Serialized object. Must be the same type as the ruby primitive
# @public
def self.load(value, property)
value
end
end # class Type
def self.Type(primitive_type, options = {})
Class.new(Type).configure(primitive_type, options)
end
end # module DataMapper
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>unimath-ktheory: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.10.1 / unimath-ktheory - 0.1.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
unimath-ktheory
<small>
0.1.0
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2021-10-28 03:36:04 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-10-28 03:36:04 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.10.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "opam@clarus.me"
homepage: "https://github.com/UniMath/UniMath"
dev-repo: "git+https://github.com/UniMath/UniMath.git"
bug-reports: "https://github.com/UniMath/UniMath/issues"
license: "Kind of MIT"
authors: ["The UniMath Development Team"]
build: [
["coq_makefile" "-f" "Make" "-o" "Makefile"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"ocaml"
"coq" {>= "8.5.0" & < "8.6"}
"<API key>"
"<API key>"
]
synopsis: "Aims to formalize a substantial body of mathematics using the univalent point of view"
extra-files: ["Make" "md5=<API key>"]
url {
src: "https://github.com/UniMath/UniMath/archive/v0.1.tar.gz"
checksum: "md5=<API key>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-unimath-ktheory.0.1.0 coq.8.10.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.10.1).
The following dependencies couldn't be met:
- coq-unimath-ktheory -> coq < 8.6 -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-unimath-ktheory.0.1.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>color: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / extra-dev</a></li>
<li class="active"><a href="">8.10.0 / color - 1.2.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
color
<small>
1.2.0
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2020-08-24 06:00:58 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-08-24 06:00:58 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.10.0 Formal proof management system
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "frederic.blanqui@inria.fr"
homepage: "http://color.inria.fr/"
license: "CeCILL"
build: [
[make "-j%{jobs}%"]
]
install: [make "-f" "Makefile.coq" "install"]
depends: [
"ocaml"
"coq" {>= "8.5" & < "8.6~"}
]
authors: [
"Frédéric Blanqui"
"Adam Koprowski"
"Sébastien Hinderer"
"Pierre-Yves Strub"
"Sidi Ould Biha"
"Solange Coupet-Grimal"
"William Delobel"
"Hans Zantema"
"Stéphane Leroux"
"Léo Ducas"
"Johannes Waldmann"
"Qiand Wang"
"Lianyi Zhang"
"Sorin Stratulat"
]
tags: [
"keyword:rewriting"
"keyword:termination"
"keyword:lambda calculus"
"keyword:list"
"keyword:multiset"
"keyword:polynom"
"keyword:vectors"
"keyword:matrices"
"keyword:FSet"
"keyword:FMap"
"keyword:term"
"keyword:context"
"keyword:substitution"
"keyword:universal algebra"
"keyword:varyadic term"
"keyword:string"
"keyword:alpha-equivalence"
"keyword:de bruijn indices"
"keyword:simple types"
"keyword:matching"
"keyword:unification"
"keyword:relation"
"keyword:ordering"
"keyword:quasi-ordering"
"keyword:lexicographic ordering"
"keyword:ring"
"keyword:semiring"
"keyword:well-founded"
"keyword:noetherian"
"keyword:finitely branching"
"keyword:dependent choice"
"keyword:infinite sequences"
"keyword:non-termination"
"keyword:loop"
"keyword:graph"
"keyword:path"
"keyword:transitive closure"
"keyword:strongly connected component"
"keyword:topological ordering"
"keyword:rpo"
"keyword:horpo"
"keyword:dependency pair"
"keyword:dependency graph"
"keyword:semantic labeling"
"keyword:reducibility"
"keyword:Girard"
"keyword:fixpoint theorem"
"keyword:Tarski"
"keyword:pigeon-hole principle"
"keyword:Ramsey theorem"
"category:Computer Science/Algorithms/Correctness proofs of algorithms"
"category:Computer Science/Data Types and Data Structures"
"category:Computer Science/Lambda Calculi"
"category:Mathematics/Algebra"
"category:Mathematics/Combinatorics and Graph Theory"
"category:Mathematics/Logic/Type theory"
"category:Miscellaneous/Extracted Programs/Type checking unification and normalization"
"date:2016-01-26"
"logpath:CoLoR"
]
synopsis: "A library on rewriting theory and termination"
url {
src:
"https://gforge.inria.fr/frs/download.php/file/35820/color.1.2.0.tar.gz"
checksum: "md5=<API key>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-color.1.2.0 coq.8.10.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.10.0).
The following dependencies couldn't be met:
- coq-color -> coq < 8.6~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-color.1.2.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
Framework 4.6
properties {
$rootNow = Resolve-Path .
$nugetexe = "$rootNow/buildTools/nuget.exe"
$<API key> = "$( $env:TEMP )\Newbe\Newbe.Mahua\Mahua2.Asset"
$mahuaFilesJson = "mahua.files.json"
}
function Get-PlartformName
{
if ((Test-Path "$rootNow/CQA.exe") -or (Test-Path "$rootNow/CQP.exe"))
{
return "CQP"
}
if (Test-Path "$rootNow/Core.exe")
{
return "MPQ"
}
if ((Test-Path "$rootNow/CleverQQ Pro.exe") -or (Test-Path "$rootNow/CleverQQ Air.exe"))
{
return "CleverQQ"
}
if (Test-Path "$rootNow/QQLight.exe")
{
return "QQLight"
}
return "Unknow"
}
Task Default -depends <API key>
Task <API key> -description "display current platform name"{
$plartform = Get-PlartformName
if ($plartform -eq "Unknow")
{
throw ""
}
Write-Host "current platform is $plartform"
}
Task Init -depends <API key> {
}
Task DownloadNuget -description "donwload nuget.exe" {
if (-not(Test-Path $nugetexe))
{
New-Item buildTools -ItemType Directory -ErrorAction SilentlyContinue
Invoke-WebRequest https://dist.nuget.org/win-x86-commandline/latest/nuget.exe -OutFile $nugetexe
}
}
Task InstallMahua -depends RemoveMahua, DownloadNuget, Init -Description "install Newbe.Mahua" {
$plartform = Get-PlartformName
Remove-Item $<API key> -Force -Recurse -ErrorAction SilentlyContinue
New-Item $<API key> -ItemType Directory -ErrorAction SilentlyContinue
. $nugetexe install "Newbe.Mahua.$plartform.Asset" -OutputDirectory $<API key> -ExcludeVersion
Copy-Item "$<API key>\Newbe.Mahua.$plartform.Asset\*" . -Recurse -Force
# remove nupkg copied from temp
Remove-Item "$rootNow\Newbe.Mahua.$plartform.Asset.nupkg" -Force -ErrorAction SilentlyContinue
Write-Host "Newbe.Mahua installed success."
}
Task RemoveMahua -Description "remove Newbe.Mahua" {
if (Test-Path $mahuaFilesJson)
{
$files = Get-Content $mahuaFilesJson -Encoding UTF8 | ConvertFrom-Json
$files | ForEach-Object {
if ($_ -ne $mahuaFilesJson)
{
$file = "$rootNow/$_"
if (Test-Path $file)
{
Remove-Item $file
Write-Host "$file removed"
}
}
}
Remove-Item $rootNow/$mahuaFilesJson
Write-Host "$rootNow/$mahuaFilesJson removed"
}
else
{
Write-Host "$mahuaFilesJson is not exsistd , expected Newbe.Mahua is not installed"
}
}
|
package com.jgrillo.wordcount.api;
import com.fasterxml.jackson.core.JsonFactory;
import com.fasterxml.jackson.core.JsonGenerator;
import com.fasterxml.jackson.core.JsonParser;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.ObjectReader;
import com.fasterxml.jackson.databind.ObjectWriter;
import com.fasterxml.jackson.databind.<API key>;
import com.google.common.collect.ImmutableMap;
import org.junit.Test;
import java.io.IOException;
import java.util.List;
import java.util.stream.Collectors;
import static org.quicktheories.QuickTheory.qt;
import static org.quicktheories.generators.SourceDSL.*;
import static io.dropwizard.testing.FixtureHelpers.*;
import static org.assertj.core.api.Assertions.assertThat;
public final class CountsTest {
private static final ObjectMapper mapper = new ObjectMapper()
.disable(<API key>.CLOSE_CLOSEABLE)
.disable(JsonGenerator.Feature.AUTO_CLOSE_TARGET);
private static final ObjectWriter writer = mapper.writerFor(Counts.class);
private static final ObjectReader reader = mapper.readerFor(Counts.class);
private static final JsonFactory factory = mapper.getFactory();
/**
* Test the encode-decode invariant for the Counts model.
*/
@Test
public void <API key>() throws Exception {
qt().forAll(
lists().of(strings().allPossible().ofLengthBetween(0, 100)).ofSize(1000).describedAs(
Object::toString
),
lists().of(longs().all()).ofSize(1000).describedAs(Object::toString)
).as((words, counts) -> {
final ImmutableMap.Builder<String, Long> mapBuilder = ImmutableMap.builder();
final List<String> distinctWords = words.stream().distinct().collect(Collectors.toList());
for (int i = 0; i < distinctWords.size(); i++) {
mapBuilder.put(distinctWords.get(i), counts.get(i)); // counts.size() >= distinctWords.size()
}
return mapBuilder.build();
}).checkAssert((wordCounts) -> {
try {
final byte[] bytes = writer.writeValueAsBytes(new Counts(wordCounts));
final JsonParser parser = factory.createParser(bytes);
final Counts countsModel = reader.readValue(parser);
assertThat(countsModel.getCounts()).isEqualTo(wordCounts);
} catch (IOException e) {
throw new RuntimeException("Caught IOE while checking counts", e);
}
});
}
@Test
public void <API key>() throws Exception {
final Counts counts = new Counts(
ImmutableMap.<String, Long>builder()
.put("word", 3L)
.put("wat", 1L)
.build()
);
final String expected = writer.writeValueAsString(reader.readValue(fixture("fixtures/counts.json")));
assertThat(writer.writeValueAsString(counts)).isEqualTo(expected);
}
@Test
public void <API key>() throws Exception {
final Counts counts = new Counts(
ImmutableMap.<String, Long>builder()
.put("word", 3L)
.put("wat", 1L)
.build()
);
final Counts deserializedCounts = reader.readValue(fixture("fixtures/counts.json"));
assertThat(deserializedCounts.getCounts()).isEqualTo(counts.getCounts());
}
}
|
namespace Archient.Razor.TagHelpers
{
using Microsoft.AspNet.Razor.Runtime.TagHelpers;
using Microsoft.AspNet.Razor.TagHelpers;
[TagName("<API key>")]
[ContentBehavior(ContentBehavior.Modify)]
public class <API key> : <API key>
{
protected override bool IsContentDisplayed
{
get
{
// display if authenticated
return this.ViewContext.HttpContext.User.Identity.IsAuthenticated;
}
}
}
}
|
[mol_plot_fill] {
stroke: none;
stroke-width: 0;
opacity: .1;
fill: currentColor;
pointer-events: none;
}
[<API key>] {
opacity: .1;
background: currentColor;
position: absolute;
bottom: 0;
top: .75em;
left: 0;
right: 0;
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>monae: 5 m 47 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.11.2 / monae - 0.1.2</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
monae
<small>
0.1.2
<span class="label label-success">5 m 47 s</span>
</small>
</h1>
<p><em><script>document.write(moment("2020-08-17 11:46:38 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-08-17 11:46:38 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.11.2 Formal proof management system
num 1.3 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.10.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.10.0 Official release 4.10.0
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "reynald.affeldt@aist.go.jp"
homepage: "https://github.com/affeldt-aist/monae"
bug-reports: "https://github.com/affeldt-aist/monae/issues"
dev-repo: "git+https://github.com/affeldt-aist/monae.git"
license: "GPL-3.0-or-later"
authors: [
"Reynald Affeldt"
"David Nowak"
"Takafumi Saikawa"
"Jacques Garrigue"
"Celestine Sauvage"
"Kazunari Tanaka"
]
build: [
[make "-j%{jobs}%"]
[make "sect5"]
[make "-C" "impredicative_set"]
]
install: [
[make "install"]
]
depends: [
"coq" { >= "8.11" & < "8.13~" }
"coq-infotheo" { >= "0.1.2" & < "0.2~" }
"coq-paramcoq" { >= "1.1.2" & < "1.2~" }
]
synopsis: "Monae"
description: """
This repository contains a formalization of monads including several
models, examples of monadic equational reasoning, and an application
to program semantics.
"""
tags: [
"category:Computer Science/Semantics"
"keyword: monad"
"keyword: effect"
"keyword: probability"
"keyword: nondeterminism"
"logpath:monae"
"date:2020-08-13"
]
url {
http: "https://github.com/affeldt-aist/monae/archive/0.1.2.tar.gz"
checksum: "sha512=fc06a3dc53e180940478ca8ec02755432c1fb29b6ed81f3312731a1d0435dbe67e78db5201a92e40c7f23068fc5d9343414fc06676bf3adf402836e8c69b0229"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-monae.0.1.2 coq.8.11.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 2h opam install -y --deps-only coq-monae.0.1.2 coq.8.11.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>51 m 4 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v coq-monae.0.1.2 coq.8.11.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>5 m 47 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 9 M</p>
<ul>
<li>1 M <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/category.vo</code></li>
<li>898 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_transformer.vo</code></li>
<li>504 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/hierarchy.vo</code></li>
<li>457 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/smallstep.vo</code></li>
<li>402 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_model.vo</code></li>
<li>315 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/state_lib.vo</code></li>
<li>308 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_transformer.glob</code></li>
<li>286 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/hierarchy.glob</code></li>
<li>275 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_monty.glob</code></li>
<li>270 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/category.glob</code></li>
<li>255 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/fail_lib.vo</code></li>
<li>255 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_monty.vo</code></li>
<li>241 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/gcm_model.vo</code></li>
<li>227 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_model.glob</code></li>
<li>192 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_nqueens.vo</code></li>
<li>189 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/altprob_model.vo</code></li>
<li>182 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/state_lib.glob</code></li>
<li>179 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_lib.vo</code></li>
<li>178 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_lib.vo</code></li>
<li>160 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_composition.vo</code></li>
<li>157 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_nqueens.glob</code></li>
<li>152 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/fail_lib.glob</code></li>
<li>139 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/smallstep.glob</code></li>
<li>138 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_lib.glob</code></li>
<li>124 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/gcm_model.glob</code></li>
<li>120 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_relabeling.vo</code></li>
<li>113 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_lib.glob</code></li>
<li>112 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_spark.vo</code></li>
<li>99 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_spark.glob</code></li>
<li>96 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/trace_lib.vo</code></li>
<li>93 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_composition.glob</code></li>
<li>81 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_monad_model.vo</code></li>
<li>81 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/altprob_model.glob</code></li>
<li>73 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_relabeling.glob</code></li>
<li>60 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/hierarchy.v</code></li>
<li>50 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monae_lib.vo</code></li>
<li>49 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_transformer.v</code></li>
<li>47 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_model.v</code></li>
<li>42 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/category.v</code></li>
<li>29 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/smallstep.v</code></li>
<li>28 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/gcm_model.v</code></li>
<li>23 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/fail_lib.v</code></li>
<li>23 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/trace_lib.glob</code></li>
<li>23 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_monty.v</code></li>
<li>22 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/state_lib.v</code></li>
<li>19 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_lib.v</code></li>
<li>18 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_nqueens.v</code></li>
<li>17 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monae_lib.glob</code></li>
<li>14 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_lib.v</code></li>
<li>14 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/altprob_model.v</code></li>
<li>11 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_monad_model.glob</code></li>
<li>10 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monad_composition.v</code></li>
<li>10 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_spark.v</code></li>
<li>7 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/example_relabeling.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/monae_lib.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/trace_lib.v</code></li>
<li>3 K <code>../ocaml-base-compiler.4.10.0/lib/coq/user-contrib/monae/proba_monad_model.v</code></li>
</ul>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq-monae.0.1.2</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
<small>Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
layout: post
title: "Post election update: Will the German parliament have a gigantic size?"
cover:
date: 2021-09-27 10:20:00
categories: r
tags: [R, RTutor, shiny]
This is just a short update to [my previous post](http:
The main reason is that the Bavarian CSU performed substantially better in terms of 2nd votes than predicted by the Forsa forecast from last week. While the forecast predicted a CSU 2nd vote share of 29.3% in Bavaria among the parties entering the parliament, the CSU actually achieved 36.8%.
Election results
I copied the preliminary results from [mandatsrechner.de](https:
Let's see whether we get the same seat distribution as in the [official results](https:
r
source("seat_calculator.R")
dat = read.csv("results_2021.csv",encoding="UTF-8") %>%
select(-seats.mr)
res = compute.seats(dat)
summarize.results(res)
## Total size: 734 seats
## # A tibble: 7 x 5
## party vote_share seat_shares seats ueberhang
## <chr> <dbl> <dbl> <dbl> <dbl>
## 1 SPD 0.282 0.281 206 0
## 2 CDU 0.207 0.206 151 0
## 3 Gruene 0.162 0.161 118 0
## 4 FDP 0.126 0.125 92 0
## 5 AfD 0.113 0.113 83 0
## 6 CSU 0.0567 0.0613 45 3
## 7 Linke 0.0536 0.0531 39 0
That are the same results as the preliminary official one's, with one exception. As the party of the danish minority party, the SSW did not have to pass the 5% hurdle and also got one seat this election. Adding this seat leads to the total of 735 seats. Also note that all vote shares are only relative to the votes of the parties that enter the Bundestag.
How 146 voters in Munich generated 17 extra seats in the Bundestag
Except for the district [Munich-South](https:
r
library(dplyrExtras)
dat.mod = dat %>%
mutate_rows(party=="CSU" & land=="Bayern", direct = direct-1) %>%
mutate_rows(party=="Gruene" & land=="Bayern", direct = direct+1)
res = compute.seats(dat.mod)
sum(res$seats)+1
## [1] 718
We would have 17 seats less: only 718 seats. Note that in each of the 4 Munich districts the candidates of the SPD and the Green party have together substantially more direct votes than the CSU. If the voters of these two parties would have better coordinated so that the CSU gets no direct seat in Munich, the size of the Bundestag could have been reduced to even 683 members. Normally, one would have thought the Bavarian voters would take such a chance to reduce the amount of money spent in Berlin...
What if Linke would have gotten only 2 direct seats?
There were even direct seats more expensive in terms of Bundestag size than a direct seat for the CSU: one of the three direct seats captured by the Linke. If the Linke would not have won three direct seats, they would have lost all their 2nd vote seats, because they did not breach the 5% hurdle. The number of seats is not reduced automatically by the fact that a party does not enter the parliament. Yet, if the Linke would not get its second votes, the CSU share among the relevant 2nd votes would increase and a smaller increase of the Bundestag's size would be necessary to balance CSU's direct seats with its 2nd vote share.
So what would be the size of parliament if the Linke only would have gotten only 2 direct seats and one of its Berlin seats went to the Green party?
r
dat.mod = dat %>%
filter(party != "Linke") %>%
mutate_rows(party=="Gruene" & land=="Berlin", direct = direct+1)
res = compute.seats(dat.mod)
sum(res$seats)+3
## [1] 698
We then would have a parliament of only 698 members. So the third direct seat won by the Linke generated 37 additional seats in the Bundestag.
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>graph-theory: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.11.1 / graph-theory - 0.9</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
graph-theory
<small>
0.9
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2022-01-04 15:07:36 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-04 15:07:36 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.11.1 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "christian.doczkal@inria.fr"
homepage: "https://github.com/coq-community/graph-theory"
dev-repo: "git+https://github.com/coq-community/graph-theory.git"
bug-reports: "https://github.com/coq-community/graph-theory/issues"
license: "CECILL-B"
synopsis: "Graph theory results in Coq and MathComp"
description: """
A library of formalized graph theory results, including various
standard results from the literature (e.g., Menger’s Theorem, Hall’s
Marriage Theorem, and the excluded minor characterization of
treewidth-two graphs) as well as some more recent results arising
from the study of relation algebra within the ERC CoVeCe project
(e.g., soundness and completeness of an axiomatization of graph
isomorphism)."""
build: [
["sh" "-exc" "cat _CoqProject.wagner >>_CoqProject"] {coq-fourcolor:installed}
[make "-j%{jobs}%" ]
]
install: [make "install"]
depends: [
"coq" {(>= "8.12" & < "8.14~") | (= "dev")}
"<API key>" {(>= "1.12" & < "1.13~") | (= "dev")}
"coq-mathcomp-finmap"
"<API key>" { (>= "1.1.0") }
]
depopts: ["coq-fourcolor"]
tags: [
"category:Computer Science/Graph Theory"
"keyword:graph theory"
"keyword:minors"
"keyword:treewidth"
"keyword:algebra"
"logpath:GraphTheory"
"date:2020-12-08"
]
authors: [
"Christian Doczkal"
"Damien Pous"
]
url {
src: "https://github.com/coq-community/graph-theory/archive/v0.9.tar.gz"
checksum: "sha512=db62ec2bdbbb1fa2cbe411c42acaa4d4ab0988486a8cff8b53acd4f0b9776df72e117ca9256141a7d59de35686bda8f07d705273b00f79e2715755aa78d93f0e"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-graph-theory.0.9 coq.8.11.1</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.11.1).
The following dependencies couldn't be met:
- coq-graph-theory -> coq >= dev
no matching version
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-graph-theory.0.9</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
package com.highcharts.config
import scalajs.js, js.`|`
import com.highcharts.CleanJsObject
import com.highcharts.HighchartsUtils._
/**
* @note JavaScript name: <code><API key></code>
*/
@js.annotation.ScalaJSDefined
class <API key> extends com.highcharts.<API key> {
/**
* <p>Animation when hovering over the marker.</p>
*/
val animation: js.UndefOr[Boolean | js.Object] = js.undefined
val enabled: js.UndefOr[Boolean] = js.undefined
val radiusPlus: js.UndefOr[Double] = js.undefined
val lineWidthPlus: js.UndefOr[Double] = js.undefined
/**
* <p>The fill color of the marker in hover state. When
* <code>undefined</code>, the series' or point's fillColor for normal
* state is used.</p>
*/
val fillColor: js.UndefOr[String | js.Object] = js.undefined
val lineColor: js.UndefOr[String | js.Object] = js.undefined
val lineWidth: js.UndefOr[Double] = js.undefined
val radius: js.UndefOr[Double] = js.undefined
}
object <API key> {
/**
* @param animation <p>Animation when hovering over the marker.</p>
* @param enabled <p>Enable or disable the point marker.</p>
* @param radiusPlus <p>The number of pixels to increase the radius of the hovered. point.</p>
* @param lineWidthPlus <p>The additional line width for a hovered point.</p>
* @param fillColor <p>The fill color of the marker in hover state. When. <code>undefined</code>, the series' or point's fillColor for normal. state is used.</p>
* @param lineColor <p>The color of the point marker's outline. When <code>undefined</code>,. the series' or point's lineColor for normal state is used.</p>
* @param lineWidth <p>The width of the point marker's outline. When <code>undefined</code>,. the series' or point's lineWidth for normal state is used.</p>
* @param radius <p>The radius of the point marker. In hover state, it defaults. to the normal state's radius + 2 as per the <a href="#plotOptions.series.marker.states.hover.radiusPlus">radiusPlus</a>. option.</p>
*/
def apply(animation: js.UndefOr[Boolean | js.Object] = js.undefined, enabled: js.UndefOr[Boolean] = js.undefined, radiusPlus: js.UndefOr[Double] = js.undefined, lineWidthPlus: js.UndefOr[Double] = js.undefined, fillColor: js.UndefOr[String | js.Object] = js.undefined, lineColor: js.UndefOr[String | js.Object] = js.undefined, lineWidth: js.UndefOr[Double] = js.undefined, radius: js.UndefOr[Double] = js.undefined): <API key> = {
val animationOuter: js.UndefOr[Boolean | js.Object] = animation
val enabledOuter: js.UndefOr[Boolean] = enabled
val radiusPlusOuter: js.UndefOr[Double] = radiusPlus
val lineWidthPlusOuter: js.UndefOr[Double] = lineWidthPlus
val fillColorOuter: js.UndefOr[String | js.Object] = fillColor
val lineColorOuter: js.UndefOr[String | js.Object] = lineColor
val lineWidthOuter: js.UndefOr[Double] = lineWidth
val radiusOuter: js.UndefOr[Double] = radius
com.highcharts.<API key>.toCleanObject(new <API key> {
override val animation: js.UndefOr[Boolean | js.Object] = animationOuter
override val enabled: js.UndefOr[Boolean] = enabledOuter
override val radiusPlus: js.UndefOr[Double] = radiusPlusOuter
override val lineWidthPlus: js.UndefOr[Double] = lineWidthPlusOuter
override val fillColor: js.UndefOr[String | js.Object] = fillColorOuter
override val lineColor: js.UndefOr[String | js.Object] = lineColorOuter
override val lineWidth: js.UndefOr[Double] = lineWidthOuter
override val radius: js.UndefOr[Double] = radiusOuter
})
}
}
|
# Node.js v0.11.x Dockerfile
FROM dockerfile/python
MAINTAINER Haokang Den <haokang.den@gmail.com>
ENV PATH $HOME/.nodebrew/current/bin:$PATH
RUN cd /data && \
curl -L git.io/nodebrew | perl - setup && \
nodebrew install-binary v0.11.13 && \
nodebrew use v0.11.13
|
<?php
class <API key> extends Telerivet_Entity
{
/**
$scheduled_msg->save()
Saves any fields or custom variables that have changed for this scheduled message.
*/
function save()
{
parent::save();
}
/**
$scheduled_msg->delete()
Cancels this scheduled message.
*/
function delete()
{
$this->_api->doRequest("DELETE", "{$this->getBaseApiPath()}");
}
function getBaseApiPath()
{
return "/projects/{$this->project_id}/scheduled/{$this->id}";
}
}
|
import React, { useState, useRef } from 'react';
import { <API key>, <API key> } from './lib/Util';
// import { SVGComponent } from './lib-hooks/svgComp-hooks';
import Spline from './lib/Spline';
import DragNode from './lib/Node';
const index = ({
data,
onNodeDeselect,
onNodeMove,
onNodeStartMove,
onNodeSelect,
onNewConnector,
onRemoveConnector
}) => {
const [dataS, setDataS] = useState(data);
const [source, setSource] = useState([]);
const [dragging, setDragging] = useState(false);
const [mousePos, setMousePos] = useState({x: 0, y: 0});
const svgRef = useRef();
const onMouseMove = e => {
let [pX, pY] = [e.clientX, e.clientY];
e.stopPropagation();
e.preventDefault();
const svgRect = svgRef.current.<API key>();
// console.log(svgRect);
setMousePos(old => {
return {
old,
{x: pX - svgRect.left, y: pY - svgRect.top}
}
});
}
const onMouseUp = e => {
setDragging(false);
}
const handleNodeStart = nid => {
onNodeStartMove(nid);
}
const handleNodeStop = (nid, pos) => {
onNodeMove(nid, pos);
}
const handleNodeMove = (idx, pos) => {
let dataT = dataS;
dataT.nodes[idx].x = pos.x;
dataT.nodes[idx].y = pos.y;
// console.log(dataT);
// console.log({...dataS,...dataT});
setDataS(old => {
return {
old,
dataT
}
});
}
const <API key> = (nid, outputIdx) => {
let newSrc = [nid, outputIdx];
setDragging(true);
setSource(newSrc); // Not sure if this will work...
}
const <API key> = (nid, inputIdx) => {
if (dragging) {
let fromNode = getNodeById(data.nodes, source[0]);
let fromPinName = fromNode.fields.out[source[1]].name;
let toNode = getNodeById(data.nodes, nid);
let toPinName = toNode.fields.in[inputIdx].name;
onNewConnector(fromNode.nid, fromPinName, toNode.nid, toPinName);
}
setDragging(false);
}
const <API key> = connector => {
if (onRemoveConnector) {
onRemoveConnector(connector);
}
}
const handleNodeSelect = nid => {
if (onNodeSelect) {
onNodeSelect(nid);
}
}
const handleNodeDeselect = nid => {
if (onNodeDeselect) {
onNodeDeselect(nid);
}
}
const <API key> = (pins, pinLabel) => {
let reval = 0;
for (let pin of pins) {
if (pin.name === pinLabel) {
return reval;
} else {
reval++;
}
}
}
const getNodeById = (nodes, nid) => {
let reval = 0;
for(const node of nodes) {
if (node.nid === nid) {
return nodes[reval];
} else {
reval++;
}
}
}
let newConn = null;
let i = 0;
// console.log(dragging);
if (dragging) {
let sourceNode = getNodeById(dataS.nodes, source[0]);
let connectorStart = <API key>(sourceNode.x, sourceNode.y, source[1]);
let connectorEnd = {
x: mousePos.x,
y: mousePos.y
};
// console.log(mousePos);
newConn = <Spline
start={connectorStart}
end={connectorEnd}
/>
}
let splineIdx = 0;
return (
<div className={dragging ? 'dragging' : ''}
onMouseMove={onMouseMove}
onMouseUp={onMouseUp}
>
{dataS.nodes.map(node => {
// console.log(node);
return <DragNode
index={i++}
nid={node.nid}
title={node.type}
inputs={node.fields.in}
outputs={node.fields.out}
pos={{x: node.x, y: node.y}}
key={node.nid}
onNodeStart={nid => handleNodeStart(nid)}
onNodeStop={(nid, pos) => handleNodeStop(nid, pos)}
onNodeMove={(idx, pos) => handleNodeMove(idx, pos)}
onStartConnector={(nid, outputIdx) => <API key>(nid, outputIdx)}
onCompleteConnector={(nid, inputIdx) => <API key>(nid, inputIdx)}
onNodeSelect={nid => handleNodeSelect(nid)}
onNodeDeselect={nid => handleNodeDeselect(nid)}
/>
})}
<svg style={{position: 'absolute', height: "100%", width: "100%", zIndex: 9000}}
ref={svgRef}>
{data.connections.map(connector => {
// console.log(data);
// console.log(connector);
let fromNode = getNodeById(data.nodes, connector.from_node);
let toNode = getNodeById(data.nodes, connector.to_node);
let splinestart = <API key>(fromNode.x, fromNode.y, <API key>(fromNode.fields.out, connector.from));
let splineend = <API key>(toNode.x, toNode.y, <API key>(toNode.fields.in, connector.to));
return <Spline
start={splinestart}
end={splineend}
key={splineIdx++}
mousePos={mousePos}
onRemove={() => <API key>(connector)}
/>
})}
{newConn}
</svg>
</div>
);
}
export default index;
|
ANFIS model
## Prerequisites
* OS: Ubuntu 18.04 or 16.04
* Software: conda (lastest version)
## Preparing environments
1. Go to project directory and onstalling conda environments
conda env create --name anfis-module -f=environments.yml
2. Activate environments and use after this:
source activate anfis-module
## Cores
1. Training ANFIS models
python train_anfis.py
2. Testing and writing to reports ANFIS models:
python <API key>.py
## Outputs
1. Models
* Path: ```metadata/models/<model_name>/rl<rule_number>ws<window_size>/models.h5```
2. Tracking
* Figure path: ```results/<model_name>/rl<rule_number>ws<window_size>/tracks/track.svg```
* Data path: ```results/<model_name>/rl<rule_number>ws<window_size>/tracks/track.csv```
3. Test
* Figure path: ```results/<model_name>/rl<rule_number>ws<window_size>/test/results.svg```
* Data path: ```results/<model_name>/rl<rule_number>ws<window_size>/test/data.csv```
4. Reports
* Reports path: ```results/<model_name>/rl<rule_number>ws<window_size>/test/reports.json```
|
var t = require('chai').assert;
var P = require('bluebird');
var Renderer = require('../').Renderer;
var view = {
"name": {
"first": "Michael",
"last": "Jackson"
},
"age": "RIP",
calc: function () {
return 2 + 4;
},
delayed: function () {
return new P(function (resolve) {
setTimeout(resolve.bind(undefined, 'foo'), 100);
});
}
};
describe('Renderer', function () {
describe('Basics features', function () {
it('should render properties', function (done) {
var renderer = new Renderer();
renderer.render('Hello {{name.first}} {{name.last}}', {
"name": {
"first": "Michael",
"last": "Jackson"
}
}).then(function (result) {
t.equal(result, 'Hello Michael Jackson');
done();
})
});
it('should render variables', function (done) {
var renderer = new Renderer();
renderer.render('* {{name}} * {{age}} * {{company}} * {{{company}}} * {{&company}}{{=<% %>=}} * {{company}}<%={{ }}=%>', {
"name": "Chris",
"company": "<b>GitHub</b>"
}).then(function (result) {
t.equal(result, '* Chris * * <b>GitHub</b> * <b>GitHub</b> * <b>GitHub</b> * {{company}}');
done();
})
});
it('should render variables with dot notation', function (done) {
var renderer = new Renderer();
renderer.render('{{name.first}} {{name.last}} {{age}}', {
"name": {
"first": "Michael",
"last": "Jackson"
},
"age": "RIP"
}).then(function (result) {
t.equal(result, 'Michael Jackson RIP');
done();
})
});
it('should render sections with false values or empty lists', function (done) {
var renderer = new Renderer();
renderer.render('Shown. {{#person}}Never shown!{{/person}}', {
"person": false
}).then(function (result) {
t.equal(result, 'Shown. ');
done();
})
});
it('should render sections with non-empty lists', function (done) {
var renderer = new Renderer();
renderer.render('{{#stooges}}<b>{{name}}</b>{{/stooges}}', {
"stooges": [
{"name": "Moe"},
{"name": "Larry"},
{"name": "Curly"}
]
}).then(function (result) {
t.equal(result, '<b>Moe</b><b>Larry</b><b>Curly</b>');
done();
})
});
it('should render sections using . for array of strings', function (done) {
var renderer = new Renderer();
renderer.render('{{#musketeers}}* {{.}}{{/musketeers}}', {
"musketeers": ["Athos", "Aramis", "Porthos", "D'Artagnan"]
}).then(function (result) {
t.equal(result, '* Athos* Aramis* Porthos* D'Artagnan');
done();
})
});
it('should render function', function (done) {
var renderer = new Renderer();
renderer.render('{{title}} spends {{calc}}', {
title: "Joe",
calc: function () {
return 2 + 4;
}
}).then(function (result) {
t.equal(result, 'Joe spends 6');
done();
})
});
it('should render function with variable as context', function (done) {
var renderer = new Renderer();
renderer.render('{{#beatles}}* {{name}} {{/beatles}}', {
"beatles": [
{"firstName": "John", "lastName": "Lennon"},
{"firstName": "Paul", "lastName": "McCartney"},
{"firstName": "George", "lastName": "Harrison"},
{"firstName": "Ringo", "lastName": "Starr"}
],
"name": function () {
return this.firstName + " " + this.lastName;
}
}).then(function (result) {
t.equal(result, '* John Lennon * Paul McCartney * George Harrison * Ringo Starr ');
done();
})
});
it('should render inverted sections', function (done) {
var renderer = new Renderer();
renderer.render('{{#repos}}<b>{{name}}</b>{{/repos}}{{^repos}}No repos :({{/repos}}', {
"repos": []
}).then(function (result) {
t.equal(result, 'No repos :(');
done();
})
});
it('should render ignore comments', function (done) {
var renderer = new Renderer();
renderer.render('Today{{! ignore me }}.').then(function (result) {
t.equal(result, 'Today.');
done();
})
});
it('should render partials', function (done) {
var renderer = new Renderer();
renderer.render('{{#names}}{{> user}}{{/names}}', {
names: [{
name: 'Athos'
}, {
name: 'Porthos'
}]
}, {
user: 'Hello {{name}}.'
}).then(function (result) {
t.equal(result, 'Hello Athos.Hello Porthos.');
done();
})
});
});
describe('Promise functions', function () {
it('should render with promise functions', function (done) {
var renderer = new Renderer();
renderer.render('3+5={{#add}}[3,5]{{/add}}', {
add: function (a, b) {
return new P(function (resolve) {
setTimeout(function () {
resolve(a + b);
}, 100);
})
}
}).then(function (result) {
t.equal(result, '3+5=8');
done();
});
});
});
describe('Custom view', function () {
function View() {
this.buffer = [];
this.text = function (text) {
this.buffer.push(text);
return this;
};
this.write = function (i) {
this.buffer.push(i);
return this;
};
}
it('should render with custom view', function (done) {
var view = new View();
var renderer = new Renderer();
renderer.render('The number is:{{#write}}1{{/write}}', view).then(function (result) {
t.notOk(result);
t.deepEqual(view.buffer, ['The number is:', 1]);
done();
})
});
});
})
;
|
<!DOCTYPE html><html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<meta name="viewport" content="width=device-width; initial-scale=1.0; maximum-scale=1.0; user-scalable=0;">
<meta charset="utf-8">
<title>phpDocumentor » \<API key></title>
<meta name="author" content="Mike van Riel">
<meta name="description" content="">
<link href="../css/template.css" rel="stylesheet" media="all">
<script src="../js/jquery-1.7.1.min.js" type="text/javascript"></script><script src="../js/jquery-ui-1.8.2.custom.min.js" type="text/javascript"></script><script src="../js/jquery.mousewheel.min.js" type="text/javascript"></script><script src="../js/bootstrap.js" type="text/javascript"></script><script src="../js/template.js" type="text/javascript"></script><script src="../js/prettify/prettify.min.js" type="text/javascript"></script><link rel="shortcut icon" href="../img/favicon.ico">
<link rel="apple-touch-icon" href="../img/apple-touch-icon.png">
<link rel="apple-touch-icon" sizes="72x72" href="../img/<API key>.png">
<link rel="apple-touch-icon" sizes="114x114" href="../img/<API key>.png">
</head>
<body>
<div class="navbar navbar-fixed-top">
<div class="navbar-inner"><div class="container">
<a class="btn btn-navbar" data-toggle="collapse" data-target=".nav-collapse"><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></a><a class="brand" href="../index.html">phpDocumentor</a><div class="nav-collapse"><ul class="nav">
<li class="dropdown">
<a href="#api" class="dropdown-toggle" data-toggle="dropdown">
API Documentation <b class="caret"></b></a><ul class="dropdown-menu"></ul>
</li>
<li class="dropdown" id="charts-menu">
<a href="#charts" class="dropdown-toggle" data-toggle="dropdown">
Charts <b class="caret"></b></a><ul class="dropdown-menu"><li><a href="../graph_class.html"><i class="icon-list-alt"></i> Class hierarchy diagram</a></li></ul>
</li>
<li class="dropdown" id="reports-menu">
<a href="#reports" class="dropdown-toggle" data-toggle="dropdown">
Reports <b class="caret"></b></a><ul class="dropdown-menu">
<li><a href="../errors.html"><i class="icon-remove-sign"></i> Errors
<span class="label label-info">961</span></a></li>
<li><a href="../markers.html"><i class="icon-map-marker"></i> Markers
<ul><li>fixme
<span class="label label-info">16</span>
</li></ul></a></li>
<li><a href="../deprecated.html"><i class="icon-stop"></i> Deprecated elements
<span class="label label-info">0</span></a></li>
</ul>
</li>
</ul></div>
</div></div>
<div class="go_to_top"><a href="
</div>
<div id="___" class="container">
<noscript><div class="alert alert-warning">
Javascript is disabled; several features are only available
if Javascript is enabled.
</div></noscript>
<div class="row">
<div class="span4">
<span class="btn-group visibility" data-toggle="buttons-checkbox"><button class="btn public active" title="Show public elements">Public</button><button class="btn protected" title="Show protected elements">Protected</button><button class="btn private" title="Show private elements">Private</button><button class="btn inherited active" title="Show inherited elements">Inherited</button></span><div class="btn-group view pull-right" data-toggle="buttons-radio">
<button class="btn details" title="Show descriptions and method names"><i class="icon-list"></i></button><button class="btn simple" title="Show only method names"><i class="icon-align-justify"></i></button>
</div>
<ul class="side-nav nav nav-list">
<li class="nav-header">
<i class="icon-custom icon-method"></i> Methods
<ul>
<li class="method public inherited"><a href="
</span><pre>__construct()</pre></a></li>
<li class="method public "><a href="
</span><pre>__toString()</pre></a></li>
<li class="method public inherited"><a href="#method_call" title="call :: "><span class="description">call()
</span><pre>call()</pre></a></li>
<li class="method public "><a href="#<API key>" title="getDataStruct :: "><span class="description">getDataStruct()
</span><pre>getDataStruct()</pre></a></li>
<li class="method public inherited"><a href="#<API key>" title="getDescription :: "><span class="description">getDescription()
</span><pre>getDescription()</pre></a></li>
<li class="method public inherited"><a href="#method_getTitle" title="getTitle :: "><span class="description">getTitle()
</span><pre>getTitle()</pre></a></li>
<li class="method public "><a href="#method_gminy" title="gminy :: "><span class="description">gminy()
</span><pre>gminy()</pre></a></li>
<li class="method public inherited"><a href="#method_init" title="init :: "><span class="description">init()
</span><pre>init()</pre></a></li>
<li class="method public inherited"><a href="#method_isloaded" title="isloaded :: "><span class="description">isloaded()
</span><pre>isloaded()</pre></a></li>
<li class="method public inherited"><a href="#method_load" title="load :: "><span class="description">load()
</span><pre>load()</pre></a></li>
<li class="method public inherited"><a href="#method_load_from_db" title="load_from_db :: "><span class="description">load_from_db()
</span><pre>load_from_db()</pre></a></li>
<li class="method public inherited"><a href="#method_load_layer" title="load_layer :: "><span class="description">load_layer()
</span><pre>load_layer()</pre></a></li>
<li class="method public inherited"><a href="#method_parse_data" title="parse_data :: "><span class="description">parse_data()
</span><pre>parse_data()</pre></a></li>
<li class="method public "><a href="#method_podgrupa" title="podgrupa :: "><span class="description">podgrupa()
</span><pre>podgrupa()</pre></a></li>
<li class="method public "><a href="#method_powiaty" title="powiaty :: "><span class="description">powiaty()
</span><pre>powiaty()</pre></a></li>
<li class="method public "><a href="#method_wojewodztwa" title="wojewodztwa :: "><span class="description">wojewodztwa()
</span><pre>wojewodztwa()</pre></a></li>
</ul>
</li>
<li class="nav-header private">» Private
<ul>
<li class="method private inherited"><a href="
<li class="method private inherited"><a href="#method_generate_sig" title="generate_sig :: "><span class="description">generate_sig()
</span><pre>generate_sig()</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i class="icon-custom icon-property"></i> Properties
<ul>
<li class="property public "><a href="#property__aliases" title="$_aliases :: "><span class="description"></span><pre>$_aliases</pre></a></li>
<li class="property public "><a href="#property__podgrupa" title="$_podgrupa :: "><span class="description"></span><pre>$_podgrupa</pre></a></li>
<li class="property public "><a href="#property__powiaty" title="$_powiaty :: "><span class="description"></span><pre>$_powiaty</pre></a></li>
<li class="property public inherited"><a href="#property__version" title="$_version :: "><span class="description"></span><pre>$_version</pre></a></li>
<li class="property public "><a href="#<API key>" title="$_wojewodztwa :: "><span class="description"></span><pre>$_wojewodztwa</pre></a></li>
<li class="property public inherited"><a href="#property_data" title="$data :: "><span class="description"></span><pre>$data</pre></a></li>
<li class="property public inherited"><a href="#property_id" title="$id :: "><span class="description"></span><pre>$id</pre></a></li>
<li class="property public inherited"><a href="#property_layers" title="$layers :: "><span class="description"></span><pre>$layers</pre></a></li>
<li class="property public inherited"><a href="#<API key>" title="$server_address :: "><span class="description"></span><pre>$server_address</pre></a></li>
</ul>
</li>
<li class="nav-header private">» Private
<ul>
<li class="property private inherited"><a href="#property__key" title="$_key :: "><span class="description"></span><pre>$_key</pre></a></li>
<li class="property private inherited"><a href="#property__secret" title="$_secret :: "><span class="description"></span><pre>$_secret</pre></a></li>
<li class="property private inherited"><a href="#property_loaded" title="$loaded :: "><span class="description"></span><pre>$loaded</pre></a></li>
</ul>
</li>
<li class="nav-header">
<i class="icon-custom icon-constant"></i> Constants
<ul>
<li class="constant inherited"><a href="#constant_TYPE_ARRAY" title="TYPE_ARRAY :: "><span class="description">TYPE_ARRAY</span><pre>TYPE_ARRAY</pre></a></li>
<li class="constant inherited"><a href="#<API key>" title="TYPE_BOOLEAN :: "><span class="description">TYPE_BOOLEAN</span><pre>TYPE_BOOLEAN</pre></a></li>
<li class="constant inherited"><a href="#constant_TYPE_FLOAT" title="TYPE_FLOAT :: "><span class="description">TYPE_FLOAT</span><pre>TYPE_FLOAT</pre></a></li>
<li class="constant inherited"><a href="#constant_TYPE_INT" title="TYPE_INT :: "><span class="description">TYPE_INT</span><pre>TYPE_INT</pre></a></li>
<li class="constant inherited"><a href="#<API key>" title="TYPE_METHOD :: "><span class="description">TYPE_METHOD</span><pre>TYPE_METHOD</pre></a></li>
<li class="constant inherited"><a href="#<API key>" title="TYPE_OBJECT :: "><span class="description">TYPE_OBJECT</span><pre>TYPE_OBJECT</pre></a></li>
<li class="constant inherited"><a href="#<API key>" title="TYPE_STRING :: "><span class="description">TYPE_STRING</span><pre>TYPE_STRING</pre></a></li>
</ul>
</li>
</ul>
</div>
<div class="span8">
<a id="\<API key>"></a><ul class="breadcrumb">
<li>
<a href="../index.html"><i class="icon-custom icon-class"></i></a><span class="divider">\</span>
</li>
<li><a href="../namespaces/global.html">global</a></li>
<li class="active">
<span class="divider">\</span><a href="../classes/<API key>.html"><API key></a>
</li>
</ul>
<div class="element class"><div class="details">
<h3>
<i class="icon-custom icon-method"></i> Methods</h3>
<a id="method___construct"></a><div class="element clickable method public method___construct" data-toggle="collapse" data-target=".method___construct .collapse">
<h2>__construct()
</h2>
<pre>__construct($data, $complex) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::__construct()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$data</h4></div>
<div class="subelement argument"><h4>$complex</h4></div>
</div></div>
</div>
<a id="method___toString"></a><div class="element clickable method public method___toString" data-toggle="collapse" data-target=".method___toString .collapse">
<h2>__toString()
</h2>
<pre>__toString() : string</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<a id="method_call"></a><div class="element clickable method public method_call" data-toggle="collapse" data-target=".method_call .collapse">
<h2>call()
</h2>
<pre>call($service, $params) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::call()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::call()</td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$service</h4></div>
<div class="subelement argument"><h4>$params</h4></div>
</div></div>
</div>
<a id="<API key>"></a><div class="element clickable method public <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>getDataStruct()
</h2>
<pre>getDataStruct() : array</pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>see</th>
<td><a href="classes.ep_Object.html#%5Cep_Object::getDataStruct()">\ep_Object::getDataStruct()</a></td>
</tr></table>
<h3>Returns</h3>
<div class="subelement response">
<code>array</code>of definitions of fields in data field. Array keys are names and values are constants from ep_Object::TYPE_*. All defined fields are availible by get_{NAME} getter methods and should be read this way.</div>
</div></div>
</div>
<a id="<API key>"></a><div class="element clickable method public <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>getDescription()
</h2>
<pre>getDescription() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::getDescription()</td>
</tr></table>
</div></div>
</div>
<a id="method_getTitle"></a><div class="element clickable method public method_getTitle" data-toggle="collapse" data-target=".method_getTitle .collapse">
<h2>getTitle()
</h2>
<pre>getTitle() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::getTitle()</td>
</tr></table>
</div></div>
</div>
<a id="method_gminy"></a><div class="element clickable method public method_gminy" data-toggle="collapse" data-target=".method_gminy .collapse">
<h2>gminy()
</h2>
<pre>gminy() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_init"></a><div class="element clickable method public method_init" data-toggle="collapse" data-target=".method_init .collapse">
<h2>init()
</h2>
<pre>init() : <a href="../classes/ep_Api.html">\ep_Api</a></pre>
<div class="labels">
<span class="label">Inherited</span><span class="label">Static</span>
</div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::init()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::init()</td>
</tr>
</table>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/ep_Api.html">\ep_Api</a></code></div>
</div></div>
</div>
<a id="method_isloaded"></a><div class="element clickable method public method_isloaded" data-toggle="collapse" data-target=".method_isloaded .collapse">
<h2>isloaded()
</h2>
<pre>isloaded() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::isloaded()</td>
</tr></table>
</div></div>
</div>
<a id="method_load"></a><div class="element clickable method public method_load" data-toggle="collapse" data-target=".method_load .collapse">
<h2>load()
</h2>
<pre>load() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::load()</td>
</tr></table>
</div></div>
</div>
<a id="method_load_from_db"></a><div class="element clickable method public method_load_from_db" data-toggle="collapse" data-target=".method_load_from_db .collapse">
<h2>load_from_db()
</h2>
<pre>load_from_db() </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::load_from_db()</td>
</tr></table>
</div></div>
</div>
<a id="method_load_layer"></a><div class="element clickable method public method_load_layer" data-toggle="collapse" data-target=".method_load_layer .collapse">
<h2>load_layer()
</h2>
<pre>load_layer($layer, $params) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::load_layer()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$layer</h4></div>
<div class="subelement argument"><h4>$params</h4></div>
</div></div>
</div>
<a id="method_parse_data"></a><div class="element clickable method public method_parse_data" data-toggle="collapse" data-target=".method_parse_data .collapse">
<h2>parse_data()
</h2>
<pre>parse_data($data) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::parse_data()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument"><h4>$data</h4></div>
</div></div>
</div>
<a id="method_podgrupa"></a><div class="element clickable method public method_podgrupa" data-toggle="collapse" data-target=".method_podgrupa .collapse">
<h2>podgrupa()
</h2>
<pre>podgrupa() : <a href="../classes/ep_BDL_Podgrupa.html">\ep_BDL_Podgrupa</a></pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<h3>Returns</h3>
<div class="subelement response"><code><a href="../classes/ep_BDL_Podgrupa.html">\ep_BDL_Podgrupa</a></code></div>
</div></div>
</div>
<a id="method_powiaty"></a><div class="element clickable method public method_powiaty" data-toggle="collapse" data-target=".method_powiaty .collapse">
<h2>powiaty()
</h2>
<pre>powiaty() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method_wojewodztwa"></a><div class="element clickable method public method_wojewodztwa" data-toggle="collapse" data-target=".method_wojewodztwa .collapse">
<h2>wojewodztwa()
</h2>
<pre>wojewodztwa() </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="method___call"></a><div class="element clickable method private method___call" data-toggle="collapse" data-target=".method___call .collapse">
<h2>Implements get_* getters for trivial cases.</h2>
<pre>__call(string $name, array $arguments) </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"><p>Complex cases should be handled by direct method implementation.</p></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::__call()</td>
</tr></table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$name</h4>
<code>string</code>
</div>
<div class="subelement argument">
<h4>$arguments</h4>
<code>array</code>
</div>
<h3>Exceptions</h3>
<table class="table table-bordered">
<tr>
<th><code><a href="http://php.net/manual/en/class.<API key>.php">\<API key></a></code></th>
<td></td>
</tr>
<tr>
<th><code><a href="http://php.net/manual/en/class.<API key>.php">\<API key></a></code></th>
<td></td>
</tr>
</table>
</div></div>
</div>
<a id="method_generate_sig"></a><div class="element clickable method private method_generate_sig" data-toggle="collapse" data-target=".method_generate_sig .collapse">
<h2>generate_sig()
</h2>
<pre>generate_sig(array $params) : string</pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::generate_sig()</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::generate_sig()</td>
</tr>
</table>
<h3>Parameters</h3>
<div class="subelement argument">
<h4>$params</h4>
<code>array</code>
</div>
<h3>Returns</h3>
<div class="subelement response"><code>string</code></div>
</div></div>
</div>
<h3>
<i class="icon-custom icon-property"></i> Properties</h3>
<a id="property__aliases"> </a><div class="element clickable property public property__aliases" data-toggle="collapse" data-target=".property__aliases .collapse">
<h2></h2>
<pre>$_aliases </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__podgrupa"> </a><div class="element clickable property public property__podgrupa" data-toggle="collapse" data-target=".property__podgrupa .collapse">
<h2></h2>
<pre>$_podgrupa </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__powiaty"> </a><div class="element clickable property public property__powiaty" data-toggle="collapse" data-target=".property__powiaty .collapse">
<h2></h2>
<pre>$_powiaty </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property__version"> </a><div class="element clickable property public property__version" data-toggle="collapse" data-target=".property__version .collapse">
<h2></h2>
<pre>$_version </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::$$_version</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::$$_version</td>
</tr>
</table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable property public <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2></h2>
<pre>$_wojewodztwa </pre>
<div class="labels"></div>
<div class="row collapse"><div class="detail-description"><div class="long_description"></div></div></div>
</div>
<a id="property_data"> </a><div class="element clickable property public property_data" data-toggle="collapse" data-target=".property_data .collapse">
<h2></h2>
<pre>$data </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::$$data</td>
</tr></table>
</div></div>
</div>
<a id="property_id"> </a><div class="element clickable property public property_id" data-toggle="collapse" data-target=".property_id .collapse">
<h2></h2>
<pre>$id </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::$$id</td>
</tr></table>
</div></div>
</div>
<a id="property_layers"> </a><div class="element clickable property public property_layers" data-toggle="collapse" data-target=".property_layers .collapse">
<h2></h2>
<pre>$layers </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::$$layers</td>
</tr></table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable property public <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2></h2>
<pre>$server_address </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::$$server_address</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::$$server_address</td>
</tr>
</table>
</div></div>
</div>
<a id="property__key"> </a><div class="element clickable property private property__key" data-toggle="collapse" data-target=".property__key .collapse">
<h2></h2>
<pre>$_key </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::$$_key</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::$$_key</td>
</tr>
</table>
</div></div>
</div>
<a id="property__secret"> </a><div class="element clickable property private property__secret" data-toggle="collapse" data-target=".property__secret .collapse">
<h2></h2>
<pre>$_secret </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered">
<tr>
<th>inherited_from</th>
<td>\ep_Api::$$_secret</td>
</tr>
<tr>
<th>inherited_from</th>
<td>\ep_Object::$$_secret</td>
</tr>
</table>
</div></div>
</div>
<a id="property_loaded"> </a><div class="element clickable property private property_loaded" data-toggle="collapse" data-target=".property_loaded .collapse">
<h2></h2>
<pre>$loaded </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::$$loaded</td>
</tr></table>
</div></div>
</div>
<h3>
<i class="icon-custom icon-constant"></i> Constants</h3>
<a id="constant_TYPE_ARRAY"> </a><div class="element clickable constant constant_TYPE_ARRAY" data-toggle="collapse" data-target=".constant_TYPE_ARRAY .collapse">
<h2>TYPE_ARRAY</h2>
<pre>TYPE_ARRAY </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_ARRAY</td>
</tr></table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable constant <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>TYPE_BOOLEAN</h2>
<pre>TYPE_BOOLEAN </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_BOOLEAN</td>
</tr></table>
</div></div>
</div>
<a id="constant_TYPE_FLOAT"> </a><div class="element clickable constant constant_TYPE_FLOAT" data-toggle="collapse" data-target=".constant_TYPE_FLOAT .collapse">
<h2>TYPE_FLOAT</h2>
<pre>TYPE_FLOAT </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_FLOAT</td>
</tr></table>
</div></div>
</div>
<a id="constant_TYPE_INT"> </a><div class="element clickable constant constant_TYPE_INT" data-toggle="collapse" data-target=".constant_TYPE_INT .collapse">
<h2>TYPE_INT</h2>
<pre>TYPE_INT </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_INT</td>
</tr></table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable constant <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>TYPE_METHOD</h2>
<pre>TYPE_METHOD </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_METHOD</td>
</tr></table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable constant <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>TYPE_OBJECT</h2>
<pre>TYPE_OBJECT </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_OBJECT</td>
</tr></table>
</div></div>
</div>
<a id="<API key>"> </a><div class="element clickable constant <API key>" data-toggle="collapse" data-target=".<API key> .collapse">
<h2>TYPE_STRING</h2>
<pre>TYPE_STRING </pre>
<div class="labels"><span class="label">Inherited</span></div>
<div class="row collapse"><div class="detail-description">
<div class="long_description"></div>
<table class="table table-bordered"><tr>
<th>inherited_from</th>
<td>\ep_Object::TYPE_STRING</td>
</tr></table>
</div></div>
</div>
</div></div>
</div>
</div>
<div class="row"><footer class="span12">
Template is built using <a href="http:
Documentation is powered by <a href="http:
generated on 2013-02-15T11:46:46+01:00.<br></footer></div>
</div>
</body>
</html>
|
<div ng-if="!identity.isAuthenticated()">
<div class="col-md-5 col-md-offset-1">
<div class="well bs-component">
<form name="loginForm" class="form-horizontal">
<fieldset>
<legend>Login</legend>
<div class="form-group">
<label for="email-login" class="col-md-3 control-label">Name</label>
<div class="col-md-9">
<input ng-model="loginUser.email" required="required" id="email-login" class="form-control"
type="text">
</div>
</div>
<div class="form-group">
<label for="password-login" class="col-md-3 control-label">Password</label>
<div class="col-md-9">
<input ng-model="loginUser.password" required="required" class="form-control"
id="password-login" type="password">
</div>
</div>
<div class="form-group">
<div class="col-md-9 col-md-offset-2">
<button type="reset" class="btn btn-default">Cancel</button>
<button ng-click="login(loginUser)" ng-disabled="loginForm.$invalid"
class="btn btn-warning">
Login
</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
<div class="col-md-5">
<div class="well bs-component">
<form name="registerForm" class="form-horizontal">
<fieldset>
<legend>Register</legend>
<div class="form-group">
<label for="email" class="col-md-3 control-label">Email</label>
<div class="col-md-9">
<input ng-model="registerUser.email" required="required" class="form-control" id="email"
type="email">
</div>
</div>
<div class="form-group">
<label for="password" class="col-md-3 control-label">Password</label>
<div class="col-md-9">
<input ng-model="registerUser.password" required="required" minlength="6" maxlength="100"
class="form-control" id="password" type="password">
</div>
</div>
<div class="form-group">
<label for="confirmPassword" class="col-md-3 control-label">Confirm Password</label>
<div class="col-md-9">
<input ng-model="registerUser.confirmPassword" required="required" class="form-control"
id="confirmPassword"
type="password">
</div>
</div>
<div class="form-group">
<div class="col-md-9 col-md-offset-2">
<button type="reset" class="btn btn-default">Cancel</button>
<button ng-class="register-form.$invalid ? 'disabled-button' : ''"
ng-disabled="registerForm.$invalid || registerUser.password != registerUser.confirmPassword"
ng-click="register(registerUser)" class="btn btn-warning">Register
</button>
</div>
</div>
</fieldset>
</form>
</div>
</div>
</div>
<div ng-if="identity.isAuthenticated()">
<div class="bs-component col-md-3">
<h3>My Projects</h3>
<table class="pattern-style-a col-md-12">
<thead>
<tr>
<th scope="col">Name</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="project in projects">
<td><a href="#/projects/{{project.Id}}">{{project.Name}}</a></td>
</tr>
</tbody>
</table>
</div>
<div class="bs-component col-md-9">
<h3>My Issues</h3>
<table class="pattern-style-a col-md-12">
<thead>
<tr>
<th scope="col">Title</th>
<th scope="col">Description</th>
<th scope="col">Project</th>
<th scope="col">Due Date</th>
<th scope="col">Author</th>
</tr>
</thead>
<tbody>
<tr ng-repeat="issue in issues">
<td><a href="#/issues/{{issue.Id}}">{{issue.Title}}</a></td>
<td>{{issue.Description}}</td>
<td>{{issue.Project.Name}}</td>
<td>{{issue.DueDate | date: medium}}</td>
<td>{{issue.Author.Username}}</td>
</tr>
</tbody>
</table>
<pagination total-items="totalCount" ng-model="pagination.currentPage" items-per-page="pagination.pageSize"
ng-change="pageChanged()"
max-size="8" boundary-links="true">
</pagination>
</div>
</div>
|
# Sprockets: Rack-based asset packaging
Sprockets is a Ruby library for compiling and serving web assets.
It features declarative dependency management for JavaScript and CSS
assets, as well as a powerful preprocessor pipeline that allows you to
write assets in languages like CoffeeScript, Sass and SCSS.
## Installation
Install Sprockets from RubyGems:
sh
$ gem install sprockets
Or include it in your project's `Gemfile` with Bundler:
ruby
gem 'sprockets', '~> 3.0'
## Using Sprockets
For most people interested in using Sprockets you will want to see [End User Asset Generation](guides/<API key>.md) guide. This contains information about sprocket's directive syntax, and default processing behavior.
If you are a framework developer that is using Sprockets, see [Building an Asset Processing Framework](guides/<API key>.md).
If you are a library developer who is extending the functionality of Sprockets, see [Extending Sprockets](guides/extending_sprockets.md).
Below is a disjointed mix of documentation for all three of these roles. Eventually they will be moved to an appropriate guide, for now the recommended way to consume documentation is to view the appropriate guide first and then supplement with docs from the README.
## Behavior
Index files are proxies for folders
In Sprockets index files such as `index.js` or `index.css` files inside of a folder will generate a file with the folder's name. So if you have a `foo/index.js` file it will compile down to `foo.js`. This is similar to NPM's behavior of using [folders as modules](https://nodejs.org/api/modules.html#<API key>). It is also somewhat similar to the way that a file in `public/my_folder/index.html` can be reached by a request to `/my_folder`. This means that you cannot directly use an index file. For example this would not work:
<%= asset_path("foo/index.js") %>
Instead you would need to use:
<%= asset_path("foo.js") %>
Why would you want to use this behavior? It is common behavior where you might want to include an entire directory of files in a top level javascript. You can do this in Sprockets using `require_tree .`
//= require_tree .
This has the problem that files are required alphabetically. If your directory has `jquery-ui.js` and `jquery.min.js` then Sprockets will require `jquery-ui.js` before `jquery` is required which won't work (because jquery-ui depends on jquery). Previously the only way to get the correct ordering would be to rename your files, something like `0-jquery-ui.js`. Instead of doing that you can use an index file.
For example, if you have an `application.js` and want all the files in the `foo/` folder you could do this:
//= require foo.js
Then create a file `foo/index.js` that requires all the files in that folder in any order you want:
//= require foo.min.js
//= require foo-ui.js
Now in your `application.js` will correctly load the `foo.min.js` before `foo-ui.js`. If you used `require_tree` it would not work correctly.
## Understanding the Sprockets Environment
You'll need an instance of the `Sprockets::Environment` class to
access and serve assets from your application. Under Rails 4.0 and
later, `YourApp::Application.assets` is a preconfigured
`Sprockets::Environment` instance. For Rack-based applications, create
an instance in `config.ru`.
The Sprockets `Environment` has methods for retrieving and serving
assets, manipulating the load path, and registering processors. It is
also a Rack application that can be mounted at a URL to serve assets
over HTTP.
The Load Path
The *load path* is an ordered list of directories that Sprockets uses
to search for assets.
In the simplest case, a Sprockets environment's load path will consist
of a single directory containing your application's asset source
files. When mounted, the environment will serve assets from this
directory as if they were static files in your public root.
The power of the load path is that it lets you organize your source
files into multiple directories -- even directories that live outside
your application -- and combine those directories into a single
virtual filesystem. That means you can easily bundle JavaScript, CSS
and images into a Ruby library or [Bower](http://bower.io) package and import them into your application.
# Manipulating the Load Path
To add a directory to your environment's load path, use the
`append_path` and `prepend_path` methods. Directories at the beginning
of the load path have precedence over subsequent directories.
ruby
environment = Sprockets::Environment.new
environment.append_path 'app/assets/javascripts'
environment.append_path 'lib/assets/javascripts'
environment.append_path 'vendor/assets/bower_components'
In general, you should append to the path by default and reserve
prepending for cases where you need to override existing assets.
Accessing Assets
Once you've set up your environment's load path, you can mount the
environment as a Rack server and request assets via HTTP. You can also
access assets programmatically from within your application.
# Logical Paths
Assets in Sprockets are always referenced by their *logical path*.
The logical path is the path of the asset source file relative to its
containing directory in the load path. For example, if your load path
contains the directory `app/assets/javascripts`:
<table>
<tr>
<th>Asset source file</th>
<th>Logical path</th>
</tr>
<tr>
<td>app/assets/javascripts/application.js</td>
<td>application.js</td>
</tr>
<tr>
<td>app/assets/javascripts/models/project.js</td>
<td>models/project.js</td>
</tr>
</table>
In this way, all directories in the load path are merged to create a
virtual filesystem whose entries are logical paths.
# Serving Assets Over HTTP
When you mount an environment, all of its assets are accessible as
logical paths underneath the *mount point*. For example, if you mount
your environment at `/assets` and request the URL
`/assets/application.js`, Sprockets will search your load path for the
file named `application.js` and serve it.
Under Rails 4.0 and later, your Sprockets environment is automatically
mounted at `/assets`. If you are using Sprockets with a Rack
application, you will need to mount the environment yourself. A good
way to do this is with the `map` method in `config.ru`:
ruby
require 'sprockets'
map '/assets' do
environment = Sprockets::Environment.new
environment.append_path 'app/assets/javascripts'
environment.append_path 'app/assets/stylesheets'
run environment
end
map '/' do
run YourRackApp
end
# Accessing Assets Programmatically
You can use the `find_asset` method (aliased as `[]`) to retrieve an
asset from a Sprockets environment. Pass it a logical path and you'll
get a `Sprockets::Asset` instance back:
ruby
environment['application.js']
# => #<Sprockets::Asset ...>
Call `to_s` on the resulting asset to access its contents, `length` to
get its length in bytes, `mtime` to query its last-modified time, and
`filename` to get its full path on the filesystem.
## Using Processors
Asset source files can be written in another format, like SCSS or CoffeeScript,
and automatically compiled to CSS or JavaScript by Sprockets. Processors that
convert a file from one format to another are called *transformers*.
Minifying Assets
Several JavaScript and CSS minifiers are available through shorthand.
ruby
environment.js_compressor = :uglify
environment.css_compressor = :scss
If you are using Sprockets directly with Rack app, don't forget to add
`uglifier` and `sass` gems to your Gemfile when using above options.
Styling with Sass and SCSS
[Sass](http://sass-lang.com/) is a language that compiles to CSS and
adds features like nested rules, variables, mixins and selector
inheritance.
If the `sass` gem is available to your application, you can use Sass
to write CSS assets in Sprockets.
Sprockets supports both Sass syntaxes. For the original
<API key> syntax, use the extension `.sass`. For the
new SCSS syntax, use the extension `.scss`.
Scripting with CoffeeScript
[CoffeeScript](http://jashkenas.github.io/coffeescript/) is a
language that compiles to the "good parts" of JavaScript, featuring a
cleaner syntax with array comprehensions, classes, and function
binding.
If the `coffee-script` gem is available to your application, you can
use CoffeeScript to write JavaScript assets in Sprockets. Note that
the CoffeeScript compiler is written in JavaScript, and you will need
an [ExecJS](https://github.com/rails/execjs)-supported runtime
on your system to invoke it.
To write JavaScript assets with CoffeeScript, use the extension
`.coffee`.
JavaScript Templating with EJS and Eco
Sprockets supports *JavaScript templates* for client-side rendering of
strings or markup. JavaScript templates have the special format
extension `.jst` and are compiled to JavaScript functions.
When loaded, a JavaScript template function can be accessed by its
logical path as a property on the global `JST` object. Invoke a
template function to render the template as a string. The resulting
string can then be inserted into the DOM.
<!-- templates/hello.jst.ejs -->
<div>Hello, <span><%= name %></span>!</div>
// application.js
//= require templates/hello
$("#hello").html(JST["templates/hello"]({ name: "Sam" }));
Sprockets supports two JavaScript template languages:
[EJS](https://github.com/sstephenson/ruby-ejs), for embedded
JavaScript, and [Eco](https://github.com/sstephenson/ruby-eco), for
embedded CoffeeScript. Both languages use the familiar `<% … %>`
syntax for embedding logic in templates.
If the `ejs` gem is available to your application, you can use EJS
templates in Sprockets. EJS templates have the extension `.jst.ejs`.
If the `eco` gem is available to your application, you can use [Eco
templates](https://github.com/sstephenson/eco) in Sprockets. Eco
templates have the extension `.jst.eco`. Note that the `eco` gem
depends on the CoffeeScript compiler, so the same caveats apply as
outlined above for the CoffeeScript engine.
Invoking Ruby with ERB
Sprockets provides an ERB engine for preprocessing assets using
embedded Ruby code. Append `.erb` to a CSS or JavaScript asset's
filename to enable the ERB engine.
Ruby code embedded in an asset is evaluated in the context of a
`Sprockets::Context` instance for the given asset. Common uses for ERB
include:
- embedding another asset as a Base64-encoded `data:` URI with the
`asset_data_uri` helper
- inserting the URL to another asset, such as with the `asset_path`
helper provided by the Sprockets Rails plugin
- embedding other application resources, such as a localized string
database, in a JavaScript asset via JSON
- embedding version constants loaded from another file
See the [Helper Methods](lib/sprockets/context.rb) section for more information about
interacting with `Sprockets::Context` instances via ERB.
## Managing and Bundling Dependencies
You can create *asset bundles* -- ordered concatenations of asset
source files -- by specifying dependencies in a special comment syntax
at the top of each source file.
Sprockets reads these comments, called *directives*, and processes
them to recursively build a dependency graph. When you request an
asset with dependencies, the dependencies will be included in order at
the top of the file.
The Directive Processor
Sprockets runs the *directive processor* on each CSS and JavaScript
source file. The directive processor scans for comment lines beginning
with `=` in comment blocks at the top of the file.
js
//= require jquery
//= require jquery-ui
//= require backbone
//= require_tree .
The first word immediately following `=` specifies the directive
name. Any words following the directive name are treated as
arguments. Arguments may be placed in single or double quotes if they
contain spaces, similar to commands in the Unix shell.
**Note**: Non-directive comment lines will be preserved in the final
asset, but directive comments are stripped after
processing. Sprockets will not look for directives in comment blocks
that occur after the first line of code.
# Supported Comment Types
The directive processor understands comment blocks in three formats:
css
/* Multi-line comment blocks (CSS, SCSS, JavaScript)
*= require foo
*/
js
// Single-line comment blocks (SCSS, JavaScript)
//= require foo
coffee
# Single-line comment blocks (CoffeeScript)
#= require foo
Sprockets Directives
You can use the following directives to declare dependencies in asset
source files.
For directives that take a *path* argument, you may specify either a
logical path or a relative path. Relative paths begin with `./` and
reference files relative to the location of the current file.
# The `require` Directive
`require` *path* inserts the contents of the asset source file
specified by *path*. If the file is required multiple times, it will
appear in the bundle only once.
The `require_directory` Directive
`require_directory` *path* requires all source files of the same
format in the directory specified by *path*. Files are required in
alphabetical order.
# The `require_tree` Directive
`require_tree` *path* works like `require_directory`, but operates
recursively to require all files in all subdirectories of the
directory specified by *path*.
# The `require_self` Directive
`require_self` tells Sprockets to insert the body of the current
source file before any subsequent `require` directives.
# The `link` Directive
`link` *path* declares a dependency on the target *path* and adds it to a list
of subdependencies to automatically be compiled when the asset is written out to
disk.
For an example, in a CSS file you might reference an external image that always
needs to be compiled along with the css file.
css
/*= link "logo.png" */
.logo {
background-image: url(logo.png)
}
However, if you use a `asset-path` or `asset-url` SCSS helper, these links will
automatically be defined for you.
css
.logo {
background-image: asset-url("logo.png")
}
# The `depend_on` Directive
`depend_on` *path* declares a dependency on the given *path* without
including it in the bundle. This is useful when you need to expire an
asset's cache in response to a change in another file.
# The `depend_on_asset` Directive
`depend_on_asset` *path* works like `depend_on`, but operates
recursively reading the file and following the directives found. This is automatically implied if you use `link`, so consider if it just makes sense using `link` instead of `depend_on_asset`.
# The `stub` Directive
`stub` *path* excludes that asset and its dependencies from the asset bundle.
The *path* must be a valid asset and may or may not already be part
of the bundle. `stub` should only be used at the top level bundle, not
within any subdependencies.
## Processor Interface
Sprockets 2.x was originally design around [Tilt](https://github.com/rtomayko/tilt)'s engine interface. However, starting with 3.x, a new interface has been introduced deprecating Tilt.
Similar to Rack, a processor is a any "callable" (an object that responds to `call`). This maybe a simple Proc or a full class that defines a `def self.call(input)` method. The `call` method accepts an `input` Hash and returns a Hash of metadata.
Also see [`Sprockets::ProcessorUtils`](https://github.com/rails/sprockets/blob/master/lib/sprockets/processor_utils.rb) for public helper methods.
input Hash
The `input` Hash defines the following public fields.
* `:data` - String asset contents
* `:environment` - Current `Sprockets::Environment` instance.
* `:cache` - A `Sprockets::Cache` instance. See [`Sprockets::Cache
* `:uri` - String Asset URI.
* `:filename` - String full path to original file.
* `:load_path` - String current load path for filename.
* `:name` - String logical path for filename.
* `:content_type` - String content type of the output asset.
* `:metadata` - Hash of processor metadata.
ruby
def self.call(input)
input[:cache].fetch("my:cache:key:v1") do
# Remove all semicolons from source
input[:data].gsub(";", "")
end
end
return Hash
The processor should return metadata `Hash`. With the exception of the `:data` key, the processor can store arbitrary JSON valid values in this Hash. The data will be stored and exposed on `Asset#metadata`.
The returned `:data` replaces the assets `input[:data]` to the next processor in the chain. Returning a `String` is shorthand for returning `{ data: str }`. And returning `nil` is shorthand for a no-op where the input data is not transformed, `{ data: input[:data] }`.
metadata
The metadata Hash provides an open format for processors to extend the pipeline processor. Internally, built-in processors use it for passing data to each other.
* `:required` - A `Set` of String Asset URIs that the Bundle processor should concatenate together.
* `:stubbed` - A `Set` of String Asset URIs that will be omitted from the `:required` set.
* `:links` - A `Set` of String Asset URIs that should be compiled along with this asset.
* `:dependencies` - A `Set` of String Cache URIs that should be monitored for caching.
ruby
def self.call(input)
# Any metadata may start off as nil, so initialize it the value
required = Set.new(input[:metadata][:required])
# Manually add "foo.js" asset uri to our bundle
required << input[:environment].resolve("foo.js")
{ required: required }
end
## Contributing to Sprockets
Sprockets is the work of hundreds of contributors. You're encouraged to submit pull requests, propose
features and discuss issues.
See [CONTRIBUTING](CONTRIBUTING.md).
Version History
Please see the [CHANGELOG](https://github.com/rails/sprockets/tree/master/CHANGELOG.md)
Sprockets is released under the [MIT License](MIT-LICENSE).
|
package mockit.integration.junit4;
import org.junit.runner.*;
import org.junit.runners.*;
@RunWith(Suite.class)
@Suite.SuiteClasses({MockDependencyTest.class, UseDependencyTest.class})
public final class DependencyTests {}
|
<!DOCTYPE html>
<!--[if IE 8]><html class="no-js lt-ie9" lang="en" > <![endif]-->
<!--[if gt IE 8]><!--> <html class="no-js" lang="en" > <!--<![endif]-->
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Deploying QATrack+ with Linux Apache & PostgreSQL — qatrackplus 0.3.0-dev documentation</title>
<link rel="stylesheet" href="../../../../_static/css/theme.css" type="text/css" />
<link rel="index" title="Index"
href="../../../../genindex.html"/>
<link rel="search" title="Search" href="../../../../search.html"/>
<link rel="top" title="qatrackplus 0.3.0-dev documentation" href="../../../../index.html"/>
<script src="../../../../_static/js/modernizr.min.js"></script>
</head>
<body class="wy-body-for-nav" role="document">
<div class="wy-grid-for-nav">
<nav data-toggle="wy-nav-shift" class="wy-nav-side">
<div class="wy-side-scroll">
<div class="wy-side-nav-search">
<a href="../../../../index.html" class="icon icon-home"> qatrackplus
</a>
<div class="version">
0.3.0-dev
</div>
<div role="search">
<form id="rtd-search-form" class="wy-form" action="../../../../search.html" method="get">
<input type="text" name="q" placeholder="Search docs" />
<input type="hidden" name="check_keywords" value="yes" />
<input type="hidden" name="area" value="default" />
</form>
</div>
</div>
<div class="wy-menu wy-menu-vertical" data-spy="affix" role="navigation" aria-label="main navigation">
<!-- Local TOC -->
<div class="local-toc"><ul>
<li><a class="reference internal" href="#">Deploying QATrack+ with Linux Apache & PostgreSQL</a><ul>
<li><a class="reference internal" href="#installing-git">1. Installing git</a></li>
<li><a class="reference internal" href="#<API key>">2. Checking out the QATrack+ source code</a></li>
<li><a class="reference internal" href="#<API key>">3. Setting up our python environment</a></li>
<li><a class="reference internal" href="#<API key>">4. Making sure everything is working so far</a></li>
<li><a class="reference internal" href="#<API key>">5. Installing Apache & mod_wsgi</a></li>
<li><a class="reference internal" href="#<API key>">6. Setting up a database</a><ul>
<li><a class="reference internal" href="#postgresql">PostgreSQL</a></li>
<li><a class="reference internal" href="#mysql">MySQL</a></li>
</ul>
</li>
<li><a class="reference internal" href="#<API key>">7. Final config of QATrack+</a></li>
<li><a class="reference internal" href="#final-word">8. Final word</a></li>
<li><a class="reference internal" href="#references">9. References</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</nav>
<section data-toggle="wy-nav-shift" class="wy-nav-content-wrap">
<nav class="wy-nav-top" role="navigation" aria-label="top navigation">
<i data-toggle="wy-nav-top" class="fa fa-bars"></i>
<a href="../../../../index.html">qatrackplus</a>
</nav>
<div class="wy-nav-content">
<div class="rst-content">
<div role="navigation" aria-label="breadcrumbs navigation">
<ul class="wy-breadcrumbs">
<li><a href="../../../../index.html">Docs</a> »</li>
<li>Deploying QATrack+ with Linux Apache & PostgreSQL</li>
<li class="<API key>">
<a href="../../../../_sources/v/0.2.7/deployment/linux/lapp.rst.txt" rel="nofollow"> View page source</a>
</li>
</ul>
<hr/>
</div>
<div role="main" class="document" itemscope="itemscope" itemtype="http://schema.org/Article">
<div itemprop="articleBody">
<div class="section" id="<API key>">
<h1>Deploying QATrack+ with Linux Apache & PostgreSQL<a class="headerlink" href="
<p>This guide is going to walk you through installing QATrack+ on a Linux
server with Apache as the web server and PostgreSQL as the database.</p>
<p>The steps we will be undertaking are:</p>
<ol class="arabic simple">
<li>Installing and configuring git</li>
<li>Checkout the latest release of the QATrack+ source code from
bitbucket.</li>
<li>Setting up our Python environment (including virtualenv)</li>
<li>Making sure everything is working up to this point</li>
<li>Installing Apache web server and mod_wsgi and then configuring it to
serve our QATrack+ site.</li>
<li>Installing the PostgreSQL (or MySQL) database server and setting up a
database for QATrack+</li>
<li>Final configuration of QATrack+</li>
</ol>
<p>I will be using Ubuntu 12.04 LTS for this guide but steps should be
similar on other versions of Ubuntu or other Linux systems.</p>
<p>This guide assumes you have at least a basic level of familiarity with
Linux and the command line.</p>
<div class="section" id="installing-git">
<h2>1. Installing git<a class="headerlink" href="
<p>Git is the version control software that QATrack+ uses. To install git
on Ubuntu run the following command:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ sudo apt-get install git
</pre></div>
</div>
<p>Next setup your git installation:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">git</span> <span class="n">config</span> <span class="o">--</span><span class="k">global</span> <span class="n">user</span><span class="o">.</span><span class="n">name</span> <span class="s2">"randlet"</span>
<span class="n">git</span> <span class="n">config</span> <span class="o">--</span><span class="k">global</span> <span class="n">user</span><span class="o">.</span><span class="n">email</span> <span class="n">rataylor</span><span class="nd">@toh</span><span class="o">.</span><span class="n">on</span><span class="o">.</span><span class="n">ca</span>
</pre></div>
</div>
</div>
<div class="section" id="<API key>">
<h2>2. Checking out the QATrack+ source code<a class="headerlink" href="
<p>Now that we have git installed we can proceed to grab the latest version
of QATrack+. To checkout the code enter the following commands:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ mkdir ~/web
(qatrack)randlet@ubuntu:~$ cd ~/web
(qatrack)randlet@ubuntu:~/web$ git clone https://randlet@bitbucket.org/tohccmedphys/qatrackplus.git
Cloning into 'qatrackplus'...
remote: Counting objects: 6897, done.
remote: Compressing objects: 100% (2042/2042), done.
remote: Total 6897 (delta 4895), reused 6605 (delta 4705)
Receiving objects: 100% (6897/6897), 2.07 MiB, done.
Resolving deltas: 100% (4895/4895), done.
(qatrack)randlet@ubuntu:~/web$
</pre></div>
</div>
</div>
<div class="section" id="<API key>">
<h2>3. Setting up our python environment<a class="headerlink" href="
<p>This tutorial is going to make use of
<a class="reference external" href="http://pypi.python.org/pypi/virtualenv">virtualenv</a> which allows you
to easily manage multiple Python environments on a single server. This
is not strictly required but is considered a best practice in the Python
world.</p>
<p>To install virtualenv:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ sudo apt-get install python-setuptools
randlet@ubuntu:~$ sudo easy_install pip
randlet@ubuntu:~$ sudo pip install virtualenv==1.9
</pre></div>
</div>
<p>Now that we have virtualenv installed we will create a new Python
environment for QATrack+.</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ mkdir ~/venvs
randlet@ubuntu:~$ virtualenv ~/venvs/qatrack
</pre></div>
</div>
<p>To activate our new environment:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ source ~/venvs/qatrack/bin/activate
(qatrack)randlet@ubuntu:~$ which python
/home/randlet/venvs/qatrack/bin/python
(qatrack)randlet@ubuntu:~$
</pre></div>
</div>
<p>Change back to the location where we checked out the source code:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
randlet@ubuntu:~$ cd ~/web/qatrackplus
</pre></div>
</div>
<p>In that directory there is a directory with text files
(requirements/base.txt, requirements/optional.txt) that list the
required Python packages for QATrack+. A little prep work is required to
get them to install correctly. Enter the following commands to install
the preliminary libraries:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get install build-essential gfortran
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get install python-dev
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get install libatlas-dev libatlas-base-dev liblapack-dev
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get install libpng12-dev libfreetype6 libfreetype6-dev
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get build-dep python-matplotlib
</pre></div>
</div>
<p>After you install all the required libs:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">pip</span> <span class="n">install</span> <span class="o">-</span><span class="n">r</span> <span class="n">requirements</span><span class="o">/</span><span class="n">base</span><span class="o">.</span><span class="n">txt</span>
<span class="n">pip</span> <span class="n">install</span> <span class="o">-</span><span class="n">r</span> <span class="n">requirements</span><span class="o">/</span><span class="n">optional</span><span class="o">.</span><span class="n">txt</span>
</pre></div>
</div>
</div>
<div class="section" id="<API key>">
<h2>4. Making sure everything is working so far<a class="headerlink" href="
<p>Before we move on to installing a proper web server and database we will
pause to make sure everything is working correctly at this point.</p>
<p>From the main qatrack directory enter the following commands</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ mkdir db
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py syncdb
</pre></div>
</div>
<p>When running syncdb you will be asked if you want to create a superuser.
Answer yes and then enter a username and password.</p>
<p>Once that has finished running enter the following command:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py migrate
</pre></div>
</div>
<p>You should now have temporary sqlite database that can be used to verify
our setup has been going well. Next we will start the builtin (for
testing purposes) webserver and see if we can access our site/</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py runserver
Validating models...
0 errors found
Django version 1.4, using settings 'qatrack.settings'
Development server is running at http://127.0.0.1:8000/
Quit the server with CONTROL-C.
</pre></div>
</div>
<p>If you now visit 127.0.0.1:8000 in a browser you should be redirected to
a QATrack+ login page.</p>
<p>After you have confirmed you can view the site, quit the server by
hitting CTRL-C.</p>
<blockquote>
<div><p>Note: depending on your setup, you may need to modify your firewall
and use runserver something like the following:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py runserver MYSERVERNAME:8000
</pre></div>
</div>
<p>for example, I am using an Amazon EC2 instance for this tutorial, so
I had to open port 8000 in the firewall and use the following
runserver command:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py runserver ec2-54-242-252-245.compute-1.amazonaws.com:8000
Validating models...
0 errors found
Django version 1.4, using settings 'qatrack.settings'
Development server is running at http://ec2-54-242-252-245.compute-1.amazonaws.com:8000/
</pre></div>
</div>
</div></blockquote>
</div>
<div class="section" id="<API key>">
<h2>5. Installing Apache & mod_wsgi<a class="headerlink" href="
<p>The next step to take is to install and configure the Apache web server.
Apache and mod_wsgi can be installed with the following commands:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo apt-get install apache2 libapache2-mod-wsgi
</pre></div>
</div>
<p>Next we can setup Apache to serve our Django site...edit
/etc/apache2/httpd.conf so it looks like the following (making sure the
paths are correct for your setup).</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
WSGIScriptAlias / /home/randlet/web/qatrackplus/qatrack/wsgi.py
WSGIPythonPath /
<API key> %{GLOBAL}
WSGIPythonHome /home/randlet/venvs/qatrack
<Directory /home/randlet/web/qatrackplus>
Order deny,allow
Allow from all
</Directory>
alias /static /home/randlet/web/qatrackplus/qatrack/static
alias /media /home/randlet/web/qatrackplus/qatrack/media
If you want to host QATrack+ somewhere other than the root of your
server (e.g. you want to host the QATrack+ application at
http://myserver/qatrackplus/), you will need to include the
following lines in your qatrack/local\_settings.py file
::
LOGIN_REDIRECT_URL = "/qatrackplus/qa/unit/"
LOGIN_URL = "/qatrackplus/accounts/login/"
and set up a couple more rules in your Apache config. A (slightly
modified) example provided by Darcy Mason is included below.
::
RewriteEngine On
# First let anything starting with qadb already pass through
RewriteRule ^/qatrackplus(.*)$ /qatrackplus/$1 [PT,L]
# Similarly, anything with /static prefix should pass through unchanged
RewriteRule ^/static(.*)$ /home/randlet/web/qatrackplus/qatrack/static$1 [PT]
RewriteRule ^/media(.*)$ /home/randlet/web/qatrackplus/qatrack/media$1 [PT]
# Anything else needs a url prefixed with /qatrackplus/
RewriteRule ^/qa(.*)$ /qatrackplus/qa$1 [PT]
#Then the /qatrackplus url is pointed to Django through mod-wsgi:
WSGIScriptAlias /qatrackplus /home/randlet/web/qatrackplus/qatrack/wsgi.py
WSGIPythonPath /qatrackplus/
<API key> %{GLOBAL}
WSGIPythonHome /home/randlet/venvs/qatrack
<Directory /home/randlet/web/qatrackplus/qatrack>
<Files wsgi.py>
Order deny,allow
Allow from all
</Files>
</Directory>
alias /static /home/randlet/web/qatrackplus/qatrack/static
</pre></div>
</div>
<p><em>Note I am certainly no Apache expert so I am probably ignoring many
Apache/mod_wsgi best practices here ;) If someone wants to make
improvements that would be great!</em></p>
<p>Now edit the file ~/web/qatrackplus/qatrack/wsgi.py so it looks like the
following (again making sure the paths are appropriate for your setup)</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!python</span>
<span class="sd">"""</span>
<span class="sd">WSGI config for qatrack project.</span>
<span class="sd">This module contains the WSGI application used by Django's development server</span>
<span class="sd">and any production WSGI deployments. It should expose a module-level variable</span>
<span class="sd">named ``application``. Django's ``runserver`` and ``runfcgi`` commands discover</span>
<span class="sd">this application via the ``WSGI_APPLICATION`` setting.</span>
<span class="sd">Usually you will have the standard Django WSGI application here, but it also</span>
<span class="sd">might make sense to replace the whole Django WSGI application with a custom one</span>
<span class="sd">that later delegates to the Django one. For example, you could introduce WSGI</span>
<span class="sd">middleware here, or combine a Django application with an application of another</span>
<span class="sd">framework.</span>
<span class="sd">"""</span>
<span class="kn">import</span> <span class="nn">os</span>
<span class="kn">import</span> <span class="nn">sys</span>
<span class="n">sys</span><span class="o">.</span><span class="n">path</span><span class="o">.</span><span class="n">append</span><span class="p">(</span><span class="s1">'/home/randlet/web/qatrackplus'</span><span class="p">)</span>
<span class="n">os</span><span class="o">.</span><span class="n">environ</span><span class="o">.</span><span class="n">setdefault</span><span class="p">(</span><span class="s2">"<API key>"</span><span class="p">,</span> <span class="s2">"qatrack.settings"</span><span class="p">)</span>
<span class="c1"># This application object is used by any WSGI server configured to use this</span>
<span class="c1"># file. This includes Django's development server, if the WSGI_APPLICATION</span>
<span class="c1"># setting points here.</span>
<span class="kn">from</span> <span class="nn">django.core.wsgi</span> <span class="k">import</span> <span class="n"><API key></span>
<span class="n">application</span> <span class="o">=</span> <span class="n"><API key></span><span class="p">()</span>
<span class="c1"># Apply WSGI middleware here.</span>
<span class="c1"># from helloworld.wsgi import <API key></span>
<span class="c1"># application = <API key>(application)</span>
</pre></div>
</div>
<p>Now restart apache:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo service apache2 restart
* Restarting web server apache2
waiting .......... ...done.
</pre></div>
</div>
<p>If you visit your site again in the browser you should see the QATrack+
login page (it’s okay if you see a yellow OperationalError page as
well...it just means the path to the temporary database is not correct
but Apache is working correctly.)</p>
<p>If you get an internal server error or the site doesn’t appear to load,
check the Apache error log files for more information (default location
is /var/log/apache2/error.log).</p>
</div>
<div class="section" id="<API key>">
<h2>6. Setting up a database<a class="headerlink" href="
<p>If Apache is working correctly at this point, we can move on and set up
a database. The official Django recommendation is PostgreSQL but MySQL
will work fine as well. Choose whichever one you are more comfortable
with.</p>
<div class="section" id="postgresql">
<h3>PostgreSQL<a class="headerlink" href="
<p>Install PostgreSQL and the Python adapter:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">postgresql</span> <span class="n">libpq</span><span class="o">-</span><span class="n">dev</span>
<span class="n">pip</span> <span class="n">install</span> <span class="n">psycopg2</span>
</pre></div>
</div>
<p>Now we can create and configure a user and database for QATrack+:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ sudo -u postgres psql template1
psql (9.1.7)
Type "help" for help.
template1=# ALTER USER postgres with encrypted password 'your_pg_password';
ALTER ROLE
template1=# CREATE DATABASE qatrackdb;
CREATE DATABASE
template1=# CREATE USER qatrack with PASSWORD 'qatrackpass';
CREATE ROLE
template1=# GRANT ALL PRIVILEGES ON DATABASE qatrackdb to qatrack;
GRANT
template1=\q
</pre></div>
</div>
<p>Now edit /etc/postgresql/9.1/main/pg_hba.conf and scroll down to the
bottom and change the two instances of <code class="docutils literal"><span class="pre">peer</span></code> to <cite>.html5`</cite> so it looks
like:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="c1"># Database administrative login by Unix domain socket</span>
<span class="n">local</span> <span class="nb">all</span> <span class="n">postgres</span> <span class="o">.</span><span class="n">html5</span>
<span class="c1"># TYPE DATABASE USER ADDRESS METHOD</span>
<span class="c1"># "local" is for Unix domain socket connections only</span>
<span class="n">local</span> <span class="nb">all</span> <span class="nb">all</span> <span class="o">.</span><span class="n">html5</span>
<span class="c1"># IPv4 local connections:</span>
<span class="n">host</span> <span class="nb">all</span> <span class="nb">all</span> <span class="mf">127.0</span><span class="o">.</span><span class="mf">0.1</span><span class="o">/</span><span class="mi">32</span> <span class="o">.</span><span class="n">html5</span>
<span class="c1"># IPv6 local connections:</span>
<span class="n">host</span> <span class="nb">all</span> <span class="nb">all</span> <span class="p">::</span><span class="mi">1</span><span class="o">/</span><span class="mi">128</span> <span class="o">.</span><span class="n">html5</span>
</pre></div>
</div>
<p>and restart the pg server:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">sudo</span> <span class="n">service</span> <span class="n">postgresql</span> <span class="n">restart</span>
</pre></div>
</div>
</div>
<div class="section" id="mysql">
<h3>MySQL<a class="headerlink" href="
<p>Install MySQL and the Python adapter:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">sudo</span> <span class="n">apt</span><span class="o">-</span><span class="n">get</span> <span class="n">install</span> <span class="n">mysql</span><span class="o">-</span><span class="n">server</span> <span class="n">libmysqlclient</span><span class="o">-</span><span class="n">dev</span>
<span class="n">pip</span> <span class="n">install</span> <span class="n">mysql</span><span class="o">-</span><span class="n">python</span>
</pre></div>
</div>
<p>Now we can create and configure a user and database for QATrack+:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">mysql</span> <span class="o">-</span><span class="n">u</span> <span class="n">root</span> <span class="o">-</span><span class="n">p</span>
</pre></div>
</div>
<p>and then enter the following commands in the MySQL shell:</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!bash</span>
<span class="n">CREATE</span> <span class="n">DATABASE</span> <span class="n">qatrackdb</span><span class="p">;</span>
<span class="n">GRANT</span> <span class="n">ALL</span> <span class="n">ON</span> <span class="n">qatrackdb</span><span class="o">.*</span> <span class="n">TO</span> <span class="s1">'qatrack'</span><span class="o">@</span><span class="s1">'localhost'</span> <span class="n">IDENTIFIED</span> <span class="n">BY</span> <span class="s1">'qatrackpass'</span><span class="p">;</span>
<span class="n">quit</span>
</pre></div>
</div>
</div>
</div>
<div class="section" id="<API key>">
<h2>7. Final config of QATrack+<a class="headerlink" href="
<p>Next (we’re almost done, I promise!) we need to tell QATrack+ how to
connect to our database.</p>
<p>Create a file called local_settings.py in ~/web/qatrackplus/qatrack/
and put the following Python code in it (choose the correct engine -
postgreqal_psycopg2 or mysql):</p>
<div class="highlight-default"><div class="highlight"><pre><span></span><span class="ch">#!python</span>
<span class="n">DEBUG</span> <span class="o">=</span> <span class="kc">False</span>
<span class="n">TEMPLATE_DEBUG</span><span class="o">=</span><span class="kc">False</span>
<span class="n">DATABASES</span> <span class="o">=</span> <span class="p">{</span>
<span class="s1">'default'</span><span class="p">:</span> <span class="p">{</span>
<span class="s1">'ENGINE'</span><span class="p">:</span> <span class="s1">'django.db.backends.postgresql_psycopg2'</span><span class="p">,</span> <span class="c1"># Add 'postgresql_psycopg2', 'mysql', 'sqlite3' or 'oracle'.</span>
<span class="s1">'NAME'</span><span class="p">:</span> <span class="s1">'qatrackdb'</span><span class="p">,</span> <span class="c1"># Or path to database file if using sqlite3.</span>
<span class="s1">'USER'</span><span class="p">:</span> <span class="s1">'qatrack'</span><span class="p">,</span> <span class="c1"># Not used with sqlite3.</span>
<span class="s1">'PASSWORD'</span><span class="p">:</span> <span class="s1">'qatrackpass'</span><span class="p">,</span> <span class="c1"># Not used with sqlite3.</span>
<span class="s1">'HOST'</span><span class="p">:</span> <span class="s1">''</span><span class="p">,</span> <span class="c1"># Set to empty string for localhost. Not used with sqlite3.</span>
<span class="s1">'PORT'</span><span class="p">:</span> <span class="s1">''</span><span class="p">,</span> <span class="c1"># Set to empty string for default. Not used with sqlite3.</span>
<span class="p">}</span>
<span class="p">}</span>
</pre></div>
</div>
<p>And then create the tables in your database via sycndb/migrate</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py syncdb
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py migrate
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py loaddata fixtures/defaults/*/*
</pre></div>
</div>
<p>We also need to collect all our static files in a single location for
Apache to serve (answer ‘yes’ when asked)</p>
<div class="highlight-default"><div class="highlight"><pre><span></span>#!bash
(qatrack)randlet@ubuntu:~/web/qatrackplus$ python manage.py collectstatic
</pre></div>
</div>
</div>
<div class="section" id="final-word">
<h2>8. Final word<a class="headerlink" href="
<p>There are a lot of steps getting everything set up so don’t be
discouraged if everything doesn’t go completely smoothly! If you run
into trouble, please get in touch with me on the <a class="reference external" href="https://groups.google.com/forum/?fromgroups#!forum/qatrack">QATrack+ mailing
list</a> and
I can help you out.</p>
<ol class="upperalpha simple" start="18">
<li>Taylor - Feb 2012</li>
</ol>
</div>
<div class="section" id="references">
<h2>9. References<a class="headerlink" href="
<p><a class="reference external" href="http:
</div>
</div>
</div>
<div class="articleComments">
</div>
</div>
<footer>
<hr/>
<div role="contentinfo">
<p>
© Copyright 2017, Randle Taylor.
</p>
</div>
Built with <a href="http:
</footer>
</div>
</div>
</section>
</div>
<script type="text/javascript">
var <API key> = {
URL_ROOT:'../../../../',
VERSION:'0.3.0-dev',
COLLAPSE_INDEX:false,
FILE_SUFFIX:'.html',
HAS_SOURCE: true,
SOURCELINK_SUFFIX: '.txt'
};
</script>
<script type="text/javascript" src="../../../../_static/jquery.js"></script>
<script type="text/javascript" src="../../../../_static/underscore.js"></script>
<script type="text/javascript" src="../../../../_static/doctools.js"></script>
<script type="text/javascript" src="../../../../_static/js/theme.js"></script>
<script type="text/javascript">
jQuery(function () {
SphinxRtdTheme.StickyNav.enable();
});
</script>
</body>
</html>
|
## Rust Guideline lints ##
This repository will contain some lints that try to enforce some of the guidelines documented at http://aturon.github.io/.
These lints aren't super useful, they are more interesting as learning projects instead of providing useful information.
Right now the only lint provided is a lint that warns upon dereferencing within a match expression, as shown here:
http://aturon.github.io/features/match.html. I picked this guideline as a simple target for learning the compiler lint
system. It's still kinda cool, though!
Running the example
This repository is Cargo enabled:
git clone https://github.com/swgillespie/<API key>.git
cd <API key>
cargo build
There's an example in src/main.rs that imports and triggers this lint, which will print upon `cargo build`:.
Compiling <API key> v0.0.1 (file:/home/sean/Documents/workspace/rust/rust-lints)
/home/sean/Documents/workspace/rust/rust-lints/src/main.rs:7:11: 7:16 warning: Dereferencing in a match expression is discouraged, #[warn(match_dereference)] on by default
/home/sean/Documents/workspace/rust/rust-lints/src/main.rs:7 match *five {
^~~~~
/home/sean/Documents/workspace/rust/rust-lints/src/main.rs:8:9: 8:18 note: Consider using a 'box' pattern here and all other match arms.
/home/sean/Documents/workspace/rust/rust-lints/src/main.rs:8 5 | 6 | 7 => println!("It's 5, 6, or 7!"),
^~~~~~~~~
|
using Treefrog.Extensibility;
using Treefrog.Framework.Model;
using Treefrog.Plugins.Tiles.Layers;
using Treefrog.Presentation;
using Treefrog.Presentation.Layers;
using Treefrog.Render.Layers;
namespace Treefrog.Plugins.Tiles
{
public static class Registration
{
// Layer Presenter Creation
[<API key>(LayerType = typeof(TileLayer), TargetType = typeof(TileLayerPresenter))]
public static LevelLayerPresenter <API key> (Layer layer, ILayerContext context)
{
return new TileLayerPresenter(context, layer as TileLayer);
}
[<API key>(LayerType = typeof(TileGridLayer), TargetType = typeof(<API key>))]
public static LevelLayerPresenter <API key> (Layer layer, ILayerContext context)
{
return new <API key>(context, layer as TileGridLayer);
}
[<API key>(LayerType = typeof(MultiTileGridLayer), TargetType = typeof(<API key>))]
public static LevelLayerPresenter <API key> (Layer layer, ILayerContext context)
{
return new <API key>(context, layer as TileGridLayer);
}
// Layer Creation
[<API key>(SourceType = typeof(<API key>), TargetType = typeof(MultiTileGridLayer))]
public static Layer CreateTileLayer (LayerPresenter layer, string name)
{
return new MultiTileGridLayer(name, (layer as <API key>).Layer as MultiTileGridLayer);
}
// Canvas Layer Creation
[CanvasLayerExport(LayerType = typeof(TileLayerPresenter), TargetType = typeof(LevelRenderLayer))]
public static CanvasLayer <API key> (LayerPresenter layer)
{
return new LevelRenderLayer(layer as LevelLayerPresenter);
}
[CanvasLayerExport(LayerType = typeof(<API key>), TargetType = typeof(TileSetRenderLayer))]
public static CanvasLayer <API key> (LayerPresenter layer)
{
return new TileSetRenderLayer(layer as <API key>);
}
[CanvasLayerExport(LayerType = typeof(<API key>), TargetType = typeof(LevelRenderLayer))]
public static CanvasLayer <API key> (LayerPresenter layer)
{
return new LevelRenderLayer(layer as LevelLayerPresenter);
}
}
}
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-character: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.5.3 / mathcomp-character - 1.10.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-character
<small>
1.10.0
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2022-02-12 05:26:42 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-02-12 05:26:42 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 <API key> of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 2 Virtual package relying on perl
coq 8.5.3 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.03.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.03.0 Official 4.03.0 release
ocaml-config 1 OCaml Switch Configuration
# opam file:
opam-version: "2.0"
maintainer: "Mathematical Components <mathcomp-dev@sympa.inria.fr>"
homepage: "https://math-comp.github.io/"
bug-reports: "https://github.com/math-comp/math-comp/issues"
dev-repo: "git+https://github.com/math-comp/math-comp.git"
license: "CeCILL-B"
build: [ make "-C" "mathcomp/character" "-j" "%{jobs}%" ]
install: [ make "-C" "mathcomp/character" "install" ]
depends: [ "coq-mathcomp-field" { = version } ]
tags: [ "keyword:algebra" "keyword:character" "keyword:small scale reflection" "keyword:mathematical components" "keyword:odd order theorem" "logpath:mathcomp.character" ]
authors: [ "Jeremy Avigad <>" "Andrea Asperti <>" "Stephane Le Roux <>" "Yves Bertot <>" "Laurence Rideau <>" "Enrico Tassi <>" "Ioana Pasca <>" "Georges Gonthier <>" "Sidi Ould Biha <>" "Cyril Cohen <>" "Francois Garillot <>" "Alexey Solovyev <>" "Russell O&
synopsis: "Mathematical Components Library on character theory"
description:"""
This library contains definitions and theorems about group
representations, characters and class functions.
"""
url {
src: "http://github.com/math-comp/math-comp/archive/mathcomp-1.10.0.tar.gz"
checksum: "sha256=<SHA256-like>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action <API key>.1.10.0 coq.8.5.3</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.5.3).
The following dependencies couldn't be met:
- <API key> -> coq-mathcomp-field = 1.10.0 -> <API key> = 1.10.0 -> <API key> = 1.10.0 -> <API key> = 1.10.0 -> <API key> = 1.10.0 -> coq >= 8.7 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base <API key>.1.10.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>corn: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.12.2 / corn - 8.8.1</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
corn
<small>
8.8.1
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2022-01-21 17:10:36 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2022-01-21 17:10:36 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.12.2 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "b.a.w.spitters@gmail.com"
homepage: "http://corn.cs.ru.nl/"
dev-repo: "git+https://github.com/coq-community/corn.git"
bug-reports: "https://github.com/coq-community/corn/issues"
doc: "http://corn.cs.ru.nl/"
authors: "Corn development team"
license: "GPL 2"
build: [
["./configure.sh"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/CoRN"]
depends: [
"ocaml"
"coq" {>= "8.6" & < "8.9~"}
"coq-math-classes" {>= "8.8.1"}
]
synopsis: "The CoRN library. A library for constructive analysis"
flags: light-uninstall
url {
src: "https://github.com/coq-community/corn/archive/8.8.1.zip"
checksum: "md5=<API key>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-corn.8.8.1 coq.8.12.2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.12.2).
The following dependencies couldn't be met:
- coq-corn -> coq < 8.9~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-corn.8.8.1</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
import collections
import re
import urlparse
class DSN(collections.MutableMapping):
DSN_REGEXP = re.compile(r'^\S+:
FIELDS = ('scheme', 'netloc', 'path', 'params', 'query', 'fragment')
def __init__(self, dsn, **defaults):
''' Parse a dsn to parts similar to urlparse.
This is a nuts function that can serve as a good basis to parsing a custom dsn
:param dsn: the dsn to parse
:type dsn: str
:param defaults: any values you want to have defaults for if they aren't in the dsn
:type defaults: dict
'''
assert self.DSN_REGEXP.match(dsn), \
"{} is invalid, only full dsn urls (scheme://host...) allowed".format(dsn)
first_colon = dsn.find(':')
scheme = dsn[0:first_colon]
dsn_url = dsn[first_colon+1:]
url = urlparse.urlparse(dsn_url)
options = {}
if url.query:
for k, kv in urlparse.parse_qs(url.query, True, True).iteritems():
if len(kv) > 1:
options[k] = kv
else:
options[k] = kv[0]
self.scheme = scheme
self.hostname = url.hostname
self.path = url.path
self.params = url.params
self.query = options
self.fragment = url.fragment
self.username = url.username
self.password = url.password
self.port = url.port
self.query_str = url.query
for k, v in defaults.iteritems():
self.set_default(k, v)
def __iter__(self):
for f in self.FIELDS:
yield getattr(self, f, '')
def __len__(self):
return len(iter(self))
def __getitem__(self, field):
return getattr(self, field, None)
def __setitem__(self, field, value):
setattr(self, field, value)
def __delitem__(self, field):
delattr(self, field)
@property
def schemes(self):
'''the scheme, split by plus signs'''
return self.scheme.split('+')
@property
def netloc(self):
'''return username:password@hostname:port'''
s = ''
prefix = ''
if self.username:
s += self.username
prefix = '@'
if self.password:
s += ":{}".format(self.password)
prefix = '@'
s += "{}{}".format(prefix, self.hostloc)
return s
@property
def paths(self):
'''the path attribute split by /'''
return filter(None, self.path.split('/'))
@property
def host(self):
'''the hostname, but I like host better'''
return self.hostname
@property
def hostloc(self):
'''return host:port'''
hostloc = self.hostname
if self.port:
hostloc = '{}:{}'.format(hostloc, self.port)
return hostloc
def set_default(self, key, value):
''' Set a default value for key.
This is different than dict's setdefault because it will set default either
if the key doesn't exist, or if the value at the key evaluates to False, so
an empty string or a None will value will be updated.
:param key: the item to update
:type key: str
:param value: the items new value if key has a current value that evaluates to False
'''
if not getattr(self, key, None):
setattr(self, key, value)
def get_url(self):
'''return the dsn back into url form'''
return urlparse.urlunparse((
self.scheme,
self.netloc,
self.path,
self.params,
self.query_str,
self.fragment,
))
def copy(self):
return DSN(self.get_url())
def __str__(self):
return self.get_url()
|
<script>
var visibilityChanged = function() {
steroids.logger.log("FROM PRELOADED VIEW window.location: " + window.location.href + ", document.visibilityState == " + document.visibilityState + " && document.hidden ==" + document.hidden);
alert("FROM PRELOADED VIEW window.location: " + window.location.href + ", document.visibilityState == " + document.visibilityState + " && document.hidden ==" + document.hidden);
}
steroids.on("ready", function() {
document.addEventListener("visibilitychange", visibilityChanged);
});
</script>
<h2>hi i have eventlisteners on visibilitychange</h2>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>mathcomp-finmap: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.12.0 / mathcomp-finmap - 1.4.0+coq-8.11</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
mathcomp-finmap
<small>
1.4.0+coq-8.11
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2021-11-05 11:22:42 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-05 11:22:42 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
conf-findutils 1 Virtual package relying on findutils
coq 8.12.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.06.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.06.1 Official 4.06.1 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Cyril Cohen <cyril.cohen@inria.fr>"
homepage: "https://github.com/math-comp/finmap"
bug-reports: "https://github.com/math-comp/finmap/issues"
dev-repo: "git+https://github.com/math-comp/finmap.git"
license: "CeCILL-B"
build: [ make "-j" "%{jobs}%" ]
install: [ make "install" ]
depends: [
"coq" { (>= "8.11" & < "8.12~") }
"<API key>" { (>= "1.8.0" & < "1.11~") }
"<API key>" { (>= "1.0.0" & < "1.1~") }
]
tags: [ "keyword:finmap" "keyword:finset" "keyword:multiset" "keyword:order" "date:2019-11-27" "logpath:mathcomp.finmap"]
authors: [ "Cyril Cohen <cyril.cohen@inria.fr>" "Kazuhiko Sakaguchi <sakaguchi@coins.tsukuba.ac.jp>" ]
synopsis: "Finite sets, finite maps, finitely supported functions, orders"
description: """
This library is an extension of mathematical component in order to
support finite sets and finite maps on choicetypes (rather that finite
types). This includes support for functions with finite support and
multisets. The library also contains a generic order and set libary,
which will be used to subsume notations for finite sets, eventually."""
url {
src: "https://github.com/math-comp/finmap/archive/1.4.0+coq-8.11.tar.gz"
checksum: "sha256=<SHA256-like>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-mathcomp-finmap.1.4.0+coq-8.11 coq.8.12.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.12.0).
The following dependencies couldn't be met:
- coq-mathcomp-finmap -> coq < 8.12~ -> ocaml < 4.06.0
base of this switch (use `--unlock-base' to force)
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-mathcomp-finmap.1.4.0+coq-8.11</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
/**
* Pre Tests
* Check to make sure jQuery and Zest are loaded
*/
module("Setup");
test("jQuery is loaded", function() {
expect(3);
ok( jQuery,
"jQuery is defined." );
ok( $,
"$ is defined.");
equal( typeof jQuery, "function",
"jQuery is a function." );
});
test("Zest is loaded", function() {
expect(3);
ok( Zest,
"Zest is defined." );
ok( Z$,
"Z$ is defined." );
equal( typeof Zest, "function",
"Zest is a function." );
});
|
package org.ebaloo.itkeeps.core.domain.vertex;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;
import org.ebaloo.itkeeps.api.enumeration.enAclAdmin;
import org.ebaloo.itkeeps.api.enumeration.enAclData;
import org.ebaloo.itkeeps.api.model.jAclGroup;
import org.ebaloo.itkeeps.api.model.jBaseLight;
import org.ebaloo.itkeeps.core.database.annotation.DatabaseVertrex;
import org.ebaloo.itkeeps.core.domain.edge.DirectionType;
import org.ebaloo.itkeeps.core.domain.edge.notraverse.eAclNoTraverse;
import com.tinkerpop.blueprints.impls.orient.OrientBaseGraph;
@DatabaseVertrex()
final class vAclGroup extends vBase {
vAclGroup() {
super();
}
/*
* CHILD
*/
vAclGroup(final jAclGroup j) {
super(j);
try {
this.update(j);
} catch (Exception e) {
this.delete();
throw e;
}
}
final jBaseLight getChild() {
vAclGroup child = this.getEdge(vAclGroup.class, DirectionType.CHILD, false, eAclNoTraverse.class);
return child == null ? null : getJBaseLight(child);
}
/*
* PARENTS
*/
final void setChild(final jBaseLight group) {
vAclGroup child = get(this.getGraph(), vAclGroup.class, group, false);
setEdges(this.getGraph(), vAclGroup.class, this, vAclGroup.class, child, DirectionType.CHILD, eAclNoTraverse.class, false);
}
final List<jBaseLight> getParents() {
return this.getEdges(
vAclGroup.class,
DirectionType.PARENT,
false,
eAclNoTraverse.class).stream().map(vBase::getJBaseLight).collect(Collectors.toList());
}
/*
* ACL ADMIN
*/
final void setParents(List<jBaseLight> list) {
if (list == null)
list = new ArrayList<>();
// Optimization
OrientBaseGraph graph = this.getGraph();
setEdges(
graph,
vAclGroup.class,
this,
vAclGroup.class,
list.stream().map(e -> get(graph, vAclGroup.class, e, false)).collect(Collectors.toList()),
DirectionType.PARENT,
eAclNoTraverse.class,
false);
}
final List<enAclAdmin> getAclAdmin() {
return this.getEdges(
vAclAdmin.class,
DirectionType.PARENT,
true,
eAclNoTraverse.class)
.stream().map(e -> enAclAdmin.valueOf(e.getName())).collect(Collectors.toList());
}
/*
* ACL DATA
*/
final void setAclAdmin(List<enAclAdmin> list) {
if(list == null)
list = new ArrayList<>();
// Optimization
OrientBaseGraph graph = this.getGraph();
setEdges(
graph,
vAclGroup.class,
this,
vAclAdmin.class,
list.stream().map(e -> vAclAdmin.get(graph, vAclAdmin.class, e.name())).collect(Collectors.toList()),
DirectionType.PARENT,
eAclNoTraverse.class,
false);
}
final List<enAclData> getAclData() {
return this.getEdges(
vAclData.class,
DirectionType.PARENT,
true,
eAclNoTraverse.class)
.stream().map(e -> enAclData.valueOf(e.getName())).collect(Collectors.toList());
}
// API
final void setAclData(List<enAclData> list) {
if(list == null)
list = new ArrayList<>();
// Optimization
OrientBaseGraph graph = this.getGraph();
setEdges(
graph,
vAclGroup.class,
this,
vAclData.class,
list.stream().map(e -> vAclData.get(graph, vAclData.class, e.name())).collect(Collectors.toList()),
DirectionType.PARENT,
eAclNoTraverse.class,
false);
}
final jAclGroup read() {
jAclGroup j = new jAclGroup();
this.readBase(j);
j.setAclAdmin(this.getAclAdmin());
j.setAclData(this.getAclData());
j.setChild(this.getChild());
j.setParents(this.getParents());
return j;
}
final void update(jAclGroup j) {
this.setAclAdmin(j.getAclAdmin());
this.setAclData(j.getAclData());
this.setParents(j.getParents());
this.setChild(j.getChild());
}
}
|
import { expect } from 'chai';
import 'mocha';
import { Integer, TestContext } from '../../..';
import { makeInteger } from './make-integer';
describe('make-integer', () => {
it('should handle single digits', () => {
const ctx = new TestContext("test");
const delayedValue = makeInteger("5");
const value = delayedValue(ctx) as Integer;
expect(ctx.callCount).to.equal(0);
expect(value.value).to.equal(5);
expect(value.pretties).to.equal("5");
expect(value.dice()).to.equal(0);
expect(value.depth()).to.equal(1);
});
it('should handle multiple digits', () => {
const ctx = new TestContext("test");
const delayedValue = makeInteger("189465");
const value = delayedValue(ctx) as Integer;
expect(ctx.callCount).to.equal(0);
expect(value.value).to.equal(189465);;
expect(value.pretties).to.equal("189465");
expect(value.dice()).to.equal(0);
expect(value.depth()).to.equal(1);
});
it('should handle negative numbers', () => {
const ctx = new TestContext("test");
const delayedValue = makeInteger("-189465");
const value = delayedValue(ctx) as Integer;
expect(ctx.callCount).to.equal(0);
expect(value.value).to.equal(-189465);
expect(value.pretties).to.equal("-189465");
expect(value.dice()).to.equal(0);
expect(value.depth()).to.equal(1);
});
});
|
<!DOCTYPE html>
<html xmlns:msxsl="urn:<API key>:xslt">
<head>
<meta content="en-us" http-equiv="Content-Language" />
<meta content="text/html; charset=utf-16" http-equiv="Content-Type" />
<title _locid="<API key>">.NET Portability Report</title>
<style>
/* Body style, for the entire document */
body {
background: #F3F3F4;
color: #1E1E1F;
font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
padding: 0;
margin: 0;
}
/* Header1 style, used for the main title */
h1 {
padding: 10px 0px 10px 10px;
font-size: 21pt;
background-color: #E2E2E2;
border-bottom: 1px #C1C1C2 solid;
color: #201F20;
margin: 0;
font-weight: normal;
}
/* Header2 style, used for "Overview" and other sections */
h2 {
font-size: 18pt;
font-weight: normal;
padding: 15px 0 5px 0;
margin: 0;
}
/* Header3 style, used for sub-sections, such as project name */
h3 {
font-weight: normal;
font-size: 15pt;
margin: 0;
padding: 15px 0 5px 0;
background-color: transparent;
}
h4 {
font-weight: normal;
font-size: 12pt;
margin: 0;
padding: 0 0 0 0;
background-color: transparent;
}
/* Color all hyperlinks one color */
a {
color: #1382CE;
}
/* Paragraph text (for longer informational messages) */
p {
font-size: 10pt;
}
/* Table styles */
table {
border-spacing: 0 0;
border-collapse: collapse;
font-size: 10pt;
}
table th {
background: #E7E7E8;
text-align: left;
text-decoration: none;
font-weight: normal;
padding: 3px 6px 3px 6px;
}
table td {
vertical-align: top;
padding: 3px 6px 5px 5px;
margin: 0px;
border: 1px solid #E7E7E8;
background: #F7F7F8;
}
.NoBreakingChanges {
color: darkgreen;
font-weight:bold;
}
.FewBreakingChanges {
color: orange;
font-weight:bold;
}
.ManyBreakingChanges {
color: red;
font-weight:bold;
}
.BreakDetails {
margin-left: 30px;
}
.CompatMessage {
font-style: italic;
font-size: 10pt;
}
.GoodMessage {
color: darkgreen;
}
/* Local link is a style for hyperlinks that link to file:/// content, there are lots so color them as 'normal' text until the user mouse overs */
.localLink {
color: #1E1E1F;
background: #EEEEED;
text-decoration: none;
}
.localLink:hover {
color: #1382CE;
background: #FFFF99;
text-decoration: none;
}
/* Center text, used in the over views cells that contain message level counts */
.textCentered {
text-align: center;
}
/* The message cells in message tables should take up all avaliable space */
.messageCell {
width: 100%;
}
/* Padding around the content after the h1 */
#content {
padding: 0px 12px 12px 12px;
}
/* The overview table expands to width, with a max width of 97% */
#overview table {
width: auto;
max-width: 75%;
}
/* The messages tables are always 97% width */
#messages table {
width: 97%;
}
/* All Icons */
.IconSuccessEncoded, .IconInfoEncoded, .IconWarningEncoded, .IconErrorEncoded {
min-width: 18px;
min-height: 18px;
background-repeat: no-repeat;
background-position: center;
}
/* Success icon encoded */
.IconSuccessEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/9hAAABPElEQVR4Xp1Tv0vDUBi8FqeA4NpBcBLcWnQSApncOnTo4FSnjP0DsnXpH5CxiwbHDg4Zuj4oOEXiJgiC4FDcCkLWmIMc1Pfw+<API key>/H5+sHpZwYfxyRjTs+<API key>/13u3Fjrs/EdhsdDFHGB/<API key>+m3tVe/t97D52CB/ziG0nIgD/<API key>/<API key>/<API key>+zk7s8czeges//s5C5+CwqrR4/gw+AAAAABJRU5ErkJggg==);
}
/* Information icon encoded */
.IconInfoEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/<API key>+QvdsXa/QHBbcXC7W0CamWTQnclFutceIQJwwaWNLlwm5k5d94M76mmaeCrrmsLYOocY12FcxZFUeozCqKqqgYA8uevv1H6VuPxcwlfk5N92KHBxfFeCSAxxswlYAW/Xr989x/<API key>/HF1RsMXq+<API key>/<API key>+<API key>/<API key>=);
}
/* Warning icon encoded */
.IconWarningEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/9hAAAACXBIWXMAAA7EAAAOxAGVKw4bAAAAx0lEQVR4XpWSMQ7CMAxFf4xAyBMLCxMrO8dhaBcuwdCJS3RJBw7SA/<API key>+wVDSyyzFoJjfz9NB+pAF+<API key>/<API key>/eW1KvFeH4e8khT6+gm5B+t3juyDt7n0jpe+CANTd+oTUjN/U3yVaABnSUjFz/<API key>==);
}
/* Error icon encoded */
.IconErrorEncoded {
/* Note: Do not delete the comment below. It is used to verify the correctness of the encoded image resource below before the product is released */
background-image: url(data:image/png;base64,<API key>/<API key>/AxEQQT8HF/3G/oGGnEUGuoNnd6qoZuqltyKEsyzVJq5I6rnUp6SjGeGhESikzzlc1eL7opfuVbrqbU1Zw9NCgtQMaZpY0eNnaaL2fHusvTK5vKu7sjSS1Y4y3QUA6K3e3Mau5UFDyMP7tYF9o8cAHZv68vipoIJg971PZIZ5HiwdvYGGvFVFHmGmZ2MxwmQYPXubPl9Up0tfoMQGetXd6mRbvhBw+boZ6WF7Mbv1+<API key>/<API key>/<API key>=);
}
</style>
</head>
<body>
<h1 _locid="PortabilityReport">.NET Portability Report</h1>
<div id="content">
<div id="submissionId" style="font-size:8pt;">
<p>
<i>
Submission Id
<API key>
</i>
</p>
</div>
<h2 _locid="SummaryTitle">
<a name="Portability Summary"></a>Portability Summary
</h2>
<div id="summary">
<table>
<tbody>
<tr>
<th>Assembly</th>
<th>ASP.NET 5,Version=v1.0</th>
<th>Windows,Version=v8.1</th>
<th>.NET Framework,Version=v4.6</th>
<th>Windows Phone,Version=v8.1</th>
</tr>
<tr>
<td><strong><a href="#ElmahR.Api.Messages">ElmahR.Api.Messages</a></strong></td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
<td class="text-center">100.00 %</td>
</tr>
</tbody>
</table>
</div>
<div id="details">
</div>
</div>
</body>
</html>
|
<html><body>
<h4>Windows 10 x64 (18363.476)</h4><br>
<h2><API key></h2>
<font face="arial"> +0x000 ExclusivePowerMw : Uint4B<br>
+0x004 PeakPowerMw : Uint4B<br>
</font></body></html>
|
<?php
namespace GSSimpleOcr\Service;
use GSImage\Entity\Image;
use GSOcr\Service\OcrServiceInterface;
use GSSimpleOcr\Exception;
use GSSimpleOcr\Entity\Font;
use GSSimpleOcr\Entity\BWImage;
/**
* This class provides a simple OCR service.
*
* @author Gordon Schmidt <schmidt.gordon@web.de>
*/
class SimpleOcrService implements OcrServiceInterface
{
const MODE_GLYPHS = 0;
const MODE_LINES = 1;
const MODE_WORDS = 2;
const MODE_ALL = 3;
const MODE_TEXT = 4;
/**
* Maximum variation in the y for 2 glyphs to be on the same line
* @var int
*/
protected $maxYVariation = 1;
/**
* Maximum variation in the x for 2 glyphs to be in the same word
* @var int
*/
protected $maxXVariation = 2;
/**
* Seperator for 2 glyphs
* @var string
*/
protected $glyphSeperator = '';
/**
* Seperator for 2 words
* @var string
*/
protected $wordSeperator = ' ';
/**
* Seperator for 2 lines
* @var string
*/
protected $lineSeperator = PHP_EOL;
/**
* List of fonts
* @var array
*/
protected $fonts = array();
/**
* Set config to ocr service
*
* @param array $config
*/
public function setConfig($config)
{
if (isset($config['fonts'])) {
$this->setFonts($config['fonts']);
}
if (isset($config['maxYVariation'])) {
$this->maxYVariation = $config['maxYVariation'];
}
if (isset($config['maxXVariation'])) {
$this->maxXVariation = $config['maxXVariation'];
}
}
/**
* Recognize image
*
* @param string $image
* @param array $options
* @return string
*/
public function recognize($image, $options)
{
if (isset($options['threshold'])) {
$threshold = $options['threshold'];
} else {
$threshold = 127;
}
if (isset($options['mode'])) {
$mode = $options['mode'];
} else {
$mode = self::MODE_TEXT;
}
$image = new Image($image);
$bwImage = new BWImage($image, $threshold);
if (isset($options['rotate']) && in_array($options['rotate'], array(-90, 90, 180, 270))) {
$bwImage->rotate($options['rotate']);
}
return $this->workflow($bwImage, $mode, array(
'recognizeGlyphs',
'recognizeLines',
'recognizeWords',
'generateTexts',
));
}
/**
* Perform workflow of given steps
*
* @param mixed $input
* @param int $mode
* @param array $steps
* @return mixed
*/
protected function workflow($input, $mode, $steps)
{
if (empty($steps)) {
//output only text
return $input['text'];
}
//array_assoc_shift
list($stepMode) = array_keys($steps);
$stepMethod = $steps[$stepMode];
unset($steps[$stepMode]);
//execute workflow step
$input = $this->$stepMethod($input);
//stop if mode is reached
if ($mode == $stepMode) {
return $input;
}
//recursive call
return $this->workflow($input, $mode, $steps);
}
/**
* Recognize glyphs of known fonts in black and white image
*
* @param GSSimpleOcr\Entity\BWImage $image
* @param int GSSimpleOcr\Entity\BWImage $image
* @return array
*/
protected function recognizeGlyphs(BWImage $image)
{
$chars = array();
foreach ($this->fonts as $font) {
$glyphs = $font->getGlyphs();
foreach ($glyphs as $c => $glyph) {
$results = $image->findSubImage($glyph);
if (is_array($results)) {
$w = $glyph->getWidth();
$h = $glyph->getHeight();
foreach ($results as $result) {
$chars[] = array('text' => $c, 'x' => $result['x'], 'y' => $result['y'], 'w' => $w, 'h' => $h);
}
}
}
}
return array('glyphs' => $chars);
}
/**
* Recognize lines in data array
*
* @param array $data
*/
protected function recognizeLines($data)
{
$glyphs = $data['glyphs'];
$this->sortByKey('y', $glyphs);
$last = array(array_shift($glyphs));
$lines = array();
foreach ($glyphs as $glyph) {
if ($this->maxYVariation >= abs($last[0]['y'] - $glyph['y'])) {
$last[] = $glyph;
} else {
$lines[] = array('glyphs' => $last);
$last = array($glyph);
}
}
if (!empty($last)) {
$lines[] = array('glyphs' => $last);
}
return array('lines' => $lines);
}
/**
* Recognize words in char array
*
* @param array $data
*/
protected function recognizeWords($data)
{
foreach ($data['lines'] as &$line) {
$glyphs = $line['glyphs'];
$this->sortByKey('x', $glyphs);
$latest = array_shift($glyphs);
$last = array($latest);
$words = array();
foreach ($glyphs as $glyph) {
if (($this->maxXVariation + $latest['w']) > abs($glyph['x'] - $latest['x'])) {
$latest = $glyph;
$last[] = $latest;
} else {
$latest = $glyph;
$words[] = array('glyphs' => $last);
$last = array($latest);
}
}
if (!empty($last)) {
$words[] = array('glyphs' => $last);
}
$line = array('words' => $words);
}
return $data;
}
/**
* Generate texts from data array
*
* @param array $data
*/
protected function generateTexts($data)
{
foreach ($data['lines'] as &$line) {
foreach ($line['words'] as &$word) {
$word['text'] = $this->implodeByKey($this->glyphSeperator, 'text', $word['glyphs']);
}
$line['text'] = $this->implodeByKey($this->wordSeperator, 'text', $line['words']);
}
$data['text'] = $this->implodeByKey($this->lineSeperator, 'text', $data['lines']);
return $data;
}
/**
* Set Fonts to simple ocr service
*
* @param array $fonts
* @return self
*/
protected function setFonts($fonts)
{
$this->fonts = array();
foreach ($fonts as $font) {
if ($font instanceof Font) {
$this->fonts[] = $font;
} else {
$this->fonts[] = new Font($font);
}
}
return $this;
}
/**
* Order data by given key
*
* @param string $key
* @param array &$data
* @return array
*/
protected function sortByKey($key, &$data)
{
return usort($data, $this->generateSorter($key));
}
/**
* Generate a sort function for given key
*
* @param string $key
* @return function
*/
protected function generateSorter($key)
{
return function ($a, $b) use ($key) {
if ($a[$key] == $b[$key]) {
return 0;
}
return ($a[$key] < $b[$key]) ? -1 : 1;
};
}
/**
* Implode data by given key
*
* @param string $seperator
* @param string $key
* @param array $data
* @return function
*/
protected function implodeByKey($seperator, $key, $data)
{
$values = array();
foreach ($data as $value) {
$values[] = $value[$key];
}
return implode($seperator, $values);
}
}
|
package com.vexus2.jenkins.chatwork.<API key>.api;
import org.apache.commons.lang.builder.EqualsBuilder;
import org.apache.commons.lang.builder.HashCodeBuilder;
import org.codehaus.jackson.annotate.<API key>;
import org.codehaus.jackson.annotate.JsonProperty;
@<API key>(ignoreUnknown=true)
public class Room {
@JsonProperty("room_id")
public String roomId;
@JsonProperty("name")
public String name;
@JsonProperty("type")
public String type;
@Override
public int hashCode(){
return new HashCodeBuilder()
.append(name)
.append(roomId)
.append(type)
.toHashCode();
}
@Override
public boolean equals(final Object obj){
if(obj instanceof Room){
final Room other = (Room) obj;
return new EqualsBuilder()
.append(name, other.name)
.append(roomId, other.roomId)
.append(type, other.type)
.isEquals();
} else{
return false;
}
}
}
|
<!DOCTYPE html>
<!--[if lt IE 9]><html class="no-js lt-ie9" lang="en" dir="ltr"><![endif]-->
<!--[if gt IE 8]><!-->
<html class="no-js" lang="en" dir="ltr">
<!--<![endif]-->
<!-- Usage: /eic/site/ccc-rec.nsf/tpl-eng/template-1col.html?Open&id=3 (optional: ?Open&page=filename.html&id=x) -->
<!-- Created: ; Product Code: 536; Server: stratnotes2.ic.gc.ca -->
<head>
<title>
Le Groupe Créa Inc. -
Complete profile - Canadian Company Capabilities - Industries and Business - Industry Canada
</title>
<!-- Title ends / Fin du titre -->
<meta charset="utf-8" />
<meta name="dcterms.language" title="ISO639-2" content="eng" />
<meta name="dcterms.title" content="" />
<meta name="description" content="" />
<meta name="dcterms.description" content="" />
<meta name="dcterms.type" content="report, data set" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.subject" content="businesses, industry" />
<meta name="dcterms.issued" title="W3CDTF" content="" />
<meta name="dcterms.modified" title="W3CDTF" content="" />
<meta name="keywords" content="" />
<meta name="dcterms.creator" content="" />
<meta name="author" content="" />
<meta name="dcterms.created" title="W3CDTF" content="" />
<meta name="dcterms.publisher" content="" />
<meta name="dcterms.audience" title="icaudience" content="" />
<meta name="dcterms.spatial" title="ISO3166-1" content="" />
<meta name="dcterms.spatial" title="gcgeonames" content="" />
<meta name="dcterms.format" content="HTML" />
<meta name="dcterms.identifier" title="ICsiteProduct" content="536" />
<!-- EPI-11240 -->
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<!-- MCG-202 -->
<meta content="width=device-width,initial-scale=1" name="viewport">
<!-- EPI-11567 -->
<meta name = "format-detection" content = "telephone=no">
<!-- EPI-12603 -->
<meta name="robots" content="noarchive">
<!-- EPI-11190 - Webtrends -->
<script>
var startTime = new Date();
startTime = startTime.getTime();
</script>
<!--[if gte IE 9 | !IE ]><!-->
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="icon" type="image/x-icon">
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/wet-boew.min.css">
<!--<![endif]-->
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/theme.min.css">
<!--[if lt IE 9]>
<link href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/ie8-wet-boew.min.css" />
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew.min.js"></script>
<![endif]
<!--[if lte IE 9]>
<![endif]
<noscript><link rel="stylesheet" href="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/css/noscript.min.css" /></noscript>
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<script>dataLayer1 = [];</script>
<!-- End Google Tag Manager -->
<!-- EPI-11235 -->
<link rel="stylesheet" href="/eic/home.nsf/css/<API key>.css">
<link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.css" rel="stylesheet">
<link href="/app/ccc/srch/css/print.css" media="print" rel="stylesheet" type="text/css" />
</head>
<body class="home" vocab="http://schema.org/" typeof="WebPage">
<!-- EPIC HEADER BEGIN -->
<!-- Google Tag Manager DO NOT REMOVE OR MODIFY - NE PAS SUPPRIMER OU MODIFIER -->
<noscript><iframe title="Google Tag Manager" src="
<script>(function(w,d,s,l,i){w[l]=w[l]||[];w[l].push({'gtm.start': new Date().getTime(),event:'gtm.js'});var f=d.<API key>(s)[0], j=d.createElement(s),dl=l!='dataLayer1'?'&l='+l:'';j.async=true;j.src='
<!-- End Google Tag Manager -->
<!-- EPI-12801 -->
<span typeof="Organization"><meta property="legalName" content="<API key>"></span>
<ul id="wb-tphp">
<li class="wb-slc">
<a class="wb-sl" href="#wb-cont">Skip to main content</a>
</li>
<li class="wb-slc visible-sm visible-md visible-lg">
<a class="wb-sl" href="#wb-info">Skip to "About this site"</a>
</li>
</ul>
<header role="banner">
<div id="wb-bnr" class="container">
<section id="wb-lng" class="visible-md visible-lg text-right">
<h2 class="wb-inv">Language selection</h2>
<div class="row">
<div class="col-md-12">
<ul class="list-inline mrgn-bttm-0">
<li><a href="nvgt.do?V_TOKEN=1492298355321&V_SEARCH.docsCount=3&V_DOCUMENT.docRank=26721&V_SEARCH.docsStart=26720&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=/prfl.do&lang=fra&redirectUrl=/app/scr/imbs/ccc/rgstrtn
</ul>
</div>
</div>
</section>
<div class="row">
<div class="brand col-xs-8 col-sm-9 col-md-6">
<a href="http:
</div>
<section class="wb-mb-links col-xs-4 col-sm-3 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="list-inline text-right chvrn">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk" role="button"><span class="glyphicon glyphicon-search"><span class="glyphicon glyphicon-th-list"><span class="wb-inv">Search and menus</span></span></span></a></li>
</ul>
<div id="mb-pnl"></div>
</section>
<!-- Site Search Removed -->
</div>
</div>
<nav role="navigation" id="wb-sm" class="wb-menu visible-md visible-lg" data-trgt="mb-pnl" data-ajax-fetch="//cdn.canada.ca/gcweb-cdn-dev/sitemenu/sitemenu-en.html" typeof="<API key>">
<h2 class="wb-inv">Topics menu</h2>
<div class="container nvbar">
<div class="row">
<ul class="list-inline menu">
<li><a href="https:
<li><a href="http:
<li><a href="https://travel.gc.ca/">Travel</a></li>
<li><a href="https:
<li><a href="https:
<li><a href="http://healthycanadians.gc.ca/index-eng.php">Health</a></li>
<li><a href="https:
<li><a href="https:
</ul>
</div>
</div>
</nav>
<!-- EPIC BODY BEGIN -->
<nav role="navigation" id="wb-bc" class="" property="breadcrumb">
<h2 class="wb-inv">You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li><a href="/eic/site/icgc.nsf/eng/home" title="Home">Home</a></li>
<li><a href="/eic/site/icgc.nsf/eng/h_07063.html" title="Industries and Business">Industries and Business</a></li>
<li><a href="/eic/site/ccc-rec.nsf/tpl-eng/../eng/home" >Canadian Company Capabilities</a></li>
</ol>
</div>
</div>
</nav>
</header>
<main id="wb-cont" role="main" property="mainContentOfPage" class="container">
<!-- End Header -->
<!-- Begin Body -->
<!-- Begin Body Title -->
<!-- End Body Title -->
<!-- Begin Body Head -->
<!-- End Body Head -->
<!-- Begin Body Content -->
<br>
<!-- Complete Profile -->
<!-- Company Information above tabbed area-->
<input id="showMore" type="hidden" value='more'/>
<input id="showLess" type="hidden" value='less'/>
<h1 id="wb-cont">
Company profile - Canadian Company Capabilities
</h1>
<div class="profileInfo hidden-print">
<ul class="list-inline">
<li><a href="cccSrch.do?lang=eng&profileId=&prtl=1&key.hitsPerPage=25&searchPage=%252Fapp%252Fccc%252Fsrch%252FcccBscSrch.do%253Flang%253Deng%2526amp%253Bprtl%253D1%2526amp%253Btagid%253D&V_SEARCH.scopeCategory=CCC.Root&V_SEARCH.depth=1&V_SEARCH.showStricts=false&V_SEARCH.sortSpec=title+asc&rstBtn.x=" class="btn btn-link">New Search</a> |</li>
<li><form name="searchForm" method="post" action="/app/ccc/srch/bscSrch.do">
<input type="hidden" name="lang" value="eng" />
<input type="hidden" name="profileId" value="" />
<input type="hidden" name="prtl" value="1" />
<input type="hidden" name="searchPage" value="%2Fapp%2Fccc%2Fsrch%2FcccBscSrch.do%3Flang%3Deng%26amp%3Bprtl%3D1%26amp%3Btagid%3D" />
<input type="hidden" name="V_SEARCH.scopeCategory" value="CCC.Root" />
<input type="hidden" name="V_SEARCH.depth" value="1" />
<input type="hidden" name="V_SEARCH.showStricts" value="false" />
<input id="repeatSearchBtn" class="btn btn-link" type="submit" value="Return to search results" />
</form></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=26719&V_DOCUMENT.docRank=26720&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492298382899&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567138776&profileId=&key.newSearchLabel=">Previous Company</a></li>
<li>| <a href="nvgt.do?V_SEARCH.docsStart=26721&V_DOCUMENT.docRank=26722&V_SEARCH.docsCount=3&lang=eng&prtl=1&sbPrtl=&profile=cmpltPrfl&V_TOKEN=1492298382899&V_SEARCH.command=navigate&V_SEARCH.resultsJSP=%2fprfl.do&estblmntNo=234567049262&profileId=&key.newSearchLabel=">Next Company</a></li>
</ul>
</div>
<details>
<summary>Third-Party Information Liability Disclaimer</summary>
<p>Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.</p>
</details>
<h2>
Le Groupe Créa Inc.
</h2>
<div class="row">
<div class="col-md-5">
<h2 class="h5 mrgn-bttm-0">Legal/Operating Name:</h2>
<p>Le Groupe Créa Inc.</p>
<div class="mrgn-tp-md"></div>
<p class="mrgn-bttm-0" ><a href="http:
target="_blank" title="Website URL">http:
<p><a href="mailto:info@groupecrea.com" title="info@groupecrea.com">info@groupecrea.com</a></p>
</div>
<div class="col-md-4 mrgn-sm-sm">
<h2 class="h5 mrgn-bttm-0">Mailing Address:</h2>
<address class="mrgn-bttm-md">
9 Ch. Du Lac-Bowker<br/>
ORFORD,
Quebec<br/>
J1X 6R6
<br/>
</address>
<h2 class="h5 mrgn-bttm-0">Location Address:</h2>
<address class="mrgn-bttm-md">
9 Ch. Du Lac-Bowker<br/>
ORFORD,
Quebec<br/>
J1X 6R6
<br/>
</address>
<p class="mrgn-bttm-0"><abbr title="Telephone">Tel.</abbr>:
(819) 679-6970
</p>
<p class="mrgn-bttm-lg"><abbr title="Facsimile">Fax</abbr>:
(450) 250-1501</p>
</div>
<div class="col-md-3 mrgn-tp-md">
</div>
</div>
<div class="row mrgn-tp-md mrgn-bttm-md">
<div class="col-md-12">
<h2 class="wb-inv">Company Profile</h2>
<br> The CREA GROUP is a multidisciplinary consulting firm offering a complete array of integrated consulting services to assist customers in the achievement of technologically innovative projects and companies within the industries of life sciences, biotechnology, agri-food and environment.<br>
</div>
</div>
<!-- <div class="wb-tabs ignore-session update-hash wb-eqht-off print-active"> -->
<div class="wb-tabs ignore-session">
<div class="tabpanels">
<details id="details-panel1">
<summary>
Full profile
</summary>
<!-- Tab 1 -->
<h2 class="wb-invisible">
Full profile
</h2>
<!-- Contact Information -->
<h3 class="page-header">
Contact information
</h3>
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Charles
Farrar
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title
Chief Executive Officer
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(819) 679-6970
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
charles.farrar@groupecrea.com
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Company Description -->
<h3 class="page-header">
Company description
</h3>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
541990 - All Other Professional, Scientific and Technical Services
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Alternate Industries (NAICS):
</strong>
</div>
<div class="col-md-7">
541619 - Other Management Consulting Services<br>
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Services
</div>
</div>
</section>
<!-- Products / Services / Licensing -->
<h3 class="page-header">
Product / Service / Licensing
</h3>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Consulting services in health sciences<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
CREA GROUP life science professionals provide business advice to biotechnology, medical device and medical companies and has a long history working with emerging Canadian companies and the investors who fund them.<br>
<br>
</div>
</div>
</section>
<p class="mrgn-tp-lg text-right small hidden-print">
<a href="#wb-cont">top of page</a>
</p>
<!-- Technology Profile -->
<!-- Market Profile -->
<!-- Sector Information -->
<details class="mrgn-tp-md mrgn-bttm-md">
<summary>
Third-Party Information Liability Disclaimer
</summary>
<p>
Some of the information on this Web page has been provided by external sources. The Government of Canada is not responsible for the accuracy, reliability or currency of the information supplied by external sources. Users wishing to rely upon this information should consult directly with the source of the information. Content provided by external sources is not subject to official languages, privacy and accessibility requirements.
</p>
</details>
</details>
<details id="details-panel2">
<summary>
Contacts
</summary>
<h2 class="wb-invisible">
Contact information
</h2>
<!-- Contact Information -->
<section class="container-fluid">
<div class="row mrgn-tp-lg">
<div class="col-md-3">
<strong>
Charles
Farrar
</strong></div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Title:
</strong>
</div>
<div class="col-md-7">
<!--if client gender is not null or empty we use gender based job title
Chief Executive Officer
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Telephone:
</strong>
</div>
<div class="col-md-7">
(819) 679-6970
</div>
</div>
<div class="row mrgn-lft-md">
<div class="col-md-5">
<strong>
Email:
</strong>
</div>
<div class="col-md-7">
charles.farrar@groupecrea.com
</div>
</div>
</section>
</details>
<details id="details-panel3">
<summary>
Description
</summary>
<h2 class="wb-invisible">
Company description
</h2>
<section class="container-fluid">
<div class="row">
<div class="col-md-5">
<strong>
Country of Ownership:
</strong>
</div>
<div class="col-md-7">
Canada
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Exporting:
</strong>
</div>
<div class="col-md-7">
Yes
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Industry (NAICS):
</strong>
</div>
<div class="col-md-7">
541990 - All Other Professional, Scientific and Technical Services
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Alternate Industries (NAICS):
</strong>
</div>
<div class="col-md-7">
541619 - Other Management Consulting Services<br>
</div>
</div>
<div class="row">
<div class="col-md-5">
<strong>
Primary Business Activity:
</strong>
</div>
<div class="col-md-7">
Services
</div>
</div>
</section>
</details>
<details id="details-panel4">
<summary>
Products, services and licensing
</summary>
<h2 class="wb-invisible">
Product / Service / Licensing
</h2>
<section class="container-fluid">
<div class="row mrgn-bttm-md">
<div class="col-md-3">
<strong>
Service Name:
</strong>
</div>
<div class="col-md-9">
Consulting services in health sciences<br>
</div>
</div>
<div class="row mrgn-bttm-md">
<div class="col-md-12">
CREA GROUP life science professionals provide business advice to biotechnology, medical device and medical companies and has a long history working with emerging Canadian companies and the investors who fund them.<br>
<br>
</div>
</div>
</section>
</details>
</div>
</div>
<div class="row">
<div class="col-md-12 text-right">
Last Update Date 2015-07-14
</div>
</div>
<!
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
<!-- End Body Content -->
<!-- Begin Body Foot -->
<!-- End Body Foot -->
<!-- END MAIN TABLE -->
<!-- End body -->
<!-- Begin footer -->
<div class="row pagedetails">
<div class="col-sm-5 col-xs-12 datemod">
<dl id="wb-dtmd">
<dt class=" hidden-print">Date Modified:</dt>
<dd class=" hidden-print">
<span><time>2017-03-02</time></span>
</dd>
</dl>
</div>
<div class="clear visible-xs"></div>
<div class="col-sm-4 col-xs-6">
</div>
<div class="col-sm-3 col-xs-6 text-right">
</div>
<div class="clear visible-xs"></div>
</div>
</main>
<footer role="contentinfo" id="wb-info">
<nav role="navigation" class="container wb-navcurr">
<h2 class="wb-inv">About government</h2>
<!-- EPIC FOOTER BEGIN -->
<!-- EPI-11638 Contact us -->
<ul class="list-unstyled colcount-sm-2 colcount-md-3">
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07026.html#pageid=E048-H00000&from=Industries">Contact us</a></li>
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="https:
<li><a href="http://pm.gc.ca/eng">Prime Minister</a></li>
<li><a href="https:
<li><a href="http://open.canada.ca/en/">Open government</a></li>
</ul>
</nav>
<div class="brand">
<div class="container">
<div class="row">
<nav class="col-md-10 ftr-urlt-lnk">
<h2 class="wb-inv">About this site</h2>
<ul>
<li><a href="https:
<li><a href="https:
<li><a href="http://www1.canada.ca/en/newsite.html">About Canada.ca</a></li>
<li><a href="http:
<li><a href="http://www.ic.gc.ca/eic/site/icgc.nsf/eng/h_07033.html#p1">Privacy</a></li>
</ul>
</nav>
<div class="col-xs-6 visible-sm visible-xs tofpg">
<a href="#wb-cont">Top of Page <span class="glyphicon <API key>"></span></a>
</div>
<div class="col-xs-6 col-md-2 text-right">
<object type="image/svg+xml" tabindex="-1" role="img" data="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/assets/wmms-blk.svg" aria-label="Symbol of the Government of Canada"></object>
</div>
</div>
</div>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"></script>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/wet-boew.min.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/ie8-wet-boew2.min.js"></script>
<![endif]
<script src="/utils/scripts/_WET_4-0/apps/themes-dist/gcweb/js/theme.min.js"></script>
<!-- EPI-10519 -->
<span class="wb-sessto"
data-wb-sessto='{"inactivity": 1800000, "reactionTime": 180000, "sessionalive": 1800000, "logouturl": "/app/ccc/srch/cccSrch.do?lang=eng&prtl=1"}'></span>
<script src="/eic/home.nsf/js/jQuery.<API key>.js"></script>
<!-- EPI-11190 - Webtrends -->
<script src="/eic/home.nsf/js/webtrends.js"></script>
<script>var endTime = new Date();</script>
<noscript>
<div><img alt="" id="DCSIMG" width="1" height="1" src="
</noscript>
<!-- /Webtrends -->
<!-- JS deps -->
<script src="/eic/home.nsf/js/jquery.imagesloaded.js"></script>
<!-- EPI-11262 - Util JS -->
<script src="/eic/home.nsf/js/<API key>.min.js"></script>
<!-- EPI-11383 -->
<script src="/eic/home.nsf/js/jQuery.icValidationErrors.js"></script>
<span style="display:none;" id='app-info' <API key>='' <API key>='' <API key>='' <API key>='' data-issue-tracking='' data-scm-sha1='' <API key>='' data-scm-branch='' <API key>=''></span>
</body></html>
<!-- End Footer -->
<!
- Artifact ID: CBW - IMBS - CCC Search WAR
- Group ID: ca.gc.ic.strategis.imbs.ccc.search
- Version: 3.26
- Built-By: bamboo
- Build Timestamp: 2017-03-02T21:29:28Z
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: 1 m 9 s</title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.9.0 / <API key> - 1.3</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
<API key>
<small>
1.3
<span class="label label-success">1 m 9 s</span>
</small>
</h1>
<p><em><script>document.write(moment("2020-08-18 22:12:38 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2020-08-18 22:12:38 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.12 <API key> of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-m4 1 Virtual package relying on m4
coq 8.9.0 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.05.0 The OCaml compiler (virtual package)
ocaml-base-compiler 4.05.0 Official 4.05.0 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.8.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "pierre-yves@strub.nu"
homepage: "https://github.com/math-comp/multinomials-ssr"
bug-reports: "https://github.com/math-comp/multinomials-ssr/issues"
dev-repo: "git+https://github.com/math-comp/multinomials.git"
license: "CeCILL-B"
authors: ["Pierre-Yves Strub"]
build: [
[make "INSTMODE=global" "config"]
[make "-j%{jobs}%"]
]
install: [
[make "install"]
]
depends: [
"coq" {>= "8.7" & < "8.12~"}
"<API key>" {>= "1.8.0" & < "1.10~"}
"<API key>" {>= "1.0.0" & < "1.1~"}
"coq-mathcomp-finmap" {>= "1.2.1" & < "1.3~"}
]
tags: [
"keyword:multinomials"
"keyword:monoid algebra"
"category:Mathematics/Algebra"
"date:2019-06-04"
"logpath:SsrMultinomials"
]
synopsis: "A multivariate polynomial library for the Mathematical Components Library"
url {
src: "https://github.com/math-comp/multinomials/archive/1.3.tar.gz"
checksum: "sha256=<SHA256-like>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install</h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action <API key>.1.3 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 4000000; timeout 2h opam install -y --deps-only <API key>.1.3 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>9 m 25 s</dd>
</dl>
<h2>Install</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam list; echo; ulimit -Sv 16000000; timeout 2h opam install -y -v <API key>.1.3 coq.8.9.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>1 m 9 s</dd>
</dl>
<h2>Installation size</h2>
<p>Total: 16 M</p>
<ul>
<li>11 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/xfinmap.vo</code></li>
<li>2 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/mpoly.vo</code></li>
<li>1 M <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/mpoly.glob</code></li>
<li>456 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/monalg.vo</code></li>
<li>426 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/monalg.glob</code></li>
<li>378 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/freeg.vo</code></li>
<li>370 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/freeg.glob</code></li>
<li>189 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/mpoly.v</code></li>
<li>131 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/ssrcomplements.vo</code></li>
<li>122 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/ssrcomplements.glob</code></li>
<li>64 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/monalg.v</code></li>
<li>48 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/freeg.v</code></li>
<li>14 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/ssrcomplements.v</code></li>
<li>4 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/xfinmap.glob</code></li>
<li>1 K <code>../ocaml-base-compiler.4.05.0/lib/coq/user-contrib/SsrMultinomials/xfinmap.v</code></li>
</ul>
<h2>Uninstall</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y <API key>.1.3</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
<small>Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>pi-agm: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.8.0 / pi-agm - 1.2.6</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
pi-agm
<small>
1.2.6
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2021-11-06 23:39:54 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-11-06 23:39:54 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-threads base
base-unix base
camlp5 7.14 <API key> of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.8.0 Formal proof management system
num 1.4 The legacy Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.08.1 The OCaml compiler (virtual package)
ocaml-base-compiler 4.08.1 Official release 4.08.1
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "yves.bertot@inria.fr"
homepage: "http://www-sop.inria.fr/members/Yves.Bertot/"
bug-reports: "yves.bertot@inria.fr"
license: "CECILL-B"
build: [["coq_makefile" "-f" "_CoqProject" "-o" "Makefile" ]
[ make "-j" "%{jobs}%" ]]
install: [ make "install" "DEST='%{lib}%/coq/user-contrib/pi_agm'" ]
depends: [
"ocaml"
"coq" {>= "8.12"}
"coq-coquelicot" {>= "3" & < "4~"}
"coq-interval" {>= "4"}
]
dev-repo: "git+https://github.com/ybertot/pi-agm.git"
tags: [ "keyword:real analysis" "keyword:pi" "category:Mathematics/Real Calculus and Topology" "logpath:agm" "date:2020-06-23" ]
authors: [ "Yves Bertot <yves.bertot@inria.fr>" ]
synopsis:
"Computing thousands or millions of digits of PI with <API key> means"
description: """
This is a proof of correctness for two algorithms to compute PI to high
precision using <API key> means. A first file contains
the calculus-based proofs for an abstract view of the algorithm, where all
numbers are real numbers. A second file describes how to approximate all
computations using large integers. Other files describe the second algorithm
which is close to the one used in mpfr, for instance.
The whole development can be used to produce mathematically proved and
formally verified approximations of PI."""
url {
src: "https://github.com/ybertot/pi-agm/archive/v1.2.6.zip"
checksum: "sha256=<SHA256-like>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action coq-pi-agm.1.2.6 coq.8.8.0</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.8.0).
The following dependencies couldn't be met:
- coq-pi-agm -> coq >= 8.12
Your request can't be satisfied:
- No available version of coq satisfies the constraints
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base coq-pi-agm.1.2.6</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title><API key>: Not compatible </title>
<link rel="shortcut icon" type="image/png" href="../../../../../favicon.png" />
<link href="../../../../../bootstrap.min.css" rel="stylesheet">
<link href="../../../../../bootstrap-custom.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.2.0/css/font-awesome.min.css" rel="stylesheet">
<script src="../../../../../moment.min.js"></script>
<!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
<!-- WARNING: Respond.js doesn't work if you view the page via file:
<!--[if lt IE 9]>
<script src="https://oss.maxcdn.com/html5shiv/3.7.2/html5shiv.min.js"></script>
<script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
<![endif]
</head>
<body>
<div class="container">
<div class="navbar navbar-default" role="navigation">
<div class="container-fluid">
<div class="navbar-header">
<a class="navbar-brand" href="../../../../.."><i class="fa fa-lg fa-flag-checkered"></i> Coq bench</a>
</div>
<div id="navbar" class="collapse navbar-collapse">
<ul class="nav navbar-nav">
<li><a href="../..">clean / released</a></li>
<li class="active"><a href="">8.7.1+2 / <API key> - 8.10.0</a></li>
</ul>
</div>
</div>
</div>
<div class="article">
<div class="row">
<div class="col-md-12">
<a href="../..">« Up</a>
<h1>
<API key>
<small>
8.10.0
<span class="label label-info">Not compatible </span>
</small>
</h1>
<p> <em><script>document.write(moment("2021-12-10 15:24:45 +0000", "YYYY-MM-DD HH:mm:ss Z").fromNow());</script> (2021-12-10 15:24:45 UTC)</em><p>
<h2>Context</h2>
<pre># Packages matching: installed
# Name # Installed # Synopsis
base-bigarray base
base-num base Num library distributed with the OCaml compiler
base-ocamlbuild base OCamlbuild binary and libraries distributed with the OCaml compiler
base-threads base
base-unix base
camlp5 7.14 <API key> of OCaml
conf-findutils 1 Virtual package relying on findutils
conf-perl 1 Virtual package relying on perl
coq 8.7.1+2 Formal proof management system
num 0 The Num library for arbitrary-precision integer and rational arithmetic
ocaml 4.02.3 The OCaml compiler (virtual package)
ocaml-base-compiler 4.02.3 Official 4.02.3 release
ocaml-config 1 OCaml Switch Configuration
ocamlfind 1.9.1 A library manager for OCaml
# opam file:
opam-version: "2.0"
maintainer: "Hugo.Herbelin@inria.fr"
homepage: "http://perso.ens-lyon.fr/sebastien.briais/tools/Arith_080201.tar.gz"
license: "LGPL"
build: [make "-j%{jobs}%"]
install: [make "install"]
remove: ["rm" "-R" "%{lib}%/coq/user-contrib/<API key>"]
depends: [
"ocaml"
"coq" {>= "8.10" & < "8.11~"}
]
tags: [
"keyword: arithmetic"
"keyword: number theory"
"category: Mathematics/Arithmetic and Number Theory/Miscellaneous"
"date: 2008-02-1"
]
authors: [
"Sébastien Briais <sebastien.briais at ens-lyon.fr> [http://perso.ens-lyon.fr/sebastien.briais/]"
]
bug-reports: "https://github.com/coq-contribs/<API key>/issues"
dev-repo: "git+https://github.com/coq-contribs/<API key>.git"
synopsis: "Fundamental theorems of arithmetic"
flags: light-uninstall
url {
src: "https://github.com/coq-contribs/<API key>/archive/v8.10.0.tar.gz"
checksum: "md5=<API key>"
}
</pre>
<h2>Lint</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Dry install </h2>
<p>Dry install with the current Coq version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam install -y --show-action <API key>.8.10.0 coq.8.7.1+2</code></dd>
<dt>Return code</dt>
<dd>5120</dd>
<dt>Output</dt>
<dd><pre>[NOTE] Package coq is already installed (current version is 8.7.1+2).
The following dependencies couldn't be met:
- <API key> -> coq >= 8.10 -> ocaml >= 4.05.0
base of this switch (use `--unlock-base' to force)
No solution found, exiting
</pre></dd>
</dl>
<p>Dry install without Coq/switch base, to test if the problem was incompatibility with the current Coq/OCaml version:</p>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>opam remove -y coq; opam install -y --show-action --unlock-base <API key>.8.10.0</code></dd>
<dt>Return code</dt>
<dd>0</dd>
</dl>
<h2>Install dependencies</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Install </h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Duration</dt>
<dd>0 s</dd>
</dl>
<h2>Installation size</h2>
<p>No files were installed.</p>
<h2>Uninstall 🧹</h2>
<dl class="dl-horizontal">
<dt>Command</dt>
<dd><code>true</code></dd>
<dt>Return code</dt>
<dd>0</dd>
<dt>Missing removes</dt>
<dd>
none
</dd>
<dt>Wrong removes</dt>
<dd>
none
</dd>
</dl>
</div>
</div>
</div>
<hr/>
<div class="footer">
<p class="text-center">
Sources are on <a href="https:
</p>
</div>
</div>
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script>
<script src="../../../../../bootstrap.min.js"></script>
</body>
</html>
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.