scrollutil::scrollarea
andscrollutil::getscrollarea
Commandsscrollutil::scrollarea
Command – Quick Referencescrollutil::scrollarea
Command – Detailed Referencescrollutil::getscrollarea
Commandscrollutil::scrollarea
Command
– Quick Referencescrollutil::scrollarea
– Create and manipulate
scrollarea widgetsscrollutil::scrollarea pathName ?options?
-background -highlightbackground -relief -borderwidth -highlightcolor -cursor -highlightthickness
-autohidescrollbars
boolean
-lockinterval
milliseconds
-respectheader
boolean
-respecttitlecolumns
boolean
-setfocus
boolean
-takefocus
0|1|""|command
-xscrollbarmode
static|dynamic|none
-yscrollbarmode
static|dynamic|none
pathName attrib ?name
?value name value ...??
pathName cget
option
pathName configure
?option ?value option value ...??
pathName hasattrib
name
pathName setwidget
widget
pathName unsetattrib
name
pathName widget
scrollutil::scrollarea
Command – Detailed Referencescrollutil::scrollarea
– Create and manipulate
scrollarea widgetsscrollutil::scrollarea pathName ?options?
scrollutil::scrollarea
command creates a new
window named pathName
and of the class
Scrollarea
, and makes it into a scrollarea
widget. Additional options, described below, may be specified on the
command line or in the option database to configure aspects of the
scrollarea such as its borderwidth, relief, and display mode to be used for
the scrollbars. The scrollutil::scrollarea
command returns its pathName
argument. At the
time this command is invoked, there must not exist a window named
pathName
, but pathName
's parent
must exist.setwidget
subcommand of the associated Tcl
command as well as two scrollbars connected with that widget. These
components are managed within the scrollarea using
grid
. The scrollbars, named
hsb
(with -orient
horizontal
) and vsb
(with
-orient vertical
) are direct children of the
scrollarea. The display mode of each scrollbar can be
static
, dynamic
, or
none
(see the -xscrollbarmode
and -yscrollbarmode
configuration
options). The -takefocus
option of both
scrollbars is set to 0
. In the Scrollutil_tile package
the scrollbars are created as ttk::scrollbar widgets, except on Mac OS
X/11+ when using a Tk release earlier than 8.6.10, where the native
ttk::scrollbar widget of the aqua
theme didn't yet look
as expected.setwidget
is a tablelist and Tablelist version 6.5
or later is being used then the scrollarea can also contain siblings of the
tablelist widget above the vertical scrollbar and/or to the left of the
horizontal one, causing the vertical scrollbar to be displayed below the
tablelist's header and/or the horizontal scrollbar to appear to the right
of the tablelist's title column area, depending on the values of the
-respectheader
and -respecttitlecolumns
configuration
options.set sa [scrollutil::scrollarea ...] set lb [listbox $sa.lb ...] $sa setwidget $lb pack $sa -expand yes -fill both
-background -highlightbackground -relief -borderwidth -highlightcolor -cursor -highlightthickness
-background
,
-highlightbackground
,
-highlightcolor
, and
-highlightthickness
options are only supported by the
Scrollutil package, but not by Scrollutil_tile. They have the same
default values as the options of the same names for Tk frame widgets.
The default values of the remaining standard options are:-borderwidth 1 -cursor "" -relief sunken
-borderwidth
or -relief
option, if
as a result of this action the scrollarea has a positive
-borderwidth
value (e.g., the default 1
)
and a -relief
value other than flat
(e.g., the default sunken
), then the
-borderwidth
option of the widget embedded into the
scrollarea via the setwidget
subcommand of the associated Tcl command will automatically be set to
0
, provided that the embedded widget supports this
option.| Command-Line Name: | -autohidescrollbars |
| Database Name: | autoHideScrollbars |
| Database Class: | AutoHideScrollbars |
Specifies a boolean value indicating whether the scrollbars should be obscured if the focus is outside the toplevel window containing the scrollarea or the mouse pointer is outside the scrollarea widget. The default is
0
.REMARK 1: The easiest way to override the default value for all scrollarea instances of your application is to insert the line
option add *Scrollarea.autoHideScrollbars 1somewhere at the top of your script (before creating any scrollarea widgets).
REMARK 2: To obscure a scrollbar, Scrollutil just lays a frame over it, thus keeping the area occupied by it reserved (if it was previously mapped). This is different from unmapping a dynamic scrollbar when there is nothing to scroll in the widget embedded into the scrollarea. Obscuring or unobscuring a scrollbar doesn't change its mapped/unmapped state.
REMARK 3: Regardless of the focus and the value of this option, if the mouse pointer is inside the scrollarea and the widget embedded into it via
setwidget
gets scrolled (e.g., with the aid of the mouse wheel), then the scrollbars will be unobscured.
| Command-Line Name: | -lockinterval |
| Database Name: | lockInterval |
| Database Class: | LockInterval |
Specifies the time interval in milliseconds for which the scrollbars having the display mode
dynamic
(see the-xscrollbarmode
and-yscrollbarmode
options) will be protected from being unmapped after being mapped, in order to avoid any shimmering effects. This is also the time interval for which the dynamic scrollbars will mutually protect each other from being mapped after one of them got mapped. Without this locking mechanism, under some rare circumstances a dynamic scrollbar could get mapped and unmapped in an endless loop, thus giving rise to an annoying and often dangerous flickering effect. The same problem can arise due to a too small-lockinterval
value. The default is1
, which works as expected in the vast majority of cases. Should you experience any shimmering in one of your scrollarea widgets, just set this option for that scrollarea to a sufficiently large value (e.g.,100
). Note, however, that this value should not be greater than300
, because, for implementation-specific reasons, a-lockinterval
value greater than300
can prevent a dynamic scrollbar that should be hidden from being unmapped, or one that should be shown from being mapped.
| Command-Line Name: | -respectheader |
| Database Name: | respectHeader |
| Database Class: | RespectHeader |
This option is only relevant if the widget embedded into the scrollarea with the aid of the
setwidget
subcommand of the associated Tcl command is a tablelist and the Tablelist version being used is 6.5 or later. Its value must be a boolean specifying whether the vertical scrollbar should appear below the tablelist widget's header, thus respecting the native look & feel on Mac OS X/11+ and on many modern Linux systems. The default is1
on the windowing systemsaqua
andx11
, and0
onwin32
.
| Command-Line Name: | -respecttitlecolumns |
| Database Name: | respectTitleColumns |
| Database Class: | RespectTitleColumns |
This option is only relevant if the widget embedded into the scrollarea with the aid of the
setwidget
subcommand of the associated Tcl command is a tablelist and the Tablelist version being used is 6.5 or later. Its value must be a boolean specifying whether the horizontal scrollbar should start to the right of the tablelist widget's non-scrollable title column area if the value of the-titlecolumns
tablelist option is positive. The default is1
.
| Command-Line Name: | -setfocus |
| Database Name: | setFocus |
| Database Class: | SetFocus |
Specifies a boolean value that determines whether a click with mouse button 1 or 2 on one of the scrollbars should set the focus to the widget embedded into the scrollarea with the aid of the
setwidget
subcommand if that widget is not in disabled state. The default is0
.REMARK 1: If the option's value is
1
and the embedded widget is a text or ctext widget then a click with mouse button 1 or 2 on one of the scrollbars will set the focus to that widget regardless of the latter's state, provided that the windowing system iswin32
or the Tk version is at least 8.6.11 or 8.7a4. This is the same behavior as the one exhibited by the default bindings of these widgets for<Button-1>
events. (In case of a ctext widgetw
, the focus is set to the widget's main text widget childw.t
rather than to the widget itself.)REMARK 2: If the option's value is
1
and the embedded widget is a ttk::treeview widget then a click with mouse button 1 or 2 on one of the scrollbars will set the focus to that widget regardless of the latter's state, on all windowing systems and for all Tk versions. Again, this is the same behavior as the one exhibited by the default bindings of this widget for<Button-1>
events.REMARK 3: The easiest way to override the default value for all scrollarea instances of your application is to insert the line
option add *Scrollarea.setFocus 1somewhere at the top of your script (before creating any scrollarea widgets).
| Command-Line Name: | -takefocus |
| Database Name: | takeFocus |
| Database Class: | TakeFocus |
This option determines whether the scrollarea accepts the focus during keyboard traversal. It is almost identical to the standard option of the same name (see the options manual entry for details). The only difference is that not the scrollarea itself but the widget embedded into it via the
setwidget
subcommand of the associated Tcl command will receive the focus during keyboard traversal with the standard keys (Tab
andShift-Tab
). The default is0
, being that a scrollarea is esentially a frame containing the above-mentioned widget and two scrollbars.
| Command-Line Name: | -xscrollbarmode |
| Database Name: | xScrollbarMode |
| Database Class: | ScrollbarMode |
Specifies the display mode to be used for the horizontal scrollbar. The allowed values are
static
,dynamic
, andnone
. Instatic
mode the scrollbar is displayed at all times. Indynamic
mode (which is the default) the scrollbar is mapped and unmapped as needed. The display modenone
disables the scrollbar display.
| Command-Line Name: | -yscrollbarmode |
| Database Name: | yScrollbarMode |
| Database Class: | ScrollbarMode |
Specifies the display mode to be used for the vertical scrollbar. The allowed values are
static
,dynamic
, andnone
. Instatic
mode the scrollbar is displayed at all times. Indynamic
mode (which is the default) the scrollbar is mapped and unmapped as needed. The display modenone
disables the scrollbar display.
scrollutil::scrollarea
command creates a new Tcl
command whose name is pathName
. This command
may be used to invoke various operations on the widget. It has the
following general form:
pathName option ?arg arg ...?
option
and the arg
s determine
the exact behavior of the command. The following commands are
possible for scrollarea widgets:pathName attrib
?name ?value name value ...??
name
is specified, the command returns a list of
pairs, each of which contains the name and the value of an attribute
for pathName
. If name
is
specified with no value
, then the command returns
the value of the one named attribute, or an empty string if no
corresponding value exists (you can use the hasattrib
subcommand to distinguish this
case from the one that the value of an existing attribute is an
empty string). If one or more
name
-value
pairs are specified,
then the command sets the given widget attribute(s) to the given
value(s); in this case the return value is an empty string. Each
name
may be an arbitrary string.pathName cget
option
option
, which may have any of the values accepted
by the scrollutil::scrollarea
command.pathName configure
?option ?value option value
...??
option
is specified, the command returns a
list describing all of the available options for
pathName
(see Tk_ConfigureInfo
for information on the format of this list). If
option
is specified with no
value
, then the command returns a list describing
the one named option (this list will be identical to the corresponding
sublist of the value returned if no option
is
specified). If one or more
option
-value
pairs are
specified, then the command modifies the given widget option(s) to have
the given value(s); in this case the return value is an empty
string. option
may have any of the values
accepted by the scrollutil::scrollarea
command.pathName hasattrib
name
1
if the attribute name
exists and 0
otherwise.pathName setwidget
widget
widget
argument must be the path name of an
existing widget or an empty string. In the first case, the
command manages the widget to fill the top-left part of the scrollarea
and connects it with the scrollbars by setting its
-xscrollcommand
and
-yscrollcommand
options to appropriate wrappers for
the set
command of the two scrollbars and setting
the -command
option of the scrollbars to
[list widget xview]
and
[list widget yview]
,
respectively. If widget
is an empty string
then the widget passed to the most recent setwidget
invocation (if any) is unmanaged and unconnected from the
scrollbars. The return value is the argument passed to the
previous successful invocation of this subcommand, or an empty string
if there was no successful setwidget
invocation
before.widget
is
nonempty and the value of the -xscrollbarmode
option is different
from none
then widget
must be a
horizontally scrollable widget, meaning that it must support the
-xscrollcommand
configuration option and the
associated Tcl command must have the xview
subcommand. Similarly, if widget
is nonempty
and the value of the -yscrollbarmode
option is different
from none
then widget
must be a
vertically scrollable widget, meaning that it must support the
-yscrollcommand
configuration option and the
associated Tcl command must have the yview
subcommand. Consequently, if widget
is an
entry or ttk::entry then this subcommand will only be successful if the
-yscrollbarmode
option was previously set to
none
.widget
argument must be a child of the scrollarea
or of one of the latter's ascendants. This minor restriction is
imposed by the grid
geometry manager.setwidget
gets destroyed, this
subcommand is automatically invoked with an empty string as
argument.-highlightthickness
option of
widget
to 0
if
widget
supports this configuration option. In
addition, if the scrollarea has a positive
-borderwidth
value (e.g., the default
1
) and a -relief
value other than
flat
(e.g., the default sunken
)
then this subcommand sets the -borderwidth
option
of widget
to 0
, provided that
widget
supports this option.pathName
unsetattrib name
name
. Returns an
empty string.pathName
widget
setwidget
subcommand, or an empty string if
there was no successful invocation of that subcommand yet.scrollutil::getscrollarea
Commandscrollutil::getscrollarea
– Query the scrollarea
containing a given widgetscrollutil::gescrollarea widget
widget
argument is embedded via the scrollarea's
setwidget
subcommand, or an
empty string if there is no such scrollarea widget.


API Reference¶
-
class
nCov2019.nCov2019.
Data
¶ This module retrieves statistics of cases of the 2019 Novel Coronavirus. Data Source: https://view.inews.qq.com/g2/getOnsInfo?name=disease_h5
…
- statisticsdict
The raw data retrieved from the server.
- chinapandas.DataFrame
Nation-level data of China.
- provincepandas.DataFrame
province-level data of China.
- citypandas.DataFrame
city-level data of China
- internationalpandas.DataFrame
Data of foreign countries.
- history_chinapandas.DataFrame
Not supported after v3.0. Historical data of China
- history_china_addpandas.DataFrame
Not supported after v3.0. Historical data of added confirmed cases in China
- history_addpandas.DataFrame
Not supported after v3.0. Historical data of added confirmed cases in Hubei
- history_deadpandas.DataFrame
Not supported after v3.0. Historical data of dead cases
- confirm_add_rankpd.DataFrame
Not supported after v3.0. Ranking of provinces in terms of added confirmed case
- update_timestr
Time of the last update.
- _transdict
A dict that stores the translation of the keys from the English labels in original Jason data to Chinese


- GetAddressAPI - Class in org.spauny.joy.getaddress.io.util
-
- GetAddressAPI() - Constructor for class org.spauny.joy.getaddress.io.util.GetAddressAPI
-
Creates a getAddress.io client with the default API root path:
- GetAddressAPI(String) - Constructor for class org.spauny.joy.getaddress.io.util.GetAddressAPI
-
Creates a getAddress.io client with a custom getAddress.io API root path -
useful for when you host your own instance of getAddress.io or the default
API changes and the library hasn't been updated yet
- GetAddressClient - Class in org.spauny.joy.getaddress.io.client
-
- GetAddressClient(String) - Constructor for class org.spauny.joy.getaddress.io.client.GetAddressClient
-
Creates a getAddress.io client with the default API root path:
https://api.getAddress.io/v2/uk/ .
- GetAddressClient(String, String) - Constructor for class org.spauny.joy.getaddress.io.client.GetAddressClient
-
Creates a getAddress.io client with a custom getAddress.io API root path
- useful for when you host your own instance of getAddress.io or the
default API changes and the library hasn't been updated yet.


"""
.. _workflow:
A :code:`workflow` is supposed to run tasks that can be anticipated well in advance.
Here are few demo's where you can see mock :code:`workflow` in action.
- :ref:`RuleBasedSlotFillerPlugin<rule_slot_filler>`
- :ref:`VotePlugin<vote_plugin>`
- :ref:`DucklingPlugin<duckling_plugin>`
A workflow is a hollow conduit, think of a vertically hanging pipe without any medium. If you were to drop a block of ...
`anything`? through it, it would pass through with a thud on the ground `(yes we assumed gravity)`.
Structure
----------
A workflow allows flexibility, that's why. There is very little structure to it. We have:
- input
- output
- preprocessors
- postprocessors
Apart from these, we expect at the core, an inference function with machine learning models. Which ones? A N Y ones.
As long as you have the compute, there is no restriction.
Advantages
-----------
The :ref:`Plugin<plugin>` concept takes care of the sauciness 🍅 of this project. Any functionality can be bundled into
a :ref:`Plugin<plugin>` and they are portable over to foreign workflows. A :ref:`Plugin<plugin>` proxies inputs through
an :code:`access` function (an argument to every :ref:`Plugin<plugin>`) and relays output through a :code:`mutate`
function (another argument for every :ref:`Plugin<plugin>`). These two functions define interactions between many many
(sic) :ref:`Plugins<plugin>` without knowing the inner workings of a :ref:`Workflow <workflow>`.
Take a look at :ref:`DucklingPlugin <duckling_plugin>`, this plugin handles inputs, manages the default :code:`json` output
into neatly bundled :ref:`BaseEntity <base_entity>` and other similar classes. Another plugin
:ref:`RuleBasedSlotFillerPlugin<rule_slot_filler>` takes care of slot names and the entity types that should be filled
within.
If your classifier predicts an :ref:`Intent<intent>` with :ref:`Slots<slot>` supporting any of those entities, then
slot-filling is not a worry.
The aim of this project is to be largest supplier of plugins for SLU applications.
.. warning:: The :ref:`Workflow<workflow>` class is not supposed to be used as it is. Ideally it should have been an
abstract class. There are some design considerations which make that a bad choice. We want methods to be overridden
to offer flexibility of use.
"""
from pprint import pformat
from typing import Any, Callable, Dict, List
import attr
from dialogy import constants as const
from dialogy.utils.logger import dbg, log
PluginFn = Callable[["Workflow"], None]
<EMAIL_ADDRESS>class Workflow:
"""
This is a light but fairly flexible workflow for building a machine learning pipeline.
Requirements
- A list of pre-processing functions.
- A list of post-processing functions.
Abstract classes put constraints on method signatures which isn't desired because a couple of methods
here could use more arguments, say, `load_model()` requires `path` and `version` and in some other cases
`path`, `version` and `language`.
:param preprocessors: A list of functions to execute before inference.
:type preprocessors: Optional[List[PluginFn]]
:param postprocessors: A list of functions to execute after inference.
:type postprocessors: Optional[List[PluginFn]]
:param debug: log level shifts to debug if True.
:type debug: bool
"""
input: Dict[str, Any] = attr.ib(factory=dict, kw_only=True)
output: Dict[str, Any] = attr.ib(factory=dict, kw_only=True)
debug = attr.ib(
type=bool, default=False, validator=attr.validators.instance_of(bool)
)
preprocessors = attr.ib(
factory=list,
type=List[PluginFn],
validator=attr.validators.instance_of(list),
kw_only=True,
)
postprocessors = attr.ib(
factory=list,
type=List[PluginFn],
validator=attr.validators.instance_of(list),
kw_only=True,
)
NON_SERIALIZABLE_FIELDS = [const.PREPROCESSORS, const.POSTPROCESSORS, const.DEBUG]
def __attrs_post_init__(self) -> None:
"""
Post init hook.
"""
self.set_io()
[docs] def set_io(self) -> None:
"""
Use this method to keep workflow-io in the same format as expected.
"""
self.input: Dict[str, Any] = {}
self.output: Dict[str, Any] = {}
[docs] def load_model(self) -> None:
"""
Override method in sub-class to load model(s).
Raises:
NotImplementedError: Safeguard against using this class directly.
"""
class_name = self.__class__.__name__
raise NotImplementedError(
f"Override method `load_model` in class {class_name}."
)
[docs] @dbg(log)
def update(self, processor_type: str, processors: List[PluginFn]) -> None:
"""
Update input, output attributes.
We iterate through pre/post processing functions and update the input and
output attributes of the class. It is expected that pre-processing functions
would modify the input, and post-processing functions would modify the output.
Args:
processor_type (`str`): One of ["__preprocessor", "__postprocessor"]
processors (`List`): The list of preprocess or postprocess functions.
Raises:
`TypeError`: If any element in processors list is not a Callable.
"""
for processor in processors:
if not callable(processor):
raise TypeError(f"{processor_type}={processor} is not a callable")
# logs are available only when debug=True during class initialization
log.debug(
pformat(
{
"stage": "Before",
"type": processor_type,
"plugin": processor,
"input": self.input,
"output": self.output,
}
)
)
processor(self)
# logs are available only when debug=True during class initialization
log.debug(
pformat(
{
"stage": "After",
"type": processor_type,
"plugin": processor,
"input": self.input,
"output": self.output,
}
)
)
[docs] def preprocess(self) -> None:
"""
Convenience over `update` method.
Uses preprocessors over the `update` method, expect input to change.
"""
self.update(const.PREPROCESSORS, self.preprocessors)
[docs] def postprocess(self) -> None:
"""
Convenience over `update` method.
Uses postprocessors over the `update` method, expect output to change.
"""
self.update(const.POSTPROCESSORS, self.postprocessors)
[docs] def inference(self) -> None:
"""
Get model predictions.
Depending on the number of models in use. This place can be used to collate results, sort, filter, etc.
Raises:
`NotImplementedError`: This method needs to be implemented by the sub-classes.
"""
class_name = self.__class__.__name__
if class_name != "Workflow":
raise NotImplementedError(
f"Override method `inference` in class {class_name}."
)
[docs] def run(self, input_: Any) -> Any:
"""
.. _workflow_run:
Get final results from the workflow.
The current workflow exhibits the following simple procedure:
pre-processing -> inference -> post-processing.
Args:
input_ (`Any`): This function receives any arbitrary input. Subclasses may enforce
a stronger check.
Returns:
(`Any`): This function can return any arbitrary value. Subclasses may enforce a stronger check.
"""
self.input = input_
self.preprocess()
self.inference()
self.postprocess()
return self.output
[docs] def flush(self) -> None:
"""
Reset :code:`workflow.input` and :code:`workflow.output`.
"""
self.set_io()
[docs] def json(self) -> Dict[str, Any]:
"""
Represent the workflow as a python dict.
:rtype: Dict[str, Any]
"""
return attr.asdict(
self,
filter=lambda attribute, _: attribute.name
not in self.NON_SERIALIZABLE_FIELDS,
)


Bounty Hunter Kintaijin:
You adventurers are all alike ... just in it for the fortune and fame. I'll bet you could care less about who I am and what my story is.
The only things you're probably interested in are what you have to do and what you will receive.
Am I wrong?
"Nope. Just tell me what I need to know."
"I'm not like the others. Tell me your tale."
"Forget all that. Who is this scammer you're talking about?"


Checks consistency of
DTD
specific references, e.g. references to XML entity or to DTD element declaration. The validation works in DTD or XML file types.


Friday, June 17, 2022 at 3:00 p.m.
Friday, June 17, 2022 at 5:00 p.m.
Saturday, June 18, 2022 at 3:00 p.m.
Sunday, June 19, 2022 at 11:00 a.m.


org.fusesource.scalate
A useful base class for testing templates
A simple trait for testing web pages using Selenium WebDriver
A trait which boots up a JettyServer and uses it for all the test cases in this class
General test configuration helpers


UX Design News
07 Sep 2016I love sharing good design news and articles with my design friends and colleagues. Ask anyone in our slack channel, hah. Where do I get all these great links? Well, I consume a lot of stuff, maybe too much. I’m jumping between Slack groups full of designers, email newsletters that curate links and Medium articles on anything design. Let me share my sources…
Slack Groups
- Designer Hangout
- Spec Network (you need to be a Design Details listener)
- Design Systems
Blogs & Newsletters
- Design.Blog
- Design Weekly
- Hacking UI
- Hacker Designer News
- Charged
- Swiss Miss
- Subtraction
- Nuzzel
- VR/AR Inside
- Smashing Mag
- The Great Discontent
- Product Hunt
- Sans Francisco
Medium
- UX Design CC
- Year of the Looking Glass
- Sketch App news
- Google Design
- Facebook Design
- A List Apart
- Designer Hangout
- Airbnb Design
- .net Mag
- Bridge Collection
- Product People
- UX Planet
- Humane Tech
- Lyft Design
- Read Write IOT
- Shyp Design
- Medium Design
- Sketch App Sources
- GV Library
- Prototypr
- The Design Team
- Figma Design
- InVision App
- Slack
- Jessica Hische
- Dropbox
- The Design Team (satire)
I could go on…but that should keep you busy for a while.
Send me any suggestions for this list: | @jamescarleton


JavaScript implementation of the BMW's ConnectedDrive API
Example: BMWStatus
import API from '@mihaiblaga89/bmw-connecteddrive-api';
await API.init({
region: 'eu',
username<EMAIL_ADDRESS>password: 'mySuperPassword',
});
const vehicles = await API.getVehicles();
const vehicleStatus = await vehicles[0].getStatus();
Initializes the API with your credentials. By default it also fetches your vehicles and saves them but you can disable this behaviour if you want. More info
Returns your prefetched vehicles or queries the BMW API for them. Has the option to force the query to refresh your vehicles. Every vehicle is an instance of Vehicle. More info
Fetches and caches your vehicle image from BMW API. Of course it's not the actual photo, it's just a car photo based on your car's model and color :). Several "views" are available. More info
Fetches and caches the car's status from the API. Can be forced. Returns an instance of VehicleStatus. More info
This work was inspired by the following repos:
Thank you for your efforts and hard work.
This library is not affiliated nor endorsed by BMW Group / Bayerische Motoren Werke AG.


"Learn, Share and Grow is what this website is for. We want to make a community where we share our experiences with others so that we all learn and grow together."
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
How to Setup a MySQL Database Cluster | Newgen Infinite
This is to inform that the website will be launched soon. We will be completing it before end of April.
This is to inform that the website will be launched soon. We will be completing it before end of April.
This is to inform that the website will be launched soon. We will be completing it before end of April.
This is to inform that the website will be launched soon. We will be completing it before end of April.
This is to inform that the website will be launched soon. We will be completing it before end of April.
This is to inform that the website will be launched soon. We will be completing it before end of April.


Collection
Batch toolkits and a validation tool to help awarding organisations and learner registration bodies produce and validate batch files.
This data collection contains three documents that allow awarding organisations ( AO ) and learner registration bodies ( LRB ) to create a registration batch file containing details of learners (including their ULN). Learners can then be found and their details updated within the LRS organisation portal.
The validation tool allows you to check the information contained with your registration batch file before it is submitted.
Published: 11 March 2014


type Focus
source code
object --+
|
Focus
Return a container for a sequence of Focus objects
foc = Focus()
The sequence is populated by using the 'add_focus_x' and 'add_focus_y'
methods. These methods define a point ('xo' or 'yo'), around witch to
focus, a focusing factor of 'focus', and x and y extent of focusing given
by Rx or Ry. The region of focusing will be approximately Gausian, and the
resolution will be increased by approximately the value of factor.
foc.add_focus_x(xo, factor=2.0, Rx=0.1)
foc.add_focus_y(yo, factor=2.0, Ry=0.1)
- Calls to the object return transformed coordinates:
- xf, yf = foc(x, y)
where x and y must be within [0, 1], and are typically a uniform,
normalized grid. The focused grid will be the result of applying each of
the focus elements in the sequence they are added to the series.
>>> foc = octant.grid.Focus()
>>> foc.add_focus_x(0.2, factor=3.0, Rx=0.2)
>>> foc.add_focus_y(0.6, factor=5.0, Ry=0.35)
>>> x, y = np.mgrid[0:1:3j,0:1:3j]
>>> xf, yf = foc(x, y)
>>> print xf
[[ 0. 0. 0. ]
[ 0.36594617 0.36594617 0.36594617]
[ 1. 1. 1. ]]
>>> print yf
[[ 0. 0.62479833 1. ]
[ 0. 0.62479833 1. ]
[ 0. 0.62479833 1. ]]
|
|
__call__(self,
x,
y)
docstring for __call__ |
source code
|
|
|
|
|
|
|
add_focus_x(self,
xo,
factor=2.0,
Rx=0.1)
docstring for add_point |
source code
|
|
|
|
add_focus_y(self,
yo,
factor=2.0,
Ry=0.1)
docstring for add_point |
source code
|
|
- Overrides:
object.__init__
- (inherited documentation)
|


Hi, I'm Samantha. I graduated from Harvey Mudd College this past May with a BS in International Relations and a minor in Computer Science - a combination that's left me with an understanding of the global reach of technology, serious communication skills, the ability to create a fully functioning website in hours, and an analytical mindset that can switch from empathy to data effortlessly. So far, I've used my skills to design and code some cool products at brand new startups in education and home improvement. I've also managed social media policy and designed SEO strategies, and I'm currently in the process of launching a personal blog with a Wordpress theme I built from scratch.
When not working, I love exploring, talking foreign policy, trying new recipes, and writing. I studied abroad twice while in university and I'm always planning my next adventure. As you can see below, learning is my favorite thing to do and I'm always grateful for book, podcast, and online course recommendations.
Code is changing the way the world works, and I want to make sure this change is driven by the needs of real people and is solving real problems. In order to make this contribution, I am currently looking for full-time opportunities in product marketing and management at tech companies making a real difference. Thank you for visiting.
I'm passionate about creating simple, intuitive user interfaces and I believe the best designs tell a compelling story. I have experience with Balsamiq, draw.io, and Sketch.
I work with users to make their experience with the technology as enjoyable and seamless as possible. I've created hundreds of user stories and led many rounds of user testing.


This is a demo game to try out JavaScript capabilities on the new Espruino build for ESP8266.
The objective of the game is to turn ON or turn OFF all the lights, so choose your side and get ready!
Start Playing
http://espressif.com
http://www.espruino.com


Details of Receiver (Billed to) :
Name : Automate
Address : 875, 876, 877, Tilak Gali, Hamilton Road, Kashmere Gate
State : Delhi
State Code : 6
GSTIN : 07AACPB3697G1ZT
|
|
Details of Consignee (Shipped to) :
Name : Automate
Address : 875, 876, 877, Tilak Gali, Hamilton Road, Kashmere Gate
State : Delhi
State Code : 6
GSTIN : 07AACPB3697G1ZT
|
|
| S.no |
Description of Goods |
HSN Code |
Qty |
Unit |
Rate (INR) |
Taxable value |
|
|
|
Total Amount |
Total Cost |
| 1 |
Prod 234 |
HSNN334 |
1 |
- |
800 |
800 |
|
|
|
40 |
840.00 |
|
Total Tax Amount(INR) |
40.00 |
|
Total Cost (INR) |
840.00 |
|


@* * Copyright 2020 HM Revenue & Customs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. *@ @this( main_template: MainTemplate ) @()(implicit request: Request[_], messages: Messages) @main_template( title = messages("home.page.title") ) { @components.heading("home.page.heading")


public interface BeanDeclaration
Definition of an interface for declaring a bean in a configuration file.
Commons Configurations allows to define beans (i.e. simple Java objects) in configuration files, which can be created at runtime. This is especially useful if you program against interfaces and want to define the concrete implementation class is a configuration file.
This interface defines methods for retrieving all information about a bean that should be created from a configuration file, e.g. the bean's properties or the factory to use for creating the instance. With different implementations different "layouts" of bean declarations can be supported. For instance if an XML configuration file is used, all features of XML (e.g. attributes, nested elements) can be used to define the bean. In a properties file the declaration format is more limited. The purpose of this interface is to abstract from the concrete declaration format.
| Modifier and Type | Method and Description |
|---|---|
String |
getBeanClassName()
Returns the name of the bean class, from which an instance is to be
created.
|
String |
getBeanFactoryName()
Returns the name of the
BeanFactory that should be used
for creating the bean instance. |
Object |
getBeanFactoryParameter()
Here an arbitrary object can be returned that will be passed to the bean
factory.
|
Map<String,Object> |
getBeanProperties()
Returns a map with properties that should be initialized on the newly
created bean.
|
Map<String,Object> |
getNestedBeanDeclarations()
Returns a map with declarations for beans that should be set as
properties of the newly created bean.
|
String getBeanFactoryName()
BeanFactory
that should be used
for creating the bean instance. This can be null, then a default
factory will be used.Object getBeanFactoryParameter()
String getBeanClassName()
Map<String,Object> getBeanProperties()
Map<String,Object> getNestedBeanDeclarations()
BeanDeclaration
implementations or collections thereof. They will be treated like this
declaration (in a* recursive manner), and the resulting beans are
assigned to the corresponding properties.Copyright © 2001–2013 The Apache Software Foundation. All rights reserved.


Creative Animated Loading icon in HTML5 CSS3
Rag 18 Reloaded
-
{{discipline}}
Prev
Print
Next
{{key}}
View Photo
{{val}}


Great enthusiasm!
Head over to Modalite's GitHub page! See you there! ✌
If you like my shitty code, consider a donation.
I'll use that money for drugs.
SHOW ME A MODAL!
NESTED MODALS?
REMOTE CONTENT?
WHAT ABOUT IFRAMES?
LET'S GET STARTED!!!
You don't even need any classes to make it work. No jQuery. Basically, no CSS too. And guess what. Adding modals and triggers dynamically would still work great without binding and listening to some crappy events.
Head over to Modalite's GitHub page! See you there! ✌
If you like my shitty code, consider a donation.
I'll use that money for drugs.


--- title: Changes in SAPI modules version: "5.4" tags: - "5.4" - sapi ---
cli-server
is now available.
--rz
which shows information of the named Zend extension.
#inisetting=value
to change php.ini settings at run-time in interactive readline CLI
process.max
setting, to control the number
of processes that FPM can fork.


The Abstract Factory Pattern provides a way to encapsulate a group of individual factories that have a common theme. It embodies the intent of a normal factory, i.e. remove the need for code using an interface to know the concrete implementation behind the interface, but applies to a set of interfaces and selects an entire family of concrete classes which implement those interfaces.
As an example, I might have interfaces Button, TextField and Scrollbar. I might have WindowsButton, MacButton, FlashButton as concrete classes for Button. I might have WindowsScrollBar, MacScrollBar and FlashScrollBar as concrete implementations for ScrollBar. Using the Abstract Factory Pattern should allow me to select which windowing system (i.e. Windows, Mac, Flash) I want to use once and from then on should be able to write code that references the interfaces but is always using the appropriate concrete classes (all from the one windowing system) under the covers.
1. Example
Suppose we want to write a game system. We might note that many games have very similar features and control.
We decide to try to split the common and game-specific code into separate classes.
First let’s look at the game-specific code for a Two-up game:
class TwoupMessages {
def welcome = 'Welcome to the twoup game, you start with $1000'
def done = 'Sorry, you have no money left, goodbye'
}
class TwoupInputConverter {
def convert(input) { input.toInteger() }
}
class TwoupControl {
private money = 1000
private random = new Random()
private tossWasHead() {
def next = random.nextInt()
return next % 2 == 0
}
def moreTurns() {
if (money > 0) {
println "You have $money, how much would you like to bet?"
return true
}
false
}
def play(amount) {
def coin1 = tossWasHead()
def coin2 = tossWasHead()
if (coin1 && coin2) {
money += amount
println 'You win'
} else if (!coin1 && !coin2) {
money -= amount
println 'You lose'
} else {
println 'Draw'
}
}
}
Now, let’s look at the game-specific code for a number guessing game:
class GuessGameMessages {
def welcome = 'Welcome to the guessing game, my secret number is between 1 and 100'
def done = 'Correct'
}
class GuessGameInputConverter {
def convert(input) { input.toInteger() }
}
class GuessGameControl {
private lower = 1
private upper = 100
private guess = new Random().nextInt(upper - lower) + lower
def moreTurns() {
def done = (lower == guess || upper == guess)
if (!done) {
println "Enter a number between $lower and $upper"
}
!done
}
def play(nextGuess) {
if (nextGuess <= guess) {
lower = [lower, nextGuess].max()
}
if (nextGuess >= guess) {
upper = [upper, nextGuess].min()
}
}
}
Now, let’s write our factory code:
def guessFactory = [messages: GuessGameMessages, control: GuessGameControl, converter: GuessGameInputConverter]
def twoupFactory = [messages: TwoupMessages, control: TwoupControl, converter: TwoupInputConverter]
class GameFactory {
def static factory
def static getMessages() { return factory.messages.newInstance() }
def static getControl() { return factory.control.newInstance() }
def static getConverter() { return factory.converter.newInstance() }
}
The important aspect of this factory is that it allows selection of an entire family of concrete classes.
Here is how we would use the factory:
GameFactory.factory = twoupFactory
def messages = GameFactory.messages
def control = GameFactory.control
def converter = GameFactory.converter
println messages.welcome
def reader = new BufferedReader(new InputStreamReader(System.in))
while (control.moreTurns()) {
def input = reader.readLine().trim()
control.play(converter.convert(input))
}
println messages.done
Note that the first line configures which family of concrete game classes we will use. It’s not important that we selected which family to use by using the factory property as shown in the first line. Other ways would be equally valid examples of this pattern. For example, we may have asked the user which game they wanted to play or determined which game from an environment setting.
With the code as shown, the game might look like this when run:
Welcome to the twoup game, you start with $1000 You have 1000, how much would you like to bet? 300 Draw You have 1000, how much would you like to bet? 700 You win You have 1700, how much would you like to bet? 1700 You lose Sorry, you have no money left, goodbye
If we change the first line of the script to GameFactory.factory = guessFactory, then the sample run might look like this:
Welcome to the guessing game, my secret number is between 1 and 100 Enter a number between 1 and 100 75 Enter a number between 1 and 75 35 Enter a number between 1 and 35 15 Enter a number between 1 and 15 5 Enter a number between 5 and 15 10 Correct


Table of Contents - rack-test-0.8.2 Documentation
Classes and Modules
- Rack
- Rack::MockSession
- Rack::Test
- Rack::Test::Cookie
- Rack::Test::CookieJar
- Rack::Test::Error
- Rack::Test::Methods
- Rack::Test::MockDigestRequest
- Rack::Test::Session
- Rack::Test::UploadedFile
- Rack::Test::Utils
Methods
- ::actually_finalize — Rack::Test::UploadedFile
- ::encoding_aware_strings? — Rack::Test
- ::finalize — Rack::Test::UploadedFile
- ::new — Rack::Test::UploadedFile
- ::new — Rack::Test::Session
- #authorize — Rack::Test::Session
- #basic_authorize — Rack::Test::Session
- #custom_request — Rack::Test::Session
- #default_env — Rack::Test::Session
- #delete — Rack::Test::Session
- #digest_auth_configured? — Rack::Test::Session
- #digest_auth_header — Rack::Test::Session
- #digest_authorize — Rack::Test::Session
- #env — Rack::Test::Session
- #env_for — Rack::Test::Session
- #follow_redirect! — Rack::Test::Session
- #get — Rack::Test::Session
- #head — Rack::Test::Session
- #header — Rack::Test::Session
- #headers_for_env — Rack::Test::Session
- #initialize_from_file_path — Rack::Test::UploadedFile
- #initialize_from_io — Rack::Test::UploadedFile
- #local_path — Rack::Test::UploadedFile
- #options — Rack::Test::Session
- #params_to_string — Rack::Test::Session
- #parse_uri — Rack::Test::Session
- #patch — Rack::Test::Session
- #path — Rack::Test::UploadedFile
- #post — Rack::Test::Session
- #process_request — Rack::Test::Session
- #put — Rack::Test::Session
- #request — Rack::Test::Session
- #retry_with_digest_auth? — Rack::Test::Session


`
Do your tours include international airfare ?
Travelers arrive from all over the world to begin our tours and it is not possible to include international airfare in our prices. We would be happy to help you arrange flights. Just ask for an air quote when making your booking.
How many people can join a tour ?
We keep our group sizes low so you have the freedom to move around and get involved with your surroundings, as well as more personal attention from our local guides. This intimate size ensures that your group will not crowd your experience. You can expect up to 15 travelers on a trip but the average is 10. Check individual trip pages for maximum group sizes.
Are airport transfers included ?
Transfers will depend on the trip you choose and vary amongst destinations. In general, if you are joining or departing your guided vacation on the first or last day, return transfers between the airport and hotel are included (excludes itineraries starting and/or ending in London). You’ll find specific information on your itinerary’s page.
Do I need travel insurance ?
We strongly recommend that all guests have a travel insurance policy to ensure your peace of mind before and while traveling. It's important that you protect yourself in case of trip cancellations, an interruption for any reason, baggage delays or loss of baggage and medical expenses.


Passion: Scholarships and internships
Never to be forgotten
Gabriel Zimmerman (Stevenson '02, sociology) was a hard-working community organizer with a strong sense of social justice and conflict resolution.
On January 8, 2011, he was one of six people fatally injured in the shooting rampage at a Tucson, Ariz., "Congress on Your Corner" event that left his boss, Congresswoman Gabrielle Giffords, seriously wounded. (Giffords is currently in rehabilitation.) He was 30.
News of Zimmerman's tragic death inspired an outpouring of support for UCSC's Gabriel Zimmerman Scholarship Fund, which commemorates the country's first congressional aide killed in the line of duty.
The money will go to UCSC social sciences students who are in financial need and seeking careers in social justice or public service. The first award, $2,500, will be presented in April 2012.
It only took two months to push the scholarship over the $50,000 level needed to launch an endowment fund.
The power of social media became clear as supporters passed on word of this incident—and how others could help—through Facebook and Twitter.
In mid-October the fund broke $75,000, with 540 donors, half of them alumni, contributing between $10 and $5,000.
UCSC Social Sciences Dean Sheldon Kamieniecki said he could not think of a better way to honor Zimmerman's life while helping students follow in his footsteps.
Zimmerman's mother, Emily Nottingham, is heartened by the widespread support.
"It was at UC Santa Cruz that Gabe really became interested in social justice, not just the political aspects but in the way people should think and treat one another, how they should be governed, or govern themselves," Nottingham said. "UCSC is where he got his maturity, and his thinking about those issues."
The campus was very important to Gabe, Nottingham continued. "It's good that UCSC feels that he is part of their community because he certainly felt that way. The scholarship would have been very special to him. He would have been surprised, and particularly touched."
For information or to donate to the Gabriel Zimmerman Scholarship Fund, please contact Marcus Frost, associate director of development, Division of Social Sciences, at<EMAIL_ADDRESS>or click here.


--- layout: page title: Upcoming Events subtitle: Community events organized by KAOC bigimg: - "/img/big-imgs/ker02.jpg" : "" - "/img/big-imgs/ker06.jpg" : "" - "/img/big-imgs/ker08.jpg" : "" ---
| Name of Event | Anticipated Date* |
| Cultural Programs | |
| Virtual Music Night | Apr 18, 2021 |
| Onam Mela | Aug 28, 2021 |
| Indian Dance Festival | Oct 23, 2021 |
| Christmas | Dec 11, 2021 |
| Sports Events | |
| Tennis Tournament | Jul 5 - Aug 30, 2021 |
| Table Tennis Tournament | Cancelled |
| Chess Competition | Cancelled |
| Other Initiatives | |
| Madhuram Malayalam - South | Every Wednesday |
| Madhuram Malayalam - North | Every Sunday |
| Yuva Workshops | Adhoc |
| KAOC Women's Wing | Adhoc |


WYATT EARP A film review by Chuck Dowling Copyright 1996 Chuck Dowling
Wyatt Earp (1994) ****1/2 - C:Kevin Costner, Dennis Quaid, Gene Hackman, Michael Madsen, Tom Sizemore, Jeff Fahey, Mark Harmon, Bill Pullman, Isabella Rossellini, Jo Beth Williams, Mare Winningham, Mackenzie Astin, Tea Leoni.
"Wyatt Earp" faced unfortunate comparisons to the Kurt Russell film "Tombstone" which came out only months earlier. And while both are immensely entertaining, they are in fact two distinctly different kinds of films. "Tombstone" is an action picture, centering around the events which took place in the town of Tombstone involving Wyatt Earp. "Wyatt Earp" is a drama about the man himself, about what made him who he was, and about the events throughout his entire life. People who expect lots of action from this film will be disappointed, but I knew exactly what I was about to see and therefore my expectations were met.
"Wyatt Earp" runs over three hours long, something which audiences today just won't stand for, no matter if the film is good or not (which makes no sense, especially when people will rent three movies and then watch them back to back). For me, as long as a movie is good, then it can go on forever. "Wyatt Earp" in no way seems too long.
Surely almost every movie-goer by now has seen some version of the Wyatt Earp legend, or at least knows it's story. So there's not much need to discuss the plot of the film. Wyatt Earp and his family try to lead normal lives, but get drawn into the business of keeping the peace and can not escape that profession.
Now, I have seen many film versions of this story: "My Darling Clementine", "Gunfight at the OK Corral", "Hour of the Gun", and "Tombstone". And I still must say that I'm confused as to the actual events leading up to and following the big gunfight between the Earps and the Clantons. None of the film versions have successfully gone into enough detail to explain matters. I guess that the filmmakers assume that we already know the background info and therefore don't need to give much exposition into the conflict.
Kevin Costner, who in my opinion has received a lot of unnecessary criticism in the last few years, does a fine job with the title character. He convincingly plays Wyatt from his teenage years up until old age. Dennis Quaid, who pulled a Robert De Niro losing over 30 pounds to play the sickly Doc Holliday, gives a fantastic performance. The same goes for the rest of the cast, all doing just fine with what they are given to do. The direction, cinematography, and set design are all excellent, as is James Newton Howard's eloquent score music.
A minor problem with the film is that the script tries to cover way too much ground, and even at its long running time you feel as though the filmmakers have barely scratched the surface. Also, characters seem to wander in and out of the story with no explaination as to where they are. Other characters, such as Mark Harmon's, aren't even introduced to us, we just have to figure out who he is as we go along! And, the final two scenes seem unsatisfactory. You want to see Wyatt return to his father and resolve their conflict. You want to see Wyatt take Doc to the hospital and to say goodbye to his friend. But, I guess if movies always went exactly where we wanted them to, then the whole movie "experience" would lose it's effect.
A special expanded edition of "Wyatt Earp" was released on video which included more that twenty minutes of footage which had been cut from the original theatrical version. All of the scenes re-added are worthy scenes, adding more depth to characters, and giving more infomation about who certain people are, such as Mark Harmon's character and Isabella Rossellini's character. The expanded edition gets *****.
-- Chuck Dowling Visit Chuck's Movie Reviews at http://users.southeast.net/~chuckd21/ Over 1,500 movies rated and/or reviewed! Movie news, box office reports, film related links, and reader's polls and reviews.
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
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.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Welcome to PyTrie’s documentation!¶
pytrie
is a pure Python implementation of the
trie (prefix tree) data structure.
A trie is a tree data structure that is used to store a mapping where the keys
are sequences, usually strings over an alphabet. In addition to implementing the
mapping interface, tries facilitate finding the items for a given prefix, and
vice versa, finding the items whose keys are prefixes of a given key K
. As a
common special case, finding the longest-prefix item is also supported.
Algorithmically, tries are more efficient than binary search trees (BSTs) both in lookup time and memory when they contain many keys sharing relatively few prefixes. Unlike hash tables, trie keys don’t need to be hashable. In the current implementation, a key can be any finite iterable with hashable elements.
Usage¶
>>> from pytrie import SortedStringTrie as Trie
>>> t = Trie(an=0, ant=1, all=2, allot=3, alloy=4, aloe=5, are=6, be=7)
>>> t
SortedStringTrie({'all': 2, 'allot': 3, 'alloy': 4, 'aloe': 5, 'an': 0, 'ant': 1, 'are': 6, 'be': 7})
>>> t.keys(prefix='al')
['all', 'allot', 'alloy', 'aloe']
>>> t.items(prefix='an')
[('an', 0), ('ant', 1)]
>>> t.longest_prefix('antonym')
'ant'
>>> t.longest_prefix_item('allstar')
('all', 2)
>>> t.longest_prefix_value('area', default='N/A')
6
>>> t.longest_prefix('alsa')
Traceback (most recent call last):
...
KeyError
>>> t.longest_prefix_value('alsa', default=-1)
-1
>>> list(t.iter_prefixes('allotment'))
['all', 'allot']
>>> list(t.iter_prefix_items('antonym'))
[('an', 0), ('ant', 1)]
Reference documentation¶
Classes¶
-
class
pytrie.
Trie
(*args, **kwargs)¶ Bases:
collections.abc.MutableMapping
Base trie class.
As with regular dicts, keys are not necessarily returned sorted. Use
SortedTrie
if sorting is required.-
KeyFactory
¶ alias of
builtins.tuple
-
__init__
(*args, **kwargs)¶ Create a new trie.
Parameters are the same with
dict()
.
-
classmethod
fromkeys
(iterable, value=None)¶ Create a new trie with keys from
iterable
and values set tovalue
.Parameters are the same with
dict.fromkeys()
.
-
-
class
pytrie.
StringTrie
(*args, **kwargs)¶ Bases:
pytrie.Trie
A more appropriate for string keys
Trie
.
-
class
pytrie.
SortedTrie
(*args, **kwargs)¶ Bases:
pytrie.Trie
A
Trie
that returns its keys (and associated values/items) sorted.
-
class
pytrie.
SortedStringTrie
(*args, **kwargs)¶ Bases:
pytrie.SortedTrie
,pytrie.StringTrie
A
Trie
that is both aStringTrie
and aSortedTrie
Trie methods¶
The following methods are specific to tries; they are not part of the mapping API.
-
Trie.
longest_prefix
(key[, default])¶ Return the longest key in this trie that is a prefix of
key
.- If the trie doesn’t contain any prefix of
key
: - if
default
is given, return it - otherwise raise
KeyError
- if
- If the trie doesn’t contain any prefix of
-
Trie.
longest_prefix_value
(key[, default])¶ Return the value associated with the longest key in this trie that is a prefix of
key
.- If the trie doesn’t contain any prefix of
key
: - if
default
is given, return it - otherwise raise
KeyError
- if
- If the trie doesn’t contain any prefix of
-
Trie.
longest_prefix_item
(key[, default])¶ Return the item (
(key,value)
tuple) associated with the longest key in this trie that is a prefix ofkey
.- If the trie doesn’t contain any prefix of
key
: - if
default
is given, return it - otherwise raise
KeyError
- if
- If the trie doesn’t contain any prefix of
-
Trie.
iter_prefixes
(key)¶ Return an iterator over the keys of this trie that are prefixes of
key
.
-
Trie.
iter_prefix_values
(key)¶ Return an iterator over the values of this trie that are associated with keys that are prefixes of
key
.
-
Trie.
iter_prefix_items
(key)¶ Return an iterator over the items (
(key,value)
tuples) of this trie that are associated with keys that are prefixes ofkey
.
Extended mapping API methods¶
The following methods extend the respective mapping API methods with an optional
prefix
parameter. If not None
, only keys (or associated values/items)
that start with prefix
are returned.
-
Trie.
keys
(prefix=None)¶ Return a list of this trie’s keys.
Parameters: prefix – If not None, return only the keys prefixed by prefix
.
-
Trie.
values
(prefix=None)¶ Return a list of this trie’s values.
Parameters: prefix – If not None, return only the values associated with keys prefixed by prefix
.
-
Trie.
items
(prefix=None)¶ Return a list of this trie’s items (
(key,value)
tuples).Parameters: prefix – If not None, return only the items associated with keys prefixed by prefix
.
-
Trie.
iterkeys
(prefix=None)¶ Return an iterator over this trie’s keys.
Parameters: prefix – If not None, yield only the keys prefixed by prefix
.
-
Trie.
itervalues
(prefix=None)¶ Return an iterator over this trie’s values.
Parameters: prefix – If not None, yield only the values associated with keys prefixed by prefix
.
-
Trie.
iteritems
(prefix=None)¶ Return an iterator over this trie’s items (
(key,value)
tuples).Parameters: prefix – If not None, yield only the items associated with keys prefixed by prefix
.
Original mapping API methods¶
The following methods have the standard mapping signature and semantics.
-
Trie.
__len__
()¶
-
Trie.
__bool__
()¶
-
Trie.
__iter__
()¶
-
Trie.
__contains__
(key)¶
-
Trie.
__getitem__
(key)¶
-
Trie.
__setitem__
(key, value)¶
-
Trie.
__delitem__
(key)¶
-
Trie.
__repr__
()¶ Return repr(self).
-
Trie.
clear
() → None. Remove all items from D.¶
-
Trie.
copy
()¶
Internals¶
Tries are implemented as trees of Node
instances. You don’t need to
worry about them unless unless you want to extend or replace Node
with
a new node factory and bind it to Trie.NodeFactory
.
-
class
pytrie.
Node
(value=<class 'pytrie.NULL'>)¶ Bases:
object
Trie node class.
Subclasses may extend it to replace
ChildrenFactory
with a different mapping class (e.g. sorteddict)Variables: - value – The value of the key corresponding to this node or
NULL
if there is no such key. - children – A
{key-part : child-node}
mapping.
-
ChildrenFactory
¶ alias of
builtins.dict
- value – The value of the key corresponding to this node or


{% load static %} Autama {% block csstyle %} {% endblock %}
By using our website, you agree to our privacy policy


Edward John Moreton Drax Plunkett, 18th Baron of Dunsany was an Irish writer and dramatist, notable for his work, mostly in fantasy, published under the name Lord Dunsany. More than eighty books of his work were published, and his oeuvre includes many hundreds of published short stories, as well as successful plays, novels and essays. He is best known for his 1924 fantasy novel The King of Elfland's Daughter.


Celtic tease their Christmas advert starring Neil Lennon in a tux and Bauer the elf
Mystery surrounds what the theme of this year's advert will be...
by Jennifer Russell, https://www.dailyrecord.co.uk/authors/jennifer-russell/The wait is almost over for Celtic fans as the highly-anticipated Christmas advert is on its way.
The club teased a few pictures from the filming of the commercial - and fans are already going wild for it.
The pictures show Neil Lennon in a tux holding a clapperboard, Jullien and Ajer in matching Christmas jumpers and Bauer as a possible elf.
However, mystery surrounds what the theme of this year's advert will be.
Last year it was Kieran Tierney as Tiny Tim, in 2017 it was Brendan Rodgers as the bus driver, and 2016 saw the now legendary Griff the elf.
Releasing the first pictures on Twitter , the club said: "Stars of the BIG stage in more ways than one..."
And in the bottom corner of the images is the saying 'star of Lisbon, star so bright, star of Glasgow's green and white'. So a Hollywood theme with Celtic's name written in the stars could be an idea?
The Hoops' festive offerings have become as much a part of the Christmas build-up as any of the big supermarket adverts in recent years - for Celtic fans anyway.
Commenting on the post, fans are already 'buzzing' with the advert tease.
One fan said: "Best 24 hours ever" and another added: "Can't wait but Griffiths better be our elf".
It has been an exciting 24 hours for the club and fans after beating Lazio with a last minute away goal in Rome to enter Europa League last 32.


The first few samples are more to try out c3js library. They have nothing to do with the directives.
The next few samples are using the directives.


Example of ng-cron-input
Computed Cron Expression
{{currentCron}}
Cron Input Directive ng-cron-input
Example of ng-cron-display
Cron is valid:
Example of ng-next-cron-dates
Cron is valid:


DEPRECATION NOTICE
Win32::Console has been deprecated in favor of an external tool named ANSICON:
This project is left here for history purposes but no further development will be done.
DESCRIPTION
Win32::Console allows controling the windows command line terminal thru an OO-interface. This allows you to query the terminal (find its size, characters, attributes, etc). The interface and functionality should be identical to Perl's counterpart.
A port of Perl's Win32::Console and Win32::Console::ANSI modules.
This gem packages Gonzalo Garramuno's Win32::Console project, and includes a compiled binary for speed. The Win32::Console project's home can be found at:
http://rubyforge.org/projects/win32console
FEATURES
Win32::Console::ANSI is a class derived from IO that seamlessly translates ANSI Esc control character codes into Windows' command.exe or cmd.exe equivalents.
To ease usage, you can use in combination with term-ansicolor gem and avoid writing ANSI codes manually.
EXAMPLES
To output a simple bolded string, try this script:
require 'rubygems' require 'win32console' include Win32::Console::ANSI include Term::ANSIColor puts bold << "bolded text" << clear << " and no longer bold."
INSTALL
To install from rubygems, simple run:
gem install win32console
To install from source, make sure you have the Ruby development kit from RubyInstaller on your Windows host, install the following gems:
* rake * hoe * rake-compiler
Then run the following:
rake gem gem install pkg\win32console-1.3.0.gem
DEVELOPERS:
After checking out the source, run:
$ rake newb
This task will install any missing dependencies, run the tests/specs, and generate the RDoc.
LICENSE
This program is FREE; you can redistribute, modify, disassemble, or even reverse engineer this software at your will. Keep in mind, however, that NOTHING IS GUARANTEED to work and everything you do is AT YOUR OWN RISK - I will not take responsibility for any damage, loss of money and/or health that may arise from the use of this program!
This is distributed under the terms of Larry Wall's Artistic License.


{include file='themes/main/header.html' web_root='..' subtitle='Equipment'} Edit Equipment {include file='themes/main/footer.html'}


Dotpay\Response\Validator
Namespaces
Classes
Validator against ChannelCountryConstraint.
Validator against ChannelConstraint.
Validator against ControlConstraint.
Validator against CreditCardBrandCodeConstraint.
Validator against CreditCardBrandCodenameConstraint.
Validator against CreditCardIdConstraint.
Validator against CreditCardIssuerIdentificationNumberConstraint.
Validator against CreditCardMaskedNumberConstraint.
Validator against DescriptionConstraint.
Validator against EmailConstraint.
Validator against ErrorCode.
Validator against GeoipCountryConstraint.
Validator against IdConstraint.
Validator against IsCompletedConstraint.
Validator against OperationAmountConstraint.
Validator against OperationCommissionAmountConstraint.
Validator against OperationCurrencyConstraint.
Validator against OperationDatetimeConstraint.
Validator against OperationNumberConstraint.
Validator against OperationOriginalAmountConstraint.
Validator against OperationOriginalCurrencyConstraint.
Validator against OperationRelatedNumberConstraint.
Validator against OperationStatusConstraint.
Validator against OperationTypeConstraint.
Validator against OperationWithdrawalAmountConstraint.
Validator against PEmailConstraint.
Validator against PInfoConstraint.
Validator against SignatureConstraint.


Featured Event
September 17 through December 12, 2013
- Mary Johnston Memorial Library in Standish
- Tuesdays at 2:30pm
- AuGres Community Library
- Wednesdays at 10am
- Tawas City Library
-
- Thursdays at 10:30am
Collection Corner
Did You know that you can access image collections from various sources includning the Smithsonian and the Library of Congredd? This corner will highlight the "Collection of the Month".
(Images in these collections may be subject to copyright restrictions.)
Colonial Williamsburg
The Colonial Williamsburg Foundation's repository of British and American art and archeological artifacts is one of the largest in the world showing life in the American colonies.
Click here to see the online exhibit


SSHD_CONFIG
Section: File Formats (5)Index Return to Main Contents
BSD mandoc
NAME
sshd_config - OpenSSH SSH daemon configuration fileSYNOPSIS
/etc/ssh/sshd_configDESCRIPTION
sshd(8) reads configuration data from /etc/ssh/sshd_config (or the file specified with -f on the command line). The file contains keyword-argument pairs, one per line. Lines starting with `#' and empty lines are interpreted as comments. Arguments may optionally be enclosed in double quotes () in order to represent arguments containing spaces.The possible keywords and their meanings are as follows (note that keywords are case-insensitive and arguments are case-sensitive):
- AcceptEnv
- Specifies what environment variables sent by the client will be copied into the session's environ(7). See SendEnv in ssh_config5 for how to configure the client. Note that environment passing is only supported for protocol 2. Variables are specified by name, which may contain the wildcard characters `*' and `?' Multiple environment variables may be separated by whitespace or spread across multiple AcceptEnv directives. Be warned that some environment variables could be used to bypass restricted user environments. For this reason, care should be taken in the use of this directive. The default is not to accept any environment variables.
- AddressFamily
- Specifies which address family should be used by sshd(8). Valid arguments are ``any'' ``inet'' (use IPv4 only), or ``inet6'' (use IPv6 only). The default is ``any''
- AllowAgentForwarding
- Specifies whether ssh-agent1 forwarding is permitted. The default is ``yes'' Note that disabling agent forwarding does not improve security unless users are also denied shell access, as they can always install their own forwarders.
- AllowGroups
-
This keyword can be followed by a list of group name patterns, separated
by spaces.
If specified, login is allowed only for users whose primary
group or supplementary group list matches one of the patterns.
Only group names are valid; a numerical group ID is not recognized.
By default, login is allowed for all groups.
The allow/deny directives are processed in the following order:
DenyUsers
AllowUsers
DenyGroups
and finally
AllowGroups
See Sx PATTERNS in ssh_config5 for more information on patterns.
- AllowTcpForwarding
- Specifies whether TCP forwarding is permitted. The default is ``yes'' Note that disabling TCP forwarding does not improve security unless users are also denied shell access, as they can always install their own forwarders.
- AllowUsers
-
This keyword can be followed by a list of user name patterns, separated
by spaces.
If specified, login is allowed only for user names that
match one of the patterns.
Only user names are valid; a numerical user ID is not recognized.
By default, login is allowed for all users.
If the pattern takes the form USER@HOST then USER and HOST
are separately checked, restricting logins to particular
users from particular hosts.
The allow/deny directives are processed in the following order:
DenyUsers
AllowUsers
DenyGroups
and finally
AllowGroups
See Sx PATTERNS in ssh_config5 for more information on patterns.
- AuthorizedKeysFile
- Specifies the file that contains the public keys that can be used for user authentication. AuthorizedKeysFile may contain tokens of the form %T which are substituted during connection setup. The following tokens are defined: %% is replaced by a literal '%', %h is replaced by the home directory of the user being authenticated, and %u is replaced by the username of that user. After expansion, AuthorizedKeysFile is taken to be an absolute path or one relative to the user's home directory. The default is ``.ssh/authorized_keys''
- Banner
- The contents of the specified file are sent to the remote user before authentication is allowed. If the argument is ``none'' then no banner is displayed. This option is only available for protocol version 2. By default, no banner is displayed.
- ChallengeResponseAuthentication
- Specifies whether challenge-response authentication is allowed (e.g. via PAM or though authentication styles supported in login.conf5) The default is ``yes''
- ChrootDirectory
-
Specifies a path to
chroot(2)
to after authentication.
This path, and all its components, must be root-owned directories that are
not writable by any other user or group.
After the chroot,
sshd(8)
changes the working directory to the user's home directory.
The path may contain the following tokens that are expanded at runtime once the connecting user has been authenticated: %% is replaced by a literal '%', %h is replaced by the home directory of the user being authenticated, and %u is replaced by the username of that user.
The ChrootDirectory must contain the necessary files and directories to support the user's session. For an interactive session this requires at least a shell, typically sh(1), and basic /dev nodes such as null(4), zero(4), stdin(4), stdout(4), stderr(4), arandom(4) and tty(4) devices. For file transfer sessions using ``sftp'' no additional configuration of the environment is necessary if the in-process sftp server is used, though sessions which use logging do require /dev/log inside the chroot directory (see sftp-server8 for details).
The default is not to chroot(2).
- Ciphers
-
Specifies the ciphers allowed for protocol version 2.
Multiple ciphers must be comma-separated.
The supported ciphers are
``3des-cbc''
``aes128-cbc''
``aes192-cbc''
``aes256-cbc''
``aes128-ctr''
``aes192-ctr''
``aes256-ctr''
``arcfour128''
``arcfour256''
``arcfour''
``blowfish-cbc''
and
``cast128-cbc''
The default is:
aes128-ctr,aes192-ctr,aes256-ctr,arcfour256,arcfour128, aes128-cbc,3des-cbc,blowfish-cbc,cast128-cbc,aes192-cbc, aes256-cbc,arcfour
- ClientAliveCountMax
-
Sets the number of client alive messages (see below) which may be
sent without
sshd(8)
receiving any messages back from the client.
If this threshold is reached while client alive messages are being sent,
sshd will disconnect the client, terminating the session.
It is important to note that the use of client alive messages is very
different from
TCPKeepAlive
(below).
The client alive messages are sent through the encrypted channel
and therefore will not be spoofable.
The TCP keepalive option enabled by
TCPKeepAlive
is spoofable.
The client alive mechanism is valuable when the client or
server depend on knowing when a connection has become inactive.
The default value is 3. If ClientAliveInterval (see below) is set to 15, and ClientAliveCountMax is left at the default, unresponsive SSH clients will be disconnected after approximately 45 seconds. This option applies to protocol version 2 only.
- ClientAliveInterval
- Sets a timeout interval in seconds after which if no data has been received from the client, sshd(8) will send a message through the encrypted channel to request a response from the client. The default is 0, indicating that these messages will not be sent to the client. This option applies to protocol version 2 only.
- Compression
- Specifies whether compression is allowed, or delayed until the user has authenticated successfully. The argument must be ``yes'' ``delayed'' or ``no'' The default is ``delayed''
- DenyGroups
-
This keyword can be followed by a list of group name patterns, separated
by spaces.
Login is disallowed for users whose primary group or supplementary
group list matches one of the patterns.
Only group names are valid; a numerical group ID is not recognized.
By default, login is allowed for all groups.
The allow/deny directives are processed in the following order:
DenyUsers
AllowUsers
DenyGroups
and finally
AllowGroups
See Sx PATTERNS in ssh_config5 for more information on patterns.
- DenyUsers
-
This keyword can be followed by a list of user name patterns, separated
by spaces.
Login is disallowed for user names that match one of the patterns.
Only user names are valid; a numerical user ID is not recognized.
By default, login is allowed for all users.
If the pattern takes the form USER@HOST then USER and HOST
are separately checked, restricting logins to particular
users from particular hosts.
The allow/deny directives are processed in the following order:
DenyUsers
AllowUsers
DenyGroups
and finally
AllowGroups
See Sx PATTERNS in ssh_config5 for more information on patterns.
- ForceCommand
- Forces the execution of the command specified by ForceCommand ignoring any command supplied by the client and ~/.ssh/rc if present. The command is invoked by using the user's login shell with the -c option. This applies to shell, command, or subsystem execution. It is most useful inside a Match block. The command originally supplied by the client is available in the SSH_ORIGINAL_COMMAND environment variable. Specifying a command of ``internal-sftp'' will force the use of an in-process sftp server that requires no support files when used with ChrootDirectory
- GatewayPorts
- Specifies whether remote hosts are allowed to connect to ports forwarded for the client. By default, sshd(8) binds remote port forwardings to the loopback address. This prevents other remote hosts from connecting to forwarded ports. GatewayPorts can be used to specify that sshd should allow remote port forwardings to bind to non-loopback addresses, thus allowing other hosts to connect. The argument may be ``no'' to force remote port forwardings to be available to the local host only, ``yes'' to force remote port forwardings to bind to the wildcard address, or ``clientspecified'' to allow the client to select the address to which the forwarding is bound. The default is ``no''
- GSSAPIAuthentication
- Specifies whether user authentication based on GSSAPI is allowed. The default is ``no'' Note that this option applies to protocol version 2 only.
- GSSAPIKeyExchange
- Specifies whether key exchange based on GSSAPI is allowed. GSSAPI key exchange doesn't rely on ssh keys to verify host identity. The default is ``no'' Note that this option applies to protocol version 2 only.
- GSSAPICleanupCredentials
- Specifies whether to automatically destroy the user's credentials cache on logout. The default is ``yes'' Note that this option applies to protocol version 2 only.
- GSSAPIStrictAcceptorCheck
- Determines whether to be strict about the identity of the GSSAPI acceptor a client authenticates against. If ``yes'' then the client must authenticate against the host service on the current hostname. If ``no'' then the client may authenticate against any service key stored in the machine's default store. This facility is provided to assist with operation on multi homed machines. The default is ``yes'' Note that this option applies only to protocol version 2 GSSAPI connections, and setting it to ``no'' may only work with recent Kerberos GSSAPI libraries.
- GSSAPIStoreCredentialsOnRekey
- Controls whether the user's GSSAPI credentials should be updated following a successful connection rekeying. This option can be used to accepted renewed or updated credentials from a compatible client. The default is ``no''
- HostbasedAuthentication
- Specifies whether rhosts or /etc/hosts.equiv authentication together with successful public key client host authentication is allowed (host-based authentication). This option is similar to RhostsRSAAuthentication and applies to protocol version 2 only. The default is ``no''
- HostbasedUsesNameFromPacketOnly
- Specifies whether or not the server will attempt to perform a reverse name lookup when matching the name in the ~/.shosts ~/.rhosts and /etc/hosts.equiv files during HostbasedAuthentication A setting of ``yes'' means that sshd(8) uses the name supplied by the client rather than attempting to resolve the name from the TCP connection itself. The default is ``no''
- HostKey
- Specifies a file containing a private host key used by SSH. The default is /etc/ssh/ssh_host_key for protocol version 1, and /etc/ssh/ssh_host_rsa_key and /etc/ssh/ssh_host_dsa_key for protocol version 2. Note that sshd(8) will refuse to use a file if it is group/world-accessible. It is possible to have multiple host key files. ``rsa1'' keys are used for version 1 and ``dsa'' or ``rsa'' are used for version 2 of the SSH protocol.
- IgnoreRhosts
-
Specifies that
.rhosts
and
.shosts
files will not be used in
RhostsRSAAuthentication
or
HostbasedAuthentication
/etc/hosts.equiv and /etc/ssh/shosts.equiv are still used. The default is ``yes''
- IgnoreUserKnownHosts
- Specifies whether sshd(8) should ignore the user's ~/.ssh/known_hosts during RhostsRSAAuthentication or HostbasedAuthentication The default is ``no''
- KerberosAuthentication
- Specifies whether the password provided by the user for PasswordAuthentication will be validated through the Kerberos KDC. To use this option, the server needs a Kerberos servtab which allows the verification of the KDC's identity. The default is ``no''
- KerberosGetAFSToken
- If AFS is active and the user has a Kerberos 5 TGT, attempt to acquire an AFS token before accessing the user's home directory. The default is ``no''
- KerberosOrLocalPasswd
- If password authentication through Kerberos fails then the password will be validated via any additional local mechanism such as /etc/passwd The default is ``yes''
- KerberosTicketCleanup
- Specifies whether to automatically destroy the user's ticket cache file on logout. The default is ``yes''
- KerberosUseKuserok
- Specifies whether to look at .k5login file for user's aliases. The default is ``yes''
- KeyRegenerationInterval
- In protocol version 1, the ephemeral server key is automatically regenerated after this many seconds (if it has been used). The purpose of regeneration is to prevent decrypting captured sessions by later breaking into the machine and stealing the keys. The key is never stored anywhere. If the value is 0, the key is never regenerated. The default is 3600 (seconds).
- ListenAddress
-
Specifies the local addresses
sshd(8)
should listen on.
The following forms may be used:
- ListenAddress
- host | IPv4_addr | IPv6_addr
- ListenAddress
- host | IPv4_addr : port
- ListenAddress
- [host | IPv6_addr : port ]
If port is not specified, sshd will listen on the address and all prior Port options specified. The default is to listen on all local addresses. Multiple ListenAddress options are permitted. Additionally, any Port options must precede this option for non-port qualified addresses.
- LoginGraceTime
- The server disconnects after this time if the user has not successfully logged in. If the value is 0, there is no time limit. The default is 120 seconds.
- LogLevel
- Gives the verbosity level that is used when logging messages from sshd(8). The possible values are: QUIET, FATAL, ERROR, INFO, VERBOSE, DEBUG, DEBUG1, DEBUG2, and DEBUG3. The default is INFO. DEBUG and DEBUG1 are equivalent. DEBUG2 and DEBUG3 each specify higher levels of debugging output. Logging with a DEBUG level violates the privacy of users and is not recommended.
- MACs Specifies the available MAC (message authentication code) algorithms.
-
The MAC algorithm is used in protocol version 2
for data integrity protection.
Multiple algorithms must be comma-separated.
The default is:
<EMAIL_ADDRESS>hmac-ripemd160,hmac-sha1-96,hmac-md5-96
- Match
-
Introduces a conditional block.
If all of the criteria on the
Match
line are satisfied, the keywords on the following lines override those
set in the global section of the config file, until either another
Match
line or the end of the file.
The arguments to Match are one or more criteria-pattern pairs. The available criteria are User Group Host and Address The match patterns may consist of single entries or comma-separated lists and may use the wildcard and negation operators described in the Sx PATTERNS section of ssh_config5.
The patterns in an Address criteria may additionally contain addresses to match in CIDR address/masklen format, e.g. ``<IP_ADDRESS>/24'' or ``3ffe:ffff::/32'' Note that the mask length provided must be consistent with the address - it is an error to specify a mask length that is too long for the address or one with bits set in this host portion of the address. For example, ``<IP_ADDRESS>/33'' and ``<IP_ADDRESS>/8'' respectively.
Only a subset of keywords may be used on the lines following a Match keyword. Available keywords are AllowAgentForwarding AllowTcpForwarding Banner ChrootDirectory ForceCommand GatewayPorts GSSAPIAuthentication HostbasedAuthentication KbdInteractiveAuthentication KerberosAuthentication KerberosUseKuserok MaxAuthTries MaxSessions PubkeyAuthentication AuthorizedKeysCommand AuthorizedKeysCommandRunAs , PasswordAuthentication PermitEmptyPasswords PermitOpen PermitRootLogin RequiredAuthentications1, RequiredAuthentications2, RhostsRSAAuthentication RSAAuthentication X11DisplayOffset X11Forwarding and X11UseLocalHost
- MaxAuthTries
- Specifies the maximum number of authentication attempts permitted per connection. Once the number of failures reaches half this value, additional failures are logged. The default is 6.
- MaxSessions
- Specifies the maximum number of open sessions permitted per network connection. The default is 10.
- MaxStartups
-
Specifies the maximum number of concurrent unauthenticated connections to the
SSH daemon.
Additional connections will be dropped until authentication succeeds or the
LoginGraceTime
expires for a connection.
The default is 10.
Alternatively, random early drop can be enabled by specifying the three colon separated values ``start:rate:full'' (e.g. "10:30:60"). sshd(8) will refuse connection attempts with a probability of ``rate/100'' (30%) if there are currently ``start'' (10) unauthenticated connections. The probability increases linearly and all connection attempts are refused if the number of unauthenticated connections reaches ``full'' (60).
- PasswordAuthentication
- Specifies whether password authentication is allowed. The default is ``yes''
- PermitEmptyPasswords
- When password authentication is allowed, it specifies whether the server allows login to accounts with empty password strings. The default is ``no''
- PermitOpen
-
Specifies the destinations to which TCP port forwarding is permitted.
The forwarding specification must be one of the following forms:
- PermitOpen
- host : port
- PermitOpen
- IPv4_addr : port
- PermitOpen
- [ IPv6_addr ] : port
Multiple forwards may be specified by separating them with whitespace. An argument of ``any'' can be used to remove all restrictions and permit any forwarding requests. By default all port forwarding requests are permitted.
- PermitRootLogin
-
Specifies whether root can log in using
ssh(1).
The argument must be
``yes''
``without-password''
``forced-commands-only''
or
``no''
The default is
``yes''
If this option is set to ``without-password'' password authentication is disabled for root.
If this option is set to ``forced-commands-only'' root login with public key authentication will be allowed, but only if the command option has been specified (which may be useful for taking remote backups even if root login is normally not allowed). All other authentication methods are disabled for root.
If this option is set to ``no'' root is not allowed to log in.
- PermitTunnel
- Specifies whether tun(4) device forwarding is allowed. The argument must be ``yes'' ``point-to-point'' (layer 3), ``ethernet'' (layer 2), or ``no'' Specifying ``yes'' permits both ``point-to-point'' and ``ethernet'' The default is ``no''
- PermitUserEnvironment
- Specifies whether ~/.ssh/environment and environment= options in ~/.ssh/authorized_keys are processed by sshd(8). The default is ``no'' Enabling environment processing may enable users to bypass access restrictions in some configurations using mechanisms such as LD_PRELOAD
- PidFile
- Specifies the file that contains the process ID of the SSH daemon. The default is /var/run/sshd.pid
- Port
- Specifies the port number that sshd(8) listens on. The default is 22. Multiple options of this type are permitted. See also ListenAddress
- PrintLastLog
- Specifies whether sshd(8) should print the date and time of the last user login when a user logs in interactively. The default is ``yes''
- PrintMotd
- Specifies whether sshd(8) should print /etc/motd when a user logs in interactively. (On some systems it is also printed by the shell, /etc/profile or equivalent.) The default is ``yes''
- Protocol
- Specifies the protocol versions sshd(8) supports. The possible values are `1' and `2' Multiple versions must be comma-separated. The default is ``2,1'' Note that the order of the protocol list does not indicate preference, because the client selects among multiple protocol versions offered by the server. Specifying ``2,1'' is identical to ``1,2''
- PubkeyAuthentication
- Specifies whether public key authentication is allowed. The default is ``yes'' Note that this option applies to protocol version 2 only.
- AuthorizedKeysCommand
- Specifies a program to be used for lookup of the user's public keys. The program will be invoked with its first argument the name of the user being authorized, and should produce on standard output AuthorizedKeys lines (see AUTHORIZED_KEYS in sshd(8)). By default (or when set to the empty string) there is no AuthorizedKeysCommand run. If the AuthorizedKeysCommand does not successfully authorize the user, authorization falls through to the AuthorizedKeysFile. Note that this option has an effect only with PubkeyAuthentication turned on.
- AuthorizedKeysCommandRunAs Specifies the user under whose account the AuthorizedKeysCommand is run. Empty
- string (the default value) means the user being authorized is used.
- RequiredAuthentications[12]
-
Specifies required methods of authentications that has to succeed before authorizing the connection.
(RequiredAuthentication1 for Protocol version 1, and RequiredAuthentication2 for v2)
RequiredAuthentications1 method[,method...] RequiredAuthentications2 method[,method...]
Example 1:
RequiredAuthentications2 password,hostbased
Example 2:
RequiredAuthentications2 publickey,password
- RhostsRSAAuthentication
- Specifies whether rhosts or /etc/hosts.equiv authentication together with successful RSA host authentication is allowed. The default is ``no'' This option applies to protocol version 1 only.
- RSAAuthentication
- Specifies whether pure RSA authentication is allowed. The default is ``yes'' This option applies to protocol version 1 only.
- ServerKeyBits
- Defines the number of bits in the ephemeral protocol version 1 server key. The minimum value is 512, and the default is 1024.
- ShowPatchLevel
- Specifies whether sshd will display the patch level of the binary in the identification string. The patch level is set at compile-time. The default is ``no . '' This option applies to protocol version 1 only.
- StrictModes
- Specifies whether sshd(8) should check file modes and ownership of the user's files and home directory before accepting login. This is normally desirable because novices sometimes accidentally leave their directory or files world-writable. The default is ``yes''
- Subsystem
-
Configures an external subsystem (e.g. file transfer daemon).
Arguments should be a subsystem name and a command (with optional arguments)
to execute upon subsystem request.
The command sftp-server8 implements the ``sftp'' file transfer subsystem.
Alternately the name ``internal-sftp'' implements an in-process ``sftp'' server. This may simplify configurations using ChrootDirectory to force a different filesystem root on clients.
By default no subsystems are defined. Note that this option applies to protocol version 2 only.
- SyslogFacility
- Gives the facility code that is used when logging messages from sshd(8). The possible values are: DAEMON, USER, AUTH, AUTHPRIV, LOCAL0, LOCAL1, LOCAL2, LOCAL3, LOCAL4, LOCAL5, LOCAL6, LOCAL7. The default is AUTH.
- TCPKeepAlive
-
Specifies whether the system should send TCP keepalive messages to the
other side.
If they are sent, death of the connection or crash of one
of the machines will be properly noticed.
However, this means that
connections will die if the route is down temporarily, and some people
find it annoying.
On the other hand, if TCP keepalives are not sent,
sessions may hang indefinitely on the server, leaving
``ghost''
users and consuming server resources.
The default is ``yes'' (to send TCP keepalive messages), and the server will notice if the network goes down or the client host crashes. This avoids infinitely hanging sessions.
To disable TCP keepalive messages, the value should be set to ``no''
- UseDNS
- Specifies whether sshd(8) should look up the remote host name and check that the resolved host name for the remote IP address maps back to the very same IP address. The default is ``yes''
- UseLogin
- Specifies whether login(1) is used for interactive login sessions. The default is ``no'' Note that login(1) is never used for remote command execution. Note also, that if this is enabled, X11Forwarding will be disabled because login(1) does not know how to handle xauth(1) cookies. If UsePrivilegeSeparation is specified, it will be disabled after authentication.
- UsePAM
-
Enables the Pluggable Authentication Module interface.
If set to
``yes''
this will enable PAM authentication using
ChallengeResponseAuthentication
and
PasswordAuthentication
in addition to PAM account and session module processing for all
authentication types.
Because PAM challenge-response authentication usually serves an equivalent role to password authentication, you should disable either PasswordAuthentication or ChallengeResponseAuthentication.
If UsePAM is enabled, you will not be able to run sshd(8) as a non-root user. The default is ``no''
- UsePrivilegeSeparation
- Specifies whether sshd(8) separates privileges by creating an unprivileged child process to deal with incoming network traffic. After successful authentication, another process will be created that has the privilege of the authenticated user. The goal of privilege separation is to prevent privilege escalation by containing any corruption within the unprivileged processes. The default is ``yes''
- X11DisplayOffset
- Specifies the first display number available for sshd(8)Ns's X11 forwarding. This prevents sshd from interfering with real X11 servers. The default is 10.
- X11Forwarding
-
Specifies whether X11 forwarding is permitted.
The argument must be
``yes''
or
``no''
The default is
``no''
When X11 forwarding is enabled, there may be additional exposure to the server and to client displays if the sshd(8) proxy display is configured to listen on the wildcard address (see X11UseLocalhost below), though this is not the default. Additionally, the authentication spoofing and authentication data verification and substitution occur on the client side. The security risk of using X11 forwarding is that the client's X11 display server may be exposed to attack when the SSH client requests forwarding (see the warnings for ForwardX11 in ssh_config5). A system administrator may have a stance in which they want to protect clients that may expose themselves to attack by unwittingly requesting X11 forwarding, which can warrant a ``no'' setting.
Note that disabling X11 forwarding does not prevent users from forwarding X11 traffic, as users can always install their own forwarders. X11 forwarding is automatically disabled if UseLogin is enabled.
- X11UseLocalhost
- Specifies whether sshd(8) should bind the X11 forwarding server to the loopback address or to the wildcard address. By default, sshd binds the forwarding server to the loopback address and sets the hostname part of the DISPLAY environment variable to ``localhost'' This prevents remote hosts from connecting to the proxy display. However, some older X11 clients may not function with this configuration. X11UseLocalhost may be set to ``no'' to specify that the forwarding server should be bound to the wildcard address. The argument must be ``yes'' or ``no'' The default is ``yes''
- XAuthLocation
- Specifies the full pathname of the xauth(1) program. The default is /usr/bin/xauth
TIME FORMATS
sshd(8) command-line arguments and configuration file options that specify time may be expressed using a sequence of the form: time [qualifier ] where time is a positive integer value and qualifier is one of the following:
- Aq none
- seconds
- s | S
- seconds
- m | M
- minutes
- h | H
- hours
- d | D
- days
- w | W
- weeks
Each member of the sequence is added together to calculate the total time value.
Time format examples:
- 600
- 600 seconds (10 minutes)
- 10m
- 10 minutes
- 1h30m
- 1 hour 30 minutes (90 minutes)
FILES
- /etc/ssh/sshd_config
- Contains configuration data for sshd(8). This file should be writable by root only, but it is recommended (though not necessary) that it be world-readable.
SEE ALSO
sshd(8)AUTHORS
OpenSSH is a derivative of the original and free ssh 1.2.12 release by Tatu Ylonen. Aaron Campbell, Bob Beck, Markus Friedl, Niels Provos, Theo de Raadt and Dug Song removed many bugs, re-added newer features and created OpenSSH. Markus Friedl contributed the support for SSH protocol versions 1.5 and 2.0. Niels Provos and Markus Friedl contributed support for privilege separation.
Index
This document was created by man2html, using the manual pages.
Time: 05:34:00 GMT, December 24, 2015


Painting your eyes in beauty anywhere, anytime.
We are well informed about comfort as desired by the contemporary times, throw pillows,
duvet, negligee are all available in their listless and hopeful colors
all competitors has been long left behind.
Email<EMAIL_ADDRESS>Toll free: +1-871-123-456


{% extends 'base.html' %} {% block content %}
Your password was set successfully. You can proceed to login.


This Bay lies about 3nm north of Valletta on Malta's north east coast.
Position 35°55.1'N, 14°29.4'E.
This marina is part of an expensive apartment complex. See cruisers comments below. An alternative to using the marina is to anchor in nearby St Julian's bay. Alternatively Gzira Manoel island is not too far away, although the surroundings are less luxurious.
Last updated June 2014.