All Classes
| Class | Description |
|---|---|
| Animation |
this class is used to manage animation
|
| Archery |
Class du batiment Archery qui etend ProductionBuilding.
|
| AttackBuilding |
Class etendant Entity qui definis les batiments capable d'attaquer.
|
| AudioManager |
class used to manage sound in the game
|
| Barbare |
class contain all stat of barbare faction, that init Race
|
| Barrack |
Class du batiment Barrack qui etend ProductionBuilding.
|
| BotConfiguration |
Class de configuration pour le BotManager.
|
| BotManager |
BotManager est la class qui gere le bot adverse.
|
| Camera |
this class is used to permit scrolling and select entity in the map
|
| Castle |
Class du batiment Castle qui etend ProductionBuilding.
|
| Collision |
this class is never instanciate and contain all collision function we need in the game
|
| Empire |
class contain all stat of empire faction, that init Race, to see what function done check barbare.java
|
| EntitiesManager |
core class of the game, it manage all entity of the game, calling all update function of the game
manage if you win or loose, and call the botManager
|
| Entity |
this class is core this is the first class of all entity of the game
like fighter, worker, building and ressource
not abstract because we need it to draw all entity
|
| EntityConfiguration |
this class contain all constant need to entity
|
| Faction |
this class is use to each faction of the game, stocking a lot of variable
|
| FactionManager |
this class contain all faction
|
| Fighter |
crÃ©ate:16/02/2021
|
| Fog |
this class is used for manage fog of war and dynamic fog
|
| FogCase |
this class is need to manage dynamic fog that represent each case(tile) of fog
|
| ForAttackBuilding |
extends patron and specificaly stat of tower need
|
| ForFighter |
extends patron, create to fit with fighter needs
|
| Forge |
Class du batiment Forge qui etend ProductionBuilding.
|
| ForProductionBuilding |
extends patron to fit with production building neeed
|
| ForStorageBuilding |
extends patron to fit with storage needs
|
| ForUpgrade |
specificaly create to upgrade, that don't need the same as other For class
|
| ForWorker |
extends patron to fit specificaly with worker needs
|
| Gaia |
gaia faction taht represent nature, ressource, not realy usefull for the moment
|
| GameBuilder |
this class is require to build a game, when you press startGame in Main menu screen
|
| GameConfiguration |
this class contain all constant for setup configuration
|
| GameDisplay |
main class for print all information on screen
|
| GraphicsManager |
this class is require to manage and conserv all bufferedImage of the game
|
| Hq |
Class du batiment HQ qui etend ProductionBuilding.
|
| MainGui | |
| Map |
this class represent the map of the game
|
| MapConfiguration |
this class contain all constant need to generate and maintain a map
|
| Minimap |
this class represent the minimap who will be print on the right side of screen
|
| Mouse |
this class is require to interact with map, needing to place building
|
| Node |
this class represent a node, use for A* algorithm
|
| PaintStrategyGame |
class who charge to paint the game window
|
| PaintStrategyMainMenu |
class who charge to paint main Menu
|
| PaintStrategyOption |
this class is in charge to paint the option menu
|
| PaintStrategyPauseMenu |
this class is in charge to paint pause menu
|
| PaintStrategyVictoryScreen |
this class is in charge to paint victory or loosing screen
|
| Path |
this class is used to make a A* algorithm, it represent the iteration
|
| Patron |
not instanciate use to all entity
|
| Position |
this class is require to stock position of entity on map
|
| PositionConfiguration |
this class contain all constant use for positing all panel and faction at the start of the game
|
| ProductionBuilding |
Class qui definie les batiment de production et etend Entity.
|
| Race |
class contain all stat of a race, all patron are stock in this class and use by faction
|
| Ressource |
class who manage ressource on map
|
| Royaume |
class contain all stat of royaume faction, that init Race, to see what function done check barbare.java
|
| SelectionRect |
this class is used to manage the selection rect with mouse and rally point with building
|
| SiteConstruction |
Class qui definie un site de construction.
|
| Speed |
class to manage speed, needing to all move
|
| Stable |
Class du batiment Barrack qui etend ProductionBuilding.
|
| StatEntityContainer |
this class is use to assure that a description panel won't be actualise to many time, that cause bug
|
| StorageBuilding |
Class qui define les batiment de stockage de ressource.
|
| Tile |
this class represent a case of a map
|
| Tower |
Methode qui definie une tour.
|
| Unit |
crÃ©ation:16/02/2021
|
| Worker |
create: 16/02/2021
|


waiting for development...
You will never know, if you never try.
Solve problems.
Don't forget to have fun :)
Work hard.


ECSY
An highly experimental Entity Component System for the web
documentation
-
examples
-
github
-
forum
by the
Mozilla Mixed Reality team


| Unified Interbase v2.0 (2005-03-21) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
UIB is a set of components to use Interbase, FireBird and YAFFIL. These components were born from the need to use Interbase, FireBird or Yaffil indifferently as fast as possible in a Multithreading environment, a Server for example. UIB have a Borland Compliant conversion API for Interbase, FireBird and YAFFIL. UIB include 11 components:
These components are "Thread-Safe" with any version of Interbase, FireBird and Yaffil and are working with Delphi, BCB, Kylix, Lazarus & FPC (Win32, Linux, FreeBsd).
Why to use UIB ?
Which version of Database are supported ?
Which version of compilers are supported ?
Compiler options:Edit "UIB.inc" and activate what you need. (UIB work in compatibility mode (IB6) if any option is defined.)
|


121_JerryJin2905.py
class Solution:
def dfs(self, R, C, grid, vis, r, c):
vis[r][c] = True
count = 1
for nr, nc in ((r + 1, c), (r - 1, c), (r, c + 1), (r, c - 1)):
if 0 <= nr < R and 0 <= nc < C and grid[nr][nc] == 1 and not vis[nr][nc]:
count += self.dfs(R, C, grid, vis, nr, nc)
return count
def check(self, N, R, C, grid):
for r in range(R):
for c in range(C):
if grid[r][c] == 1:
vis = [[False] * C for _ in range(R)]
count = self.dfs(R, C, grid, vis, r, c)
return count != N
def minDays(self, grid: List[List[int]]) -> int:
R = len(grid)
C = len(grid[0])
ones = 0
for r in range(R):
for c in range(C):
if grid[r][c] == 1:
ones += 1
if self.check(ones, R, C, grid):
return 0
for r in range(R):
for c in range(C):
if grid[r][c] == 1:
grid[r][c] = 0
if self.check(ones - 1, R, C, grid):
return 1
grid[r][c] = 1
return 2


public class X509CertSelector extends Object implements CertSelector
CertSelector
that selects X509Certificates
that
match all specified criteria. This class is particularly useful when
selecting certificates from a CertStore
to build a
PKIX-compliant certification path.
When first constructed, an X509CertSelector
has no criteria
enabled and each of the get
methods return a default value
(null
, or -1
for the getBasicConstraints
method). Therefore, the match
method would return true
for any X509Certificate
.
Typically, several criteria are enabled (by calling
setIssuer
or
setKeyUsage
, for instance) and then the
X509CertSelector
is passed to
CertStore.getCertificates
or some similar
method.
Several criteria can be enabled (by calling setIssuer
and setSerialNumber
,
for example) such that the match
method
usually uniquely matches a single X509Certificate
. We say
usually, since it is possible for two issuing CAs to have the same
distinguished name and each issue a certificate with the same serial
number. Other unique combinations include the issuer, subject,
subjectKeyIdentifier and/or the subjectPublicKey criteria.
Please refer to RFC 3280: Internet X.509 Public Key Infrastructure Certificate and CRL Profile for definitions of the X.509 certificate extensions mentioned below.
Concurrent Access
Unless otherwise specified, the methods defined in this class are not thread-safe. Multiple threads that need to access a single object concurrently should synchronize amongst themselves and provide the necessary locking. Multiple threads each manipulating separate objects need not synchronize.
CertSelector
,
X509Certificate
| Constructor and Description |
|---|
X509CertSelector()
Creates an
X509CertSelector . |
| Modifier and Type | Method and Description |
|---|---|
void |
addPathToName(int type,
byte[] name)
Adds a name to the pathToNames criterion.
|
void |
addPathToName(int type,
String name)
Adds a name to the pathToNames criterion.
|
void |
addSubjectAlternativeName(int type,
byte[] name)
Adds a name to the subjectAlternativeNames criterion.
|
void |
addSubjectAlternativeName(int type,
String name)
Adds a name to the subjectAlternativeNames criterion.
|
Object |
clone()
Returns a copy of this object.
|
byte[] |
getAuthorityKeyIdentifier()
Returns the authorityKeyIdentifier criterion.
|
int |
getBasicConstraints()
Returns the basic constraints constraint.
|
X509Certificate |
getCertificate()
Returns the certificateEquals criterion.
|
Date |
getCertificateValid()
Returns the certificateValid criterion.
|
Set<String> |
getExtendedKeyUsage()
Returns the extendedKeyUsage criterion.
|
javax.security.auth.x500.X500Principal |
getIssuer()
Returns the issuer criterion as an
X500Principal . |
byte[] |
getIssuerAsBytes()
Returns the issuer criterion as a byte array.
|
String |
getIssuerAsString()
Denigrated, use getIssuer() or
getIssuerAsBytes() instead.
|
boolean[] |
getKeyUsage()
Returns the keyUsage criterion.
|
boolean |
getMatchAllSubjectAltNames()
Indicates if the
X509Certificate must contain all
or at least one of the subjectAlternativeNames
specified in the setSubjectAlternativeNames or addSubjectAlternativeName methods. |
byte[] |
getNameConstraints()
Returns the name constraints criterion.
|
Collection<List<?>> |
getPathToNames()
Returns a copy of the pathToNames criterion.
|
Set<String> |
getPolicy()
Returns the policy criterion.
|
Date |
getPrivateKeyValid()
Returns the privateKeyValid criterion.
|
BigInteger |
getSerialNumber()
Returns the serialNumber criterion.
|
javax.security.auth.x500.X500Principal |
getSubject()
Returns the subject criterion as an
X500Principal . |
Collection<List<?>> |
getSubjectAlternativeNames()
Returns a copy of the subjectAlternativeNames criterion.
|
byte[] |
getSubjectAsBytes()
Returns the subject criterion as a byte array.
|
String |
getSubjectAsString()
Denigrated, use getSubject() or
getSubjectAsBytes() instead.
|
byte[] |
getSubjectKeyIdentifier()
Returns the subjectKeyIdentifier criterion.
|
PublicKey |
getSubjectPublicKey()
Returns the subjectPublicKey criterion.
|
String |
getSubjectPublicKeyAlgID()
Returns the subjectPublicKeyAlgID criterion.
|
boolean |
match(Certificate cert)
Decides whether a
Certificate should be selected. |
void |
setAuthorityKeyIdentifier(byte[] authorityKeyID)
Sets the authorityKeyIdentifier criterion.
|
void |
setBasicConstraints(int minMaxPathLen)
Sets the basic constraints constraint.
|
void |
setCertificate(X509Certificate cert)
Sets the certificateEquals criterion.
|
void |
setCertificateValid(Date certValid)
Sets the certificateValid criterion.
|
void |
setExtendedKeyUsage(Set<String> keyPurposeSet)
Sets the extendedKeyUsage criterion.
|
void |
setIssuer(byte[] issuerDN)
Sets the issuer criterion.
|
void |
setIssuer(String issuerDN)
Denigrated, use setIssuer(X500Principal)
or setIssuer(byte[]) instead.
|
void |
setIssuer(javax.security.auth.x500.X500Principal issuer)
Sets the issuer criterion.
|
void |
setKeyUsage(boolean[] keyUsage)
Sets the keyUsage criterion.
|
void |
setMatchAllSubjectAltNames(boolean matchAllNames)
Enables/disables matching all of the subjectAlternativeNames
specified in the
setSubjectAlternativeNames or addSubjectAlternativeName methods. |
void |
setNameConstraints(byte[] bytes)
Sets the name constraints criterion.
|
void |
setPathToNames(Collection<List<?>> names)
Sets the pathToNames criterion.
|
void |
setPolicy(Set<String> certPolicySet)
Sets the policy constraint.
|
void |
setPrivateKeyValid(Date privateKeyValid)
Sets the privateKeyValid criterion.
|
void |
setSerialNumber(BigInteger serial)
Sets the serialNumber criterion.
|
void |
setSubject(byte[] subjectDN)
Sets the subject criterion.
|
void |
setSubject(String subjectDN)
Denigrated, use setSubject(X500Principal)
or setSubject(byte[]) instead.
|
void |
setSubject(javax.security.auth.x500.X500Principal subject)
Sets the subject criterion.
|
void |
setSubjectAlternativeNames(Collection<List<?>> names)
Sets the subjectAlternativeNames criterion.
|
void |
setSubjectKeyIdentifier(byte[] subjectKeyID)
Sets the subjectKeyIdentifier criterion.
|
void |
setSubjectPublicKey(byte[] key)
Sets the subjectPublicKey criterion.
|
void |
setSubjectPublicKey(PublicKey key)
Sets the subjectPublicKey criterion.
|
void |
setSubjectPublicKeyAlgID(String oid)
Sets the subjectPublicKeyAlgID criterion.
|
String |
toString()
Return a printable representation of the
CertSelector . |
public X509CertSelector()
X509CertSelector
. Initially, no criteria are set
so any X509Certificate
will match.public void setCertificate(X509Certificate cert)
X509Certificate
must be equal to the
X509Certificate
passed to the match
method.
If null
, then this check is not applied.
This method is particularly useful when it is necessary to match a single certificate. Although other criteria can be specified in conjunction with the certificateEquals criterion, it is usually not practical or necessary.
cert
- the X509Certificate
to match (or
null
)getCertificate()
public void setSerialNumber(BigInteger serial)
X509Certificate
. If null
, any certificate
serial number will do.serial
- the certificate serial number to match
(or null
)getSerialNumber()
public void setIssuer(javax.security.auth.x500.X500Principal issuer)
X509Certificate
. If null
, any issuer
distinguished name will do.issuer
- a distinguished name as X500Principal
(or null
)public void setIssuer(String issuerDN) throws IOException
Sets the issuer criterion. The specified distinguished name
must match the issuer distinguished name in the
X509Certificate
. If null
, any issuer
distinguished name will do.
If issuerDN
is not null
, it should contain a
distinguished name, in RFC 2253 format.
issuerDN
- a distinguished name in RFC 2253 format
(or null
)IOException
- if a parsing error occurs (incorrect form for DN)public void setIssuer(byte[] issuerDN) throws IOException
X509Certificate
. If null
is specified,
the issuer criterion is disabled and any issuer distinguished name will
do.
If issuerDN
is not null
, it should contain a
single DER encoded distinguished name, as defined in X.501. The ASN.1
notation for this structure is as follows.
Name ::= CHOICE {
RDNSequence }
RDNSequence ::= SEQUENCE OF RelativeDistinguishedName
RelativeDistinguishedName ::=
SET SIZE (1 .. MAX) OF AttributeTypeAndValue
AttributeTypeAndValue ::= SEQUENCE {
type AttributeType,
value AttributeValue }
AttributeType ::= OBJECT IDENTIFIER
AttributeValue ::= ANY DEFINED BY AttributeType
....
DirectoryString ::= CHOICE {
teletexString TeletexString (SIZE (1..MAX)),
printableString PrintableString (SIZE (1..MAX)),
universalString UniversalString (SIZE (1..MAX)),
utf8String UTF8String (SIZE (1.. MAX)),
bmpString BMPString (SIZE (1..MAX)) }
Note that the byte array specified here is cloned to protect against subsequent modifications.
issuerDN
- a byte array containing the distinguished name
in ASN.1 DER encoded form (or null
)IOException
- if an encoding error occurs (incorrect form for DN)public void setSubject(javax.security.auth.x500.X500Principal subject)
X509Certificate
. If null
, any subject
distinguished name will do.subject
- a distinguished name as X500Principal
(or null
)public void setSubject(String subjectDN) throws IOException
Sets the subject criterion. The specified distinguished name
must match the subject distinguished name in the
X509Certificate
. If null
, any subject
distinguished name will do.
If subjectDN
is not null
, it should contain a
distinguished name, in RFC 2253 format.
subjectDN
- a distinguished name in RFC 2253 format
(or null
)IOException
- if a parsing error occurs (incorrect form for DN)public void setSubject(byte[] subjectDN) throws IOException
X509Certificate
. If null
, any subject
distinguished name will do.
If subjectDN
is not null
, it should contain a
single DER encoded distinguished name, as defined in X.501. For the ASN.1
notation for this structure, see
setIssuer(byte [] issuerDN)
.
subjectDN
- a byte array containing the distinguished name in
ASN.1 DER format (or null
)IOException
- if an encoding error occurs (incorrect form for DN)public void setSubjectKeyIdentifier(byte[] subjectKeyID)
X509Certificate
must contain a SubjectKeyIdentifier
extension for which the contents of the extension
matches the specified criterion value.
If the criterion value is null
, no
subjectKeyIdentifier check will be done.
If subjectKeyID
is not null
, it
should contain a single DER encoded value corresponding to the contents
of the extension value (not including the object identifier,
criticality setting, and encapsulating OCTET STRING)
for a SubjectKeyIdentifier extension.
The ASN.1 notation for this structure follows.
SubjectKeyIdentifier ::= KeyIdentifier
KeyIdentifier ::= OCTET STRING
Since the format of subject key identifiers is not mandated by
any standard, subject key identifiers are not parsed by the
X509CertSelector
. Instead, the values are compared using
a byte-by-byte comparison.
Note that the byte array supplied here is cloned to protect against subsequent modifications.
subjectKeyID
- the subject key identifier (or null
)getSubjectKeyIdentifier()
public void setAuthorityKeyIdentifier(byte[] authorityKeyID)
X509Certificate
must contain an
AuthorityKeyIdentifier extension for which the contents of the
extension value matches the specified criterion value.
If the criterion value is null
, no
authorityKeyIdentifier check will be done.
If authorityKeyID
is not null
, it
should contain a single DER encoded value corresponding to the contents
of the extension value (not including the object identifier,
criticality setting, and encapsulating OCTET STRING)
for an AuthorityKeyIdentifier extension.
The ASN.1 notation for this structure follows.
AuthorityKeyIdentifier ::= SEQUENCE {
keyIdentifier [0] KeyIdentifier OPTIONAL,
authorityCertIssuer [1] GeneralNames OPTIONAL,
authorityCertSerialNumber [2] CertificateSerialNumber OPTIONAL }
KeyIdentifier ::= OCTET STRING
Authority key identifiers are not parsed by the
X509CertSelector
. Instead, the values are
compared using a byte-by-byte comparison.
When the keyIdentifier
field of
AuthorityKeyIdentifier
is populated, the value is
usually taken from the SubjectKeyIdentifier
extension
in the issuer's certificate. Note, however, that the result of
X509Certificate.getExtensionValue(<SubjectKeyIdentifier Object
Identifier>)
on the issuer's certificate may NOT be used
directly as the input to setAuthorityKeyIdentifier
.
This is because the SubjectKeyIdentifier contains
only a KeyIdentifier OCTET STRING, and not a SEQUENCE of
KeyIdentifier, GeneralNames, and CertificateSerialNumber.
In order to use the extension value of the issuer certificate's
SubjectKeyIdentifier
extension, it will be necessary to extract the value of the embedded
KeyIdentifier
OCTET STRING, then DER encode this OCTET
STRING inside a SEQUENCE.
For more details on SubjectKeyIdentifier, see
setSubjectKeyIdentifier(byte[] subjectKeyID)
.
Note also that the byte array supplied here is cloned to protect against subsequent modifications.
authorityKeyID
- the authority key identifier
(or null
)getAuthorityKeyIdentifier()
public void setCertificateValid(Date certValid)
X509Certificate
. If null
, no certificateValid
check will be done.
Note that the Date
supplied here is cloned to protect
against subsequent modifications.
certValid
- the Date
to check (or null
)getCertificateValid()
public void setPrivateKeyValid(Date privateKeyValid)
X509Certificate
. If null
, no privateKeyValid
check will be done.
Note that the Date
supplied here is cloned to protect
against subsequent modifications.
privateKeyValid
- the Date
to check (or
null
)getPrivateKeyValid()
public void setSubjectPublicKeyAlgID(String oid) throws IOException
X509Certificate
must contain a subject public key
with the specified algorithm. If null
, no
subjectPublicKeyAlgID check will be done.oid
- The object identifier (OID) of the algorithm to check
for (or null
). An OID is represented by a
set of nonnegative integers separated by periods.IOException
- if the OID is invalid, such as
the first component being not 0, 1 or 2 or the second component
being greater than 39.getSubjectPublicKeyAlgID()
public void setSubjectPublicKey(PublicKey key)
X509Certificate
must contain the specified subject public
key. If null
, no subjectPublicKey check will be done.key
- the subject public key to check for (or null
)getSubjectPublicKey()
public void setSubjectPublicKey(byte[] key) throws IOException
X509Certificate
must contain the specified subject public key. If null
,
no subjectPublicKey check will be done.
Because this method allows the public key to be specified as a byte array, it may be used for unknown key types.
If key
is not null
, it should contain a
single DER encoded SubjectPublicKeyInfo structure, as defined in X.509.
The ASN.1 notation for this structure is as follows.
SubjectPublicKeyInfo ::= SEQUENCE {
algorithm AlgorithmIdentifier,
subjectPublicKey BIT STRING }
AlgorithmIdentifier ::= SEQUENCE {
algorithm OBJECT IDENTIFIER,
parameters ANY DEFINED BY algorithm OPTIONAL }
-- contains a value of the type
-- registered for use with the
-- algorithm object identifier value
Note that the byte array supplied here is cloned to protect against subsequent modifications.
key
- a byte array containing the subject public key in ASN.1 DER
form (or null
)IOException
- if an encoding error occurs (incorrect form for
subject public key)getSubjectPublicKey()
public void setKeyUsage(boolean[] keyUsage)
X509Certificate
must allow the specified keyUsage values. If null
, no
keyUsage check will be done. Note that an X509Certificate
that has no keyUsage extension implicitly allows all keyUsage values.
Note that the boolean array supplied here is cloned to protect against subsequent modifications.
keyUsage
- a boolean array in the same format as the boolean
array returned by
X509Certificate.getKeyUsage()
.
Or null
.getKeyUsage()
public void setExtendedKeyUsage(Set<String> keyPurposeSet) throws IOException
X509Certificate
must allow the specified key purposes in its extended key usage
extension. If keyPurposeSet
is empty or null
,
no extendedKeyUsage check will be done. Note that an
X509Certificate
that has no extendedKeyUsage extension
implicitly allows all key purposes.
Note that the Set
is cloned to protect against
subsequent modifications.
keyPurposeSet
- a Set
of key purpose OIDs in string
format (or null
). Each OID is represented by a set of
nonnegative integers separated by periods.IOException
- if the OID is invalid, such as
the first component being not 0, 1 or 2 or the second component
being greater than 39.getExtendedKeyUsage()
public void setMatchAllSubjectAltNames(boolean matchAllNames)
setSubjectAlternativeNames
or addSubjectAlternativeName
methods. If enabled,
the X509Certificate
must contain all of the
specified subject alternative names. If disabled, the
X509Certificate
must contain at least one of the
specified subject alternative names.
The matchAllNames flag is true
by default.
matchAllNames
- if true
, the flag is enabled;
if false
, the flag is disabled.getMatchAllSubjectAltNames()
public void setSubjectAlternativeNames(Collection<List<?>> names) throws IOException
X509Certificate
must contain all or at least one of the
specified subjectAlternativeNames, depending on the value of
the matchAllNames flag (see setMatchAllSubjectAltNames
).
This method allows the caller to specify, with a single method call, the complete set of subject alternative names for the subjectAlternativeNames criterion. The specified value replaces the previous value for the subjectAlternativeNames criterion.
The names
parameter (if not null
) is a
Collection
with one
entry for each name to be included in the subject alternative name
criterion. Each entry is a List
whose first entry is an
Integer
(the name type, 0-8) and whose second
entry is a String
or a byte array (the name, in
string or ASN.1 DER encoded form, respectively).
There can be multiple names of the same type. If null
is supplied as the value for this argument, no
subjectAlternativeNames check will be performed.
Each subject alternative name in the Collection
may be specified either as a String
or as an ASN.1 encoded
byte array. For more details about the formats used, see
addSubjectAlternativeName(int type, String name)
and
addSubjectAlternativeName(int type, byte [] name)
.
Note: for distinguished names, specify the byte
array form instead of the String form. See the note in
addSubjectAlternativeName(int, String)
for more information.
Note that the names
parameter can contain duplicate
names (same name and name type), but they may be removed from the
Collection
of names returned by the
getSubjectAlternativeNames
method.
Note that a deep copy is performed on the Collection
to
protect against subsequent modifications.
names
- a Collection
of names (or null
)IOException
- if a parsing error occursgetSubjectAlternativeNames()
public void addSubjectAlternativeName(int type, String name) throws IOException
X509Certificate
must contain all or at least one
of the specified subjectAlternativeNames, depending on the value of
the matchAllNames flag (see setMatchAllSubjectAltNames
).
This method allows the caller to add a name to the set of subject alternative names. The specified name is added to any previous value for the subjectAlternativeNames criterion. If the specified name is a duplicate, it may be ignored.
The name is provided in string format.
RFC 822, DNS, and URI
names use the well-established string formats for those types (subject to
the restrictions included in RFC 3280). IPv4 address names are
supplied using dotted quad notation. OID address names are represented
as a series of nonnegative integers separated by periods. And
directory names (distinguished names) are supplied in RFC 2253 format.
No standard string format is defined for otherNames, X.400 names,
EDI party names, IPv6 address names, or any other type of names. They
should be specified using the
addSubjectAlternativeName(int type, byte [] name)
method.
Note: for distinguished names, use addSubjectAlternativeName(int, byte[]) instead. This method should not be relied on as it can fail to match some certificates because of a loss of encoding information in the RFC 2253 String form of some distinguished names.
type
- the name type (0-8, as specified in
RFC 3280, section <IP_ADDRESS>)name
- the name in string form (not null
)IOException
- if a parsing error occurspublic void addSubjectAlternativeName(int type, byte[] name) throws IOException
X509Certificate
must contain all or at least one
of the specified subjectAlternativeNames, depending on the value of
the matchAllNames flag (see setMatchAllSubjectAltNames
).
This method allows the caller to add a name to the set of subject alternative names. The specified name is added to any previous value for the subjectAlternativeNames criterion. If the specified name is a duplicate, it may be ignored.
The name is provided as a byte array. This byte array should contain the DER encoded name, as it would appear in the GeneralName structure defined in RFC 3280 and X.509. The encoded byte array should only contain the encoded value of the name, and should not include the tag associated with the name in the GeneralName structure. The ASN.1 definition of this structure appears below.
GeneralName ::= CHOICE {
otherName [0] OtherName,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER}
Note that the byte array supplied here is cloned to protect against subsequent modifications.
type
- the name type (0-8, as listed above)name
- a byte array containing the name in ASN.1 DER encoded formIOException
- if a parsing error occurspublic void setNameConstraints(byte[] bytes) throws IOException
X509Certificate
must have subject and subject alternative names that
meet the specified name constraints.
The name constraints are specified as a byte array. This byte array should contain the DER encoded form of the name constraints, as they would appear in the NameConstraints structure defined in RFC 3280 and X.509. The ASN.1 definition of this structure appears below.
NameConstraints ::= SEQUENCE {
permittedSubtrees [0] GeneralSubtrees OPTIONAL,
excludedSubtrees [1] GeneralSubtrees OPTIONAL }
GeneralSubtrees ::= SEQUENCE SIZE (1..MAX) OF GeneralSubtree
GeneralSubtree ::= SEQUENCE {
base GeneralName,
minimum [0] BaseDistance DEFAULT 0,
maximum [1] BaseDistance OPTIONAL }
BaseDistance ::= INTEGER (0..MAX)
GeneralName ::= CHOICE {
otherName [0] OtherName,
rfc822Name [1] IA5String,
dNSName [2] IA5String,
x400Address [3] ORAddress,
directoryName [4] Name,
ediPartyName [5] EDIPartyName,
uniformResourceIdentifier [6] IA5String,
iPAddress [7] OCTET STRING,
registeredID [8] OBJECT IDENTIFIER}
Note that the byte array supplied here is cloned to protect against subsequent modifications.
bytes
- a byte array containing the ASN.1 DER encoding of
a NameConstraints extension to be used for checking
name constraints. Only the value of the extension is
included, not the OID or criticality flag. Can be
null
,
in which case no name constraints check will be performed.IOException
- if a parsing error occursgetNameConstraints()
public void setBasicConstraints(int minMaxPathLen)
X509Certificates
must include a
basicConstraints extension with
a pathLen of at least this value. If the value is -2, only end-entity
certificates are accepted. If the value is -1, no check is done.
This constraint is useful when building a certification path forward (from the target toward the trust anchor. If a partial path has been built, any candidate certificate must have a maxPathLen value greater than or equal to the number of certificates in the partial path.
minMaxPathLen
- the value for the basic constraints constraintIllegalArgumentException
- if the value is less than -2getBasicConstraints()
public void setPolicy(Set<String> certPolicySet) throws IOException
X509Certificate
must
include at least one of the specified policies in its certificate
policies extension. If certPolicySet
is empty, then the
X509Certificate
must include at least some specified policy
in its certificate policies extension. If certPolicySet
is
null
, no policy check will be performed.
Note that the Set
is cloned to protect against
subsequent modifications.
certPolicySet
- a Set
of certificate policy OIDs in
string format (or null
). Each OID is
represented by a set of nonnegative integers
separated by periods.IOException
- if a parsing error occurs on the OID such as
the first component is not 0, 1 or 2 or the second component is
greater than 39.getPolicy()
public void setPathToNames(Collection<List<?>> names) throws IOException
X509Certificate
must
not include name constraints that would prohibit building a
path to the specified names.
This method allows the caller to specify, with a single method call,
the complete set of names which the X509Certificates
's
name constraints must permit. The specified value replaces
the previous value for the pathToNames criterion.
This constraint is useful when building a certification path forward (from the target toward the trust anchor. If a partial path has been built, any candidate certificate must not include name constraints that would prohibit building a path to any of the names in the partial path.
The names
parameter (if not null
) is a
Collection
with one
entry for each name to be included in the pathToNames
criterion. Each entry is a List
whose first entry is an
Integer
(the name type, 0-8) and whose second
entry is a String
or a byte array (the name, in
string or ASN.1 DER encoded form, respectively).
There can be multiple names of the same type. If null
is supplied as the value for this argument, no
pathToNames check will be performed.
Each name in the Collection
may be specified either as a String
or as an ASN.1 encoded
byte array. For more details about the formats used, see
addPathToName(int type, String name)
and
addPathToName(int type, byte [] name)
.
Note: for distinguished names, specify the byte
array form instead of the String form. See the note in
addPathToName(int, String)
for more information.
Note that the names
parameter can contain duplicate
names (same name and name type), but they may be removed from the
Collection
of names returned by the
getPathToNames
method.
Note that a deep copy is performed on the Collection
to
protect against subsequent modifications.
names
- a Collection
with one entry per name
(or null
)IOException
- if a parsing error occursgetPathToNames()
public void addPathToName(int type, String name) throws IOException
X509Certificate
must not include name constraints that would prohibit building a
path to the specified name.
This method allows the caller to add a name to the set of names which
the X509Certificates
's name constraints must permit.
The specified name is added to any previous value for the
pathToNames criterion. If the name is a duplicate, it may be ignored.
The name is provided in string format. RFC 822, DNS, and URI names
use the well-established string formats for those types (subject to
the restrictions included in RFC 3280). IPv4 address names are
supplied using dotted quad notation. OID address names are represented
as a series of nonnegative integers separated by periods. And
directory names (distinguished names) are supplied in RFC 2253 format.
No standard string format is defined for otherNames, X.400 names,
EDI party names, IPv6 address names, or any other type of names. They
should be specified using the
addPathToName(int type, byte [] name)
method.
Note: for distinguished names, use addPathToName(int, byte[]) instead. This method should not be relied on as it can fail to match some certificates because of a loss of encoding information in the RFC 2253 String form of some distinguished names.
type
- the name type (0-8, as specified in
RFC 3280, section <IP_ADDRESS>)name
- the name in string formIOException
- if a parsing error occurspublic void addPathToName(int type, byte[] name) throws IOException
X509Certificate
must not include name constraints that would prohibit building a
path to the specified name.
This method allows the caller to add a name to the set of names which
the X509Certificates
's name constraints must permit.
The specified name is added to any previous value for the
pathToNames criterion. If the name is a duplicate, it may be ignored.
The name is provided as a byte array. This byte array should contain
the DER encoded name, as it would appear in the GeneralName structure
defined in RFC 3280 and X.509. The ASN.1 definition of this structure
appears in the documentation for
addSubjectAlternativeName(int type, byte [] name)
.
Note that the byte array supplied here is cloned to protect against subsequent modifications.
type
- the name type (0-8, as specified in
RFC 3280, section <IP_ADDRESS>)name
- a byte array containing the name in ASN.1 DER encoded formIOException
- if a parsing error occurspublic X509Certificate getCertificate()
X509Certificate
must be equal to the
X509Certificate
passed to the match
method.
If null
, this check is not applied.X509Certificate
to match (or null
)setCertificate(java.security.cert.X509Certificate)
public BigInteger getSerialNumber()
X509Certificate
. If null
, any certificate
serial number will do.null
)setSerialNumber(java.math.BigInteger)
public javax.security.auth.x500.X500Principal getIssuer()
X500Principal
. This
distinguished name must match the issuer distinguished name in the
X509Certificate
. If null
, the issuer criterion
is disabled and any issuer distinguished name will do.null
)public String getIssuerAsString()
Returns the issuer criterion as a String
. This
distinguished name must match the issuer distinguished name in the
X509Certificate
. If null
, the issuer criterion
is disabled and any issuer distinguished name will do.
If the value returned is not null
, it is a
distinguished name, in RFC 2253 format.
null
)public byte[] getIssuerAsBytes() throws IOException
X509Certificate
. If null
, the issuer criterion
is disabled and any issuer distinguished name will do.
If the value returned is not null
, it is a byte
array containing a single DER encoded distinguished name, as defined in
X.501. The ASN.1 notation for this structure is supplied in the
documentation for
setIssuer(byte [] issuerDN)
.
Note that the byte array returned is cloned to protect against subsequent modifications.
null
)IOException
- if an encoding error occurspublic javax.security.auth.x500.X500Principal getSubject()
X500Principal
. This
distinguished name must match the subject distinguished name in the
X509Certificate
. If null
, the subject criterion
is disabled and any subject distinguished name will do.null
)public String getSubjectAsString()
Returns the subject criterion as a String
. This
distinguished name must match the subject distinguished name in the
X509Certificate
. If null
, the subject criterion
is disabled and any subject distinguished name will do.
If the value returned is not null
, it is a
distinguished name, in RFC 2253 format.
null
)public byte[] getSubjectAsBytes() throws IOException
X509Certificate
. If null
, the subject criterion
is disabled and any subject distinguished name will do.
If the value returned is not null
, it is a byte
array containing a single DER encoded distinguished name, as defined in
X.501. The ASN.1 notation for this structure is supplied in the
documentation for
setSubject(byte [] subjectDN)
.
Note that the byte array returned is cloned to protect against subsequent modifications.
null
)IOException
- if an encoding error occurspublic byte[] getSubjectKeyIdentifier()
X509Certificate
must contain a SubjectKeyIdentifier
extension with the specified value. If null
, no
subjectKeyIdentifier check will be done.
Note that the byte array returned is cloned to protect against subsequent modifications.
null
)setSubjectKeyIdentifier(byte[])
public byte[] getAuthorityKeyIdentifier()
X509Certificate
must contain a AuthorityKeyIdentifier
extension with the specified value. If null
, no
authorityKeyIdentifier check will be done.
Note that the byte array returned is cloned to protect against subsequent modifications.
null
)setAuthorityKeyIdentifier(byte[])
public Date getCertificateValid()
X509Certificate
. If null
, no certificateValid
check will be done.
Note that the Date
returned is cloned to protect against
subsequent modifications.
Date
to check (or null
)setCertificateValid(java.util.Date)
public Date getPrivateKeyValid()
X509Certificate
. If null
, no privateKeyValid
check will be done.
Note that the Date
returned is cloned to protect against
subsequent modifications.
Date
to check (or null
)setPrivateKeyValid(java.util.Date)
public String getSubjectPublicKeyAlgID()
X509Certificate
must contain a subject public key
with the specified algorithm. If null
, no
subjectPublicKeyAlgID check will be done.null
). An OID is represented by a set of
nonnegative integers separated by periods.setSubjectPublicKeyAlgID(java.lang.String)
public PublicKey getSubjectPublicKey()
X509Certificate
must contain the specified subject
public key. If null
, no subjectPublicKey check will be done.null
)setSubjectPublicKey(java.security.PublicKey)
public boolean[] getKeyUsage()
X509Certificate
must allow the specified keyUsage values. If null, no keyUsage
check will be done.
Note that the boolean array returned is cloned to protect against subsequent modifications.
X509Certificate.getKeyUsage()
.
Or null
.setKeyUsage(boolean[])
public Set<String> getExtendedKeyUsage()
X509Certificate
must allow the specified key purposes in its extended key usage
extension. If the keyPurposeSet
returned is empty or
null
, no extendedKeyUsage check will be done. Note that an
X509Certificate
that has no extendedKeyUsage extension
implicitly allows all key purposes.Set
of key purpose OIDs in string
format (or null
)setExtendedKeyUsage(java.util.Set<java.lang.String>)
public boolean getMatchAllSubjectAltNames()
X509Certificate
must contain all
or at least one of the subjectAlternativeNames
specified in the setSubjectAlternativeNames
or addSubjectAlternativeName
methods. If true
,
the X509Certificate
must contain all of the
specified subject alternative names. If false
, the
X509Certificate
must contain at least one of the
specified subject alternative names.true
if the flag is enabled;
false
if the flag is disabled. The flag is
true
by default.setMatchAllSubjectAltNames(boolean)
public Collection<List<?>> getSubjectAlternativeNames()
X509Certificate
must contain all or at least one
of the specified subjectAlternativeNames, depending on the value
of the matchAllNames flag (see getMatchAllSubjectAltNames
). If the value returned is
null
, no subjectAlternativeNames check will be performed.
If the value returned is not null
, it is a
Collection
with
one entry for each name to be included in the subject alternative name
criterion. Each entry is a List
whose first entry is an
Integer
(the name type, 0-8) and whose second
entry is a String
or a byte array (the name, in
string or ASN.1 DER encoded form, respectively).
There can be multiple names of the same type. Note that the
Collection
returned may contain duplicate names (same name
and name type).
Each subject alternative name in the Collection
may be specified either as a String
or as an ASN.1 encoded
byte array. For more details about the formats used, see
addSubjectAlternativeName(int type, String name)
and
addSubjectAlternativeName(int type, byte [] name)
.
Note that a deep copy is performed on the Collection
to
protect against subsequent modifications.
Collection
of names (or null
)setSubjectAlternativeNames(java.util.Collection<java.util.List<?>>)
public byte[] getNameConstraints()
X509Certificate
must have subject and subject alternative names that
meet the specified name constraints.
The name constraints are returned as a byte array. This byte array
contains the DER encoded form of the name constraints, as they
would appear in the NameConstraints structure defined in RFC 3280
and X.509. The ASN.1 notation for this structure is supplied in the
documentation for
setNameConstraints(byte [] bytes)
.
Note that the byte array returned is cloned to protect against subsequent modifications.
null
if no name constraints check will be performed.setNameConstraints(byte[])
public int getBasicConstraints()
X509Certificates
must include a
basicConstraints extension with a pathLen of at least this value.
If the value is -2, only end-entity certificates are accepted. If
the value is -1, no basicConstraints check is done.setBasicConstraints(int)
public Set<String> getPolicy()
X509Certificate
must
include at least one of the specified policies in its certificate policies
extension. If the Set
returned is empty, then the
X509Certificate
must include at least some specified policy
in its certificate policies extension. If the Set
returned is
null
, no policy check will be performed.Set
of certificate policy OIDs in
string format (or null
)setPolicy(java.util.Set<java.lang.String>)
public Collection<List<?>> getPathToNames()
X509Certificate
must not include name constraints that would
prohibit building a path to the specified names. If the value
returned is null
, no pathToNames check will be performed.
If the value returned is not null
, it is a
Collection
with one
entry for each name to be included in the pathToNames
criterion. Each entry is a List
whose first entry is an
Integer
(the name type, 0-8) and whose second
entry is a String
or a byte array (the name, in
string or ASN.1 DER encoded form, respectively).
There can be multiple names of the same type. Note that the
Collection
returned may contain duplicate names (same
name and name type).
Each name in the Collection
may be specified either as a String
or as an ASN.1 encoded
byte array. For more details about the formats used, see
addPathToName(int type, String name)
and
addPathToName(int type, byte [] name)
.
Note that a deep copy is performed on the Collection
to
protect against subsequent modifications.
Collection
of names (or null
)setPathToNames(java.util.Collection<java.util.List<?>>)
public String toString()
CertSelector
.public boolean match(Certificate cert)
Certificate
should be selected.match
in interface CertSelector
cert
- the Certificate
to be checkedtrue
if the Certificate
should be
selected, false
otherwiseDracula Javadoc Sample, Made with Allan Im.


WePanelLayoutGridBase Class Reference
| Inherits from | WePanelLayout : WeBaseObject : NSObject |
| Declared in | WePanelLayoutGridBase.h WePanelLayoutGridBase.m |
Overview
Base class for grid layouts.
Has either columnCount or rowCount. The other is calculated based on the number of items.
Tasks
-
uniformGrid
If YES, all columns have width of widest column and all rows have height of tallest row.
property -
– columnCount
Column count, if set; otherwise zero.
-
– rowCount
Row count, if set; otherwise zero.
-
– setColumnCount:
Sets the column count and places the layout in “fixed column count” mode.
-
– setRowCount:
Sets the row count and places the layout in “fixed row count” mode.
-
– rowAndColumnCount:
Given a WePanelLayer, calculate the current row and column count.
-
– getLayerGridInfo:
Given a WePanelLayer, calculate the current layout information.
-
– applyGridLayout:columnCount:columnLefts:rowTops:columnWidths:rowHeights:
Given a WePanelLayer, calculate the current layout information.
-
– hasRowCount
YES IFF is in row mode.
Properties
uniformGrid
If YES, all columns have width of widest column and all rows have height of tallest row.
@property (nonatomic, assign) BOOL uniformGrid
Discussion
If YES, all columns have width of widest column and all rows have height of tallest row.
This property isn’t honored by all subclasses of this class.
Declared In
WePanelLayoutGridBase.h
Instance Methods
applyGridLayout:columnCount:columnLefts:rowTops:columnWidths:rowHeights:
Given a WePanelLayer, calculate the current layout information.
- (void)applyGridLayout:(WePanelLayer *)layer columnCount:(int)columnCount columnLefts:(int *)columnLefts rowTops:(int *)rowTops columnWidths:(int *)columnWidths rowHeights:(int *)rowHeights
Parameters
- layer
The WePanelLayer.
- columnCount
The column count.
- columnLefts
The column left values.
- rowTops
The row top values.
- columnWidths
The column width values.
- rowHeights
The row height values.
Discussion
Given a WePanelLayer, calculate the current layout information.
Declared In
WePanelLayoutGridBase.h
columnCount
Column count, if set; otherwise zero.
- (int)columnCount
Return Value
Column count, if set; otherwise zero.
Declared In
WePanelLayoutGridBase.h
getLayerGridInfo:
Given a WePanelLayer, calculate the current layout information.
- (LayerGridInfo)getLayerGridInfo:(WePanelLayer *)layer
Parameters
- layer
The WePanelLayer.
Discussion
Given a WePanelLayer, calculate the current layout information.
Declared In
WePanelLayoutGridBase.h
hasRowCount
YES IFF is in row mode.
- (BOOL)hasRowCount
Return Value
YES IFF is in row mode.
Declared In
WePanelLayoutGridBase.h
rowAndColumnCount:
Given a WePanelLayer, calculate the current row and column count.
- (RowAndColumnCount)rowAndColumnCount:(WePanelLayer *)layer
Parameters
- layer
The WePanelLayer.
Discussion
Given a WePanelLayer, calculate the current row and column count.
Declared In
WePanelLayoutGridBase.h
rowCount
Row count, if set; otherwise zero.
- (int)rowCount
Return Value
Row count, if set; otherwise zero.
Declared In
WePanelLayoutGridBase.h


From Russia with Love 🌹
some
nice
animal
pictures
hidden
here
posts
igtv
saved
tagged
description1 click or ESC to close


--- layout: post title: Installing R on OS X date: 2013-02-26 12:00:22.000000000 +00:00 type: post published: true status: publish categories: [] tags: [] meta: tmac_last_id: '618797348756414464' _edit_last: '1' _syntaxhighlighter_encoded: '1' author: David Simpson excerpt_separator: ---
This is a quick introduction to installing R on OS X Mountain Lion.
But first, what is R?
R is a system for statistical computation and graphics. It provides, among other things, a programming language, high level graphics, interfaces to other languages and debugging facilities.
You can download a package for OS X, or go with Homebrew – my route. For the Mountain Lion, you'll need to install XQuartz and a Fortran compiler first.
Install XQuartz. Download it from here.
Install Fortran & R:
# updated 30 Sept 2013
brew update
brew tap homebrew/science
brew install gfortran r
Homebrew should be done compiling and installing within 10 minutes.

You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
Natural language support but running in an English locale
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
>
You can then start some baby steps such as basic addition and creating functions
> x <- 4+5
> x
[1] 9
>
> addup <- function(a, b=10)
+ {
+ return (a+b)
+ }
> addup(4,5)
[1] 9
When you're done, quit the R console:
> q()
Now you're installed, get learning...


Gecode::Search::Par::CollectBest Class Reference
Collect best solutions.
More...
#include <pbs.hh>
List of all members.
Public Member Functions |
| | CollectBest (void) |
| | Initialize.
|
| bool | add (Space *s, Slave< CollectBest > *r) |
| | Add a solution s by r and return whether is was better.
|
| bool | constrain (const Space &b) |
| | Check whether b better and update accordingly.
|
| bool | empty (void) const |
| | Check whether there is any solution left.
|
| Space * | get (Slave< CollectBest > *&r) |
| | Return solution reported by r (only if a better one was found).
|
| | ~CollectBest (void) |
| | Destructor.
|
Static Public Attributes |
| static const bool | best = true |
| | Whether it collects best solutions.
|
Protected Attributes |
| Space * | b |
| | Currently best solution.
|
| Slave< CollectBest > * | reporter |
| | Who has reported the best solution (NULL if solution has already been reported).
|
Detailed Description
Collect best solutions.
Definition at line 113 of file pbs.hh.
Constructor & Destructor Documentation
| Gecode::Search::Par::CollectBest::CollectBest |
( |
void |
|
) |
[inline] |
Initialize.
Definition at line 68 of file pbs.hpp.
| Gecode::Search::Par::CollectBest::~CollectBest |
( |
void |
|
) |
[inline] |
Destructor.
Definition at line 111 of file pbs.hpp.
Member Function Documentation
Add a solution s by r and return whether is was better.
Definition at line 71 of file pbs.hpp.
| bool Gecode::Search::Par::CollectBest::constrain |
( |
const Space & |
b |
) |
[inline] |
Check whether b better and update accordingly.
Definition at line 86 of file pbs.hpp.
| bool Gecode::Search::Par::CollectBest::empty |
( |
void |
|
) |
const [inline] |
Check whether there is any solution left.
Definition at line 100 of file pbs.hpp.
Return solution reported by r (only if a better one was found).
Definition at line 104 of file pbs.hpp.
Member Data Documentation
Currently best solution.
Definition at line 116 of file pbs.hh.
Who has reported the best solution (NULL if solution has already been reported).
Definition at line 118 of file pbs.hh.
Whether it collects best solutions.
Definition at line 121 of file pbs.hh.
The documentation for this class was generated from the following files:


|
|||||||||
| PREV NEXT | FRAMES NO FRAMES |
| com.glub.* |
|---|
| com.glub.secureftp.bean.FTP | ||
|---|---|---|
public static final short |
ACTIVE_CONNECTION_TYPE |
1 |
public static final short |
ASCII_TRANSFER_MODE |
0 |
public static final short |
AUTO_TRANSFER_MODE |
2 |
public static final short |
BINARY_TRANSFER_MODE |
1 |
public static final short |
EBCDIC_TRANSFER_MODE |
3 |
public static final short |
PASSIVE_CONNECTION_TYPE |
0 |
public static final short |
PASV_CONNECTION_TYPE |
0 |
| com.glub.secureftp.bean.FTPServerInfo | ||
|---|---|---|
public static final short |
LIST_STYLE_ENGIN |
4 |
public static final short |
LIST_STYLE_NETWARE |
3 |
public static final short |
LIST_STYLE_UNIX |
1 |
public static final short |
LIST_STYLE_UNKNOWN |
0 |
public static final short |
LIST_STYLE_WINDOWS |
2 |
| com.glub.secureftp.bean.PRET | ||
|---|---|---|
public static final int |
APPEND |
3 |
public static final int |
LIST |
0 |
public static final int |
NLIST |
1 |
public static final int |
RETRIEVE |
2 |
public static final int |
STORE |
4 |
| com.glub.secureftp.bean.SSLFTP | ||
|---|---|---|
public static final short |
EXPLICIT_CONNECTION |
1 |
public static final short |
IMPLICIT_CONNECTION |
0 |
| com.glub.secureftp.bean.SSLFTPCommand | ||
|---|---|---|
public static final char |
CLEAR_DATA_CHANNEL |
67 |
public static final char |
CONFIDENTIAL_DATA_CHANNEL |
69 |
public static final char |
PRIVATE_DATA_CHANNEL |
80 |
public static final char |
SAFE_DATA_CHANNEL |
83 |
| com.glub.secureftp.bean.SSLSessionManager | ||
|---|---|---|
public static final short |
ALLOW_CERTIFICATE |
0 |
public static final short |
DENY_CERTIFICATE |
2 |
public static final short |
SAVE_CERTIFICATE |
1 |
|
|||||||||
| PREV NEXT | FRAMES NO FRAMES |


--- layout: default title: Opera Chorus permalink: "/opera-chorus/" --- {% include opera-chorus-header.html %}
Shortly after the creation of the Foothills Philharmonic Chorus in 2014, the Foothills Philharmonic Opera Chorus was born, following a conversation between Tim Korthuis, and Uwe Dambrüch, one of the principal soloists of the Calgary Concert Opera Company. Shortly thereafter, the Society was contacted by Chris Gieck and Barb King, founders of the Calgary Concert Opera Company, to partner together for the performance of “La Gioconda” in the Spring of 2014.
The performance was a resounding success, and since then, the Calgary Concert Opera Company and the Opera Chorus have partnered in several more events, including a concert of opera favourites from “Carmen”, “Nabucco” and more, and a performance with the Rocky Mountain Symphony Orchestra in January of 2017.
Interest in the Opera Chorus has continued to grow, to the point of becoming a separate ensemble within the Society. We are excited to see what the future holds for the Opera Chorus.


This packages contains the Weighted Portmanteau Tests as described in "New Weighted Portmanteau Statistics for Time Series Goodness-of-Fit Testing' accepted for publication by the Journal of the American Statistical Association.
| Version: | 1.0 |
| Published: | 2012-05-24 |
| Author: | Thomas J. Fisher and Colin M. Gallagher |
| Maintainer: | Thomas J. Fisher <fishertho at umkc.edu> |
| License: | GPL (≥ 3) |
| NeedsCompilation: | no |
| In views: | TimeSeries |
| CRAN checks: | WeightedPortTest results |
| Reference manual: | WeightedPortTest.pdf |
| Package source: | WeightedPortTest_1.0.tar.gz |
| Windows binaries: | r-devel: WeightedPortTest_1.0.zip, r-release: WeightedPortTest_1.0.zip, r-oldrel: WeightedPortTest_1.0.zip |
| OS X binaries: | r-release: WeightedPortTest_1.0.tgz, r-oldrel: WeightedPortTest_1.0.tgz |
Please use the canonical form https://CRAN.R-project.org/package=WeightedPortTest to link to this page.


The earliest I can remember dabbling in web design is at the age of 15 or so. Recently, I found the hard drive from the computer I used all through high school, and against my better judgement, I copied all the files that I could find and took a horrifying trip down memory lane. There's homework, study guides, lyrics for songs, a ton of edgy graphic design, and about two dozen websites in various states of completion.
The websites all have one common theme, which is video games. Turns out that I was a gigantic nerd in high school, which remains true to this day. Most of the designs are for speculative game review sites that I wanted to make. I spent most of my web browsing time in high school on Gamespot, so most of my reference material when learning to build websites was video game sites.
There's a few other choice things buried in this archive. You can find a few sketches of personal websites. None of them have any content beyond an index page, but you can read the navigation of each site to get an idea of what I was going for. One design has a nav containing "my blog", "game reviews", "game maker games", "digital art", "wallpaper", "contact", and "external links". No 16-year-old truly knows who they are as a person, but apparently I had a vague idea of who I wanted to be.
Below are every single one of these websites, in their unaltered form. Most of them don't have any functioning links, and some barely have any content or even layout. As a collection, they present a view into my interests at the time, and my horrible taste in graphic design.
Gallery
Highlighted in pink are the cream of the crop.


obasan-by-joy-kogawa
About the book
Author: Kogawa, Joy
Title: Obasan.
Publication: Toronto : Lester & Orpen Dennys, 1981. ISBN 0-919630-42-1.
DAISY audio format narrated by the author. CELA library call number DA03222. 250 pages in the paper edition; 8 hrs., 51 mins. as a recorded book.
About the story
Beautifully read by the author, Obasan tells the story of the internment of Japanese-Canadians during the Second World War.
Her narrator, Naomi Nakane (pronounced na-kaan-neh), is a middle-aged schoolteacher on the Canadian prairies at the time the story opens. Learning of the death of her uncle, she returns to the home of her Obasan (aunt), where she is surrounded by memories of the past. With the help of a box of documents from her aunt Emily, Naomi slowly reconstructs the past: the separations, the loss of home and community, the love for her family, the loss of her parents, the devastating silence. She discovers, for the first time, what really happened to her family.
This story is beautifully written, with many Japanese words explained (and fluently read by the author). The story it tells is important, because too often Canadians forget the dark chapters of our history. The treatment of Canadians of Japanese origin during WWII is a very, very dark chapter.
Listening to the author tell her story of how one family was torn apart, lost their home, lost family members to impersonal and uncaring bureaucracy, amidst the casual racism of white Canadians who did nothing to help is at times difficult. The unendurable conditions, endured with stoic politeness, fill the reader with both admiration for their strength and shame at how they were treated. The enduring effects on their family is a pervasive atmosphere throughout the book.
Kogawa went on to write poetry and a non-fiction work (Gently to Nagasaki, DA52442). Of her other novels, CELA has only Itsuka, DA12414. She has also written two children’s books, Naomi’s Road, and Naomi’s tree.
She is a member of the Order of Canada.
Recommended?
Highly recommended.
I read this book when I was a kid in high school: it is unforgettable. I read it again now, as a much older person. Both times, it was devastating.
I do think every Canadian should read this book, and acknowledge the hurt we inflict so easily on those we deem as The Other.


Welcome to My Blog
Conversations with the Ghost in the Machine Is a blog that i started as part of my learning path in Dev Bootcamp. In it you will find articles about web development and the insights that i gain during this weeks of deep learning. i try not to go to deep into techinical descriptios about technologies, but more about their potential and holistic use.
 Its time to play with the big boys and learn their weapons of mass destruction, its time to say hello to my little friend the Enumerable.
The enumerable module in ruby lets us use lots of very fun and productive methods in arrays and hashes by iterating over them. Look at all the methods that the enumerable provide to us:
LOOK AT ALL THESE METHODS! • all?, any?, collect, detect, each_cons, each_slice, each_with_index, entries, enum_cons, enum_slice, enum_with_index, ﬁnd, ﬁnd_all, grep, include?, inject, map, max, member?, min, partition, reject, select, sort, sort_by, to_a, to_set, zipMonday,
I know that’s a lot to take so for now lets just focus on one of those methods and get deep with it. The chosen method will be group_by. You may ask why did you choose that one, the only answers that I can provide to you is because I felt in the mood for grouping don’t you? So hats does exactly group_by does? , Well is pretty simple it groups elements by a condition that we pass to it, lets take a look
We have the following Array:
airplanes = ["B747","B757","B767","B777","A320","A330","A340","A350","A380"]
grouped_by_first_letter = airplanes.group_by { |s| s[0] }
That’s going to return:
#{"B"=>["B747","B757","B767","B777",],"A"=>[“A320","A330","A340","A350","A380"]],
So as you can see we started with an array, but ended with Hash that groups our elements by their first letter that in this case is valuable because we now have our airplanes sorted by manufacture.
We can group by any kind of condition that we want in this case by length of each string:
cats = ["Tiger", "Lion", "Puma", "Leopard", "Jaguar","Cheetah", "Bobcat"] grouped_by_length = cats.group_by { |cat| cat.length }
The return will be :
#{5=>["Tiger"], 4=>["Lion", "Puma"], 7=>["Leopard", "Cheetah"], 6=>["Jaguar", "Bobcat"]}
There’s a lot of power that you can get from this method, know that you know how to use it, you can feel comfortable grouping any array that you have in the way that you want.
See ya in another conversation with the machine.
Home


We understand that technology is evolving at a fast pace and keeping up-to-date can be a daunting task. Our goal is to help you take a step back and evaluate what can be a solid technology versus what could be a fad. Our success is the direct reflection of your success and our work together.
At Cielo Concepts, the discovery process is the first step to a sucessful project. The scope and depth of research and inquiry will differ from project to project, but the results are the same: valuable data. The more information that is gathered, interpreted, and understood, the more prepared we will be to complete the project on budget and on target.
Drawing from the information gathered from the discovery phase, it’s time to determine the look and feel of the application or site. Along with wireframing and prototyping, the overall visual style will most likely be determined by the visual brand of the organization. The goal will be to connect the Web with all other forms of the organization’s communications.
At Cielo Concepts Inc. we build websites and apps that perform. We believe the best technology should be seamless to design. We apply and innovate upon open source technologies to deliver solutions that perform for your company and your users. With a full team of developers working on cutting-edge solutions, we customize interactive development for all of the project's needs.
Sometimes a bad production deployment can ruin all the effort invested in a development process. Having a solid deployment workflow can become one of the greatest advantages to the team. What seems like a simple thing can actually be quite complex. At Cielo Concepts Inc., we will safely deploy your application through Development, Staging and Production enviroments.
To ensure that we provide the necessary technology and that we don't overstay our welcome (completing the project in a timely manner), we provide a service in which we take a discovery period to evaluate the current technology stack, the shortcomings, and the future needs. The end result is a report that will outline the concerns and provide a detailed roadmap for the future.
Navigating the ever changing technology landscape can be daunting. Our goal is to wade through the fad and the latest shiny toy and ensure that our partners select the proper toolset that will fit their needs for the immediate and near future. Building modularly designed components (Atomic Design) is where we start and continue this principle through the end of project. Set up an appointment to see how we can help you.
To visualize one's idea on a digital medium can be challenging. We enjoy helping startups visualize their dreams. We also assist in selecting the proper technology that will be helpful in the entire journey, a lasting framework that will go beyond the prototype phase.
Ready to get started? Send us some information and we will set up a time to chat further.


JavaScript is a lightweight, interpreted programming language. It is designed for creating network-centric applications. It is complimentary to and integrated with Java. JavaScript is very easy to implement because it is integrated with HTML. It is open and cross-platform.
This tutorial has been prepared for JavaScript beginners to help them understand the basic functionality of JavaScript to build dynamic web pages and web applications.
For this tutorial, it is assumed that the reader have a prior knowledge of HTML coding. It would help if the reader had some prior exposure to object-oriented programming concepts and a general idea on creating online applications.
For most of the examples given in this tutorial you will find Try it option, so just make use of this option to execute your JavaScript programs at the spot and enjoy your learning.
Try following example using Try it option available at the top right corner of the below sample code box -
<html> <body> <script language="javascript" type="text/javascript"> <!-- document.write("Hello World!") //--> </script> </body> </html>


Inline link 1 with parens.
Inline link 2 with parens.
Inline link 3 with non-escaped parens.
Inline link 4 with non-escaped parens.
Reference link 1 with parens.
Reference link 2 with parens.


SweetFreeStuff.com
///////////////////////////////////////////
Free Dove Oxygen Moisture Shampoo Sample
Posted: 02 Oct 2014 11:24 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Dove Oxygen Moisture Shampoo Sample
The post Free Dove Oxygen Moisture Shampoo Sample appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free E=R Sticker
Posted: 02 Oct 2014 10:35 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free E=R Sticker
The post Free E=R Sticker appeared first on SweetFreeStuff.com.
///////////////////////////////////////////
Free Escada Joyful Fragrance Sample
Posted: 02 Oct 2014 06:39 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Escada Joyful Fragrance Sample
The post Free Escada Joyful Fragrance Sample appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Child Safety Kit
Posted: 02 Oct 2014 04:33 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Child Safety Kit
The post Free Child Safety Kit appeared first on SweetFreeStuff.com.
///////////////////////////////////////////
Free Subscription to Shape Magazine
Posted: 02 Oct 2014 04:05 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Subscription to Shape Magzaine
The post Free Subscription to Shape Magazine appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Skin Care Sample From Natural Skin Rx
Posted: 02 Oct 2014 03:31 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Skin Care Sample From Natural Skin Rx
The post Free Skin Care Sample From Natural Skin Rx appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Sundown Natural Adult Multi Gummy Sample Packet
Posted: 02 Oct 2014 02:31 AM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Free Sundown Natural Adult Multi Gummy Sample Packet
The post Free Sundown Natural Adult Multi Gummy Sample Packet appeared
first on SweetFreeStuff.com.
///////////////////////////////////////////
Free Subscription to Hot Bike Magazine
Posted: 01 Oct 2014 10:03 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
The post Free Subscription to Hot Bike Magazine appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Zest Creamy Cocoa Butter & Shea Body Wash and Bar Soap This Week
Starting 9/29
Posted: 01 Oct 2014 10:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Starting Monday, September 29, the first 200 people to respond each day
that week at 3PM ET to will get a free Zest body wash and soap bar. Free
Zest Creamy Cocoa Butter Shea Body Wash and Bar Soap Starting 9/29
The post Free Zest Creamy Cocoa Butter Shea Body Wash and Bar Soap This
Week Starting 9/29 appeared first on SweetFreeStuff.com.
///////////////////////////////////////////
Free Sample of Biofreeze Pain Relieving Gel
Posted: 01 Oct 2014 10:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
The post Free Sample of Biofreeze Pain Relieving Gel appeared first on
SweetFreeStuff.com.
///////////////////////////////////////////
Free Money Clip Bottle Opener from Black & Mild
Posted: 01 Oct 2014 10:00 PM PDT
http://feedproxy.google.com/&edburner&utm_medium=email
Log in or sign up and click on the offer. Free Money Clip Bottle Opener
from Black Mild
The post Free Money Clip Bottle Opener from Black Mild appeared first on
SweetFreeStuff.com.


Antithriller
Antitrust A film review by Michael Redman Copyright 2001 by Michael Redman
* (out of ****)
The cultural phenomena of the rise to power of the computer geeks over the past several years has been fascinating to observe. Those loner kids with skin tones missing any trace of color from sitting in their rooms hunched over a keyboard are now billionaires and rule the world. In a complete turn-about, head-hunters are searching high school yearbooks for members of the Chess Club and the AV Crew.
You would think that Hollywood would recognize the vast audience of young people in touch with that scene and release films that appealed to them. And you would be wrong. Instead they give us "Antitrust" which appeals to teenage girls in touch with how pretty Ryan Phillippe is.
Stealing most of its plot from "The Net" and "The Firm", this film is old hat. Young computer genius Milo (Phillippe) is seduced by Bill Gates lookalike Gary Winston (Tim Robbins) away from his buddies and into the world of corporate code-writing.
In short order, Milo discovers the underbelly of Winston's evil empire and sets out to put everything right with the world. Not a bad concept, but it fails on almost every level.
Admittedly it's difficult to make typing seem exciting even on the big screen, but the opportunities to generate tension are ignored. This is a prime example of one of the worst film genres: the thrill-less thriller. The scene where Milo discovers the secret plan is remarkably lifeless.
Maybe I've seen too many films. I found myself annoying my companions by predicting the rest of the movie during the first 15 minutes and was only able to stop after repeated beatings. In a story where people are supposedly not who they appear to be and shocks await around every corner, it's probably not such a great idea to make everything so obvious. This might work with the target audience of young girls who may not be acquainted with the hundreds of films this one copies, but for anyone else, it flops.
The one bright spot is Robbins' portrayal of the amoral software gazillionaire. Why this multi-talented man is in this movie is a mystery for the ages, but he does Bill Gates to a T.
Geeks in the audience will be searching in vain for the "Restart" key minutes after it starts. But there is no hope. Nothing to do except watch the program crash and burn.
(Michael Redman has written this column since before computers became domesticated and had more fun de-fragging a hard drive than watching this movie. Email tales of geekdom to<EMAIL_ADDRESS>[This appeared in the 1/18/2001 "Bloomington Independent", Bloomington, Indiana. Michael Redman can be contacted at<EMAIL_ADDRESS>--<EMAIL_ADDRESS>Film reviews archive: http://us.imdb.com/ReviewsBy?Michael+Redman
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


| DOSE: |
1 cig. |
smoked |
Cannabis |
(plant material) |
I consider myself to be a generally seasoned 'pothead' having smoked for over a year with the last few months smoking everyday at least once a day. I love weed and love getting high, but one night I had the worst experience of my LIFE.
On 7/13/06 at the Les Claypool concert me and two of my friends had snuck two blunts in to the concert. We were all pretty anxious for smoking, because we hadnít smoked yet that day. Once the opening band came on we were quick to burn the blunt. I had felt a lot more relaxed and was feeling pretty good until about 10 minutes later when the loud music started to blur and I felt very faint. I made my way to the back of the building where I sat on some stairs. I closed my eyes and felt like I was spinning.
At this point I felt nauseous and decide to go out the exit that was right in front of me to get some fresh air. Once I got outside I new some think was really wrong, I tripped and fell on the asphalt, scraped up my knees but I managed to some how get back up. I stumbled off to the other side of the parking lot where I sat down. A bunch of concerned onlookers came over to me and asked if I was ok and If I needed something to drink. I was to dazed to actually think about what they were saying so I told them I was fine and not to worry about me. I broke into a cold sweat all over my body and my limbs got pins and needles and then got numb. I began to feel like I was going to vomit so I stood up and leaned on a car where I proceeded to get sick.
After barfing most of my guts out, I felt a lot better and decided to go back inside. Once I got back inside I stood inline to buy a drink, but before I knew it the same nauseous feeling came back. I broke into a cold sweat and began having thoughts about death. I stumbled out the door and managed to find some steps to rest on. One of the concert staff had got me a glass of water which I threw up right in front of him. He thought I had been drinking earlier but I assured him I hadnít. He took me to the medical area of the building, where an EMT met me. I explained to him my symptoms and he thought that the hot air and loud music had caused me to become ill.  He asked me if I have any heart problems, I told him I didnít and he told me to drink my water and he would come back and check on me.
By this point I was feeling like I was going to die, I called my mom and she came and got me. The EMT suggested I go to the hospital but I told him Iíd be ok, I signed papers refusing an ambulance and was on my way. When I got home I went straight to bed and the next day I felt fine.
Experience Reports are the writings and opinions of the individual authors who submit them.
Some of the activities described are dangerous and/or illegal and none are recommended by Erowid.