tangledgroup/tangled-llama-p-128k-base-v0.1
Text Generation
•
Updated
•
54
•
2
text
stringlengths 2
1.05M
|
---|
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<title>Gehol tools</title>
<link href='http://fonts.googleapis.com/css?family=Carme' rel='stylesheet' type='text/css'>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
<style>
body {
background-image:url("/static/stardust.png");
text-align: center;
padding: 30px;
font-family: 'Carme', sans-serif;
color: white;
}
#content {
max-width: 1000px;
margin: 0 auto;
}
textarea, input {
color: white;
background-color:rgba(255,255,255,0.1);
border: 1px solid grey;
text-align: center;
font-family: 'Carme', sans-serif;
padding: 5px;
margin: 10px;
font-size: 1em;
}
input[type=submit] {
margin: 10px;
}
input[type="checkbox"] {
display:none;
}
input[type="checkbox"] + label span {
display:inline-block;
width:19px;
height:19px;
margin:-1px 4px 0 0;
vertical-align:middle;
background:url(/static/checkbox.png) left top no-repeat;
cursor:pointer;
}
input[type="checkbox"]:checked + label span {
background:url(/static/checkbox.png) -19px top no-repeat;
}
#left {
text-align: left;
width: 50%;
margin: 0 auto;
}
#urlcopy::selection {
background: grey; /* Safari */
}
#urlcopy::-moz-selection {
background: grey; /* Firefox */
}
a {
color: white;
}
a:hover {
text-decoration: none;
}
.gohome {
font-size: 0.7em;
}
h1 a {
text-decoration: none;
}
#bottom {
font-size: 0.8em;
position: relative;
width: 100%;
margin-top: 150px;
}
.some_selected + label span {
opacity: 0.3;
filter: alpha(opacity=30);
}
</style>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.min.js"></script>
</head>
<body>
<div id="content">
<h1><a href="/">Gehol Tools</a></h1>
{% block content %}{% endblock %}
</div>
<p id="bottom">Source code available over <a href="https://github.com/C4ptainCrunch/gehol-tools">there</a><br>
(Apache 2 license)<br>
Feel free to send me an <a href="mailto:nikita.marchant@ulb.ac.be">email</a> or file an <a href="https://github.com/C4ptainCrunch/gehol-tools/issues/new">issue</a> on GitHub<p>
</body>
</html> |
<!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]-->
<head>
<meta charset="utf-8" />
<!-- Web Experience Toolkit (WET) / Boîte à outils de l'expérience Web (BOEW)
wet-boew.github.io/wet-boew/License-en.html / wet-boew.github.io/wet-boew/Licence-fr.html -->
<title>Progress polyfill (progress bar)
- Polyfills
- Documentation
- Web Experience Toolkit
</title>
<meta content="width=device-width, initial-scale=1" name="viewport" />
<!-- Meta data -->
<meta name="description" content="Emulates progress element support for browsers that do not have support. The progress element displays the progress of a task." />
<!-- Meta data-->
<!--[if gte IE 9 | !IE ]><!-->
<link href="../../../assets/favicon.ico" rel="icon" type="image/x-icon" />
<link rel="stylesheet" href="../../../css/wet-boew.css" />
<!--<![endif]-->
<link rel="stylesheet" href="../../../css/theme.css" />
<!--[if lt IE 9]>
<link href="../../../assets/favicon.ico" rel="shortcut icon" />
<link rel="stylesheet" href="../../../css/ie8-wet-boew.css" />
<script src="http://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.js"></script>
<script src="../../../js/ie8-wet-boew.js"></script>
<![endif]-->
<noscript><link rel="stylesheet" href="../../../css/noscript.css" /></noscript>
</head>
<body vocab="http://schema.org/" typeof="WebPage">
<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">
<div id="wb-bar">
<div class="container">
<div class="row">
<section id="wb-lng" class="visible-md visible-lg">
<h2>Language selection</h2>
<ul class="text-right">
<li><a lang="fr" hreflang="fr" href="progress-fr.html">Français</a></li>
<li class="curr">English <span>(current)</span></li>
</ul>
</section>
<section class="wb-mb-links col-xs-12 visible-sm visible-xs" id="wb-glb-mn">
<h2>Search and menus</h2>
<ul class="pnl-btn list-inline text-right">
<li><a href="#mb-pnl" title="Search and menus" aria-controls="mb-pnl" class="overlay-lnk btn btn-sm btn-default" 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>
</div>
</div>
</div>
<div class="container">
<div class="row">
<div id="wb-sttl" class="col-md-8">
<a href="../../../index-en.html">
<object type="image/svg+xml" tabindex="-1" data="../../../assets/logo.svg"></object>
<span>Web Experience Toolkit<span class="wb-inv">, </span><small>Collaborative open source project led by the Government of Canada</small></span>
</a>
</div>
<section id="wb-srch" class="col-md-4 visible-md visible-lg">
<h2>Search</h2>
<form action="https://google.ca/search" method="get" role="search" class="form-inline">
<div class="form-group">
<label for="wb-srch-q">Search website</label>
<input id="wb-srch-q" class="form-control" name="q" type="search" value="" size="27" maxlength="150" />
<input type="hidden" name="q" value="site:wet-boew.github.io OR site:github.com/wet-boew/" />
</div>
<button type="submit" id="wb-srch-sub" class="btn btn-default">Search</button>
</form>
</section>
</div>
</div>
</div>
<nav role="navigation" id="wb-sm" data-ajax-fetch="../../../ajax/sitemenu-en.html" data-trgt="mb-pnl" class="wb-menu visible-md visible-lg" typeof="SiteNavigationElement">
<div class="container nvbar">
<h2>Topics menu</h2>
<div class="row">
<ul class="list-inline menu">
<li><a href="../../../index-en.html">WET project</a></li>
<li><a href="../../../docs/start-en.html#implement">Implement WET</a></li>
<li><a href="../../../docs/start-en.html">Contribute to WET</a></li>
</ul>
</div>
</div>
</nav>
<nav role="navigation" id="wb-bc" property="breadcrumb">
<h2>You are here:</h2>
<div class="container">
<div class="row">
<ol class="breadcrumb">
<li>
<a href="../../../index-en.html">Home</a>
</li>
<li>
<a href="../../../docs/index-en.html">Documentation</a>
</li>
<li>
<a href="../../../docs/ref/polyfills-en.html">Polyfills</a>
</li>
<li>Progress polyfill (progress bar)</li>
</ol>
</div>
</div>
</nav>
</header>
<main role="main" property="mainContentOfPage" class="container">
<h1 id="wb-cont" property="name">Progress polyfill (progress bar)</h1>
<section class="alert alert-warning">
<h2 class="h3">Looking for WET v3.1?</h2>
<p>As of September 23, 2014, version 3.1 of the Web Experience Toolkit is no longer supported. The source code and documentation have been moved to the <a href="https://github.com/wet-boew/wet-boew-legacy">wet-boew-legacy</a> repository.</p>
</section>
<p>
<a class="btn btn-primary" href="https://github.com/wet-boew/wet-boew/issues/new?title=Progress%20polyfill%20(progress%20bar):%20">Questions or comments?</a>
</p>
<span class="wb-prettify all-pre hide"></span>
<section>
<h2>Purpose</h2>
<p>The HTML5 <code>progress</code> element displays the progress of a task. Because some browsers do not support this functionality natively, this polyfill emulates the same functionality using generic HTML and WAI-ARIA.</p>
</section>
<section>
<h2>Use when</h2>
<ul>
<li>Displaying the progress of a task</li>
</ul>
</section>
<section>
<h2>Working example</h2>
<section>
<h3>Task in progress</h3>
<pre><code><progress value="25" max="100" /></code></pre>
</section>
<section>
<h3>Completed task</h3>
<pre><code><progress value="50" max="50" /></code></pre>
</section>
<section>
<h3>Task of indeterminate progress</h3>
<pre><code><progress /></code></pre>
or
<pre><code><progress max="50" /></code></pre>
</section>
<ul>
<li><a href="../../../demos/progress/progress-en.html">English examples</a></li>
<li><a href="../../../demos/progress/progress-fr.html">French examples</a></li>
</ul>
</section>
<section>
<h2>How to implement</h2>
<p>To use the polyfill, a standard <code>progress</code> element must be used. In cases where a browser doesn't support the <code>progress</code> element, the polyfill is automatically loaded.</p>
</section>
<section>
<h2>Configuration options</h2>
<p><a href="http://www.w3.org/TR/html5/forms.html#the-progress-element">Configuration options available for the <code>progress</code> element (HTML5 specification)</a></p>
</section>
<section>
<h2>Events</h2>
<table class="table">
<thead>
<tr>
<th>Event</th>
<th>Trigger</th>
<th>What it does</th>
</tr>
</thead>
<tbody>
<tr>
<td><code>wb-init.wb-progress</code></td>
<td>Triggered manually (e.g., <code>$( "progress" ).trigger( "wb-init.wb-progress" );</code>).</td>
<td>Used to manually initialize the <code>progress</code> polyfill. <strong>Note:</strong> The <code>progress</code> polyfill will be initialized automatically unless the <code>progress</code> element is added after the page has already loaded.</td>
</tr>
<tr>
<td><code>wb-update.wb-progress</code></td>
<td>Triggered manually (e.g., <code>$( "progress" ).trigger( "wb-update.wb-progress" );</code>).</td>
<td>Used to manually update the <code>progress</code> polyfill.</td>
</tr>
<tr>
<td><code>wb-ready.wb-progress</code> (v4.0.5+)</td>
<td>Triggered automatically after the <code>progress</code> polyfill initializes. <strong>Note:</strong> This event will only be triggered if the polyfill is loaded. The polyfill will not load for browsers with native <code>progress</code> support.</td>
<td>Used to identify where the <code>progress</code> polyfill initialized (target of the event)
<pre><code>$( document ).on( "wb-ready.wb-progress", "progress", function( event ) {
});</code></pre>
<pre><code>$( "progress" ).on( "wb-ready.wb-progress", function( event ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>wb-updated.wb-progress</code> (v4.0.5+)</td>
<td>Triggered automatically after the <code>progress</code> polyfill is updated. <strong>Note:</strong> This event will only be triggered if the polyfill is loaded. The polyfill will not load for browsers with native <code>progress</code> support.</td>
<td>Used to identify where the <code>progress</code> polyfill initialized (target of the event)
<pre><code>$( document ).on( "wb-updated.wb-progress", "progress", function( event ) {
});</code></pre>
<pre><code>$( "progress" ).on( "wb-updated.wb-progress", function( event ) {
});</code></pre>
</td>
</tr>
<tr>
<td><code>wb-ready.wb</code> (v4.0.5+)</td>
<td>Triggered automatically when WET has finished loading and executing.</td>
<td>Used to identify when all WET plugins and polyfills have finished loading and executing.
<pre><code>$( document ).on( "wb-ready.wb", function( event ) {
});</code></pre>
</td>
</tr>
</tbody>
</table>
</section>
<section>
<h2>Source code</h2>
<p><a href="https://github.com/wet-boew/wet-boew/tree/master/src/polyfills/progress">Progress polyfill source code on GitHub</a></p>
</section>
<dl id="wb-dtmd">
<dt>Date modified: </dt>
<dd><time property="dateModified">2014-08-04</time></dd>
</dl>
</main>
<footer role="contentinfo" id="wb-info" class="visible-sm visible-md visible-lg wb-navcurr">
<div class="container">
<nav role="navigation" class="row">
<h2>About this site</h2>
<section class="col-sm-3">
<h3>Contact us</h3>
<ul class="list-unstyled">
<li><a href="https://github.com/wet-boew/wet-boew/issues/new">Questions or comments?</a></li>
</ul>
</section>
<section class="col-sm-3">
<h3>About</h3>
<ul class="list-unstyled">
<li><a href="../../../index-en.html#about">About the Web Experience Toolkit</a></li>
<li><a href="http://www.tbs-sct.gc.ca/ws-nw/index-eng.asp">About the Web Standards</a></li>
</ul>
</section>
<section class="col-sm-3">
<h3>News</h3>
<ul class="list-unstyled">
<li><a href="https://github.com/wet-boew/wet-boew/pulse">Recent project activity</a></li>
<li><a href="https://github.com/wet-boew/wet-boew/graphs">Project statistics</a></li>
</ul>
</section>
<section class="col-sm-3">
<h3>Stay connected</h3>
<ul class="list-unstyled">
<li><a href="https://twitter.com/WebExpToolkit">Twitter</a></li>
</ul>
</section>
</nav>
</div>
</footer>
<!--[if gte IE 9 | !IE ]><!-->
<script src="http://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.js"></script>
<script src="../../../js/wet-boew.js"></script>
<!--<![endif]-->
<!--[if lt IE 9]>
<script src="../../../js/ie8-wet-boew2.js"></script>
<![endif]-->
</body>
</html>
|
<h1 mat-dialog-title>Add Function</h1>
<div mat-dialog-content>
<p>What's your functions name?</p>
<mat-form-field>
<input matInput [(ngModel)]="data.name">
</mat-form-field>
<mat-select placeholder="Environment" [(ngModel)]="data.environment">
<mat-option *ngFor="let env of environments" [value]="env.value">
{{ env.label }}
</mat-option>
</mat-select>
</div>
<div mat-dialog-actions>
<button mat-button (click)="onNoClick()">No Thanks</button>
<button mat-button [mat-dialog-close]="data" cdkFocusInitial>Ok</button>
</div> |
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<title>
Baldur Bjarnason -
</title>
<meta name="HandheldFriendly" content="True" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<link rel="stylesheet" type="text/css" href="../../../assets/css/normalize.css" />
<link rel="stylesheet" type="text/css" href="../../../assets/css/icons.css" />
<link rel="stylesheet" type="text/css" href="../../../assets/css/screen.css" />
<link rel="stylesheet" type="text/css" href="../../../custom.css" />
<link rel="me" href="https://micro.blog/baldur" />
<link rel="authorization_endpoint" href="https://micro.blog/indieauth/auth" />
<link rel="token_endpoint" href="https://micro.blog/indieauth/token" />
<link rel="micropub" href="https://micro.blog/micropub" />
<link rel="microsub" href="https://micro.blog/microsub" />
<link rel="webmention" href="https://micro.blog/webmention" />
<link rel="subscribe" href="https://micro.blog/users/follow" />
<meta name="title" content="Baldur Bjarnason - ">
<meta name="description" content="“Micro-Typography: How To Space And Kern Punctuation Marks And Other Symbols — Smashing Magazine”">
<meta property="og:type" content="website">
<meta property="og:url" content="https://notes.baldurbjarnason.com/2020/05/12/microtypography-how-to.html">
<meta property="og:title" content="Baldur Bjarnason - ">
<meta property="og:description" content="“Micro-Typography: How To Space And Kern Punctuation Marks And Other Symbols — Smashing Magazine”">
<meta property="og:image" content="https://notes.baldurbjarnason.com/uploads/2021/c0f7a98dc5.jpg">
<meta property="twitter:card" content="summary">
<meta property="twitter:url" content="https://notes.baldurbjarnason.com/2020/05/12/microtypography-how-to.html/">
<meta property="twitter:title" content="Baldur Bjarnason - ">
<meta property="twitter:description" content="“Micro-Typography: How To Space And Kern Punctuation Marks And Other Symbols — Smashing Magazine”">
<meta property="twitter:image" content="https://notes.baldurbjarnason.com/uploads/2021/c0f7a98dc5.jpg">
</head>
<body class="post-template">
<header class="main-header"><svg width="300" height="300" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 442 442"><g fill-opacity=".502"><path d="M334 340L82 114l173 79z"></path><path d="M203 187l69 1-30 104z" fill="#070808"></path><path d="M219 212l9 136-101-192z" fill="#fff"></path><path d="M209 206L76 119l110 36z" fill="#0c0d0d"></path><path d="M265 256l-47 38 165 93z" fill="#f1f2f2"></path><path d="M246 200l-7-23-46-11zM222 213l-94 239 20-288z" fill="#fff"></path><path d="M219 249l21-56 44 60z" fill="#111"></path><path d="M55 109l48 17-22 1z" fill="#151515"></path><path d="M289 241l12 76 47 56z" fill="#909090"></path><path d="M153 145l69 41-1 30z"></path><path d="M257 212l64 82-34-138z" fill="#fff"></path><path d="M312 145l-77 48-75-50zM299 406l5-96-45-61zM75 116L281-16 141 139z" fill="#fff"></path><path d="M261 183l-5 92-34-15z" fill="#2c2d2d"></path><path d="M260 243l1-62-43 19z" fill="#333"></path><path d="M142 160l-45-30 20 24z" fill="#9c9c9c"></path><path d="M263 264l-44 2 57 28z" fill="#b3b3b3"></path><path d="M189 278l32-65-77-38z" fill="#fff"></path><path d="M208 244l207 189-392-95zM131 125L457 16 236 193zM280 241l-22-36 34-30z" fill="#fff"></path><path d="M222 235l13 42-40-54z" fill="#bebebe"></path><path d="M205 172l-72-32 99 81z" fill="#202020"></path><path d="M274 109L20 95l164 60z" fill="#fff"></path><path d="M282 240l46 85-37-31z" fill="#8e8e8e"></path><path d="M259 256l34 36 8 42z" fill="#fff"></path><path d="M256 185l16 75-44-62z" fill="#323333"></path><path d="M91 140l-22-20 47 19z" fill="#d8d9d9"></path><path d="M63 115l-15-10 11 2z" fill="#515151"></path><path d="M307 198l-38-24-27 6z" fill="#fdfefe"></path><path d="M273 191l-24-7-25 34z" fill="#424242"></path><path d="M269 231l-41-17 4 54z" fill="#202020"></path><path d="M298 265l-25-3-12-42z" fill="#4e4f4f"></path><path d="M172 153l-67-25 52 42z" fill="#2e2e2e"></path><path d="M135 165l-20-22 50 30z" fill="#838383"></path><path d="M89 131h23l-3 6z" fill="#404040"></path><path d="M222 218l-58 40-64-116z" fill="#fff"></path><path d="M309 285l30 70-34-39z" fill="#9e9e9e"></path><path d="M256 253l15 28-26-20z" fill="#686868"></path><path d="M45 103l65 25L249-16zM256 270l26 84-56-65zM272 232l-11-21 12-32z" fill="#fff"></path><path d="M457-16L271 226l72 104z" fill="#fff"></path><path d="M115 143l8-6-23 4z" fill="#595a5a"></path><path d="M188 189l18 18 20 3z" fill="#6e6e6e"></path><path d="M273 193l-14-10-42 20z" fill="#525252"></path><path d="M388 188l-75 19-77-32zM74 121l-90 17 204 63z" fill="#fff"></path><path d="M256 227l-43-50-58-13z" fill="#242424"></path><path d="M275 273l-17-16 3-9z" fill="#fff"></path><path d="M78 123l4-4-19-6z" fill="#222323"></path><path d="M232 253l-14-9 5-8z" fill="#6e6e6e"></path><path d="M309 325l-5-32-24-21z" fill="#adadad"></path><path d="M294 154l-91 17 32 21z" fill="#fff"></path><path d="M282 244l9 30 20 12z" fill="#828383"></path><path d="M255 267l7 19 16 3z" fill="#b0b0b0"></path><path d="M119 148l7-6 18 18z" fill="#575757"></path><path d="M135 137l24 11h-45z" fill="#444"></path><path d="M230 192l-12 36 20-29z" fill="#4e4d4d"></path><path d="M221 275l4-20-36-34z" fill="#f7f7f7"></path><path d="M256 197l15 43-16 12z" fill="#353535"></path><path d="M312 324l8 16-22-23z" fill="#eee"></path><path d="M293 319l-32-60 25 23zM370 413l87-84-162-73zM229 137l-105-10 75 39zM141 167l71 44-228 185z" fill="#fff"></path><path d="M177 189l16 2-26-16z" fill="#919191"></path><path d="M254 278l2-14h-7z" fill="#868686"></path><path d="M231 194l-12 19-34-48z" fill="#202020"></path><path d="M72 147l-10-15 49 5z" fill="#fff"></path><path d="M261 263l-12-4v-31z" fill="#363535"></path><path d="M201 235l15-9 5 7z" fill="#a6a6a6"></path><path d="M60 124l7-6 23 11z" fill="#fafafa"></path><path d="M206 198l-86-59 56 17z" fill="#282828"></path><path d="M119 131l4-147L24 94z" fill="#fff"></path><path d="M214 257l-25-35 31 22z" fill="#f1f1f1"></path><path d="M40 99l10 5 2 7z" fill="#bcbcbc"></path><path d="M263 183l-8 8 10-5z" fill="#868686"></path><path d="M237 193l34-30-74 3z" fill="#fff"></path><path d="M108 147l-11-6 22 3z" fill="#f1f1f1"></path><path d="M224 202l-3 33 45-44z" fill="#363636"></path><path d="M99 133l19 1-8 3z" fill="#393939"></path><path d="M130 161l8-2 2 12z" fill="#c6c6c6"></path><path d="M96 149l22 9 4-8z" fill="#fff"></path><path d="M196 227l13 6 11-12z" fill="#dcdcdc"></path><path d="M237 266l-10 2 21 9z" fill="#b4b4b4"></path><path d="M298 180l-70 6-81-51z" fill="#fff"></path><path d="M148 181l-57-27 38 3z" fill="#fdfdfd"></path><path d="M279 246l18 25-33-17z" fill="#585858"></path><path d="M262 261l-4-8 3-4z" fill="#fff"></path><path d="M230 259l42-22-39-22z" fill="#242424"></path><path d="M123 154l17 1-4-7z" fill="#525252"></path><path d="M273 236l-13 12 17 11z" fill="#404040"></path><path d="M237 273l1-15 16 11z" fill="#747373"></path><path d="M101 125l-22-8 37-31z" fill="#fff"></path><path d="M204 246l14-3 3-8z" fill="#bcbcbc"></path><path d="M310 289l22 53-31-40z" fill="#999"></path><path d="M243 204l-5 31 28-42z" fill="#282828"></path><path d="M272 293l-23-5-8-14z" fill="#e2e2e2"></path><path d="M296 258l-27-32 51-109z" fill="#fff"></path><path d="M311 306l-2-19-39-23z" fill="#929292"></path><path d="M93 134l18 4-27 7zM313 320l2 6-4 7z" fill="#f6f6f6"></path><path d="M126 147l-14 2 15-7z" fill="#575757"></path><path d="M167 163l33 26 8-15z" fill="#212121"></path><path d="M137 166l5-2-1-9z" fill="#5b5b5b"></path><path d="M83 126l9 7 1-4z" fill="#b7b7b7"></path><path d="M292 270l-15-4 2-26z" fill="#6b6b6b"></path><path d="M209 148l-4 24-38-25z" fill="#fdfdfd"></path><path d="M187 157l25 2 18 32z" fill="#fafafa"></path><path d="M265 294l-2-13 11 20z" fill="#f1f1f1"></path><path d="M217 251l8-4-3-5z" fill="#737373"></path><path d="M345 366l9 10-5-1z" fill="#d1d2d2"></path><path d="M229 243l25 14-23 5z" fill="#323131"></path><path d="M143 159l26 18-23-8z" fill="#7a7a7a"></path><path d="M330 372l-45-84-59 31z" fill="#fff"></path><path d="M242 188l11-4-19 16z" fill="#646464"></path><path d="M134 138l-16-6v12z" fill="#454545"></path><path d="M322 345l14 17-6-18z" fill="#d4d4d4"></path><path d="M254 184l-36 25 8 11z" fill="#464646"></path><path d="M231 276l6-2 1-9z" fill="#e5e5e5"></path></g></svg>
<div class="h-card main-header-content">
<h1 class=" blog-title">
<a class="u-url p-name" href="../../../index.html">
Baldur Bjarnason
</a>
</h1>
<p class="p-note blog-description">... works as a web developer in Hveragerði, Iceland, and writes about the web, digital publishing, and web/product development</p>
<p class="p-note blog-description">These are his notes</p>
</div>
<div class="nav">
<a class="nav- " role="presentation" href="../../../about/index.html">About</a>
<a class="nav- " role="presentation" href="../../../archive/index.html">Archive</a>
<a class="nav- " role="presentation" href="../../../main-site/index.html">Main Site</a>
<a class="nav- " role="presentation" href="../../../replies/index.html">Replies</a>
</div>
</header>
<main class="content" role="main">
<article class="post h-entry">
<header class="post-header">
<section class="post-meta">
<time class="post-date dt-published" datetime="2020-05-12 16:49:28 +0000">May 12, 2020</time>
<a class="u-author h-card" href="../../../index.html"></a>
</section>
<h2 class="post-title p-name"></h2>
</header>
<section class="post-content e-content">
<p><a href="https://www.smashingmagazine.com/2020/05/micro-typography-space-kern-punctuation-marks-symbols/?utm_campaign=CSS%2BLayout%2BNews&utm_medium=rss&utm_source=CSS_Layout_News_250">“Micro-Typography: How To Space And Kern Punctuation Marks And Other Symbols — Smashing Magazine”</a></p>
</section>
<footer class="post-footer">
</footer>
</article>
<script type="text/javascript" src="https://micro.blog/conversation.js?url=https%3a%2f%2fnotes.baldurbjarnason.com%2f2020%2f05%2f12%2fmicrotypography-how-to.html"></script>
</main>
<footer class="site-footer">
<section class="rss"><a class="subscribe-button icon-feed" href="../../../feed.xml"></a></section>
<section class="copyright">© 2021 Baldur Bjarnason</section>
<section class="poweredby"><a href="http://thedarkroast.com/arabica">Arabica</a> theme by Sean Lunsford. Published with <a href="https://gohugo.io">Hugo</a> and <a href="https://micro.blog/">Micro.blog</a>.</section>
</footer>
</body>
</html>
|
{% extends "layout.html" %}
{% block pageTitle %}
Sorry, you’re not eligible to take an emergency test
{% endblock %}
{% block content %}
<a class="govuk-back-link" href="javascript: history.go(-1)">Back</a>
<div class="govuk-body govuk-!-margin-top-9 govuk-body govuk-!-margin-bottom-9">
<h1 class="govuk-heading-xl">
Sorry, you’re not eligible to take an emergency test
</h1>
<div class="govuk-grid-row">
<div class="govuk-grid-column-two-thirds">
<p>This service is for people whose work is critical to the coronavirus response.</p>
<p>You can read about what happens if you need to take a driving test or if your test was cancelled because of coronavirus.</p>
<p>If your job changes and your work becomes critical to the coronavirus response, go to www.gov.uk/apply-emergency-driving-test and go through the questions again.</p>
<p>We will not store the information you entered into this service.</p>
</div>
</div>
</div>
{% endblock %} |
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html xmlns:erl="http://erlang.org" xmlns:fn="http://www.w3.org/2005/02/xpath-functions">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link rel="stylesheet" href="../../../../doc/otp_doc.css" type="text/css">
<title>Erlang -- ssh</title>
</head>
<body>
<div id="container">
<script id="js" type="text/javascript" language="JavaScript" src="../../../../doc/js/flipmenu/flipmenu.js"></script><script id="js2" type="text/javascript" src="../../../../doc/js/erlresolvelinks.js"></script><script language="JavaScript" type="text/javascript">
<!--
function getWinHeight() {
var myHeight = 0;
if( typeof( window.innerHeight ) == 'number' ) {
//Non-IE
myHeight = window.innerHeight;
} else if( document.documentElement && ( document.documentElement.clientWidth ||
document.documentElement.clientHeight ) ) {
//IE 6+ in 'standards compliant mode'
myHeight = document.documentElement.clientHeight;
} else if( document.body && ( document.body.clientWidth || document.body.clientHeight ) ) {
//IE 4 compatible
myHeight = document.body.clientHeight;
}
return myHeight;
}
function setscrollpos() {
var objf=document.getElementById('loadscrollpos');
document.getElementById("leftnav").scrollTop = objf.offsetTop - getWinHeight()/2;
}
function addEvent(obj, evType, fn){
if (obj.addEventListener){
obj.addEventListener(evType, fn, true);
return true;
} else if (obj.attachEvent){
var r = obj.attachEvent("on"+evType, fn);
return r;
} else {
return false;
}
}
addEvent(window, 'load', setscrollpos);
//--></script><div id="leftnav"><div class="innertube">
<div class="erlang-logo-wrapper"><a href="../../../../doc/index.html"><img alt="Erlang Logo" src="../../../../doc/erlang-logo.png" class="erlang-logo"></a></div>
<p class="section-title">SSH</p>
<p class="section-subtitle">Reference Manual</p>
<p class="section-version">Version 4.5</p>
<ul class="panel-sections">
<li><a href="users_guide.html">User's Guide</a></li>
<li><a href="index.html">Reference Manual</a></li>
<li><a href="release_notes.html">Release Notes</a></li>
<li><a href="../pdf/ssh-4.5.pdf">PDF</a></li>
<li><a href="../../../../doc/index.html">Top</a></li>
</ul>
<ul class="expand-collapse-items">
<li><a href="javascript:openAllFlips()">Expand All</a></li>
<li><a href="javascript:closeAllFlips()">Contract All</a></li>
</ul>
<h3>Table of Contents</h3>
<ul class="flipMenu">
<li title="SSH (App)"><a href="SSH_app.html">SSH (App)
</a></li>
<li id="loadscrollpos" title="ssh " expanded="true">ssh<ul>
<li><a href="ssh.html">
Top of manual page
</a></li>
<li title="close-1"><a href="ssh.html#close-1">close/1</a></li>
<li title="connect-3"><a href="ssh.html#connect-3">connect/3</a></li>
<li title="connect-4"><a href="ssh.html#connect-4">connect/4</a></li>
<li title="connect-2"><a href="ssh.html#connect-2">connect/2</a></li>
<li title="connect-3"><a href="ssh.html#connect-3">connect/3</a></li>
<li title="connection_info-2"><a href="ssh.html#connection_info-2">connection_info/2</a></li>
<li title="daemon-1"><a href="ssh.html#daemon-1">daemon/1</a></li>
<li title="daemon-2"><a href="ssh.html#daemon-2">daemon/2</a></li>
<li title="daemon-3"><a href="ssh.html#daemon-3">daemon/3</a></li>
<li title="daemon-1"><a href="ssh.html#daemon-1">daemon/1</a></li>
<li title="daemon-2"><a href="ssh.html#daemon-2">daemon/2</a></li>
<li title="daemon_info-1"><a href="ssh.html#daemon_info-1">daemon_info/1</a></li>
<li title="default_algorithms-0"><a href="ssh.html#default_algorithms-0">default_algorithms/0</a></li>
<li title="shell-1"><a href="ssh.html#shell-1">shell/1</a></li>
<li title="shell-2"><a href="ssh.html#shell-2">shell/2</a></li>
<li title="shell-3"><a href="ssh.html#shell-3">shell/3</a></li>
<li title="shell-1"><a href="ssh.html#shell-1">shell/1</a></li>
<li title="start-0"><a href="ssh.html#start-0">start/0</a></li>
<li title="start-1"><a href="ssh.html#start-1">start/1</a></li>
<li title="stop-0"><a href="ssh.html#stop-0">stop/0</a></li>
<li title="stop_daemon-1"><a href="ssh.html#stop_daemon-1">stop_daemon/1</a></li>
<li title="stop_daemon-2"><a href="ssh.html#stop_daemon-2">stop_daemon/2</a></li>
<li title="stop_listener-1"><a href="ssh.html#stop_listener-1">stop_listener/1</a></li>
<li title="stop_listener-2"><a href="ssh.html#stop_listener-2">stop_listener/2</a></li>
</ul>
</li>
<li id="no" title="ssh_channel " expanded="false">ssh_channel<ul>
<li><a href="ssh_channel.html">
Top of manual page
</a></li>
<li title="call-2"><a href="ssh_channel.html#call-2">call/2</a></li>
<li title="call-3"><a href="ssh_channel.html#call-3">call/3</a></li>
<li title="cast-2"><a href="ssh_channel.html#cast-2">cast/2</a></li>
<li title="enter_loop-1"><a href="ssh_channel.html#enter_loop-1">enter_loop/1</a></li>
<li title="init-1"><a href="ssh_channel.html#init-1">init/1</a></li>
<li title="reply-2"><a href="ssh_channel.html#reply-2">reply/2</a></li>
<li title="start-4"><a href="ssh_channel.html#start-4">start/4</a></li>
<li title="start_link-4"><a href="ssh_channel.html#start_link-4">start_link/4</a></li>
<li title="Module:code_change-3"><a href="ssh_channel.html#Module:code_change-3">Module:code_change/3</a></li>
<li title="Module:handle_call-3"><a href="ssh_channel.html#Module:handle_call-3">Module:handle_call/3</a></li>
<li title="Module:handle_cast-2"><a href="ssh_channel.html#Module:handle_cast-2">Module:handle_cast/2</a></li>
<li title="Module:handle_msg-2"><a href="ssh_channel.html#Module:handle_msg-2">Module:handle_msg/2</a></li>
<li title="Module:handle_ssh_msg-2"><a href="ssh_channel.html#Module:handle_ssh_msg-2">Module:handle_ssh_msg/2</a></li>
<li title="Module:init-1"><a href="ssh_channel.html#Module:init-1">Module:init/1</a></li>
<li title="Module:terminate-2"><a href="ssh_channel.html#Module:terminate-2">Module:terminate/2</a></li>
</ul>
</li>
<li id="no" title="ssh_connection " expanded="false">ssh_connection<ul>
<li><a href="ssh_connection.html">
Top of manual page
</a></li>
<li title="adjust_window-3"><a href="ssh_connection.html#adjust_window-3">adjust_window/3</a></li>
<li title="close-2"><a href="ssh_connection.html#close-2">close/2</a></li>
<li title="exec-4"><a href="ssh_connection.html#exec-4">exec/4</a></li>
<li title="exit_status-3"><a href="ssh_connection.html#exit_status-3">exit_status/3</a></li>
<li title="ptty_alloc-3"><a href="ssh_connection.html#ptty_alloc-3">ptty_alloc/3</a></li>
<li title="ptty_alloc-4"><a href="ssh_connection.html#ptty_alloc-4">ptty_alloc/4</a></li>
<li title="reply_request-4"><a href="ssh_connection.html#reply_request-4">reply_request/4</a></li>
<li title="send-3"><a href="ssh_connection.html#send-3">send/3</a></li>
<li title="send-4"><a href="ssh_connection.html#send-4">send/4</a></li>
<li title="send-4"><a href="ssh_connection.html#send-4">send/4</a></li>
<li title="send-5"><a href="ssh_connection.html#send-5">send/5</a></li>
<li title="send_eof-2"><a href="ssh_connection.html#send_eof-2">send_eof/2</a></li>
<li title="session_channel-2"><a href="ssh_connection.html#session_channel-2">session_channel/2</a></li>
<li title="session_channel-4"><a href="ssh_connection.html#session_channel-4">session_channel/4</a></li>
<li title="setenv-5"><a href="ssh_connection.html#setenv-5">setenv/5</a></li>
<li title="shell-2"><a href="ssh_connection.html#shell-2">shell/2</a></li>
<li title="subsystem-4"><a href="ssh_connection.html#subsystem-4">subsystem/4</a></li>
</ul>
</li>
<li id="no" title="ssh_client_key_api " expanded="false">ssh_client_key_api<ul>
<li><a href="ssh_client_key_api.html">
Top of manual page
</a></li>
<li title="Module:add_host_key-3"><a href="ssh_client_key_api.html#Module:add_host_key-3">Module:add_host_key/3</a></li>
<li title="Module:is_host_key-4"><a href="ssh_client_key_api.html#Module:is_host_key-4">Module:is_host_key/4</a></li>
<li title="Module:user_key-2"><a href="ssh_client_key_api.html#Module:user_key-2">Module:user_key/2</a></li>
</ul>
</li>
<li id="no" title="ssh_server_key_api " expanded="false">ssh_server_key_api<ul>
<li><a href="ssh_server_key_api.html">
Top of manual page
</a></li>
<li title="Module:host_key-2"><a href="ssh_server_key_api.html#Module:host_key-2">Module:host_key/2</a></li>
<li title="Module:is_auth_key-3"><a href="ssh_server_key_api.html#Module:is_auth_key-3">Module:is_auth_key/3</a></li>
</ul>
</li>
<li id="no" title="ssh_sftp " expanded="false">ssh_sftp<ul>
<li><a href="ssh_sftp.html">
Top of manual page
</a></li>
<li title="apread-4"><a href="ssh_sftp.html#apread-4">apread/4</a></li>
<li title="apwrite-4"><a href="ssh_sftp.html#apwrite-4">apwrite/4</a></li>
<li title="aread-3"><a href="ssh_sftp.html#aread-3">aread/3</a></li>
<li title="awrite-3"><a href="ssh_sftp.html#awrite-3">awrite/3</a></li>
<li title="close-2"><a href="ssh_sftp.html#close-2">close/2</a></li>
<li title="close-3"><a href="ssh_sftp.html#close-3">close/3</a></li>
<li title="del_dir-2"><a href="ssh_sftp.html#del_dir-2">del_dir/2</a></li>
<li title="del_dir-3"><a href="ssh_sftp.html#del_dir-3">del_dir/3</a></li>
<li title="delete-2"><a href="ssh_sftp.html#delete-2">delete/2</a></li>
<li title="delete-3"><a href="ssh_sftp.html#delete-3">delete/3</a></li>
<li title="list_dir-2"><a href="ssh_sftp.html#list_dir-2">list_dir/2</a></li>
<li title="list_dir-3"><a href="ssh_sftp.html#list_dir-3">list_dir/3</a></li>
<li title="make_dir-2"><a href="ssh_sftp.html#make_dir-2">make_dir/2</a></li>
<li title="make_dir-3"><a href="ssh_sftp.html#make_dir-3">make_dir/3</a></li>
<li title="make_symlink-3"><a href="ssh_sftp.html#make_symlink-3">make_symlink/3</a></li>
<li title="make_symlink-4"><a href="ssh_sftp.html#make_symlink-4">make_symlink/4</a></li>
<li title="open-3"><a href="ssh_sftp.html#open-3">open/3</a></li>
<li title="open-4"><a href="ssh_sftp.html#open-4">open/4</a></li>
<li title="open_tar-3"><a href="ssh_sftp.html#open_tar-3">open_tar/3</a></li>
<li title="open_tar-4"><a href="ssh_sftp.html#open_tar-4">open_tar/4</a></li>
<li title="opendir-2"><a href="ssh_sftp.html#opendir-2">opendir/2</a></li>
<li title="opendir-3"><a href="ssh_sftp.html#opendir-3">opendir/3</a></li>
<li title="position-3"><a href="ssh_sftp.html#position-3">position/3</a></li>
<li title="position-4"><a href="ssh_sftp.html#position-4">position/4</a></li>
<li title="pread-4"><a href="ssh_sftp.html#pread-4">pread/4</a></li>
<li title="pread-5"><a href="ssh_sftp.html#pread-5">pread/5</a></li>
<li title="pwrite-4"><a href="ssh_sftp.html#pwrite-4">pwrite/4</a></li>
<li title="pwrite-5"><a href="ssh_sftp.html#pwrite-5">pwrite/5</a></li>
<li title="read-3"><a href="ssh_sftp.html#read-3">read/3</a></li>
<li title="read-4"><a href="ssh_sftp.html#read-4">read/4</a></li>
<li title="read_file-2"><a href="ssh_sftp.html#read_file-2">read_file/2</a></li>
<li title="read_file-3"><a href="ssh_sftp.html#read_file-3">read_file/3</a></li>
<li title="read_file_info-2"><a href="ssh_sftp.html#read_file_info-2">read_file_info/2</a></li>
<li title="read_file_info-3"><a href="ssh_sftp.html#read_file_info-3">read_file_info/3</a></li>
<li title="read_link-2"><a href="ssh_sftp.html#read_link-2">read_link/2</a></li>
<li title="read_link-3"><a href="ssh_sftp.html#read_link-3">read_link/3</a></li>
<li title="read_link_info-2"><a href="ssh_sftp.html#read_link_info-2">read_link_info/2</a></li>
<li title="read_link_info-3"><a href="ssh_sftp.html#read_link_info-3">read_link_info/3</a></li>
<li title="rename-3"><a href="ssh_sftp.html#rename-3">rename/3</a></li>
<li title="rename-4"><a href="ssh_sftp.html#rename-4">rename/4</a></li>
<li title="start_channel-1"><a href="ssh_sftp.html#start_channel-1">start_channel/1</a></li>
<li title="start_channel-2"><a href="ssh_sftp.html#start_channel-2">start_channel/2</a></li>
<li title="start_channel-2"><a href="ssh_sftp.html#start_channel-2">start_channel/2</a></li>
<li title="start_channel-3"><a href="ssh_sftp.html#start_channel-3">start_channel/3</a></li>
<li title="start_channel-1"><a href="ssh_sftp.html#start_channel-1">start_channel/1</a></li>
<li title="start_channel-2"><a href="ssh_sftp.html#start_channel-2">start_channel/2</a></li>
<li title="stop_channel-1"><a href="ssh_sftp.html#stop_channel-1">stop_channel/1</a></li>
<li title="write-3"><a href="ssh_sftp.html#write-3">write/3</a></li>
<li title="write-4"><a href="ssh_sftp.html#write-4">write/4</a></li>
<li title="write_file-3"><a href="ssh_sftp.html#write_file-3">write_file/3</a></li>
<li title="write_file-4"><a href="ssh_sftp.html#write_file-4">write_file/4</a></li>
<li title="write_file_info-3"><a href="ssh_sftp.html#write_file_info-3">write_file_info/3</a></li>
<li title="write_file_info-4"><a href="ssh_sftp.html#write_file_info-4">write_file_info/4</a></li>
</ul>
</li>
<li id="no" title="ssh_sftpd " expanded="false">ssh_sftpd<ul>
<li><a href="ssh_sftpd.html">
Top of manual page
</a></li>
<li title="subsystem_spec-1"><a href="ssh_sftpd.html#subsystem_spec-1">subsystem_spec/1</a></li>
</ul>
</li>
</ul>
</div></div>
<div id="content">
<div class="innertube">
<!-- refpage --><center><h1>ssh</h1></center>
<h3><a name="module" href="#module">Module</a></h3>
<div class="REFBODY module-body">ssh</div>
<h3><a name="module-sumary" href="#module-sumary">Module Summary</a></h3>
<div class="REFBODY module-summary-body">Main API of the ssh application</div>
<h3><a name="description" href="#description">Description</a></h3>
<div class="REFBODY description-body"><p>
<p>Interface module for the <span class="code">ssh</span> application.</p>
<p>See <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','ssh','SSH_app.html#supported');">ssh(6)</a></span> for details of supported version,
algorithms and unicode support.</p>
</p></div>
<h3><a name="idp893904">OPTIONS</a></h3>
<div class="REFBODY rb-3">
<p>The exact behaviour of some functions can be adjusted with the use of options which are documented together
with the functions. Generally could each option be used at most one time in each function call. If given two or more
times, the effect is not predictable unless explicitly documented.</p>
<p>The options are of different kinds:</p>
<dl>
<dt><strong>Limits</strong></dt>
<dd><p>which alters limits in the system, for example number of simultaneous login attempts.</p></dd>
<dt><strong>Timeouts</strong></dt>
<dd><p>which give some defined behaviour if too long time elapses before a given event or action,
for example time to wait for an answer.</p></dd>
<dt><strong>Callbacks</strong></dt>
<dd><p>which gives the caller of the function the possibility to execute own code on some events,
for example calling an own logging function or to perform an own login function</p></dd>
<dt><strong>Behaviour</strong></dt>
<dd><p>which changes the systems behaviour.</p></dd>
</dl>
</div>
<h3><a name="idp900816">DATA TYPES</a></h3>
<div class="REFBODY rb-3">
<p>Type definitions that are used more than once in
this module, or abstractions to indicate the intended use of the data
type, or both:</p>
<dl>
<dt><strong><span class="code">boolean() =</span></strong></dt>
<dd><p><span class="code">true | false</span></p></dd>
<dt><strong><span class="code">string() =</span></strong></dt>
<dd><p><span class="code">[byte()]</span></p></dd>
<dt><strong><span class="code">ssh_daemon_ref() =</span></strong></dt>
<dd><p>opaque() -
as returned by <span class="code">ssh:daemon/[1,2,3]</span></p></dd>
<dt><strong><span class="code">ssh_connection_ref() =</span></strong></dt>
<dd><p>opaque() - as returned by <span class="code">ssh:connect/3</span></p></dd>
<dt><strong><span class="code">ip_address() =</span></strong></dt>
<dd><p><span class="code">inet::ip_address</span></p></dd>
<dt><strong><span class="code">subsystem_spec() =</span></strong></dt>
<dd><p><span class="code">{subsystem_name(),
{channel_callback(), channel_init_args()}}</span></p></dd>
<dt><strong><span class="code">subsystem_name() =</span></strong></dt>
<dd><p><span class="code">string()</span></p></dd>
<dt><strong><span class="code">channel_callback() =</span></strong></dt>
<dd><p><span class="code">atom()</span> - Name of the Erlang module
implementing the subsystem using the <span class="code">ssh_channel</span> behavior, see
<span class="bold_code bc-19"><a href="ssh_channel.html">ssh_channel(3)</a></span></p></dd>
<dt><strong><span class="code">key_cb() =</span></strong></dt>
<dd>
<p><span class="code">atom() | {atom(), list()}</span></p>
<p><span class="code">atom()</span> - Name of the erlang module implementing the behaviours
<span class="bold_code bc-19"><a href="ssh_client_key_api.html">ssh_client_key_api</a></span> or
<span class="bold_code bc-19"><a href="ssh_client_key_api.html">ssh_client_key_api</a></span> as the
case maybe.</p>
<p><span class="code">list()</span> - List of options that can be passed to the callback module.</p>
</dd>
<dt><strong><span class="code">channel_init_args() =</span></strong></dt>
<dd><p><span class="code">list()</span></p></dd>
<dt><strong><span class="code">algs_list() =</span></strong></dt>
<dd><p><span class="code">list( alg_entry() )</span></p></dd>
<dt><strong><span class="code">alg_entry() =</span></strong></dt>
<dd><p><span class="code">{kex, simple_algs()} | {public_key, simple_algs()} | {cipher, double_algs()} | {mac, double_algs()} | {compression, double_algs()}</span></p></dd>
<dt><strong><span class="code">simple_algs() =</span></strong></dt>
<dd><p><span class="code">list( atom() )</span></p></dd>
<dt><strong><span class="code">double_algs() =</span></strong></dt>
<dd><p><span class="code">[{client2serverlist,simple_algs()},{server2client,simple_algs()}] | simple_algs()</span></p></dd>
</dl>
</div>
<h3><a name="exports" href="#exports">Exports</a></h3>
<div class="exports-body">
<p><a name="close-1"></a><span class="bold_code fun-type">close(ConnectionRef) -> ok </span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">ConnectionRef = ssh_connection_ref()</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p><p>Closes an SSH connection.</p>
</p></div>
<p><a name="connect-3"></a><span class="bold_code fun-type">connect(Host, Port, Options) -> </span><br><a name="connect-4"></a><span class="bold_code fun-type">connect(Host, Port, Options, Timeout) -> </span><br><a name="connect-2"></a><span class="bold_code fun-type">connect(TcpSocket, Options) -> </span><br><a name="connect-3"></a><span class="bold_code fun-type">connect(TcpSocket, Options, Timeout) ->
{ok, ssh_connection_ref()} | {error, Reason}</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Host = string()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
<div class="REFBODY rb-6">
<span class="code">22</span> is default, the assigned well-known port
number for SSH.</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Options = [{Option, Value}]</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Timeout = infinity | integer()</span><br>
</div>
<div class="REFBODY rb-6">Negotiation time-out in milli-seconds. The default value is <span class="code">infinity</span>.
For connection time-out, use option <span class="code">{connect_timeout, timeout()}</span>.</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">TcpSocket = port()</span><br>
</div>
<div class="REFBODY rb-6">The socket is supposed to be from <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#connect-3');">gen_tcp:connect</a></span> or <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#accept-1');">gen_tcp:accept</a></span> with option <span class="code">{active,false}</span>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Connects to an SSH server. No channel is started. This is done
by calling
<span class="bold_code bc-15"><a href="ssh_connection.html#session_channel-2">ssh_connection:session_channel/[2, 4]</a></span>.</p>
<p>Options:</p>
<dl>
<dt><strong><span class="code">{inet, inet | inet6}</span></strong></dt>
<dd>
<p>IP version to use.</p>
</dd>
<dt><strong><a name="opt_user_dir"></a><span class="code">{user_dir, string()}</span></strong></dt>
<dd>
<p>Sets the user directory, that is, the directory containing
<span class="code">ssh</span> configuration files for the user, such as
<span class="code">known_hosts</span>, <span class="code">id_rsa,
id_dsa</span>, and
<span class="code">authorized_key</span>. Defaults to the
directory normally referred to as
<span class="code">~/.ssh</span>.</p>
</dd>
<dt><strong><span class="code">{dsa_pass_phrase, string()}</span></strong></dt>
<dd>
<p>If the user DSA key is protected by a passphrase, it can be
supplied with this option.
</p>
</dd>
<dt><strong><span class="code">{rsa_pass_phrase, string()}</span></strong></dt>
<dd>
<p>If the user RSA key is protected by a passphrase, it can be
supplied with this option.
</p>
</dd>
<dt><strong>
<span class="code">{silently_accept_hosts, boolean()}</span> <br>
<span class="code">{silently_accept_hosts, CallbackFun}</span> <br>
<span class="code">{silently_accept_hosts, {HashAlgoSpec, CallbackFun} }</span> <br>
<br>
<span class="code">HashAlgoSpec = crypto:digest_type() | [ crypto:digest_type() ] </span><br>
<span class="code">CallbackFun = fun(PeerName, FingerPrint) -> boolean()</span><br>
<span class="code">PeerName = string()</span><br>
<span class="code">FingerPrint = string() | [ string() ] </span>
</strong></dt>
<dd>
<p>This option guides the <span class="code">connect</span> function how to act when the connected server presents a Host
Key that the client has not seen before. The default is to ask the user with a question on stdio of whether to
accept or reject the new Host Key.
See also the option <span class="bold_code bc-17"><a href="#opt_user_dir"><span class="code">user_dir</span></a></span>
for the path to the file <span class="code">known_hosts</span> where previously accepted Host Keys are recorded.
</p>
<p>The option can be given in three different forms as seen above:</p>
<ul>
<li>The value is a <span class="code">boolean()</span>. The value <span class="code">true</span> will make the client accept any unknown
Host Key without any user interaction. The value <span class="code">false</span> keeps the default behaviour of asking the
the user on stdio.
</li>
<li>A <span class="code">CallbackFun</span> will be called and the boolean return value <span class="code">true</span> will make the client
accept the Host Key. A return value of <span class="code">false</span> will make the client to reject the Host Key and therefore
also the connection will be closed. The arguments to the fun are:
<ul>
<li>
<span class="code">PeerName</span> - a string with the name or address of the remote host.</li>
<li>
<span class="code">FingerPrint</span> - the fingerprint of the Host Key as
<span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','public_key','public_key.html#ssh_hostkey_fingerprint-1');">public_key:ssh_hostkey_fingerprint/1</a></span>
calculates it.
</li>
</ul>
</li>
<li>A tuple <span class="code">{HashAlgoSpec, CallbackFun}</span>. The <span class="code">HashAlgoSpec</span> specifies which hash algorithm
shall be used to calculate the fingerprint used in the call of the <span class="code">CallbackFun</span>. The <span class="code">HashALgoSpec</span>
is either an atom or a list of atoms as the first argument in
<span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','public_key','public_key.html#ssh_hostkey_fingerprint-2');">public_key:ssh_hostkey_fingerprint/2</a></span>.
If it is a list of hash algorithm names, the <span class="code">FingerPrint</span> argument in the <span class="code">CallbackFun</span> will be
a list of fingerprints in the same order as the corresponding name in the <span class="code">HashAlgoSpec</span> list.
</li>
</ul>
</dd>
<dt><strong><span class="code">{user_interaction, boolean()}</span></strong></dt>
<dd>
<p>If <span class="code">false</span>, disables the client to connect to the server
if any user interaction is needed, such as accepting
the server to be added to the <span class="code">known_hosts</span> file, or
supplying a password. Defaults to <span class="code">true</span>.
Even if user interaction is allowed it can be
suppressed by other options, such as <span class="code">silently_accept_hosts</span>
and <span class="code">password</span>. However, those options are not always desirable
to use from a security point of view.</p>
</dd>
<dt><strong><span class="code">{disconnectfun, fun(Reason:term()) -> _}</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging when a server disconnects the client.</p>
</dd>
<dt><strong><span class="code">{unexpectedfun, fun(Message:term(), Peer) -> report | skip }</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging or other action when an unexpected message arrives.
If the fun returns <span class="code">report</span> the usual info report is issued but if <span class="code">skip</span> is returned no
report is generated.</p>
<p><span class="code">Peer</span> is in the format of <span class="code">{Host,Port}</span>.</p>
</dd>
<dt><strong><span class="code">{pref_public_key_algs, list()}</span></strong></dt>
<dd>
<p>List of user (client) public key algorithms to try to use.</p>
<p>The default value is the <span class="code">public_key</span> entry in
<span class="bold_code bc-17"><a href="#default_algorithms-0">ssh:default_algorithms/0</a></span>.
</p>
<p>If there is no public key of a specified type available, the corresponding entry is ignored.
Note that the available set is dependent on the underlying cryptolib and current user's public keys.
</p>
</dd>
<dt><strong><span class="code">{preferred_algorithms, algs_list()}</span></strong></dt>
<dd>
<p>List of algorithms to use in the algorithm negotiation. The default <span class="code">algs_list()</span> can
be obtained from <span class="bold_code bc-17"><a href="#default_algorithms-0">default_algorithms/0</a></span>.
</p>
<p>If an alg_entry() is missing in the algs_list(), the default value is used for that entry.</p>
<p>Here is an example of this option:</p>
<div class="example"><pre>
{preferred_algorithms,
[{public_key,['ssh-rsa','ssh-dss']},
{cipher,[{client2server,['aes128-ctr']},
{server2client,['aes128-cbc','3des-cbc']}]},
{mac,['hmac-sha2-256','hmac-sha1']},
{compression,[none,zlib]}
]
}
</pre></div>
<p>The example specifies different algorithms in the two directions (client2server and server2client),
for cipher but specifies the same algorithms for mac and compression in both directions.
The kex (key exchange) is implicit but public_key is set explicitly.</p>
<div class="warning">
<div class="label">Warning</div>
<div class="content"><p>
<p>Changing the values can make a connection less secure. Do not change unless you
know exactly what you are doing. If you do not understand the values then you
are not supposed to change them.</p>
</p></div>
</div>
</dd>
<dt><strong><span class="code">{dh_gex_limits,{Min=integer(),I=integer(),Max=integer()}}</span></strong></dt>
<dd>
<p>Sets the three diffie-hellman-group-exchange parameters that guides the connected server in choosing a group.
See RFC 4419 for the function of thoose. The default value is <span class="code">{1024, 6144, 8192}</span>.
</p>
</dd>
<dt><strong><span class="code">{connect_timeout, timeout()}</span></strong></dt>
<dd>
<p>Sets a time-out on the transport layer
connection. For <span class="code">gen_tcp</span> the time is in milli-seconds and the default value is
<span class="code">infinity</span>.</p>
</dd>
<dt><strong><span class="code">{auth_methods, string()}</span></strong></dt>
<dd>
<p>Comma-separated string that determines which
authentication methods that the client shall support and
in which order they are tried. Defaults to
<span class="code">"publickey,keyboard-interactive,password"</span></p>
</dd>
<dt><strong><span class="code">{user, string()}</span></strong></dt>
<dd>
<p>Provides a username. If this option is not given, <span class="code">ssh</span>
reads from the environment (<span class="code">LOGNAME</span> or
<span class="code">USER</span> on UNIX,
<span class="code">USERNAME</span> on Windows).</p>
</dd>
<dt><strong><span class="code">{password, string()}</span></strong></dt>
<dd>
<p>Provides a password for password authentication.
If this option is not given, the user is asked for a
password, if the password authentication method is
attempted.</p>
</dd>
<dt><strong><span class="code">{recv_ext_info, boolean()}</span></strong></dt>
<dd>
<p>Tell the server that the client accepts extension negotiation. See
<span class="bold_code bc-20"><a href="https://tools.ietf.org/html/draft-ietf-curdle-ssh-ext-info">Draft-ietf-curdle-ssh-ext-info (work in progress)</a></span> for details.
</p>
<p>Currently implemented extension is <span class="code">server-sig-algs</span> which is the list of the server's preferred
user's public key algorithms.
</p>
<p>Default value is <span class="code">true</span>.
</p>
</dd>
<dt><strong><span class="code">{key_cb, key_cb()}</span></strong></dt>
<dd>
<p>Module implementing the behaviour <span class="bold_code bc-19"><a href="ssh_client_key_api.html">ssh_client_key_api</a></span>. Can be used to
customize the handling of public keys. If callback options are provided
along with the module name, they are made available to the callback
module via the options passed to it under the key 'key_cb_private'.
</p>
</dd>
<dt><strong><span class="code">{quiet_mode, atom() = boolean()}</span></strong></dt>
<dd>
<p>If <span class="code">true</span>, the client does not print anything on authorization.</p>
</dd>
<dt><strong><span class="code">{id_string, random | string()}</span></strong></dt>
<dd>
<p>The string that the client presents to a connected server initially. The default value is "Erlang/VSN" where VSN is the ssh application version number.
</p>
<p>The value <span class="code">random</span> will cause a random string to be created at each connection attempt. This is to make it a bit more difficult for a malicious peer to find the ssh software brand and version.
</p>
</dd>
<dt><strong><span class="code">{fd, file_descriptor()}</span></strong></dt>
<dd>
<p>Allows an existing file descriptor to be used
(by passing it on to the transport protocol).</p>
</dd>
<dt><strong><span class="code">{rekey_limit, integer()}</span></strong></dt>
<dd>
<p>Provides, in bytes, when rekeying is to be initiated.
Defaults to once per each GB and once per hour.</p>
</dd>
<dt><strong><span class="code">{idle_time, integer()}</span></strong></dt>
<dd>
<p>Sets a time-out on a connection when no channels are active.
Defaults to <span class="code">infinity</span>.</p>
</dd>
<dt><strong><span class="code">{ssh_msg_debug_fun, fun(ConnectionRef::ssh_connection_ref(), AlwaysDisplay::boolean(), Msg::binary(), LanguageTag::binary()) -> _}</span></strong></dt>
<dd>
<p>Provide a fun to implement your own logging of the SSH message SSH_MSG_DEBUG. The last three parameters are from the message, see RFC4253, section 11.3. The <span class="code">ConnectionRef</span> is the reference to the connection on which the message arrived. The return value from the fun is not checked.</p>
<p>The default behaviour is ignore the message.
To get a printout for each message with <span class="code">AlwaysDisplay = true</span>, use for example <span class="code">{ssh_msg_debug_fun, fun(_,true,M,_)-> io:format("DEBUG: ~p~n", [M]) end}</span></p>
</dd>
</dl>
</p></div>
<p><a name="connection_info-2"></a><span class="bold_code fun-type">connection_info(ConnectionRef, [Option]) ->[{Option,
Value}]</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Option = client_version | server_version | user | peer | sockname </span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Value = [option_value()] </span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">option_value() = {{Major::integer(), Minor::integer()}, VersionString::string()} |
User::string() | Peer::{inet:hostname(), {inet::ip_adress(), inet::port_number()}} |
Sockname::{inet::ip_adress(), inet::port_number()}</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Retrieves information about a connection.</p>
</p></div>
<p><a name="daemon-1"></a><span class="bold_code fun-type">daemon(Port) -> </span><br><a name="daemon-2"></a><span class="bold_code fun-type">daemon(Port, Options) -> </span><br><a name="daemon-3"></a><span class="bold_code fun-type">daemon(HostAddress, Port, Options) -> </span><br><a name="daemon-1"></a><span class="bold_code fun-type">daemon(TcpSocket) -> </span><br><a name="daemon-2"></a><span class="bold_code fun-type">daemon(TcpSocket, Options) -> {ok, ssh_daemon_ref()} | {error, atom()}</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">HostAddress = ip_address() | any | loopback</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Options = [{Option, Value}]</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Option = atom()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Value = term()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">TcpSocket = port()</span><br>
</div>
<div class="REFBODY rb-6">The socket is supposed to be from <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#connect-3');">gen_tcp:connect</a></span> or <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#accept-1');">gen_tcp:accept</a></span> with option <span class="code">{active,false}</span>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Starts a server listening for SSH connections on the given
port. If the <span class="code">Port</span> is 0, a random free port is selected. See
<span class="bold_code bc-17"><a href="#daemon_info-1">daemon_info/1</a></span> about how to find the selected port number.</p>
<p>Please note that by historical reasons both the <span class="code">HostAddress</span> argument and the inet socket option
<span class="code">ip</span> set the listening address. This is a source of possible inconsistent settings.</p>
<p>The rules for handling the two address passing options are:</p>
<ul>
<li>if <span class="code">HostAddress</span> is an IP-address, that IP-address is the listening address.
An 'ip'-option will be discarded if present.</li>
<li>if <span class="code">HostAddress</span> is <span class="code">loopback</span>, the listening address
is <span class="code">loopback</span> and an loopback address will be choosen by the underlying layers.
An 'ip'-option will be discarded if present.</li>
<li>if <span class="code">HostAddress</span> is <span class="code">any</span> and no 'ip'-option is present, the listening address is
<span class="code">any</span> and the socket will listen to all addresses</li>
<li>if <span class="code">HostAddress</span> is <span class="code">any</span> and an 'ip'-option is present, the listening address is
set to the value of the 'ip'-option</li>
</ul>
<p>Options:</p>
<dl>
<dt><strong><span class="code">{inet, inet | inet6}</span></strong></dt>
<dd><p>IP version to use when the host address is specified as <span class="code">any</span>.</p></dd>
<dt><strong><span class="code">{subsystems, [subsystem_spec()]}</span></strong></dt>
<dd>
<p>Provides specifications for handling of subsystems. The
"sftp" subsystem specification is retrieved by calling
<span class="code">ssh_sftpd:subsystem_spec/1</span>. If the subsystems option is
not present, the value of
<span class="code">[ssh_sftpd:subsystem_spec([])]</span> is used.
The option can be set to the empty list if
you do not want the daemon to run any subsystems.</p>
</dd>
<dt><strong><span class="code">{shell, {Module, Function, Args} |
fun(string() = User) - > pid() | fun(string() = User,
ip_address() = PeerAddr) -> pid()}</span></strong></dt>
<dd>
<p>Defines the read-eval-print loop used when a shell is
requested by the client. The default is to use the Erlang shell:
<span class="code">{shell, start, []}</span></p>
</dd>
<dt><strong><span class="code">{ssh_cli, {channel_callback(),
channel_init_args()} | no_cli}</span></strong></dt>
<dd>
<p>Provides your own CLI implementation, that is, a channel callback
module that implements a shell and command execution. The shell
read-eval-print loop can be customized, using the
option <span class="code">shell</span>. This means less work than implementing
an own CLI channel. If set to <span class="code">no_cli</span>, the CLI channels
are disabled and only subsystem channels are allowed.</p>
</dd>
<dt><strong><span class="code">{user_dir, string()}</span></strong></dt>
<dd>
<p>Sets the user directory. That is, the directory containing
<span class="code">ssh</span> configuration files for the user, such as
<span class="code">known_hosts</span>, <span class="code">id_rsa,
id_dsa</span>, and
<span class="code">authorized_key</span>. Defaults to the
directory normally referred to as
<span class="code">~/.ssh</span>.</p>
</dd>
<dt><strong><span class="code">{system_dir, string()}</span></strong></dt>
<dd>
<p>Sets the system directory, containing the host key files
that identify the host keys for <span class="code">ssh</span>. Defaults to
<span class="code">/etc/ssh</span>. For security reasons,
this directory is normally accessible only to the root user.</p>
</dd>
<dt><strong><span class="code">{auth_methods, string()}</span></strong></dt>
<dd>
<p>Comma-separated string that determines which
authentication methods that the server is to support and
in what order they are tried. Defaults to
<span class="code">"publickey,keyboard-interactive,password"</span></p>
<p>Note that the client is free to use any order and to exclude methods.</p>
</dd>
<dt><strong><span class="code">{auth_method_kb_interactive_data, PromptTexts}</span>
<br><span class="code">where:</span>
<br><span class="code">PromptTexts = kb_int_tuple() | fun(Peer::{IP::tuple(),Port::integer()}, User::string(), Service::string()) -> kb_int_tuple()</span>
<br><span class="code">kb_int_tuple() = {Name::string(), Instruction::string(), Prompt::string(), Echo::boolean()}</span>
</strong></dt>
<dd>
<p>Sets the text strings that the daemon sends to the client for presentation to the user when using <span class="code">keyboar-interactive</span> authentication. If the fun/3 is used, it is called when the actual authentication occurs and may therefore return dynamic data like time, remote ip etc.</p>
<p>The parameter <span class="code">Echo</span> guides the client about need to hide the password.</p>
<p>The default value is:
<span class="code">{auth_method_kb_interactive_data, {"SSH server", "Enter password for \""++User++"\"", "password: ", false}></span></p>
</dd>
<dt><strong><span class="code">{user_passwords, [{string() = User,
string() = Password}]}</span></strong></dt>
<dd>
<p>Provides passwords for password authentication. The passwords
are used when someone tries to connect to the server and
public key user-authentication fails. The option provides
a list of valid usernames and the corresponding passwords.
</p>
</dd>
<dt><strong><span class="code">{password, string()}</span></strong></dt>
<dd>
<p>Provides a global password that authenticates any
user. From a security perspective this option makes
the server very vulnerable.</p>
</dd>
<dt><strong><span class="code">{preferred_algorithms, algs_list()}</span></strong></dt>
<dd>
<p>List of algorithms to use in the algorithm negotiation. The default <span class="code">algs_list()</span> can
be obtained from <span class="bold_code bc-17"><a href="#default_algorithms-0">default_algorithms/0</a></span>.
</p>
<p>If an alg_entry() is missing in the algs_list(), the default value is used for that entry.</p>
<p>Here is an example of this option:</p>
<div class="example"><pre>
{preferred_algorithms,
[{public_key,['ssh-rsa','ssh-dss']},
{cipher,[{client2server,['aes128-ctr']},
{server2client,['aes128-cbc','3des-cbc']}]},
{mac,['hmac-sha2-256','hmac-sha1']},
{compression,[none,zlib]}
]
}
</pre></div>
<p>The example specifies different algorithms in the two directions (client2server and server2client),
for cipher but specifies the same algorithms for mac and compression in both directions.
The kex (key exchange) is implicit but public_key is set explicitly.</p>
<div class="warning">
<div class="label">Warning</div>
<div class="content"><p>
<p>Changing the values can make a connection less secure. Do not change unless you
know exactly what you are doing. If you do not understand the values then you
are not supposed to change them.</p>
</p></div>
</div>
</dd>
<dt><strong><span class="code">{dh_gex_groups, [{Size=integer(),G=integer(),P=integer()}] | {file,filename()} {ssh_moduli_file,filename()} }</span></strong></dt>
<dd>
<p>Defines the groups the server may choose among when diffie-hellman-group-exchange is negotiated.
See RFC 4419 for details. The three variants of this option are:
</p>
<dl>
<dt><strong><span class="code">{Size=integer(),G=integer(),P=integer()}</span></strong></dt>
<dd>The groups are given explicitly in this list. There may be several elements with the same <span class="code">Size</span>.
In such a case, the server will choose one randomly in the negotiated Size.
</dd>
<dt><strong><span class="code">{file,filename()}</span></strong></dt>
<dd>The file must have one or more three-tuples <span class="code">{Size=integer(),G=integer(),P=integer()}</span>
terminated by a dot. The file is read when the daemon starts.
</dd>
<dt><strong><span class="code">{ssh_moduli_file,filename()}</span></strong></dt>
<dd>The file must be in
<span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','public_key','public_key.html#dh_gex_group-4');">ssh-keygen moduli file format</a></span>.
The file is read when the daemon starts.
</dd>
</dl>
<p>The default list is fetched from the
<span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','public_key','public_key.html#dh_gex_group-4');">public_key</a></span> application.
</p>
</dd>
<dt><strong><span class="code">{dh_gex_limits,{Min=integer(),Max=integer()}}</span></strong></dt>
<dd>
<p>Limits what a client can ask for in diffie-hellman-group-exchange.
The limits will be
<span class="code">{MaxUsed = min(MaxClient,Max), MinUsed = max(MinClient,Min)}</span> where <span class="code">MaxClient</span> and
<span class="code">MinClient</span> are the values proposed by a connecting client.
</p>
<p>The default value is <span class="code">{0,infinity}</span>.
</p>
<p>If <span class="code">MaxUsed < MinUsed</span> in a key exchange, it will fail with a disconnect.
</p>
<p>See RFC 4419 for the function of the Max and Min values.</p>
</dd>
<dt><strong><span class="code">{pwdfun, fun(User::string(), Password::string(), PeerAddress::{ip_adress(),port_number()}, State::any()) -> boolean() | disconnect | {boolean(),any()} }</span></strong></dt>
<dd>
<p>Provides a function for password validation. This could used for calling an external system or if
passwords should be stored as a hash. The fun returns:
</p>
<ul>
<li>
<span class="code">true</span> if the user and password is valid and</li>
<li>
<span class="code">false</span> otherwise.</li>
</ul>
<p>This fun can also be used to make delays in authentication tries for example by calling
<span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','stdlib','timer.html#sleep-1');">timer:sleep/1</a></span>. To facilitate counting of failed tries
the <span class="code">State</span> variable could be used. This state is per connection only. The first time the pwdfun
is called for a connection, the <span class="code">State</span> variable has the value <span class="code">undefined</span>.
The pwdfun can return - in addition to the values above - a new state
as:
</p>
<ul>
<li>
<span class="code">{true, NewState:any()}</span> if the user and password is valid or</li>
<li>
<span class="code">{false, NewState:any()}</span> if the user or password is invalid</li>
</ul>
<p>A third usage is to block login attempts from a missbehaving peer. The <span class="code">State</span> described above
can be used for this. In addition to the responses above, the following return value is introduced:
</p>
<ul>
<li>
<span class="code">disconnect</span> if the connection should be closed immediately after sending a SSH_MSG_DISCONNECT
message.</li>
</ul>
</dd>
<dt><strong><span class="code">{pwdfun, fun(User::string(), Password::string()) -> boolean()}</span></strong></dt>
<dd>
<p>Provides a function for password validation. This function is called
with user and password as strings, and returns
<span class="code">true</span> if the password is valid and
<span class="code">false</span> otherwise.</p>
<p>This option (<span class="code">{pwdfun,fun/2}</span>) is the same as a subset of the previous
(<span class="code">{pwdfun,fun/4}</span>). It is kept for compatibility.</p>
</dd>
<dt><strong><span class="code">{negotiation_timeout, integer()}</span></strong></dt>
<dd>
<p>Maximum time in milliseconds for the authentication negotiation.
Defaults to 120000 (2 minutes). If the client fails to log in within this time,
the connection is closed.
</p>
</dd>
<dt><strong><span class="code">{max_sessions, pos_integer()}</span></strong></dt>
<dd>
<p>The maximum number of simultaneous sessions that are accepted at any time
for this daemon. This includes sessions that are being authorized.
Thus, if set to <span class="code">N</span>, and <span class="code">N</span> clients have connected but not started
the login process, connection attempt <span class="code">N+1</span> is aborted.
If <span class="code">N</span> connections are authenticated and still logged in, no more logins
are accepted until one of the existing ones log out.
</p>
<p>The counter is per listening port. Thus, if two daemons are started, one with
<span class="code">{max_sessions,N}</span> and the other with <span class="code">{max_sessions,M}</span>, in total
<span class="code">N+M</span> connections are accepted for the whole <span class="code">ssh</span> application.
</p>
<p>Notice that if <span class="code">parallel_login</span> is <span class="code">false</span>, only one client
at a time can be in the authentication phase.
</p>
<p>By default, this option is not set. This means that the number is not limited.
</p>
</dd>
<dt><strong><span class="code">{max_channels, pos_integer()}</span></strong></dt>
<dd>
<p>The maximum number of channels with active remote subsystem that are accepted for
each connection to this daemon</p>
<p>By default, this option is not set. This means that the number is not limited.
</p>
</dd>
<dt><strong><span class="code">{parallel_login, boolean()}</span></strong></dt>
<dd>
<p>If set to false (the default value), only one login is handled at a time.
If set to true, an unlimited number of login attempts are allowed simultaneously.
</p>
<p>If the <span class="code">max_sessions</span> option is set to <span class="code">N</span> and <span class="code">parallel_login</span>
is set to <span class="code">true</span>, the maximum number of simultaneous login attempts at any time is
limited to <span class="code">N-K</span>, where <span class="code">K</span> is the number of authenticated connections present
at this daemon.
</p>
<div class="warning">
<div class="label">Warning</div>
<div class="content"><p>
<p>Do not enable <span class="code">parallel_logins</span> without protecting the server by other means,
for example, by the <span class="code">max_sessions</span> option or a firewall configuration. If set to
<span class="code">true</span>, there is no protection against DOS attacks.</p>
</p></div>
</div>
</dd>
<dt><strong><span class="code">{minimal_remote_max_packet_size, non_negative_integer()}</span></strong></dt>
<dd>
<p>The least maximum packet size that the daemon will accept in channel open requests from the client. The default value is 0.
</p>
</dd>
<dt><strong><span class="code">{id_string, random | string()}</span></strong></dt>
<dd>
<p>The string the daemon will present to a connecting peer initially. The default value is "Erlang/VSN" where VSN is the ssh application version number.
</p>
<p>The value <span class="code">random</span> will cause a random string to be created at each connection attempt. This is to make it a bit more difficult for a malicious peer to find the ssh software brand and version.
</p>
</dd>
<dt><strong><span class="code">{send_ext_info, boolean()}</span></strong></dt>
<dd>
<p>Send a list of extensions to the client if the client has asked for it. See
<span class="bold_code bc-20"><a href="https://tools.ietf.org/html/draft-ietf-curdle-ssh-ext-info">Draft-ietf-curdle-ssh-ext-info (work in progress)</a></span> for details.
</p>
<p>Currently implemented extension is sending <span class="code">server-sig-algs</span> which is the list of the server's preferred
user's public key algorithms.
</p>
<p>Default value is <span class="code">true</span>.
</p>
</dd>
<dt><strong><span class="code">{key_cb, key_cb()}</span></strong></dt>
<dd>
<p>Module implementing the behaviour <span class="bold_code bc-19"><a href="ssh_server_key_api.html">ssh_server_key_api</a></span>. Can be used to
customize the handling of public keys. If callback options are provided
along with the module name, they are made available to the callback
module via the options passed to it under the key 'key_cb_private'.
</p>
</dd>
<dt><strong><span class="code">{profile, atom()}</span></strong></dt>
<dd>
<p>Used together with <span class="code">ip-address</span> and <span class="code">port</span> to
uniquely identify a ssh daemon. This can be useful in a
virtualized environment, where there can be more that one
server that has the same <span class="code">ip-address</span> and
<span class="code">port</span>. If this property is not explicitly set, it is
assumed that the the <span class="code">ip-address</span> and <span class="code">port</span>
uniquely identifies the SSH daemon.
</p>
</dd>
<dt><strong><span class="code">{fd, file_descriptor()}</span></strong></dt>
<dd>
<p>Allows an existing file-descriptor to be used
(passed on to the transport protocol).</p>
</dd>
<dt><strong><span class="code">{failfun, fun(User::string(),
PeerAddress::ip_address(), Reason::term()) -> _}</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging when a user fails to authenticate.</p>
</dd>
<dt><strong><span class="code">{connectfun, fun(User::string(), PeerAddress::ip_address(),
Method::string()) ->_}</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging when a user authenticates to the server.</p>
</dd>
<dt><strong><span class="code">{disconnectfun, fun(Reason:term()) -> _}</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging when a user disconnects from the server.</p>
</dd>
<dt><strong><span class="code">{unexpectedfun, fun(Message:term(), Peer) -> report | skip }</span></strong></dt>
<dd>
<p>Provides a fun to implement your own logging or other action when an unexpected message arrives.
If the fun returns <span class="code">report</span> the usual info report is issued but if <span class="code">skip</span> is returned no
report is generated.</p>
<p><span class="code">Peer</span> is in the format of <span class="code">{Host,Port}</span>.</p>
</dd>
<dt><strong><span class="code">{idle_time, integer()}</span></strong></dt>
<dd>
<p>Sets a time-out on a connection when no channels are active.
Defaults to <span class="code">infinity</span>.</p>
</dd>
<dt><strong><span class="code">{ssh_msg_debug_fun, fun(ConnectionRef::ssh_connection_ref(), AlwaysDisplay::boolean(), Msg::binary(), LanguageTag::binary()) -> _}</span></strong></dt>
<dd>
<p>Provide a fun to implement your own logging of the SSH message SSH_MSG_DEBUG. The last three parameters are from the message, see RFC4253, section 11.3. The <span class="code">ConnectionRef</span> is the reference to the connection on which the message arrived. The return value from the fun is not checked.</p>
<p>The default behaviour is ignore the message.
To get a printout for each message with <span class="code">AlwaysDisplay = true</span>, use for example <span class="code">{ssh_msg_debug_fun, fun(_,true,M,_)-> io:format("DEBUG: ~p~n", [M]) end}</span></p>
</dd>
</dl>
</p></div>
<p><a name="daemon_info-1"></a><span class="bold_code fun-type">daemon_info(Daemon) -> {ok, [DaemonInfo]} | {error,Error}</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">DaemonInfo = {port,Port::pos_integer()} | {listen_address, any|ip_address()} | {profile,atom()}</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Error = bad_daemon_ref</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Returns a key-value list with information about the daemon. For now, only the listening port is returned. This is intended for the case the daemon is started with the port set to 0.</p>
</p></div>
<p><a name="default_algorithms-0"></a><span class="bold_code fun-type">default_algorithms() -> algs_list()</span><br></p>
<div class="REFBODY rb-7"><p>
<p>Returns a key-value list, where the keys are the different types of algorithms and the values are the
algorithms themselves. An example:</p>
<div class="example"><pre>
20> ssh:default_algorithms().
[{kex,['diffie-hellman-group1-sha1']},
{public_key,['ssh-rsa','ssh-dss']},
{cipher,[{client2server,['aes128-ctr','aes128-cbc','3des-cbc']},
{server2client,['aes128-ctr','aes128-cbc','3des-cbc']}]},
{mac,[{client2server,['hmac-sha2-256','hmac-sha1']},
{server2client,['hmac-sha2-256','hmac-sha1']}]},
{compression,[{client2server,[none,zlib]},
{server2client,[none,zlib]}]}]
21>
</pre></div>
</p></div>
<p><a name="shell-1"></a><span class="bold_code fun-type">shell(Host) -> </span><br><a name="shell-2"></a><span class="bold_code fun-type">shell(Host, Option) -> </span><br><a name="shell-3"></a><span class="bold_code fun-type">shell(Host, Port, Option) -> </span><br><a name="shell-1"></a><span class="bold_code fun-type">shell(TcpSocket) -> _</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Host = string()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Options - see ssh:connect/3</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">TcpSocket = port()</span><br>
</div>
<div class="REFBODY rb-6">The socket is supposed to be from <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#connect-3');">gen_tcp:connect</a></span> or <span class="bold_code bc-13"><a href="javascript:erlhref('../../../../doc/../','kernel','gen_tcp.html#accept-1');">gen_tcp:accept</a></span> with option <span class="code">{active,false}</span>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Starts an interactive shell over an SSH server on the
given <span class="code">Host</span>. The function waits for user input,
and does not return until the remote shell is ended (that is,
exit from the shell).
</p>
</p></div>
<p><a name="start-0"></a><span class="bold_code fun-type">start() -> </span><br><a name="start-1"></a><span class="bold_code fun-type">start(Type) -> ok | {error, Reason}</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Type = permanent | transient | temporary</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Reason = term() </span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Utility function that starts the applications <span class="code">crypto</span>, <span class="code">public_key</span>,
and <span class="code">ssh</span>. Default type is <span class="code">temporary</span>.
For more information, see the <span class="bold_code bc-18"><a href="javascript:erlhref('../../../../doc/../','kernel','application.html');">application(3)</a></span>
manual page in Kernel.</p>
</p></div>
<p><a name="stop-0"></a><span class="bold_code fun-type">stop() -> ok | {error, Reason}</span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Reason = term()</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Stops the <span class="code">ssh</span> application.
For more information, see the <span class="bold_code bc-18"><a href="javascript:erlhref('../../../../doc/../','kernel','application.html');">application(3)</a></span>
manual page in Kernel.</p>
</p></div>
<p><a name="stop_daemon-1"></a><span class="bold_code fun-type">stop_daemon(DaemonRef) -> </span><br><a name="stop_daemon-2"></a><span class="bold_code fun-type">stop_daemon(Address, Port) -> ok </span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">DaemonRef = ssh_daemon_ref()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Address = ip_address()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Stops the listener and all connections started by
the listener.</p>
</p></div>
<p><a name="stop_listener-1"></a><span class="bold_code fun-type">stop_listener(DaemonRef) -> </span><br><a name="stop_listener-2"></a><span class="bold_code fun-type">stop_listener(Address, Port) -> ok </span><br></p>
<div class="REFBODY rb-5">
<h3 class="func-types-title">Types</h3>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">DaemonRef = ssh_daemon_ref()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Address = ip_address()</span><br>
</div>
<div class="REFTYPES rt-4">
<span class="bold_code fun-param-type">Port = integer()</span><br>
</div>
</div>
<div class="REFBODY rb-7"><p>
<p>Stops the listener, but leaves existing connections started
by the listener operational.</p>
</p></div>
</div>
</div>
<div class="footer">
<hr>
<p>Copyright © 2005-2017 Ericsson AB. All Rights Reserved.</p>
</div>
</div>
</div>
<script type="text/javascript">window.__otpTopDocDir = '../../../../doc/js/';</script><script type="text/javascript" src="../../../../doc/js/highlight.js"></script>
</body>
</html>
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush():void.3e26c491a85ee1efa1e93b93bcd8e56c_node9</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<style type="text/css">
body { background-color:#fff; color:#000; font-family:Helvetica, sans-serif; font-size:10pt }
h1 { font-size:14pt }
.code { border-collapse:collapse; width:100%; font-family: "Andale Mono", monospace; font-size:10pt; line-height: 1.2em }
.color_black { color: black }
.color_blue { color: blue }
.color_green { color: green }
.color_orange { color: orange }
.color_red { color: red }
.line { border-left: 3px solid #ccc; padding-left: 1ex; white-space: pre; }
.msg { background-color:#fff8b4; color:#000; float:left; font-family:Helvetica, sans-serif; font-size: smaller; font-weight: bold; margin-bottom:10px; margin-top:10px; max-width:60em; padding:0.5em 1ex 0.5em 1ex; -webkit-border-radius:5px; -webkit-box-shadow:1px 1px 7px #000; white-space: pre-wrap; word-wrap: break-word; }
.num { background-color:#eee; color:#444; font-size: smaller; padding-right:2ex; text-align:right; width:2.5em; }
.dangling { background-color:white; color: gray; }
.visited { background-color:LemonChiffon; color: darkmagenta; }
.tooltip { display: none; background-color:#FFF0F0; border: 2px solid #F00; font-weight: normal; left:10em; padding: 2px; position: absolute; top: -1em; -webkit-border-radius:5px; -webkit-box-shadow:1px 1px 7px #000; z-index: 1}
.with_tooltip { position: relative; }
.with_tooltip:hover .tooltip, .visited:hover .tooltip { display: block; }
</style>
</head>
<body>
<center><h1>Cfg Node <a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">9</a></h1></center>PROC: <a href="./../com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c.html">void ResponseRenderPrintWriter.tryFlush()</a> LINE: <a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>
<br>PREDS:
<a href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node7.html"><span class='visited with_tooltip'>N_7<span class='tooltip'>node7 preds:5 succs:9 exn:3 </span></span></a> <a href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node8.html"><span class='visited with_tooltip'>N_8<span class='tooltip'>node8 preds:6 succs:9 exn:3 </span></span></a><br>SUCCS:
<a href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node2.html"><span class='visited with_tooltip'>N_2<span class='tooltip'>node2 preds:9 3 succs: exn: </span></span></a><br>EXN:
<a href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node3.html"><span class='visited with_tooltip'>N_3<span class='tooltip'>node3 preds: succs:2 exn:2 </span></span></a><br>
<LISTING class='color_green'></LISTING>
<hr width="100%">
<a name="session4" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session4">node9#session4</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [compute pre] liveness 9
<LISTING class='color_black'>JOIN
LEFT: { }
RIGHT: = LEFT
RESULT: = LEFT
</LISTING>
<hr width="100%">
<a name="session5" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session5">node9#session5</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [exec] liveness 9
<LISTING class='color_black'>PRE STATE:
{ }
INSTR= SKIP;
STATE UNCHANGED
</LISTING>
<hr width="100%">
<a name="session29" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session29">node9#session29</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [compute pre] nullify
<LISTING class='color_black'>JOIN
LEFT: ({ },{ _, n$9, n$11, this })
RIGHT: ({ },{ n$8, $irvar1 })
RESULT: ({ },
{ _, n$8, n$9, n$11, $irvar1, this })
</LISTING>
<hr width="100%">
<a name="session30" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session30">node9#session30</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [exec] nullify
<LISTING class='color_black'>PRE STATE:
({ },{ _, n$8, n$9, n$11, $irvar1, this })
INSTR= SKIP;
STATE:
({ },{ })
</LISTING>
<hr width="100%">
<a name="session12" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session12">node9#session12</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [compute pre] quandary(java)
<LISTING class='color_black'>JOIN
LEFT: { n$7 -> { },
cache.CacheService -> (Footprint({ cache.CacheService }) ~> ?, { cacheFileMap -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
this -> (Footprint({ @val$0 }) ~> ?, { out -> (Footprint({ @val$0.endFlag*,
@val$0.baseUrl*,
@val$0.out* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
baseUrl -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
body -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.body*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
endFlag -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
util.PluginHelper -> (Footprint({ util.PluginHelper }) ~> ?, { LOGGER -> (Footprint({ util.PluginHelper.LOGGER*,
common.Constants.pluginServer,
util.BlogBuildInfoUtil.version,
@val$0.adminTokenVO.protocol }) + Sanitizers({ StringConcatenation }) ~> ?, *) }) }
RIGHT: { n$7 -> { } }
RESULT: { n$7 -> { },
cache.CacheService -> (Footprint({ cache.CacheService }) ~> ?, { cacheFileMap -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
this -> (Footprint({ @val$0 }) ~> ?, { out -> (Footprint({ @val$0.endFlag*,
@val$0.baseUrl*,
@val$0.out* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
baseUrl -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
body -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.body*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
endFlag -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
util.PluginHelper -> (Footprint({ util.PluginHelper }) ~> ?, { LOGGER -> (Footprint({ util.PluginHelper.LOGGER*,
common.Constants.pluginServer,
util.BlogBuildInfoUtil.version,
@val$0.adminTokenVO.protocol }) + Sanitizers({ StringConcatenation }) ~> ?, *) }) }
</LISTING>
<hr width="100%">
<a name="session13" href="./../nodes/com.zrlog.web.handler.ResponseRenderPrintWriter.tryFlush%28%29%3Avoid.3e26c491a85ee1efa1e93b93bcd8e56c_node9.html#session13">node9#session13</a>(<a href="./../../ResponseRenderPrintWriter.java.ceb4dd4fa689f77a675f9e4760042a00.html#LINE61">61</a>) [exec] quandary(java)
<LISTING class='color_black'>PRE STATE:
{ n$7 -> { },
cache.CacheService -> (Footprint({ cache.CacheService }) ~> ?, { cacheFileMap -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
this -> (Footprint({ @val$0 }) ~> ?, { out -> (Footprint({ @val$0.endFlag*,
@val$0.baseUrl*,
@val$0.out* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
baseUrl -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
body -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.body*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *),
endFlag -> (Footprint({ cache.CacheService.cacheFileMap*,
@val$0.endFlag*,
@val$0.baseUrl* }) + Sanitizers({ StringConcatenation }) ~> { CreateFile(void ResponseRenderPrintWriter.flush() at line 59) }, *) }),
util.PluginHelper -> (Footprint({ util.PluginHelper }) ~> ?, { LOGGER -> (Footprint({ util.PluginHelper.LOGGER*,
common.Constants.pluginServer,
util.BlogBuildInfoUtil.version,
@val$0.adminTokenVO.protocol }) + Sanitizers({ StringConcatenation }) ~> ?, *) }) }
INSTR= APPLY_ABSTRACTION; [line 61];
STATE UNCHANGED
</LISTING> |
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Tech Essay Marking Guide</title>
<base href="/">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
<link rel="icon" type="image/x-icon" href="favicon.ico">
</head>
<body>
<div class="container">
<app-root></app-root>
</div>
</body>
</html>
|
<!DOCTYPE html>
<html>
<head>
<title>403 Forbidden</title>
</head>
<body>
<p><H1>Forbidden</H1></p><br/>
<span>You don't have permission to access ...</span>
</body>
</html>
|
<!-- Copyright 2001-2013 IEEE and The Open Group, All Rights Reserved -->
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta name="generator" content="HTML Tidy, see www.w3.org">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<link type="text/css" rel="stylesheet" href="style.css"><!-- Generated by The Open Group's rhtm tool v1.2.4 -->
<!-- Copyright (c) 2001-2013 The Open Group, All Rights Reserved -->
<title>pthread_mutex_consistent</title>
</head>
<body bgcolor="white">
<div class="NAVHEADER">
<table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr class="nav">
<td class="nav" width="15%" align="left" valign="bottom"><a href="../functions/pthread_kill.html" accesskey="P"><<<
Previous</a></td>
<td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td>
<td class="nav" width="15%" align="right" valign="bottom"><a href="../functions/pthread_mutex_destroy.html" accesskey="N">Next
>>></a></td>
</tr>
</table>
<hr align="LEFT" width="100%">
</div>
<basefont size="3">
<center><font size="2">The Open Group Base Specifications Issue 7, 2018 edition<br>
IEEE Std 1003.1-2017 (Revision of IEEE Std 1003.1-2008)<br>
Copyright © 2001-2018 IEEE and The Open Group</font></center>
<hr size="2" noshade>
<a name="top"></a> <a name="pthread_mutex_consistent"></a> <a name="tag_16_436"></a><!-- pthread_mutex_consistent -->
<h4 class="mansect"><a name="tag_16_436_01"></a>NAME</h4>
<blockquote>pthread_mutex_consistent - mark state protected by robust mutex as consistent</blockquote>
<h4 class="mansect"><a name="tag_16_436_02"></a>SYNOPSIS</h4>
<blockquote class="synopsis">
<p><code><tt>#include <<a href="../basedefs/pthread.h.html">pthread.h</a>><br>
<br>
int pthread_mutex_consistent(pthread_mutex_t *</tt><i>mutex</i><tt>);<br>
</tt></code></p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_03"></a>DESCRIPTION</h4>
<blockquote>
<p>If <i>mutex</i> is a robust mutex in an inconsistent state, the <i>pthread_mutex_consistent</i>() function can be used to mark
the state protected by the mutex referenced by <i>mutex</i> as consistent again.</p>
<p>If an owner of a robust mutex terminates while holding the mutex, the mutex becomes inconsistent and the next thread that
acquires the mutex lock shall be notified of the state by the return value [EOWNERDEAD]. In this case, the mutex does not become
normally usable again until the state is marked consistent.</p>
<p>If the thread which acquired the mutex lock with the return value [EOWNERDEAD] terminates before calling either
<i>pthread_mutex_consistent</i>() or <a href="../functions/pthread_mutex_unlock.html"><i>pthread_mutex_unlock</i>()</a>, the next
thread that acquires the mutex lock shall be notified about the state of the mutex by the return value [EOWNERDEAD].</p>
<p>The behavior is undefined if the value specified by the <i>mutex</i> argument to <i>pthread_mutex_consistent</i>() does not
refer to an initialized mutex.</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_04"></a>RETURN VALUE</h4>
<blockquote>
<p>Upon successful completion, the <i>pthread_mutex_consistent</i>() function shall return zero. Otherwise, an error value shall be
returned to indicate the error.</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_05"></a>ERRORS</h4>
<blockquote>
<p>The <i>pthread_mutex_consistent</i>() function shall fail if:</p>
<dl compact>
<dt>[EINVAL]</dt>
<dd>The mutex object referenced by <i>mutex</i> is not robust or does not protect an inconsistent state.</dd>
</dl>
<p>These functions shall not return an error code of [EINTR].</p>
</blockquote>
<hr>
<div class="box"><em>The following sections are informative.</em></div>
<h4 class="mansect"><a name="tag_16_436_06"></a>EXAMPLES</h4>
<blockquote>
<p>None.</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_07"></a>APPLICATION USAGE</h4>
<blockquote>
<p>The <i>pthread_mutex_consistent</i>() function is only responsible for notifying the implementation that the state protected by
the mutex has been recovered and that normal operations with the mutex can be resumed. It is the responsibility of the application
to recover the state so it can be reused. If the application is not able to perform the recovery, it can notify the implementation
that the situation is unrecoverable by a call to <a href="../functions/pthread_mutex_unlock.html"><i>pthread_mutex_unlock</i>()</a>
without a prior call to <i>pthread_mutex_consistent</i>(), in which case subsequent threads that attempt to lock the mutex will
fail to acquire the lock and be returned [ENOTRECOVERABLE].</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_08"></a>RATIONALE</h4>
<blockquote>
<p>If an implementation detects that the value specified by the <i>mutex</i> argument to <i>pthread_mutex_consistent</i>() does not
refer to an initialized mutex, it is recommended that the function should fail and report an [EINVAL] error.</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_09"></a>FUTURE DIRECTIONS</h4>
<blockquote>
<p>None.</p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_10"></a>SEE ALSO</h4>
<blockquote>
<p><a href="../functions/pthread_mutex_lock.html#"><i>pthread_mutex_lock</i></a>, <a href=
"../functions/pthread_mutexattr_getrobust.html#"><i>pthread_mutexattr_getrobust</i></a></p>
<p>XBD <a href="../basedefs/pthread.h.html"><i><pthread.h></i></a></p>
</blockquote>
<h4 class="mansect"><a name="tag_16_436_11"></a>CHANGE HISTORY</h4>
<blockquote>
<p>First released in Issue 7.</p>
</blockquote>
<div class="box"><em>End of informative text.</em></div>
<hr>
<p> </p>
<a href="#top"><span class="topOfPage">return to top of page</span></a><br>
<hr size="2" noshade>
<center><font size="2">UNIX ® is a registered Trademark of The Open Group.<br>
POSIX ® is a registered Trademark of The IEEE.<br>
Copyright © 2001-2018 IEEE and The Open Group, All Rights Reserved<br>
[ <a href="../mindex.html">Main Index</a> | <a href="../basedefs/contents.html">XBD</a> | <a href=
"../functions/contents.html">XSH</a> | <a href="../utilities/contents.html">XCU</a> | <a href="../xrat/contents.html">XRAT</a>
]</font></center>
<hr size="2" noshade>
<div class="NAVHEADER">
<table summary="Header navigation table" class="nav" width="100%" border="0" cellpadding="0" cellspacing="0">
<tr class="nav">
<td class="nav" width="15%" align="left" valign="bottom"><a href="../functions/pthread_kill.html" accesskey="P"><<<
Previous</a></td>
<td class="nav" width="70%" align="center" valign="bottom"><a href="contents.html">Home</a></td>
<td class="nav" width="15%" align="right" valign="bottom"><a href="../functions/pthread_mutex_destroy.html" accesskey="N">Next
>>></a></td>
</tr>
</table>
<hr align="LEFT" width="100%">
</div>
</body>
</html>
|
<HTML><HEAD>
<TITLE>Review for Austin Powers: The Spy Who Shagged Me (1999)</TITLE>
<LINK REL="STYLESHEET" TYPE="text/css" HREF="/ramr.css">
</HEAD>
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
<H1 ALIGN="CENTER" CLASS="title"><A HREF="/Title?0145660">Austin Powers: The Spy Who Shagged Me (1999)</A></H1><H3 ALIGN=CENTER>reviewed by<BR><A HREF="/ReviewsBy?Joe+Chamberlain">Joe Chamberlain</A></H3><HR WIDTH="40%" SIZE="4">
<PRE>Austin Powers: The Spy Who Shagged Me
A review by Joe Chamberlain</PRE>
<P>Starring Mike Myers; Heather Graham; Michael York; Robert Wagner & Rob Lowe</P>
<P>I'll have to say that I thought that Austin Powers: The Spy Who Shagged Me
was better than the first one. Although, to the credit of the original, it
seems to be getting funnier each time I see it. I'm guessing that this one
might play the same way. Austin Powers (Mike Myers) is still adjusting to
the 90's when something evil happens. Dr. Evil, that is. Evil (Mike Myers)
and Mr. Bigglesworth (Evil's hairless cat) return to Earth from their
cryogenic sleep chamber on board their Big Boy satellite. Evil now has a
plan to stop Austin Powers for good. His right hand man, Number 2 (Robert
Wagner) has had a time machine built for Dr. Evil. Evil plans to use it to
return to the 1960's and steal Austin Powers' mojo. And he is taking along
some help. While Dr. Evil was in cryogenic sleep, his henchmen have cloned
him. His clone is not quite the perfect match -- he is only 1/3 Evil's size.
But even with his short stature, Mini Me (Verne Troyer) is a force to be
reckoned with. So Evil and Mini Me go back in time where they hook up with a
much younger Number 2 (Rob Lowe) and steal the mojo with the help of a
disgruntled Scotsman by the name of Fat Bastard (Mike Myers). Austin must
then return to the '60's to retrieve his mojo with the help of '60's secret
agent Felicity Shagwell (Heather Graham).</P>
<P>I was very disappointed in the somewhat cheesy way that Elizabeth Hurley was
dealt with in this movie. I'm not sure if it was supposed to be funny but it
really didn't work for me. She had about two minutes of screen time and her
scenes were pretty much the weakest points of the movie through no fault of
her own. As in the first one, Dr. Evil steals the show. Although, Fat
Bastard is pretty good too. Felicity Shagwell comes a close second to the
two evil Myers characters. Heather Graham is a very groovy, and a more than
adequate replacement for Hurley in both the looks and talent departments.
Also, like the first one, Robert Wagner does a great job. As does Rob Lowe,
playing Wagner's younger self. I wouldn't be surprised if this performance
by Lowe resurrects his career.</P>
<P>My sense is that fans of the old James Bond films will catch a few more of
the jokes here than the rest of the audience. There are a lot of very subtle
little things geared towards them that I really appreciated. Some of the
humor, especially surrounding Fat Bastard, was downright disgusting. But I
must admit that it was among the funniest in the film, and I laughed along
with everyone else in the theater.</P>
<P>At times I get the impression that Myers finds something that works and
milks it a bit too much.
The strategically placed object to disguise nudity worked really well in the
first film. So instead of coming up with something more inventive, he based
to whole opening sequence around the hidden nudity. It was funny, but just a
bit of a cop-out in my opinion. Especially considering how much thought was
put into the trailers spoofing the other movie of the summer of '99 -- The
Phantom Menace.</P>
<P>One sequence that I really enjoyed has a scene involving Dr. Evil'
spaceship, which was in the shape of a part of the male anatomy. The
descriptions used by people on the ground as they looked up at it flying
through the sky were hilarious. Then of course, we have Mini Me (Vern
Troyer), Dr. Evil's clone. He combined with Evil to come up with some great
scenes. The interaction between Evil and his son Scott (Seth Green) also
worked just as well in this film as it did in the original. As with the
first, the writers played off the fact that Evil was just slightly behind on
the progress that has been made during his 30 years of hibernation. But this
time they added to it by having Evil screw up in the '60's by using '90's
expressions with the 60's characters that he was trying to interact with.</P>
<P>The movie was stolen by Myers playing Evil as he tried to be the hip villain
but just usually ended up showing how square he really was. Austin Powers:
The Spy Who Shagged should easily rank as one of the funnier films of the
year. The movie was groovy baby, yeah!</P>
<PRE>8/10</PRE>
<PRE>Visit
The Movie Guy
<A HREF="http://movieguy.tripod.com">http://movieguy.tripod.com</A></PRE>
<HR><P CLASS=flush><SMALL>The review above was posted to the
<A HREF="news:rec.arts.movies.reviews">rec.arts.movies.reviews</A> newsgroup (<A HREF="news:de.rec.film.kritiken">de.rec.film.kritiken</A> for German reviews).<BR>
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.<BR>
Please direct comments/criticisms of the review to relevant newsgroups.<BR>
Broken URLs inthe reviews are the responsibility of the author.<BR>
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
</SMALL></P>
<P ALIGN=CENTER>Related links: <A HREF="/Reviews/">index of all rec.arts.movies.reviews reviews</A></P>
</P></BODY></HTML>
|
<!doctype html>
<html class="no-js" lang="ru">
<head>
<meta charset="utf-8">
<meta http-equiv="x-ua-compatible" content="ie=edge">
<title>ThePrimeThanatos</title>
<meta content="" name="description">
<meta content="" name="keywords">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta content="telephone=no" name="format-detection">
<!-- This make sence for mobile browsers. It means, that content has been optimized for mobile browsers -->
<meta name="HandheldFriendly" content="true">
<!--[if (gt IE 9)|!(IE)]><!-->
<link href="static/css/main.css" rel="stylesheet" type="text/css">
<!--<![endif]-->
<meta property="og:title" content="" />
<meta property="og:url" content="" />
<meta property="og:description" content="" />
<meta property="og:image" content="" />
<meta property="og:image:type" content="image/jpeg" />
<meta property="og:image:width" content="500" />
<meta property="og:image:height" content="300" />
<meta property="twitter:description" content="" />
<link rel="image_src" href="" />
<link rel="apple-touch-icon" sizes="57x57" href="static/img/general/favicon/apple-icon-57x57.png">
<link rel="apple-touch-icon" sizes="60x60" href="static/img/general/favicon/apple-icon-60x60.png">
<link rel="apple-touch-icon" sizes="72x72" href="static/img/general/favicon/apple-icon-72x72.png">
<link rel="apple-touch-icon" sizes="76x76" href="static/img/general/favicon/apple-icon-76x76.png">
<link rel="apple-touch-icon" sizes="114x114" href="static/img/general/favicon/apple-icon-114x114.png">
<link rel="apple-touch-icon" sizes="120x120" href="static/img/general/favicon/apple-icon-120x120.png">
<link rel="apple-touch-icon" sizes="144x144" href="static/img/general/favicon/apple-icon-144x144.png">
<link rel="apple-touch-icon" sizes="152x152" href="static/img/general/favicon/apple-icon-152x152.png">
<link rel="apple-touch-icon" sizes="180x180" href="static/img/general/favicon/apple-icon-180x180.png">
<link rel="icon" type="image/png" sizes="192x192" href="static/img/general/favicon/android-icon-192x192.png">
<link rel="icon" type="image/png" sizes="32x32" href="static/img/general/favicon/favicon-32x32.png">
<link rel="icon" type="image/png" sizes="96x96" href="static/img/general/favicon/favicon-96x96.png">
<link rel="icon" type="image/png" sizes="16x16" href="static/img/general/favicon/favicon-16x16.png">
<link rel="manifest" href="static/img/general/favicon/manifest.json">
<meta name="msapplication-TileImage" content="static/img/general/favicon/ms-icon-144x144.png">
<script>
(function (H) { H.className = H.className.replace(/\bno-js\b/, 'js') })(document.documentElement)
</script>
<script src="https://cdn.ckeditor.com/4.11.1/standard/ckeditor.js"></script>
</head>
<body class="page" style="visibility: hidden; opacity: 0;">
<svg xmlns="http://www.w3.org/2000/svg" style="border: 0 !important; clip: rect(0 0 0 0) !important; height: 1px !important; margin: -1px !important; overflow: hidden !important; padding: 0 !important; position: absolute !important; width: 1px !important;"
class="root-svg-symbols-element">
<symbol id="add" viewBox="0 0 19.62 19.625">
<path id="Forma_1_копия_2" data-name="Forma 1 копия 2" class="cls-1" d="M1207.32,515.7v-2.4h-8.62v-8.617h-2.4V513.3h-8.62v2.4h8.62v8.617h2.4V515.7h8.62Z" transform="translate(-1187.69 -504.688)"
/>
</symbol>
<symbol id="back" viewBox="0 0 10 16">
<path fill-rule="evenodd" d="M10.004,13.726 L7.806,15.994 L2.207,10.257 L2.199,10.266 L0.002,7.997 L2.199,5.728 L2.208,5.737 L7.806,-0.001 L10.004,2.268 L4.413,7.997 L10.004,13.726 Z" />
</symbol>
<symbol id="calendar" viewBox="0 0 488.152 488.152">
<path d="M177.854 269.311c0-6.115-4.96-11.069-11.08-11.069h-38.665c-6.113 0-11.074 4.954-11.074 11.069v38.66c0 6.123 4.961 11.079 11.074 11.079h38.665c6.12 0 11.08-4.956 11.08-11.079v-38.66zM274.483 269.311c0-6.115-4.961-11.069-11.069-11.069h-38.67c-6.113 0-11.074 4.954-11.074 11.069v38.66c0 6.123 4.961 11.079 11.074 11.079h38.67c6.108 0 11.069-4.956 11.069-11.079v-38.66zM371.117 269.311c0-6.115-4.961-11.069-11.074-11.069h-38.665c-6.12 0-11.08 4.954-11.08 11.069v38.66c0 6.123 4.96 11.079 11.08 11.079h38.665c6.113 0 11.074-4.956 11.074-11.079v-38.66zM177.854 365.95c0-6.125-4.96-11.075-11.08-11.075h-38.665c-6.113 0-11.074 4.95-11.074 11.075v38.653c0 6.119 4.961 11.074 11.074 11.074h38.665c6.12 0 11.08-4.956 11.08-11.074V365.95zM274.483 365.95c0-6.125-4.961-11.075-11.069-11.075h-38.67c-6.113 0-11.074 4.95-11.074 11.075v38.653c0 6.119 4.961 11.074 11.074 11.074h38.67c6.108 0 11.069-4.956 11.069-11.074V365.95zM371.117 365.95c0-6.125-4.961-11.075-11.069-11.075h-38.67c-6.12 0-11.08 4.95-11.08 11.075v38.653c0 6.119 4.96 11.074 11.08 11.074h38.67c6.108 0 11.069-4.956 11.069-11.074V365.95z"
/>
<path d="M440.254 54.354v59.05c0 26.69-21.652 48.198-48.338 48.198h-30.493c-26.688 0-48.627-21.508-48.627-48.198V54.142h-137.44v59.262c0 26.69-21.938 48.198-48.622 48.198H96.235c-26.685 0-48.336-21.508-48.336-48.198v-59.05c-23.323.703-42.488 20.002-42.488 43.723v346.061c0 24.167 19.588 44.015 43.755 44.015h389.82c24.131 0 43.755-19.889 43.755-44.015V98.077c0-23.721-19.164-43.02-42.487-43.723zm-14.163 368.234c0 10.444-8.468 18.917-18.916 18.917H80.144c-10.448 0-18.916-8.473-18.916-18.917V243.835c0-10.448 8.467-18.921 18.916-18.921h327.03c10.448 0 18.916 8.473 18.916 18.921l.001 178.753z"
/>
<path d="M96.128 129.945h30.162c9.155 0 16.578-7.412 16.578-16.567V16.573C142.868 7.417 135.445 0 126.29 0H96.128C86.972 0 79.55 7.417 79.55 16.573v96.805c0 9.155 7.422 16.567 16.578 16.567zM361.035 129.945h30.162c9.149 0 16.572-7.412 16.572-16.567V16.573C407.77 7.417 400.347 0 391.197 0h-30.162c-9.154 0-16.577 7.417-16.577 16.573v96.805c0 9.155 7.423 16.567 16.577 16.567z"
/>
</symbol>
<symbol id="close" viewBox="0 0 26 26">
<path id="Forma_1" data-name="Forma 1" class="cls-1" d="M1386,213.6l-2.6-2.6L1373,221.4,1362.6,211l-2.6,2.6,10.4,10.4L1360,234.4l2.6,2.6,10.4-10.4,10.4,10.4,2.6-2.6L1375.6,224Z" transform="translate(-1360 -211)" />
</symbol>
<symbol id="del" viewBox="0 0 21 21">
<path fill-rule="evenodd" d="M16.646,2.847 L0.354,2.847 C0.159,2.847 0.000,2.688 0.000,2.491 C0.000,2.295 0.159,2.136 0.354,2.136 L4.619,2.136 C4.658,1.691 4.795,0.940 5.261,0.459 C5.557,0.154 5.931,-0.000 6.375,-0.000 L9.916,-0.000 C10.360,-0.000 10.734,0.154 11.030,0.459 C11.497,0.940 11.633,1.691 11.672,2.136 L16.646,2.136 C16.841,2.136 17.000,2.295 17.000,2.491 C17.000,2.688 16.841,2.847 16.646,2.847 ZM10.521,0.954 C10.363,0.791 10.165,0.712 9.916,0.712 L6.375,0.712 C6.127,0.712 5.929,0.791 5.770,0.954 C5.485,1.247 5.371,1.763 5.331,2.136 L10.960,2.136 C10.921,1.763 10.806,1.247 10.521,0.954 ZM15.244,19.235 C15.232,19.841 14.852,21.000 13.506,21.000 L3.493,21.000 C2.148,21.000 1.768,19.841 1.755,19.228 L1.106,3.559 L15.894,3.559 L15.244,19.235 ZM12.750,14.949 L4.250,14.949 C4.054,14.949 3.896,15.108 3.896,15.305 C3.896,15.502 4.054,15.661 4.250,15.661 L12.750,15.661 C12.945,15.661 13.104,15.502 13.104,15.305 C13.104,15.108 12.945,14.949 12.750,14.949 ZM12.750,16.729 L4.250,16.729 C4.054,16.729 3.896,16.888 3.896,17.085 C3.896,17.282 4.054,17.441 4.250,17.441 L12.750,17.441 C12.945,17.441 13.104,17.282 13.104,17.085 C13.104,16.888 12.945,16.729 12.750,16.729 ZM12.750,18.508 L4.250,18.508 C4.054,18.508 3.896,18.668 3.896,18.864 C3.896,19.061 4.054,19.220 4.250,19.220 L12.750,19.220 C12.945,19.220 13.104,19.061 13.104,18.864 C13.104,18.668 12.945,18.508 12.750,18.508 Z"
/>
</symbol>
<symbol id="download" viewBox="0 0 21 21">
<path fill-rule="evenodd" d="M19.154,21.000 L1.846,21.000 C0.828,21.000 -0.000,20.172 -0.000,19.154 L-0.000,13.002 C-0.000,12.662 0.275,12.387 0.615,12.387 L3.076,12.387 C3.416,12.387 3.691,12.662 3.691,13.002 L3.691,17.309 L17.309,17.309 L17.309,13.002 C17.309,12.662 17.584,12.387 17.924,12.387 L20.385,12.387 C20.725,12.387 21.000,12.662 21.000,13.002 L21.000,19.154 C21.000,20.172 20.172,21.000 19.154,21.000 ZM11.013,15.857 C10.768,16.152 10.314,16.152 10.068,15.857 L3.834,8.474 C3.499,8.073 3.787,7.465 4.307,7.465 L7.383,7.465 L7.383,0.615 C7.383,0.275 7.658,-0.000 7.998,-0.000 L13.002,-0.000 C13.342,-0.000 13.617,0.275 13.617,0.615 L13.617,7.465 L16.693,7.465 C17.213,7.465 17.500,8.073 17.165,8.474 L11.013,15.857 Z"
/>
</symbol>
<symbol id="edit" viewBox="0 0 18 18">
<path fill-rule="evenodd" d="M11.193,3.979 L14.854,7.664 L5.586,16.994 L1.926,13.308 L11.193,3.979 ZM17.633,3.090 L16.000,1.446 C15.369,0.811 14.344,0.811 13.711,1.446 L12.147,3.021 L15.808,6.706 L17.633,4.870 C18.122,4.377 18.122,3.582 17.633,3.090 ZM0.010,18.489 C-0.056,18.790 0.214,19.061 0.514,18.988 L4.594,17.992 L0.935,14.306 L0.010,18.489 Z"
/>
</symbol>
<symbol id="exit" viewBox="0 0 16 16">
<path id="Forma_1" data-name="Forma 1" class="cls-1" d="M51.973,931.667h-5.98A0.666,0.666,0,0,1,45.329,931V919a0.666,0.666,0,0,1,.664-0.667h5.98a0.667,0.667,0,0,0,0-1.333h-5.98A2,2,0,0,0,44,919v12a2,2,0,0,0,1.993,2h5.98A0.667,0.667,0,0,0,51.973,931.667Zm7.829-7.142-4.04-4a0.666,0.666,0,0,0-.933.95l2.887,2.858H49.98a0.667,0.667,0,0,0,0,1.334h7.736l-2.887,2.858a0.667,0.667,0,0,0,.466,1.142,0.66,0.66,0,0,0,.466-0.192l4.04-4A0.669,0.669,0,0,0,59.8,924.525Z"
transform="translate(-44 -917)" />
</symbol>
<symbol id="left" viewBox="0 0 10 16">
<path id="Rectangle_18_copy_6_копия" data-name="Rectangle 18 copy 6 копия" d="M1765.81,753l-7.81,8,2.2,2.269,7.8-8Zm-5.61,5.729L1758,761l7.81,8,2.19-2.268Z" transform="translate(-1758 -753)"
fill="#fff" fill-rule="evenodd" />
</symbol>
<symbol id="menu" viewBox="0 0 512 512">
<path d="M491.318 235.318H20.682C9.26 235.318 0 244.577 0 256s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 78.439H20.682C9.26 78.439 0 87.699 0 99.121c0 11.422 9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.26 20.682-20.682 0-11.422-9.259-20.682-20.682-20.682zM491.318 392.197H20.682C9.26 392.197 0 401.456 0 412.879s9.26 20.682 20.682 20.682h470.636c11.423 0 20.682-9.259 20.682-20.682s-9.259-20.682-20.682-20.682z"
/>
</symbol>
<symbol id="ok" viewBox="0 0 17.837 17.837">
<path d="M16.145 2.571a.7.7 0 0 0-.99 0L6.92 10.804l-4.241-4.27a.698.698 0 0 0-.989 0L.204 8.019a.703.703 0 0 0 0 .99l6.217 6.258a.704.704 0 0 0 .99 0L17.63 5.047a.7.7 0 0 0 0-.994l-1.485-1.482z" />
</symbol>
<symbol id="right" viewBox="0 0 10 16">
<path id="Rectangle_18_copy_6" data-name="Rectangle 18 copy 6" d="M1818.19,753l7.81,8-2.2,2.269-7.8-8Zm5.61,5.729L1826,761l-7.81,8-2.19-2.268Z" transform="translate(-1816 -753)" fill="#fff" fill-rule="evenodd" />
</symbol>
<symbol id="search" viewBox="0 0 56.966 56.966">
<path d="M55.146 51.887L41.588 37.786A22.926 22.926 0 0 0 46.984 23c0-12.682-10.318-23-23-23s-23 10.318-23 23 10.318 23 23 23c4.761 0 9.298-1.436 13.177-4.162l13.661 14.208c.571.593 1.339.92 2.162.92.779 0 1.518-.297 2.079-.837a3.004 3.004 0 0 0 .083-4.242zM23.984 6c9.374 0 17 7.626 17 17s-7.626 17-17 17-17-7.626-17-17 7.626-17 17-17z"
/>
</symbol>
</svg>
<div class="center-center">
<a href="admin/main.html" class="m-button-1">
админ
</a>
<a href="klient/main.html" class="m-button-1">
клиент
</a>
</div>
<div class="overlay "></div>
<div class="popup popup-delete-user">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Удаление пользователя
</div>
<div class="popup__top-desc">
Это действие нельзя будет отменить
</div>
</div>
<div class="popup__desc popup__block white">
<p>
Директор <span>Александр Клубничкин</span> будет удалён.
</p>
<p>Назначте в место него нового директора</p>
<select name="" class="nice-select" id="">
<option value="1">щербакова александра</option>
<option value="2" selected>Александр Клубничкин</option>
<option value="3">Петр Антонов</option>
</select>
</div>
<div class="popup__delete-button popup__block">
<a href="#" class="m-button">
Удалить
</a>
</div>
</div>
</div>
</div>
<div class="popup popup-delete-vote">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Удалить голосование
</div>
<div class="popup__top-desc">
Это действие нельзя будет отменить
</div>
</div>
<div class="popup__desc popup__block white">
<p>Вы действительно хотите удалить это голосование</p>
</div>
<div class="popup__delete-button popup__block">
<a href="#" class="m-button">
Удалить
</a>
</div>
</div>
</div>
</div>
<div class="popup popup-loan">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Оформить займ
</div>
</div>
<form action="#" class="form-loan">
<div class="popup__desc popup__block white">
<div class="loan-form">
<input type="text" placeholder="Сумма займа, тенге" name="numberLoan" class="m-field">
<div class="radio">
<label class="radio__item">
<input type="checkbox" name="radio-group-1" checked>
<div class="radio__psevdo">
есть поручитель
</div>
</label>
<label class="radio__item">
<input type="checkbox" name="radio-group-1">
<div class="radio__psevdo">
Есть недвижимость в собственности
</div>
</label>
</div>
</div>
</div>
<div class="popup__delete-button popup__block">
<button class="m-button">
Оформить
</button>
</div>
</form>
</div>
</div>
</div>
<div class="popup popup-accept">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Выдать квартиру
</div>
<div class="popup__top-desc">
Это действие нельзя будет отменить
</div>
</div>
<div class="popup__desc popup__block white mb0">
<p>
вы действителььно хотите выдать квартиру
</p>
</div>
<div class="form-edit__bottom">
<a href="#" class="form-edit__bottom-button form-edit__bottom-delete">
отменить
</a>
<a href="#" class="form-edit__bottom-button form-edit__bottom-save">
выдать
</a>
</div>
</div>
</div>
</div>
<div class="popup popup-add-user">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Принять пользователя
</div>
</div>
<div class="popup__desc popup__block white">
<p>Вы действительно хотите принять этого пользователя?</p>
</div>
<div class="popup__delete-button popup__block">
<a href="#" class="m-button">
принять
</a>
</div>
</div>
</div>
</div>
<div class="popup add-programm">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Добавление программы
</div>
</div>
<form action="#" class="add-programm-form">
<div class="popup__desc popup__block white">
<div class="popup__programm-name">
<input type="text" placeholder="название программы" name='nameVote' class="m-field">
</div>
<div class="popup__field-block">
<div class="m-title-3">Первоначальный взнос</div>
<input type="text" placeholder="введите число" name='first' class="m-field">
</div>
<div class="popup__field-block">
<div class="m-title-3">Целевой взнос</div>
<input type="text" placeholder="введите число" name='target' class="m-field">
</div>
<div class="popup__field-block">
<div class="m-title-3">Срок</div>
<input type="text" placeholder="введите число" name='term' class="m-field">
</div>
<div class="popup__field-block">
<div class="m-title-3">Вступительный взнос</div>
<input type="text" placeholder="введите число" name='opening' class="m-field">
</div>
<div class="popup__field-block">
<div class="m-title-3">
Тип счёта
</div>
<select name="" class="nice-select" id="">
<option value="1" selected>накопительный</option>
<option value="2">Аннуитетный</option>
</select>
</div>
</div>
<div class="popup__delete-button popup__block">
<button class="m-button">
Сохранить
</button>
</div>
</form>
</div>
</div>
</div>
<div class="popup popup-delete-doc">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Удаление документа
</div>
<div class="popup__top-desc">
Это действие нельзя будет отменить
</div>
</div>
<div class="popup__desc popup__block white">
<p>
Вы действительно хотите удалить документ
<span>Правила кооператива?</span>
</p>
</div>
<div class="popup__delete-button popup__block">
<a href="#" class="m-button">
Удалить
</a>
</div>
</div>
</div>
</div>
<div class="popup popup-edit">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<form action="/" class="form-edit">
<div class="form-edit__content">
<input type="text" name="text" class="m-field" placeholder="заголовок документа">
<label for="textarea" class="field-label">содержимое документа</label>
<textarea name="editor1" name="textarea" id="editor2" rows="10" cols="80">
<p>Потребительские Кооперативы, предлагающие в рассрочку недвижимость – реальное веяние нашего времени. Но, как и все новое, кооперативы воспринимаются народом неоднозначно: одни относятся насторожено, другие – с иронией о
невозможности существования «без обмана». Однако сейчас все больше людей верят в их надежность и вступая, становятся счастливыми обладателями заветных квадратных метров.</p>
<p>Потребительский Кооператив «ВЕСТА ГЛОБАЛ» начал свою все большедеятельность 27 марта 2017 года в г.Павлодар и несмотря на относительно небольшой период времени нам есть чем гордиться. Ежедневно количество пайщиков увеличивается
и выкупленных.</p>
<p>Потребительский Кооператив «ВЕСТА ГЛОБАЛ» начал свою все большедеятельность 27 марта 2017 года в г.Павлодар и несмотря на относительно небольшой период времени нам есть чем гордиться. Ежедневно количество пайщиков увеличивается
и выкупленных.</p>
<p>Потребительский Кооператив «ВЕСТА ГЛОБАЛ» начал свою все большедеятельность 27 марта 2017 года в г.Павлодар и несмотря на относительно небольшой период времени нам есть чем гордиться. Ежедневно количество пайщиков увеличивается
и выкупленных.</p>
</textarea>
<script>
CKEDITOR.replace( 'editor2' );
</script>
</div>
<div class="form-edit__bottom">
<a href="#" class="form-edit__bottom-button form-edit__bottom-delete">
Отменить
</a>
<a href="#" class="form-edit__bottom-button form-edit__bottom-save">
Сохранить
</a>
</div>
</form>
</div>
</div>
</div>
<div class="popup popup-add-doc">
<div class="popup__container">
<div class="popup-content">
<div class="popup__close popupClose">
<svg class="icon__close" width="26px" height="26px">
<use xlink:href="#close"></use>
</svg>
</div>
<div class="popup__top popup__block">
<div class="popup__top-title">
Добавить документ
</div>
<div class="popup__top-desc">
Это действие нельзя будет отменить
</div>
</div>
<form action="/" class="form-edit">
<div class="form-edit__content">
<input type="text" name="text" class="m-field" placeholder="заголовок документа">
<label for="textarea" class="field-label">содержимое документа</label>
<textarea name="editor1" name="textarea" id="editor1" rows="10" cols="80">
</textarea>
<script>
CKEDITOR.replace( 'editor1' );
</script>
</div>
<div class="form-edit__bottom">
<a href="#" class="form-edit__bottom-button form-edit__bottom-delete">
<svg class="icon__del" width="21px" height="21px">
<use xlink:href="#del"></use>
</svg>
Удалить
</a>
<a href="#" class="form-edit__bottom-button form-edit__bottom-save">
Сохранить
</a>
</div>
</form>
</div>
</div>
</div>
<!-- Main scripts. You can replace it, but I recommend you to leave it here -->
<!-- <script src=" " type="text/javascript"></script> -->
<script src="static/js/main.js"></script>
</body>
</html> |
<!DOCTYPE html>
<html>
<head>
<title>
Dashboard client · SOFAStack
</title>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
<meta name="viewport" content="width=device-width,minimum-scale=1">
<meta name="description" content="SOFAStack is a Scalable Open Financial Architecture for building cloud native applications" />
<meta name="generator" content="Hugo 0.55.5" /><link rel="shortcut icon" href=https://gw.alipayobjects.com/os/q/cms/images/jqu9346l/4ba95631-2489-4885-881f-bc7f8d787d5e_w64_h61.png type="image/png">
<link href="https://unpkg.com/purecss@1.0.0/build/base-min.css" rel="stylesheet">
<link href="/css/main.css" rel="stylesheet">
<link href="/css/zoom-image.css" rel="stylesheet">
<script src="/js/iconfont.js"></script>
<script src="/js/highlight.pack.js"></script>
<script>hljs.initHighlightingOnLoad();</script>
<script>window.SITE_LANGUAGE = "en"</script>
<script src="/js/app.js"></script>
<script type="application/javascript">
var doNotTrack = false;
if (!doNotTrack) {
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://www.google-analytics.com/analytics.js','ga');
ga('create', 'UA-142131411-1', 'auto');
ga('send', 'pageview');
}
</script>
</head>
<body>
<header class="ss-header">
<nav class="navbar" role="navigation" aria-label="main navigation">
<div class="navbar-brand">
<a class="logo-link" href="/en/">
<img class="logo" src="/img/logo.png">
</a>
<div class="-show-mobile">
<a id="mobile-menu-icon">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-menu"></use>
</svg>
</a>
<nav id="mobile-menu">
<div id="js-menu-search-mobile" class="navbar-search-mobile">
<input class="input" placeholder="Search">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-search"></use>
</svg>
</div>
<a
class=""
href="/en/projects/">
<span>
Projects
</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-ARROW"></use></svg>
</a>
<a
class=""
href="/en/guides/">
<span>
Guides
</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-ARROW"></use></svg>
</a>
<a
class=""
href="/en/blog/">
<span>
Blog
</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-ARROW"></use></svg>
</a>
<a
class=""
href="/en/activities/">
<span>
Activity
</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-ARROW"></use></svg>
</a>
<a
class=""
href="/awesome/">
<span>
Awesome SOFA
</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-ARROW"></use></svg>
</a>
<a href="/projects/sofa-dashboard/dashboard-client/">
<span>中文</span>
<svg class="icon" aria-hidden="true"><use xlink:href="#icon-transfer"></use></svg>
</a>
</nav>
</div>
</div>
<div class="navbar-menu -hidden-mobile">
<div class="navbar-start">
<a class="navbar-item "
href="/en/projects/">Projects</a>
<a class="navbar-item "
href="/en/guides/">Guides</a>
<a class="navbar-item "
href="/en/blog/">Blog</a>
<a class="navbar-item "
href="/en/activities/">Activity</a>
<a class="navbar-item "
href="/awesome/">Awesome SOFA</a>
</div>
<div class="navbar-end">
<div class="navbar-item">
<div id="js-menu-search" class="navbar-search">
<input class="input" placeholder="Search">
<svg class="icon" aria-hidden="true">
<use xlink:href="#icon-search"></use>
</svg>
</div>
</div>
<div class="navbar-item">
<a class="translation" href="/projects/sofa-dashboard/dashboard-client/">中</a>
</div>
</div>
</div>
</nav>
</header>
<div class="ss-layout-container">
<aside class="ss-layout-aside -left ss-card -soft-hidden">
<div id="js-drawer" class="ss-toc">
<div id="js-drawer-handle" class="drawer-handle">
<svg class="icon icon-menu" aria-hidden="true">
<use xlink:href="#icon-menu"></use>
</svg>
<svg class="icon icon-close" aria-hidden="true">
<use xlink:href="#icon-close"></use>
</svg>
</div>
<div class="drawer-body">
<div class="header" title="SOFADashboard is a control client of the SOFAStack ecology, providing functions such as application information viewing, service governance, and dynamic module control.">SOFADashboard
<div class="ss-toc-list-card -hidden-mobile">
<svg class="icon -hidden-mobile" aria-hidden="true">
<use xlink:href="#icon-menu1"></use>
</svg>
<div class="ss-tooltip">
<div class="toc-list">
<h4 class="title">Main Projects</h4>
<ul class="list">
<li class="item">
<a href=/en/projects/sofa-boot/overview>
SOFABoot
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-rpc/overview>
SOFARPC
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-tracer/overview>
SOFATracer
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-lookout/overview>
SOFALookout
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-registry/overview>
SOFARegistry
</a>
</li>
</ul>
</div>
<div class="toc-list">
<h4 class="title">Incubating Projects</h4>
<ul class="list">
<li class="item">
<a href=/en/projects/sofa-mesh/overview>
SOFAMesh
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-dashboard/overview>
SOFADashboard
</a>
</li>
</ul>
</div>
<div class="toc-list">
<h4 class="title">Tool Projects</h4>
<ul class="list">
<li class="item">
<a href=/en/projects/sofa-bolt/overview>
SOFABolt
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-jraft/overview>
SOFAJRaft
</a>
</li>
<li class="item">
<a href=/en/projects/sofa-acts/overview>
SOFAActs
</a>
</li>
<li class="item">
<a href=https://www.sofastack.tech/en/projects/sofa-boot/sofa-ark-readme/>
SOFAArk
</a>
</li>
</ul>
</div>
<div class="toc-list">
<h4 class="title">Ecosystem Projects</h4>
<ul class="list">
<li class="item">
<a href=https://mosn.io>
MOSN
</a>
</li>
<li class="item">
<a href=https://seata.io>
Seata
</a>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="body">
<ul class="leaf-section">
<li class="item">
<div class="link">
<a
title="SOFADashboard overview"
href="/en/projects/sofa-dashboard/overview"
>SOFADashboard overview</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="Quick start"
href="/en/projects/sofa-dashboard/quick-start"
>Quick start</a>
</div>
</li>
<li class="item">
<div class="link">
<svg class="icon arrow" aria-hidden="true">
<use xlink:href="#icon-arrow"></use>
</svg>
<a
title="Features"
>Features</a>
</div>
<ul class="leaf-section">
<li class="item">
<div class="link -current">
<a
title="Dashboard client"
href="/en/projects/sofa-dashboard/dashboard-client"
>Dashboard client</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="Service governance"
href="/en/projects/sofa-dashboard/governance"
>Service governance</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="SOFAArk control"
href="/en/projects/sofa-dashboard/ark-console"
>SOFAArk control</a>
</div>
</li>
</ul>
</li>
<li class="item">
<div class="link">
<svg class="icon arrow" aria-hidden="true">
<use xlink:href="#icon-arrow"></use>
</svg>
<a
title="Version release"
>Version release</a>
</div>
<ul class="leaf-section">
<li class="item">
<div class="link">
<a
title="Version rules"
href="/en/projects/sofa-dashboard/version-rule"
>Version rules</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="How to contribute"
href="/en/projects/sofa-dashboard/contribution"
>How to contribute</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="Release notes"
href="/en/projects/sofa-dashboard/release-node"
>Release notes</a>
</div>
</li>
</ul>
</li>
<li class="item">
<div class="link">
<a
title="Copyright statement"
href="/en/projects/sofa-dashboard/notice"
>Copyright statement</a>
</div>
</li>
<li class="item">
<div class="link">
<a
title="Roadmap and task claim"
href="/en/projects/sofa-dashboard/roadmap"
>Roadmap and task claim</a>
</div>
</li>
</ul>
</div>
</div>
</div>
</aside>
<main class="ss-layout-main -card">
<div class="ss-meta">
<div class="container">
<h1 class="title">
Dashboard client
</h1>
<a class="edit-button -hidden-mobile"
href="https://github.com/sofastack/sofastack.tech/edit/master/content/en/projects/sofa-dashboard/dashboard-client/index.md"
>Edit</a>
</div>
<div class="meta">
Update time: 2019-08-20
</div>
</div>
<article class="typo">
<p>You can view basic information of your application on SOFADashboard, including the IP address, ports, and health check status. This feature is dependent on the SOFADashboard client. If you want to display the information about an application on the SOFADashboard control page, import the sofa-dashboard-client dependency.</p>
<pre><code class="language-xml"><denpendency>
<groupId>com.alipay.sofa</groupId>
<artifactId>sofa-dashboard-client</artifactId>
</denpendency>
</code></pre>
<h2 id="function-display">Function display</h2>
<p><img src="https://gw.alipayobjects.com/mdn/sofastack/afts/img/A*wyOzQYekfVMAAAAAAAAAAABjARQnAQ" alt="client-function" /></p>
</article>
</main>
</div>
<footer class="ss-footer">
<div class="container">
<div class="links">
<div class="cate">
<h2 class="cate-title">Resources</h2>
<a class="link" href="https://github.com/sofastack">Github</a>
<a class="link" href="https://gitee.com/sofastack/">Gitee</a>
<a class="link" href="https://github.com/sofastack-guides">Samples</a>
</div>
<div class="cate">
<h2 class="cate-title">Social Media</h2>
<a class="link" href="https://zhuanlan.zhihu.com/sofastack">Zhihu</a>
<a class="link" href="https://weibo.com/sofastack">Weibo</a>
<a class="link" href="https://twitter.com/sofastack_io">Twitter</a>
</div>
<div class="cate">
<h2 class="cate-title">Get Involved</h2>
<a class="link" href="https://github.com/sofastack/sofastack.tech/issues">Feedback</a>
<a class="link" href="https://github.com/sofastack/community">Community</a>
<a class="link" href="https://github.com/sofastack/sofastack.tech/wiki">Wiki</a>
<a class="link" href="mailto:sofa@alipay.cloud.com">Email</a>
</div>
<div class="cate">
<h2 class="cate-title">Ant Financial Open Source</h2>
<a class="link" href="https://ant.design/">Ant Design</a>
<a class="link" href="https://eggjs.org/">Egg</a>
<a class="link" href="https://sqlflow.org">SQLFlow</a>
<a class="link" href="https://tech.antfin.com/open-source">More</a>
</div>
</div>
<div class="qrcode">
<div>
<img class="qrcode-img" src="/img/qrcode/qrcode_1.png" />
<p class="qrcode-desc">Wechat Official Account</p>
</div>
<div>
<img class="qrcode-img" src="/img/qrcode/qrcode_2.png" />
<p class="qrcode-desc">DingTalk Group</p>
</div>
</div>
</div>
<div class="copyright">
<p>
© 2019 - 2020 The SOFAStack Authors
<a href="http://beian.miit.gov.cn/">浙 ICP 备 16045294 号-3</a>
</p>
</div>
</footer>
</body>
</html> |
{% extends "edition-2/base.html" %}
{% import "edition-2/macros.html" as macros %}
{% import "snippets.html" as snippets %}
{% block title %}{{ page.title }} | {{ config.title }}{% endblock title %}
{% block header %}
{% if lang != "en" -%}
<aside id="all-posts-link"><a href="{{ config.base_url | safe }}/{{ lang }}" title="All Posts">{{ trans(key="all_posts", lang=lang) }}</a></aside>
{%- else -%}
<aside id="all-posts-link"><a href="{{ config.base_url | safe }}" title="All Posts">{{ trans(key="all_posts", lang=lang) }}</a></aside>
{%- endif %}
{% endblock header %}
{% block description -%}
{{ page.summary | safe | striptags | truncate(length=150) }}
{%- endblock description %}
{% block toc_aside %}
<aside id="toc-aside" class="{% if page.extra.rtl %}right-to-left{% endif %}">
<h2>{{ trans(key="toc", lang=lang) }}</h2>
<ol>
{% for h2 in page.toc %}<li>
<a href="#{{h2.id | safe}}">{{ h2.title | safe }}</a>
{% if h2.children %}<ol>
{% for h3 in h2.children %}<li>
<a href="#{{h3.id | safe}}">{{ h3.title | safe }}</a>
</li>{% endfor %}
</ol>{% endif %}
</li>{% endfor %}
<li class="toc-comments-link"><a href="#comments">{{ trans(key="comments", lang=lang) }}</a></li>
</ol>
</aside>
{% endblock toc_aside %}
{% block main %}
<div class="{% if page.extra.rtl %}right-to-left{% endif %}">
<h1>{{ page.title }}</h1>
<time datetime="{{ page.date | date(format="%Y-%m-%d") }}" class="post-date">
{{ page.date | date(format="%b %d, %Y") }}
{% if page.extra.updated %} (updated on {{ page.extra.updated | date(format="%b %d, %Y") }}) {% endif %}
</time>
</div>
{% if page.extra.warning %}
<div class="warning">
{% if page.extra.warning_short %} <b>{{ page.extra.warning_short }}</b> {% endif %}
{{ page.extra.warning | markdown(inline=true) | safe }}
</div>
{% endif %}
{%- if page.lang != "en" %}
<div class="warning{% if page.extra.rtl %} right-to-left{% endif %}">
{% set translations = page.translations | filter(attribute="lang", value="en") %}
{% set original = translations.0 %}
<p>
<b>{{ trans(key="translated_content", lang=lang) }}</b>
{{ trans(key="translated_content_notice", lang=lang) |
replace(from="_original.permalink_", to=original.permalink) |
replace(from="_original.title_", to=original.title) | safe }}
</p>
{%- if page.extra.translators %}
<p>
{{ trans(key="translated_by", lang=lang) }} {% for user in page.extra.translators -%}
{%- if not loop.first -%}
{%- if loop.last %} {{ trans(key="word_separator", lang=lang) }} {% else %}, {% endif -%}
{%- endif -%}
<a href="https://github.com/{{user}}">@{{user}}</a>
{%- endfor %}.
</p>
{% endif -%}
</div>
{% endif %}
<div class="{% if page.extra.rtl %}right-to-left{% endif %}">
{{ page.content | replace(from="<!-- toc -->", to=macros::toc(toc=page.toc)) | safe }}
</div>
<div class="post-footer-support{% if page.extra.rtl %} right-to-left{% endif %}">
<h2>Support Me</h2>
{{ snippets::support() }}
</div>
<hr>
<div class="PageNavigation">
{% if page.lighter %}
<a class="prev" href="{{ page.lighter.path | safe }}">« {{ page.lighter.title }}</a>
{% endif %}
{% if page.heavier %}
<a class="next" href="{{ page.heavier.path | safe }}">{{ page.heavier.title }} »</a>
{% endif %}
</div>
<hr>
<section>
<h2 id="comments" class="{% if page.extra.rtl %}right-to-left{% endif %}">{{ trans(key="comments", lang=lang) }}</h2>
{% if page.extra.comments_search_term %}
{% set search_term=page.extra.comments_search_term %}
{% elif page.lang != "en" %}
{% set translations = page.translations | filter(attribute="lang", value="en") %}
{% set original = translations.0 %}
{% set search_term=original.title ~ " (" ~ page.lang ~ ")" %}
{% else %}
{% set search_term=page.title %}
{% endif %}
{{ snippets::giscus(search_term=search_term) }}
{%- if page.lang != "en" %}
<p class="{% if page.extra.rtl %}right-to-left{% endif %}">
{{ trans(key="comments_notice", lang=lang) }}
</p>
{% endif %}
</section>
<aside class="page-aside-right">
{% if page.translations -%}
<div class="block" id="language-selector">
<h2>Other Languages</h2>
{% set translations = page.translations | group_by(attribute="lang") %}
<ul>{%- for lang_code in config.extra.languages -%}{%- if translations[lang_code] -%}
{%- set translation = translations[lang_code] | first -%}
{%- if translation and lang_code != lang -%}
<li data-lang-switch-to="{{ translation.lang }}" class=""><a href="{{ translation.permalink | safe }}">
{{ trans(key="lang_name", lang = translation.lang) }}
</a></li>
{%- endif -%}
{%- endif -%}{% endfor %}</ul>
</div>
{%- endif %}
</aside>
{% endblock main %}
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<TITLE> [whatwg] Drag and drop in HTML5
</TITLE>
<LINK REL="Index" HREF="index.html" >
<LINK REL="made" HREF="mailto:whatwg-whatwg.org%40lists.whatwg.org?Subject=%5Bwhatwg%5D%20Drag%20and%20drop%20in%20HTML5&In-Reply-To=Pine.LNX.4.61.0505052112050.5094%40dhalsim.dreamhost.com">
<META NAME="robots" CONTENT="index,nofollow">
<META http-equiv="Content-Type" content="text/html; charset=us-ascii">
<LINK REL="Previous" HREF="003890.html">
<LINK REL="Next" HREF="003893.html">
</HEAD>
<BODY BGCOLOR="#ffffff">
<H1>[whatwg] Drag and drop in HTML5</H1>
<!--htdig_noindex-->
<B>Hallvord Reiar Michaelsen Steen</B>
<A HREF="mailto:whatwg-whatwg.org%40lists.whatwg.org?Subject=%5Bwhatwg%5D%20Drag%20and%20drop%20in%20HTML5&In-Reply-To=Pine.LNX.4.61.0505052112050.5094%40dhalsim.dreamhost.com"
TITLE="[whatwg] Drag and drop in HTML5">hallvord at hallvord.com
</A><BR>
<I>Thu May 5 14:40:35 PDT 2005</I>
<P><UL>
<LI>Previous message: <A HREF="003890.html">[whatwg] Drag and drop in HTML5
</A></li>
<LI>Next message: <A HREF="003893.html">[whatwg] Drag and drop in HTML5
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3892">[ date ]</a>
<a href="thread.html#3892">[ thread ]</a>
<a href="subject.html#3892">[ subject ]</a>
<a href="author.html#3892">[ author ]</a>
</LI>
</UL>
<HR>
<!--/htdig_noindex-->
<!--beginarticle-->
<PRE>On 5 May 2005 at 21:12, Ian Hickson wrote:
><i> > Perhaps a way to specify a "drag-group" to say that certain elements
</I>><i> > considered draggable should be dragged together.
</I>
><i> Do you mean that instead of labelling each draggable element as draggable,
</I>><i> you would instead add each draggable element to a list?
</I>
I suppose the most powerful API might have both a "draggable" and a
"dragGroup" property on nodes, but this may of course be too complex.
* The "baseline" option is to support draggable=true or some
equivalent and let user drag and drop one such item at a time.
* One alternative is to say that all items with draggable=true always
are dragged - it requires a bit more caution by the JS author and the
user -
* The third way would be a draggable node list *and* a draggable
property. (Only a list is functionally same as the option above)
This is the way I thought it might work:
When a drag action starts on an element that has draggable set to
true, the UA checks if the dragGroup property of the element is set.
If it is set, it performs a "drag" action on all the elements that
refer to the same drag group and have their draggable property set to
true.
A use case might be a complex web mail interface where you can drag
both contacts and E-mails, and drag only those you select by
checkboxes or by clicking on them. Such an interface requires that
you can drag multiple items, and distinguish different groups of
multiple items.
It would be really neat to have a CSS-like inheritance for the
dragGroup so that you could specify it once - say
<div draggroup="mail">
[list of E-mails, for example using UL, LI and A markup]
</div>
and all child nodes would drag together if selected. :-)
--
Hallvord Reiar Michaelsen Steen
<A HREF="http://www.hallvord.com/">http://www.hallvord.com/</A>
</PRE>
<!--endarticle-->
<!--htdig_noindex-->
<HR>
<P><UL>
<!--threads-->
<LI>Previous message: <A HREF="003890.html">[whatwg] Drag and drop in HTML5
</A></li>
<LI>Next message: <A HREF="003893.html">[whatwg] Drag and drop in HTML5
</A></li>
<LI> <B>Messages sorted by:</B>
<a href="date.html#3892">[ date ]</a>
<a href="thread.html#3892">[ thread ]</a>
<a href="subject.html#3892">[ subject ]</a>
<a href="author.html#3892">[ author ]</a>
</LI>
</UL>
<hr>
<a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg-whatwg.org
mailing list</a><br>
<!--/htdig_noindex-->
</body></html>
|
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<link rel="icon" href="%PUBLIC_URL%/favicon.ico" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<meta http-equiv="X-UA-Compatible" content="ie=edge" />
<meta name="theme-color" content="#000000" />
<meta name="description" content="Adyen Checkout Demo" />
<!--
Notice the use of %PUBLIC_URL% in the tags above.
It will be replaced with the URL of the `public` folder during the build.
Only files inside the `public` folder can be referenced from the HTML.
Unlike "/favicon.ico" or "favicon.ico", "%PUBLIC_URL%/favicon.ico" will
work correctly both with client-side routing and a non-root public URL.
Learn how to configure a non-root public URL by running `npm run build`.
-->
<title>Checkout Demo</title>
<link
rel="stylesheet"
href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"
integrity="sha384-ggOyR0iXCbMQv3Xipma34MD+dH/1fQ784/j6cY/iJTQUOhcWr7x9JvoRxT2MZw1T"
crossorigin="anonymous"
/>
<link
rel="stylesheet"
href="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.css"
integrity="sha384-8ofgICZZ/k5cC5N7xegqFZOA73H9RQ7H13439JfAZW8Gj3qjuKL2isaTD3GMIhDE"
crossorigin="anonymous"
/>
</head>
<body>
<noscript>You need to enable JavaScript to run this app.</noscript>
<header id="header">
<a href="/">
<img src="/images/mystore-logo.svg" alt="" />
</a>
</header>
<div class="container">
<div id="root"></div>
</div>
<!--
This HTML file is a template.
If you open it directly in the browser, you will see an empty page.
You can add webfonts, meta tags, or analytics to this file.
The build step will place the bundled scripts into the <body> tag.
To begin the development, run `npm start` or `yarn start`.
To create a production bundle, use `npm run build` or `yarn build`.
-->
<script
src="https://checkoutshopper-live.adyen.com/checkoutshopper/sdk/3.10.1/adyen.js"
integrity="sha384-wG2z9zSQo61EIvyXmiFCo+zB3y0ZB4hsrXVcANmpP8HLthjoQJQPBh7tZKJSV8jA"
crossorigin="anonymous"
></script>
</body>
</html>
|
No dataset card yet
New: Create and edit this dataset card directly on the website!
Contribute a Dataset Card