text
stringlengths 1
22.8M
|
|---|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<definitions xmlns="path_to_url" xmlns:xsi="path_to_url" xmlns:flowable="path_to_url"
xmlns:bpmndi="path_to_url" xmlns:omgdc="path_to_url"
xmlns:omgdi="path_to_url" xmlns:design="path_to_url" typeLanguage="path_to_url"
expressionLanguage="path_to_url" targetNamespace="path_to_url" design:palette="flowable-process-palette">
<process id="myProcess" name="Parallel and sequential future service tasks" isExecutable="true">
<extensionElements>
<design:stencilid><![CDATA[BPMNDiagram]]></design:stencilid>
<design:language><![CDATA[English]]></design:language>
<design:creationdate><![CDATA[2020-07-08T11:40:51.813Z]]></design:creationdate>
<design:modificationdate><![CDATA[2020-07-08T12:28:52.298Z]]></design:modificationdate>
</extensionElements>
<startEvent id="startnoneevent1" flowable:initiator="initiator" flowable:formFieldValidation="false">
<extensionElements>
<flowable:work-form-field-validation><![CDATA[false]]></flowable:work-form-field-validation>
<design:stencilid><![CDATA[StartNoneEvent]]></design:stencilid>
</extensionElements>
</startEvent>
<serviceTask id="serviceTask1_1" name="Service task 1.1" flowable:delegateExpression="${futureDelegate1_1}">
<extensionElements>
<design:stencilid><![CDATA[ServiceTask]]></design:stencilid>
<design:stencilsuperid><![CDATA[Task]]></design:stencilsuperid>
</extensionElements>
</serviceTask>
<serviceTask id="serviceTask2_1" name="Service task 2.1" flowable:delegateExpression="${futureDelegate2_1}">
<extensionElements>
<design:stencilid><![CDATA[ServiceTask]]></design:stencilid>
<design:stencilsuperid><![CDATA[Task]]></design:stencilsuperid>
</extensionElements>
</serviceTask>
<serviceTask id="serviceTask1_2" name="Service task 1.2" flowable:delegateExpression="${futureDelegate1_2}">
<extensionElements>
<design:stencilid><![CDATA[ServiceTask]]></design:stencilid>
<design:stencilsuperid><![CDATA[Task]]></design:stencilsuperid>
</extensionElements>
</serviceTask>
<endEvent id="endNoneEvent1">
<extensionElements>
<design:stencilid><![CDATA[EndNoneEvent]]></design:stencilid>
</extensionElements>
</endEvent>
<sequenceFlow id="sequenceFlow1" sourceRef="inclusiveGateway2" targetRef="endNoneEvent1">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow2" sourceRef="startnoneevent1" targetRef="inclusiveGateway1">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow3" sourceRef="inclusiveGateway1" targetRef="serviceTask1_1">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow4" sourceRef="inclusiveGateway1" targetRef="serviceTask2_1">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow5" sourceRef="serviceTask2_1" targetRef="inclusiveGateway2">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow6" sourceRef="serviceTask1_1" targetRef="serviceTask1_2">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow7" sourceRef="serviceTask1_2" targetRef="inclusiveGateway2">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<sequenceFlow id="sequenceFlow8" sourceRef="inclusiveGateway1" targetRef="scriptTask1">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
<design:conditionexpression><![CDATA[${false}]]></design:conditionexpression>
</extensionElements>
<conditionExpression xsi:type="tFormalExpression"><![CDATA[${false}]]></conditionExpression>
</sequenceFlow>
<sequenceFlow id="sequenceFlow9" sourceRef="scriptTask1" targetRef="inclusiveGateway2">
<extensionElements>
<design:stencilid><![CDATA[SequenceFlow]]></design:stencilid>
</extensionElements>
</sequenceFlow>
<scriptTask id="scriptTask1" name="Service task 3.1 (not reachable)" scriptFormat="groovy" flowable:autoStoreVariables="false">
<extensionElements>
<design:stencilid><![CDATA[ScriptTask]]></design:stencilid>
<design:stencilsuperid><![CDATA[Task]]></design:stencilsuperid>
</extensionElements>
<script><![CDATA[throw new org.flowable.engine.delegate.BpmnError("Task should not execute");]]></script>
</scriptTask>
<inclusiveGateway id="inclusiveGateway1">
<extensionElements>
<design:stencilid><![CDATA[InclusiveGateway]]></design:stencilid>
</extensionElements>
</inclusiveGateway>
<inclusiveGateway id="inclusiveGateway2">
<extensionElements>
<design:stencilid><![CDATA[InclusiveGateway]]></design:stencilid>
</extensionElements>
</inclusiveGateway>
<textAnnotation id="textAnnotation2">
<extensionElements>
<design:stencilid><![CDATA[TextAnnotation]]></design:stencilid>
<design:text><![CDATA[Service task 1.1 will execute when Service task 2.1 starts executing]]></design:text>
</extensionElements>
<text>Service task 1.1 will execute when Service task 2.1 starts executing</text>
</textAnnotation>
<association id="associationUndirected2" sourceRef="serviceTask1_1" targetRef="textAnnotation2" associationDirection="None">
<extensionElements>
<design:stencilid><![CDATA[AssociationUndirected]]></design:stencilid>
<design:stencilsuperid><![CDATA[Association_Undirected]]></design:stencilsuperid>
</extensionElements>
</association>
<textAnnotation id="textAnnotation3">
<extensionElements>
<design:stencilid><![CDATA[TextAnnotation]]></design:stencilid>
<design:text><![CDATA[Service task 1.2 will execute when Service task 2.1 starts executing and 1.1 is done]]></design:text>
</extensionElements>
<text>Service task 1.2 will execute when Service task 2.1 starts executing and 1.1 is done</text>
</textAnnotation>
<association id="associationUndirected3" sourceRef="serviceTask1_2" targetRef="textAnnotation3" associationDirection="None">
<extensionElements>
<design:stencilid><![CDATA[AssociationUndirected]]></design:stencilid>
<design:stencilsuperid><![CDATA[Association_Undirected]]></design:stencilsuperid>
</extensionElements>
</association>
<textAnnotation id="textAnnotation4">
<extensionElements>
<design:stencilid><![CDATA[TextAnnotation]]></design:stencilid>
<design:text><![CDATA[Service task 2.1 will execute when 1.2 is done]]></design:text>
</extensionElements>
<text>Service task 2.1 will execute when 1.2 is done</text>
</textAnnotation>
<association id="associationUndirected4" sourceRef="serviceTask2_1" targetRef="textAnnotation4" associationDirection="None">
<extensionElements>
<design:stencilid><![CDATA[AssociationUndirected]]></design:stencilid>
<design:stencilsuperid><![CDATA[Association_Undirected]]></design:stencilsuperid>
</extensionElements>
</association>
</process>
<bpmndi:BPMNDiagram id="BPMNDiagram_myProcess">
<bpmndi:BPMNPlane bpmnElement="myProcess" id="BPMNPlane_myProcess">
<bpmndi:BPMNShape bpmnElement="startnoneevent1" id="BPMNShape_startnoneevent1">
<omgdc:Bounds height="30.0" width="30.0" x="117.0" y="261.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="serviceTask1_1" id="BPMNShape_serviceTask1_1">
<omgdc:Bounds height="80.0" width="100.0" x="376.0" y="121.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="serviceTask2_1" id="BPMNShape_serviceTask2_1">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="236.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="serviceTask1_2" id="BPMNShape_serviceTask1_2">
<omgdc:Bounds height="80.0" width="100.0" x="586.0" y="121.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="endNoneEvent1" id="BPMNShape_endNoneEvent1">
<omgdc:Bounds height="28.0" width="28.0" x="880.0" y="262.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="textAnnotation2" id="BPMNShape_textAnnotation2">
<omgdc:Bounds height="65.0" width="145.0" x="285.0" y="15.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="associationUndirected2" id="BPMNShape_associationUndirected2">
<omgdc:Bounds height="50.0" width="80.0" x="295.0" y="79.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="textAnnotation3" id="BPMNShape_textAnnotation3">
<omgdc:Bounds height="76.0" width="141.0" x="675.0" y="15.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="associationUndirected3" id="BPMNShape_associationUndirected3">
<omgdc:Bounds height="65.0" width="24.0" x="650.0" y="55.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="textAnnotation4" id="BPMNShape_textAnnotation4">
<omgdc:Bounds height="50.0" width="100.0" x="525.0" y="285.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="associationUndirected4" id="BPMNShape_associationUndirected4">
<omgdc:Bounds height="13.0" width="34.0" x="490.0" y="295.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="scriptTask1" id="BPMNShape_scriptTask1">
<omgdc:Bounds height="80.0" width="100.0" x="390.0" y="390.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="inclusiveGateway1" id="BPMNShape_inclusiveGateway1">
<omgdc:Bounds height="40.0" width="40.0" x="240.0" y="256.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNShape bpmnElement="inclusiveGateway2" id="BPMNShape_inclusiveGateway2">
<omgdc:Bounds height="40.0" width="40.0" x="795.0" y="256.0"></omgdc:Bounds>
</bpmndi:BPMNShape>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow5" id="BPMNEdge_sequenceFlow5">
<omgdi:waypoint x="489.95000000000005" y="276.0"></omgdi:waypoint>
<omgdi:waypoint x="795.0" y="276.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow6" id="BPMNEdge_sequenceFlow6">
<omgdi:waypoint x="475.94999999995036" y="161.0"></omgdi:waypoint>
<omgdi:waypoint x="585.999999999997" y="161.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow3" id="BPMNEdge_sequenceFlow3">
<omgdi:waypoint x="260.5" y="256.5"></omgdi:waypoint>
<omgdi:waypoint x="260.5" y="161.0"></omgdi:waypoint>
<omgdi:waypoint x="375.9999999999475" y="161.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow4" id="BPMNEdge_sequenceFlow4">
<omgdi:waypoint x="279.4976130653257" y="276.4469273743017"></omgdi:waypoint>
<omgdi:waypoint x="389.9999999999912" y="276.13913649025073"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow1" id="BPMNEdge_sequenceFlow1">
<omgdi:waypoint x="834.5591869398207" y="276.37820512820514"></omgdi:waypoint>
<omgdi:waypoint x="880.0002755524882" y="276.08885188426405"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow2" id="BPMNEdge_sequenceFlow2">
<omgdi:waypoint x="146.94999888464991" y="276.0"></omgdi:waypoint>
<omgdi:waypoint x="240.0" y="276.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="associationUndirected4" id="BPMNEdge_associationUndirected4">
<omgdi:waypoint x="489.95000000000005" y="295.1668604651163"></omgdi:waypoint>
<omgdi:waypoint x="524.9999999999999" y="308.6162790697674"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="associationUndirected3" id="BPMNEdge_associationUndirected3">
<omgdi:waypoint x="650.7404994521548" y="121.0"></omgdi:waypoint>
<omgdi:waypoint x="675.0" y="55.16589952981939"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="associationUndirected2" id="BPMNEdge_associationUndirected2">
<omgdi:waypoint x="376.0" y="129.75"></omgdi:waypoint>
<omgdi:waypoint x="296.2913772807534" y="79.95"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow9" id="BPMNEdge_sequenceFlow9">
<omgdi:waypoint x="489.9499999994598" y="430.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="430.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="295.9064489928525"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow7" id="BPMNEdge_sequenceFlow7">
<omgdi:waypoint x="685.9499999999051" y="161.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="161.0"></omgdi:waypoint>
<omgdi:waypoint x="815.0" y="256.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
<bpmndi:BPMNEdge bpmnElement="sequenceFlow8" id="BPMNEdge_sequenceFlow8">
<omgdi:waypoint x="260.5" y="295.44383138020834"></omgdi:waypoint>
<omgdi:waypoint x="260.5" y="430.0"></omgdi:waypoint>
<omgdi:waypoint x="389.9999999999232" y="430.0"></omgdi:waypoint>
</bpmndi:BPMNEdge>
</bpmndi:BPMNPlane>
</bpmndi:BPMNDiagram>
</definitions>
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// MODULES //
var bench = require( '@stdlib/bench' );
var randu = require( '@stdlib/random/base/randu' );
var isnan = require( '@stdlib/math/base/assert/is-nan' );
var EPS = require( '@stdlib/constants/float64/eps' );
var pkg = require( './../package.json' ).name;
var median = require( './../lib' );
// MAIN //
bench( pkg, function benchmark( b ) {
var alpha;
var m;
var s;
var y;
var i;
b.tic();
for ( i = 0; i < b.iterations; i++ ) {
alpha = ( randu()*20.0 ) + EPS;
s = ( randu()*20.0 ) + EPS;
m = ( randu()*20.0 ) - 40.0;
y = median( alpha, s, m );
if ( isnan( y ) ) {
b.fail( 'should not return NaN' );
}
}
b.toc();
if ( isnan( y ) ) {
b.fail( 'should not return NaN' );
}
b.pass( 'benchmark finished' );
b.end();
});
```
|
Joseph, Baron Ducreux (26 June 1735 – 24 July 1802) was a French noble, portrait painter, pastelist, miniaturist, and engraver, who was a successful portraitist at the court of Louis XVI of France, and resumed his career at the conclusion of the French Revolution. He was made a baron and premier peintre de la reine (First Painter to the Queen), and drew the last portrait ever made of Louis XVI before the king's execution. His less formal portraits reflect his fascination with physiognomy and show an interest in expanding the range of facial expressions beyond those of conventional portraiture.
Life and career
Born in Nancy, Ducreux may have trained with his father, who was also a painter. When Ducreux went to Paris in 1760, he trained as the only student of the pastelist Maurice Quentin de La Tour, who specialized in portraiture. Jean-Baptiste Greuze was an important influence on Ducreux's oil technique.
In 1769, Ducreux was sent to Vienna in order to paint a miniature of Marie Antoinette (shown left) before she left the city in 1770 and married Louis XVI of France. Ducreux was made a baron and premier peintre de la reine (First Painter to the Queen) in rewards for his services. Ducreux was given this appointment by Marie-Antoinette even though he was not a member of the Royal Academy of Painting and Sculpture, which had been founded in 1648. The academy was strictly hierarchical and the posts of first painter, ordinary painter and inspector or inspector general of royal factories were customarily reserved for members of the academy.
At the outbreak of the French Revolution, Ducreux traveled to London. There he drew the last portrait ever made of Louis XVI before the king's execution.
Jacques-Louis David became one of Ducreux's associates when the latter returned to Paris in 1793. David helped Ducreux continue an official career. Ducreux's residence became an informal salon for artists and musicians, who commissioned portraits from him. One of these musicians was his friend Étienne Méhul, who is said to have based the main character of one of his operas on Ducreux.
Ducreux had several children. His eldest son Jules was a painter and infantry captain who died in the Battle of Jemappes; several of his paintings still exist. His other sons died young. His eldest daughter, Rose-Adélaïde Ducreux, also became a painter, as did his daughter Antoinette-Clémence.
Work
Ducreux specialized in portrait painting. He completed his early portraits in pastel, including those of connoisseurs Pierre-Jean Mariette, the Comte de Caylus and Ange-Laurent de la Live de July. These works may have been copies after De La Tour. Although Ducreux cataloged his works in list form from 1760 onward, he rarely signed his paintings. Thus, many of his works remain erroneously attributed to other artists.
Other portraits by Ducreux include those of Pierre Choderlos de Laclos and Maria Theresa of Austria, as well as those mentioned above of Louis XVI and Marie Antoinette. Ducreux also made several well-known self-portraits in the 1780s and 1790s, including one in 1783 in which he painted himself in the middle of a large yawn (the Getty Center, Los Angeles). In another, Portrait de l'artiste sous les traits d'un moqueur (c. 1793, Louvre), the artist guffaws and points at the viewer.
With these self-portraits Ducreux attempted to break free from the constraints of traditional portraiture. His interest in physiognomy—the belief that a person's outer appearance, especially the shape and lines of their face, could reveal their inner character—influenced him in creating his warm and individualistic works. For example, his portrait Le Discret (c. 1790) depicts a man with a timorous facial expression requesting silence by pressing his finger against his mouth, gesturing by which he appears to be demanding discretion or prudence.
Through unusual body language and physical appearances, these portraits parallel the vivacious tronies of Dutch Golden Age painting and the "character heads" of contemporary Austrian sculptor Franz Xaver Messerschmidt (1736–1783), some of whose busts were self-portraits with extreme expressions.
Internet meme
A reproduction of Ducreux's self-portrait Portrait de l'artiste sous les traits d'un moqueur became subject to internet popularity as part of an internet meme in the late 2000s and early 2010s. In the meme, rap and pop song lyrics, common internet phrases, and similar tropes are paraphrased in verbose, stilted, or faux-archaic English and overlaid on top of the portrait to create an image macro.
Gallery
References
Further reading
Georgette Lyon, "Joseph Ducreux. Premier peintre de Marie Antoinette," Paris, 1958
Emilie-Juliette Gauby, "Joseph Ducreux 1735–1802 Peintre de portraits", Student at Blaise Pascal University Clermont II, 2004]
External links
Getty Museum: Self-portrait information
Getty Museum: Biography
Enlightenment: Royal Academy of Painting
1735 births
1802 deaths
Barons of France
18th-century French painters
French male painters
Internet memes
Artists from Nancy, France
French portrait painters
French Realist painters
18th-century French male artists
|
is a train station located in Imari, Saga Prefecture, Japan. It is on the Nishi-Kyūshū Line which has been operated by the third-sector Matsuura Railway since 1988.
Lines
Matsuura Railway
Nishi-Kyūshū Line
Trains on this branch terminate at either or . Travellers can transfer at for local trains to , then onto a local or rapid train to . It is 11.6 km from .
Station layout
The station consists of one ground-level side platform with a bi-directional track.
Adjacent stations
See also
List of railway stations in Japan
References
This article incorporates material from the corresponding article in the Japanese Wikipedia.
External links
Matsuura Railway
Navitime station timetable
Yahoo! Transit Japan
Stations of Matsuura Railway
Railway stations in Japan opened in 1960
|
Bartnes is a village in the municipality of Steinkjer in Trøndelag county, Norway. The village is located in the western part of Steinkjer in the Beitstad area. It lies along the shore of the innermost part of the Trondheimsfjord, across from the large village of Malm. The town of Steinkjer lies about to the southeast and the village of Vellamelen lies about northeast of Bartnes. Bartnes Church is located in this village. Bartnes is a very old settlement, with many historical findings in the surrounding area.
References
Villages in Trøndelag
Steinkjer
|
```python
# Illustration of gibbs sampling for 2-dim Gaussian
# Author: Gerardo Durn-Martn
# Translated from gibbsGaussDemo.m
import numpy as np
import matplotlib.pyplot as plt
from scipy.stats import multivariate_normal, norm
try:
import probml_utils as pml
except ModuleNotFoundError:
%pip install -qq git+path_to_url import probml_utils as pml
import os
```
```python
os.environ["LATEXIFY"] = ""
os.environ["FIG_DIR"] = "figures"
```
```python
pml.latexify(width_scale_factor=2)
```
```python
= np.zeros(2)
= np.array([[1, 0.99], [0.99, 1]])
mvn = multivariate_normal(, )
# Plot one contour of the multivariate normal
X = np.mgrid[-3:3:0.01, -3:3:0.01]
density = np.apply_along_axis(mvn.pdf, 0, X)
# Gibbs-Sampling path
blue_seq = (
np.array(
[
[-1 / 2, -1],
[-1 / 2, 0],
[1, 0],
[1, 1],
[-1 / 2, 1],
[-1 / 2, 1 / 2],
[1.5, 1 / 2],
[1.5, 1.5],
]
)
/ 3
)
# Compute marginal parameters x0|x1
x0_range = np.arange(-2, 2, 0.01)
x0_obs = 0.7
0_cond = [0, 0] - [0, 1] * [1, 0] / [1, 1]
0_cond = [0] + [0, 1] * (x0_obs - [1]) / [1, 1]
plt.plot(*blue_seq.T)
plt.contour(*X, density, levels=[0.07], colors="tab:red")
plt.xlim(-3, 3)
plt.ylim(-3, 3)
plt.scatter(0, 0, marker="x", c="tab:red", s=300)
plt.text(0, 1.7, "L", size=11)
plt.text(1.2, -2, "l", size=11)
plt.annotate("", xy=(-2.5, 1.5), xytext=(2.5, 1.5), arrowprops=dict(arrowstyle="<->"))
plt.annotate("", xy=(0.5, -2), xytext=(1, -2), arrowprops=dict(arrowstyle="<->"))
# Scaled down and shifted marginal gaussian
plt.plot(x0_range, norm(0_cond, np.sqrt(0_cond)).pdf(x0_range) * 0.3 - 3, c="tab:green")
plt.tight_layout()
pml.savefig("gmm_singularity.pdf")
plt.show()
```
```python
```
|
Elections to the French National Assembly was held in the territory of Ivory Coast (which included Upper Volta at the time) on 10 November 1946 as part of the wider parliamentary elections. Félix Houphouët-Boigny, Zinda Kaboré and Daniel Ouezzin Coulibaly were elected on the African Democratic Rally list.
Results
References
Ivory
1946 in French Upper Volta
1946 in Ivory Coast
Elections in Burkina Faso
Elections in Ivory Coast
|
```c++
CAge* pcage = new CAge(21); // CAge is derived from CObject.
ASSERT(pcage != NULL);
ASSERT(pcage->IsKindOf(RUNTIME_CLASS(CAge)));
// Terminates program only if pcage is NOT a CAge*.
```
|
```objective-c
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// Original code copyright 2014 Foxit Software Inc. path_to_url
#ifndef FXJS_XFA_CJX_MARGIN_H_
#define FXJS_XFA_CJX_MARGIN_H_
#include "fxjs/xfa/cjx_node.h"
#include "fxjs/xfa/jse_define.h"
class CXFA_Margin;
class CJX_Margin final : public CJX_Node {
public:
explicit CJX_Margin(CXFA_Margin* node);
~CJX_Margin() override;
};
#endif // FXJS_XFA_CJX_MARGIN_H_
```
|
```javascript
/**
* @param {string} s
* @return {boolean}
*/
var checkValidString = function (s) {
let left = 0;
let right = 0;
for (let i = 0; i < s.length; i++) {
left += s[i] == "(" ? 1 : -1;
right += s[i] == ")" ? 1 : -1;
if (right > 0) {
break;
}
left = left > 0 ? left : 0;
}
return left == 0;
};
```
|
Operation Limpieza took place during the Dominican Civil War in May 1965. The objective of the operation was to eliminate rebel resistance in the northern part of Santo Domingo. Operation Limpieza (Cleanup) involved 16 tanks and over 1,000 troops of the military junta.
The offensive began on 13 May. The attacking infantry was well equipped with mortars, bazookas, and 37 mm cannons, while the defending civilians were armed with nothing heavier than machine guns. However, the rebels inflicted heavy losses on the junta troops. Nonetheless, junta troops were successful in eliminating pockets of rebel resistance in the northern part of the capital and in silencing Radio Santo Domingo. Operation Limpieza ended on 21 May.
The operation resulted in the wholesale destruction of many city blocks. Junta troops massacred many black civilians as part of their Limpieza campaign.
References
Conflicts in 1965
1965 in the Dominican Republic
|
```php
<?php
/*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
*/
namespace Google\Service\Aiplatform;
class GoogleCloudAiplatformV1DataLabelingJob extends \Google\Collection
{
protected $collection_key = 'specialistPools';
protected $activeLearningConfigType = GoogleCloudAiplatformV1ActiveLearningConfig::class;
protected $activeLearningConfigDataType = '';
/**
* @var string[]
*/
public $annotationLabels;
/**
* @var string
*/
public $createTime;
protected $currentSpendType = GoogleTypeMoney::class;
protected $currentSpendDataType = '';
/**
* @var string[]
*/
public $datasets;
/**
* @var string
*/
public $displayName;
protected $encryptionSpecType = GoogleCloudAiplatformV1EncryptionSpec::class;
protected $encryptionSpecDataType = '';
protected $errorType = GoogleRpcStatus::class;
protected $errorDataType = '';
/**
* @var array
*/
public $inputs;
/**
* @var string
*/
public $inputsSchemaUri;
/**
* @var string
*/
public $instructionUri;
/**
* @var int
*/
public $labelerCount;
/**
* @var int
*/
public $labelingProgress;
/**
* @var string[]
*/
public $labels;
/**
* @var string
*/
public $name;
/**
* @var string[]
*/
public $specialistPools;
/**
* @var string
*/
public $state;
/**
* @var string
*/
public $updateTime;
/**
* @param GoogleCloudAiplatformV1ActiveLearningConfig
*/
public function setActiveLearningConfig(GoogleCloudAiplatformV1ActiveLearningConfig $activeLearningConfig)
{
$this->activeLearningConfig = $activeLearningConfig;
}
/**
* @return GoogleCloudAiplatformV1ActiveLearningConfig
*/
public function getActiveLearningConfig()
{
return $this->activeLearningConfig;
}
/**
* @param string[]
*/
public function setAnnotationLabels($annotationLabels)
{
$this->annotationLabels = $annotationLabels;
}
/**
* @return string[]
*/
public function getAnnotationLabels()
{
return $this->annotationLabels;
}
/**
* @param string
*/
public function setCreateTime($createTime)
{
$this->createTime = $createTime;
}
/**
* @return string
*/
public function getCreateTime()
{
return $this->createTime;
}
/**
* @param GoogleTypeMoney
*/
public function setCurrentSpend(GoogleTypeMoney $currentSpend)
{
$this->currentSpend = $currentSpend;
}
/**
* @return GoogleTypeMoney
*/
public function getCurrentSpend()
{
return $this->currentSpend;
}
/**
* @param string[]
*/
public function setDatasets($datasets)
{
$this->datasets = $datasets;
}
/**
* @return string[]
*/
public function getDatasets()
{
return $this->datasets;
}
/**
* @param string
*/
public function setDisplayName($displayName)
{
$this->displayName = $displayName;
}
/**
* @return string
*/
public function getDisplayName()
{
return $this->displayName;
}
/**
* @param GoogleCloudAiplatformV1EncryptionSpec
*/
public function setEncryptionSpec(GoogleCloudAiplatformV1EncryptionSpec $encryptionSpec)
{
$this->encryptionSpec = $encryptionSpec;
}
/**
* @return GoogleCloudAiplatformV1EncryptionSpec
*/
public function getEncryptionSpec()
{
return $this->encryptionSpec;
}
/**
* @param GoogleRpcStatus
*/
public function setError(GoogleRpcStatus $error)
{
$this->error = $error;
}
/**
* @return GoogleRpcStatus
*/
public function getError()
{
return $this->error;
}
/**
* @param array
*/
public function setInputs($inputs)
{
$this->inputs = $inputs;
}
/**
* @return array
*/
public function getInputs()
{
return $this->inputs;
}
/**
* @param string
*/
public function setInputsSchemaUri($inputsSchemaUri)
{
$this->inputsSchemaUri = $inputsSchemaUri;
}
/**
* @return string
*/
public function getInputsSchemaUri()
{
return $this->inputsSchemaUri;
}
/**
* @param string
*/
public function setInstructionUri($instructionUri)
{
$this->instructionUri = $instructionUri;
}
/**
* @return string
*/
public function getInstructionUri()
{
return $this->instructionUri;
}
/**
* @param int
*/
public function setLabelerCount($labelerCount)
{
$this->labelerCount = $labelerCount;
}
/**
* @return int
*/
public function getLabelerCount()
{
return $this->labelerCount;
}
/**
* @param int
*/
public function setLabelingProgress($labelingProgress)
{
$this->labelingProgress = $labelingProgress;
}
/**
* @return int
*/
public function getLabelingProgress()
{
return $this->labelingProgress;
}
/**
* @param string[]
*/
public function setLabels($labels)
{
$this->labels = $labels;
}
/**
* @return string[]
*/
public function getLabels()
{
return $this->labels;
}
/**
* @param string
*/
public function setName($name)
{
$this->name = $name;
}
/**
* @return string
*/
public function getName()
{
return $this->name;
}
/**
* @param string[]
*/
public function setSpecialistPools($specialistPools)
{
$this->specialistPools = $specialistPools;
}
/**
* @return string[]
*/
public function getSpecialistPools()
{
return $this->specialistPools;
}
/**
* @param string
*/
public function setState($state)
{
$this->state = $state;
}
/**
* @return string
*/
public function getState()
{
return $this->state;
}
/**
* @param string
*/
public function setUpdateTime($updateTime)
{
$this->updateTime = $updateTime;
}
/**
* @return string
*/
public function getUpdateTime()
{
return $this->updateTime;
}
}
// Adding a class alias for backwards compatibility with the previous class name.
class_alias(GoogleCloudAiplatformV1DataLabelingJob::class, your_sha256_hash);
```
|
```go
package db
import (
"context"
"code.gitea.io/gitea/models/auth"
user_model "code.gitea.io/gitea/models/user"
)
// Source is a password authentication service
type Source struct{}
// FromDB fills up an OAuth2Config from serialized format.
func (source *Source) FromDB(bs []byte) error {
return nil
}
// ToDB exports the config to a byte slice to be saved into database (this method is just dummy and does nothing for DB source)
func (source *Source) ToDB() ([]byte, error) {
return nil, nil
}
// Authenticate queries if login/password is valid against the PAM,
// and create a local user if success when enabled.
func (source *Source) Authenticate(ctx context.Context, user *user_model.User, login, password string) (*user_model.User, error) {
return Authenticate(ctx, user, login, password)
}
func init() {
auth.RegisterTypeConfig(auth.NoType, &Source{})
auth.RegisterTypeConfig(auth.Plain, &Source{})
}
```
|
```javascript
/**
* @license Apache-2.0
*
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
'use strict';
// VARIABLES //
var valid;
var test;
// MAIN //
// Create our test cases:
valid = [];
test = {
'code': [
'/**',
'* Squares a number.',
'* ',
'* @param {number} x - input number',
'* @returns {number} x squared',
'*',
'* @example',
'* var y = square( 2.0 );',
'* // returns 4.0',
'*/',
'function square( x ) {',
' return x*x;',
'}'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* Returns a pseudo-random number on `[0,1]`.',
'* ',
'* @returns {number} uniform random number',
'*',
'* @example',
'* var y = rand();',
'* // e.g., returns 0.5363925252089496',
'*/',
'function rand() {',
' return Math.random();',
'}'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* Returns the number of minutes in a month.',
'*',
'* @param {(string|Date|integer)} [month] - month',
'* @param {integer} [year] - year',
'* @throws {TypeError} first argument must be either a string, integer, or `Date` object',
'* @throws {Error} must provide a recognized month',
'* @throws {RangeError} an integer month argument must be on the interval `[1,12]`',
'* @throws {TypeError} second argument must be an integer',
'* @returns {integer} minutes in a month',
'*',
'* @example',
'* var num = minutesInMonth();',
'* // returns <number>',
'*',
'* @example',
'* var num = minutesInMonth( 2 );',
'* // returns <number>',
'*',
'* @example',
'* var num = minutesInMonth( 2, 2016 );',
'* // returns 41760',
'*',
'* @example',
'* var num = minutesInMonth( 2, 2017 );',
'* // returns 40320',
'*/',
'function minutesInMonth( month, year ) {',
' var mins;',
' var mon;',
' var yr;',
' var d;',
' if ( arguments.length === 0 ) {',
' // Note: cannot cache as application may cross over into a new year:',
' d = new Date();',
' mon = d.getMonth() + 1; // zero-based',
' yr = d.getFullYear();',
' } else if ( arguments.length === 1 ) {',
' if ( isDateObject( month ) ) {',
' d = month;',
' mon = d.getMonth() + 1; // zero-based',
' yr = d.getFullYear();',
' } else if ( isString( month ) || isInteger( month ) ) {',
' // Note: cannot cache as application may cross over into a new year:',
' yr = ( new Date() ).getFullYear();',
' mon = month;',
' } else {',
' throw new TypeError( \'invalid argument. First argument must be either a string, integer, or `Date` object. Value: `\'+month+\'`.\' );',
' }',
' } else {',
' if ( !isString( month ) && !isInteger( month ) ) {',
' throw new TypeError( \'invalid argument. First argument must be either a string or integer. Value: `\'+month+\'`.\' );',
' }',
' if ( !isInteger( year ) ) {',
' throw new TypeError( \'invalid argument. Second argument must be an integer. Value: `\'+year+\'`.\' );',
' }',
' mon = month;',
' yr = year;',
' }',
' if ( isInteger( mon ) && (mon < 1 || mon > 12) ) {',
' throw new RangeError( \'invalid argument. An integer month value must be on the interval `[1,12]`. Value: `\'+mon+\'`.\' );',
' }',
' mon = lowercase( mon.toString() );',
' mins = MINUTES_IN_MONTH[ mon ];',
' if ( mins === void 0 ) {',
' throw new Error( \'invalid argument. Must provide a recognized month. Value: `\'+mon+\'`.\' );',
' }',
' // Check if February during a leap year...',
' if ( mins === 40320 && isLeapYear( yr ) ) {',
' mins += MINUTES_IN_DAY;',
' }',
' return mins;',
'}'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* Removes a UTF-8 byte order mark (BOM) from the beginning of a string.',
'*',
'* ## Notes',
'*',
'* - A UTF-8 byte order mark ([BOM][1]) is the byte sequence `0xEF,0xBB,0xBF`.',
'* - To convert a UTF-8 encoded `Buffer` to a `string`, the `Buffer` must be converted to \'[UTF-16][2]. The BOM thus gets converted to the single 16-bit code point `\'\ufeff\'` \'(UTF-16 BOM).',
'*',
'* [1]: path_to_url#UTF-8',
'* [2]: path_to_url#x4.3.16',
'*',
'*',
'* @param {string} str - input string',
'* @throws {TypeError} must provide a string primitive',
'* @returns {string} string with BOM removed',
'*',
'* @example',
'* var str = removeUTF8BOM( \'\ufeffbeep\' );',
'* // returns \'beep\'',
'*/',
'function removeUTF8BOM( str ) {',
' if ( !isString( str ) ) {',
' throw new TypeError( \'invalid argument. Must provide a string. Value: `\' + str + \'`.\' );',
' }',
' if ( str.charCodeAt( 0 ) === BOM ) {',
' return str.slice( 1 );',
' }',
' return str;',
'}'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* @name arcsine',
'* @memberof random',
'* @readonly',
'* @type {Function}',
'* @see {@link module:@stdlib/random/base/arcsine}',
'*/',
'setReadOnly( random, \'arcsine\', require( \'@stdlib/random/base/arcsine\' ) );'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* Beep boop.',
'*',
'* > This is a blockquote.',
'*',
'* ## Heading',
'*',
'* - [ ] item',
'*',
'* Some code...',
'*',
'* ```javascript',
'* var f = foo();',
'* ```',
'*',
'* Some LaTeX...',
'*',
'* ```tex',
'* \\frac{1}{2}',
'* ```',
'*',
'* ## Notes',
'*',
'* - First.',
'* - Second.',
'* - Third.',
'*',
'* ## References',
'*',
'* - Jane Doe. Science. 2017.',
'*',
'* | x | y |',
'* | 1 | 2 |',
'* | 2 | 1 |',
'*',
'*',
'* @param {string} str - input value',
'* @returns {string} output value',
'*',
'* @example',
'* var out = beep( "boop" );',
'* // returns "beepboop"',
'*/',
'function beep( str ) {',
'\treturn "beep" + str;',
'}'
].join( '\n' )
};
valid.push( test );
test = {
'code': [
'/**',
'* Beep boop.',
'*',
'* ## Links',
'*',
'* - <path_to_url
'*',
'* @param {string} str - input value',
'* @returns {string} output value',
'*',
'* @example',
'* var out = beep( "boop" );',
'* // returns "beepboop"',
'*/',
'function beep( str ) {',
' return "beep" + str;',
'}'
].join( '\n' )
};
valid.push( test );
// EXPORTS //
module.exports = valid;
```
|
```python
# mypy: allow-untyped-defs
r"""Utility classes & functions for data loading. Code in this folder is mostly used by ../dataloder.py.
A lot of multiprocessing is used in data loading, which only supports running
functions defined in global environment (py2 can't serialize static methods).
Therefore, for code tidiness we put these functions into different files in this
folder.
"""
import atexit
import sys
# old private location of the ExceptionWrapper that some users rely on:
from torch._utils import ExceptionWrapper
IS_WINDOWS = sys.platform == "win32"
MP_STATUS_CHECK_INTERVAL = 5.0
r"""Interval (in seconds) to check status of processes to avoid hanging in
multiprocessing data loading. This is mainly used in getting data from
another process, in which case we need to periodically check whether the
sender is alive to prevent hanging."""
python_exit_status = False
r"""Whether Python is shutting down. This flag is guaranteed to be set before
the Python core library resources are freed, but Python may already be exiting
for some time when this is set.
Hook to set this flag is `_set_python_exit_flag`, and is inspired by a similar
hook in Python 3.7 multiprocessing library:
path_to_url#L277-L327
"""
try:
import numpy
HAS_NUMPY = True
except ModuleNotFoundError:
HAS_NUMPY = False
def _set_python_exit_flag():
global python_exit_status
python_exit_status = True
atexit.register(_set_python_exit_flag)
from . import collate, fetch, pin_memory, signal_handling, worker
```
|
Fogelsville is a village in Lehigh County, Pennsylvania. It is a suburb of Allentown, in Upper Macungie Township, and is part of the Lehigh Valley, which has a population of 861,899 and was the 68th-most populous metropolitan area in the U.S. as of the 2020 census.
Fogelsville is named after Judge John Fogel, who built the first building in the area, a hotel, in 1798. The village surrounds a number of large industrial parks and corporate centers. The town is known as a large regional trucking hub. Major roads servicing Fogelsville include Interstate 78 and Pennsylvania Route 100. These two roads intersect in a cloverleaf, which is one of the busiest in the western Lehigh Valley.
Fogelsville maintains the ZIP Code 18051. Surrounding areas to the east use the Allentown ZIP Code of 18106 and areas to the south use the Breiningsville ZIP Code of 18031. Downtown Fogelsville is located at approximately 40° 34′ 59.45″ N, 75° 37′ 57.37″ W. The 1990 census reported a population of 900, although a more recent estimate places the population at approximately 3200.
Industry
One of the four Yocco's Hot Dogs restaurants, the Lehigh Valley-based fast food establishment known nationally for their hot dogs and cheesesteaks, is located in Fogelsville, on Pennsylvania Route 100.
Fogelsville was once the terminus of the Catasauqua and Fogelsville Railroad, later extended to Rittenhouse Gap, and the site of extensive iron ore mining to supply the Lehigh Valley's iron furnaces.
References
1798 establishments in Pennsylvania
Populated places established in 1798
Unincorporated communities in Lehigh County, Pennsylvania
Unincorporated communities in Pennsylvania
|
```shell
#!/usr/bin/env bash
echo "smtp/setup: Tests setup for smtp"
CONTAINER_TAG="zgrab_smtp"
CONTAINER_NAME="zgrab_smtp"
# If the container is already running, use it.
if docker ps --filter "name=$CONTAINER_NAME" | grep -q $CONTAINER_NAME; then
echo "smtp/setup: Container $CONTAINER_NAME already running -- nothing to setup"
exit 0
fi
# If it is not running, try launching it -- on success, use that.
echo "smtp/setup: Trying to launch $CONTAINER_NAME..."
if ! docker run --rm --name $CONTAINER_NAME -td $CONTAINER_TAG; then
echo "smtp/setup: Building docker image $CONTAINER_TAG..."
# If it fails, build it from ./container/Dockerfile
docker build -t $CONTAINER_TAG ./container
# Try again
echo "smtp/setup: Launching $CONTAINER_NAME..."
docker run --rm --name $CONTAINER_NAME -td $CONTAINER_TAG
fi
```
|
```html
<html><head><meta http-equiv="X-UA-Compatible" content="IE=edge" /><link rel="shortcut icon" href="../icons/favicon.ico" /><link rel="stylesheet" type="text/css" href="../styles/branding.css" /><link rel="stylesheet" type="text/css" href="../styles/branding-en-US.css" /><script type="text/javascript" src="../scripts/branding.js"> </script><meta http-equiv="Content-Type" content="text/html; charset=UTF-8" /><title>StringExtensions.TrimSingle Method </title><meta name="Language" content="en-us" /><meta name="System.Keywords" content="TrimSingle method" /><meta name="System.Keywords" content="StringExtensions.TrimSingle method" /><meta name="Microsoft.Help.F1" content="CSScriptLib.StringExtensions.TrimSingle" /><meta name="Microsoft.Help.Id" content="M:CSScriptLib.StringExtensions.TrimSingle(System.String,System.Char[])" /><meta name="Description" content="Trims a single character form the head and the end of the string." /><meta name="Microsoft.Help.ContentType" content="Reference" /><meta name="BrandingAware" content="true" /><meta name="container" content="CSScriptLib" /><meta name="file" content="2b1bad97-793d-f324-4407-b6d683c31c70" /><meta name="guid" content="2b1bad97-793d-f324-4407-b6d683c31c70" /><link rel="stylesheet" type="text/css" href="../styles/branding-Website.css" /><script type="text/javascript" src="../scripts/jquery-3.3.1.min.js"></script><script type="text/javascript" src="../scripts/branding-Website.js"></script><script type="text/javascript" src="../scripts/clipboard.min.js"></script></head><body onload="OnLoad('cs')"><input type="hidden" id="userDataCache" class="userDataStyle" /><div class="pageHeader" id="PageHeader">A Sandcastle Documented Class Library<form id="SearchForm" method="get" action="#" onsubmit="javascript:TransferToSearchPage(); return false;"><input id="SearchTextBox" type="text" maxlength="200" /><button id="SearchButton" type="submit"></button></form></div><div class="pageBody"><div class="leftNav" id="leftNav"><div id="tocNav"><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/e862697d-3cd2-4fa7-bdbd-3d17ef405b58.htm" title="A Sandcastle Documented Class Library" tocid="roottoc">A Sandcastle Documented Class Library</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm" title="CSScriptLib" tocid="3bca438b-6a3b-acb6-218a-f07ec3aa462e">CSScriptLib</a></div><div class="toclevel0" data-toclevel="0"><a class="tocCollapsed" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/98f348ea-cd3f-9c28-b493-1565d11f506d.htm" title="StringExtensions Class" tocid="98f348ea-cd3f-9c28-b493-1565d11f506d">StringExtensions Class</a></div><div class="toclevel1" data-toclevel="1" data-childrenloaded="true"><a class="tocExpanded" onclick="javascript: Toggle(this);" href="#!" /><a data-tochassubtree="true" href="../html/238de62d-63ae-b4f3-236c-ee6ec42c5316.htm" title="StringExtensions Methods" tocid="238de62d-63ae-b4f3-236c-ee6ec42c5316">StringExtensions Methods</a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/9ccfef92-111b-7160-243a-062983a05bec.htm" title="IsEmpty Method " tocid="9ccfef92-111b-7160-243a-062983a05bec">IsEmpty Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/c65c8e9f-499d-4fe0-cd1d-247a09d1760b.htm" title="IsNotEmpty Method " tocid="c65c8e9f-499d-4fe0-cd1d-247a09d1760b">IsNotEmpty Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/0fad0344-9eba-f494-5c72-3b6ee89d3aea.htm" title="JoinBy Method " tocid="0fad0344-9eba-f494-5c72-3b6ee89d3aea">JoinBy Method </a></div><div class="toclevel2" data-toclevel="2"><a data-tochassubtree="false" href="../html/f48006c1-07c7-60fb-427a-d125a7d04149.htm" title="SameAs Method " tocid="f48006c1-07c7-60fb-427a-d125a7d04149">SameAs Method </a></div><div class="toclevel2 current" data-toclevel="2"><a data-tochassubtree="false" href="../html/2b1bad97-793d-f324-4407-b6d683c31c70.htm" title="TrimSingle Method " tocid="2b1bad97-793d-f324-4407-b6d683c31c70">TrimSingle Method </a></div></div><div id="tocResizableEW" onmousedown="OnMouseDown(event);"></div><div id="TocResize" class="tocResize"><img id="ResizeImageIncrease" src="../icons/TocOpen.gif" onclick="OnIncreaseToc()" alt="Click or drag to resize" title="Click or drag to resize" /><img id="ResizeImageReset" src="../icons/TocClose.gif" style="display:none" onclick="OnResetToc()" alt="Click or drag to resize" title="Click or drag to resize" /></div></div><div class="topicContent" id="TopicContent"><table class="titleTable"><tr><td class="logoColumn"><img src="../icons/Help.png" /></td><td class="titleColumn"><h1>StringExtensions<span id="LST898A4173_0"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST898A4173_0?cpp=::|nu=.");</script>TrimSingle Method </h1></td></tr></table><span class="introStyle"></span> <div class="summary">
Trims a single character form the head and the end of the string.
</div><p> </p>
<strong>Namespace:</strong>
<a href="3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm">CSScriptLib</a><br />
<strong>Assembly:</strong>
CSScriptLib (in CSScriptLib.dll) Version: 1.3.2.0<div class="collapsibleAreaRegion"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID1RB')" onkeypress="SectionExpandCollapse_CheckKey('ID1RB', event)" tabindex="0"><img id="ID1RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />Syntax</span></div><div id="ID1RBSection" class="collapsibleSection"><div class="codeSnippetContainer"><div class="codeSnippetContainerTabs"><div id="ID0EACA_tab1" class="codeSnippetContainerTabSingle">C#</div></div><div class="codeSnippetContainerCodeContainer"><div class="codeSnippetToolBar"><div class="codeSnippetToolBarText"><a id="ID0EACA_copyCode" href="#" class="copyCodeSnippet" onclick="javascript:CopyToClipboard('ID0EACA');return false;" title="Copy">Copy</a></div></div><div id="ID0EACA_code_Div1" class="codeSnippetContainerCode" style="display: block"><pre xml:space="preserve"><span class="keyword">public</span> <span class="keyword">static</span> <span class="identifier">string</span> <span class="identifier">TrimSingle</span>(
<span class="keyword">this</span> <span class="identifier">string</span> <span class="parameter">text</span>,
<span class="keyword">params</span> <span class="identifier">char</span>[] <span class="parameter">trimChars</span>
)</pre></div></div></div><script type="text/javascript">AddLanguageTabSet("ID0EACA");</script><h4 class="subHeading">Parameters</h4><dl><dt><span class="parameter">text</span></dt><dd>Type:<a href="path_to_url" target="_blank">System<span id="LST898A4173_1"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST898A4173_1?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>String</a><br />The text.</dd><dt><span class="parameter">trimChars</span></dt><dd>Type:<span id="LST898A4173_2"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST898A4173_2?cpp=array<");</script><a href="path_to_url" target="_blank">System<span id="LST898A4173_3"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST898A4173_3?cs=.|vb=.|cpp=::|nu=.|fs=.");</script>Char</a><span id="LST898A4173_4"></span><script type="text/javascript">AddLanguageSpecificTextSet("LST898A4173_4?cpp=>|vb=()|nu=[]");</script><br />The trim chars.</dd></dl><h4 class="subHeading">Return Value</h4>Type:<a href="path_to_url" target="_blank">String</a><br /><p style="color: #dc143c; font-size: 8.5pt; font-weight: bold;">[Missing <returns> documentation for "M:CSScriptLib.StringExtensions.TrimSingle(System.String,System.Char[])"]</p><h4 class="subHeading">Usage Note</h4>In Visual Basic and C#, you can call this method as an instance method on any object of type <a href="path_to_url" target="_blank">String</a>. When you use instance method syntax to call this method, omit the first parameter. For more information, see <a href="path_to_url" target="_blank">Extension Methods (Visual Basic)</a> or <a href="path_to_url" target="_blank">Extension Methods (C# Programming Guide)</a>.</div><div class="collapsibleAreaRegion" id="seeAlsoSection"><span class="collapsibleRegionTitle" onclick="SectionExpandCollapse('ID2RB')" onkeypress="SectionExpandCollapse_CheckKey('ID2RB', event)" tabindex="0"><img id="ID2RBToggle" class="collapseToggle" src="../icons/SectionExpanded.png" />See Also</span></div><div id="ID2RBSection" class="collapsibleSection"><h4 class="subHeading">Reference</h4><div class="seeAlsoStyle"><a href="98f348ea-cd3f-9c28-b493-1565d11f506d.htm">StringExtensions Class</a></div><div class="seeAlsoStyle"><a href="3bca438b-6a3b-acb6-218a-f07ec3aa462e.htm">CSScriptLib Namespace</a></div></div></div></div><div id="pageFooter" class="pageFooter"> </div></body></html>
```
|
Fabio Fognini was the defending champion, but chose not to defend his title.
Guido Pella won his first ATP title, defeating Cristian Garín 7–5, 6–3 in the final.
Seeds
The top four seeds received a bye into the second round.
Draw
Finals
Top half
Bottom half
Qualifying
Seeds
Qualifiers
Qualifying draw
First qualifier
Second qualifier
Third qualifier
Fourth qualifier
References
Main draw
Qualifying draw
Singles
|
The Third Rail is a U.S.-based online magazine concerning itself with rapid transit topics, including history and current events. It is currently published by The Composing Stack Inc. of New York City, a software and internet services company, and the title is a registered trademark of that company.
History
The Third Rail published a single issue as a print magazine dated Summer, 1966 and then published six issues from 1974 to 1976.
In May 1999 The Third Rail was revived as an online magazine. As of April 2007, fifteen online editions have been posted. Publication has been sporadic but all editions are online in 2022. Some of the magazines contain original articles, some contain reprints from the print publication. Rapidtransit.net, which includes The Third Rail was featured in the New York Online column of The New York Times for January 9, 2000.
References
Online magazines published in the United States
Rail transport magazines published in the United States
Defunct magazines published in the United States
Magazines established in 1966
Magazines disestablished in 1976
Online magazines with defunct print editions
Rapid transit
|
Kudoshi is a small village in Ratnagiri district, Maharashtra state in Western India. The 2011 Census of India recorded a total of 886 residents in the village. Kudoshi's geographical area is .
References
Villages in Ratnagiri district
|
Artturi Heikki (A. H.) Virkkunen (18 January 1864 – 17 November 1924; surname until 1906 Snellman) was a Finnish historian, journalist and politician, born in Karunki. He was a member of the Parliament of Finland from 1907 to 1909, from 1910 to 1911 and from 1913 to 1922, representing the Finnish Party until December 1918 and the National Coalition Party after that.
References
1864 births
1924 deaths
People from Tornio
People from Oulu Province (Grand Duchy of Finland)
Finnish Lutherans
Finnish Party politicians
National Coalition Party politicians
Members of the Parliament of Finland (1907–1908)
Members of the Parliament of Finland (1908–1909)
Members of the Parliament of Finland (1910–1911)
Members of the Parliament of Finland (1913–1916)
Members of the Parliament of Finland (1916–1917)
Members of the Parliament of Finland (1917–1919)
Members of the Parliament of Finland (1919–1922)
Finnish historians
University of Helsinki alumni
Academic staff of the University of Turku
Rectors of the University of Turku
People of the Finnish Civil War (White side)
|
```html
<!DOCTYPE html>
<html lang=en>
<head>
<!-- Global site tag (gtag.js) - Google Analytics -->
<link rel=preload as=script href=../js/jquery.min.js>
<link rel=preload as=script href=../js/bootstrap.min.js>
<link rel=preload as=script href=../js/tracks.min.js>
<link rel=preload as=style href=../css/schedule.css>
<link rel=preload as=style href=../css/font-awesome.min.css>
<link rel=preload as=style href=../css/bootstrap.min.css>
<link rel=preload as=font href="path_to_url" crossorigin>
<meta charset=utf-8>
<meta http-equiv=X-UA-Compatible content="IE=edge">
<meta name=viewport content="width=device-width,initial-scale=1">
<!-- The above 3 meta tags *must* come first in the head; any other head content must come *after* these tags -->
<meta name=description content="FOSSASIA Summit 2017 Schedule">
<meta name=author content="">
<title>FOSSASIA Summit 2017</title>
<!-- Bootstrap core CSS -->
<!-- Latest compiled and minified CSS -->
<link rel="shortcut icon" href="" type=image/x-icon>
<link href="path_to_url" rel=stylesheet>
<link rel=stylesheet href=../css/font-awesome.min.css>
<link rel=stylesheet href=../css/bootstrap.min.css>
<link rel=stylesheet href=../css/schedule.css>
<!-- HTML5 shim and Respond.js for IE8 support of HTML5 elements and media queries -->
<!--[if lt IE 9]>
<script src="path_to_url"></script>
<script src="path_to_url"></script>
<![endif]-->
</head>
<body>
<a href=#track-list class=skip>Skip to content</a>
<a class=scroll href=# id=down-button data-scroll-direction=0>
<i class="fa fa-chevron-up" aria-hidden=true></i>
</a>
<a id=top></a>
<!-- Fixed navbar -->
<header role=banner class="navbar-fixed-top navbar-default js-navbar">
<div class=container>
<div class="navbar-header navbar-left pull-left">
<a class=navbar-brand style=padding:px href=../ >
<img alt="../FOSSASIA Summit 2017" class="logo logo-dark" src=../images/de0938ef-4786-44f8-9794-08200f9ccc37.png>
</a>
</div>
<div class="navbar-header navbar-right pull-right">
<span class="pull-right dropdown">
<button class=navbar-toggle type=button data-toggle=dropdown><i class="fa fa-lg fa-paper-plane" aria-hidden=true></i> <span class=caret></span> </button>
<ul class="dropdown-menu list-menu">
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-twitter" aria-hidden=true title=twitter></i></a></li>
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-facebook" aria-hidden=true title=facebook></i></a></li>
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-youtube-play" aria-hidden=true title=youtube-play></i></a></li>
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-flickr" aria-hidden=true title=flickr></i></a></li>
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-github" aria-hidden=true title=github></i></a></li>
<li><a href=path_to_url id=social-icons><i class="fa fa-lg fa-linkedin" aria-hidden=true title=linkedin></i></a></li>
</ul>
</span>
<button class="navbar-toggle pull-right">
<a id=speakerslink href=../speakers.html>Speakers</a>
</button>
<span class="pull-right dropdown">
<button class=navbar-toggle type=button data-toggle=dropdown>Schedule <span class=caret></span> </button>
<ul class="dropdown-menu list-menu">
<li><a id=schedulelink href=../schedule.html><i class="fa fa-lg fa-calendar" aria-hidden=true></i> Schedule</a></li>
<li><a id=trackslink href=../tracks.html><i class="fa fa-lg fa-map-signs" aria-hidden=true></i> Tracks</a></li>
<li><a id=roomslink href=../rooms.html><i class="fa fa-lg fa-building" aria-hidden=true></i> Rooms</a></li>
</ul>
</span>
<a id=homelink href=../index.html><button class="navbar-toggle pull-right homelink"><i class="fa fa-lg fa-home" aria-hidden=true></i></button></a>
</div>
<div class="hidden-lg hidden-md hidden-sm clearfix"></div>
<div class="side-collapse in">
<nav role=navigation class=navbar-collapse>
<div class=search-container>
<input id=search-box type=text class="search-box fossasia-filter">
<label for=search-box><span class=search-icon><i class="fa fa-search" aria-hidden=true></i></span></label>
</div>
<ul class="nav navbar-nav navbar-right">
<li class=navlink><a id=homelink href=../index.html>Home</a></li>
<li class=navlink><a id=schedulelink href=../schedule.html>Schedule</a></li>
<li class=navlink><a id=trackslink href=../tracks.html>Tracks</a></li>
<li class=navlink><a id=roomslink href=../rooms.html>Rooms</a></li>
<li class=navlink><a id=speakerslink href=../speakers.html>Speakers</a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-twitter" aria-hidden=true title=twitter></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-facebook" aria-hidden=true title=facebook></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-youtube-play" aria-hidden=true title=youtube-play></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-flickr" aria-hidden=true title=flickr></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-github" aria-hidden=true title=github></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-linkedin" aria-hidden=true title=linkedin></i></a></li>
</ul>
</nav>
</div>
</div>
</header>
<div class="container session-container">
<div class="row single-session" id=3044>
<a href=javascript:history.back() id=backButton>
<i class="fa fa-3x fa-chevron-left" aria-hidden=true></i>
</a>
<h3> Sunday, 19th Mar </h3>
<div class=eventtime><span class=time-track>14:29 - 14:47</span></div>
<div class=session-content>
<div class="sizeevent event event-title" id=title-3044 style=background-color:#a86767;color:#fff;margin-right:0;cursor:unset>
Gandi.net - Exhibition (Exhibition) | Exhibition
<a class="bookmark features">
<i class="fa fa-star" aria-hidden=true>
</i>
</a>
</div>
<div>
<div>
<hr class=clear-both>
</div>
<div id=desc-3044 class=session-speakers-list aria-expanded=false aria-controls=desc-3044>
<a href=../speakers.html#thomas-kuiper2358>
<div class=session-speakers-less>
<p class=session-speakers>
<img onerror='this.onerror=null,this.src="../images/avatar.png"' src=../images/speakers/thumbnails/5d9deb18-5774-459c-a120-412b7118e7aa.jpg class="lazy card-img-top speaker-image-large">
</p>
<span class=desc-speaker-name>Thomas Kuiper</span>
</div>
</a>
<p class=session-speakers-more>General Manager Gandi.net</p>
<div class="blacktext session-speaker-social margin-down-10">
<div class=session-speakers-more>
<a class="blacktext social speaker-social" href=path_to_url class="fa fa-linkedin"></i> LinkedIn</a>
</div>
</div>
<div class="blacktext session-speaker-social">
<div class=session-speakers-more>
<a class="session-lin social speaker-social clickable-link">
<i class="fa fa-share"></i> Share
</a>
<div class="social-buttons row">
<div class="fb-share facebook social-button">
<i class="fa fa-facebook fa s-button" aria-hidden=true></i>
</div>
<div class="tw-share twitter social-button">
<i class="fa fa-twitter fa s-button" aria-hidden=true></i>
</div>
<div class="go-share google social-button">
<i class="fa fa-google-plus fa s-button" aria-hidden=true></i>
</div>
<div class="li-share linkedin social-button">
<i class="fa fa-linkedin fa s-button" aria-hidden=true></i>
</div>
<div class="row social-link">
<input class=speakers-inputbox type=text onclick=this.select() value=base#3044 readonly=readonly>
</div>
</div>
</div>
</div>
<hr class=clear-both>
<div class=blacktext>
<p> <a href=../rooms.html#2017-03-19-Exhibition_(Hall_A,_Ground_Floor)>Exhibition (Hall A, Ground Floor)</a></p>
<p>Sunday, 19th Mar, <span>14:29 - 14:47</span></p>
<p>
</p><ul class=session-ul>
<li style=background-color:#a86767;color:#fff class=titlecolor></li>
<li><a href=../tracks.html#2017-03-19-Exhibition> Exhibition </a> </li>
</ul>
<p></p><br>
</div>
</div>
</div>
</div>
</div>
</div>
<input id=gcalendar-id type=hidden value="">
<input id=gcalendar-key type=hidden value="">
<div class=footer-container>
<footer class=classic>
<div class=container>
<div class="row ui-sortable">
<div id=menuItem class="col-sm-2 col-md-2 col-xs-12">
<ul class=menu>
<li><a target=_self href=../index.html#description>About</a></li>
<li><a target=_self href=../index.html#ticket-button>Tickets</a></li>
<li><a target=_self href=../schedule.html>Schedule</a></li>
<li><a target=_self href=../tracks.html>Tracks</a></li>
<li><a target=_self href=../rooms.html>Rooms</a></li>
<li><a target=_self href=../speakers.html>Speakers</a></li>
<li><a class="inner-link back-to-top" href=#top>Back To Top</a></li>
</ul>
</div>
<div id=copyright class="col-sm-7 col-md-7 col-xs-12">
<p>
<a href=""><img src=path_to_url
© 2017
FOSSASIA and Science Centre Singapore.
The website and its contents are licensed under
<a href=""> Attribution. </a>
The site was generated using the Open Event format on the <a href=path_to_url >eventyay</a> <a href=path_to_url >site generator</a>. Please submit issues <a href=path_to_url
</p>
</div>
<div class="contact-details col-sm-3 col-md-3 col-xs-12">
<ul class=contact-methods>
<li class=address>
<i class="fa fa-map-marker"></i>
<div>, Science Centre Singapore, 15 Science Centre Road Singapore 609081 </div>
</li>
</ul>
</div>
</div>
<div class="row ui-sortable">
<div class="col-sm-12 text-center">
<ul class=social-profiles>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-twitter" aria-hidden=true title=twitter></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-facebook" aria-hidden=true title=facebook></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-youtube-play" aria-hidden=true title=youtube-play></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-flickr" aria-hidden=true title=flickr></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-github" aria-hidden=true title=github></i></a></li>
<li class="pull-left social-icons"><a href=path_to_url id=social-icons><i class="fa fa-lg fa-linkedin" aria-hidden=true title=linkedin></i></a></li>
</ul>
</div>
</div>
</div>
</footer>
</div>
<script src=../js/jquery.min.js></script>
<script src=../js/bootstrap.min.js></script>
<script src=../js/session.min.js></script>
<script src=../js/tracks.min.js></script>
<script src=../js/sweetalert.min.js></script>
<script src=../js/main.min.js></script>
<script>
var eventInfo = {};
eventInfo.name = "../FOSSASIA Summit 2017";
eventInfo.name = eventInfo.name.substring(eventInfo.name.lastIndexOf('/') + 1);
let videoURL = "";
let id = "3044";
$('#add-to-calendar').click(function() {
main.handleAuthClick('Gandi.net - Exhibition ','Exhibition (Hall A, Ground Floor)','2017-03-19T14:29:00+00:00','2017-03-19T14:47:00+00:00','Asia/Singapore','');
});
if($('#video-' + id).length === 0) {
if (videoURL !== null && videoURL !== '') {
if (videoURL.indexOf('v=') !== -1) {
videoURL = videoURL.split('v=')[1].replace(/[&#].*/, '');
$('#desc-' + id).prepend('<iframe id = "video-' + id + '" class = "video-iframe col-xs-12 col-sm-12 col-md-12" src="path_to_url + videoURL + '" frameborder="0" allowfullscreen></iframe>');
}
else if (videoURL.indexOf('path_to_url !== -1) {
videoURL = videoURL.split('path_to_url
console.log(videoURL);
$('#desc-' + id).prepend('<iframe id = "video-' + id + '" class = "video-iframe col-xs-12 col-sm-12 col-md-12" src="path_to_url + videoURL + '" frameborder="0" allowfullscreen></iframe>');
}
}
}
</script>
</body>
</html>
```
|
```kotlin
import org.jetbrains.kotlin.gradle.tasks.KotlinCompile
plugins {
kotlin("jvm") version "1.9.0"
application
}
group = "me.scmacdon"
version = "1.0-SNAPSHOT"
java {
sourceCompatibility = JavaVersion.VERSION_17
targetCompatibility = JavaVersion.VERSION_17
}
buildscript {
repositories {
maven("path_to_url")
}
dependencies {
classpath("org.jlleitschuh.gradle:ktlint-gradle:11.5.1")
}
}
repositories {
mavenCentral()
}
apply(plugin = "org.jlleitschuh.gradle.ktlint")
val kotlinSdkVersion = "1.0.41"
val smithyKotlinVersion = "1.0.10"
dependencies {
implementation("aws.sdk.kotlin:s3:$kotlinSdkVersion")
implementation("aws.sdk.kotlin:s3control:$kotlinSdkVersion")
implementation("aws.sdk.kotlin:sts:$kotlinSdkVersion")
implementation("aws.sdk.kotlin:secretsmanager:$kotlinSdkVersion")
implementation("aws.smithy.kotlin:http-client-engine-okhttp:$smithyKotlinVersion")
implementation("aws.smithy.kotlin:http-client-engine-crt:$smithyKotlinVersion")
implementation("aws.smithy.kotlin:aws-signing-crt:$smithyKotlinVersion")
implementation("aws.smithy.kotlin:http-auth-aws:$smithyKotlinVersion")
implementation("com.squareup.okhttp3:okhttp:4.12.0")
implementation("org.apache.logging.log4j:log4j-slf4j2-impl:2.20.0")
implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.7.1")
implementation("com.google.code.gson:gson:2.10")
implementation("com.fasterxml.jackson.core:jackson-databind:2.14.2")
testImplementation(kotlin("test"))
testImplementation("org.jetbrains.kotlinx:kotlinx-coroutines-test:1.7.1")
testImplementation("org.junit.jupiter:junit-jupiter:5.9.2")
}
tasks.withType<KotlinCompile> {
kotlinOptions.jvmTarget = "17"
kotlinOptions.freeCompilerArgs += "-Xlint:-deprecation"
}
tasks.test {
useJUnitPlatform()
testLogging {
events("passed", "skipped", "failed")
}
// Define the test source set
testClassesDirs += files("build/classes/kotlin/test")
classpath += files("build/classes/kotlin/main", "build/resources/main")
}
```
|
Lunxhëri is a mountain located in the municipality of Gjirokastër, in southern Albania. It forms part of the Shëndelli-Lunxhëri-Bureto mountain range, extending approximately from Gryka e Këlcyrës to Gryka e Selckës, in a general northwest-southeast orientation. The highest point, Maja e Spilesë (Lalucit), reaches a height of .
Geology
The mountain is composed primarily of limestone with some flysch, creating an anticlinal structure shaped by tectonic forces. The ridge dividing the watershed is flat but exhibits karst phenomena. The western slope, which descends towards the Drino valley, is gentler and wider, featuring numerous karst springs, particularly near tectonic fractures. Several streams with significant erosive power flow down this slope, including the Nivica river as well as the streams of Dhoksat, Qestorat, Tranoshishtë and Karai. The eastern slope is steeper, with less surface water flow and evidence of Quaternary glacial activity.
Biodiversity
Forests are scarce, with maple, ash, sturgeon, hornbeam, and spruce being the primary tree species. The area also encompasses summer pastures and medicinal plants.
Along the western slope, numerous settlements can be found, inhabiting heights of up to .
See also
List of mountains in Albania
References
Mountains of Albania
Two-thousanders of Albania
|
Stalled Out in the Doorway is the debut album of Canadian singer-songwriter Tomi Swick, released August 15, 2006.
The album was nominated for Pop Album of the Year at the 2007 Juno Awards.
Track listing
"Come in 2s"
"Wait Until Morning"
"Everything Is Alright"
"Still in the Light"
"I Trust In (Family)"
"Sorry Again"
"Habits"
"A Night Like This"
"Listen Isa"
"Easy Company"
"I'll See You Again"
"Stalled Out in the Doorway"
References
2006 albums
Tomi Swick albums
|
The Rizhao–Lankao high-speed railway is a high-speed railway in Shandong and Henan, China.
History
The initial section, from to , opened on 26 November 2019, connecting Rizhao on the Yellow Sea coast with Qufu, home of Confucius and a major tourist destination. The section from to opened on 26 December 2021. The section from to is currently under construction.
Description
The total length of the route from Rizhao to Lankao will be .
The railway has a design speed of . The railway starts from on the Qingdao–Yancheng railway, part of the Coastal corridor, a high-speed rail corridor running along the eastern coast of China. The railway heads inland to Qufu East on the Beijing–Shanghai high-speed railway thereby providing high-speed connections to a wide variety of destinations.
Services
In November 2019, there were around ten trains per day in each direction along the line, the fastest time between the terminals is now 1 hour 14 minutes (trains G5589 and G5570) the slowest direct train on the line takes 1 hour and 53 minutes and stops at every station (train G5578). There are other trains that go the long way around between the stations, for example train G5528 goes from Linyi North to Rizhao West via Qufu, Jinan, Weifang and Qingdao taking 4 hours 35 minutes.
Whilst quite a few of the direct trains travel just between Rizhao and Qufu, there are numerous other direct trains which include this section of line, destinations available by direct trains include Qingdao, Zibo, Weihai, Yantai, Jinan and Tai'an.
Stations
(via branch)
References
Railway lines opened in 2019
High-speed railway lines in China
Rail transport in Shandong
|
Ville Meskanen (born October 2, 1995) is a Finnish professional ice hockey player for SaiPa of the Finnish Liiga.
Playing career
Undrafted, Meskanen played as a junior within Ilves organization. After a successful Jr. A season Meskanen was signed to a one-year Liiga contract with Ilves on April 15, 2014.
Meskanen made his professional and Liiga debut playing with Ilves during the 2014–15 Liiga season. He played in a fourth line role against the Lahti Pelicans on October 8, 2014. He finished the campaign scoring 3 goals in 10 games while with the senior team.
In the 2017–18 season, Meskanen broke out offensively with Ilves, leading the club in scoring with 24 goals and 44 points in 48 games. He was signed to a two-year contract extension during the campaign on November 15, 2017.
On May 3, 2018, Meskanen, used an NHL-out clause in his contract with Ilves, in agreeing to terms with the New York Rangers of the National Hockey League (NHL).
After a successful first season in North America, posting 34 points in 70 games with the Rangers AHL affiliate, the Hartford Wolf Pack of the American Hockey League (AHL), Meskanen returned for his second season within the Rangers organization in the 2019–20 season.
Unable to replicate his offensive totals with the Wolf Pack, posting just four assists through 20 games, Meskanen opted to mutually terminate his contract with the New York Rangers on December 12, 2019. He returned to Finland to play with his original club, Ilves of the Liiga, agreeing to an optional three-year contract on December 13.
Career statistics
References
External links
1995 births
Living people
Finnish ice hockey right wingers
Hartford Wolf Pack players
Ilves players
KooKoo players
Lempäälän Kisa players
SaiPa players
Ice hockey people from Tampere
|
```javascript
// For Keystone Engine. AUTO-GENERATED FILE, DO NOT EDIT [hexagon_const.js]
module.exports.ERR_ASM_HEXAGON_INVALIDOPERAND = 512
module.exports.ERR_ASM_HEXAGON_MISSINGFEATURE = 513
module.exports.ERR_ASM_HEXAGON_MNEMONICFAIL = 514
```
|
```xml
import {Link, useUrl, useCart} from '@shopify/hydrogen';
import {useWindowScroll} from 'react-use';
import {
Heading,
IconAccount,
IconBag,
IconMenu,
IconSearch,
Input,
} from '~/components';
import {CartDrawer} from './CartDrawer.client';
import {MenuDrawer} from './MenuDrawer.client';
import {useDrawer} from './Drawer.client';
import type {EnhancedMenu} from '~/lib/utils';
/**
* A client component that specifies the content of the header on the website
*/
export function Header({title, menu}: {title: string; menu?: EnhancedMenu}) {
const {pathname} = useUrl();
const localeMatch = /^\/([a-z]{2})(\/|$)/i.exec(pathname);
const countryCode = localeMatch ? localeMatch[1] : undefined;
const isHome = pathname === `/${countryCode ? countryCode + '/' : ''}`;
const {
isOpen: isCartOpen,
openDrawer: openCart,
closeDrawer: closeCart,
} = useDrawer();
const {
isOpen: isMenuOpen,
openDrawer: openMenu,
closeDrawer: closeMenu,
} = useDrawer();
return (
<>
<CartDrawer isOpen={isCartOpen} onClose={closeCart} />
<MenuDrawer isOpen={isMenuOpen} onClose={closeMenu} menu={menu!} />
<DesktopHeader
countryCode={countryCode}
isHome={isHome}
title={title}
menu={menu}
openCart={openCart}
/>
<MobileHeader
countryCode={countryCode}
isHome={isHome}
title={title}
openCart={openCart}
openMenu={openMenu}
/>
</>
);
}
function MobileHeader({
countryCode,
title,
isHome,
openCart,
openMenu,
}: {
countryCode?: string | null;
title: string;
isHome: boolean;
openCart: () => void;
openMenu: () => void;
}) {
const {y} = useWindowScroll();
const styles = {
button: 'relative flex items-center justify-center w-8 h-8',
container: `${
isHome
? 'bg-primary/80 dark:bg-contrast/60 text-contrast dark:text-primary shadow-darkHeader'
: 'bg-contrast/80 text-primary'
} ${
y > 50 && !isHome ? 'shadow-lightHeader ' : ''
}flex lg:hidden items-center h-nav sticky backdrop-blur-lg z-40 top-0 justify-between w-full leading-none gap-4 px-4 md:px-8`,
};
return (
<header role="banner" className={styles.container}>
<div className="flex items-center justify-start w-full gap-4">
<button onClick={openMenu} className={styles.button}>
<IconMenu />
</button>
<form
action={`/${countryCode ? countryCode + '/' : ''}search`}
className="items-center gap-2 sm:flex"
>
<button type="submit" className={styles.button}>
<IconSearch />
</button>
<Input
className={
isHome
? 'focus:border-contrast/20 dark:focus:border-primary/20'
: 'focus:border-primary/20'
}
type="search"
variant="minisearch"
placeholder="Search"
name="q"
/>
</form>
</div>
<Link
className="flex items-center self-stretch leading-[3rem] md:leading-[4rem] justify-center flex-grow w-full h-full"
to="/"
>
<Heading className="font-bold text-center" as={isHome ? 'h1' : 'h2'}>
{title}
</Heading>
</Link>
<div className="flex items-center justify-end w-full gap-4">
<Link to={'/account'} className={styles.button}>
<IconAccount />
</Link>
<button onClick={openCart} className={styles.button}>
<IconBag />
<CartBadge dark={isHome} />
</button>
</div>
</header>
);
}
function DesktopHeader({
countryCode,
isHome,
menu,
openCart,
title,
}: {
countryCode?: string | null;
isHome: boolean;
openCart: () => void;
menu?: EnhancedMenu;
title: string;
}) {
const {y} = useWindowScroll();
const styles = {
button:
'relative flex items-center justify-center w-8 h-8 focus:ring-primary/5',
container: `${
isHome
? 'bg-primary/80 dark:bg-contrast/60 text-contrast dark:text-primary shadow-darkHeader'
: 'bg-contrast/80 text-primary'
} ${
y > 50 && !isHome ? 'shadow-lightHeader ' : ''
}hidden h-nav lg:flex items-center sticky transition duration-300 backdrop-blur-lg z-40 top-0 justify-between w-full leading-none gap-8 px-12 py-8`,
};
return (
<header role="banner" className={styles.container}>
<div className="flex gap-12">
<Link className={`font-bold`} to="/">
{title}
</Link>
<nav className="flex gap-8">
{/* Top level menu items */}
{(menu?.items || []).map((item) => (
<Link key={item.id} to={item.to} target={item.target}>
{item.title}
</Link>
))}
</nav>
</div>
<div className="flex items-center gap-1">
<form
action={`/${countryCode ? countryCode + '/' : ''}search`}
className="flex items-center gap-2"
>
<Input
className={
isHome
? 'focus:border-contrast/20 dark:focus:border-primary/20'
: 'focus:border-primary/20'
}
type="search"
variant="minisearch"
placeholder="Search"
name="q"
/>
<button type="submit" className={styles.button}>
<IconSearch />
</button>
</form>
<Link to={'/account'} className={styles.button}>
<IconAccount />
</Link>
<button onClick={openCart} className={styles.button}>
<IconBag />
<CartBadge dark={isHome} />
</button>
</div>
</header>
);
}
function CartBadge({dark}: {dark: boolean}) {
const {totalQuantity} = useCart();
if (totalQuantity < 1) {
return null;
}
return (
<div
className={`${
dark
? 'text-primary bg-contrast dark:text-contrast dark:bg-primary'
: 'text-contrast bg-primary'
} absolute bottom-1 right-1 text-[0.625rem] font-medium subpixel-antialiased h-3 min-w-[0.75rem] flex items-center justify-center leading-none text-center rounded-full w-auto px-[0.125rem] pb-px`}
>
<span>{totalQuantity}</span>
</div>
);
}
```
|
```smalltalk
namespace Asp.Versioning;
using System.Web.Http;
/// <content>
/// Provides the implementation for ASP.NET Web API.
/// </content>
public partial class UrlSegmentApiVersionReader
{
/// <inheritdoc />
public virtual IReadOnlyList<string> Read( HttpRequestMessage request )
{
ArgumentNullException.ThrowIfNull(request);
if ( reentrant )
{
return Array.Empty<string>();
}
reentrant = true;
var versions = request.ApiVersionProperties().RawRequestedApiVersions;
reentrant = false;
return versions;
}
}
```
|
```javascript
import ArgsObject from 'elementor-assets-js/modules/imports/args-object';
import Deprecation from 'elementor-api/utils/deprecation';
/**
* @typedef {import('../modules/component-base')} ComponentBase
*/
export default class CommandInfra extends ArgsObject {
/**
* @type {Object}
*/
static registerConfig = null;
static getInstanceType() {
return 'CommandInfra';
}
/**
* Get info of command.
*
* @return {Object} Extra information about the command.
*/
static getInfo() {
return {};
}
/**
* @return {string} Self command name.
*/
static getCommand() {
return this.registerConfig.command;
}
/**
* @return {ComponentBase} Self component
*/
static getComponent() {
return this.registerConfig.component;
}
static setRegisterConfig( config ) {
this.registerConfig = Object.freeze( config );
}
/**
* @deprecated since 3.7.0, use `this.command` instead.
*/
get currentCommand() {
Deprecation.deprecated( 'this.currentCommand', '3.7.0', 'this.command' );
return this.command;
}
/**
* Function constructor().
*
* Create Commands Base.
*
* @param {{}} args
*/
constructor( args = {} ) {
super( args );
if ( ! this.constructor.registerConfig ) {
throw RangeError( 'Doing it wrong: Each command type should have `registerConfig`.' );
}
// Acknowledge self about which command it run.
this.command = this.constructor.getCommand();
// Assign instance of current component.
this.component = this.constructor.getComponent();
// Who ever need do something before without `super` the constructor can use `initialize` method.
this.initialize( args );
// Refresh args, maybe the changed via `initialize`.
args = this.args;
// Validate args before run.
this.validateArgs( args );
}
/**
* Function initialize().
*
* Initialize command, called after construction.
*
* @param {{}} args
*/
initialize( args = {} ) {} // eslint-disable-line no-unused-vars
/**
* Function validateArgs().
*
* Validate command arguments.
*
* @param {{}} args
*/
validateArgs( args = {} ) {} // eslint-disable-line no-unused-vars
// eslint-disable-next-line jsdoc/require-returns-check
/**
* Function apply().
*
* Do the actual command.
*
* @param {{}} args
*
* @return {*} Command results.
*/
apply( args = {} ) { // eslint-disable-line no-unused-vars
elementorModules.ForceMethodImplementation();
}
/**
* Function run().
*
* Run command with history & hooks.
*
* @return {*} Command results.
*/
run() {
return this.apply( this.args );
}
/**
* Function onBeforeRun.
*
* Called before run().
*
* @param {{}} args
*/
onBeforeRun( args = {} ) {} // eslint-disable-line no-unused-vars
/**
* Function onAfterRun.
*
* Called after run().
*
* @param {{}} args
* @param {*} result
*/
onAfterRun( args = {}, result ) {} // eslint-disable-line no-unused-vars
/**
* Function onBeforeApply.
*
* Called before apply().
*
* @param {{}} args
*/
onBeforeApply( args = {} ) {} // eslint-disable-line no-unused-vars
/**
* Function onAfterApply.
*
* Called after apply().
*
* @param {{}} args
* @param {*} result
*/
onAfterApply( args = {}, result ) {} // eslint-disable-line no-unused-vars
/**
* Function onCatchApply.
*
* Called after apply() failed.
*
* @param {Error} e
*/
onCatchApply( e ) {} // eslint-disable-line no-unused-vars
}
```
|
```yaml
sample:
name: Blink LED (PWM based)
tests:
sample.basic.blink_led:
filter: dt_alias_exists("pwm-led0") and dt_compat_enabled("pwm-leds")
tags:
- drivers
- pwm
depends_on: pwm
harness: console
harness_config:
type: multi_line
ordered: true
regex:
- "PWM-based blinky"
- "Calibrating for channel [0-9]+"
- "Done calibrating; maximum/minimum periods [0-9]+/[0-9]+ nsec"
- "Using period [0-9]+"
- "Using period [0-9]+"
```
|
```css
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
article, aside, details, figcaption, figure, footer, header, hgroup, nav, section {
display: block
}
audio, canvas, video {
display: inline-block;
*display: inline;
*zoom: 1
}
audio:not([controls]) {
display: none
}
[hidden] {
display: none
}
* {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
html {
font-size: 100%;
-webkit-text-size-adjust: 100%;
-ms-text-size-adjust: 100%
}
body {
margin: 0
}
a:hover, a:active {
outline: 0
}
abbr[title] {
border-bottom: 1px dotted
}
b, strong {
font-weight: bold
}
blockquote {
margin: 0
}
dfn {
font-style: italic
}
ins {
background: #ff9;
color: #000;
text-decoration: none
}
mark {
background: #ff0;
color: #000;
font-style: italic;
font-weight: bold
}
pre, code, .rst-content tt, .rst-content code, kbd, samp {
font-family: monospace, serif;
_font-family: "courier new", monospace;
font-size: 1em
}
pre {
white-space: pre
}
q {
quotes: none
}
q:before, q:after {
content: "";
content: none
}
small {
font-size: 85%
}
sub, sup {
font-size: 75%;
line-height: 0;
position: relative;
vertical-align: baseline
}
sup {
top: -0.5em
}
sub {
bottom: -0.25em
}
ul, ol, dl {
margin: 0;
padding: 0;
list-style: none;
list-style-image: none
}
li {
list-style: none
}
dd {
margin: 0
}
img {
border: 0;
-ms-interpolation-mode: bicubic;
vertical-align: middle;
max-width: 100%
}
svg:not(:root) {
overflow: hidden
}
figure {
margin: 0
}
form {
margin: 0
}
fieldset {
border: 0;
margin: 0;
padding: 0
}
label {
cursor: pointer
}
legend {
border: 0;
*margin-left: -7px;
padding: 0;
white-space: normal
}
button, input, select, textarea {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle
}
button, input {
line-height: normal
}
button, input[type="button"], input[type="reset"], input[type="submit"] {
cursor: pointer;
-webkit-appearance: button;
*overflow: visible
}
button[disabled], input[disabled] {
cursor: default
}
input[type="checkbox"], input[type="radio"] {
box-sizing: border-box;
padding: 0;
*width: 13px;
*height: 13px
}
input[type="search"] {
-webkit-appearance: textfield;
-moz-box-sizing: content-box;
-webkit-box-sizing: content-box;
box-sizing: content-box
}
input[type="search"]::-webkit-search-decoration, input[type="search"]::-webkit-search-cancel-button {
-webkit-appearance: none
}
button::-moz-focus-inner, input::-moz-focus-inner {
border: 0;
padding: 0
}
textarea {
overflow: auto;
vertical-align: top;
resize: vertical
}
table {
border-collapse: collapse;
border-spacing: 0
}
td {
vertical-align: top
}
.chromeframe {
margin: 0.2em 0;
background: #ccc;
color: #000;
padding: 0.2em 0
}
.ir {
display: block;
border: 0;
text-indent: -999em;
overflow: hidden;
background-color: transparent;
background-repeat: no-repeat;
text-align: left;
direction: ltr;
*line-height: 0
}
.ir br {
display: none
}
.hidden {
display: none !important;
visibility: hidden
}
.visuallyhidden {
border: 0;
clip: rect(0 0 0 0);
height: 1px;
margin: -1px;
overflow: hidden;
padding: 0;
position: absolute;
width: 1px
}
.visuallyhidden.focusable:active, .visuallyhidden.focusable:focus {
clip: auto;
height: auto;
margin: 0;
overflow: visible;
position: static;
width: auto
}
.invisible {
visibility: hidden
}
.relative {
position: relative
}
big, small {
font-size: 100%
}
@media print {
html, body, section {
background: none !important
}
* {
box-shadow: none !important;
text-shadow: none !important;
filter: none !important;
-ms-filter: none !important
}
a, a:visited {
text-decoration: underline
}
.ir a:after, a[href^="javascript:"]:after, a[href^="#"]:after {
content: ""
}
pre, blockquote {
page-break-inside: avoid
}
thead {
display: table-header-group
}
tr, img {
page-break-inside: avoid
}
img {
max-width: 100% !important
}
@page {
margin: 0.5cm
}
p, h2, .rst-content .toctree-wrapper p.caption, h3 {
orphans: 3;
widows: 3
}
h2, .rst-content .toctree-wrapper p.caption, h3 {
page-break-after: avoid
}
}
.fa:before, .wy-menu-vertical li span.toctree-expand:before, .wy-menu-vertical li.on a span.toctree-expand:before, .wy-menu-vertical li.current > a span.toctree-expand:before, .rst-content .admonition-title:before, .rst-content h1 .headerlink:before, .rst-content h2 .headerlink:before, .rst-content h3 .headerlink:before, .rst-content h4 .headerlink:before, .rst-content h5 .headerlink:before, .rst-content h6 .headerlink:before, .rst-content dl dt .headerlink:before, .rst-content p.caption .headerlink:before, .rst-content tt.download span:first-child:before, .rst-content code.download span:first-child:before, .icon:before, .wy-dropdown .caret:before, .wy-inline-validate.wy-inline-validate-success .wy-input-context:before, .wy-inline-validate.wy-inline-validate-danger .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .wy-alert, .rst-content .note, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .warning, .rst-content .seealso, .rst-content .admonition-todo, .btn, input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"], select, textarea, .wy-menu-vertical li.on a, .wy-menu-vertical li.current > a, .wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a, .wy-nav-top a {
-webkit-font-smoothing: antialiased
}
.clearfix {
*zoom: 1
}
.clearfix:before, .clearfix:after {
display: table;
content: ""
}
.clearfix:after {
clear: both
}
/*!
* Font Awesome 4.6.3 by @davegandy - path_to_url - @fontawesome
*/
@font-face {
font-family: 'FontAwesome';
src: url("../fontawesome-webfont.eot?v=4.6.3");
src: url("../fontawesome-webfont.eot?#iefix&v=4.6.3") format("embedded-opentype"), url("../fontawesome-webfont.woff2?v=4.6.3") format("woff2"), url("../fontawesome-webfont.woff?v=4.6.3") format("woff"), url("../fontawesome-webfont.ttf?v=4.6.3") format("truetype"), url("../fontawesome-webfont.svg?v=4.6.3#fontawesomeregular") format("svg");
font-weight: normal;
font-style: normal
}
.fa, .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.current > a span.toctree-expand, .rst-content .admonition-title, .rst-content h1 .headerlink, .rst-content h2 .headerlink, .rst-content h3 .headerlink, .rst-content h4 .headerlink, .rst-content h5 .headerlink, .rst-content h6 .headerlink, .rst-content dl dt .headerlink, .rst-content p.caption .headerlink, .rst-content tt.download span:first-child, .rst-content code.download span:first-child, .icon {
display: inline-block;
font: normal normal normal 14px/1 FontAwesome;
font-size: inherit;
text-rendering: auto;
-webkit-font-smoothing: antialiased;
-moz-osx-font-smoothing: grayscale
}
.fa-lg {
font-size: 1.33333em;
line-height: .75em;
vertical-align: -15%
}
.fa-2x {
font-size: 2em
}
.fa-3x {
font-size: 3em
}
.fa-4x {
font-size: 4em
}
.fa-5x {
font-size: 5em
}
.fa-fw {
width: 1.28571em;
text-align: center
}
.fa-ul {
padding-left: 0;
margin-left: 2.14286em;
list-style-type: none
}
.fa-ul > li {
position: relative
}
.fa-li {
position: absolute;
left: -2.14286em;
width: 2.14286em;
top: .14286em;
text-align: center
}
.fa-li.fa-lg {
left: -1.85714em
}
.fa-border {
padding: .2em .25em .15em;
border: solid 0.08em #eee;
border-radius: .1em
}
.fa-pull-left {
float: left
}
.fa-pull-right {
float: right
}
.fa.fa-pull-left, .wy-menu-vertical li span.fa-pull-left.toctree-expand, .wy-menu-vertical li.on a span.fa-pull-left.toctree-expand, .wy-menu-vertical li.current > a span.fa-pull-left.toctree-expand, .rst-content .fa-pull-left.admonition-title, .rst-content h1 .fa-pull-left.headerlink, .rst-content h2 .fa-pull-left.headerlink, .rst-content h3 .fa-pull-left.headerlink, .rst-content h4 .fa-pull-left.headerlink, .rst-content h5 .fa-pull-left.headerlink, .rst-content h6 .fa-pull-left.headerlink, .rst-content dl dt .fa-pull-left.headerlink, .rst-content p.caption .fa-pull-left.headerlink, .rst-content tt.download span.fa-pull-left:first-child, .rst-content code.download span.fa-pull-left:first-child, .fa-pull-left.icon {
margin-right: .3em
}
.fa.fa-pull-right, .wy-menu-vertical li span.fa-pull-right.toctree-expand, .wy-menu-vertical li.on a span.fa-pull-right.toctree-expand, .wy-menu-vertical li.current > a span.fa-pull-right.toctree-expand, .rst-content .fa-pull-right.admonition-title, .rst-content h1 .fa-pull-right.headerlink, .rst-content h2 .fa-pull-right.headerlink, .rst-content h3 .fa-pull-right.headerlink, .rst-content h4 .fa-pull-right.headerlink, .rst-content h5 .fa-pull-right.headerlink, .rst-content h6 .fa-pull-right.headerlink, .rst-content dl dt .fa-pull-right.headerlink, .rst-content p.caption .fa-pull-right.headerlink, .rst-content tt.download span.fa-pull-right:first-child, .rst-content code.download span.fa-pull-right:first-child, .fa-pull-right.icon {
margin-left: .3em
}
.pull-right {
float: right
}
.pull-left {
float: left
}
.fa.pull-left, .wy-menu-vertical li span.pull-left.toctree-expand, .wy-menu-vertical li.on a span.pull-left.toctree-expand, .wy-menu-vertical li.current > a span.pull-left.toctree-expand, .rst-content .pull-left.admonition-title, .rst-content h1 .pull-left.headerlink, .rst-content h2 .pull-left.headerlink, .rst-content h3 .pull-left.headerlink, .rst-content h4 .pull-left.headerlink, .rst-content h5 .pull-left.headerlink, .rst-content h6 .pull-left.headerlink, .rst-content dl dt .pull-left.headerlink, .rst-content p.caption .pull-left.headerlink, .rst-content tt.download span.pull-left:first-child, .rst-content code.download span.pull-left:first-child, .pull-left.icon {
margin-right: .3em
}
.fa.pull-right, .wy-menu-vertical li span.pull-right.toctree-expand, .wy-menu-vertical li.on a span.pull-right.toctree-expand, .wy-menu-vertical li.current > a span.pull-right.toctree-expand, .rst-content .pull-right.admonition-title, .rst-content h1 .pull-right.headerlink, .rst-content h2 .pull-right.headerlink, .rst-content h3 .pull-right.headerlink, .rst-content h4 .pull-right.headerlink, .rst-content h5 .pull-right.headerlink, .rst-content h6 .pull-right.headerlink, .rst-content dl dt .pull-right.headerlink, .rst-content p.caption .pull-right.headerlink, .rst-content tt.download span.pull-right:first-child, .rst-content code.download span.pull-right:first-child, .pull-right.icon {
margin-left: .3em
}
.fa-spin {
-webkit-animation: fa-spin 2s infinite linear;
animation: fa-spin 2s infinite linear
}
.fa-pulse {
-webkit-animation: fa-spin 1s infinite steps(8);
animation: fa-spin 1s infinite steps(8)
}
@-webkit-keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg)
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg)
}
}
@keyframes fa-spin {
0% {
-webkit-transform: rotate(0deg);
transform: rotate(0deg)
}
100% {
-webkit-transform: rotate(359deg);
transform: rotate(359deg)
}
}
.fa-rotate-90 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=1)";
-webkit-transform: rotate(90deg);
-ms-transform: rotate(90deg);
transform: rotate(90deg)
}
.fa-rotate-180 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2)";
-webkit-transform: rotate(180deg);
-ms-transform: rotate(180deg);
transform: rotate(180deg)
}
.fa-rotate-270 {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=3)";
-webkit-transform: rotate(270deg);
-ms-transform: rotate(270deg);
transform: rotate(270deg)
}
.fa-flip-horizontal {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=0, mirror=1)";
-webkit-transform: scale(-1, 1);
-ms-transform: scale(-1, 1);
transform: scale(-1, 1)
}
.fa-flip-vertical {
-ms-filter: "progid:DXImageTransform.Microsoft.BasicImage(rotation=2, mirror=1)";
-webkit-transform: scale(1, -1);
-ms-transform: scale(1, -1);
transform: scale(1, -1)
}
:root .fa-rotate-90, :root .fa-rotate-180, :root .fa-rotate-270, :root .fa-flip-horizontal, :root .fa-flip-vertical {
filter: none
}
.fa-stack {
position: relative;
display: inline-block;
width: 2em;
height: 2em;
line-height: 2em;
vertical-align: middle
}
.fa-stack-1x, .fa-stack-2x {
position: absolute;
left: 0;
width: 100%;
text-align: center
}
.fa-stack-1x {
line-height: inherit
}
.fa-stack-2x {
font-size: 2em
}
.fa-inverse {
color: #fff
}
.fa-glass:before {
content: ""
}
.fa-music:before {
content: ""
}
.fa-search:before, .icon-search:before {
content: ""
}
.fa-envelope-o:before {
content: ""
}
.fa-heart:before {
content: ""
}
.fa-star:before {
content: ""
}
.fa-star-o:before {
content: ""
}
.fa-user:before {
content: ""
}
.fa-film:before {
content: ""
}
.fa-th-large:before {
content: ""
}
.fa-th:before {
content: ""
}
.fa-th-list:before {
content: ""
}
.fa-check:before {
content: ""
}
.fa-remove:before, .fa-close:before, .fa-times:before {
content: ""
}
.fa-search-plus:before {
content: ""
}
.fa-search-minus:before {
content: ""
}
.fa-power-off:before {
content: ""
}
.fa-signal:before {
content: ""
}
.fa-gear:before, .fa-cog:before {
content: ""
}
.fa-trash-o:before {
content: ""
}
.fa-home:before, .icon-home:before {
content: ""
}
.fa-file-o:before {
content: ""
}
.fa-clock-o:before {
content: ""
}
.fa-road:before {
content: ""
}
.fa-download:before, .rst-content tt.download span:first-child:before, .rst-content code.download span:first-child:before {
content: ""
}
.fa-arrow-circle-o-down:before {
content: ""
}
.fa-arrow-circle-o-up:before {
content: ""
}
.fa-inbox:before {
content: ""
}
.fa-play-circle-o:before {
content: ""
}
.fa-rotate-right:before, .fa-repeat:before {
content: ""
}
.fa-refresh:before {
content: ""
}
.fa-list-alt:before {
content: ""
}
.fa-lock:before {
content: ""
}
.fa-flag:before {
content: ""
}
.fa-headphones:before {
content: ""
}
.fa-volume-off:before {
content: ""
}
.fa-volume-down:before {
content: ""
}
.fa-volume-up:before {
content: ""
}
.fa-qrcode:before {
content: ""
}
.fa-barcode:before {
content: ""
}
.fa-tag:before {
content: ""
}
.fa-tags:before {
content: ""
}
.fa-book:before, .icon-book:before {
content: ""
}
.fa-bookmark:before {
content: ""
}
.fa-print:before {
content: ""
}
.fa-camera:before {
content: ""
}
.fa-font:before {
content: ""
}
.fa-bold:before {
content: ""
}
.fa-italic:before {
content: ""
}
.fa-text-height:before {
content: ""
}
.fa-text-width:before {
content: ""
}
.fa-align-left:before {
content: ""
}
.fa-align-center:before {
content: ""
}
.fa-align-right:before {
content: ""
}
.fa-align-justify:before {
content: ""
}
.fa-list:before {
content: ""
}
.fa-dedent:before, .fa-outdent:before {
content: ""
}
.fa-indent:before {
content: ""
}
.fa-video-camera:before {
content: ""
}
.fa-photo:before, .fa-image:before, .fa-picture-o:before {
content: ""
}
.fa-pencil:before {
content: ""
}
.fa-map-marker:before {
content: ""
}
.fa-adjust:before {
content: ""
}
.fa-tint:before {
content: ""
}
.fa-edit:before, .fa-pencil-square-o:before {
content: ""
}
.fa-share-square-o:before {
content: ""
}
.fa-check-square-o:before {
content: ""
}
.fa-arrows:before {
content: ""
}
.fa-step-backward:before {
content: ""
}
.fa-fast-backward:before {
content: ""
}
.fa-backward:before {
content: ""
}
.fa-play:before {
content: ""
}
.fa-pause:before {
content: ""
}
.fa-stop:before {
content: ""
}
.fa-forward:before {
content: ""
}
.fa-fast-forward:before {
content: ""
}
.fa-step-forward:before {
content: ""
}
.fa-eject:before {
content: ""
}
.fa-chevron-left:before {
content: ""
}
.fa-chevron-right:before {
content: ""
}
.fa-plus-circle:before {
content: ""
}
.fa-minus-circle:before {
content: ""
}
.fa-times-circle:before, .wy-inline-validate.wy-inline-validate-danger .wy-input-context:before {
content: ""
}
.fa-check-circle:before, .wy-inline-validate.wy-inline-validate-success .wy-input-context:before {
content: ""
}
.fa-question-circle:before {
content: ""
}
.fa-info-circle:before {
content: ""
}
.fa-crosshairs:before {
content: ""
}
.fa-times-circle-o:before {
content: ""
}
.fa-check-circle-o:before {
content: ""
}
.fa-ban:before {
content: ""
}
.fa-arrow-left:before {
content: ""
}
.fa-arrow-right:before {
content: ""
}
.fa-arrow-up:before {
content: ""
}
.fa-arrow-down:before {
content: ""
}
.fa-mail-forward:before, .fa-share:before {
content: ""
}
.fa-expand:before {
content: ""
}
.fa-compress:before {
content: ""
}
.fa-plus:before {
content: ""
}
.fa-minus:before {
content: ""
}
.fa-asterisk:before {
content: ""
}
.fa-exclamation-circle:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before, .rst-content .admonition-title:before {
content: ""
}
.fa-gift:before {
content: ""
}
.fa-leaf:before {
content: ""
}
.fa-fire:before, .icon-fire:before {
content: ""
}
.fa-eye:before {
content: ""
}
.fa-eye-slash:before {
content: ""
}
.fa-warning:before, .fa-exclamation-triangle:before {
content: ""
}
.fa-plane:before {
content: ""
}
.fa-calendar:before {
content: ""
}
.fa-random:before {
content: ""
}
.fa-comment:before {
content: ""
}
.fa-magnet:before {
content: ""
}
.fa-chevron-up:before {
content: ""
}
.fa-chevron-down:before {
content: ""
}
.fa-retweet:before {
content: ""
}
.fa-shopping-cart:before {
content: ""
}
.fa-folder:before {
content: ""
}
.fa-folder-open:before {
content: ""
}
.fa-arrows-v:before {
content: ""
}
.fa-arrows-h:before {
content: ""
}
.fa-bar-chart-o:before, .fa-bar-chart:before {
content: ""
}
.fa-twitter-square:before {
content: ""
}
.fa-facebook-square:before {
content: ""
}
.fa-camera-retro:before {
content: ""
}
.fa-key:before {
content: ""
}
.fa-gears:before, .fa-cogs:before {
content: ""
}
.fa-comments:before {
content: ""
}
.fa-thumbs-o-up:before {
content: ""
}
.fa-thumbs-o-down:before {
content: ""
}
.fa-star-half:before {
content: ""
}
.fa-heart-o:before {
content: ""
}
.fa-sign-out:before {
content: ""
}
.fa-linkedin-square:before {
content: ""
}
.fa-thumb-tack:before {
content: ""
}
.fa-external-link:before {
content: ""
}
.fa-sign-in:before {
content: ""
}
.fa-trophy:before {
content: ""
}
.fa-github-square:before {
content: ""
}
.fa-upload:before {
content: ""
}
.fa-lemon-o:before {
content: ""
}
.fa-phone:before {
content: ""
}
.fa-square-o:before {
content: ""
}
.fa-bookmark-o:before {
content: ""
}
.fa-phone-square:before {
content: ""
}
.fa-twitter:before {
content: ""
}
.fa-facebook-f:before, .fa-facebook:before {
content: ""
}
.fa-github:before, .icon-github:before {
content: ""
}
.fa-unlock:before {
content: ""
}
.fa-credit-card:before {
content: ""
}
.fa-feed:before, .fa-rss:before {
content: ""
}
.fa-hdd-o:before {
content: ""
}
.fa-bullhorn:before {
content: ""
}
.fa-bell:before {
content: ""
}
.fa-certificate:before {
content: ""
}
.fa-hand-o-right:before {
content: ""
}
.fa-hand-o-left:before {
content: ""
}
.fa-hand-o-up:before {
content: ""
}
.fa-hand-o-down:before {
content: ""
}
.fa-arrow-circle-left:before, .icon-circle-arrow-left:before {
content: ""
}
.fa-arrow-circle-right:before, .icon-circle-arrow-right:before {
content: ""
}
.fa-arrow-circle-up:before {
content: ""
}
.fa-arrow-circle-down:before {
content: ""
}
.fa-globe:before {
content: ""
}
.fa-wrench:before {
content: ""
}
.fa-tasks:before {
content: ""
}
.fa-filter:before {
content: ""
}
.fa-briefcase:before {
content: ""
}
.fa-arrows-alt:before {
content: ""
}
.fa-group:before, .fa-users:before {
content: ""
}
.fa-chain:before, .fa-link:before, .icon-link:before {
content: ""
}
.fa-cloud:before {
content: ""
}
.fa-flask:before {
content: ""
}
.fa-cut:before, .fa-scissors:before {
content: ""
}
.fa-copy:before, .fa-files-o:before {
content: ""
}
.fa-paperclip:before {
content: ""
}
.fa-save:before, .fa-floppy-o:before {
content: ""
}
.fa-square:before {
content: ""
}
.fa-navicon:before, .fa-reorder:before, .fa-bars:before {
content: ""
}
.fa-list-ul:before {
content: ""
}
.fa-list-ol:before {
content: ""
}
.fa-strikethrough:before {
content: ""
}
.fa-underline:before {
content: ""
}
.fa-table:before {
content: ""
}
.fa-magic:before {
content: ""
}
.fa-truck:before {
content: ""
}
.fa-pinterest:before {
content: ""
}
.fa-pinterest-square:before {
content: ""
}
.fa-google-plus-square:before {
content: ""
}
.fa-google-plus:before {
content: ""
}
.fa-money:before {
content: ""
}
.fa-caret-down:before, .wy-dropdown .caret:before, .icon-caret-down:before {
content: ""
}
.fa-caret-up:before {
content: ""
}
.fa-caret-left:before {
content: ""
}
.fa-caret-right:before {
content: ""
}
.fa-columns:before {
content: ""
}
.fa-unsorted:before, .fa-sort:before {
content: ""
}
.fa-sort-down:before, .fa-sort-desc:before {
content: ""
}
.fa-sort-up:before, .fa-sort-asc:before {
content: ""
}
.fa-envelope:before {
content: ""
}
.fa-linkedin:before {
content: ""
}
.fa-rotate-left:before, .fa-undo:before {
content: ""
}
.fa-legal:before, .fa-gavel:before {
content: ""
}
.fa-dashboard:before, .fa-tachometer:before {
content: ""
}
.fa-comment-o:before {
content: ""
}
.fa-comments-o:before {
content: ""
}
.fa-flash:before, .fa-bolt:before {
content: ""
}
.fa-sitemap:before {
content: ""
}
.fa-umbrella:before {
content: ""
}
.fa-paste:before, .fa-clipboard:before {
content: ""
}
.fa-lightbulb-o:before {
content: ""
}
.fa-exchange:before {
content: ""
}
.fa-cloud-download:before {
content: ""
}
.fa-cloud-upload:before {
content: ""
}
.fa-user-md:before {
content: ""
}
.fa-stethoscope:before {
content: ""
}
.fa-suitcase:before {
content: ""
}
.fa-bell-o:before {
content: ""
}
.fa-coffee:before {
content: ""
}
.fa-cutlery:before {
content: ""
}
.fa-file-text-o:before {
content: ""
}
.fa-building-o:before {
content: ""
}
.fa-hospital-o:before {
content: ""
}
.fa-ambulance:before {
content: ""
}
.fa-medkit:before {
content: ""
}
.fa-fighter-jet:before {
content: ""
}
.fa-beer:before {
content: ""
}
.fa-h-square:before {
content: ""
}
.fa-plus-square:before {
content: ""
}
.fa-angle-double-left:before {
content: ""
}
.fa-angle-double-right:before {
content: ""
}
.fa-angle-double-up:before {
content: ""
}
.fa-angle-double-down:before {
content: ""
}
.fa-angle-left:before {
content: ""
}
.fa-angle-right:before {
content: ""
}
.fa-angle-up:before {
content: ""
}
.fa-angle-down:before {
content: ""
}
.fa-desktop:before {
content: ""
}
.fa-laptop:before {
content: ""
}
.fa-tablet:before {
content: ""
}
.fa-mobile-phone:before, .fa-mobile:before {
content: ""
}
.fa-circle-o:before {
content: ""
}
.fa-quote-left:before {
content: ""
}
.fa-quote-right:before {
content: ""
}
.fa-spinner:before {
content: ""
}
.fa-circle:before {
content: ""
}
.fa-mail-reply:before, .fa-reply:before {
content: ""
}
.fa-github-alt:before {
content: ""
}
.fa-folder-o:before {
content: ""
}
.fa-folder-open-o:before {
content: ""
}
.fa-smile-o:before {
content: ""
}
.fa-frown-o:before {
content: ""
}
.fa-meh-o:before {
content: ""
}
.fa-gamepad:before {
content: ""
}
.fa-keyboard-o:before {
content: ""
}
.fa-flag-o:before {
content: ""
}
.fa-flag-checkered:before {
content: ""
}
.fa-terminal:before {
content: ""
}
.fa-code:before {
content: ""
}
.fa-mail-reply-all:before, .fa-reply-all:before {
content: ""
}
.fa-star-half-empty:before, .fa-star-half-full:before, .fa-star-half-o:before {
content: ""
}
.fa-location-arrow:before {
content: ""
}
.fa-crop:before {
content: ""
}
.fa-code-fork:before {
content: ""
}
.fa-unlink:before, .fa-chain-broken:before {
content: ""
}
.fa-question:before {
content: ""
}
.fa-info:before {
content: ""
}
.fa-exclamation:before {
content: ""
}
.fa-superscript:before {
content: ""
}
.fa-subscript:before {
content: ""
}
.fa-eraser:before {
content: ""
}
.fa-puzzle-piece:before {
content: ""
}
.fa-microphone:before {
content: ""
}
.fa-microphone-slash:before {
content: ""
}
.fa-shield:before {
content: ""
}
.fa-calendar-o:before {
content: ""
}
.fa-fire-extinguisher:before {
content: ""
}
.fa-rocket:before {
content: ""
}
.fa-maxcdn:before {
content: ""
}
.fa-chevron-circle-left:before {
content: ""
}
.fa-chevron-circle-right:before {
content: ""
}
.fa-chevron-circle-up:before {
content: ""
}
.fa-chevron-circle-down:before {
content: ""
}
.fa-html5:before {
content: ""
}
.fa-css3:before {
content: ""
}
.fa-anchor:before {
content: ""
}
.fa-unlock-alt:before {
content: ""
}
.fa-bullseye:before {
content: ""
}
.fa-ellipsis-h:before {
content: ""
}
.fa-ellipsis-v:before {
content: ""
}
.fa-rss-square:before {
content: ""
}
.fa-play-circle:before {
content: ""
}
.fa-ticket:before {
content: ""
}
.fa-minus-square:before {
content: ""
}
.fa-minus-square-o:before, .wy-menu-vertical li.on a span.toctree-expand:before, .wy-menu-vertical li.current > a span.toctree-expand:before {
content: ""
}
.fa-level-up:before {
content: ""
}
.fa-level-down:before {
content: ""
}
.fa-check-square:before {
content: ""
}
.fa-pencil-square:before {
content: ""
}
.fa-external-link-square:before {
content: ""
}
.fa-share-square:before {
content: ""
}
.fa-compass:before {
content: ""
}
.fa-toggle-down:before, .fa-caret-square-o-down:before {
content: ""
}
.fa-toggle-up:before, .fa-caret-square-o-up:before {
content: ""
}
.fa-toggle-right:before, .fa-caret-square-o-right:before {
content: ""
}
.fa-euro:before, .fa-eur:before {
content: ""
}
.fa-gbp:before {
content: ""
}
.fa-dollar:before, .fa-usd:before {
content: ""
}
.fa-rupee:before, .fa-inr:before {
content: ""
}
.fa-cny:before, .fa-rmb:before, .fa-yen:before, .fa-jpy:before {
content: ""
}
.fa-ruble:before, .fa-rouble:before, .fa-rub:before {
content: ""
}
.fa-won:before, .fa-krw:before {
content: ""
}
.fa-bitcoin:before, .fa-btc:before {
content: ""
}
.fa-file:before {
content: ""
}
.fa-file-text:before {
content: ""
}
.fa-sort-alpha-asc:before {
content: ""
}
.fa-sort-alpha-desc:before {
content: ""
}
.fa-sort-amount-asc:before {
content: ""
}
.fa-sort-amount-desc:before {
content: ""
}
.fa-sort-numeric-asc:before {
content: ""
}
.fa-sort-numeric-desc:before {
content: ""
}
.fa-thumbs-up:before {
content: ""
}
.fa-thumbs-down:before {
content: ""
}
.fa-youtube-square:before {
content: ""
}
.fa-youtube:before {
content: ""
}
.fa-xing:before {
content: ""
}
.fa-xing-square:before {
content: ""
}
.fa-youtube-play:before {
content: ""
}
.fa-dropbox:before {
content: ""
}
.fa-stack-overflow:before {
content: ""
}
.fa-instagram:before {
content: ""
}
.fa-flickr:before {
content: ""
}
.fa-adn:before {
content: ""
}
.fa-bitbucket:before, .icon-bitbucket:before {
content: ""
}
.fa-bitbucket-square:before {
content: ""
}
.fa-tumblr:before {
content: ""
}
.fa-tumblr-square:before {
content: ""
}
.fa-long-arrow-down:before {
content: ""
}
.fa-long-arrow-up:before {
content: ""
}
.fa-long-arrow-left:before {
content: ""
}
.fa-long-arrow-right:before {
content: ""
}
.fa-apple:before {
content: ""
}
.fa-windows:before {
content: ""
}
.fa-android:before {
content: ""
}
.fa-linux:before {
content: ""
}
.fa-dribbble:before {
content: ""
}
.fa-skype:before {
content: ""
}
.fa-foursquare:before {
content: ""
}
.fa-trello:before {
content: ""
}
.fa-female:before {
content: ""
}
.fa-male:before {
content: ""
}
.fa-gittip:before, .fa-gratipay:before {
content: ""
}
.fa-sun-o:before {
content: ""
}
.fa-moon-o:before {
content: ""
}
.fa-archive:before {
content: ""
}
.fa-bug:before {
content: ""
}
.fa-vk:before {
content: ""
}
.fa-weibo:before {
content: ""
}
.fa-renren:before {
content: ""
}
.fa-pagelines:before {
content: ""
}
.fa-stack-exchange:before {
content: ""
}
.fa-arrow-circle-o-right:before {
content: ""
}
.fa-arrow-circle-o-left:before {
content: ""
}
.fa-toggle-left:before, .fa-caret-square-o-left:before {
content: ""
}
.fa-dot-circle-o:before {
content: ""
}
.fa-wheelchair:before {
content: ""
}
.fa-vimeo-square:before {
content: ""
}
.fa-turkish-lira:before, .fa-try:before {
content: ""
}
.fa-plus-square-o:before, .wy-menu-vertical li span.toctree-expand:before {
content: ""
}
.fa-space-shuttle:before {
content: ""
}
.fa-slack:before {
content: ""
}
.fa-envelope-square:before {
content: ""
}
.fa-wordpress:before {
content: ""
}
.fa-openid:before {
content: ""
}
.fa-institution:before, .fa-bank:before, .fa-university:before {
content: ""
}
.fa-mortar-board:before, .fa-graduation-cap:before {
content: ""
}
.fa-yahoo:before {
content: ""
}
.fa-google:before {
content: ""
}
.fa-reddit:before {
content: ""
}
.fa-reddit-square:before {
content: ""
}
.fa-stumbleupon-circle:before {
content: ""
}
.fa-stumbleupon:before {
content: ""
}
.fa-delicious:before {
content: ""
}
.fa-digg:before {
content: ""
}
.fa-pied-piper-pp:before {
content: ""
}
.fa-pied-piper-alt:before {
content: ""
}
.fa-drupal:before {
content: ""
}
.fa-joomla:before {
content: ""
}
.fa-language:before {
content: ""
}
.fa-fax:before {
content: ""
}
.fa-building:before {
content: ""
}
.fa-child:before {
content: ""
}
.fa-paw:before {
content: ""
}
.fa-spoon:before {
content: ""
}
.fa-cube:before {
content: ""
}
.fa-cubes:before {
content: ""
}
.fa-behance:before {
content: ""
}
.fa-behance-square:before {
content: ""
}
.fa-steam:before {
content: ""
}
.fa-steam-square:before {
content: ""
}
.fa-recycle:before {
content: ""
}
.fa-automobile:before, .fa-car:before {
content: ""
}
.fa-cab:before, .fa-taxi:before {
content: ""
}
.fa-tree:before {
content: ""
}
.fa-spotify:before {
content: ""
}
.fa-deviantart:before {
content: ""
}
.fa-soundcloud:before {
content: ""
}
.fa-database:before {
content: ""
}
.fa-file-pdf-o:before {
content: ""
}
.fa-file-word-o:before {
content: ""
}
.fa-file-excel-o:before {
content: ""
}
.fa-file-powerpoint-o:before {
content: ""
}
.fa-file-photo-o:before, .fa-file-picture-o:before, .fa-file-image-o:before {
content: ""
}
.fa-file-zip-o:before, .fa-file-archive-o:before {
content: ""
}
.fa-file-sound-o:before, .fa-file-audio-o:before {
content: ""
}
.fa-file-movie-o:before, .fa-file-video-o:before {
content: ""
}
.fa-file-code-o:before {
content: ""
}
.fa-vine:before {
content: ""
}
.fa-codepen:before {
content: ""
}
.fa-jsfiddle:before {
content: ""
}
.fa-life-bouy:before, .fa-life-buoy:before, .fa-life-saver:before, .fa-support:before, .fa-life-ring:before {
content: ""
}
.fa-circle-o-notch:before {
content: ""
}
.fa-ra:before, .fa-resistance:before, .fa-rebel:before {
content: ""
}
.fa-ge:before, .fa-empire:before {
content: ""
}
.fa-git-square:before {
content: ""
}
.fa-git:before {
content: ""
}
.fa-y-combinator-square:before, .fa-yc-square:before, .fa-hacker-news:before {
content: ""
}
.fa-tencent-weibo:before {
content: ""
}
.fa-qq:before {
content: ""
}
.fa-wechat:before, .fa-weixin:before {
content: ""
}
.fa-send:before, .fa-paper-plane:before {
content: ""
}
.fa-send-o:before, .fa-paper-plane-o:before {
content: ""
}
.fa-history:before {
content: ""
}
.fa-circle-thin:before {
content: ""
}
.fa-header:before {
content: ""
}
.fa-paragraph:before {
content: ""
}
.fa-sliders:before {
content: ""
}
.fa-share-alt:before {
content: ""
}
.fa-share-alt-square:before {
content: ""
}
.fa-bomb:before {
content: ""
}
.fa-soccer-ball-o:before, .fa-futbol-o:before {
content: ""
}
.fa-tty:before {
content: ""
}
.fa-binoculars:before {
content: ""
}
.fa-plug:before {
content: ""
}
.fa-slideshare:before {
content: ""
}
.fa-twitch:before {
content: ""
}
.fa-yelp:before {
content: ""
}
.fa-newspaper-o:before {
content: ""
}
.fa-wifi:before {
content: ""
}
.fa-calculator:before {
content: ""
}
.fa-paypal:before {
content: ""
}
.fa-google-wallet:before {
content: ""
}
.fa-cc-visa:before {
content: ""
}
.fa-cc-mastercard:before {
content: ""
}
.fa-cc-discover:before {
content: ""
}
.fa-cc-amex:before {
content: ""
}
.fa-cc-paypal:before {
content: ""
}
.fa-cc-stripe:before {
content: ""
}
.fa-bell-slash:before {
content: ""
}
.fa-bell-slash-o:before {
content: ""
}
.fa-trash:before {
content: ""
}
.fa-copyright:before {
content: ""
}
.fa-at:before {
content: ""
}
.fa-eyedropper:before {
content: ""
}
.fa-paint-brush:before {
content: ""
}
.fa-birthday-cake:before {
content: ""
}
.fa-area-chart:before {
content: ""
}
.fa-pie-chart:before {
content: ""
}
.fa-line-chart:before {
content: ""
}
.fa-lastfm:before {
content: ""
}
.fa-lastfm-square:before {
content: ""
}
.fa-toggle-off:before {
content: ""
}
.fa-toggle-on:before {
content: ""
}
.fa-bicycle:before {
content: ""
}
.fa-bus:before {
content: ""
}
.fa-ioxhost:before {
content: ""
}
.fa-angellist:before {
content: ""
}
.fa-cc:before {
content: ""
}
.fa-shekel:before, .fa-sheqel:before, .fa-ils:before {
content: ""
}
.fa-meanpath:before {
content: ""
}
.fa-buysellads:before {
content: ""
}
.fa-connectdevelop:before {
content: ""
}
.fa-dashcube:before {
content: ""
}
.fa-forumbee:before {
content: ""
}
.fa-leanpub:before {
content: ""
}
.fa-sellsy:before {
content: ""
}
.fa-shirtsinbulk:before {
content: ""
}
.fa-simplybuilt:before {
content: ""
}
.fa-skyatlas:before {
content: ""
}
.fa-cart-plus:before {
content: ""
}
.fa-cart-arrow-down:before {
content: ""
}
.fa-diamond:before {
content: ""
}
.fa-ship:before {
content: ""
}
.fa-user-secret:before {
content: ""
}
.fa-motorcycle:before {
content: ""
}
.fa-street-view:before {
content: ""
}
.fa-heartbeat:before {
content: ""
}
.fa-venus:before {
content: ""
}
.fa-mars:before {
content: ""
}
.fa-mercury:before {
content: ""
}
.fa-intersex:before, .fa-transgender:before {
content: ""
}
.fa-transgender-alt:before {
content: ""
}
.fa-venus-double:before {
content: ""
}
.fa-mars-double:before {
content: ""
}
.fa-venus-mars:before {
content: ""
}
.fa-mars-stroke:before {
content: ""
}
.fa-mars-stroke-v:before {
content: ""
}
.fa-mars-stroke-h:before {
content: ""
}
.fa-neuter:before {
content: ""
}
.fa-genderless:before {
content: ""
}
.fa-facebook-official:before {
content: ""
}
.fa-pinterest-p:before {
content: ""
}
.fa-whatsapp:before {
content: ""
}
.fa-server:before {
content: ""
}
.fa-user-plus:before {
content: ""
}
.fa-user-times:before {
content: ""
}
.fa-hotel:before, .fa-bed:before {
content: ""
}
.fa-viacoin:before {
content: ""
}
.fa-train:before {
content: ""
}
.fa-subway:before {
content: ""
}
.fa-medium:before {
content: ""
}
.fa-yc:before, .fa-y-combinator:before {
content: ""
}
.fa-optin-monster:before {
content: ""
}
.fa-opencart:before {
content: ""
}
.fa-expeditedssl:before {
content: ""
}
.fa-battery-4:before, .fa-battery-full:before {
content: ""
}
.fa-battery-3:before, .fa-battery-three-quarters:before {
content: ""
}
.fa-battery-2:before, .fa-battery-half:before {
content: ""
}
.fa-battery-1:before, .fa-battery-quarter:before {
content: ""
}
.fa-battery-0:before, .fa-battery-empty:before {
content: ""
}
.fa-mouse-pointer:before {
content: ""
}
.fa-i-cursor:before {
content: ""
}
.fa-object-group:before {
content: ""
}
.fa-object-ungroup:before {
content: ""
}
.fa-sticky-note:before {
content: ""
}
.fa-sticky-note-o:before {
content: ""
}
.fa-cc-jcb:before {
content: ""
}
.fa-cc-diners-club:before {
content: ""
}
.fa-clone:before {
content: ""
}
.fa-balance-scale:before {
content: ""
}
.fa-hourglass-o:before {
content: ""
}
.fa-hourglass-1:before, .fa-hourglass-start:before {
content: ""
}
.fa-hourglass-2:before, .fa-hourglass-half:before {
content: ""
}
.fa-hourglass-3:before, .fa-hourglass-end:before {
content: ""
}
.fa-hourglass:before {
content: ""
}
.fa-hand-grab-o:before, .fa-hand-rock-o:before {
content: ""
}
.fa-hand-stop-o:before, .fa-hand-paper-o:before {
content: ""
}
.fa-hand-scissors-o:before {
content: ""
}
.fa-hand-lizard-o:before {
content: ""
}
.fa-hand-spock-o:before {
content: ""
}
.fa-hand-pointer-o:before {
content: ""
}
.fa-hand-peace-o:before {
content: ""
}
.fa-trademark:before {
content: ""
}
.fa-registered:before {
content: ""
}
.fa-creative-commons:before {
content: ""
}
.fa-gg:before {
content: ""
}
.fa-gg-circle:before {
content: ""
}
.fa-tripadvisor:before {
content: ""
}
.fa-odnoklassniki:before {
content: ""
}
.fa-odnoklassniki-square:before {
content: ""
}
.fa-get-pocket:before {
content: ""
}
.fa-wikipedia-w:before {
content: ""
}
.fa-safari:before {
content: ""
}
.fa-chrome:before {
content: ""
}
.fa-firefox:before {
content: ""
}
.fa-opera:before {
content: ""
}
.fa-internet-explorer:before {
content: ""
}
.fa-tv:before, .fa-television:before {
content: ""
}
.fa-contao:before {
content: ""
}
.fa-500px:before {
content: ""
}
.fa-amazon:before {
content: ""
}
.fa-calendar-plus-o:before {
content: ""
}
.fa-calendar-minus-o:before {
content: ""
}
.fa-calendar-times-o:before {
content: ""
}
.fa-calendar-check-o:before {
content: ""
}
.fa-industry:before {
content: ""
}
.fa-map-pin:before {
content: ""
}
.fa-map-signs:before {
content: ""
}
.fa-map-o:before {
content: ""
}
.fa-map:before {
content: ""
}
.fa-commenting:before {
content: ""
}
.fa-commenting-o:before {
content: ""
}
.fa-houzz:before {
content: ""
}
.fa-vimeo:before {
content: ""
}
.fa-black-tie:before {
content: ""
}
.fa-fonticons:before {
content: ""
}
.fa-reddit-alien:before {
content: ""
}
.fa-edge:before {
content: ""
}
.fa-credit-card-alt:before {
content: ""
}
.fa-codiepie:before {
content: ""
}
.fa-modx:before {
content: ""
}
.fa-fort-awesome:before {
content: ""
}
.fa-usb:before {
content: ""
}
.fa-product-hunt:before {
content: ""
}
.fa-mixcloud:before {
content: ""
}
.fa-scribd:before {
content: ""
}
.fa-pause-circle:before {
content: ""
}
.fa-pause-circle-o:before {
content: ""
}
.fa-stop-circle:before {
content: ""
}
.fa-stop-circle-o:before {
content: ""
}
.fa-shopping-bag:before {
content: ""
}
.fa-shopping-basket:before {
content: ""
}
.fa-hashtag:before {
content: ""
}
.fa-bluetooth:before {
content: ""
}
.fa-bluetooth-b:before {
content: ""
}
.fa-percent:before {
content: ""
}
.fa-gitlab:before, .icon-gitlab:before {
content: ""
}
.fa-wpbeginner:before {
content: ""
}
.fa-wpforms:before {
content: ""
}
.fa-envira:before {
content: ""
}
.fa-universal-access:before {
content: ""
}
.fa-wheelchair-alt:before {
content: ""
}
.fa-question-circle-o:before {
content: ""
}
.fa-blind:before {
content: ""
}
.fa-audio-description:before {
content: ""
}
.fa-volume-control-phone:before {
content: ""
}
.fa-braille:before {
content: ""
}
.fa-assistive-listening-systems:before {
content: ""
}
.fa-asl-interpreting:before, .fa-american-sign-language-interpreting:before {
content: ""
}
.fa-deafness:before, .fa-hard-of-hearing:before, .fa-deaf:before {
content: ""
}
.fa-glide:before {
content: ""
}
.fa-glide-g:before {
content: ""
}
.fa-signing:before, .fa-sign-language:before {
content: ""
}
.fa-low-vision:before {
content: ""
}
.fa-viadeo:before {
content: ""
}
.fa-viadeo-square:before {
content: ""
}
.fa-snapchat:before {
content: ""
}
.fa-snapchat-ghost:before {
content: ""
}
.fa-snapchat-square:before {
content: ""
}
.fa-pied-piper:before {
content: ""
}
.fa-first-order:before {
content: ""
}
.fa-yoast:before {
content: ""
}
.fa-themeisle:before {
content: ""
}
.fa-google-plus-circle:before, .fa-google-plus-official:before {
content: ""
}
.fa-fa:before, .fa-font-awesome:before {
content: ""
}
.sr-only {
position: absolute;
width: 1px;
height: 1px;
padding: 0;
margin: -1px;
overflow: hidden;
clip: rect(0, 0, 0, 0);
border: 0
}
.sr-only-focusable:active, .sr-only-focusable:focus {
position: static;
width: auto;
height: auto;
margin: 0;
overflow: visible;
clip: auto
}
.fa, .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.current > a span.toctree-expand, .rst-content .admonition-title, .rst-content h1 .headerlink, .rst-content h2 .headerlink, .rst-content h3 .headerlink, .rst-content h4 .headerlink, .rst-content h5 .headerlink, .rst-content h6 .headerlink, .rst-content dl dt .headerlink, .rst-content p.caption .headerlink, .rst-content tt.download span:first-child, .rst-content code.download span:first-child, .icon, .wy-dropdown .caret, .wy-inline-validate.wy-inline-validate-success .wy-input-context, .wy-inline-validate.wy-inline-validate-danger .wy-input-context, .wy-inline-validate.wy-inline-validate-warning .wy-input-context, .wy-inline-validate.wy-inline-validate-info .wy-input-context {
font-family: inherit
}
.fa:before, .wy-menu-vertical li span.toctree-expand:before, .wy-menu-vertical li.on a span.toctree-expand:before, .wy-menu-vertical li.current > a span.toctree-expand:before, .rst-content .admonition-title:before, .rst-content h1 .headerlink:before, .rst-content h2 .headerlink:before, .rst-content h3 .headerlink:before, .rst-content h4 .headerlink:before, .rst-content h5 .headerlink:before, .rst-content h6 .headerlink:before, .rst-content dl dt .headerlink:before, .rst-content p.caption .headerlink:before, .rst-content tt.download span:first-child:before, .rst-content code.download span:first-child:before, .icon:before, .wy-dropdown .caret:before, .wy-inline-validate.wy-inline-validate-success .wy-input-context:before, .wy-inline-validate.wy-inline-validate-danger .wy-input-context:before, .wy-inline-validate.wy-inline-validate-warning .wy-input-context:before, .wy-inline-validate.wy-inline-validate-info .wy-input-context:before {
font-family: "FontAwesome";
display: inline-block;
font-style: normal;
font-weight: normal;
line-height: 1;
text-decoration: inherit
}
a .fa, a .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li a span.toctree-expand, .wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.current > a span.toctree-expand, a .rst-content .admonition-title, .rst-content a .admonition-title, a .rst-content h1 .headerlink, .rst-content h1 a .headerlink, a .rst-content h2 .headerlink, .rst-content h2 a .headerlink, a .rst-content h3 .headerlink, .rst-content h3 a .headerlink, a .rst-content h4 .headerlink, .rst-content h4 a .headerlink, a .rst-content h5 .headerlink, .rst-content h5 a .headerlink, a .rst-content h6 .headerlink, .rst-content h6 a .headerlink, a .rst-content dl dt .headerlink, .rst-content dl dt a .headerlink, a .rst-content p.caption .headerlink, .rst-content p.caption a .headerlink, a .rst-content tt.download span:first-child, .rst-content tt.download a span:first-child, a .rst-content code.download span:first-child, .rst-content code.download a span:first-child, a .icon {
display: inline-block;
text-decoration: inherit
}
.btn .fa, .btn .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li .btn span.toctree-expand, .btn .wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.on a .btn span.toctree-expand, .btn .wy-menu-vertical li.current > a span.toctree-expand, .wy-menu-vertical li.current > a .btn span.toctree-expand, .btn .rst-content .admonition-title, .rst-content .btn .admonition-title, .btn .rst-content h1 .headerlink, .rst-content h1 .btn .headerlink, .btn .rst-content h2 .headerlink, .rst-content h2 .btn .headerlink, .btn .rst-content h3 .headerlink, .rst-content h3 .btn .headerlink, .btn .rst-content h4 .headerlink, .rst-content h4 .btn .headerlink, .btn .rst-content h5 .headerlink, .rst-content h5 .btn .headerlink, .btn .rst-content h6 .headerlink, .rst-content h6 .btn .headerlink, .btn .rst-content dl dt .headerlink, .rst-content dl dt .btn .headerlink, .btn .rst-content p.caption .headerlink, .rst-content p.caption .btn .headerlink, .btn .rst-content tt.download span:first-child, .rst-content tt.download .btn span:first-child, .btn .rst-content code.download span:first-child, .rst-content code.download .btn span:first-child, .btn .icon, .nav .fa, .nav .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li .nav span.toctree-expand, .nav .wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.on a .nav span.toctree-expand, .nav .wy-menu-vertical li.current > a span.toctree-expand, .wy-menu-vertical li.current > a .nav span.toctree-expand, .nav .rst-content .admonition-title, .rst-content .nav .admonition-title, .nav .rst-content h1 .headerlink, .rst-content h1 .nav .headerlink, .nav .rst-content h2 .headerlink, .rst-content h2 .nav .headerlink, .nav .rst-content h3 .headerlink, .rst-content h3 .nav .headerlink, .nav .rst-content h4 .headerlink, .rst-content h4 .nav .headerlink, .nav .rst-content h5 .headerlink, .rst-content h5 .nav .headerlink, .nav .rst-content h6 .headerlink, .rst-content h6 .nav .headerlink, .nav .rst-content dl dt .headerlink, .rst-content dl dt .nav .headerlink, .nav .rst-content p.caption .headerlink, .rst-content p.caption .nav .headerlink, .nav .rst-content tt.download span:first-child, .rst-content tt.download .nav span:first-child, .nav .rst-content code.download span:first-child, .rst-content code.download .nav span:first-child, .nav .icon {
display: inline
}
.btn .fa.fa-large, .btn .wy-menu-vertical li span.fa-large.toctree-expand, .wy-menu-vertical li .btn span.fa-large.toctree-expand, .btn .rst-content .fa-large.admonition-title, .rst-content .btn .fa-large.admonition-title, .btn .rst-content h1 .fa-large.headerlink, .rst-content h1 .btn .fa-large.headerlink, .btn .rst-content h2 .fa-large.headerlink, .rst-content h2 .btn .fa-large.headerlink, .btn .rst-content h3 .fa-large.headerlink, .rst-content h3 .btn .fa-large.headerlink, .btn .rst-content h4 .fa-large.headerlink, .rst-content h4 .btn .fa-large.headerlink, .btn .rst-content h5 .fa-large.headerlink, .rst-content h5 .btn .fa-large.headerlink, .btn .rst-content h6 .fa-large.headerlink, .rst-content h6 .btn .fa-large.headerlink, .btn .rst-content dl dt .fa-large.headerlink, .rst-content dl dt .btn .fa-large.headerlink, .btn .rst-content p.caption .fa-large.headerlink, .rst-content p.caption .btn .fa-large.headerlink, .btn .rst-content tt.download span.fa-large:first-child, .rst-content tt.download .btn span.fa-large:first-child, .btn .rst-content code.download span.fa-large:first-child, .rst-content code.download .btn span.fa-large:first-child, .btn .fa-large.icon, .nav .fa.fa-large, .nav .wy-menu-vertical li span.fa-large.toctree-expand, .wy-menu-vertical li .nav span.fa-large.toctree-expand, .nav .rst-content .fa-large.admonition-title, .rst-content .nav .fa-large.admonition-title, .nav .rst-content h1 .fa-large.headerlink, .rst-content h1 .nav .fa-large.headerlink, .nav .rst-content h2 .fa-large.headerlink, .rst-content h2 .nav .fa-large.headerlink, .nav .rst-content h3 .fa-large.headerlink, .rst-content h3 .nav .fa-large.headerlink, .nav .rst-content h4 .fa-large.headerlink, .rst-content h4 .nav .fa-large.headerlink, .nav .rst-content h5 .fa-large.headerlink, .rst-content h5 .nav .fa-large.headerlink, .nav .rst-content h6 .fa-large.headerlink, .rst-content h6 .nav .fa-large.headerlink, .nav .rst-content dl dt .fa-large.headerlink, .rst-content dl dt .nav .fa-large.headerlink, .nav .rst-content p.caption .fa-large.headerlink, .rst-content p.caption .nav .fa-large.headerlink, .nav .rst-content tt.download span.fa-large:first-child, .rst-content tt.download .nav span.fa-large:first-child, .nav .rst-content code.download span.fa-large:first-child, .rst-content code.download .nav span.fa-large:first-child, .nav .fa-large.icon {
line-height: 0.9em
}
.btn .fa.fa-spin, .btn .wy-menu-vertical li span.fa-spin.toctree-expand, .wy-menu-vertical li .btn span.fa-spin.toctree-expand, .btn .rst-content .fa-spin.admonition-title, .rst-content .btn .fa-spin.admonition-title, .btn .rst-content h1 .fa-spin.headerlink, .rst-content h1 .btn .fa-spin.headerlink, .btn .rst-content h2 .fa-spin.headerlink, .rst-content h2 .btn .fa-spin.headerlink, .btn .rst-content h3 .fa-spin.headerlink, .rst-content h3 .btn .fa-spin.headerlink, .btn .rst-content h4 .fa-spin.headerlink, .rst-content h4 .btn .fa-spin.headerlink, .btn .rst-content h5 .fa-spin.headerlink, .rst-content h5 .btn .fa-spin.headerlink, .btn .rst-content h6 .fa-spin.headerlink, .rst-content h6 .btn .fa-spin.headerlink, .btn .rst-content dl dt .fa-spin.headerlink, .rst-content dl dt .btn .fa-spin.headerlink, .btn .rst-content p.caption .fa-spin.headerlink, .rst-content p.caption .btn .fa-spin.headerlink, .btn .rst-content tt.download span.fa-spin:first-child, .rst-content tt.download .btn span.fa-spin:first-child, .btn .rst-content code.download span.fa-spin:first-child, .rst-content code.download .btn span.fa-spin:first-child, .btn .fa-spin.icon, .nav .fa.fa-spin, .nav .wy-menu-vertical li span.fa-spin.toctree-expand, .wy-menu-vertical li .nav span.fa-spin.toctree-expand, .nav .rst-content .fa-spin.admonition-title, .rst-content .nav .fa-spin.admonition-title, .nav .rst-content h1 .fa-spin.headerlink, .rst-content h1 .nav .fa-spin.headerlink, .nav .rst-content h2 .fa-spin.headerlink, .rst-content h2 .nav .fa-spin.headerlink, .nav .rst-content h3 .fa-spin.headerlink, .rst-content h3 .nav .fa-spin.headerlink, .nav .rst-content h4 .fa-spin.headerlink, .rst-content h4 .nav .fa-spin.headerlink, .nav .rst-content h5 .fa-spin.headerlink, .rst-content h5 .nav .fa-spin.headerlink, .nav .rst-content h6 .fa-spin.headerlink, .rst-content h6 .nav .fa-spin.headerlink, .nav .rst-content dl dt .fa-spin.headerlink, .rst-content dl dt .nav .fa-spin.headerlink, .nav .rst-content p.caption .fa-spin.headerlink, .rst-content p.caption .nav .fa-spin.headerlink, .nav .rst-content tt.download span.fa-spin:first-child, .rst-content tt.download .nav span.fa-spin:first-child, .nav .rst-content code.download span.fa-spin:first-child, .rst-content code.download .nav span.fa-spin:first-child, .nav .fa-spin.icon {
display: inline-block
}
.btn.fa:before, .wy-menu-vertical li span.btn.toctree-expand:before, .rst-content .btn.admonition-title:before, .rst-content h1 .btn.headerlink:before, .rst-content h2 .btn.headerlink:before, .rst-content h3 .btn.headerlink:before, .rst-content h4 .btn.headerlink:before, .rst-content h5 .btn.headerlink:before, .rst-content h6 .btn.headerlink:before, .rst-content dl dt .btn.headerlink:before, .rst-content p.caption .btn.headerlink:before, .rst-content tt.download span.btn:first-child:before, .rst-content code.download span.btn:first-child:before, .btn.icon:before {
opacity: 0.5;
-webkit-transition: opacity 0.05s ease-in;
-moz-transition: opacity 0.05s ease-in;
transition: opacity 0.05s ease-in
}
.btn.fa:hover:before, .wy-menu-vertical li span.btn.toctree-expand:hover:before, .rst-content .btn.admonition-title:hover:before, .rst-content h1 .btn.headerlink:hover:before, .rst-content h2 .btn.headerlink:hover:before, .rst-content h3 .btn.headerlink:hover:before, .rst-content h4 .btn.headerlink:hover:before, .rst-content h5 .btn.headerlink:hover:before, .rst-content h6 .btn.headerlink:hover:before, .rst-content dl dt .btn.headerlink:hover:before, .rst-content p.caption .btn.headerlink:hover:before, .rst-content tt.download span.btn:first-child:hover:before, .rst-content code.download span.btn:first-child:hover:before, .btn.icon:hover:before {
opacity: 1
}
.btn-mini .fa:before, .btn-mini .wy-menu-vertical li span.toctree-expand:before, .wy-menu-vertical li .btn-mini span.toctree-expand:before, .btn-mini .rst-content .admonition-title:before, .rst-content .btn-mini .admonition-title:before, .btn-mini .rst-content h1 .headerlink:before, .rst-content h1 .btn-mini .headerlink:before, .btn-mini .rst-content h2 .headerlink:before, .rst-content h2 .btn-mini .headerlink:before, .btn-mini .rst-content h3 .headerlink:before, .rst-content h3 .btn-mini .headerlink:before, .btn-mini .rst-content h4 .headerlink:before, .rst-content h4 .btn-mini .headerlink:before, .btn-mini .rst-content h5 .headerlink:before, .rst-content h5 .btn-mini .headerlink:before, .btn-mini .rst-content h6 .headerlink:before, .rst-content h6 .btn-mini .headerlink:before, .btn-mini .rst-content dl dt .headerlink:before, .rst-content dl dt .btn-mini .headerlink:before, .btn-mini .rst-content p.caption .headerlink:before, .rst-content p.caption .btn-mini .headerlink:before, .btn-mini .rst-content tt.download span:first-child:before, .rst-content tt.download .btn-mini span:first-child:before, .btn-mini .rst-content code.download span:first-child:before, .rst-content code.download .btn-mini span:first-child:before, .btn-mini .icon:before {
font-size: 14px;
vertical-align: -15%
}
.wy-alert, .rst-content .note, .rst-content .attention, .rst-content .caution, .rst-content .danger, .rst-content .error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .warning, .rst-content .seealso, .rst-content .admonition-todo {
padding: 12px;
line-height: 24px;
margin-bottom: 24px;
background: #e7f2fa
}
.wy-alert-title, .rst-content .admonition-title {
color: #fff;
font-weight: bold;
display: block;
color: #fff;
background: #6ab0de;
margin: -12px;
padding: 6px 12px;
margin-bottom: 12px
}
.wy-alert.wy-alert-danger, .rst-content .wy-alert-danger.note, .rst-content .wy-alert-danger.attention, .rst-content .wy-alert-danger.caution, .rst-content .danger, .rst-content .error, .rst-content .wy-alert-danger.hint, .rst-content .wy-alert-danger.important, .rst-content .wy-alert-danger.tip, .rst-content .wy-alert-danger.warning, .rst-content .wy-alert-danger.seealso, .rst-content .wy-alert-danger.admonition-todo {
background: #fdf3f2
}
.wy-alert.wy-alert-danger .wy-alert-title, .rst-content .wy-alert-danger.note .wy-alert-title, .rst-content .wy-alert-danger.attention .wy-alert-title, .rst-content .wy-alert-danger.caution .wy-alert-title, .rst-content .danger .wy-alert-title, .rst-content .error .wy-alert-title, .rst-content .wy-alert-danger.hint .wy-alert-title, .rst-content .wy-alert-danger.important .wy-alert-title, .rst-content .wy-alert-danger.tip .wy-alert-title, .rst-content .wy-alert-danger.warning .wy-alert-title, .rst-content .wy-alert-danger.seealso .wy-alert-title, .rst-content .wy-alert-danger.admonition-todo .wy-alert-title, .wy-alert.wy-alert-danger .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-danger .admonition-title, .rst-content .wy-alert-danger.note .admonition-title, .rst-content .wy-alert-danger.attention .admonition-title, .rst-content .wy-alert-danger.caution .admonition-title, .rst-content .danger .admonition-title, .rst-content .error .admonition-title, .rst-content .wy-alert-danger.hint .admonition-title, .rst-content .wy-alert-danger.important .admonition-title, .rst-content .wy-alert-danger.tip .admonition-title, .rst-content .wy-alert-danger.warning .admonition-title, .rst-content .wy-alert-danger.seealso .admonition-title, .rst-content .wy-alert-danger.admonition-todo .admonition-title {
background: #f29f97
}
.wy-alert.wy-alert-warning, .rst-content .wy-alert-warning.note, .rst-content .attention, .rst-content .caution, .rst-content .wy-alert-warning.danger, .rst-content .wy-alert-warning.error, .rst-content .wy-alert-warning.hint, .rst-content .wy-alert-warning.important, .rst-content .wy-alert-warning.tip, .rst-content .warning, .rst-content .wy-alert-warning.seealso, .rst-content .admonition-todo {
background: #ffedcc
}
.wy-alert.wy-alert-warning .wy-alert-title, .rst-content .wy-alert-warning.note .wy-alert-title, .rst-content .attention .wy-alert-title, .rst-content .caution .wy-alert-title, .rst-content .wy-alert-warning.danger .wy-alert-title, .rst-content .wy-alert-warning.error .wy-alert-title, .rst-content .wy-alert-warning.hint .wy-alert-title, .rst-content .wy-alert-warning.important .wy-alert-title, .rst-content .wy-alert-warning.tip .wy-alert-title, .rst-content .warning .wy-alert-title, .rst-content .wy-alert-warning.seealso .wy-alert-title, .rst-content .admonition-todo .wy-alert-title, .wy-alert.wy-alert-warning .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-warning .admonition-title, .rst-content .wy-alert-warning.note .admonition-title, .rst-content .attention .admonition-title, .rst-content .caution .admonition-title, .rst-content .wy-alert-warning.danger .admonition-title, .rst-content .wy-alert-warning.error .admonition-title, .rst-content .wy-alert-warning.hint .admonition-title, .rst-content .wy-alert-warning.important .admonition-title, .rst-content .wy-alert-warning.tip .admonition-title, .rst-content .warning .admonition-title, .rst-content .wy-alert-warning.seealso .admonition-title, .rst-content .admonition-todo .admonition-title {
background: #f0b37e
}
.wy-alert.wy-alert-info, .rst-content .note, .rst-content .wy-alert-info.attention, .rst-content .wy-alert-info.caution, .rst-content .wy-alert-info.danger, .rst-content .wy-alert-info.error, .rst-content .wy-alert-info.hint, .rst-content .wy-alert-info.important, .rst-content .wy-alert-info.tip, .rst-content .wy-alert-info.warning, .rst-content .seealso, .rst-content .wy-alert-info.admonition-todo {
background: #e7f2fa
}
.wy-alert.wy-alert-info .wy-alert-title, .rst-content .note .wy-alert-title, .rst-content .wy-alert-info.attention .wy-alert-title, .rst-content .wy-alert-info.caution .wy-alert-title, .rst-content .wy-alert-info.danger .wy-alert-title, .rst-content .wy-alert-info.error .wy-alert-title, .rst-content .wy-alert-info.hint .wy-alert-title, .rst-content .wy-alert-info.important .wy-alert-title, .rst-content .wy-alert-info.tip .wy-alert-title, .rst-content .wy-alert-info.warning .wy-alert-title, .rst-content .seealso .wy-alert-title, .rst-content .wy-alert-info.admonition-todo .wy-alert-title, .wy-alert.wy-alert-info .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-info .admonition-title, .rst-content .note .admonition-title, .rst-content .wy-alert-info.attention .admonition-title, .rst-content .wy-alert-info.caution .admonition-title, .rst-content .wy-alert-info.danger .admonition-title, .rst-content .wy-alert-info.error .admonition-title, .rst-content .wy-alert-info.hint .admonition-title, .rst-content .wy-alert-info.important .admonition-title, .rst-content .wy-alert-info.tip .admonition-title, .rst-content .wy-alert-info.warning .admonition-title, .rst-content .seealso .admonition-title, .rst-content .wy-alert-info.admonition-todo .admonition-title {
background: #6ab0de
}
.wy-alert.wy-alert-success, .rst-content .wy-alert-success.note, .rst-content .wy-alert-success.attention, .rst-content .wy-alert-success.caution, .rst-content .wy-alert-success.danger, .rst-content .wy-alert-success.error, .rst-content .hint, .rst-content .important, .rst-content .tip, .rst-content .wy-alert-success.warning, .rst-content .wy-alert-success.seealso, .rst-content .wy-alert-success.admonition-todo {
background: #dbfaf4
}
.wy-alert.wy-alert-success .wy-alert-title, .rst-content .wy-alert-success.note .wy-alert-title, .rst-content .wy-alert-success.attention .wy-alert-title, .rst-content .wy-alert-success.caution .wy-alert-title, .rst-content .wy-alert-success.danger .wy-alert-title, .rst-content .wy-alert-success.error .wy-alert-title, .rst-content .hint .wy-alert-title, .rst-content .important .wy-alert-title, .rst-content .tip .wy-alert-title, .rst-content .wy-alert-success.warning .wy-alert-title, .rst-content .wy-alert-success.seealso .wy-alert-title, .rst-content .wy-alert-success.admonition-todo .wy-alert-title, .wy-alert.wy-alert-success .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-success .admonition-title, .rst-content .wy-alert-success.note .admonition-title, .rst-content .wy-alert-success.attention .admonition-title, .rst-content .wy-alert-success.caution .admonition-title, .rst-content .wy-alert-success.danger .admonition-title, .rst-content .wy-alert-success.error .admonition-title, .rst-content .hint .admonition-title, .rst-content .important .admonition-title, .rst-content .tip .admonition-title, .rst-content .wy-alert-success.warning .admonition-title, .rst-content .wy-alert-success.seealso .admonition-title, .rst-content .wy-alert-success.admonition-todo .admonition-title {
background: #1abc9c
}
.wy-alert.wy-alert-neutral, .rst-content .wy-alert-neutral.note, .rst-content .wy-alert-neutral.attention, .rst-content .wy-alert-neutral.caution, .rst-content .wy-alert-neutral.danger, .rst-content .wy-alert-neutral.error, .rst-content .wy-alert-neutral.hint, .rst-content .wy-alert-neutral.important, .rst-content .wy-alert-neutral.tip, .rst-content .wy-alert-neutral.warning, .rst-content .wy-alert-neutral.seealso, .rst-content .wy-alert-neutral.admonition-todo {
background: #f3f6f6
}
.wy-alert.wy-alert-neutral .wy-alert-title, .rst-content .wy-alert-neutral.note .wy-alert-title, .rst-content .wy-alert-neutral.attention .wy-alert-title, .rst-content .wy-alert-neutral.caution .wy-alert-title, .rst-content .wy-alert-neutral.danger .wy-alert-title, .rst-content .wy-alert-neutral.error .wy-alert-title, .rst-content .wy-alert-neutral.hint .wy-alert-title, .rst-content .wy-alert-neutral.important .wy-alert-title, .rst-content .wy-alert-neutral.tip .wy-alert-title, .rst-content .wy-alert-neutral.warning .wy-alert-title, .rst-content .wy-alert-neutral.seealso .wy-alert-title, .rst-content .wy-alert-neutral.admonition-todo .wy-alert-title, .wy-alert.wy-alert-neutral .rst-content .admonition-title, .rst-content .wy-alert.wy-alert-neutral .admonition-title, .rst-content .wy-alert-neutral.note .admonition-title, .rst-content .wy-alert-neutral.attention .admonition-title, .rst-content .wy-alert-neutral.caution .admonition-title, .rst-content .wy-alert-neutral.danger .admonition-title, .rst-content .wy-alert-neutral.error .admonition-title, .rst-content .wy-alert-neutral.hint .admonition-title, .rst-content .wy-alert-neutral.important .admonition-title, .rst-content .wy-alert-neutral.tip .admonition-title, .rst-content .wy-alert-neutral.warning .admonition-title, .rst-content .wy-alert-neutral.seealso .admonition-title, .rst-content .wy-alert-neutral.admonition-todo .admonition-title {
color: #404040;
background: #e1e4e5
}
.wy-alert.wy-alert-neutral a, .rst-content .wy-alert-neutral.note a, .rst-content .wy-alert-neutral.attention a, .rst-content .wy-alert-neutral.caution a, .rst-content .wy-alert-neutral.danger a, .rst-content .wy-alert-neutral.error a, .rst-content .wy-alert-neutral.hint a, .rst-content .wy-alert-neutral.important a, .rst-content .wy-alert-neutral.tip a, .rst-content .wy-alert-neutral.warning a, .rst-content .wy-alert-neutral.seealso a, .rst-content .wy-alert-neutral.admonition-todo a {
color: #3b1c4a
}
.wy-alert p:last-child, .rst-content .note p:last-child, .rst-content .attention p:last-child, .rst-content .caution p:last-child, .rst-content .danger p:last-child, .rst-content .error p:last-child, .rst-content .hint p:last-child, .rst-content .important p:last-child, .rst-content .tip p:last-child, .rst-content .warning p:last-child, .rst-content .seealso p:last-child, .rst-content .admonition-todo p:last-child {
margin-bottom: 0
}
.wy-tray-container {
position: fixed;
bottom: 0px;
left: 0;
z-index: 600
}
.wy-tray-container li {
display: block;
width: 300px;
background: transparent;
color: #fff;
text-align: center;
box-shadow: 0 5px 5px 0 rgba(0, 0, 0, 0.1);
padding: 0 24px;
min-width: 20%;
opacity: 0;
height: 0;
line-height: 56px;
overflow: hidden;
-webkit-transition: all 0.3s ease-in;
-moz-transition: all 0.3s ease-in;
transition: all 0.3s ease-in
}
.wy-tray-container li.wy-tray-item-success {
background: #27AE60
}
.wy-tray-container li.wy-tray-item-info {
background: #3b1c4a
}
.wy-tray-container li.wy-tray-item-warning {
background: #E67E22
}
.wy-tray-container li.wy-tray-item-danger {
background: #E74C3C
}
.wy-tray-container li.on {
opacity: 1;
height: 56px
}
@media screen and (max-width: 768px) {
.wy-tray-container {
bottom: auto;
top: 0;
width: 100%
}
.wy-tray-container li {
width: 100%
}
}
button {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle;
cursor: pointer;
line-height: normal;
-webkit-appearance: button;
*overflow: visible
}
button::-moz-focus-inner, input::-moz-focus-inner {
border: 0;
padding: 0
}
button[disabled] {
cursor: default
}
.btn {
display: inline-block;
line-height: normal;
white-space: nowrap;
text-align: center;
cursor: pointer;
font-size: 100%;
padding: 6px 12px 8px 12px;
color: #fff;
border: 1px solid rgba(0, 0, 0, 0.1);
background-color: #27AE60;
text-decoration: none;
font-weight: normal;
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
box-shadow: 0px 1px 2px -1px rgba(255, 255, 255, 0.5) inset, 0px -2px 0px 0px rgba(0, 0, 0, 0.1) inset;
outline-none: false;
vertical-align: middle;
*display: inline;
zoom: 1;
-webkit-user-drag: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
-webkit-transition: all 0.1s linear;
-moz-transition: all 0.1s linear;
transition: all 0.1s linear
}
.btn-hover {
background: #2e8ece;
color: #fff
}
.btn:hover {
background: #2cc36b;
color: #fff
}
.btn:focus {
background: #2cc36b;
outline: 0
}
.btn:active {
box-shadow: 0px -1px 0px 0px rgba(0, 0, 0, 0.05) inset, 0px 2px 0px 0px rgba(0, 0, 0, 0.1) inset;
padding: 8px 12px 6px 12px
}
.btn:visited {
color: #fff
}
.btn:disabled {
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
filter: alpha(opacity=40);
opacity: 0.4;
cursor: not-allowed;
box-shadow: none
}
.btn-disabled {
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
filter: alpha(opacity=40);
opacity: 0.4;
cursor: not-allowed;
box-shadow: none
}
.btn-disabled:hover, .btn-disabled:focus, .btn-disabled:active {
background-image: none;
filter: progid:DXImageTransform.Microsoft.gradient(enabled=false);
filter: alpha(opacity=40);
opacity: 0.4;
cursor: not-allowed;
box-shadow: none
}
.btn::-moz-focus-inner {
padding: 0;
border: 0
}
.btn-small {
font-size: 80%
}
.btn-info {
background-color: #3b1c4a !important
}
.btn-info:hover {
background-color: #2e8ece !important
}
.btn-neutral {
background-color: #f3f6f6 !important;
color: #404040 !important
}
.btn-neutral:hover {
background-color: #e5ebeb !important;
color: #404040
}
.btn-neutral:visited {
color: #404040 !important
}
.btn-success {
background-color: #27AE60 !important
}
.btn-success:hover {
background-color: #295 !important
}
.btn-danger {
background-color: #E74C3C !important
}
.btn-danger:hover {
background-color: #ea6153 !important
}
.btn-warning {
background-color: #E67E22 !important
}
.btn-warning:hover {
background-color: #e98b39 !important
}
.btn-invert {
background-color: #222
}
.btn-invert:hover {
background-color: #2f2f2f !important
}
.btn-link {
background-color: transparent !important;
color: #3b1c4a;
box-shadow: none;
border-color: transparent !important
}
.btn-link:hover {
background-color: transparent !important;
color: #409ad5 !important;
box-shadow: none
}
.btn-link:active {
background-color: transparent !important;
color: #409ad5 !important;
box-shadow: none
}
.btn-link:visited {
color: #9B59B6
}
.wy-btn-group .btn, .wy-control .btn {
vertical-align: middle
}
.wy-btn-group {
margin-bottom: 24px;
*zoom: 1
}
.wy-btn-group:before, .wy-btn-group:after {
display: table;
content: ""
}
.wy-btn-group:after {
clear: both
}
.wy-dropdown {
position: relative;
display: inline-block
}
.wy-dropdown-active .wy-dropdown-menu {
display: block
}
.wy-dropdown-menu {
position: absolute;
left: 0;
display: none;
float: left;
top: 100%;
min-width: 100%;
background: #fcfcfc;
z-index: 100;
border: solid 1px #cfd7dd;
box-shadow: 0 2px 2px 0 rgba(0, 0, 0, 0.1);
padding: 12px
}
.wy-dropdown-menu > dd > a {
display: block;
clear: both;
color: #404040;
white-space: nowrap;
font-size: 90%;
padding: 0 12px;
cursor: pointer
}
.wy-dropdown-menu > dd > a:hover {
background: #3b1c4a;
color: #fff
}
.wy-dropdown-menu > dd.divider {
border-top: solid 1px #cfd7dd;
margin: 6px 0
}
.wy-dropdown-menu > dd.search {
padding-bottom: 12px
}
.wy-dropdown-menu > dd.search input[type="search"] {
width: 100%
}
.wy-dropdown-menu > dd.call-to-action {
background: #e3e3e3;
text-transform: uppercase;
font-weight: 500;
font-size: 80%
}
.wy-dropdown-menu > dd.call-to-action:hover {
background: #e3e3e3
}
.wy-dropdown-menu > dd.call-to-action .btn {
color: #fff
}
.wy-dropdown.wy-dropdown-up .wy-dropdown-menu {
bottom: 100%;
top: auto;
left: auto;
right: 0
}
.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu {
background: #fcfcfc;
margin-top: 2px
}
.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a {
padding: 6px 12px
}
.wy-dropdown.wy-dropdown-bubble .wy-dropdown-menu a:hover {
background: #3b1c4a;
color: #fff
}
.wy-dropdown.wy-dropdown-left .wy-dropdown-menu {
right: 0;
left: auto;
text-align: right
}
.wy-dropdown-arrow:before {
content: " ";
border-bottom: 5px solid #f5f5f5;
border-left: 5px solid transparent;
border-right: 5px solid transparent;
position: absolute;
display: block;
top: -4px;
left: 50%;
margin-left: -3px
}
.wy-dropdown-arrow.wy-dropdown-arrow-left:before {
left: 11px
}
.wy-form-stacked select {
display: block
}
.wy-form-aligned input, .wy-form-aligned textarea, .wy-form-aligned select, .wy-form-aligned .wy-help-inline, .wy-form-aligned label {
display: inline-block;
*display: inline;
*zoom: 1;
vertical-align: middle
}
.wy-form-aligned .wy-control-group > label {
display: inline-block;
vertical-align: middle;
width: 10em;
margin: 6px 12px 0 0;
float: left
}
.wy-form-aligned .wy-control {
float: left
}
.wy-form-aligned .wy-control label {
display: block
}
.wy-form-aligned .wy-control select {
margin-top: 6px
}
fieldset {
border: 0;
margin: 0;
padding: 0
}
legend {
display: block;
width: 100%;
border: 0;
padding: 0;
white-space: normal;
margin-bottom: 24px;
font-size: 150%;
*margin-left: -7px
}
label {
display: block;
margin: 0 0 .3125em 0;
color: #333;
font-size: 90%
}
input, select, textarea {
font-size: 100%;
margin: 0;
vertical-align: baseline;
*vertical-align: middle
}
.wy-control-group {
margin-bottom: 24px;
*zoom: 1;
max-width: 68em;
margin-left: auto;
margin-right: auto;
*zoom: 1
}
.wy-control-group:before, .wy-control-group:after {
display: table;
content: ""
}
.wy-control-group:after {
clear: both
}
.wy-control-group:before, .wy-control-group:after {
display: table;
content: ""
}
.wy-control-group:after {
clear: both
}
.wy-control-group.wy-control-group-required > label:after {
content: " *";
color: #E74C3C
}
.wy-control-group .wy-form-full, .wy-control-group .wy-form-halves, .wy-control-group .wy-form-thirds {
padding-bottom: 12px
}
.wy-control-group .wy-form-full select, .wy-control-group .wy-form-halves select, .wy-control-group .wy-form-thirds select {
width: 100%
}
.wy-control-group .wy-form-full input[type="text"], .wy-control-group .wy-form-full input[type="password"], .wy-control-group .wy-form-full input[type="email"], .wy-control-group .wy-form-full input[type="url"], .wy-control-group .wy-form-full input[type="date"], .wy-control-group .wy-form-full input[type="month"], .wy-control-group .wy-form-full input[type="time"], .wy-control-group .wy-form-full input[type="datetime"], .wy-control-group .wy-form-full input[type="datetime-local"], .wy-control-group .wy-form-full input[type="week"], .wy-control-group .wy-form-full input[type="number"], .wy-control-group .wy-form-full input[type="search"], .wy-control-group .wy-form-full input[type="tel"], .wy-control-group .wy-form-full input[type="color"], .wy-control-group .wy-form-halves input[type="text"], .wy-control-group .wy-form-halves input[type="password"], .wy-control-group .wy-form-halves input[type="email"], .wy-control-group .wy-form-halves input[type="url"], .wy-control-group .wy-form-halves input[type="date"], .wy-control-group .wy-form-halves input[type="month"], .wy-control-group .wy-form-halves input[type="time"], .wy-control-group .wy-form-halves input[type="datetime"], .wy-control-group .wy-form-halves input[type="datetime-local"], .wy-control-group .wy-form-halves input[type="week"], .wy-control-group .wy-form-halves input[type="number"], .wy-control-group .wy-form-halves input[type="search"], .wy-control-group .wy-form-halves input[type="tel"], .wy-control-group .wy-form-halves input[type="color"], .wy-control-group .wy-form-thirds input[type="text"], .wy-control-group .wy-form-thirds input[type="password"], .wy-control-group .wy-form-thirds input[type="email"], .wy-control-group .wy-form-thirds input[type="url"], .wy-control-group .wy-form-thirds input[type="date"], .wy-control-group .wy-form-thirds input[type="month"], .wy-control-group .wy-form-thirds input[type="time"], .wy-control-group .wy-form-thirds input[type="datetime"], .wy-control-group .wy-form-thirds input[type="datetime-local"], .wy-control-group .wy-form-thirds input[type="week"], .wy-control-group .wy-form-thirds input[type="number"], .wy-control-group .wy-form-thirds input[type="search"], .wy-control-group .wy-form-thirds input[type="tel"], .wy-control-group .wy-form-thirds input[type="color"] {
width: 100%
}
.wy-control-group .wy-form-full {
float: left;
display: block;
margin-right: 2.35765%;
width: 100%;
margin-right: 0
}
.wy-control-group .wy-form-full:last-child {
margin-right: 0
}
.wy-control-group .wy-form-halves {
float: left;
display: block;
margin-right: 2.35765%;
width: 48.82117%
}
.wy-control-group .wy-form-halves:last-child {
margin-right: 0
}
.wy-control-group .wy-form-halves:nth-of-type(2n) {
margin-right: 0
}
.wy-control-group .wy-form-halves:nth-of-type(2n+1) {
clear: left
}
.wy-control-group .wy-form-thirds {
float: left;
display: block;
margin-right: 2.35765%;
width: 31.76157%
}
.wy-control-group .wy-form-thirds:last-child {
margin-right: 0
}
.wy-control-group .wy-form-thirds:nth-of-type(3n) {
margin-right: 0
}
.wy-control-group .wy-form-thirds:nth-of-type(3n+1) {
clear: left
}
.wy-control-group.wy-control-group-no-input .wy-control {
margin: 6px 0 0 0;
font-size: 90%
}
.wy-control-no-input {
display: inline-block;
margin: 6px 0 0 0;
font-size: 90%
}
.wy-control-group.fluid-input input[type="text"], .wy-control-group.fluid-input input[type="password"], .wy-control-group.fluid-input input[type="email"], .wy-control-group.fluid-input input[type="url"], .wy-control-group.fluid-input input[type="date"], .wy-control-group.fluid-input input[type="month"], .wy-control-group.fluid-input input[type="time"], .wy-control-group.fluid-input input[type="datetime"], .wy-control-group.fluid-input input[type="datetime-local"], .wy-control-group.fluid-input input[type="week"], .wy-control-group.fluid-input input[type="number"], .wy-control-group.fluid-input input[type="search"], .wy-control-group.fluid-input input[type="tel"], .wy-control-group.fluid-input input[type="color"] {
width: 100%
}
.wy-form-message-inline {
display: inline-block;
padding-left: 0.3em;
color: #666;
vertical-align: middle;
font-size: 90%
}
.wy-form-message {
display: block;
color: #999;
font-size: 70%;
margin-top: .3125em;
font-style: italic
}
.wy-form-message p {
font-size: inherit;
font-style: italic;
margin-bottom: 6px
}
.wy-form-message p:last-child {
margin-bottom: 0
}
input {
line-height: normal
}
input[type="button"], input[type="reset"], input[type="submit"] {
-webkit-appearance: button;
cursor: pointer;
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
*overflow: visible
}
input[type="text"], input[type="password"], input[type="email"], input[type="url"], input[type="date"], input[type="month"], input[type="time"], input[type="datetime"], input[type="datetime-local"], input[type="week"], input[type="number"], input[type="search"], input[type="tel"], input[type="color"] {
-webkit-appearance: none;
padding: 6px;
display: inline-block;
border: 1px solid #ccc;
font-size: 80%;
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
box-shadow: inset 0 1px 3px #ddd;
border-radius: 0;
-webkit-transition: border 0.3s linear;
-moz-transition: border 0.3s linear;
transition: border 0.3s linear
}
input[type="datetime-local"] {
padding: .34375em .625em
}
input[disabled] {
cursor: default
}
input[type="checkbox"], input[type="radio"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
padding: 0;
margin-right: .3125em;
*height: 13px;
*width: 13px
}
input[type="search"] {
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box
}
input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
-webkit-appearance: none
}
input[type="text"]:focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, input[type="date"]:focus, input[type="month"]:focus, input[type="time"]:focus, input[type="datetime"]:focus, input[type="datetime-local"]:focus, input[type="week"]:focus, input[type="number"]:focus, input[type="search"]:focus, input[type="tel"]:focus, input[type="color"]:focus {
outline: 0;
outline: thin dotted \9;
border-color: #333
}
input.no-focus:focus {
border-color: #ccc !important
}
input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus {
outline: thin dotted #333;
outline: 1px auto #129FEA
}
input[type="text"][disabled], input[type="password"][disabled], input[type="email"][disabled], input[type="url"][disabled], input[type="date"][disabled], input[type="month"][disabled], input[type="time"][disabled], input[type="datetime"][disabled], input[type="datetime-local"][disabled], input[type="week"][disabled], input[type="number"][disabled], input[type="search"][disabled], input[type="tel"][disabled], input[type="color"][disabled] {
cursor: not-allowed;
background-color: #fafafa
}
input:focus:invalid, textarea:focus:invalid, select:focus:invalid {
color: #E74C3C;
border: 1px solid #E74C3C
}
input:focus:invalid:focus, textarea:focus:invalid:focus, select:focus:invalid:focus {
border-color: #E74C3C
}
input[type="file"]:focus:invalid:focus, input[type="radio"]:focus:invalid:focus, input[type="checkbox"]:focus:invalid:focus {
outline-color: #E74C3C
}
input.wy-input-large {
padding: 12px;
font-size: 100%
}
textarea {
overflow: auto;
vertical-align: top;
width: 100%;
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
}
select, textarea {
padding: .5em .625em;
display: inline-block;
border: 1px solid #ccc;
font-size: 80%;
box-shadow: inset 0 1px 3px #ddd;
-webkit-transition: border 0.3s linear;
-moz-transition: border 0.3s linear;
transition: border 0.3s linear
}
select {
border: 1px solid #ccc;
background-color: #fff
}
select[multiple] {
height: auto
}
select:focus, textarea:focus {
outline: 0
}
select[disabled], textarea[disabled], input[readonly], select[readonly], textarea[readonly] {
cursor: not-allowed;
background-color: #fafafa
}
input[type="radio"][disabled], input[type="checkbox"][disabled] {
cursor: not-allowed
}
.wy-checkbox, .wy-radio {
margin: 6px 0;
color: #404040;
display: block
}
.wy-checkbox input, .wy-radio input {
vertical-align: baseline
}
.wy-form-message-inline {
display: inline-block;
*display: inline;
*zoom: 1;
vertical-align: middle
}
.wy-input-prefix, .wy-input-suffix {
white-space: nowrap;
padding: 6px
}
.wy-input-prefix .wy-input-context, .wy-input-suffix .wy-input-context {
line-height: 27px;
padding: 0 8px;
display: inline-block;
font-size: 80%;
background-color: #f3f6f6;
border: solid 1px #ccc;
color: #999
}
.wy-input-suffix .wy-input-context {
border-left: 0
}
.wy-input-prefix .wy-input-context {
border-right: 0
}
.wy-switch {
width: 36px;
height: 12px;
margin: 12px 0;
position: relative;
background: #ccc;
cursor: pointer;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out
}
.wy-switch:before {
position: absolute;
content: "";
display: block;
width: 18px;
height: 18px;
background: #999;
left: -3px;
top: -3px;
-webkit-transition: all 0.2s ease-in-out;
-moz-transition: all 0.2s ease-in-out;
transition: all 0.2s ease-in-out
}
.wy-switch:after {
content: "false";
position: absolute;
left: 48px;
display: block;
font-size: 12px;
color: #ccc
}
.wy-switch.active {
background: #1e8449
}
.wy-switch.active:before {
left: 24px;
background: #27AE60
}
.wy-switch.active:after {
content: "true"
}
.wy-switch.disabled, .wy-switch.active.disabled {
cursor: not-allowed
}
.wy-control-group.wy-control-group-error .wy-form-message, .wy-control-group.wy-control-group-error > label {
color: #E74C3C
}
.wy-control-group.wy-control-group-error input[type="text"], .wy-control-group.wy-control-group-error input[type="password"], .wy-control-group.wy-control-group-error input[type="email"], .wy-control-group.wy-control-group-error input[type="url"], .wy-control-group.wy-control-group-error input[type="date"], .wy-control-group.wy-control-group-error input[type="month"], .wy-control-group.wy-control-group-error input[type="time"], .wy-control-group.wy-control-group-error input[type="datetime"], .wy-control-group.wy-control-group-error input[type="datetime-local"], .wy-control-group.wy-control-group-error input[type="week"], .wy-control-group.wy-control-group-error input[type="number"], .wy-control-group.wy-control-group-error input[type="search"], .wy-control-group.wy-control-group-error input[type="tel"], .wy-control-group.wy-control-group-error input[type="color"] {
border: solid 1px #E74C3C
}
.wy-control-group.wy-control-group-error textarea {
border: solid 1px #E74C3C
}
.wy-inline-validate {
white-space: nowrap
}
.wy-inline-validate .wy-input-context {
padding: .5em .625em;
display: inline-block;
font-size: 80%
}
.wy-inline-validate.wy-inline-validate-success .wy-input-context {
color: #27AE60
}
.wy-inline-validate.wy-inline-validate-danger .wy-input-context {
color: #E74C3C
}
.wy-inline-validate.wy-inline-validate-warning .wy-input-context {
color: #E67E22
}
.wy-inline-validate.wy-inline-validate-info .wy-input-context {
color: #3b1c4a
}
.rotate-90 {
-webkit-transform: rotate(90deg);
-moz-transform: rotate(90deg);
-ms-transform: rotate(90deg);
-o-transform: rotate(90deg);
transform: rotate(90deg)
}
.rotate-180 {
-webkit-transform: rotate(180deg);
-moz-transform: rotate(180deg);
-ms-transform: rotate(180deg);
-o-transform: rotate(180deg);
transform: rotate(180deg)
}
.rotate-270 {
-webkit-transform: rotate(270deg);
-moz-transform: rotate(270deg);
-ms-transform: rotate(270deg);
-o-transform: rotate(270deg);
transform: rotate(270deg)
}
.mirror {
-webkit-transform: scaleX(-1);
-moz-transform: scaleX(-1);
-ms-transform: scaleX(-1);
-o-transform: scaleX(-1);
transform: scaleX(-1)
}
.mirror.rotate-90 {
-webkit-transform: scaleX(-1) rotate(90deg);
-moz-transform: scaleX(-1) rotate(90deg);
-ms-transform: scaleX(-1) rotate(90deg);
-o-transform: scaleX(-1) rotate(90deg);
transform: scaleX(-1) rotate(90deg)
}
.mirror.rotate-180 {
-webkit-transform: scaleX(-1) rotate(180deg);
-moz-transform: scaleX(-1) rotate(180deg);
-ms-transform: scaleX(-1) rotate(180deg);
-o-transform: scaleX(-1) rotate(180deg);
transform: scaleX(-1) rotate(180deg)
}
.mirror.rotate-270 {
-webkit-transform: scaleX(-1) rotate(270deg);
-moz-transform: scaleX(-1) rotate(270deg);
-ms-transform: scaleX(-1) rotate(270deg);
-o-transform: scaleX(-1) rotate(270deg);
transform: scaleX(-1) rotate(270deg)
}
@media only screen and (max-width: 480px) {
.wy-form button[type="submit"] {
margin: 0.7em 0 0
}
.wy-form input[type="text"], .wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] {
margin-bottom: 0.3em;
display: block
}
.wy-form label {
margin-bottom: 0.3em;
display: block
}
.wy-form input[type="password"], .wy-form input[type="email"], .wy-form input[type="url"], .wy-form input[type="date"], .wy-form input[type="month"], .wy-form input[type="time"], .wy-form input[type="datetime"], .wy-form input[type="datetime-local"], .wy-form input[type="week"], .wy-form input[type="number"], .wy-form input[type="search"], .wy-form input[type="tel"], .wy-form input[type="color"] {
margin-bottom: 0
}
.wy-form-aligned .wy-control-group label {
margin-bottom: 0.3em;
text-align: left;
display: block;
width: 100%
}
.wy-form-aligned .wy-control {
margin: 1.5em 0 0 0
}
.wy-form .wy-help-inline, .wy-form-message-inline, .wy-form-message {
display: block;
font-size: 80%;
padding: 6px 0
}
}
@media screen and (max-width: 768px) {
.tablet-hide {
display: none
}
}
@media screen and (max-width: 480px) {
.mobile-hide {
display: none
}
}
.float-left {
float: left
}
.float-right {
float: right
}
.full-width {
width: 100%
}
.wy-table, .rst-content table.docutils, .rst-content table.field-list {
border-collapse: collapse;
border-spacing: 0;
empty-cells: show;
margin-bottom: 24px
}
.wy-table caption, .rst-content table.docutils caption, .rst-content table.field-list caption {
color: #000;
font: italic 85%/1 arial, sans-serif;
padding: 1em 0;
text-align: center
}
.wy-table td, .rst-content table.docutils td, .rst-content table.field-list td, .wy-table th, .rst-content table.docutils th, .rst-content table.field-list th {
font-size: 14px;
margin: 0;
overflow: visible;
padding: 8px 16px
}
.rst-content table td p, .rst-content .section table td ul {
font-size: 14px;
margin-bottom: 12px;
}
.wy-table td:first-child, .rst-content table.docutils td:first-child, .rst-content table.field-list td:first-child, .wy-table th:first-child, .rst-content table.docutils th:first-child, .rst-content table.field-list th:first-child {
border-left-width: 0
}
.wy-table thead, .rst-content table.docutils thead, .rst-content table.field-list thead {
color: #000;
text-align: left;
vertical-align: bottom;
white-space: nowrap
}
.wy-table thead th, .rst-content table.docutils thead th, .rst-content table.field-list thead th {
font-weight: bold;
border-bottom: solid 2px #e1e4e5
}
.wy-table td, .rst-content table.docutils td, .rst-content table.field-list td {
background-color: transparent;
vertical-align: middle
}
.wy-table td p, .rst-content table.docutils td p, .rst-content table.field-list td p {
line-height: 18px
}
.wy-table td p:last-child, .rst-content table.docutils td p:last-child, .rst-content table.field-list td p:last-child {
margin-bottom: 0
}
.wy-table .wy-table-cell-min, .rst-content table.docutils .wy-table-cell-min, .rst-content table.field-list .wy-table-cell-min {
width: 1%;
padding-right: 0
}
.wy-table .wy-table-cell-min input[type=checkbox], .rst-content table.docutils .wy-table-cell-min input[type=checkbox], .rst-content table.field-list .wy-table-cell-min input[type=checkbox], .wy-table .wy-table-cell-min input[type=checkbox], .rst-content table.docutils .wy-table-cell-min input[type=checkbox], .rst-content table.field-list .wy-table-cell-min input[type=checkbox] {
margin: 0
}
.wy-table-secondary {
color: gray;
font-size: 90%
}
.wy-table-tertiary {
color: gray;
font-size: 80%
}
.wy-table-odd td, .wy-table-striped tr:nth-child(2n-1) td, .rst-content table.docutils:not(.field-list) tr:nth-child(2n-1) td {
background-color: #f3f6f6
}
.wy-table-backed {
background-color: #f3f6f6
}
.wy-table-bordered-all, .rst-content table.docutils {
border: 1px solid #e1e4e5
}
.wy-table-bordered-all td, .rst-content table.docutils td {
border-bottom: 1px solid #e1e4e5;
border-left: 1px solid #e1e4e5
}
.wy-table-bordered-all tbody > tr:last-child td, .rst-content table.docutils tbody > tr:last-child td {
border-bottom-width: 0
}
.wy-table-bordered {
border: 1px solid #e1e4e5
}
.wy-table-bordered-rows td {
border-bottom: 1px solid #e1e4e5
}
.wy-table-bordered-rows tbody > tr:last-child td {
border-bottom-width: 0
}
.wy-table-horizontal tbody > tr:last-child td {
border-bottom-width: 0
}
.wy-table-horizontal td, .wy-table-horizontal th {
border-width: 0 0 1px 0;
border-bottom: 1px solid #e1e4e5
}
.wy-table-horizontal tbody > tr:last-child td {
border-bottom-width: 0
}
.wy-table-responsive {
margin-bottom: 24px;
max-width: 100%;
overflow: auto
}
.wy-table-responsive table {
margin-bottom: 0 !important
}
.wy-table-responsive table td, .wy-table-responsive table th {
white-space: nowrap
}
a {
color: #8E44B3;
text-decoration: none;
cursor: pointer
}
a:hover {
color: #622f7c;
}
a:visited {
color: #673181;
}
html {
height: 100%;
overflow-x: hidden
}
body {
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
font-weight: normal;
color: #404040;
min-height: 100%;
overflow-x: hidden;
background: #edf0f2
}
.wy-text-left {
text-align: left
}
.wy-text-center {
text-align: center
}
.wy-text-right {
text-align: right
}
.wy-text-large {
font-size: 120%
}
.wy-text-normal {
font-size: 100%
}
.wy-text-small, small {
font-size: 80%
}
.wy-text-strike {
text-decoration: line-through
}
.wy-text-warning {
color: #E67E22 !important
}
a.wy-text-warning:hover {
color: #eb9950 !important
}
.wy-text-info {
color: #3b1c4a !important
}
a.wy-text-info:hover {
color: #409ad5 !important
}
.wy-text-success {
color: #27AE60 !important
}
a.wy-text-success:hover {
color: #36d278 !important
}
.wy-text-danger {
color: #E74C3C !important
}
a.wy-text-danger:hover {
color: #ed7669 !important
}
.wy-text-neutral {
color: #404040 !important
}
a.wy-text-neutral:hover {
color: #595959 !important
}
h1, h2, .rst-content .toctree-wrapper p.caption, h3, h4, h5, h6, legend {
margin-top: 0;
font-weight: 700;
font-family: "Open Sans", Helvetica, Arial, sans-serif
}
p {
line-height: 24px;
margin: 0;
font-size: 16px;
margin-bottom: 24px
}
h1 {
font-size: 175%
}
h2, .rst-content .toctree-wrapper p.caption {
font-size: 150%
}
h3 {
font-size: 125%
}
h4 {
font-size: 115%
}
h5 {
font-size: 110%
}
h6 {
font-size: 100%
}
hr {
display: block;
height: 1px;
border: 0;
border-top: 1px solid #e1e4e5;
margin: 24px 0;
padding: 0
}
code, .rst-content tt, .rst-content code {
white-space: nowrap;
max-width: 100%;
background: #fff;
border: solid 1px #e1e4e5;
font-size: 75%;
padding: 0 5px;
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
color: #E74C3C;
overflow-x: auto
}
code.code-large, .rst-content tt.code-large {
font-size: 90%
}
.wy-plain-list-disc, .rst-content .section ul, .rst-content .toctree-wrapper ul, article ul {
list-style: disc;
line-height: 24px;
margin-bottom: 24px
}
.wy-plain-list-disc li, .rst-content .section ul li, .rst-content .toctree-wrapper ul li, article ul li {
list-style: disc;
margin-left: 24px
}
.wy-plain-list-disc li p:last-child, .rst-content .section ul li p:last-child, .rst-content .toctree-wrapper ul li p:last-child, article ul li p:last-child {
margin-bottom: 0
}
.wy-plain-list-disc li ul, .rst-content .section ul li ul, .rst-content .toctree-wrapper ul li ul, article ul li ul {
margin-bottom: 0
}
.wy-plain-list-disc li li, .rst-content .section ul li li, .rst-content .toctree-wrapper ul li li, article ul li li {
list-style: circle
}
.wy-plain-list-disc li li li, .rst-content .section ul li li li, .rst-content .toctree-wrapper ul li li li, article ul li li li {
list-style: square
}
.wy-plain-list-disc li ol li, .rst-content .section ul li ol li, .rst-content .toctree-wrapper ul li ol li, article ul li ol li {
list-style: decimal
}
.wy-plain-list-decimal, .rst-content .section ol, .rst-content ol.arabic, article ol {
list-style: decimal;
line-height: 24px;
margin-bottom: 24px
}
.wy-plain-list-decimal li, .rst-content .section ol li, .rst-content ol.arabic li, article ol li {
list-style: decimal;
margin-left: 24px
}
.wy-plain-list-decimal li p:last-child, .rst-content .section ol li p:last-child, .rst-content ol.arabic li p:last-child, article ol li p:last-child {
margin-bottom: 0
}
.wy-plain-list-decimal li ul, .rst-content .section ol li ul, .rst-content ol.arabic li ul, article ol li ul {
margin-bottom: 0
}
.wy-plain-list-decimal li ul li, .rst-content .section ol li ul li, .rst-content ol.arabic li ul li, article ol li ul li {
list-style: disc
}
.codeblock-example {
border: 1px solid #e1e4e5;
border-bottom: none;
padding: 24px;
padding-top: 48px;
font-weight: 500;
background: #fff;
position: relative
}
.codeblock-example:after {
content: "Example";
position: absolute;
top: 0px;
left: 0px;
background: #9B59B6;
color: #fff;
padding: 6px 12px
}
.codeblock-example.prettyprint-example-only {
border: 1px solid #e1e4e5;
margin-bottom: 24px
}
.codeblock, pre.literal-block, .rst-content .literal-block, .rst-content pre.literal-block, div[class^='highlight'] {
border: 1px solid #e1e4e5;
padding: 0px;
overflow-x: auto;
background: #fff;
margin: 1px 0 24px 0
}
.codeblock div[class^='highlight'], pre.literal-block div[class^='highlight'], .rst-content .literal-block div[class^='highlight'], div[class^='highlight'] div[class^='highlight'] {
border: none;
background: none;
margin: 0
}
div[class^='highlight'] td.code {
width: 100%
}
.linenodiv pre {
border-right: solid 1px #e6e9ea;
margin: 0;
padding: 12px 12px;
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
font-size: 12px;
line-height: 1.5;
color: #d9d9d9
}
div[class^='highlight'] pre {
white-space: pre;
margin: 0;
padding: 12px 12px;
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
font-size: 12px;
line-height: 1.5;
display: block;
overflow: auto;
color: #404040
}
@media print {
.codeblock, pre.literal-block, .rst-content .literal-block, .rst-content pre.literal-block, div[class^='highlight'], div[class^='highlight'] pre {
white-space: pre-wrap
}
}
.hll {
background-color: #ffc;
margin: 0 -12px;
padding: 0 12px;
display: block
}
.c {
color: #998;
font-style: italic
}
.err {
color: #a61717;
background-color: #e3d2d2
}
.k {
font-weight: bold
}
.o {
font-weight: bold
}
.cm {
color: #998;
font-style: italic
}
.cp {
color: #999;
font-weight: bold
}
.c1 {
color: #998;
font-style: italic
}
.cs {
color: #999;
font-weight: bold;
font-style: italic
}
.gd {
color: #000;
background-color: #fdd
}
.gd .x {
color: #000;
background-color: #faa
}
.ge {
font-style: italic
}
.gr {
color: #a00
}
.gh {
color: #999
}
.gi {
color: #000;
background-color: #dfd
}
.gi .x {
color: #000;
background-color: #afa
}
.go {
color: #888
}
.gp {
color: #555
}
.gs {
font-weight: bold
}
.gu {
color: purple;
font-weight: bold
}
.gt {
color: #a00
}
.kc {
font-weight: bold
}
.kd {
font-weight: bold
}
.kn {
font-weight: bold
}
.kp {
font-weight: bold
}
.kr {
font-weight: bold
}
.kt {
color: #458;
font-weight: bold
}
.m {
color: #099
}
.s {
color: #d14
}
.n {
color: #333
}
.na {
color: teal
}
.nb {
color: #0086b3
}
.nc {
color: #458;
font-weight: bold
}
.no {
color: teal
}
.ni {
color: purple
}
.ne {
color: #900;
font-weight: bold
}
.nf {
color: #900;
font-weight: bold
}
.nn {
color: #555
}
.nt {
color: navy
}
.nv {
color: teal
}
.ow {
font-weight: bold
}
.w {
color: #bbb
}
.mf {
color: #099
}
.mh {
color: #099
}
.mi {
color: #099
}
.mo {
color: #099
}
.sb {
color: #d14
}
.sc {
color: #d14
}
.sd {
color: #d14
}
.s2 {
color: #d14
}
.se {
color: #d14
}
.sh {
color: #d14
}
.si {
color: #d14
}
.sx {
color: #d14
}
.sr {
color: #009926
}
.s1 {
color: #d14
}
.ss {
color: #990073
}
.bp {
color: #999
}
.vc {
color: teal
}
.vg {
color: teal
}
.vi {
color: teal
}
.il {
color: #099
}
.gc {
color: #999;
background-color: #EAF2F5
}
.wy-breadcrumbs li {
display: inline-block
}
.wy-breadcrumbs li.wy-breadcrumbs-aside {
float: right
}
.wy-breadcrumbs li a {
display: inline-block;
padding: 5px
}
.wy-breadcrumbs li a:first-child {
padding-left: 0
}
.wy-breadcrumbs li code, .wy-breadcrumbs li .rst-content tt, .rst-content .wy-breadcrumbs li tt {
padding: 5px;
border: none;
background: none
}
.wy-breadcrumbs li code.literal, .wy-breadcrumbs li .rst-content tt.literal, .rst-content .wy-breadcrumbs li tt.literal {
color: #404040
}
.wy-breadcrumbs-extra {
margin-bottom: 0;
color: #b3b3b3;
font-size: 80%;
display: inline-block
}
@media screen and (max-width: 480px) {
.wy-breadcrumbs-extra {
display: none
}
.wy-breadcrumbs li.wy-breadcrumbs-aside {
display: none
}
}
@media print {
.wy-breadcrumbs li.wy-breadcrumbs-aside {
display: none
}
}
.wy-affix {
position: fixed;
top: 1.618em
}
.wy-menu a:hover {
text-decoration: none
}
.wy-menu-horiz {
*zoom: 1
}
.wy-menu-horiz:before, .wy-menu-horiz:after {
display: table;
content: ""
}
.wy-menu-horiz:after {
clear: both
}
.wy-menu-horiz ul, .wy-menu-horiz li {
display: inline-block
}
.wy-menu-horiz li:hover {
background: rgba(255, 255, 255, 0.1)
}
.wy-menu-horiz li.divide-left {
border-left: solid 1px #404040
}
.wy-menu-horiz li.divide-right {
border-right: solid 1px #404040
}
.wy-menu-horiz a {
height: 32px;
display: inline-block;
line-height: 32px;
padding: 0 16px
}
.wy-menu-vertical {
width: 300px
}
.wy-menu-vertical header, .wy-menu-vertical p.caption {
height: 32px;
display: inline-block;
line-height: 32px;
padding: 0 1.618em;
margin-bottom: 0;
display: block;
font-weight: bold;
text-transform: uppercase;
font-size: 80%;
color: #555;
white-space: nowrap
}
.wy-menu-vertical ul {
margin-bottom: 0
}
.wy-menu-vertical li.divide-top {
border-top: solid 1px #404040
}
.wy-menu-vertical li.divide-bottom {
border-bottom: solid 1px #404040
}
.wy-menu-vertical li.current {
background: #f8f8f8
}
.wy-menu-vertical li.current a {
color: gray;
padding: .4045em 2.427em
}
.wy-menu-vertical li.current a:hover {
background: #eeeeee
}
.wy-menu-vertical li code, .wy-menu-vertical li .rst-content tt, .rst-content .wy-menu-vertical li tt {
border: none;
background: inherit;
color: inherit;
padding-left: 0;
padding-right: 0
}
.wy-menu-vertical li span.toctree-expand {
display: block;
float: left;
margin-left: -1.2em;
font-size: 0.8em;
line-height: 1.6em;
color: #4d4d4d
}
.wy-menu-vertical li.on a, .wy-menu-vertical li.current > a {
color: #404040;
padding: .4045em 1.618em;
font-weight: bold;
position: relative;
background: #e8e8e8;
border: none;
padding-left: 1.618em -4px
}
.wy-menu-vertical li.on a:hover, .wy-menu-vertical li.current > a:hover {
background: #fcfcfc
}
.wy-menu-vertical li.on a:hover span.toctree-expand, .wy-menu-vertical li.current > a:hover span.toctree-expand {
color: gray
}
.wy-menu-vertical li.on a span.toctree-expand, .wy-menu-vertical li.current > a span.toctree-expand {
display: block;
font-size: 0.8em;
line-height: 1.6em;
color: #333
}
.wy-menu-vertical li.toctree-l1.current li.toctree-l2 > ul, .wy-menu-vertical li.toctree-l2.current li.toctree-l3 > ul {
display: none
}
.wy-menu-vertical li.toctree-l1.current li.toctree-l2.current > ul, .wy-menu-vertical li.toctree-l2.current li.toctree-l3.current > ul {
display: block
}
.wy-menu-vertical li.toctree-l2.current > a {
background: #eeeeee;
padding: .4045em 2.427em
}
.wy-menu-vertical li.toctree-l2.current li.toctree-l3 > a {
display: block;
background: #eeeeee;
padding: .4045em 4.045em
}
.wy-menu-vertical li.toctree-l2 a:hover span.toctree-expand {
color: gray
}
.wy-menu-vertical li.toctree-l2 span.toctree-expand {
color: #a3a3a3
}
.wy-menu-vertical li.toctree-l3 {
font-size: 0.9em
}
.wy-menu-vertical li.toctree-l3.current > a {
background: #dddddd;
padding: .4045em 4.045em
}
.wy-menu-vertical li.toctree-l3.current li.toctree-l4 > a {
display: block;
background: #dddddd;
padding: .4045em 5.663em;
border-top: none;
border-bottom: none
}
.wy-menu-vertical li.toctree-l3 a:hover span.toctree-expand {
color: gray
}
.wy-menu-vertical li.toctree-l3 span.toctree-expand {
color: #969696
}
.wy-menu-vertical li.toctree-l4 {
font-size: 0.9em
}
.wy-menu-vertical li.current ul {
display: block
}
.wy-menu-vertical li ul {
margin-bottom: 0;
display: none
}
.wy-menu-vertical .local-toc li ul {
display: block
}
.wy-menu-vertical li ul li a {
margin-bottom: 0;
color: #b3b3b3;
font-weight: normal
}
.wy-menu-vertical a {
display: inline-block;
line-height: 18px;
padding: .4045em 1.618em;
display: block;
position: relative;
font-size: 90%;
color: #8E44B3
}
.wy-menu-vertical a:hover {
background-color: #eeeeee;
cursor: pointer
}
.wy-menu-vertical a:hover span.toctree-expand {
color: #b3b3b3
}
.wy-menu-vertical a:active {
background-color: #eeeeee;
cursor: pointer;
}
.wy-menu-vertical a:active span.toctree-expand {
color: #fff
}
.wy-side-nav-search {
display: block;
width: 300px;
padding: .809em;
margin-bottom: .809em;
z-index: 200;
background-color: #3b1c4a;
text-align: center;
padding: .809em;
display: block;
color: #fcfcfc;
margin-bottom: .809em
}
.wy-side-nav-search input[type=text] {
width: 100%;
padding: 6px 12px;
border-color: #2472a4
}
.wy-side-nav-search img {
display: block;
margin: auto auto .809em auto;
height: 45px;
width: 45px;
background-color: #3b1c4a;
border-radius: 100%
}
.wy-side-nav-search > a, .wy-side-nav-search .wy-dropdown > a {
color: #fcfcfc;
font-size: 100%;
font-weight: bold;
display: inline-block;
margin-top: .405em;
margin-bottom: .809em;
}
.wy-side-nav-search > a:hover, .wy-side-nav-search .wy-dropdown > a:hover {
background: rgba(255, 255, 255, 0.1)
}
.wy-side-nav-search > a img.logo, .wy-side-nav-search .wy-dropdown > a img.logo {
display: block;
margin: 0 auto;
height: 50px;
width: auto;
border-radius: 0;
max-width: 100%;
background: transparent
}
.wy-side-nav-search > a.icon img.logo, .wy-side-nav-search .wy-dropdown > a.icon img.logo {
margin-top: 0.85em
}
div.version {
font-weight: normal;
text-align: center;
color: #aaaaaa;
font-size: 11px;
margin: .4045em 0;
}
.wy-nav .wy-menu-vertical header {
color: #2980B
}
.wy-nav .wy-menu-vertical a {
color: #b3b3b3
}
.wy-nav .wy-menu-vertical a:hover {
color: #fff
}
[data-menu-wrap] {
-webkit-transition: all 0.2s ease-in;
-moz-transition: all 0.2s ease-in;
transition: all 0.2s ease-in;
position: absolute;
opacity: 1;
width: 100%;
opacity: 0
}
[data-menu-wrap].move-center {
left: 0;
right: auto;
opacity: 1
}
[data-menu-wrap].move-left {
right: auto;
left: -100%;
opacity: 0
}
[data-menu-wrap].move-right {
right: -100%;
left: auto;
opacity: 0
}
.wy-body-for-nav {
background: left repeat-y #fcfcfc;
background-image: url(data:image/png;base64,your_sha256_hashyour_sha256_hashAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashRD0ieG1wLmRpZDoxOERBMTRGRTBFMUUxMUUzODUwMkJCOThDMEVFNURFMCI+your_sha256_hashyour_sha256_hashPSJ4bXAuZGlkOjE4REExNEZDMEUxRTExRTM4NTAyQkI5OEMwRUU1REUwIi8+IDwvcmRmOkRlc2NyaXB0aW9uPiA8L3JkZjpSREY+IDwveDp4bXBtZXRhPiA8P3hwYWNrZXQgZW5kPSJyIj8+EwrlwAAAAA5JREFUeNpiMDU0BAgwAAE2AJgB9BnaAAAAAElFTkSuQmCC);
background-size: 300px 1px
}
.wy-grid-for-nav {
position: absolute;
width: 100%;
height: 100%
}
.wy-nav-side {
position: fixed;
top: 0;
bottom: 0;
left: 0;
padding-bottom: 2em;
width: 300px;
overflow-x: hidden;
overflow-y: hidden;
min-height: 100%;
background: #F8F8F8;
border-right: 1px solid #e7e7e7;
z-index: 200
}
.wy-side-scroll {
width: 320px;
position: relative;
overflow-x: hidden;
overflow-y: scroll;
height: 100%
}
.wy-nav-top {
display: none;
background: #3b1c4a;
color: #fff;
padding: .4045em .809em;
position: relative;
line-height: 50px;
text-align: center;
font-size: 100%;
*zoom: 1
}
.wy-nav-top:before, .wy-nav-top:after {
display: table;
content: ""
}
.wy-nav-top:after {
clear: both
}
.wy-nav-top a {
color: #fff;
font-weight: bold
}
.wy-nav-top img {
margin-right: 12px;
height: 45px;
width: 45px;
background-color: #3b1c4a;
padding: 5px;
border-radius: 100%
}
.wy-nav-top i {
font-size: 30px;
float: left;
cursor: pointer;
padding-top: inherit
}
.wy-nav-content-wrap {
margin-left: 300px;
background: #fcfcfc;
min-height: 100%
}
.wy-nav-content {
padding: 1.618em 3.236em;
height: 100%;
max-width: 800px;
margin: auto
}
.wy-body-mask {
position: fixed;
width: 100%;
height: 100%;
background: rgba(0, 0, 0, 0.2);
display: none;
z-index: 499
}
.wy-body-mask.on {
display: block
}
footer {
color: #999
}
footer p {
margin-bottom: 12px
}
footer span.commit code, footer span.commit .rst-content tt, .rst-content footer span.commit tt {
padding: 0px;
font-family: Consolas, "Andale Mono WT", "Andale Mono", "Lucida Console", "Lucida Sans Typewriter", "DejaVu Sans Mono", "Bitstream Vera Sans Mono", "Liberation Mono", "Nimbus Mono L", Monaco, "Courier New", Courier, monospace;
font-size: 1em;
background: none;
border: none;
color: #999
}
.rst-footer-buttons {
*zoom: 1
}
.rst-footer-buttons:before, .rst-footer-buttons:after {
display: table;
content: ""
}
.rst-footer-buttons:after {
clear: both
}
.rst-breadcrumbs-buttons {
margin-top: 12px;
*zoom: 1
}
.rst-breadcrumbs-buttons:before, .rst-breadcrumbs-buttons:after {
display: table;
content: ""
}
.rst-breadcrumbs-buttons:after {
clear: both
}
#search-results .search li {
margin-bottom: 24px;
border-bottom: solid 1px #e1e4e5;
padding-bottom: 24px
}
#search-results .search li:first-child {
border-top: solid 1px #e1e4e5;
padding-top: 24px
}
#search-results .search li a {
font-size: 120%;
margin-bottom: 12px;
display: inline-block
}
#search-results .context {
color: gray;
font-size: 90%
}
@media screen and (max-width: 768px) {
.wy-body-for-nav {
background: #fcfcfc
}
.wy-nav-top {
display: block
}
.wy-nav-side {
left: -300px
}
.wy-nav-side.shift {
width: 85%;
left: 0
}
.wy-side-scroll {
width: auto
}
.wy-side-nav-search {
width: auto
}
.wy-menu.wy-menu-vertical {
width: auto
}
.wy-nav-content-wrap {
margin-left: 0
}
.wy-nav-content-wrap .wy-nav-content {
padding: 1.618em
}
.wy-nav-content-wrap.shift {
position: fixed;
min-width: 100%;
left: 85%;
top: 0;
height: 100%;
overflow: hidden
}
}
@media screen and (min-width: 1400px) {
.wy-nav-content-wrap {
background: rgba(0, 0, 0, 0.05)
}
.wy-nav-content {
margin: 0;
background: #fcfcfc
}
}
@media print {
.rst-versions, footer, .wy-nav-side {
display: none
}
.wy-nav-content-wrap {
margin-left: 0
}
}
.rst-versions {
position: fixed;
bottom: 0;
left: 0;
width: 300px;
color: #fcfcfc;
background: #1f1d1d;
border-top: solid 10px #343131;
font-family: "Open Sans", Helvetica, "Helvetica Neue", Arial, sans-serif;
z-index: 400
}
.rst-versions a {
color: #3b1c4a;
text-decoration: none
}
.rst-versions .rst-badge-small {
display: none
}
.rst-versions .rst-current-version {
padding: 12px;
background-color: #272525;
display: block;
text-align: right;
font-size: 90%;
cursor: pointer;
color: #27AE60;
*zoom: 1
}
.rst-versions .rst-current-version:before, .rst-versions .rst-current-version:after {
display: table;
content: ""
}
.rst-versions .rst-current-version:after {
clear: both
}
.rst-versions .rst-current-version .fa, .rst-versions .rst-current-version .wy-menu-vertical li span.toctree-expand, .wy-menu-vertical li .rst-versions .rst-current-version span.toctree-expand, .rst-versions .rst-current-version .rst-content .admonition-title, .rst-content .rst-versions .rst-current-version .admonition-title, .rst-versions .rst-current-version .rst-content h1 .headerlink, .rst-content h1 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content h2 .headerlink, .rst-content h2 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content h3 .headerlink, .rst-content h3 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content h4 .headerlink, .rst-content h4 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content h5 .headerlink, .rst-content h5 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content h6 .headerlink, .rst-content h6 .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content dl dt .headerlink, .rst-content dl dt .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content p.caption .headerlink, .rst-content p.caption .rst-versions .rst-current-version .headerlink, .rst-versions .rst-current-version .rst-content tt.download span:first-child, .rst-content tt.download .rst-versions .rst-current-version span:first-child, .rst-versions .rst-current-version .rst-content code.download span:first-child, .rst-content code.download .rst-versions .rst-current-version span:first-child, .rst-versions .rst-current-version .icon {
color: #fcfcfc
}
.rst-versions .rst-current-version .fa-book, .rst-versions .rst-current-version .icon-book {
float: left
}
.rst-versions .rst-current-version .icon-book {
float: left
}
.rst-versions .rst-current-version.rst-out-of-date {
background-color: #E74C3C;
color: #fff
}
.rst-versions .rst-current-version.rst-active-old-version {
background-color: #F1C40F;
color: #000
}
.rst-versions.shift-up .rst-other-versions {
display: block
}
.rst-versions .rst-other-versions {
font-size: 90%;
padding: 12px;
color: gray;
display: none
}
.rst-versions .rst-other-versions hr {
display: block;
height: 1px;
border: 0;
margin: 20px 0;
padding: 0;
border-top: solid 1px #413d3d
}
.rst-versions .rst-other-versions dd {
display: inline-block;
margin: 0
}
.rst-versions .rst-other-versions dd a {
display: inline-block;
padding: 6px;
color: #fcfcfc
}
.rst-versions.rst-badge {
width: auto;
bottom: 20px;
right: 20px;
left: auto;
border: none;
max-width: 300px
}
.rst-versions.rst-badge .icon-book {
float: none
}
.rst-versions.rst-badge .fa-book, .rst-versions.rst-badge .icon-book {
float: none
}
.rst-versions.rst-badge.shift-up .rst-current-version {
text-align: right
}
.rst-versions.rst-badge.shift-up .rst-current-version .fa-book, .rst-versions.rst-badge.shift-up .rst-current-version .icon-book {
float: left
}
.rst-versions.rst-badge.shift-up .rst-current-version .icon-book {
float: left
}
.rst-versions.rst-badge .rst-current-version {
width: auto;
height: 30px;
line-height: 30px;
padding: 0 6px;
display: block;
text-align: center
}
@media screen and (max-width: 768px) {
.rst-versions {
width: 85%;
display: none
}
.rst-versions.shift {
display: block
}
}
.rst-content img {
max-width: 100%;
height: auto !important
}
.rst-content .highlight > pre {
line-height: normal
}
.rst-content div.figure {
margin-bottom: 24px
}
.rst-content div.figure p.caption {
font-style: italic
}
.rst-content div.figure.align-center {
text-align: center
}
.rst-content .section > img, .rst-content .section > a > img {
margin-bottom: 24px
}
.rst-content blockquote {
margin-left: 24px;
line-height: 24px;
margin-bottom: 24px
}
.rst-content .note .last, .rst-content .attention .last, .rst-content .caution .last, .rst-content .danger .last, .rst-content .error .last, .rst-content .hint .last, .rst-content .important .last, .rst-content .tip .last, .rst-content .warning .last, .rst-content .seealso .last, .rst-content .admonition-todo .last {
margin-bottom: 0
}
.rst-content .admonition-title:before {
margin-right: 4px
}
.rst-content .admonition table {
border-color: rgba(0, 0, 0, 0.1)
}
.rst-content .admonition table td, .rst-content .admonition table th {
background: transparent !important;
border-color: rgba(0, 0, 0, 0.1) !important
}
.rst-content .section ol.loweralpha, .rst-content .section ol.loweralpha li {
list-style: lower-alpha
}
.rst-content .section ol.upperalpha, .rst-content .section ol.upperalpha li {
list-style: upper-alpha
}
.rst-content .section ol p, .rst-content .section ul p {
margin-bottom: 12px
}
.rst-content .line-block {
margin-left: 24px
}
.rst-content .topic-title {
font-weight: bold;
margin-bottom: 12px
}
.rst-content .toc-backref {
color: #404040
}
.rst-content .align-right {
float: right;
margin: 0px 0px 24px 24px
}
.rst-content .align-left {
float: left;
margin: 0px 24px 24px 0px
}
.rst-content .align-center {
margin: auto;
display: block
}
.rst-content h1 .headerlink, .rst-content h2 .headerlink, .rst-content .toctree-wrapper p.caption .headerlink, .rst-content h3 .headerlink, .rst-content h4 .headerlink, .rst-content h5 .headerlink, .rst-content h6 .headerlink, .rst-content dl dt .headerlink, .rst-content p.caption .headerlink {
display: none;
visibility: hidden;
font-size: 14px
}
.rst-content h1 .headerlink:after, .rst-content h2 .headerlink:after, .rst-content .toctree-wrapper p.caption .headerlink:after, .rst-content h3 .headerlink:after, .rst-content h4 .headerlink:after, .rst-content h5 .headerlink:after, .rst-content h6 .headerlink:after, .rst-content dl dt .headerlink:after, .rst-content p.caption .headerlink:after {
visibility: visible;
content: "";
font-family: FontAwesome;
display: inline-block
}
.rst-content h1:hover .headerlink, .rst-content h2:hover .headerlink, .rst-content .toctree-wrapper p.caption:hover .headerlink, .rst-content h3:hover .headerlink, .rst-content h4:hover .headerlink, .rst-content h5:hover .headerlink, .rst-content h6:hover .headerlink, .rst-content dl dt:hover .headerlink, .rst-content p.caption:hover .headerlink {
display: inline-block
}
.rst-content .sidebar {
float: right;
width: 40%;
display: block;
margin: 0 0 24px 24px;
padding: 24px;
background: #f3f6f6;
border: solid 1px #e1e4e5
}
.rst-content .sidebar p, .rst-content .sidebar ul, .rst-content .sidebar dl {
font-size: 90%
}
.rst-content .sidebar .last {
margin-bottom: 0
}
.rst-content .sidebar .sidebar-title {
display: block;
font-family: "Open Sans", Helvetica, Arial, sans-serif;
font-weight: bold;
background: #e1e4e5;
padding: 6px 12px;
margin: -24px;
margin-bottom: 24px;
font-size: 100%
}
.rst-content .highlighted {
background: #F1C40F;
display: inline-block;
font-weight: bold;
padding: 0 6px
}
.rst-content .footnote-reference, .rst-content .citation-reference {
vertical-align: super;
font-size: 90%
}
.rst-content table.docutils.citation, .rst-content table.docutils.footnote {
background: none;
border: none;
color: #999
}
.rst-content table.docutils.citation td, .rst-content table.docutils.citation tr, .rst-content table.docutils.footnote td, .rst-content table.docutils.footnote tr {
border: none;
background-color: transparent !important;
white-space: normal
}
.rst-content table.docutils.citation td.label, .rst-content table.docutils.footnote td.label {
padding-left: 0;
padding-right: 0;
vertical-align: top
}
.rst-content table.docutils.citation tt, .rst-content table.docutils.citation code, .rst-content table.docutils.footnote tt, .rst-content table.docutils.footnote code {
color: #555
}
.rst-content table.field-list {
border: none
}
.rst-content table.field-list td {
border: none;
padding-top: 5px
}
.rst-content table.field-list td > strong {
display: inline-block;
margin-top: 3px
}
.rst-content table.field-list .field-name {
padding-right: 10px;
text-align: left;
white-space: nowrap
}
.rst-content table.field-list .field-body {
text-align: left;
padding-left: 0
}
.rst-content tt, .rst-content tt, .rst-content code {
color: #000;
padding: 2px 5px
}
.rst-content tt big, .rst-content tt em, .rst-content tt big, .rst-content code big, .rst-content tt em, .rst-content code em {
font-size: 100% !important;
line-height: normal
}
.rst-content tt.literal, .rst-content tt.literal, .rst-content code.literal {
color: #E74C3C
}
.rst-content tt.xref, a .rst-content tt, .rst-content tt.xref, .rst-content code.xref, a .rst-content tt, a .rst-content code {
font-weight: bold;
color: #404040
}
.rst-content a tt, .rst-content a tt, .rst-content a code {
color: #3b1c4a
}
.rst-content dl {
margin-bottom: 24px
}
.rst-content dl dt {
font-weight: bold
}
.rst-content dl p, .rst-content dl table, .rst-content dl ul, .rst-content dl ol {
margin-bottom: 12px !important
}
.rst-content dl dd {
margin: 0 0 12px 24px
}
.rst-content dl:not(.docutils) {
margin-bottom: 24px
}
.rst-content dl:not(.docutils) dt {
display: inline-block;
margin: 6px 0;
font-size: 90%;
line-height: normal;
background: #e7f2fa;
color: #3b1c4a;
border-top: solid 3px #6ab0de;
padding: 6px;
position: relative
}
.rst-content dl:not(.docutils) dt:before {
color: #6ab0de
}
.rst-content dl:not(.docutils) dt .headerlink {
color: #404040;
font-size: 100% !important
}
.rst-content dl:not(.docutils) dl dt {
margin-bottom: 6px;
border: none;
border-left: solid 3px #ccc;
background: #f0f0f0;
color: #555
}
.rst-content dl:not(.docutils) dl dt .headerlink {
color: #404040;
font-size: 100% !important
}
.rst-content dl:not(.docutils) dt:first-child {
margin-top: 0
}
.rst-content dl:not(.docutils) tt, .rst-content dl:not(.docutils) tt, .rst-content dl:not(.docutils) code {
font-weight: bold
}
.rst-content dl:not(.docutils) tt.descname, .rst-content dl:not(.docutils) tt.descclassname, .rst-content dl:not(.docutils) tt.descname, .rst-content dl:not(.docutils) code.descname, .rst-content dl:not(.docutils) tt.descclassname, .rst-content dl:not(.docutils) code.descclassname {
background-color: transparent;
border: none;
padding: 0;
font-size: 100% !important
}
.rst-content dl:not(.docutils) tt.descname, .rst-content dl:not(.docutils) tt.descname, .rst-content dl:not(.docutils) code.descname {
font-weight: bold
}
.rst-content dl:not(.docutils) .optional {
display: inline-block;
padding: 0 4px;
color: #000;
font-weight: bold
}
.rst-content dl:not(.docutils) .property {
display: inline-block;
padding-right: 8px
}
.rst-content .viewcode-link, .rst-content .viewcode-back {
display: inline-block;
color: #27AE60;
font-size: 80%;
padding-left: 24px
}
.rst-content .viewcode-back {
display: block;
float: right
}
.rst-content p.rubric {
margin-bottom: 12px;
font-weight: bold
}
.rst-content tt.download, .rst-content code.download {
background: inherit;
padding: inherit;
font-weight: normal;
font-family: inherit;
font-size: inherit;
color: inherit;
border: inherit;
white-space: inherit
}
.rst-content tt.download span:first-child, .rst-content code.download span:first-child {
-webkit-font-smoothing: subpixel-antialiased
}
.rst-content tt.download span:first-child:before, .rst-content code.download span:first-child:before {
margin-right: 4px
}
.rst-content .guilabel {
border: 1px solid #7fbbe3;
background: #e7f2fa;
font-size: 80%;
font-weight: 700;
border-radius: 4px;
padding: 2.4px 6px;
margin: auto 2px
}
@media screen and (max-width: 480px) {
.rst-content .sidebar {
width: 100%
}
}
span[id*='MathJax-Span'] {
color: #404040
}
.math {
text-align: center
}
@font-face {
font-family: 'Open Sans';
src: url('../opensans_bold_macroman/OpenSans-Bold-webfont.eot');
src: url('../opensans_bold_macroman/OpenSans-Bold-webfont.eot?#iefix') format('embedded-opentype'),
url('../opensans_bold_macroman/OpenSans-Bold-webfont.woff') format('woff'),
url('../opensans_bold_macroman/OpenSans-Bold-webfont.ttf') format('truetype'),
url('../opensans_bold_macroman/OpenSans-Bold-webfont.svg#open_sansbold') format('svg');
font-weight: 700;
font-style: normal;
}
@font-face {
font-family: 'Open Sans';
src: url('../opensans_bolditalic_macroman/OpenSans-BoldItalic-webfont.eot');
src: url('../opensans_bolditalic_macroman/OpenSans-BoldItalic-webfont.eot?#iefix') format('embedded-opentype'),
url('../opensans_bolditalic_macroman/OpenSans-BoldItalic-webfont.woff') format('woff'),
url('../opensans_bolditalic_macroman/OpenSans-BoldItalic-webfont.ttf') format('truetype'),
url('../opensans_bolditalic_macroman/OpenSans-BoldItalic-webfont.svg#open_sansbold_italic') format('svg');
font-weight: 700;
font-style: italic;
}
@font-face {
font-family: 'Open Sans';
src: url('../opensans_italic_macroman/OpenSans-Italic-webfont.eot');
src: url('../opensans_italic_macroman/OpenSans-Italic-webfont.eot?#iefix') format('embedded-opentype'),
url('../opensans_italic_macroman/OpenSans-Italic-webfont.woff') format('woff'),
url('../opensans_italic_macroman/OpenSans-Italic-webfont.ttf') format('truetype'),
url('../opensans_italic_macroman/OpenSans-Italic-webfont.svg#open_sansitalic') format('svg');
font-weight: normal;
font-style: italic;
}
@font-face {
font-family: 'Open Sans';
src: url('../opensans_regular_macroman/OpenSans-Regular-webfont.eot');
src: url('../opensans_regular_macroman/OpenSans-Regular-webfont.eot?#iefix') format('embedded-opentype'),
url('../opensans_regular_macroman/OpenSans-Regular-webfont.woff') format('woff'),
url('../opensans_regular_macroman/OpenSans-Regular-webfont.ttf') format('truetype'),
url('../opensans_regular_macroman/OpenSans-Regular-webfont.svg#open_sansregular') format('svg');
font-weight: 400;
font-style: normal;
}
/* Frontpage */
.sectionbox {
width: 50%;
float: left;
min-height: 70px;
}
.sectionbox .icon {
float: left;
font-size: 48px;
width: 70px;
text-align: center;
}
.sectionbox .text {
margin-left: 70px;
}
@media screen and (max-width: 480px) {
.sectionbox {
width: 100%;
float: none;
}
}
/* REST */
@media screen and (min-width: 480px) {
.wy-table-responsive table.rest-resource-table td, .wy-table-responsive table.rest-resource-table th {
white-space: normal;
}
}
img.screenshot, a.screenshot img {
box-shadow: 0 4px 18px 0 rgba(0,0,0,0.1), 0 6px 20px 0 rgba(0,0,0,0.09);
}
/* Changes */
.versionchanged {
background: #e7f2fa;
padding: 12px;
line-height: 24px;
margin-bottom: 24px;
-webkit-font-smoothing: antialiased;
}
.versionmodified {
background: #6ab0de;
font-weight: bold;
display: block;
color: #fff;
margin: -12px;
padding: 6px 12px;
margin-bottom: 12px;
font-family: inherit;
}
.versionmodified:before {
font-family: "FontAwesome";
display: inline-block;
font-style: normal;
font-weight: normal;
line-height: 1;
text-decoration: inherit;
content: "";
margin-right: 4px;
}
.versionchanged p:last-child {
margin-bottom: 0;
}
.rst-content td > .line-block {
margin-left: 0 !important;
}
```
|
Treworgan Manor, Llansoy, Monmouthshire is a country house dating from the early 18th century. Its origins are older, from the 16th century. Long in the possession of the Prichard (less commonly, Pritchard) family, it changed hands a number of times in later centuries and remains a private residence. The house is Grade II* listed, its listing describing it as a "fine Renaissance house". An adjacent barn has its own Grade II Listing.
History
The original house dates from the very early 1600s. The Monmouthshire antiquarian Sir Joseph Bradney records a datestone showing DP 1605, but this is no longer in situ. According to Bradney, the "DP" refers David Prichard, member of a notable Monmouthshire family who served as High Sheriffs of the county. Walter Prichard is recorded as having played bowls with Charles I at nearby Raglan Castle. Bradney reproduces an illustration of an oil painting showing the house in an elaborate 17th century garden. The house is approached through an avenue of poplar trees and is set in grounds ornamentated by fountains, statuary and parterres. The original of the painting is now at St Fagans Castle, although a copy remains at Treworgan. In the early 1700s, the house was significantly expanded. Sir Cyril Fox and Lord Raglan, in their three-volume study, Monmouthshire Houses, date the rebuilding to 1700–1714. Passing through a number of owners from the 18th to the 21st centuries, the manor remains privately owned and serves as the farmhouse for a working estate.
Architecture and description
The architectural historian John Newman describes the setting of the manor as "uncomfortably close to the A449". The earliest part of the house faces this road and is constructed in stone. The larger, two-storey extension is of brick, with five bays. The manor is listed Grade II*, its listing recording it as "a fine Renaissance house with good interior detail". A barn adjacent to the house has its own Grade II listing.
Notes
References
Grade II* listed buildings in Monmouthshire
Country houses in Wales
Grade II* listed houses
|
```sqlpl
-- We have different output files for the executor. This is because
-- we don't mark transactions with ANALYZE as critical anymore, and
-- get WARNINGs instead of ERRORs.
SET citus.next_shard_id TO 12000000;
SELECT citus.mitmproxy('conn.allow()');
SET citus.shard_count = 1;
SET citus.shard_replication_factor = 2; -- one shard per worker
CREATE TABLE vacuum_test (key int, value int);
SELECT create_distributed_table('vacuum_test', 'key');
SELECT citus.clear_network_traffic();
SELECT citus.mitmproxy('conn.onQuery(query="^VACUUM").kill()');
VACUUM vacuum_test;
SELECT citus.mitmproxy('conn.onQuery(query="^ANALYZE").kill()');
ANALYZE vacuum_test;
SET client_min_messages TO ERROR;
SELECT citus.mitmproxy('conn.onQuery(query="^COMMIT").kill()');
ANALYZE vacuum_test;
RESET client_min_messages;
SELECT citus.mitmproxy('conn.allow()');
SELECT recover_prepared_transactions();
-- ANALYZE transactions being critical is an open question, see #2430
-- show that we never mark as INVALID on COMMIT FAILURE
SELECT shardid, shardstate FROM pg_dist_shard_placement where shardstate != 1 AND
shardid in ( SELECT shardid FROM pg_dist_shard WHERE logicalrelid = 'vacuum_test'::regclass);
-- the same tests with cancel
SELECT citus.mitmproxy('conn.onQuery(query="^VACUUM").cancel(' || pg_backend_pid() || ')');
VACUUM vacuum_test;
SELECT citus.mitmproxy('conn.onQuery(query="^ANALYZE").cancel(' || pg_backend_pid() || ')');
ANALYZE vacuum_test;
-- cancel during COMMIT should be ignored
SELECT citus.mitmproxy('conn.onQuery(query="^COMMIT").cancel(' || pg_backend_pid() || ')');
ANALYZE vacuum_test;
SELECT citus.mitmproxy('conn.allow()');
CREATE TABLE other_vacuum_test (key int, value int);
SELECT create_distributed_table('other_vacuum_test', 'key');
SELECT citus.mitmproxy('conn.onQuery(query="^VACUUM.*other").kill()');
VACUUM vacuum_test, other_vacuum_test;
SELECT citus.mitmproxy('conn.onQuery(query="^VACUUM.*other").cancel(' || pg_backend_pid() || ')');
VACUUM vacuum_test, other_vacuum_test;
-- ==== Clean up, we're done here ====
SELECT citus.mitmproxy('conn.allow()');
DROP TABLE vacuum_test, other_vacuum_test;
```
|
This is a list of Granta magazine issues.
Issues
1979–1989
1990–1999
2000–2009
2010–2019
2020–present
External links
All issues – Granta.com
Literary magazines published in the United Kingdom
Lists of magazine issues
|
Ralph H. Kress (July 10, 1904 – June 28, 1995) was an engineer who has been credited with designing off-road mining trucks. He was inducted into the National Mining Hall of Fame, who referred to him as "The Father Of The Off-Highway Truck", in 2001.
Kress attended night school at the Massachusetts Institute of Technology from 1933 through 1939, receiving an engineering degree. After working for General Motors, he was commissioned in the Transportation Corps in March 1943, and later received the Legion of Merit.
In 1950, he became general manager of Dart Truck Company. By being first to use exclusively power steering on a truck, he created larger trucks, such as the Dart 75-TA. He joined Wabco (Haulpak) in 1955, and Caterpillar Inc. in 1962, retiring in 1969. He then joined Kress Corporation, his son's company, and developed further trucks, including one with 90-degree steering capability.
References
1904 births
1995 deaths
Place of birth missing
Place of death missing
American mechanical engineers
Caterpillar Inc. people
History of mining
MIT School of Engineering alumni
Mining engineers
People from Peoria, Illinois
Engineers from Massachusetts
Recipients of the Legion of Merit
Burials in Illinois
Engineers from Illinois
20th-century American engineers
|
```smalltalk
namespace Bit.BlazorUI;
internal static class BitOverlayJsRuntimeExtensions
{
internal static ValueTask<int> BitOverlayToggleScroll(this IJSRuntime jsRuntime, string scrollerSelector, bool isVisible)
{
return jsRuntime.InvokeAsync<int>("BitBlazorUI.Overlay.toggleScroll", scrollerSelector, isVisible);
}
}
```
|
```go
/**
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
/**
* AUTOMATICALLY GENERATED CODE - DO NOT MODIFY
*/
package services
import (
"fmt"
"strings"
"github.com/softlayer/softlayer-go/datatypes"
"github.com/softlayer/softlayer-go/session"
"github.com/softlayer/softlayer-go/sl"
)
// no documentation yet
type Billing_Currency struct {
Session *session.Session
Options sl.Options
}
// GetBillingCurrencyService returns an instance of the Billing_Currency SoftLayer service
func GetBillingCurrencyService(sess *session.Session) Billing_Currency {
return Billing_Currency{Session: sess}
}
func (r Billing_Currency) Id(id int) Billing_Currency {
r.Options.Id = &id
return r
}
func (r Billing_Currency) Mask(mask string) Billing_Currency {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Currency) Filter(filter string) Billing_Currency {
r.Options.Filter = filter
return r
}
func (r Billing_Currency) Limit(limit int) Billing_Currency {
r.Options.Limit = &limit
return r
}
func (r Billing_Currency) Offset(offset int) Billing_Currency {
r.Options.Offset = &offset
return r
}
// no documentation yet
func (r Billing_Currency) GetAllObjects() (resp []datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getAllObjects", nil, &r.Options, &resp)
return
}
// Retrieve The current exchange rate
func (r Billing_Currency) GetCurrentExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getCurrentExchangeRate", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency) GetObject() (resp datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getObject", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency) GetPrice(price *datatypes.Float64, formatOptions *datatypes.Container_Billing_Currency_Format) (resp string, err error) {
params := []interface{}{
price,
formatOptions,
}
err = r.Session.DoRequest("SoftLayer_Billing_Currency", "getPrice", params, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Currency_Country data type maps what currencies are valid for specific countries. US Dollars are valid from any country, but other currencies are only available to customers in certain countries.
type Billing_Currency_Country struct {
Session *session.Session
Options sl.Options
}
// GetBillingCurrencyCountryService returns an instance of the Billing_Currency_Country SoftLayer service
func GetBillingCurrencyCountryService(sess *session.Session) Billing_Currency_Country {
return Billing_Currency_Country{Session: sess}
}
func (r Billing_Currency_Country) Id(id int) Billing_Currency_Country {
r.Options.Id = &id
return r
}
func (r Billing_Currency_Country) Mask(mask string) Billing_Currency_Country {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Currency_Country) Filter(filter string) Billing_Currency_Country {
r.Options.Filter = filter
return r
}
func (r Billing_Currency_Country) Limit(limit int) Billing_Currency_Country {
r.Options.Limit = &limit
return r
}
func (r Billing_Currency_Country) Offset(offset int) Billing_Currency_Country {
r.Options.Offset = &offset
return r
}
// no documentation yet
func (r Billing_Currency_Country) GetCountriesWithListOfEligibleCurrencies() (resp []datatypes.Container_Billing_Currency_Country, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_Country", "getCountriesWithListOfEligibleCurrencies", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency_Country) GetObject() (resp datatypes.Billing_Currency_Country, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_Country", "getObject", nil, &r.Options, &resp)
return
}
// no documentation yet
type Billing_Currency_ExchangeRate struct {
Session *session.Session
Options sl.Options
}
// GetBillingCurrencyExchangeRateService returns an instance of the Billing_Currency_ExchangeRate SoftLayer service
func GetBillingCurrencyExchangeRateService(sess *session.Session) Billing_Currency_ExchangeRate {
return Billing_Currency_ExchangeRate{Session: sess}
}
func (r Billing_Currency_ExchangeRate) Id(id int) Billing_Currency_ExchangeRate {
r.Options.Id = &id
return r
}
func (r Billing_Currency_ExchangeRate) Mask(mask string) Billing_Currency_ExchangeRate {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Currency_ExchangeRate) Filter(filter string) Billing_Currency_ExchangeRate {
r.Options.Filter = filter
return r
}
func (r Billing_Currency_ExchangeRate) Limit(limit int) Billing_Currency_ExchangeRate {
r.Options.Limit = &limit
return r
}
func (r Billing_Currency_ExchangeRate) Offset(offset int) Billing_Currency_ExchangeRate {
r.Options.Offset = &offset
return r
}
// no documentation yet
func (r Billing_Currency_ExchangeRate) GetAllCurrencyExchangeRates(stringDate *string) (resp []datatypes.Billing_Currency_ExchangeRate, err error) {
params := []interface{}{
stringDate,
}
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getAllCurrencyExchangeRates", params, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency_ExchangeRate) GetCurrencies() (resp []datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getCurrencies", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency_ExchangeRate) GetExchangeRate(to *string, from *string, effectiveDate *datatypes.Time) (resp datatypes.Billing_Currency_ExchangeRate, err error) {
params := []interface{}{
to,
from,
effectiveDate,
}
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getExchangeRate", params, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Currency_ExchangeRate) GetFundingCurrency() (resp datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getFundingCurrency", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Currency_ExchangeRate) GetLocalCurrency() (resp datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getLocalCurrency", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency_ExchangeRate) GetObject() (resp datatypes.Billing_Currency_ExchangeRate, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getObject", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Currency_ExchangeRate) GetPrice(price *datatypes.Float64, formatOptions *datatypes.Container_Billing_Currency_Format) (resp string, err error) {
params := []interface{}{
price,
formatOptions,
}
err = r.Session.DoRequest("SoftLayer_Billing_Currency_ExchangeRate", "getPrice", params, &r.Options, &resp)
return
}
// Every SoftLayer customer account has billing specific information which is kept in the SoftLayer_Billing_Info data type. This information is used by the SoftLayer accounting group when sending invoices and making billing inquiries.
type Billing_Info struct {
Session *session.Session
Options sl.Options
}
// GetBillingInfoService returns an instance of the Billing_Info SoftLayer service
func GetBillingInfoService(sess *session.Session) Billing_Info {
return Billing_Info{Session: sess}
}
func (r Billing_Info) Id(id int) Billing_Info {
r.Options.Id = &id
return r
}
func (r Billing_Info) Mask(mask string) Billing_Info {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Info) Filter(filter string) Billing_Info {
r.Options.Filter = filter
return r
}
func (r Billing_Info) Limit(limit int) Billing_Info {
r.Options.Limit = &limit
return r
}
func (r Billing_Info) Offset(offset int) Billing_Info {
r.Options.Offset = &offset
return r
}
// Retrieve The SoftLayer customer account associated with this billing information.
func (r Billing_Info) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getAccount", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Info) GetAchInformation() (resp []datatypes.Billing_Info_Ach, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getAchInformation", nil, &r.Options, &resp)
return
}
// Retrieve Currency to be used by this customer account.
func (r Billing_Info) GetCurrency() (resp datatypes.Billing_Currency, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrency", nil, &r.Options, &resp)
return
}
// Retrieve Information related to an account's current and previous billing cycles.
func (r Billing_Info) GetCurrentBillingCycle() (resp datatypes.Billing_Info_Cycle, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getCurrentBillingCycle", nil, &r.Options, &resp)
return
}
// Retrieve The date on which an account was last billed.
func (r Billing_Info) GetLastBillDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getLastBillDate", nil, &r.Options, &resp)
return
}
// Retrieve The date on which an account will be billed next.
func (r Billing_Info) GetNextBillDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getNextBillDate", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Info object whose data corresponds to the account to which your portal user is tied.
func (r Billing_Info) GetObject() (resp datatypes.Billing_Info, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Info", "getObject", nil, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Invoice data type contains general information relating to an individual invoice applied to a SoftLayer customer account. Personal information in this type such as names, addresses, and phone numbers are taken from the account's contact information at the time the invoice is generated.
type Billing_Invoice struct {
Session *session.Session
Options sl.Options
}
// GetBillingInvoiceService returns an instance of the Billing_Invoice SoftLayer service
func GetBillingInvoiceService(sess *session.Session) Billing_Invoice {
return Billing_Invoice{Session: sess}
}
func (r Billing_Invoice) Id(id int) Billing_Invoice {
r.Options.Id = &id
return r
}
func (r Billing_Invoice) Mask(mask string) Billing_Invoice {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Invoice) Filter(filter string) Billing_Invoice {
r.Options.Filter = filter
return r
}
func (r Billing_Invoice) Limit(limit int) Billing_Invoice {
r.Options.Limit = &limit
return r
}
func (r Billing_Invoice) Offset(offset int) Billing_Invoice {
r.Options.Offset = &offset
return r
}
// Create a transaction to email PDF and/or Excel invoice links to the requesting user's email address. You must have a PDF reader installed in order to view these files.
func (r Billing_Invoice) EmailInvoices(options *datatypes.Container_Billing_Invoice_Email) (err error) {
var resp datatypes.Void
params := []interface{}{
options,
}
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "emailInvoices", params, &r.Options, &resp)
return
}
// Retrieve The account that an invoice belongs to.
func (r Billing_Invoice) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getAccount", nil, &r.Options, &resp)
return
}
// Retrieve This is the amount of this invoice.
func (r Billing_Invoice) GetAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getAmount", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Invoice) GetBrandAtInvoiceCreation() (resp datatypes.Brand, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getBrandAtInvoiceCreation", nil, &r.Options, &resp)
return
}
// Retrieve A flag that will reflect whether the detailed version of the pdf has been generated.
func (r Billing_Invoice) GetDetailedPdfGeneratedFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getDetailedPdfGeneratedFlag", nil, &r.Options, &resp)
return
}
// Retrieve a Microsoft Excel spreadsheet of a SoftLayer invoice. You must have a Microsoft Excel reader installed in order to view these invoice files.
func (r Billing_Invoice) GetExcel() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getExcel", nil, &r.Options, &resp)
return
}
// Retrieve A list of top-level invoice items that are on the currently pending invoice.
func (r Billing_Invoice) GetInvoiceTopLevelItems() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTopLevelItems", nil, &r.Options, &resp)
return
}
// Retrieve The total amount of this invoice.
func (r Billing_Invoice) GetInvoiceTotalAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalAmount", nil, &r.Options, &resp)
return
}
// Retrieve The total one-time charges for this invoice. This is the sum of one-time charges + setup fees + labor fees. This does not include taxes.
func (r Billing_Invoice) GetInvoiceTotalOneTimeAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalOneTimeAmount", nil, &r.Options, &resp)
return
}
// Retrieve A sum of all the taxes related to one time charges for this invoice.
func (r Billing_Invoice) GetInvoiceTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalOneTimeTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve The total amount of this invoice. This does not include taxes.
func (r Billing_Invoice) GetInvoiceTotalPreTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalPreTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve The total Recurring amount of this invoice. This amount does not include taxes or one time charges.
func (r Billing_Invoice) GetInvoiceTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve The total amount of the recurring taxes on this invoice.
func (r Billing_Invoice) GetInvoiceTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getInvoiceTotalRecurringTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve The items that belong to this invoice.
func (r Billing_Invoice) GetItems() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getItems", nil, &r.Options, &resp)
return
}
// Retrieve Exchange rate used for billing this invoice.
func (r Billing_Invoice) GetLocalCurrencyExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getLocalCurrencyExchangeRate", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Invoice object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Invoice service. You can only retrieve invoices that are assigned to your portal user's account.
func (r Billing_Invoice) GetObject() (resp datatypes.Billing_Invoice, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve This is the total payment made on this invoice.
func (r Billing_Invoice) GetPayment() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPayment", nil, &r.Options, &resp)
return
}
// Retrieve The payments for the invoice.
func (r Billing_Invoice) GetPayments() (resp []datatypes.Billing_Invoice_Receivable_Payment, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPayments", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of a SoftLayer invoice. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these invoice files.
func (r Billing_Invoice) GetPdf() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdf", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of a SoftLayer detailed invoice summary. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these files.
func (r Billing_Invoice) GetPdfDetailed() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfDetailed", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice) GetPdfDetailedFilename() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfDetailedFilename", nil, &r.Options, &resp)
return
}
// Retrieve the size of a PDF record of a SoftLayer invoice. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API.
func (r Billing_Invoice) GetPdfFileSize() (resp int, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfFileSize", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice) GetPdfFilename() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPdfFilename", nil, &r.Options, &resp)
return
}
// Retrieve a Microsoft Excel record of a SoftLayer invoice. SoftLayer generates Microsoft Excel records of all closed invoices for customer retrieval from the portal and API. You must have a Microsoft Excel reader installed in order to view these invoice files.
func (r Billing_Invoice) GetPreliminaryExcel() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPreliminaryExcel", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of a SoftLayer invoice. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these invoice files.
func (r Billing_Invoice) GetPreliminaryPdf() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPreliminaryPdf", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of the detailed version of a SoftLayer invoice. SoftLayer keeps PDF records of all closed invoices for customer retrieval from the portal and API.
func (r Billing_Invoice) GetPreliminaryPdfDetailed() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getPreliminaryPdfDetailed", nil, &r.Options, &resp)
return
}
// Retrieve This is the seller's tax registration.
func (r Billing_Invoice) GetSellerRegistration() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getSellerRegistration", nil, &r.Options, &resp)
return
}
// Retrieve This is the tax information that applies to tax auditing. This is the official tax record for this invoice.
func (r Billing_Invoice) GetTaxInfo() (resp datatypes.Billing_Invoice_Tax_Info, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxInfo", nil, &r.Options, &resp)
return
}
// Retrieve This is the set of tax information for any tax calculation for this invoice. Note that not all of these are necessarily official, so use the taxInfo key to get the final information.
func (r Billing_Invoice) GetTaxInfoHistory() (resp []datatypes.Billing_Invoice_Tax_Info, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxInfoHistory", nil, &r.Options, &resp)
return
}
// Retrieve This is a message explaining the tax treatment for this invoice.
func (r Billing_Invoice) GetTaxMessage() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxMessage", nil, &r.Options, &resp)
return
}
// Retrieve This is the strategy used to calculate tax on this invoice.
func (r Billing_Invoice) GetTaxType() (resp datatypes.Billing_Invoice_Tax_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getTaxType", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice) GetXlsFilename() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getXlsFilename", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice) GetZeroFeeItemCounts() (resp []datatypes.Container_Product_Item_Category_ZeroFee_Count, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice", "getZeroFeeItemCounts", nil, &r.Options, &resp)
return
}
// Each billing invoice item makes up a record within an invoice. This provides you with a detailed record of everything related to an invoice item. When you are billed, our system takes active billing items and creates an invoice. These invoice items are a copy of your active billing items, and make up the contents of your invoice.
type Billing_Invoice_Item struct {
Session *session.Session
Options sl.Options
}
// GetBillingInvoiceItemService returns an instance of the Billing_Invoice_Item SoftLayer service
func GetBillingInvoiceItemService(sess *session.Session) Billing_Invoice_Item {
return Billing_Invoice_Item{Session: sess}
}
func (r Billing_Invoice_Item) Id(id int) Billing_Invoice_Item {
r.Options.Id = &id
return r
}
func (r Billing_Invoice_Item) Mask(mask string) Billing_Invoice_Item {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Invoice_Item) Filter(filter string) Billing_Invoice_Item {
r.Options.Filter = filter
return r
}
func (r Billing_Invoice_Item) Limit(limit int) Billing_Invoice_Item {
r.Options.Limit = &limit
return r
}
func (r Billing_Invoice_Item) Offset(offset int) Billing_Invoice_Item {
r.Options.Offset = &offset
return r
}
// Retrieve An Invoice Item's associated child invoice items. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.
func (r Billing_Invoice_Item) GetAssociatedChildren() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve An Invoice Item's associated invoice item. If this is populated, it means this is an orphaned invoice item, but logically belongs to the associated invoice item.
func (r Billing_Invoice_Item) GetAssociatedInvoiceItem() (resp datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getAssociatedInvoiceItem", nil, &r.Options, &resp)
return
}
// Retrieve An Invoice Item's billing item, from which this item was generated.
func (r Billing_Invoice_Item) GetBillingItem() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve This invoice item's "item category".
func (r Billing_Invoice_Item) GetCategory() (resp datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getCategory", nil, &r.Options, &resp)
return
}
// Retrieve An Invoice Item's child invoice items. Only parent invoice items have children. For instance, a server invoice item will have children.
func (r Billing_Invoice_Item) GetChildren() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getChildren", nil, &r.Options, &resp)
return
}
// Retrieve An Invoice Item's associated child invoice items, excluding some items with a $0.00 recurring fee. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.
func (r Billing_Invoice_Item) GetFilteredAssociatedChildren() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getFilteredAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve Indicating whether this invoice item is billed on an hourly basis.
func (r Billing_Invoice_Item) GetHourlyFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getHourlyFlag", nil, &r.Options, &resp)
return
}
// Retrieve The invoice to which this item belongs.
func (r Billing_Invoice_Item) GetInvoice() (resp datatypes.Billing_Invoice, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getInvoice", nil, &r.Options, &resp)
return
}
// Retrieve An invoice item's location, if one exists.'
func (r Billing_Invoice_Item) GetLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getLocation", nil, &r.Options, &resp)
return
}
// Retrieve An Invoice Item's associated child invoice items, excluding ALL items with a $0.00 recurring fee. Only parent invoice items have associated children. For instance, a server invoice item may have associated children.
func (r Billing_Invoice_Item) GetNonZeroAssociatedChildren() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getNonZeroAssociatedChildren", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Invoice_Item object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Invoice_Item service. You can only retrieve the items tied to the account that your portal user is assigned to.
func (r Billing_Invoice_Item) GetObject() (resp datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve Every item tied to a server should have a parent invoice item which is the server line item. This is how we associate items to a server.
func (r Billing_Invoice_Item) GetParent() (resp datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getParent", nil, &r.Options, &resp)
return
}
// Retrieve The entry in the product catalog that a invoice item is based upon.
func (r Billing_Invoice_Item) GetProduct() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getProduct", nil, &r.Options, &resp)
return
}
// Retrieve A string representing the name of parent level product group of an invoice item.
func (r Billing_Invoice_Item) GetTopLevelProductGroupName() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTopLevelProductGroupName", nil, &r.Options, &resp)
return
}
// Retrieve An invoice Item's total, including any child invoice items if they exist.
func (r Billing_Invoice_Item) GetTotalOneTimeAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalOneTimeAmount", nil, &r.Options, &resp)
return
}
// Retrieve An invoice Item's total, including any child invoice items if they exist.
func (r Billing_Invoice_Item) GetTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalOneTimeTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve An invoice Item's total, including any child invoice items if they exist.
func (r Billing_Invoice_Item) GetTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items if they exist.'
func (r Billing_Invoice_Item) GetTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getTotalRecurringTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve Indicating whether this invoice item is for the usage charge.
func (r Billing_Invoice_Item) GetUsageChargeFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Item", "getUsageChargeFlag", nil, &r.Options, &resp)
return
}
// no documentation yet
type Billing_Invoice_Next struct {
Session *session.Session
Options sl.Options
}
// GetBillingInvoiceNextService returns an instance of the Billing_Invoice_Next SoftLayer service
func GetBillingInvoiceNextService(sess *session.Session) Billing_Invoice_Next {
return Billing_Invoice_Next{Session: sess}
}
func (r Billing_Invoice_Next) Id(id int) Billing_Invoice_Next {
r.Options.Id = &id
return r
}
func (r Billing_Invoice_Next) Mask(mask string) Billing_Invoice_Next {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Invoice_Next) Filter(filter string) Billing_Invoice_Next {
r.Options.Filter = filter
return r
}
func (r Billing_Invoice_Next) Limit(limit int) Billing_Invoice_Next {
r.Options.Limit = &limit
return r
}
func (r Billing_Invoice_Next) Offset(offset int) Billing_Invoice_Next {
r.Options.Offset = &offset
return r
}
// Return an account's next invoice in a Microsoft excel format.
func (r Billing_Invoice_Next) GetExcel(documentCreateDate *datatypes.Time) (resp []byte, err error) {
params := []interface{}{
documentCreateDate,
}
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Next", "getExcel", params, &r.Options, &resp)
return
}
// Return an account's next invoice in PDF format.
func (r Billing_Invoice_Next) GetPdf(documentCreateDate *datatypes.Time) (resp []byte, err error) {
params := []interface{}{
documentCreateDate,
}
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Next", "getPdf", params, &r.Options, &resp)
return
}
// Return an account's next invoice detailed portion in PDF format.
func (r Billing_Invoice_Next) GetPdfDetailed(documentCreateDate *datatypes.Time) (resp []byte, err error) {
params := []interface{}{
documentCreateDate,
}
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Next", "getPdfDetailed", params, &r.Options, &resp)
return
}
// The invoice tax status data type models a single status or state that an invoice can reflect in regard to an integration with a third-party tax calculation service.
type Billing_Invoice_Tax_Status struct {
Session *session.Session
Options sl.Options
}
// GetBillingInvoiceTaxStatusService returns an instance of the Billing_Invoice_Tax_Status SoftLayer service
func GetBillingInvoiceTaxStatusService(sess *session.Session) Billing_Invoice_Tax_Status {
return Billing_Invoice_Tax_Status{Session: sess}
}
func (r Billing_Invoice_Tax_Status) Id(id int) Billing_Invoice_Tax_Status {
r.Options.Id = &id
return r
}
func (r Billing_Invoice_Tax_Status) Mask(mask string) Billing_Invoice_Tax_Status {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Invoice_Tax_Status) Filter(filter string) Billing_Invoice_Tax_Status {
r.Options.Filter = filter
return r
}
func (r Billing_Invoice_Tax_Status) Limit(limit int) Billing_Invoice_Tax_Status {
r.Options.Limit = &limit
return r
}
func (r Billing_Invoice_Tax_Status) Offset(offset int) Billing_Invoice_Tax_Status {
r.Options.Offset = &offset
return r
}
// no documentation yet
func (r Billing_Invoice_Tax_Status) GetAllObjects() (resp []datatypes.Billing_Invoice_Tax_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Tax_Status", "getAllObjects", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice_Tax_Status) GetObject() (resp datatypes.Billing_Invoice_Tax_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Tax_Status", "getObject", nil, &r.Options, &resp)
return
}
// The invoice tax type data type models a single strategy for handling tax calculations.
type Billing_Invoice_Tax_Type struct {
Session *session.Session
Options sl.Options
}
// GetBillingInvoiceTaxTypeService returns an instance of the Billing_Invoice_Tax_Type SoftLayer service
func GetBillingInvoiceTaxTypeService(sess *session.Session) Billing_Invoice_Tax_Type {
return Billing_Invoice_Tax_Type{Session: sess}
}
func (r Billing_Invoice_Tax_Type) Id(id int) Billing_Invoice_Tax_Type {
r.Options.Id = &id
return r
}
func (r Billing_Invoice_Tax_Type) Mask(mask string) Billing_Invoice_Tax_Type {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Invoice_Tax_Type) Filter(filter string) Billing_Invoice_Tax_Type {
r.Options.Filter = filter
return r
}
func (r Billing_Invoice_Tax_Type) Limit(limit int) Billing_Invoice_Tax_Type {
r.Options.Limit = &limit
return r
}
func (r Billing_Invoice_Tax_Type) Offset(offset int) Billing_Invoice_Tax_Type {
r.Options.Offset = &offset
return r
}
// no documentation yet
func (r Billing_Invoice_Tax_Type) GetAllObjects() (resp []datatypes.Billing_Invoice_Tax_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Tax_Type", "getAllObjects", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Invoice_Tax_Type) GetObject() (resp datatypes.Billing_Invoice_Tax_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Invoice_Tax_Type", "getObject", nil, &r.Options, &resp)
return
}
// Every individual item that a SoftLayer customer is billed for is recorded in the SoftLayer_Billing_Item data type. Billing items range from server chassis to hard drives to control panels, bandwidth quota upgrades and port upgrade charges. Softlayer [[SoftLayer_Billing_Invoice|invoices]] are generated from the cost of a customer's billing items. Billing items are copied from the product catalog as they're ordered by customers to create a reference between an account and the billable items they own.
//
// Billing items exist in a tree relationship. Items are associated with each other by parent/child relationships. Component items such as CPU's, RAM, and software each have a parent billing item for the server chassis they're associated with. Billing Items with a null parent item do not have an associated parent item.
type Billing_Item struct {
Session *session.Session
Options sl.Options
}
// GetBillingItemService returns an instance of the Billing_Item SoftLayer service
func GetBillingItemService(sess *session.Session) Billing_Item {
return Billing_Item{Session: sess}
}
func (r Billing_Item) Id(id int) Billing_Item {
r.Options.Id = &id
return r
}
func (r Billing_Item) Mask(mask string) Billing_Item {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Item) Filter(filter string) Billing_Item {
r.Options.Filter = filter
return r
}
func (r Billing_Item) Limit(limit int) Billing_Item {
r.Options.Limit = &limit
return r
}
func (r Billing_Item) Offset(offset int) Billing_Item {
r.Options.Offset = &offset
return r
}
// Cancel the resource or service for a billing Item. By default the billing item will be cancelled immediately and reclaim of the resource will begin shortly. Setting the "cancelImmediately" property to false will delay the cancellation until the next bill date.
//
//
// * The reason parameter could be from the list below:
// * "No longer needed"
// * "Business closing down"
// * "Server / Upgrade Costs"
// * "Migrating to larger server"
// * "Migrating to smaller server"
// * "Migrating to a different SoftLayer datacenter"
// * "Network performance / latency"
// * "Support response / timing"
// * "Sales process / upgrades"
// * "Moving to competitor"
func (r Billing_Item) CancelItem(cancelImmediately *bool, cancelAssociatedBillingItems *bool, reason *string, customerNote *string) (resp bool, err error) {
params := []interface{}{
cancelImmediately,
cancelAssociatedBillingItems,
reason,
customerNote,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item", "cancelItem", params, &r.Options, &resp)
return
}
// Cancel the resource or service (excluding bare metal servers) for a billing Item. The billing item will be cancelled immediately and reclaim of the resource will begin shortly.
func (r Billing_Item) CancelService() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "cancelService", nil, &r.Options, &resp)
return
}
// Cancel the resource or service for a billing Item
func (r Billing_Item) CancelServiceOnAnniversaryDate() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "cancelServiceOnAnniversaryDate", nil, &r.Options, &resp)
return
}
// Retrieve The account that a billing item belongs to.
func (r Billing_Item) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAccount", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item) GetActiveAgreement() (resp datatypes.Account_Agreement, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveAgreement", nil, &r.Options, &resp)
return
}
// Retrieve A flag indicating that the billing item is under an active agreement.
func (r Billing_Item) GetActiveAgreementFlag() (resp datatypes.Account_Agreement, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveAgreementFlag", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's active associated child billing items. This includes "floating" items that are not necessarily child items of this billing item.
func (r Billing_Item) GetActiveAssociatedChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item) GetActiveAssociatedGuestDiskBillingItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveAssociatedGuestDiskBillingItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active bundled billing items.
func (r Billing_Item) GetActiveBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A service cancellation request item that corresponds to the billing item.
func (r Billing_Item) GetActiveCancellationItem() (resp datatypes.Billing_Item_Cancellation_Request_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveCancellationItem", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item) GetActiveChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveChildren", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item) GetActiveFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveFlag", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item) GetActiveSparePoolAssociatedGuestDiskBillingItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveSparePoolAssociatedGuestDiskBillingItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's spare pool bundled billing items.
func (r Billing_Item) GetActiveSparePoolBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getActiveSparePoolBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's associated parent. This is to be used for billing items that are "floating", and therefore are not child items of any parent billing item. If it is desired to associate an item to another, populate this with the SoftLayer_Billing_Item ID of that associated parent item.
func (r Billing_Item) GetAssociatedBillingItem() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAssociatedBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve A history of billing items which a billing item has been associated with.
func (r Billing_Item) GetAssociatedBillingItemHistory() (resp []datatypes.Billing_Item_Association_History, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAssociatedBillingItemHistory", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items. This includes "floating" items that are not necessarily child billing items of this billing item.
func (r Billing_Item) GetAssociatedChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's associated parent billing item. This object will be the same as the parent billing item if parentId is set.
func (r Billing_Item) GetAssociatedParent() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAssociatedParent", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item) GetAvailableMatchingVlans() (resp []datatypes.Network_Vlan, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getAvailableMatchingVlans", nil, &r.Options, &resp)
return
}
// Retrieve The bandwidth allocation for a billing item.
func (r Billing_Item) GetBandwidthAllocation() (resp datatypes.Network_Bandwidth_Version1_Allocation, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBandwidthAllocation", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's recurring child items that have once been billed and are scheduled to be billed in the future.
func (r Billing_Item) GetBillableChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBillableChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's bundled billing items
func (r Billing_Item) GetBundleItems() (resp []datatypes.Product_Item_Bundles, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBundleItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's bundled billing items'
func (r Billing_Item) GetBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item) GetCanceledChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getCanceledChildren", nil, &r.Options, &resp)
return
}
// Retrieve The billing item's cancellation reason.
func (r Billing_Item) GetCancellationReason() (resp datatypes.Billing_Item_Cancellation_Reason, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getCancellationReason", nil, &r.Options, &resp)
return
}
// Retrieve This will return any cancellation requests that are associated with this billing item.
func (r Billing_Item) GetCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getCancellationRequests", nil, &r.Options, &resp)
return
}
// Retrieve The item category to which the billing item's item belongs.
func (r Billing_Item) GetCategory() (resp datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getCategory", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's child billing items'
func (r Billing_Item) GetChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item) GetChildrenWithActiveAgreement() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getChildrenWithActiveAgreement", nil, &r.Options, &resp)
return
}
// Retrieve For product items which have a downgrade path defined, this will return those product items.
func (r Billing_Item) GetDowngradeItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getDowngradeItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items, excluding some items with a $0.00 recurring fee.
func (r Billing_Item) GetFilteredNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getFilteredNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// Retrieve A flag that will reflect whether this billing item is billed on an hourly basis or not.
func (r Billing_Item) GetHourlyFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getHourlyFlag", nil, &r.Options, &resp)
return
}
// Retrieve Invoice items associated with this billing item
func (r Billing_Item) GetInvoiceItem() (resp datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getInvoiceItem", nil, &r.Options, &resp)
return
}
// Retrieve All invoice items associated with the billing item
func (r Billing_Item) GetInvoiceItems() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getInvoiceItems", nil, &r.Options, &resp)
return
}
// Retrieve The entry in the SoftLayer product catalog that a billing item is based upon.
func (r Billing_Item) GetItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getItem", nil, &r.Options, &resp)
return
}
// Retrieve The location of the billing item. Some billing items have physical properties such as the server itself. For items such as these, we provide location information.
func (r Billing_Item) GetLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getLocation", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's child billing items and associated items'
func (r Billing_Item) GetNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items if they exist.'
func (r Billing_Item) GetNextInvoiceTotalOneTimeAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNextInvoiceTotalOneTimeAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items if they exist.'
func (r Billing_Item) GetNextInvoiceTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNextInvoiceTotalOneTimeTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items and associated billing items if they exist.'
func (r Billing_Item) GetNextInvoiceTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNextInvoiceTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve This is deprecated and will always be zero. Because tax is calculated in real-time, previewing the next recurring invoice is pre-tax only.
func (r Billing_Item) GetNextInvoiceTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNextInvoiceTotalRecurringTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items, excluding ALL items with a $0.00 recurring fee.
func (r Billing_Item) GetNonZeroNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getNonZeroNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Item object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Item service. You can only retrieve billing items tied to the account that your portal user is assigned to. Billing items are an account's items of billable items. There are "parent" billing items and "child" billing items. The server billing item is generally referred to as a parent billing item. The items tied to a server, such as ram, harddrives, and operating systems are considered "child" billing items.
func (r Billing_Item) GetObject() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's original order item. Simply a reference to the original order from which this billing item was created.
func (r Billing_Item) GetOrderItem() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getOrderItem", nil, &r.Options, &resp)
return
}
// Retrieve The original physical location for this billing item--may differ from current.
func (r Billing_Item) GetOriginalLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getOriginalLocation", nil, &r.Options, &resp)
return
}
// Retrieve The package under which this billing item was sold. A Package is the general grouping of products as seen on our order forms.
func (r Billing_Item) GetPackage() (resp datatypes.Product_Package, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getPackage", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's parent item. If a billing item has no parent item then this value is null.
func (r Billing_Item) GetParent() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getParent", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's parent item. If a billing item has no parent item then this value is null.
func (r Billing_Item) GetParentVirtualGuestBillingItem() (resp datatypes.Billing_Item_Virtual_Guest, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getParentVirtualGuestBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve This flag indicates whether a billing item is scheduled to be canceled or not.
func (r Billing_Item) GetPendingCancellationFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getPendingCancellationFlag", nil, &r.Options, &resp)
return
}
// Retrieve The new order item that will replace this billing item.
func (r Billing_Item) GetPendingOrderItem() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getPendingOrderItem", nil, &r.Options, &resp)
return
}
// Retrieve Provisioning transaction for this billing item
func (r Billing_Item) GetProvisionTransaction() (resp datatypes.Provisioning_Version1_Transaction, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getProvisionTransaction", nil, &r.Options, &resp)
return
}
// This service returns billing items of a specified category code. This service should be used to retrieve billing items that you wish to cancel. Some billing items can be canceled via [[SoftLayer_Security_Certificate_Request|service cancellation]] service.
//
// In order to find billing items for cancellation, use [[SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories|product categories]] service to retrieve category codes that are eligible for cancellation.
func (r Billing_Item) GetServiceBillingItemsByCategory(categoryCode *string, includeZeroRecurringFee *bool) (resp []datatypes.Billing_Item, err error) {
params := []interface{}{
categoryCode,
includeZeroRecurringFee,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getServiceBillingItemsByCategory", params, &r.Options, &resp)
return
}
// Retrieve A friendly description of software component
func (r Billing_Item) GetSoftwareDescription() (resp datatypes.Software_Description, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getSoftwareDescription", nil, &r.Options, &resp)
return
}
// Retrieve Billing items whose product item has an upgrade path defined in our system will return the next product item in the upgrade path.
func (r Billing_Item) GetUpgradeItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getUpgradeItem", nil, &r.Options, &resp)
return
}
// Retrieve Billing items whose product item has an upgrade path defined in our system will return all the product items in the upgrade path.
func (r Billing_Item) GetUpgradeItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "getUpgradeItems", nil, &r.Options, &resp)
return
}
// Remove the association from a billing item.
func (r Billing_Item) RemoveAssociationId() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "removeAssociationId", nil, &r.Options, &resp)
return
}
// Set an associated billing item to an orphan billing item. Associations allow you to tie an "orphaned" billing item, any non-server billing item that doesn't have a parent item such as secondary IP subnets or StorageLayer accounts, to a server billing item. You may only set an association for an orphan to a server. You cannot associate a server to an orphan if the either the server or orphan billing items have a cancellation date set.
func (r Billing_Item) SetAssociationId(associatedId *int) (resp bool, err error) {
params := []interface{}{
associatedId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item", "setAssociationId", params, &r.Options, &resp)
return
}
// Void a previously made cancellation for a service
func (r Billing_Item) VoidCancelService() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item", "voidCancelService", nil, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Item_Cancellation_Reason data type contains cancellation reasons.
type Billing_Item_Cancellation_Reason struct {
Session *session.Session
Options sl.Options
}
// GetBillingItemCancellationReasonService returns an instance of the Billing_Item_Cancellation_Reason SoftLayer service
func GetBillingItemCancellationReasonService(sess *session.Session) Billing_Item_Cancellation_Reason {
return Billing_Item_Cancellation_Reason{Session: sess}
}
func (r Billing_Item_Cancellation_Reason) Id(id int) Billing_Item_Cancellation_Reason {
r.Options.Id = &id
return r
}
func (r Billing_Item_Cancellation_Reason) Mask(mask string) Billing_Item_Cancellation_Reason {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Item_Cancellation_Reason) Filter(filter string) Billing_Item_Cancellation_Reason {
r.Options.Filter = filter
return r
}
func (r Billing_Item_Cancellation_Reason) Limit(limit int) Billing_Item_Cancellation_Reason {
r.Options.Limit = &limit
return r
}
func (r Billing_Item_Cancellation_Reason) Offset(offset int) Billing_Item_Cancellation_Reason {
r.Options.Offset = &offset
return r
}
// getAllCancellationReasons() retrieves a list of all cancellation reasons that a server/service may be assigned to.
func (r Billing_Item_Cancellation_Reason) GetAllCancellationReasons() (resp []datatypes.Billing_Item_Cancellation_Reason, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getAllCancellationReasons", nil, &r.Options, &resp)
return
}
// Retrieve An billing cancellation reason category.
func (r Billing_Item_Cancellation_Reason) GetBillingCancellationReasonCategory() (resp datatypes.Billing_Item_Cancellation_Reason_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getBillingCancellationReasonCategory", nil, &r.Options, &resp)
return
}
// Retrieve The corresponding billing items having the specific cancellation reason.
func (r Billing_Item_Cancellation_Reason) GetBillingItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getBillingItems", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Item_Cancellation_Reason) GetObject() (resp datatypes.Billing_Item_Cancellation_Reason, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Cancellation_Reason) GetTranslatedReason() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason", "getTranslatedReason", nil, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Item_Cancellation_Reason_Category data type contains cancellation reason categories.
type Billing_Item_Cancellation_Reason_Category struct {
Session *session.Session
Options sl.Options
}
// GetBillingItemCancellationReasonCategoryService returns an instance of the Billing_Item_Cancellation_Reason_Category SoftLayer service
func GetBillingItemCancellationReasonCategoryService(sess *session.Session) Billing_Item_Cancellation_Reason_Category {
return Billing_Item_Cancellation_Reason_Category{Session: sess}
}
func (r Billing_Item_Cancellation_Reason_Category) Id(id int) Billing_Item_Cancellation_Reason_Category {
r.Options.Id = &id
return r
}
func (r Billing_Item_Cancellation_Reason_Category) Mask(mask string) Billing_Item_Cancellation_Reason_Category {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Item_Cancellation_Reason_Category) Filter(filter string) Billing_Item_Cancellation_Reason_Category {
r.Options.Filter = filter
return r
}
func (r Billing_Item_Cancellation_Reason_Category) Limit(limit int) Billing_Item_Cancellation_Reason_Category {
r.Options.Limit = &limit
return r
}
func (r Billing_Item_Cancellation_Reason_Category) Offset(offset int) Billing_Item_Cancellation_Reason_Category {
r.Options.Offset = &offset
return r
}
// getAllCancellationReasonCategories() retrieves a list of all cancellation reason categories
func (r Billing_Item_Cancellation_Reason_Category) GetAllCancellationReasonCategories() (resp []datatypes.Billing_Item_Cancellation_Reason_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason_Category", "getAllCancellationReasonCategories", nil, &r.Options, &resp)
return
}
// Retrieve The corresponding billing cancellation reasons having the specific billing cancellation reason category.
func (r Billing_Item_Cancellation_Reason_Category) GetBillingCancellationReasons() (resp []datatypes.Billing_Item_Cancellation_Reason, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason_Category", "getBillingCancellationReasons", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Item_Cancellation_Reason_Category) GetObject() (resp datatypes.Billing_Item_Cancellation_Reason_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Reason_Category", "getObject", nil, &r.Options, &resp)
return
}
// SoftLayer_Billing_Item_Cancellation_Request data type is used to cancel service billing items.
type Billing_Item_Cancellation_Request struct {
Session *session.Session
Options sl.Options
}
// GetBillingItemCancellationRequestService returns an instance of the Billing_Item_Cancellation_Request SoftLayer service
func GetBillingItemCancellationRequestService(sess *session.Session) Billing_Item_Cancellation_Request {
return Billing_Item_Cancellation_Request{Session: sess}
}
func (r Billing_Item_Cancellation_Request) Id(id int) Billing_Item_Cancellation_Request {
r.Options.Id = &id
return r
}
func (r Billing_Item_Cancellation_Request) Mask(mask string) Billing_Item_Cancellation_Request {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Item_Cancellation_Request) Filter(filter string) Billing_Item_Cancellation_Request {
r.Options.Filter = filter
return r
}
func (r Billing_Item_Cancellation_Request) Limit(limit int) Billing_Item_Cancellation_Request {
r.Options.Limit = &limit
return r
}
func (r Billing_Item_Cancellation_Request) Offset(offset int) Billing_Item_Cancellation_Request {
r.Options.Offset = &offset
return r
}
// This method creates a service cancellation request.
//
// You need to have "Cancel Services" privilege to create a cancellation request. You have to provide at least one SoftLayer_Billing_Item_Cancellation_Request_Item in the "items" property. Make sure billing item's category code belongs to the cancelable product codes. You can retrieve the cancelable product category by the [[SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories|product category]] service.
func (r Billing_Item_Cancellation_Request) CreateObject(templateObject *datatypes.Billing_Item_Cancellation_Request) (resp datatypes.Billing_Item_Cancellation_Request, err error) {
params := []interface{}{
templateObject,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "createObject", params, &r.Options, &resp)
return
}
// Retrieve The SoftLayer account that a service cancellation request belongs to.
func (r Billing_Item_Cancellation_Request) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getAccount", nil, &r.Options, &resp)
return
}
// This method returns all service cancellation requests.
//
// Make sure to include the "resultLimit" in the SOAP request header for quicker response. If there is no result limit header is passed, it will return the latest 25 results by default.
func (r Billing_Item_Cancellation_Request) GetAllCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getAllCancellationRequests", nil, &r.Options, &resp)
return
}
// Services can be canceled 2 or 3 days prior to your next bill date. This service returns the time by which a cancellation request submission is permitted in the current billing cycle. If the current time falls into the cut off date, this will return next earliest cancellation cut off date.
//
// Available category codes are: service, server
func (r Billing_Item_Cancellation_Request) GetCancellationCutoffDate(accountId *int, categoryCode *string) (resp datatypes.Time, err error) {
params := []interface{}{
accountId,
categoryCode,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getCancellationCutoffDate", params, &r.Options, &resp)
return
}
// Retrieve A collection of service cancellation items.
func (r Billing_Item_Cancellation_Request) GetItems() (resp []datatypes.Billing_Item_Cancellation_Request_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getItems", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Item_Cancellation_Request object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Item_Cancellation_Request service. You can only retrieve cancellation request records that are assigned to your SoftLayer account.
func (r Billing_Item_Cancellation_Request) GetObject() (resp datatypes.Billing_Item_Cancellation_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve The status of a service cancellation request.
func (r Billing_Item_Cancellation_Request) GetStatus() (resp datatypes.Billing_Item_Cancellation_Request_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getStatus", nil, &r.Options, &resp)
return
}
// Retrieve The ticket that is associated with the service cancellation request.
func (r Billing_Item_Cancellation_Request) GetTicket() (resp datatypes.Ticket, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getTicket", nil, &r.Options, &resp)
return
}
// Retrieve The user that initiated a service cancellation request.
func (r Billing_Item_Cancellation_Request) GetUser() (resp datatypes.User_Customer, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "getUser", nil, &r.Options, &resp)
return
}
// This method removes a cancellation item from a cancellation request that is in "Pending" or "Approved" status.
func (r Billing_Item_Cancellation_Request) RemoveCancellationItem(itemId *int) (resp bool, err error) {
params := []interface{}{
itemId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "removeCancellationItem", params, &r.Options, &resp)
return
}
// This method examined if a billing item is eligible for cancellation. It checks if the billing item you provided is already in your existing cancellation request.
func (r Billing_Item_Cancellation_Request) ValidateBillingItemForCancellation(billingItemId *int) (resp bool, err error) {
params := []interface{}{
billingItemId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "validateBillingItemForCancellation", params, &r.Options, &resp)
return
}
// This method voids a service cancellation request in "Pending" or "Approved" status.
func (r Billing_Item_Cancellation_Request) Void(closeRelatedTicketFlag *bool) (resp bool, err error) {
params := []interface{}{
closeRelatedTicketFlag,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Cancellation_Request", "void", params, &r.Options, &resp)
return
}
// no documentation yet
type Billing_Item_Virtual_DedicatedHost struct {
Session *session.Session
Options sl.Options
}
// GetBillingItemVirtualDedicatedHostService returns an instance of the Billing_Item_Virtual_DedicatedHost SoftLayer service
func GetBillingItemVirtualDedicatedHostService(sess *session.Session) Billing_Item_Virtual_DedicatedHost {
return Billing_Item_Virtual_DedicatedHost{Session: sess}
}
func (r Billing_Item_Virtual_DedicatedHost) Id(id int) Billing_Item_Virtual_DedicatedHost {
r.Options.Id = &id
return r
}
func (r Billing_Item_Virtual_DedicatedHost) Mask(mask string) Billing_Item_Virtual_DedicatedHost {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Item_Virtual_DedicatedHost) Filter(filter string) Billing_Item_Virtual_DedicatedHost {
r.Options.Filter = filter
return r
}
func (r Billing_Item_Virtual_DedicatedHost) Limit(limit int) Billing_Item_Virtual_DedicatedHost {
r.Options.Limit = &limit
return r
}
func (r Billing_Item_Virtual_DedicatedHost) Offset(offset int) Billing_Item_Virtual_DedicatedHost {
r.Options.Offset = &offset
return r
}
// Cancel the resource or service for a billing Item. By default the billing item will be cancelled immediately and reclaim of the resource will begin shortly. Setting the "cancelImmediately" property to false will delay the cancellation until the next bill date.
//
//
// * The reason parameter could be from the list below:
// * "No longer needed"
// * "Business closing down"
// * "Server / Upgrade Costs"
// * "Migrating to larger server"
// * "Migrating to smaller server"
// * "Migrating to a different SoftLayer datacenter"
// * "Network performance / latency"
// * "Support response / timing"
// * "Sales process / upgrades"
// * "Moving to competitor"
func (r Billing_Item_Virtual_DedicatedHost) CancelItem(cancelImmediately *bool, cancelAssociatedBillingItems *bool, reason *string, customerNote *string) (resp bool, err error) {
params := []interface{}{
cancelImmediately,
cancelAssociatedBillingItems,
reason,
customerNote,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "cancelItem", params, &r.Options, &resp)
return
}
// Cancel the resource or service (excluding bare metal servers) for a billing Item. The billing item will be cancelled immediately and reclaim of the resource will begin shortly.
func (r Billing_Item_Virtual_DedicatedHost) CancelService() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "cancelService", nil, &r.Options, &resp)
return
}
// Cancel the resource or service for a billing Item
func (r Billing_Item_Virtual_DedicatedHost) CancelServiceOnAnniversaryDate() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "cancelServiceOnAnniversaryDate", nil, &r.Options, &resp)
return
}
// Retrieve The account that a billing item belongs to.
func (r Billing_Item_Virtual_DedicatedHost) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAccount", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Virtual_DedicatedHost) GetActiveAgreement() (resp datatypes.Account_Agreement, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveAgreement", nil, &r.Options, &resp)
return
}
// Retrieve A flag indicating that the billing item is under an active agreement.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveAgreementFlag() (resp datatypes.Account_Agreement, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveAgreementFlag", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's active associated child billing items. This includes "floating" items that are not necessarily child items of this billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveAssociatedChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Virtual_DedicatedHost) GetActiveAssociatedGuestDiskBillingItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveAssociatedGuestDiskBillingItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active bundled billing items.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A service cancellation request item that corresponds to the billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveCancellationItem() (resp datatypes.Billing_Item_Cancellation_Request_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveCancellationItem", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveChildren", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Virtual_DedicatedHost) GetActiveFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveFlag", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Virtual_DedicatedHost) GetActiveSparePoolAssociatedGuestDiskBillingItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveSparePoolAssociatedGuestDiskBillingItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's spare pool bundled billing items.
func (r Billing_Item_Virtual_DedicatedHost) GetActiveSparePoolBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getActiveSparePoolBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's associated parent. This is to be used for billing items that are "floating", and therefore are not child items of any parent billing item. If it is desired to associate an item to another, populate this with the SoftLayer_Billing_Item ID of that associated parent item.
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedBillingItem() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve A history of billing items which a billing item has been associated with.
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedBillingItemHistory() (resp []datatypes.Billing_Item_Association_History, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedBillingItemHistory", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items. This includes "floating" items that are not necessarily child billing items of this billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedChildren", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's associated parent billing item. This object will be the same as the parent billing item if parentId is set.
func (r Billing_Item_Virtual_DedicatedHost) GetAssociatedParent() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAssociatedParent", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Item_Virtual_DedicatedHost) GetAvailableMatchingVlans() (resp []datatypes.Network_Vlan, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getAvailableMatchingVlans", nil, &r.Options, &resp)
return
}
// Retrieve The bandwidth allocation for a billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetBandwidthAllocation() (resp datatypes.Network_Bandwidth_Version1_Allocation, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBandwidthAllocation", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's recurring child items that have once been billed and are scheduled to be billed in the future.
func (r Billing_Item_Virtual_DedicatedHost) GetBillableChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBillableChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's bundled billing items
func (r Billing_Item_Virtual_DedicatedHost) GetBundleItems() (resp []datatypes.Product_Item_Bundles, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBundleItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's bundled billing items'
func (r Billing_Item_Virtual_DedicatedHost) GetBundledItems() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item_Virtual_DedicatedHost) GetCanceledChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCanceledChildren", nil, &r.Options, &resp)
return
}
// Retrieve The billing item's cancellation reason.
func (r Billing_Item_Virtual_DedicatedHost) GetCancellationReason() (resp datatypes.Billing_Item_Cancellation_Reason, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCancellationReason", nil, &r.Options, &resp)
return
}
// Retrieve This will return any cancellation requests that are associated with this billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetCancellationRequests() (resp []datatypes.Billing_Item_Cancellation_Request, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCancellationRequests", nil, &r.Options, &resp)
return
}
// Retrieve The item category to which the billing item's item belongs.
func (r Billing_Item_Virtual_DedicatedHost) GetCategory() (resp datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getCategory", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's child billing items'
func (r Billing_Item_Virtual_DedicatedHost) GetChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's active child billing items.
func (r Billing_Item_Virtual_DedicatedHost) GetChildrenWithActiveAgreement() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getChildrenWithActiveAgreement", nil, &r.Options, &resp)
return
}
// Retrieve For product items which have a downgrade path defined, this will return those product items.
func (r Billing_Item_Virtual_DedicatedHost) GetDowngradeItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getDowngradeItems", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items, excluding some items with a $0.00 recurring fee.
func (r Billing_Item_Virtual_DedicatedHost) GetFilteredNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getFilteredNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// Retrieve A flag that will reflect whether this billing item is billed on an hourly basis or not.
func (r Billing_Item_Virtual_DedicatedHost) GetHourlyFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getHourlyFlag", nil, &r.Options, &resp)
return
}
// Retrieve Invoice items associated with this billing item
func (r Billing_Item_Virtual_DedicatedHost) GetInvoiceItem() (resp datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getInvoiceItem", nil, &r.Options, &resp)
return
}
// Retrieve All invoice items associated with the billing item
func (r Billing_Item_Virtual_DedicatedHost) GetInvoiceItems() (resp []datatypes.Billing_Invoice_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getInvoiceItems", nil, &r.Options, &resp)
return
}
// Retrieve The entry in the SoftLayer product catalog that a billing item is based upon.
func (r Billing_Item_Virtual_DedicatedHost) GetItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getItem", nil, &r.Options, &resp)
return
}
// Retrieve The location of the billing item. Some billing items have physical properties such as the server itself. For items such as these, we provide location information.
func (r Billing_Item_Virtual_DedicatedHost) GetLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getLocation", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's child billing items and associated items'
func (r Billing_Item_Virtual_DedicatedHost) GetNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items if they exist.'
func (r Billing_Item_Virtual_DedicatedHost) GetNextInvoiceTotalOneTimeAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNextInvoiceTotalOneTimeAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items if they exist.'
func (r Billing_Item_Virtual_DedicatedHost) GetNextInvoiceTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNextInvoiceTotalOneTimeTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's total, including any child billing items and associated billing items if they exist.'
func (r Billing_Item_Virtual_DedicatedHost) GetNextInvoiceTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNextInvoiceTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve This is deprecated and will always be zero. Because tax is calculated in real-time, previewing the next recurring invoice is pre-tax only.
func (r Billing_Item_Virtual_DedicatedHost) GetNextInvoiceTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNextInvoiceTotalRecurringTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve A Billing Item's associated child billing items, excluding ALL items with a $0.00 recurring fee.
func (r Billing_Item_Virtual_DedicatedHost) GetNonZeroNextInvoiceChildren() (resp []datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getNonZeroNextInvoiceChildren", nil, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Item_Virtual_DedicatedHost) GetObject() (resp datatypes.Billing_Item_Virtual_DedicatedHost, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's original order item. Simply a reference to the original order from which this billing item was created.
func (r Billing_Item_Virtual_DedicatedHost) GetOrderItem() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getOrderItem", nil, &r.Options, &resp)
return
}
// Retrieve The original physical location for this billing item--may differ from current.
func (r Billing_Item_Virtual_DedicatedHost) GetOriginalLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getOriginalLocation", nil, &r.Options, &resp)
return
}
// Retrieve The package under which this billing item was sold. A Package is the general grouping of products as seen on our order forms.
func (r Billing_Item_Virtual_DedicatedHost) GetPackage() (resp datatypes.Product_Package, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getPackage", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's parent item. If a billing item has no parent item then this value is null.
func (r Billing_Item_Virtual_DedicatedHost) GetParent() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getParent", nil, &r.Options, &resp)
return
}
// Retrieve A billing item's parent item. If a billing item has no parent item then this value is null.
func (r Billing_Item_Virtual_DedicatedHost) GetParentVirtualGuestBillingItem() (resp datatypes.Billing_Item_Virtual_Guest, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getParentVirtualGuestBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve This flag indicates whether a billing item is scheduled to be canceled or not.
func (r Billing_Item_Virtual_DedicatedHost) GetPendingCancellationFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getPendingCancellationFlag", nil, &r.Options, &resp)
return
}
// Retrieve The new order item that will replace this billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetPendingOrderItem() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getPendingOrderItem", nil, &r.Options, &resp)
return
}
// Retrieve Provisioning transaction for this billing item
func (r Billing_Item_Virtual_DedicatedHost) GetProvisionTransaction() (resp datatypes.Provisioning_Version1_Transaction, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getProvisionTransaction", nil, &r.Options, &resp)
return
}
// Retrieve The resource for a virtual dedicated host billing item.
func (r Billing_Item_Virtual_DedicatedHost) GetResource() (resp datatypes.Virtual_DedicatedHost, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getResource", nil, &r.Options, &resp)
return
}
// This service returns billing items of a specified category code. This service should be used to retrieve billing items that you wish to cancel. Some billing items can be canceled via [[SoftLayer_Security_Certificate_Request|service cancellation]] service.
//
// In order to find billing items for cancellation, use [[SoftLayer_Product_Item_Category::getValidCancelableServiceItemCategories|product categories]] service to retrieve category codes that are eligible for cancellation.
func (r Billing_Item_Virtual_DedicatedHost) GetServiceBillingItemsByCategory(categoryCode *string, includeZeroRecurringFee *bool) (resp []datatypes.Billing_Item, err error) {
params := []interface{}{
categoryCode,
includeZeroRecurringFee,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getServiceBillingItemsByCategory", params, &r.Options, &resp)
return
}
// Retrieve A friendly description of software component
func (r Billing_Item_Virtual_DedicatedHost) GetSoftwareDescription() (resp datatypes.Software_Description, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getSoftwareDescription", nil, &r.Options, &resp)
return
}
// Retrieve Billing items whose product item has an upgrade path defined in our system will return the next product item in the upgrade path.
func (r Billing_Item_Virtual_DedicatedHost) GetUpgradeItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getUpgradeItem", nil, &r.Options, &resp)
return
}
// Retrieve Billing items whose product item has an upgrade path defined in our system will return all the product items in the upgrade path.
func (r Billing_Item_Virtual_DedicatedHost) GetUpgradeItems() (resp []datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "getUpgradeItems", nil, &r.Options, &resp)
return
}
// Remove the association from a billing item.
func (r Billing_Item_Virtual_DedicatedHost) RemoveAssociationId() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "removeAssociationId", nil, &r.Options, &resp)
return
}
// Set an associated billing item to an orphan billing item. Associations allow you to tie an "orphaned" billing item, any non-server billing item that doesn't have a parent item such as secondary IP subnets or StorageLayer accounts, to a server billing item. You may only set an association for an orphan to a server. You cannot associate a server to an orphan if the either the server or orphan billing items have a cancellation date set.
func (r Billing_Item_Virtual_DedicatedHost) SetAssociationId(associatedId *int) (resp bool, err error) {
params := []interface{}{
associatedId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "setAssociationId", params, &r.Options, &resp)
return
}
// Void a previously made cancellation for a service
func (r Billing_Item_Virtual_DedicatedHost) VoidCancelService() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Item_Virtual_DedicatedHost", "voidCancelService", nil, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Order data type contains general information relating to an individual order applied to a SoftLayer customer account or to a new customer. Personal information in this type such as names, addresses, and phone numbers are taken from the account's contact information at the time the order is generated for existing SoftLayer customer.
type Billing_Order struct {
Session *session.Session
Options sl.Options
}
// GetBillingOrderService returns an instance of the Billing_Order SoftLayer service
func GetBillingOrderService(sess *session.Session) Billing_Order {
return Billing_Order{Session: sess}
}
func (r Billing_Order) Id(id int) Billing_Order {
r.Options.Id = &id
return r
}
func (r Billing_Order) Mask(mask string) Billing_Order {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Order) Filter(filter string) Billing_Order {
r.Options.Filter = filter
return r
}
func (r Billing_Order) Limit(limit int) Billing_Order {
r.Options.Limit = &limit
return r
}
func (r Billing_Order) Offset(offset int) Billing_Order {
r.Options.Offset = &offset
return r
}
// When an order has been modified, the customer will need to approve the changes. This method will allow the customer to approve the changes.
func (r Billing_Order) ApproveModifiedOrder() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "approveModifiedOrder", nil, &r.Options, &resp)
return
}
// Retrieve The [[SoftLayer_Account|account]] to which an order belongs.
func (r Billing_Order) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getAccount", nil, &r.Options, &resp)
return
}
// This will get all billing orders for your account.
func (r Billing_Order) GetAllObjects() (resp []datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getAllObjects", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order) GetBrand() (resp datatypes.Brand, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getBrand", nil, &r.Options, &resp)
return
}
// Retrieve A cart is similar to a quote, except that it can be continually modified by the customer and does not have locked-in prices. Not all orders will have a cart associated with them. See [[SoftLayer_Billing_Order_Cart]] for more information.
func (r Billing_Order) GetCart() (resp datatypes.Billing_Order_Cart, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getCart", nil, &r.Options, &resp)
return
}
// Retrieve The [[SoftLayer_Billing_Order_Item (type)|order items]] that are core restricted
func (r Billing_Order) GetCoreRestrictedItems() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getCoreRestrictedItems", nil, &r.Options, &resp)
return
}
// Retrieve All credit card transactions associated with this order. If this order was not placed with a credit card, this will be empty.
func (r Billing_Order) GetCreditCardTransactions() (resp []datatypes.Billing_Payment_Card_Transaction, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getCreditCardTransactions", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order) GetExchangeRate() (resp datatypes.Billing_Currency_ExchangeRate, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getExchangeRate", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order) GetInitialInvoice() (resp datatypes.Billing_Invoice, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getInitialInvoice", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_Billing_Order_items included in an order.
func (r Billing_Order) GetItems() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getItems", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Order object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Order service. You can only retrieve orders that are assigned to your portal user's account.
func (r Billing_Order) GetObject() (resp datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order) GetOrderApprovalDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderApprovalDate", nil, &r.Options, &resp)
return
}
// Retrieve An order's non-server items total monthly fee.
func (r Billing_Order) GetOrderNonServerMonthlyAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderNonServerMonthlyAmount", nil, &r.Options, &resp)
return
}
// Retrieve An order's server items total monthly fee.
func (r Billing_Order) GetOrderServerMonthlyAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderServerMonthlyAmount", nil, &r.Options, &resp)
return
}
// Get a list of [[SoftLayer_Container_Billing_Order_Status]] objects.
func (r Billing_Order) GetOrderStatuses() (resp []datatypes.Container_Billing_Order_Status, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderStatuses", nil, &r.Options, &resp)
return
}
// Retrieve An order's top level items. This normally includes the server line item and any non-server additional services such as NAS or ISCSI.
func (r Billing_Order) GetOrderTopLevelItems() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTopLevelItems", nil, &r.Options, &resp)
return
}
// Retrieve This amount represents the order's initial charge including set up fee and taxes.
func (r Billing_Order) GetOrderTotalAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalAmount", nil, &r.Options, &resp)
return
}
// Retrieve An order's total one time amount summing all the set up fees, the labor fees and the one time fees. Taxes will be applied for non-tax-exempt. This amount represents the initial fees that will be charged.
func (r Billing_Order) GetOrderTotalOneTime() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalOneTime", nil, &r.Options, &resp)
return
}
// Retrieve An order's total one time amount. This amount represents the initial fees before tax.
func (r Billing_Order) GetOrderTotalOneTimeAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalOneTimeAmount", nil, &r.Options, &resp)
return
}
// Retrieve An order's total one time tax amount. This amount represents the tax that will be applied to the total charge, if the SoftLayer_Account tied to a SoftLayer_Billing_Order is a taxable account.
func (r Billing_Order) GetOrderTotalOneTimeTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalOneTimeTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve An order's total recurring amount. Taxes will be applied for non-tax-exempt. This amount represents the fees that will be charged on a recurring (usually monthly) basis.
func (r Billing_Order) GetOrderTotalRecurring() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalRecurring", nil, &r.Options, &resp)
return
}
// Retrieve An order's total recurring amount. This amount represents the fees that will be charged on a recurring (usually monthly) basis.
func (r Billing_Order) GetOrderTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve The total tax amount of the recurring fees, if the SoftLayer_Account tied to a SoftLayer_Billing_Order is a taxable account.
func (r Billing_Order) GetOrderTotalRecurringTaxAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalRecurringTaxAmount", nil, &r.Options, &resp)
return
}
// Retrieve An order's total setup fee.
func (r Billing_Order) GetOrderTotalSetupAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderTotalSetupAmount", nil, &r.Options, &resp)
return
}
// Retrieve The type of an order. This lets you know where this order was generated from.
func (r Billing_Order) GetOrderType() (resp datatypes.Billing_Order_Type, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getOrderType", nil, &r.Options, &resp)
return
}
// Retrieve All PayPal transactions associated with this order. If this order was not placed with PayPal, this will be empty.
func (r Billing_Order) GetPaypalTransactions() (resp []datatypes.Billing_Payment_PayPal_Transaction, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPaypalTransactions", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of a SoftLayer quote. If the order is not a quote, an error will be thrown.
func (r Billing_Order) GetPdf() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPdf", nil, &r.Options, &resp)
return
}
// Retrieve the default filename of an order PDF.
func (r Billing_Order) GetPdfFilename() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPdfFilename", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order) GetPresaleEvent() (resp datatypes.Sales_Presale_Event, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getPresaleEvent", nil, &r.Options, &resp)
return
}
// Retrieve The quote of an order. This quote holds information about its expiration date, creation date, name and status. This information is tied to an order having the status 'QUOTE'
func (r Billing_Order) GetQuote() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getQuote", nil, &r.Options, &resp)
return
}
// Generate an [[SoftLayer_Container_Product_Order|order container]] from a billing order. This will take into account promotions, reseller status, estimated taxes and all other standard order verification processes.
func (r Billing_Order) GetRecalculatedOrderContainer(message *string, ignoreDiscountsFlag *bool) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
message,
ignoreDiscountsFlag,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getRecalculatedOrderContainer", params, &r.Options, &resp)
return
}
// Generate a [[SoftLayer_Container_Product_Order_Receipt]] object with all the order information.
func (r Billing_Order) GetReceipt() (resp datatypes.Container_Product_Order_Receipt, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getReceipt", nil, &r.Options, &resp)
return
}
// Retrieve The Referral Partner who referred this order. (Only necessary for new customer orders)
func (r Billing_Order) GetReferralPartner() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getReferralPartner", nil, &r.Options, &resp)
return
}
// Retrieve This flag indicates an order is an upgrade.
func (r Billing_Order) GetUpgradeRequestFlag() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getUpgradeRequestFlag", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_User_Customer object tied to an order.
func (r Billing_Order) GetUserRecord() (resp datatypes.User_Customer, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "getUserRecord", nil, &r.Options, &resp)
return
}
// When an order has been modified, it will contain a status indicating so. This method checks that status and also verifies that the active user's account is the same as the account on the order.
func (r Billing_Order) IsPendingEditApproval() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order", "isPendingEditApproval", nil, &r.Options, &resp)
return
}
// no documentation yet
type Billing_Order_Cart struct {
Session *session.Session
Options sl.Options
}
// GetBillingOrderCartService returns an instance of the Billing_Order_Cart SoftLayer service
func GetBillingOrderCartService(sess *session.Session) Billing_Order_Cart {
return Billing_Order_Cart{Session: sess}
}
func (r Billing_Order_Cart) Id(id int) Billing_Order_Cart {
r.Options.Id = &id
return r
}
func (r Billing_Order_Cart) Mask(mask string) Billing_Order_Cart {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Order_Cart) Filter(filter string) Billing_Order_Cart {
r.Options.Filter = filter
return r
}
func (r Billing_Order_Cart) Limit(limit int) Billing_Order_Cart {
r.Options.Limit = &limit
return r
}
func (r Billing_Order_Cart) Offset(offset int) Billing_Order_Cart {
r.Options.Offset = &offset
return r
}
// This method is used to transfer an anonymous quote to the active user and associated account. An anonymous quote is one that was created by a user without being authenticated. If a quote was created anonymously and then the customer attempts to access that anonymous quote via the API (which requires authentication), the customer will be unable to retrieve the quote due to the security restrictions in place. By providing the ability for a customer to claim a quote, s/he will be able to pull the anonymous quote onto his/her account and successfully view the quote.
//
// To claim a quote, both the quote id and the quote key (the 32-character random string) must be provided.
func (r Billing_Order_Cart) Claim(quoteKey *string, quoteId *int) (resp datatypes.Billing_Order_Quote, err error) {
params := []interface{}{
quoteKey,
quoteId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "claim", params, &r.Options, &resp)
return
}
// When creating a new cart, the order data is sent through SoftLayer_Product_Order::verifyOrder to make sure that the cart contains valid data. If an issue is found with the order, an exception will be thrown and you will receive the same response as if SoftLayer_Product_Order::verifyOrder were called directly. Once the order verification is complete, the cart will be created.
//
// The response is the new cart id.
func (r Billing_Order_Cart) CreateCart(orderData *datatypes.Container_Product_Order) (resp int, err error) {
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "createCart", params, &r.Options, &resp)
return
}
// If a cart is no longer needed, it can be deleted using this service. Once a cart has been deleted, it cannot be retrieved again.
func (r Billing_Order_Cart) DeleteCart() (resp bool, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "deleteCart", nil, &r.Options, &resp)
return
}
// Account master users and sub-users in the SoftLayer customer portal can delete the quote of an order.
func (r Billing_Order_Cart) DeleteQuote() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "deleteQuote", nil, &r.Options, &resp)
return
}
// Retrieve A quote's corresponding account.
func (r Billing_Order_Cart) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getAccount", nil, &r.Options, &resp)
return
}
// Retrieve a valid cart record of a SoftLayer order.
func (r Billing_Order_Cart) GetCartByCartKey(cartKey *string) (resp datatypes.Billing_Order_Cart, err error) {
params := []interface{}{
cartKey,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getCartByCartKey", params, &r.Options, &resp)
return
}
// no documentation yet
func (r Billing_Order_Cart) GetObject() (resp datatypes.Billing_Order_Cart, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve This order contains the records for which products were selected for this quote.
func (r Billing_Order_Cart) GetOrder() (resp datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getOrder", nil, &r.Options, &resp)
return
}
// Retrieve These are all the orders that were created from this quote.
func (r Billing_Order_Cart) GetOrdersFromQuote() (resp []datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getOrdersFromQuote", nil, &r.Options, &resp)
return
}
// Retrieve a PDF copy of the cart.
func (r Billing_Order_Cart) GetPdf() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getPdf", nil, &r.Options, &resp)
return
}
// This method will return a [[SoftLayer_Billing_Order_Quote]] that is identified by the quote key specified. If you do not have access to the quote or it does not exist, an exception will be thrown indicating so.
func (r Billing_Order_Cart) GetQuoteByQuoteKey(quoteKey *string) (resp datatypes.Billing_Order_Quote, err error) {
params := []interface{}{
quoteKey,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getQuoteByQuoteKey", params, &r.Options, &resp)
return
}
// This method allows the customer to retrieve a saved cart and put it in a format that's suitable to be sent to SoftLayer_Billing_Order_Cart::createCart to create a new cart or to SoftLayer_Billing_Order_Cart::updateCart to update an existing cart.
func (r Billing_Order_Cart) GetRecalculatedOrderContainer(orderData *datatypes.Container_Product_Order, orderBeingPlacedFlag *bool) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
orderData,
orderBeingPlacedFlag,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "getRecalculatedOrderContainer", params, &r.Options, &resp)
return
}
// Use this method for placing server orders and additional services orders. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server orders. In addition to verifying the order, placeOrder() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process. After this, it will go to sales for final approval.
func (r Billing_Order_Cart) PlaceOrder(orderData interface{}) (resp datatypes.Container_Product_Order_Receipt, err error) {
err = datatypes.SetComplexType(orderData)
if err != nil {
return
}
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "placeOrder", params, &r.Options, &resp)
return
}
// Use this method for placing server quotes and additional services quotes. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server quotes. In addition to verifying the quote, placeQuote() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process.
func (r Billing_Order_Cart) PlaceQuote(orderData *datatypes.Container_Product_Order) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "placeQuote", params, &r.Options, &resp)
return
}
// Account master users and sub-users in the SoftLayer customer portal can save the quote of an order to avoid its deletion after 5 days or its expiration after 2 days.
func (r Billing_Order_Cart) SaveQuote() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "saveQuote", nil, &r.Options, &resp)
return
}
// Like SoftLayer_Billing_Order_Cart::createCart, the order data will be sent through SoftLayer_Product_Order::verifyOrder to make sure that the updated cart information is valid. Once it has been verified, the new order data will be saved.
//
// This will return the cart id.
func (r Billing_Order_Cart) UpdateCart(orderData *datatypes.Container_Product_Order) (resp int, err error) {
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "updateCart", params, &r.Options, &resp)
return
}
// Use this method for placing server orders and additional services orders. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server orders. In addition to verifying the order, placeOrder() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process. After this, it will go to sales for final approval.
func (r Billing_Order_Cart) VerifyOrder(orderData interface{}) (resp datatypes.Container_Product_Order, err error) {
err = datatypes.SetComplexType(orderData)
if err != nil {
return
}
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Cart", "verifyOrder", params, &r.Options, &resp)
return
}
// Every individual item that a SoftLayer customer is billed for is recorded in the SoftLayer_Billing_Item data type. Billing items range from server chassis to hard drives to control panels, bandwidth quota upgrades and port upgrade charges. Softlayer [[SoftLayer_Billing_Invoice|invoices]] are generated from the cost of a customer's billing items. Billing items are copied from the product catalog as they're ordered by customers to create a reference between an account and the billable items they own.
//
// Billing items exist in a tree relationship. Items are associated with each other by parent/child relationships. Component items such as CPU's, RAM, and software each have a parent billing item for the server chassis they're associated with. Billing Items with a null parent item do not have an associated parent item.
type Billing_Order_Item struct {
Session *session.Session
Options sl.Options
}
// GetBillingOrderItemService returns an instance of the Billing_Order_Item SoftLayer service
func GetBillingOrderItemService(sess *session.Session) Billing_Order_Item {
return Billing_Order_Item{Session: sess}
}
func (r Billing_Order_Item) Id(id int) Billing_Order_Item {
r.Options.Id = &id
return r
}
func (r Billing_Order_Item) Mask(mask string) Billing_Order_Item {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Order_Item) Filter(filter string) Billing_Order_Item {
r.Options.Filter = filter
return r
}
func (r Billing_Order_Item) Limit(limit int) Billing_Order_Item {
r.Options.Limit = &limit
return r
}
func (r Billing_Order_Item) Offset(offset int) Billing_Order_Item {
r.Options.Offset = &offset
return r
}
// Retrieve The SoftLayer_Billing_Item tied to the order item.
func (r Billing_Order_Item) GetBillingItem() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve The other items included with an ordered item.
func (r Billing_Order_Item) GetBundledItems() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getBundledItems", nil, &r.Options, &resp)
return
}
// Retrieve The item category tied to an order item.
func (r Billing_Order_Item) GetCategory() (resp datatypes.Product_Item_Category, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getCategory", nil, &r.Options, &resp)
return
}
// Retrieve The child order items for an order item. All server order items should have children. These children are considered a part of the server.
func (r Billing_Order_Item) GetChildren() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getChildren", nil, &r.Options, &resp)
return
}
// Retrieve A hardware's universally unique identifier.
func (r Billing_Order_Item) GetGlobalIdentifier() (resp string, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getGlobalIdentifier", nil, &r.Options, &resp)
return
}
// Retrieve The component type tied to an order item. All hardware-specific items should have a generic hardware component.
func (r Billing_Order_Item) GetHardwareGenericComponent() (resp datatypes.Hardware_Component_Model_Generic, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getHardwareGenericComponent", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_Product_Item tied to an order item. The item is the actual definition of the product being sold.
func (r Billing_Order_Item) GetItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getItem", nil, &r.Options, &resp)
return
}
// Retrieve This is an item's category answers.
func (r Billing_Order_Item) GetItemCategoryAnswers() (resp []datatypes.Billing_Order_Item_Category_Answer, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getItemCategoryAnswers", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_Product_Item_Price tied to an order item. The item price object describes the cost of an item.
func (r Billing_Order_Item) GetItemPrice() (resp datatypes.Product_Item_Price, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getItemPrice", nil, &r.Options, &resp)
return
}
// Retrieve The location of an ordered item. This is usually the same as the server it is being ordered with. Otherwise it describes the location of the additional service being ordered.
func (r Billing_Order_Item) GetLocation() (resp datatypes.Location, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getLocation", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order_Item) GetNextOrderChildren() (resp []datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getNextOrderChildren", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Item object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Item service. You can only retrieve billing items tied to the account that your portal user is assigned to. Billing items are an account's items of billable items. There are "parent" billing items and "child" billing items. The server billing item is generally referred to as a parent billing item. The items tied to a server, such as ram, harddrives, and operating systems are considered "child" billing items.
func (r Billing_Order_Item) GetObject() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve This is only populated when an upgrade order is placed. The old billing item represents what the billing was before the upgrade happened.
func (r Billing_Order_Item) GetOldBillingItem() (resp datatypes.Billing_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getOldBillingItem", nil, &r.Options, &resp)
return
}
// Retrieve The order to which this item belongs. The order contains all the information related to the items included in an order
func (r Billing_Order_Item) GetOrder() (resp datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getOrder", nil, &r.Options, &resp)
return
}
// Retrieve
func (r Billing_Order_Item) GetOrderApprovalDate() (resp datatypes.Time, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getOrderApprovalDate", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_Product_Package an order item is a part of.
func (r Billing_Order_Item) GetPackage() (resp datatypes.Product_Package, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getPackage", nil, &r.Options, &resp)
return
}
// Retrieve The parent order item ID for an item. Items that are associated with a server will have a parent. The parent will be the server item itself.
func (r Billing_Order_Item) GetParent() (resp datatypes.Billing_Order_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getParent", nil, &r.Options, &resp)
return
}
// Retrieve The SoftLayer_Product_Package_Preset related to this order item.
func (r Billing_Order_Item) GetPreset() (resp datatypes.Product_Package_Preset, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getPreset", nil, &r.Options, &resp)
return
}
// Retrieve A count of power supplies contained within this SoftLayer_Billing_Order
func (r Billing_Order_Item) GetRedundantPowerSupplyCount() (resp uint, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getRedundantPowerSupplyCount", nil, &r.Options, &resp)
return
}
// Retrieve For ordered items that are software items, a full description of that software can be found with this property.
func (r Billing_Order_Item) GetSoftwareDescription() (resp datatypes.Software_Description, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getSoftwareDescription", nil, &r.Options, &resp)
return
}
// Retrieve The drive storage groups that are attached to this billing order item.
func (r Billing_Order_Item) GetStorageGroups() (resp []datatypes.Configuration_Storage_Group_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getStorageGroups", nil, &r.Options, &resp)
return
}
// Retrieve The recurring fee of an ordered item. This amount represents the fees that will be charged on a recurring (usually monthly) basis.
func (r Billing_Order_Item) GetTotalRecurringAmount() (resp datatypes.Float64, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getTotalRecurringAmount", nil, &r.Options, &resp)
return
}
// Retrieve The next SoftLayer_Product_Item in the upgrade path for this order item.
func (r Billing_Order_Item) GetUpgradeItem() (resp datatypes.Product_Item, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Item", "getUpgradeItem", nil, &r.Options, &resp)
return
}
// The SoftLayer_Billing_Oder_Quote data type contains general information relating to an individual order applied to a SoftLayer customer account or to a new customer. Personal information in this type such as names, addresses, and phone numbers are taken from the account's contact information at the time the quote is generated for existing SoftLayer customer.
type Billing_Order_Quote struct {
Session *session.Session
Options sl.Options
}
// GetBillingOrderQuoteService returns an instance of the Billing_Order_Quote SoftLayer service
func GetBillingOrderQuoteService(sess *session.Session) Billing_Order_Quote {
return Billing_Order_Quote{Session: sess}
}
func (r Billing_Order_Quote) Id(id int) Billing_Order_Quote {
r.Options.Id = &id
return r
}
func (r Billing_Order_Quote) Mask(mask string) Billing_Order_Quote {
if !strings.HasPrefix(mask, "mask[") && (strings.Contains(mask, "[") || strings.Contains(mask, ",")) {
mask = fmt.Sprintf("mask[%s]", mask)
}
r.Options.Mask = mask
return r
}
func (r Billing_Order_Quote) Filter(filter string) Billing_Order_Quote {
r.Options.Filter = filter
return r
}
func (r Billing_Order_Quote) Limit(limit int) Billing_Order_Quote {
r.Options.Limit = &limit
return r
}
func (r Billing_Order_Quote) Offset(offset int) Billing_Order_Quote {
r.Options.Offset = &offset
return r
}
// This method is used to transfer an anonymous quote to the active user and associated account. An anonymous quote is one that was created by a user without being authenticated. If a quote was created anonymously and then the customer attempts to access that anonymous quote via the API (which requires authentication), the customer will be unable to retrieve the quote due to the security restrictions in place. By providing the ability for a customer to claim a quote, s/he will be able to pull the anonymous quote onto his/her account and successfully view the quote.
//
// To claim a quote, both the quote id and the quote key (the 32-character random string) must be provided.
func (r Billing_Order_Quote) Claim(quoteKey *string, quoteId *int) (resp datatypes.Billing_Order_Quote, err error) {
params := []interface{}{
quoteKey,
quoteId,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "claim", params, &r.Options, &resp)
return
}
// Account master users and sub-users in the SoftLayer customer portal can delete the quote of an order.
func (r Billing_Order_Quote) DeleteQuote() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "deleteQuote", nil, &r.Options, &resp)
return
}
// Retrieve A quote's corresponding account.
func (r Billing_Order_Quote) GetAccount() (resp datatypes.Account, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getAccount", nil, &r.Options, &resp)
return
}
// getObject retrieves the SoftLayer_Billing_Order_Quote object whose ID number corresponds to the ID number of the init parameter passed to the SoftLayer_Billing_Order_Quote service. You can only retrieve quotes that are assigned to your portal user's account.
func (r Billing_Order_Quote) GetObject() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getObject", nil, &r.Options, &resp)
return
}
// Retrieve This order contains the records for which products were selected for this quote.
func (r Billing_Order_Quote) GetOrder() (resp datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getOrder", nil, &r.Options, &resp)
return
}
// Retrieve These are all the orders that were created from this quote.
func (r Billing_Order_Quote) GetOrdersFromQuote() (resp []datatypes.Billing_Order, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getOrdersFromQuote", nil, &r.Options, &resp)
return
}
// Retrieve a PDF record of a SoftLayer quoted order. SoftLayer keeps PDF records of all quoted orders for customer retrieval from the portal and API. You must have a PDF reader installed in order to view these quoted order files.
func (r Billing_Order_Quote) GetPdf() (resp []byte, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getPdf", nil, &r.Options, &resp)
return
}
// This method will return a [[SoftLayer_Billing_Order_Quote]] that is identified by the quote key specified. If you do not have access to the quote or it does not exist, an exception will be thrown indicating so.
func (r Billing_Order_Quote) GetQuoteByQuoteKey(quoteKey *string) (resp datatypes.Billing_Order_Quote, err error) {
params := []interface{}{
quoteKey,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getQuoteByQuoteKey", params, &r.Options, &resp)
return
}
// Generate an [[SoftLayer_Container_Product_Order|order container]] from the previously-created quote. This will take into account promotions, reseller status, estimated taxes and all other standard order verification processes.
func (r Billing_Order_Quote) GetRecalculatedOrderContainer(userOrderData *datatypes.Container_Product_Order, orderBeingPlacedFlag *bool) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
userOrderData,
orderBeingPlacedFlag,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "getRecalculatedOrderContainer", params, &r.Options, &resp)
return
}
// Use this method for placing server orders and additional services orders. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server orders. In addition to verifying the order, placeOrder() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process. After this, it will go to sales for final approval.
func (r Billing_Order_Quote) PlaceOrder(orderData interface{}) (resp datatypes.Container_Product_Order_Receipt, err error) {
err = datatypes.SetComplexType(orderData)
if err != nil {
return
}
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "placeOrder", params, &r.Options, &resp)
return
}
// Use this method for placing server quotes and additional services quotes. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server quotes. In addition to verifying the quote, placeQuote() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process.
func (r Billing_Order_Quote) PlaceQuote(orderData *datatypes.Container_Product_Order) (resp datatypes.Container_Product_Order, err error) {
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "placeQuote", params, &r.Options, &resp)
return
}
// Account master users and sub-users in the SoftLayer customer portal can save the quote of an order to avoid its deletion after 5 days or its expiration after 2 days.
func (r Billing_Order_Quote) SaveQuote() (resp datatypes.Billing_Order_Quote, err error) {
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "saveQuote", nil, &r.Options, &resp)
return
}
// Use this method for placing server orders and additional services orders. The same applies for this as with verifyOrder. Send in the SoftLayer_Container_Product_Order_Hardware_Server for server orders. In addition to verifying the order, placeOrder() also makes an initial authorization on the SoftLayer_Account tied to this order, if a credit card is on file. If the account tied to this order is a paypal customer, an URL will also be returned to the customer. After placing the order, you must go to this URL to finish the authorization process. This tells paypal that you indeed want to place the order. After going to this URL, it will direct you back to a SoftLayer webpage that tells us you have finished the process. After this, it will go to sales for final approval.
func (r Billing_Order_Quote) VerifyOrder(orderData interface{}) (resp datatypes.Container_Product_Order, err error) {
err = datatypes.SetComplexType(orderData)
if err != nil {
return
}
params := []interface{}{
orderData,
}
err = r.Session.DoRequest("SoftLayer_Billing_Order_Quote", "verifyOrder", params, &r.Options, &resp)
return
}
```
|
Elizabeth Aline Colborne (1885–1948) was an American printmaker and illustrator.
Biography
Colborne was born in Chamberlain, South Dakota, and raised in Bellingham, Washington. In 1903, she studied at Pratt Institute under Arthur Wesley Dow in New York City. In 1910, she studied at the National Academy of Design, under Charles Frederick William Mielatz, Robert Henri, and Rockwell Kent. In 1924, she studied at the Art Students League of New York under Allen Lewis.
In 1933, she moved back to Bellingham, Washington to work for the Works Progress Administration.
Her work is included in the collections of the Seattle Art Museum, the Whatcom Museum and the Minneapolis Institute of Art.
References
External links
Works by Elizabeth Colborne at Project Gutenberg
1885 births
1948 deaths
20th-century American women artists
Artists from New York City
Artists from Seattle
People from Chamberlain, South Dakota
People from Bellingham, Washington
Art Students League of New York alumni
Pratt Institute alumni
National Academy of Design alumni
|
```smalltalk
using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.ServiceModel;
using System.Text;
namespace Audit.Wcf.UnitTest
{
// NOTE: You can use the "Rename" command on the "Refactor" menu to change the interface name "ICatalogService" in both code and config file together.
[ServiceContract]
public interface ICatalogService
{
[OperationContract]
ProductResponse InsertProduct(string id, Product product);
}
public class Product
{
public string Name { get; set; }
public decimal Price { get; set; }
}
public class ProductResponse
{
public bool Success { get; set; }
public Product Product { get; set; }
}
}
```
|
Wojciech Rutkowski (19 November 1935 – 29 May 1994) was a Polish volleyball player. He competed in the men's tournament at the 1968 Summer Olympics.
References
External links
1935 births
1994 deaths
Volleyball players from Warsaw
Polish men's volleyball players
Olympic volleyball players for Poland
Volleyball players at the 1968 Summer Olympics
Legia Warsaw (men's volleyball) players
|
Cordillera Azul National Park () is a protected area in Peru. It protects part of the Ucayali moist forests ecoregion.
History
In 1963, the Biavo-Cordillera Azul National Forest was established, spanning 2,178,000 hectares. In 1997, this area is declared as a forest for timber production, leaving it open to logging operations. However, in 1999, Red Ambiental Peruana (an alliance of several NGOs) and COPRI (the authority for rights for timber exploitation) conduct research in the area and agree to protect the northern part of the forest due to its high biodiversity. In 2000, the Cordillera Azul Reserved Zone is established on the mountainous part of the national forest, and a team from the Field Museum begins an assessment of the biodiversity in the area. Based on such assessment, the Peruvian Ministry of Agriculture recommends the area is protected as a national park. The Cordillera Azul National Park was established in 2001 during the tenure of president Valentín Paniagua.
Geography
Cordillera Azul National Park is located in the regions of San Martin, Loreto, Huanuco and Ucayali; between the Huallaga and Ucayali rivers. Elevations in the park are in the range of 100–2350 m, and the main landscape features are: mountains, hills and ample valleys. Mountains inside the park can have steep slopes, and landslides are frequent. In the southern section of the park, there is an area of highland swamps, at 1400 m of elevation. At the northern end of the park, the Huallaga river opens a water gap in the mountain range, east of Chazuta, this feature is known as Pongo de Aguirre.
Ecology
Flora
Montane forests cover most of the park's area, although it also includes sections of dry forest to the west and lowland Amazon rainforest to the east. Among the plant species found in the area are: Ceiba insignis, Ficus spp., Tabernaemontana sananho, Inga spp., Swietenia macrophylla, Triplaris americana, Miconia spp., Couroupita guianensis, Ocotea javitensis, Sciodaphyllum spp., Erythrina ulei, Alchornea triplinervia, Terminalia amazonia, Calophyllum brasiliense, Pouteria spp., Cedrela fissilis, Epidendrum spp., Schizolobium parahyba, Bactris gasipaes, Cecropia spp., Hevea guianensis, Dracontium spruceanum, Attalea maripa, Brosimum alicastrum, Asplenium serratum, Heliconia rostrata, Carludovica palmata, Solanum grandiflorum, Geogenanthus poeppigii, Myroxylon balsamum, Brunfelsia grandiflora, Calycophyllum spruceanum, Mauritia flexuosa, Virola calophylla, Desmoncus polyacanthos, Podocarpus oleifolius, Theobroma cacao, Cedrelinga cateniformis, Zamia poeppigiana, Amburana cearensis, Margaritaria nobilis, Jacaranda copaia, Eugenia spp., Spondias mombin, Maxillaria graminifolia, etc.
Fauna
Among the fish found in the park are: Hoplias malabaricus, Rineloricaria lanceolata, Leporinus spp., Piaractus brachypomus, Pseudoplatystoma fasciatum, Zungaro zungaro, Crossoloricaria rhami, etc.
Some of the birds found in the park are: the great tinamou, the fasciated tiger heron, the scarlet macaw, the osprey, the muscovy duck, the violet-headed hummingbird, the sunbittern, the short-tailed parrot, the white-booted racket-tail, the king vulture, the little blue heron, the harpy eagle, the jabiru, the blue-and-yellow macaw, the fork-tailed palm swift, the Cordillera Azul antbird, etc.
Mammals reported in the area include: the Amazon dwarf squirrel, the bush dog, the puma, the common opossum, the brown-mantled tamarin, the Peruvian spider monkey, the jaguar, the white-lipped peccary, the red brocket, the South American tapir, the tayra, etc.
Environmental issues
Illegal road building and clearing of forests for agriculture occurs inside the park; park rangers and inhabitants of nearby villages patrol the area.
References
External links
Cordillera Azul National Park. Profile at CIMA.
Cordillera Azul National Park. Profile at Protectedplanet.net
National forests of Peru
National parks of Peru
Geography of Loreto Region
Geography of San Martín Region
Geography of Ucayali Region
Tourist attractions in Loreto Region
Tourist attractions in San Martín Region
Tourist attractions in Ucayali Region
Tourist attractions in Huánuco Region
Geography of Huánuco Region
Protected areas established in 2001
2001 establishments in Peru
|
```javascript
//
// Permission is hereby granted, free of charge, to any person obtaining a
// copy of this software and associated documentation files (the
// "Software"), to deal in the Software without restriction, including
// without limitation the rights to use, copy, modify, merge, publish,
// distribute, sublicense, and/or sell copies of the Software, and to permit
// persons to whom the Software is furnished to do so, subject to the
// following conditions:
//
// The above copyright notice and this permission notice shall be included
// in all copies or substantial portions of the Software.
//
// THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
// OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
// MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN
// NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM,
// DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
// OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE
// USE OR OTHER DEALINGS IN THE SOFTWARE.
'use strict';
const common = require('../common');
if (!common.isMainThread)
common.skip('Setting process.umask is not supported in Workers');
const assert = require('assert');
const path = require('path');
const fs = require('fs');
// On Windows chmod is only able to manipulate read-only bit. Test if creating
// the file in read-only mode works.
const mode = common.isWindows ? 0o444 : 0o755;
// Reset the umask for testing
process.umask(0o000);
const tmpdir = require('../common/tmpdir');
tmpdir.refresh();
// Test writeFileSync
{
const file = path.join(tmpdir.path, 'testWriteFileSync.txt');
fs.writeFileSync(file, '123', { mode });
const content = fs.readFileSync(file, { encoding: 'utf8' });
assert.strictEqual(content, '123');
assert.strictEqual(fs.statSync(file).mode & 0o777, mode);
}
// Test appendFileSync
{
const file = path.join(tmpdir.path, 'testAppendFileSync.txt');
fs.appendFileSync(file, 'abc', { mode });
const content = fs.readFileSync(file, { encoding: 'utf8' });
assert.strictEqual(content, 'abc');
assert.strictEqual(fs.statSync(file).mode & mode, mode);
}
// Test writeFileSync with file descriptor
{
// Need to hijack fs.open/close to make sure that things
// get closed once they're opened.
const _openSync = fs.openSync;
const _closeSync = fs.closeSync;
let openCount = 0;
fs.openSync = (...args) => {
openCount++;
return _openSync(...args);
};
fs.closeSync = (...args) => {
openCount--;
return _closeSync(...args);
};
const file = path.join(tmpdir.path, 'testWriteFileSyncFd.txt');
const fd = fs.openSync(file, 'w+', mode);
fs.writeFileSync(fd, '123');
fs.closeSync(fd);
const content = fs.readFileSync(file, { encoding: 'utf8' });
assert.strictEqual(content, '123');
assert.strictEqual(fs.statSync(file).mode & 0o777, mode);
// Verify that all opened files were closed.
assert.strictEqual(openCount, 0);
fs.openSync = _openSync;
fs.closeSync = _closeSync;
}
// Test writeFileSync with flags
{
const file = path.join(tmpdir.path, 'testWriteFileSyncFlags.txt');
fs.writeFileSync(file, 'hello ', { encoding: 'utf8', flag: 'a' });
fs.writeFileSync(file, 'world!', { encoding: 'utf8', flag: 'a' });
const content = fs.readFileSync(file, { encoding: 'utf8' });
assert.strictEqual(content, 'hello world!');
}
```
|
```gas
@your_sha256_hash----------------
@ udiv.s
@your_sha256_hash----------------
@ Provides an implementation of unsigned division
@your_sha256_hash----------------
@ Source code taken from path_to_url~theom/riscos/docs/ultimate/a252div.txt
@ r0: the numerator / r1: the denominator
@ after it, r0 has the quotient and r1 has the modulo
.section .iwram, "ax", %progbits
.align 2
.arm
.global __aeabi_uidivmod
.type __aeabi_uidivmod STT_FUNC
__aeabi_uidivmod:
.section .iwram, "ax", %progbits
.align 2
.arm
.global __aeabi_uidiv
.type __aeabi_uidiv STT_FUNC
__aeabi_uidiv:
@ Check for division by zero
cmp r1, #0
bxeq lr
.global udiv32pastzero
udiv32pastzero:
@ If n < d, just bail out as well
cmp r0, r1 @ n, d
movlo r1, r0 @ mod = n
movlo r0, #0 @ quot = 0
bxlo lr
@ Move the denominator to r2 and start to build a counter that
@ counts the difference on the number of bits on each numerator
@ and denominator
@ From now on: r0 = quot/num, r1 = mod, r2 = denom, r3 = counter
mov r2, r1
mov r3, #28 @ first guess on difference
mov r1, r0, lsr #4 @ r1 = num >> 4
@ Iterate three times to get the counter up to 4-bit precision
cmp r2, r1, lsr #12
suble r3, r3, #16
movle r1, r1, lsr #16
cmp r2, r1, lsr #4
suble r3, r3, #8
movle r1, r1, lsr #8
cmp r2, r1
suble r3, r3, #4
movle r1, r1, lsr #4
@ shift the numerator by the counter and flip the sign of the denom
mov r0, r0, lsl r3
adds r0, r0, r0
rsb r2, r2, #0
@ dynamically jump to the exact copy of the iteration
add r3, r3, r3, lsl #1 @ counter *= 3
add pc, pc, r3, lsl #2 @ jump
mov r0, r0 @ pipelining issues
@ here, r0 = num << (r3 + 1), r1 = num >> (32-r3), r2 = -denom
@ now, the real iteration part
.global divIteration
divIteration:
.rept 32
adcs r1, r2, r1, lsl #1
sublo r1, r1, r2
adcs r0, r0, r0
.endr
@ and then finally quit
@ r0 = quotient, r1 = remainder
bx lr
```
|
Nathan Donald Diaz (born April 16, 1985) is an American professional mixed martial artist who is currently a free agent. Diaz is most known for his time spent fighting in the Ultimate Fighting Championship (UFC), where he fought for over 15 years after winning The Ultimate Fighter 5. Prior to signing with the UFC, Diaz competed in World Extreme Cagefighting, Strikeforce, and Pancrase. Diaz has the third most UFC bonus awards, with 16 in total. In his debut professional boxing match, he was defeated by Jake Paul.
Background
The son of Melissa (née Womble) and Robert Diaz, he was born of Mexican and Anglo heritage and raised in Stockton, California, with his brother Nick and sister Nina. He attended Tokay High School and, at the age of 11, he began training in martial arts with his brother, Nick.
Mixed martial arts career
Early career
Prior to his official MMA career, Diaz competed in a bare knuckle MMA fight against Robert Limon on July 20, 2002, at the age of 17. Footage has since emerged of the fight and it is believed to be his first competitive experience.
Upon making his official professional MMA debut, Diaz competed mainly for World Extreme Cagefighting (WEC). In 2006, at WEC 24, he fought for the WEC Lightweight Championship against then-champion Hermes França, losing by submission in the second round. This was the last event held by WEC before it was acquired by Zuffa, LLC, then parent company of the UFC.
Ultimate Fighting Championship
The Ultimate Fighter 5
Diaz was a contestant on The Ultimate Fighter 5, which exclusively featured lightweights, fighting on Jens Pulver's team. In the preliminary round, Diaz defeated Rob Emerson by submission; in the quarterfinals he defeated fellow Team Pulver teammate Corey Hill via triangle choke submission in the first round. In the semifinals, Diaz defeated Team Penn member Gray Maynard by submission, advancing to the finals, in which he faced teammate Manvel Gamburyan. Diaz won by submission after Gamburyan was forced to tap out in the second round due to the dislocation of his right shoulder as the result of attempting a takedown. With the victory, Diaz won The Ultimate Fighter 5.
2008
After defeating Alvin Robinson and Junior Assunção via submission, Diaz demanded tougher opponents. He was given a match with Kurt Pellegrino at UFC Fight Night 13. Diaz defeated Pellegrino via triangle-choke submission in the second round. As he locked up the choke, Diaz had time to flex for the crowd and throw up double middle fingers before Pellegrino submitted. Diaz then defeated veteran Josh Neer by split decision in the main event of UFC Fight Night 15.
2009
Diaz next fought former Strikeforce Lightweight Champion Clay Guida at UFC 94: St. Pierre vs. Penn 2, losing via split decision. Guida used his wrestling to take Diaz down multiple times. Guida won via split decision, marking Diaz's first loss in the UFC, in what was also his pay per view debut.
Diaz met fellow Ultimate Fighter winner and former King of the Cage Welterweight Champion Joe Stevenson at The Ultimate Fighter 9 Finale. Stevenson took Diaz down at will throughout the 3 rounds and Diaz lost by unanimous decision.
After two consecutive losses by decision, Diaz was billed to headline UFC Fight Night 19 opposite Melvin Guillard. Diaz won by submission to a guillotine choke at 2:30 of round 2.
2010
Diaz faced Gray Maynard on January 11, 2010, in the main event at UFC Fight Night 20, a rematch from when the two met in the semi-finals of the TUF 5 lightweight tournament, which Diaz won. Diaz lost a controversial split decision to Maynard, as the former TUF winner was given the nod in the FightMetric reports, winning rounds two and three.
After three losses in four fights, Nate considered making a permanent move up in weight to the 170 lb. weight class, stating "I don't make enough money to have to drop this much weight so I'd like to fight at 170 and only go to 155 every once in a while."
Diaz made his Welterweight debut on March 27, 2010, at UFC 111 against Miletich Fighting Systems product and striking specialist Rory Markham. At the weigh-ins, Markham weighed in at 177, whereas Diaz weighed in at the Welterweight limit of 171; the fight was changed to a catchweight fight. Diaz went on to win the fight by TKO in the first round.
After the win over Markham, Diaz stated he would compete in both weight classes. His next fight was again at Welterweight against former professional boxer Marcus Davis on August 28, 2010, at UFC 118. Diaz finished Davis after choking him unconscious with a guillotine choke submission in the final round; the bout earned Fight of the Night honors.
2011
Diaz next faced South Korean fighter Dong Hyun Kim, on January 1, 2011, at UFC 125. Diaz lost the fight via unanimous decision.
Diaz fought Rory MacDonald on April 30, 2011, at UFC 129. Diaz was unable to mount much significant offense and lost via unanimous decision. Following the loss, Diaz stated that he would be moving back down to the lightweight division.
Diaz defeated former PRIDE Lightweight Champion Takanori Gomi on September 24, 2011, at UFC 135 via armbar submission in the first round. He earned Submission of the Night honors for his performance.
Diaz defeated Donald Cerrone at UFC 141 via unanimous decision (30–27, 30–27, and 29–28) in a performance that earned both participants Fight of the Night honors. Despite being knocked off of his feet multiple times by sweeping leg kicks from Cerrone, Diaz had one of the best performances of his career. Diaz set a CompuStrike record, landing 82% of the strikes he threw en route to his victory over Cerrone.
2012
Diaz, after several years of training, finally received his Brazilian jiu-jitsu black belt from Cesar Gracie. He was awarded his black belt a month before his fight with fellow Brazilian jiu-jitsu black belt Jim Miller.
Diaz next faced Jim Miller on May 5, 2012, at UFC on Fox 3. Diaz outboxed Miller for the majority of the first two rounds, even dropping Miller with a straight left at the end of the first round. Near the end of round two, Miller shot in for a takedown, to which Diaz stuffed and countered with a rolling guillotine choke, forcing the tap at 4:09 of the second round. The submission won Diaz his fifth Submission of the Night bonus award. It was also the first time Miller had been stopped in his MMA career.
Diaz faced Benson Henderson on December 8, 2012, at UFC on Fox 5 in the main event for the UFC Lightweight Championship. Diaz lost the one-sided bout via unanimous decision. Three weeks prior to the championship bout, Diaz signed an eight-fight contract with UFC.
2013
Diaz faced former Strikeforce Lightweight Champion Josh Thomson on April 20, 2013, at UFC on Fox 7. He lost the fight via TKO due to a head kick and punches, during which Nate's brother, Nick Diaz physically threw a towel into the octagon, in an attempt to signal the referee to end the bout. On May 16, 2013, Diaz was suspended by the UFC for violating the UFC's code of conduct by using a homophobic slur on his Twitter page. The UFC expressed their disappointment and suspended him; he was eventually suspended for 90 days and fined $20,000.
A rubber match with Gray Maynard took place on November 30, 2013, in the main event at The Ultimate Fighter 18 Finale. Diaz won via TKO in the first round. The stoppage earned him his first Knockout of the Night bonus.
2014
On May 5, 2014, both Nate Diaz and fellow UFC fighter T. J. Grant were removed from the UFC's lightweight rankings after being deemed inactive by the UFC.
After over a year away from the sport, Diaz returned from his self-imposed hiatus and faced Rafael Dos Anjos on December 13, 2014, at UFC on Fox 13. Diaz missed weight, coming in at 160.6 pounds. He was given additional time to make the lightweight limit, and cut down to 155.2. However, he was still fined 20 percent of his purse, which went to Rafael dos Anjos. Diaz, who seemed unmotivated and annoyed for most of the fight, lost the one-sided fight via unanimous decision (30–26, 30–26, and 30–27).
2015
Diaz was briefly linked to a welterweight bout with Matt Brown on July 11, 2015, at UFC 189. However, in mid-April, Brown announced that the pairing had been scrapped.
After sitting out again for over a year, Diaz returned to face Michael Johnson on December 19, 2015, at UFC on Fox 17. He won the fight via unanimous decision and went on to give one of the most infamous post-fight interviews in UFC history, where he called out Conor McGregor by saying "you're taking everything I work for, motherfucker, and I'ma fight your fucking ass" on live broadcast television. Both participants were awarded Fight of the Night honors.
2016
Diaz was set as a replacement to face Conor McGregor on March 5, 2016, at UFC 196, filling in for an injured Rafael dos Anjos. With Diaz only having eleven days notice, the fight took place at welterweight (170 lbs) due to lack of time to cut weight. Diaz won the fight via submission in the second round. This gave Diaz his ninth submission victory in the UFC, tied for the second-most all-time behind only Royce Gracie. Both fighters were awarded Fight of the Night honors and Diaz was also awarded with the Performance of the Night bonus.
A rematch with McGregor was scheduled for July 9, 2016, at UFC 200. However, on April 19, the UFC announced that McGregor had been pulled from the event after failing to fulfill media obligations in Las Vegas related to the fight. In turn, the fight with McGregor was rescheduled and took place the following month, contested again at welterweight, at UFC 202. Diaz lost the rematch via majority decision. The contest was once again awarded Fight of the Night honors.
At the UFC 202 post-fight press conference, Diaz violated the USADA rule by smoking CBD, Cannabidiol, vape pen within four hours after a fight. He was not sanctioned as CBD is not considered a PED. USADA changed their rules and lifted CBD from the banned list not long after.
2018
After a two-year-long layoff, it was announced on August 3, 2018, that Diaz was expected to return on November 3 against Dustin Poirier in a lightweight bout. This bout was expected to serve as the co-headliner of UFC 230. However, on October 9, 2018, it was announced that Poirier pulled out due to injury and as a result, the bout was canceled.
2019
Nate Diaz returned to competition on August 17 at UFC 241. He faced Anthony Pettis in a welterweight bout which served as the co-main event. With a dominant performance, he won the fight by unanimous decision.
Diaz faced Jorge Masvidal on November 2, 2019, in the main event of UFC 244. In a unique situation, UFC President Dana White confirmed that the headlining bout was for a celebratory "baddest motherfucker" ('BMF') belt. After being dominated for most of the fight, Diaz lost the fight via TKO between rounds three and four when the cage-side physician determined a cut over Diaz's right eye rendered him unable to continue.
2021
Diaz was expected to face Leon Edwards on May 15, 2021, at UFC 262 in the event's co-headliner, marking the first time a non-main event and non-title bout had been scheduled for 5 rounds. However, the bout was moved to UFC 263 due to a minor injury sustained by Diaz and eventually took place for five rounds as well. Edwards controlled a vast majority of the bout, but was stunned badly with punches late in the fifth. Edwards won the fight by unanimous decision (49–46, 49–46, 49–46).
2022
On the last fight of his UFC contract, Diaz was scheduled to face Khamzat Chimaev on September 10, 2022, in the main event of UFC 279. However, at the weigh-ins on September 9, Chimaev weighed in at 178.5 pounds, seven-and-a-half pounds over the welterweight non-title fight limit. As a result of Chimaev missing weight, he was removed from his bout with Diaz. Diaz instead faced Tony Ferguson in the main event. Diaz won the fight via a guillotine choke submission in the fourth round. This win earned Diaz his second Performance of the Night bonus award. Diaz opted to not re-sign with the UFC before the bout with Ferguson, thus making Diaz a free agent once the fight concluded.
Boxing career
Diaz vs. Paul
After becoming a free agent, Diaz decided to enter into the sport of boxing. On April 12, 2023 it was announced that Diaz would be making his professional boxing debut against Jake Paul. The bout took place on August 5, 2023 at the American Airlines Center in Dallas, Texas. Paul defeated Diaz via unanimous decision with scores of 98–91, 98–91, and 97–92.
Personal life
Diaz's brother Nick is also a professional MMA fighter fighting under UFC. Both Diaz brothers are advocates for cannabis and even have a licensed line of marijuana pre-rolls made by California Finest. They currently run a Brazilian jiu-jitsu school in Stockton, California (Nick Diaz Academy), and founded a CBD company called Game Up Nutrition. He has been primarily vegan since he was 18, but admits to eating fish from time to time. On June 20, 2018, it was announced that Diaz's girlfriend had given birth to their daughter.
In August 2022, Diaz publicly endorsed fellow UFC veteran BJ Penn in his run for governor for Hawaii.
In September 2022, Diaz announced the news that he was starting his own combat sports promotion company, Real Fight Inc. As a result of the attention that Diaz had brought to the city of Stockton, he was presented with a key to the city by the mayor during a Stockton Kings basketball game in December 2022.
In October 2022, Diaz was involved in a brawl backstage at the Jake Paul vs. Anderson Silva boxing match and was removed from the event as a result.
In April 2023, footage emerged of Diaz getting involved in an altercation in the street that ended with him choking a man unconscious. Diaz was then issued a warrant and Diaz turned himself in to the New Orleans Police Department on April 27, at 7:10 AM, facing a second-degree battery charge. Diaz's attorney claimed that he acted in self-defense and he was released on a $10,000 bond. On September 25, 2023, it was reported that the Orleans Parish would not pursue the case against Diaz indicating the actions of Nate’s actions were 100% in self defense as shown on video, clean in pictures and clear from the multiple withnesses.
Championships and accomplishments
Ultimate Fighting Championship
The Ultimate Fighter 5 winner
Fight of the Night (Eight times) vs. Josh Neer, Clay Guida, Joe Stevenson, Marcus Davis, Donald Cerrone, Michael Johnson, & Conor McGregor (2)
Tied (Frankie Edgar & Dustin Poirier) for second most Fight of the Night bonuses in UFC history (8)
Knockout of the Night (One time) vs. Gray Maynard
Performance of the Night (Two times) vs. Conor McGregor and Tony Ferguson
Submission of the Night (Five times) Alvin Robinson, Kurt Pellegrino, Melvin Guillard, Takanori Gomi, & Jim Miller
Third most Post-Fight bonuses in UFC history (16)
Tied (Joe Lauzon) for third most submission wins in UFC Lightweight division history (7)
Fourth most submissions in UFC history (10)
Fifth most total strikes landed in UFC history (2487)
Tied (Nik Lentz) for fourth most submission attempts in UFC history (26)
MMAJunkie.com
2016 March Fight of the Month vs. Conor McGregor
2016 August Fight of the Month vs. Conor McGregor
2019 November Fight of the Month vs. Jorge Masvidal
Sherdog
2011 All-Violence First Team
World MMA Awards
2016 Submission of the Year vs. Conor McGregor at UFC 196
Wrestling Observer Newsletter
2016 Feud of the Year vs. Conor McGregor
Mixed martial arts record
|-
|Win
|align=center|21–13
|Tony Ferguson
|Submission (guillotine choke)
|UFC 279
|
|align=center|4
|align=center|2:52
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|20–13
|Leon Edwards
|Decision (unanimous)
|UFC 263
|
|align=center|5
|align=center|5:00
|Glendale, Arizona, United States
|
|-
|Loss
|align=center|20–12
|Jorge Masvidal
|TKO (doctor stoppage)
|UFC 244
|
|align=center|3
|align=center|5:00
|New York City, New York, United States
|
|-
|Win
|align=center|20–11
|Anthony Pettis
|Decision (unanimous)
|UFC 241
|
|align=center|3
|align=center|5:00
|Anaheim, California, United States
|
|-
|Loss
|align=center|19–11
|Conor McGregor
|Decision (majority)
|UFC 202
|
|align=center|5
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|19–10
|Conor McGregor
|Submission (rear-naked choke)
|UFC 196
|
|align=center|2
|align=center|4:12
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|18–10
|Michael Johnson
|Decision (unanimous)
|UFC on Fox: dos Anjos vs. Cowboy 2
|
|align=center|3
|align=center|5:00
|Orlando, Florida, United States
|
|-
|Loss
|align=center|17–10
|Rafael dos Anjos
|Decision (unanimous)
|UFC on Fox: dos Santos vs. Miocic
|
|align=center|3
|align=center|5:00
|Phoenix, Arizona, United States
|
|-
|Win
|align=center|17–9
|Gray Maynard
|TKO (punches)
|The Ultimate Fighter: Team Rousey vs. Team Tate Finale
|
|align=center|1
|align=center|2:38
|Las Vegas, Nevada, United States
|
|-
| Loss
|align=center|16–9
|Josh Thomson
|TKO (head kick and punches)
|UFC on Fox: Henderson vs. Melendez
|
|align=center|2
|align=center|3:44
|San Jose, California, United States
|
|-
| Loss
|align=center|16–8
|Benson Henderson
|Decision (unanimous)
|UFC on Fox: Henderson vs. Diaz
|
|align=center|5
|align=center|5:00
|Seattle, Washington, United States
|
|-
|Win
|align=center|16–7
|Jim Miller
|Submission (guillotine choke)
|UFC on Fox: Diaz vs. Miller
|
|align=center|2
|align=center|4:09
|East Rutherford, New Jersey, United States
|
|-
|Win
|align=center|15–7
|Donald Cerrone
|Decision (unanimous)
|UFC 141
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|14–7
|Takanori Gomi
|Submission (armbar)
|UFC 135
|
|align=center|1
|align=center|4:27
|Denver, Colorado, United States
|
|-
|Loss
|align=center|13–7
|Rory MacDonald
|Decision (unanimous)
|UFC 129
|
|align=center|3
|align=center|5:00
|Toronto, Ontario, Canada
|
|-
|Loss
|align=center|13–6
|Dong Hyun Kim
|Decision (unanimous)
|UFC 125
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|13–5
|Marcus Davis
|Technical Submission (guillotine choke)
|UFC 118
|
|align=center|3
|align=center|4:02
|Boston, Massachusetts, United States
|
|-
|Win
|align=center|12–5
|Rory Markham
|TKO (punches)
|UFC 111
|
|align=center|1
|align=center|2:47
|Newark, New Jersey, United States
|
|-
|Loss
|align=center|11–5
|Gray Maynard
|Decision (split)
|UFC Fight Night: Maynard vs. Diaz
|
|align=center|3
|align=center|5:00
|Fairfax, Virginia, United States
|
|-
|Win
|align=center|11–4
|Melvin Guillard
|Submission (guillotine choke)
|UFC Fight Night: Diaz vs. Guillard
|
|align=center|2
|align=center|2:13
|Oklahoma City, Oklahoma, United States
|
|-
|Loss
|align=center|10–4
|Joe Stevenson
|Decision (unanimous)
|The Ultimate Fighter: United States vs. United Kingdom Finale
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|10–3
|Clay Guida
|Decision (split)
|UFC 94
|
|align=center|3
|align=center|5:00
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|10–2
|Josh Neer
|Decision (split)
|UFC Fight Night: Diaz vs. Neer
|
|align=center|3
|align=center|5:00
|Omaha, Nebraska, United States
|
|-
|Win
|align=center|9–2
|Kurt Pellegrino
|Submission (triangle choke)
|UFC Fight Night: Florian vs. Lauzon
|
|align=center|2
|align=center|3:06
|Broomfield, Colorado, United States
|
|-
|Win
|align=center|8–2
|Alvin Robinson
|Submission (triangle choke)
|UFC Fight Night: Swick vs. Burkman
|
|align=center|1
|align=center|3:39
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|7–2
|Junior Assunção
|Submission (guillotine choke)
|UFC Fight Night: Thomas vs. Florian
|
|align=center|1
|align=center|4:10
|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|6–2
|Manny Gamburyan
|TKO (shoulder injury)
|The Ultimate Fighter: Team Pulver vs. Team Penn Finale
|
|align=center|2
|align=center|0:20
|Las Vegas, Nevada, United States
|
|-
|Loss
|align=center|5–2
|Hermes França
|Submission (armbar)
|WEC 24
|
|align=center|2
|align=center|2:46
|Lemoore, California, United States
|
|-
|Win
|align=center|5–1
|Dennis Davis
|Submission (keylock)
|Warrior Cup 1
|
|align=center|1
|align=center|2:00
|Stockton, California, United States
|
|-
|Win
|align=center|4–1
|Joe Hurley
|Submission (triangle choke)
|WEC 21
|
|align=center|2
|align=center|2:03
|Highland, California, United States
|
|-
|Win
|align=center|3–1
|Gilbert Rael
|TKO (punches)
|WEC 20
|
|align=center|1
|align=center|3:35
|Lemoore, California, United States
|
|-
|Win
|align=center|2–1
|Tony Juares
|TKO (punches)
|Strikeforce: Shamrock vs. Gracie
|
|align=center|1
|align=center|3:23
|San Jose, California, United States
|
|-
|Loss
|align=center|1–1
|Koji Oishi
|Decision (unanimous)
|Pancrase: 2005 Neo-Blood Tournament Finals
|
|align=center|3
|align=center|5:00
|Tokyo, Japan
|
|-
|Win
|align=center|1–0
|Alejandro Garcia
|Submission (triangle choke)
|WEC 12
|
|align=center|3
|align=center|2:17
|Lemoore, California, United States
|
|}
|-
|Win
|align=center|3–0
|Gray Maynard
|Submission (guillotine choke)
|rowspan=3|The Ultimate Fighter: Team Pulver vs. Team Penn
| (air date)
|align=center|2
|align=center|1:17
|rowspan=3|Las Vegas, Nevada, United States
|
|-
|Win
|align=center|2–0
|Corey Hill
|Submission (triangle choke)
| (air date)
|align=center|1
|align=center|3:02
|
|-
|Win
|align=center|1–0
|Rob Emerson
|Submission (rear-naked choke)
| (air date)
|align=center|2
|align=center|4:45
|
Professional boxing record
Pay-per-view bouts
MMA
Boxing
See also
List of male mixed martial artists
References
External links
Official UFC Profile
1985 births
Living people
American male mixed martial artists
Mixed martial artists from California
American mixed martial artists of Mexican descent
Lightweight mixed martial artists
Welterweight mixed martial artists
Mixed martial artists utilizing Brazilian jiu-jitsu
The Ultimate Fighter winners
American practitioners of Brazilian jiu-jitsu
Sportspeople from Stockton, California
Sportspeople from Lodi, California
People awarded a black belt in Brazilian jiu-jitsu
American cannabis activists
Ultimate Fighting Championship male fighters
Tokay High School alumni
|
Royal Consort Hwa of the Namyang Hong clan (; ) was a Korean royal consort and the third wife of King Chunghye of Goryeo.
Biography
Early life and relatives
The future Consort Hwa was born as the daughter of Hong-Tak, Internal Prince Ikseong (홍탁 익성부원군), son of Hong-Seon (홍선) from the Namyang Hong clan and Lady Gwon (부인 권씨), daughter of Gwon-Jun, Internal Prince Gilchang (권준 길창부원군) from the Andong Gwon clan. She had:
1 older brother: Hong Sang-jae (홍상재)
3 younger brothers:
Hong Hye-chan (홍혜찬)
Hong Gae-do (홍개도)
Hong Chang-do (홍창도)
Her paternal great-great-grandfather was Hong Baek-su (홍백수), the younger brother of Hong Bok-won (홍복원) who was surrendered to Mongolian side during the long war between Korea and Mongolia. King Chungsuk's 5th wife, Consort Su was her maternal cousin.
Marriage and Palace life
Firstly, her father, Hong-Tak was an ambassador from Gyeongsang Province (경상도진변사, 慶尙道鎭邊使) and when King Chunghye heard her beauty, he then gave Hong-Tak clothes and alcohol, also bestowed Royal title Splendid Consort (화비, 和妃) to Lady Hong in 1342. At this time, the King's other consort, Lady Im who entered the palace two years earlier than Hong fell jealous and then the King appointed Im as Princess Euncheon (은천옹주, 銀川翁主) to comforted her.
Rather than stayed in the palace, Hong instead lived in Prime Minister Yun-Chim (윤침, 尹忱)'s manor, so Chunghye can travel easier when he wanted to met her. However, his love and interest on her were grew tired and cut off within a few days. As a result, they didn't have any issue. According to Goryeosa, in 1343, Chunghye visited Hong's house again.
References
Royal consorts of the Goryeo Dynasty
Year of birth unknown
Year of death unknown
Namyang Hong clan
|
Jath State, was one of the non-salute Maratha princely states of Deccan States Agency, one of the former Southern Maratha Jagirs. Jath State and Daphlapur State were the only two states belonging to the Bijapur Agency under the Bombay Presidency, which later became part of the Deccan States Agency.
The state was founded in 1686 by the hereditary Patil (chief) of Daphlapur.
Jath state (including Daphlapur) covered an area of , and had a population of 68,665 in 1901, while the population of Jath town itself was 5,414 in that year.
The Raja was married to Princess Usharaje Gaekwad of Baroda who was the grand daughter of Maharaja Sayajirao Gaekwad.
History
The Hindu ruling family of Jath State were Dafles of the Maratha Chavan clan, descendants of Lakhmajirao Yeldojirao Chavan, the Patil of Daphlapur. Lakhmajirao Yeldojirao Chavan entered the service of King Ali Adil Shah of Bijapur, and received a Desmukhi Watan of four Mahals in 1672. The Jagirs of Jath and Karajagi were conferred on his son in 1680. Emperor Aurangzeb confirmed these estates to the family in 1704. The male line failed four times during the state's history. Consequently, the state was either vested in widowed Ranis or ruled for them by regents for a total of seven decades.
Together with the small state of Daphlapur, Jath State formed the Bijapur Agency, under the collector of Bijapur District. Daphlapur had an area of only 249 km2 and was annexed by Jath State in the early 20th century owing to lack of succession.
In 1911, the state enjoyed a revenue estimated at £24,000 and paid a tribute to the British Raj of £700. Its flag was an orange rectangle with a four-pointed star in the upper left hand corner.
Rulers of Jath
The rulers of Jath belonged to the Dafle dynasty. The last ruler Vijayasingh Rao Ram Rao took the title of 'Raja'.
Deshmukhs
1686 - 1706 Satvaji Rao (b. 16... - d. 1706)
1706 - 1754 Yesu Bai "Au Sahib" (b. ... - d. 1754)
1754 - 1759 Yeshwant Rao (b. ... - d. 1759)
1759 - 1790 Amrit Rao I (b. ... - d. 1790)
1790 - 1810 Khanji Rao (b. 17... - d. 1810)
1810 - 1822 Renuka Bai (b. ... - d. 1822)
1822 - Dec 1823 Sali Bai (b. ... - d. 1823)
Dec 1823 - Aug 1835 Ram Rao I Narayan Rao "Aba Sahib Dafle" (b. ... - d. 1835)
Aug 1835 - 29 Jul 1846 Bhagirathi Bai (b. ... - d. 1846)
29 Jul 1846 – 11 Jan 1892 Amrit Rao II "Rao Sahib Dafle" (b. 1835 - d. 1892)
13 Jan 1892 – 14 Aug 1928 Ram Rao II Amrit Rao "Aba Sahib Dafle" (b. 1886 - d. 1928)
14 Aug 1928 – 23 Jun 1936 Vijayasingh Rao Ram Rao "Baba Sahib Dafle" (b. 1909 - d. 1998)
Anil Raje Dafle (d.2020)
Indrajeet Raje Daphale
Shardulraje Dafle (b.1980)
Raja
892 - 1928 Meherban Shrimant Ramrao II Amritrao [Aba Sahib] Dafle, Desmukh of Jath. b. at Umraun, 11th January 1886, as Bowanjirao Parashuramrao Dafle, fourth son of Shrimant Sardar Parashuramrao Madhavrao Dafle, of Umraun, educ. Rajaram Coll., Kolhapur and Rajkumar Coll., Rajkot. Adopted by his maternal great aunt, Shrimant Akhand Soubhagyavati Lakshmibai Raje Sahib Dafle, widow of Shrimant Amritrao Ramrao Sahib Dafle, Desmukh of Jath, 1892. Installed on the gadi, at the City Palace, Jath, 13th January 1893. Reigned under the Regency of his adopted mother until her death on 28th March 1897, and then under a Council of Regency appointed by the GOI. He came of age and was formally invested with full ruling powers at Ramdas Palace, Jath, 11th January 1907. Resumed Daflepur on the death of Rani Lakshmibai in 1917. A modern and benevolent ruler who established several primary and secondary schools, introduced local self-government, free medical services, banking facilities for farmers, constructed several irrigation tanks and public buildings. He also rendered useful services to the Crown during the Great War and established a Jath Company of the Mahratta Light Infantry, within the territorial army scheme. Presdt All-India Mahratta Educational Conference at Nagpur. Mbr Deccan Education Soc, Willingdon Sports Club (Bombay), etc. m. at the Rajwada, Akalkot, 18th May 1902, Shrimant Akhand Soubhagyavati Bhagirathibai Raje Sahib Dafle (b. at the Rajwada, Akalkot, 16th November 1889), Regent for her son 1928-1929, née Shrimant Putalabai Raje Sahib Bhonsle, second daughter of Meherban Shrimant Shahaji III Raje Bhonsle [Baba Sahib], Raja of Akalkot, by his wife, Shrimant Akhand Soubhagyavati Lakshmibai Raje Sahib Bhonsle, daughter of Shrimant Sardar Narayanrao Dhaibar Killedar, by his wife, the second daughter of H.H. Shrimant Maharaja Sir Khanderao II Gaekwad, Sena Khas Khel Shamsher Bahadur, Maharaja of Baroda, GCSI. He d. at Ramdas Palace, Jath, 14th August 1928, having had issue, four sons and three daughters:
1) Shrimant Pratapsinhrao Ramrao Dafle [Bala Sahib]. b. at Jath, 28th February 1908, but d. of malarial fever, 18th September 1910.
2) The Hon Raja Shrimant Vijaysinhrao Ramrao Raje Dafle [Baba Sahib], Raja of Jath - see below.
3) Shrimant Rajkumar Ajitsinh Ramrao Dafle, MBE (c 8.1.1944). b. at Jath, 15th January 1912, educ. Jath High Sch, Rajaram Coll., Kolhapur, and Univ. of London (BA), and Middle Temple, London. Barr-at-Law. MEC Jath, Police, Education and General Minister 1940-1945, Guardian and Comptroller of the Household to the minor Maharaja of Kolhapur 1945-1947. Rcvd: Silver Jubilee (1935) and Coron. (1937) medals. He had issue, two sons:
a) Shrimant Shri Ramrao Ajitsinh Dafle, educ. Rajkumar Coll., Rajkot.
b) Shrimant Shri Anilraje Ajitsinh Dafle, educ. Cathedral and John Connon Sch ., Bombay. m. the daughter of Shrimant Yeshwantrao Pirajirao Ghatge [Appa Sahib], of Kagal Senior.
4) Shrimant Rajkumar Udaysinhrao Ramrao Dafle [Bhaiya Sahib]. b. at Jath, 6th March 1920, educ. Shri Ramrao Vidya Mandir, Jath, and Rajaram Coll., Kolhapur. Cmsnd into the RINVR as Sub-Lieut. 1/12/1942, served in WW2, resig. 1945. Hon MSC Jath 1945-1948, Police and Education Minister 1945 - 1947, Army & Political Minister 1947-1948. Rcvd: Coron. (1937), British War (1945), 39/45 & Pacific Stars, British War and India Service (1945) medals. Copyright© Christopher Buyers
1) Shrimant Rajkumari Pramila Raje Sahib Dafle [H.H. Shrimant Akhand Soubhagyavati Maharani Pramila Raje Sahib Pur, Maharani Regent of Dewas Senior]. b. at Jath, 4th August 1910, Regent of Dewas 11th August 1941-15th May 1943 and 23rd March 1947-27th June 1948. m. at Dewas, 30th December 1926, Major-General H.H. Maharaja Shrimant Sir Shahaji II Bhonsle Chhatrapi Bahadur, Maharaja of Kolhapur, GCSI (b. at Kolhapur, 4th April 1910; d. 9th May 1983), eldest son of H.H. Kshatriya Kulavatana Sapta Sahasra Senapati Pratinidri, Meherban Shrimant Maharaja Tukojirao III Puar, Maharaja of Dewas (Senior), KCSI, by his first wife, H.H. Shrimant Akhand Soubhagyavati Maharani Radhabai Maharaj Sahib Puar, eldest daughter of Colonel H.H. Maharaja Shrimant Sir Shahu Chhatrapati Bahadur, Maharaja of Kolhapur, GCSI, GCIE, GCVO. She d. at Kolhapur, 31st January 2008, having had issue, one son and three daughters - see India (Dewas-Senior) and (Kolhapur).
2) Shrimant Rajkumari Indira Raje Sahib Dafle. b. at Mahableshwar, 7th May 1913, and d. at Shahapur, Belgaum Dist. 23rd May 1914.
3) Shrimant Rajkumari Kamala Raje Sahib Dafle [H.H. Sakal Soubhagyavati Sampanna Shrimant Rani Priyamwada Raje Sahiba, Rani of Jawahar]. b. at Jath, 30th August 1915. m. at Jath, 8th May 1938, H.H. Maharaja Shrimant Patangshah V Mukne, Godharma Pratipalak, Raja of Jawahar (b. at Jawhar, 11th December 1917; d. 4th June 1978), younger son of Meherban Shrimant Raja Vikramshah V Mukne, Godharma Pratipalak, Raja of Jawahar, by his wife, Sakal Soubhagyavati Sampanna Shrimant Rani Sagunabai Raje Sahiba, a lady from the Nadge family of Washale, in the Thana dist. She had issue, one son and two daughters - see India (Jawahar)
See also
Maratha
Maratha Empire
List of Maratha dynasties and states
List of Indian princely states
References
Princely states of Maharashtra
Sangli district
1686 establishments in Asia
|
The Lingones (Gaulish: 'the jumpers') were a Gallic tribe of the Iron Age and Roman periods. They dwelled in the region surrounding the present-day city of Langres, between the provinces of Gallia Lugdunensis and Gallia Belgica.
Name
Attestations
They are mentioned as Língōnes (Λίγγωνες) by Polybius (2nd c. BC), Lingones by Caesar (mid-1st c. BC), Pliny (1st c. AD) and Tacitus (early 2nd c. AD), Díngones (Δίγγονες) by Strabo (early 1st c. AD), and as Lóngōnes (Λόγγωνες) by Ptolemy (2nd c. AD).
Etymology
The Gaulish ethnonym Lingones literally means 'the jumpers'. It derives from the stem ling- ('to jump'), itself from the Proto-Celtic verbal base *leng- ('to jump'; cf. Old Irish lingid 'he jumps'), extended by the suffix -on-es. The name could be interpreted as 'good at jumping (on horseback)', or else as 'the dancers'.
The city of Langres, attested ca. 400 AD as civitas Lingonum, is named after the Gallic tribe.
Geography
The territory of the Lingones was situated on the border separating Gallia Lugdunensis from Gallia Belgica, between the Senones and the Sequani.
Settlement
Their capital Andematunnum (present-day Langres, Haute-Marne) is attested from 43 AD on boundary markers (abbreviated as AND). It was built on a Bajocian limestone promontory, overlooking the Marne valley to the east and north, and the Bonnelle valley to the west. Only the southern part, open to the Langres plateau, did not possess natural defences. Archeological evidence have demonstrated a continuity between the La Tène and Roman periods on the site of Langres, and the city of Andematunnum appears to have been built at the turn of the 1st century BC on a previous Gallic settlement. The Roman-era civitas of the Lingones was located at the crossroad of the modern départments of Aube, Haute-Marne, Côte d’Or and Yonne.
The Cathedral St-Mammes, built in the Burgundian Romanesque style for the ancient diocese that was referred to as Lingonae ("of the Lingones") and rivalled Dijon. Three of its early bishops were martyred by the invasion of the Vandals, about 407.
History
Some of the Lingones migrated across the Alps and settled near the mouth of the Po River in Cisalpine Gaul of northern Italy around 400 BC. These Lingones were part of a wave of Celtic tribes that included the Boii and Senones (Polybius, Histories ii.17). The Lingones may have helped sack Rome in 390 BC.
The Gaulish Lingones did not participate in the battles of the Gauls against Caesar. They gained Roman citizenship at the end of the first century AD. They were caught up in the Batavian rebellion (69 AD) described by Tacitus.
The strategist Sextus Julius Frontinus, author of the Strategemata, the earliest surviving Roman military textbook, mentions the Lingones among his examples of successful military tactics:
In Roman Britain, at least three named cohorts of Lingones, probably subscripted from among the Lingones who had remained in the area of Langres and Dijon are attested in the 2nd and 3rd centuries, from dedicatory inscriptions and stamped tiles. The 1st cohort of Lingones (part-mounted ) is attested at Bremenium, the 2nd cohort of Lingones is attested at Ilkley Roman Fort by their Prefect, and the fourth cohort built part of Hadrian's Wall near Carlisle.
Religion
During the Roman period, Mars Cicolluis was the main god of the Lingones.
See also
Ancient peoples of Italy
Celts in the Alps and Po Valley
Mont Lassois
Lepontii
Prehistoric Italy
References
Bibliography
External links
Livius.org: Lingones
Livius.org: Lingones in the Batavian revolt
Second Cohort of Lingones in Roman Britain
Lingones in Italy
Historical Celtic peoples
Gauls
Tribes in pre-Roman Gaul
Auxiliary infantry units of ancient Rome
|
Ward Islands () is a group of two small islands and off-lying rocks forming the southern part of the Amiot Islands, off the southwest part of Adelaide Island. Named by the United Kingdom Antarctic Place-Names Committee (UK-APC) for Herbert G.V. Ward, Chief Engineer of RRS John Biscoe, 1948–1962, which ship assisted the Royal Navy Hydrographic Survey Unit which charted this group in 1963.
See also
List of Antarctic and sub-Antarctic islands
Islands of Adelaide Island
|
```xml
<?xml version="1.0" encoding="UTF-8"?>
<!--
~ contributor license agreements. See the NOTICE file distributed with
~ this work for additional information regarding copyright ownership.
~
~ path_to_url
~
~ Unless required by applicable law or agreed to in writing, software
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
-->
<databases>
<database>db</database>
<database>encrypt_shadow_db</database>
</databases>
```
|
```java
package bugIdeas;
import java.util.ArrayList;
import annotations.DetectorUnderTest;
import edu.umd.cs.findbugs.annotations.DesireWarning;
import edu.umd.cs.findbugs.annotations.ExpectWarning;
import edu.umd.cs.findbugs.annotations.NoWarning;
import edu.umd.cs.findbugs.detect.FindUnrelatedTypesInGenericContainer;
@DetectorUnderTest(FindUnrelatedTypesInGenericContainer.class)
public class Ideas_2012_11_19 {
static class A<XYZ> extends ArrayList<Long> {
private static final long serialVersionUID = 1L;
}
static class B<XYZ extends Number> extends ArrayList<XYZ> {
private static final long serialVersionUID = 1L;
}
static A<String> foo = new A<String>();
static B<Long> bar = new B<Long>();
@NoWarning("GC_UNRELATED_TYPES")
public static void OK(String args[]) {
foo.add(13L);
System.out.println(foo.contains(13L));
bar.add(13L);
System.out.println(bar.contains(13L));
}
@DesireWarning("GC_UNRELATED_TYPES")
public static void bad1(String args[]) {
System.out.println(foo.contains("13"));
}
@ExpectWarning("GC_UNRELATED_TYPES")
public static void bad2(String args[]) {
System.out.println(bar.contains("13"));
}
}
```
|
The Ghana Interbank Payment and Settlement Systems (GhIPSS) is the Government of Ghana agency responsible for the interconnecting banks that operate in Ghana. One of the aims of GhIPSS is to link all automated teller machines and E-zwich point of sales terminal for cross usage.
See also
e-zwich
gh-link
References
Banking in Ghana
|
Nina Petković (Cyrillic: Нина Петковић; born 10 April 1981 in Kotor, SR Montenegro, Yugoslavia) is a Montenegrin singer, musician and television personality. She came to media prominence in regional Star Academy version, Operacija trijumf, and came fourth.
Early life
Although born in Kotor, Petković was mostly raised in neighboring town Tivat. She is of mixed religious origin – her father is a Roman Catholic and mother Orthodox Christian. Before she participated in Operacija trijumf, Petković took part in many festivals, such as Evropesma and Montevizija, sometimes solo, sometimes with her band Dan Poslije.
Career
Operacija trijumf
The Operacija trijumf, Balkan version of Endemol's Fame Academy, started broadcasting on 29 September 2008. Nina Petković was the only contestant from Montenegro, so she was constantly receiving a lot of cell-phone votes from Montenegro. She reached the finals, but was expelled in the first final round.
Petković was performing with many popular artists during the Operacija trijumf, such as Željko Joksimović, Jelena Tomašević, Jelena Rozga, Karolina Gočeva and Negative.
During the Operacija trijumf, Petković performed the following songs:
Anastacia – "Heavy on My Heart" / "Sick & Tired" / "I'm Outta Love" with the students Ana Bebić and Milica Majstorović (Gala 1)
Željko Joksimović – "Lane moje" with Željko Joksimović (Gala 2)
Magazin – "Care" with Magazin (Gala 3)
ABBA – "Mamma Mia" with the student Milica Majstorović (Gala 4)
Kemal Monteno & Danijela Martinović – "Ovako ne mogu dalje" with Kemal Monteno (Gala 5)
Negative – "Bez promene" with Negative (Gala 6)
No Doubt – "Don't Speak" (Gala 7)
Colonia – "Mirno more" with Colonia (Gala 8)
Danijela Martinović – "Neka mi ne svane" with Danijela Martinović (Gala 9)
Jelena Rozga – "Daj šta daš" with Jelena Rozga (Gala 10)
Pink – "So What" (Gala 10)
Karolina Gočeva – "Mojot svet" with Karolina Gočeva (Gala 11)
Céline Dion – "My Heart Will Go On" with the student Igor Cukrov (Gala 11)
Aleksandra Radović – "Čuvam te" with Aleksandra Radović (Gala 12)
Danijel Popović/ Culture Club – "Džuli" / "Karma Chameleon" with the student Aleksandar Belov (Gala 12)
Milena Vučić – "Da l' ona zna" with Milena Vučić (Gala 13)
Jelena Tomašević – "Oro" with Jelena Tomašević and the student Ana Bebić (Gala 13)
Katy Perry – "I Kissed a Girl" / "Hot n Cold" with the student Ana Bebić (Gala 13)
Sinéad O'Connor – "Nothing Compares 2 U" (Semifinal)
ET – "Tek je 12 sati" / "Sve bih dala da znam" with the student Ana Bebić (Semifinal)
Paul McCartney and Wings – "Live and Let Die" with the finalists Adnan Babajić, Aleksandar Belov, Vukašin Brajić and Danijel Pavlović (Final)
Oktobar 1864 – "Nađi me" (Final)
Present
It was almost certain that Petković will take part in the Montevizija 2009, the Montenegro's national choice for the representer at the Eurovision Song Contest 2009 in Moscow. However, RTCG confirmed on 23 January 2009 that Montenegro in the Eurovision Song Contest 2009 will be represented by Andrea Demirović with the song "Just Get Out of My Life". Soon after the end of Operacija trijumf, Petković appeared on a number of talk shows on television programs such as TV Pink, TV In and TV Avala.
Alongside her Operacija trijumf contestant Sonja Bakić, Petković recorded a song named "Samo". On 8 June 2009 she won Pjesma Mediterana, music festival in Budva, with the song "S druge strane sna"; Petković also received a special award by Story magazine's internet poll "The Favourite of the Festival".
She attempted to represent Montenegro in the Eurovision Song Contest two times. First time was in 2018 with the song "Disem" receiving the last place in the Montevizija 2018. In 2019 she competed with the song "Uzmi ili ostavi" and she got the 4th place, failing again to represent her country.
Personal life
Petković admires Roger Waters, Alanis Morissette and Oliver Mandić; she stated she finds herself in the song "Comfortably Numb". Petković is a very good friends with Sonja Bakić, other Operacija trijumf contestant. Nina is the long-term relationship with a member of the band Dan poslije.
Discography
Albums
2009: Upcoming compilation of Operacija trijumf contestants
Singles
2009: "Samo" (feat. Sonja Bakić)
2009: "S druge strane sna"
2009: "Bezobrazno"
2010: "Ne odustajem" (Pjesma Mediterana 2010)
2018: "Dišem"
2019: "Uzmi ili ostavi"
2020: "Dance till I die"
References
2009-Bezobrazno
2006-Koraci(feat Dan Posilje)
2010-What do you want
2010-Ne odustajem
External links
Nina Petković at MySpace
Nina Petković at the Official Website of Operacija trijumf
1981 births
Living people
People from Kotor
21st-century Montenegrin women singers
|
```go
/*
path_to_url
Unless required by applicable law or agreed to in writing, software
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package policy
import (
"github.com/golang/protobuf/proto"
protomsp "github.com/hyperledger/fabric-protos-go/msp"
"github.com/hyperledger/fabric/msp"
"github.com/pkg/errors"
)
const (
// Admins is the label for the local MSP admins
Admins = "Admins"
// Members is the label for the local MSP members
Members = "Members"
)
type MSPPrincipalGetter interface {
// Get returns an MSP principal for the given role
Get(role string) (*protomsp.MSPPrincipal, error)
}
func NewLocalMSPPrincipalGetter(localMSP msp.MSP) MSPPrincipalGetter {
return &localMSPPrincipalGetter{
localMSP: localMSP,
}
}
type localMSPPrincipalGetter struct {
localMSP msp.MSP
}
func (m *localMSPPrincipalGetter) Get(role string) (*protomsp.MSPPrincipal, error) {
mspid, err := m.localMSP.GetIdentifier()
if err != nil {
return nil, errors.WithMessage(err, "could not extract local msp identifier")
}
switch role {
case Admins:
principalBytes, err := proto.Marshal(&protomsp.MSPRole{Role: protomsp.MSPRole_ADMIN, MspIdentifier: mspid})
if err != nil {
return nil, errors.Wrap(err, "marshalling failed")
}
return &protomsp.MSPPrincipal{
PrincipalClassification: protomsp.MSPPrincipal_ROLE,
Principal: principalBytes,
}, nil
case Members:
principalBytes, err := proto.Marshal(&protomsp.MSPRole{Role: protomsp.MSPRole_MEMBER, MspIdentifier: mspid})
if err != nil {
return nil, errors.Wrap(err, "marshalling failed")
}
return &protomsp.MSPPrincipal{
PrincipalClassification: protomsp.MSPPrincipal_ROLE,
Principal: principalBytes,
}, nil
default:
return nil, errors.Errorf("MSP Principal role [%s] not recognized", role)
}
}
```
|
Przytyki is a village in the administrative district of Gmina Chodel, within Opole Lubelskie County, Lublin Voivodeship, in eastern Poland. It lies approximately east of Opole Lubelskie and south-west of the regional capital Lublin.
References
Przytyki
|
```c++
// or more contributor license agreements. See the NOTICE file
// distributed with this work for additional information
// regarding copyright ownership. The ASF licenses this file
//
// path_to_url
//
// Unless required by applicable law or agreed to in writing,
// "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
// specific language governing permissions and limitations
#include "kudu/util/signal.h"
#include <cerrno>
#include <glog/logging.h> // IWYU pragma: keep
#include <glog/raw_logging.h>
namespace kudu {
// Using RAW_LOG() and logging directly into stderr instead of using more
// advanced LOG() to keep all these function as async-signal-safe as possible.
//
// NOTE: RAW_LOG() uses vsnprintf(), and it's not async-signal-safe
// strictly speaking (in some cases may call malloc(), etc.)
void SetSignalHandler(int signal, SignalHandlerCallback handler) {
struct sigaction act;
act.sa_handler = handler;
sigemptyset(&act.sa_mask);
act.sa_flags = 0;
if (sigaction(signal, &act, nullptr) != 0) {
int err = errno;
RAW_LOG(FATAL, "sigaction() failed: [%d]", err);
}
}
void IgnoreSigPipe() {
SetSignalHandler(SIGPIPE, SIG_IGN);
}
void ResetSigPipeHandlerToDefault() {
SetSignalHandler(SIGPIPE, SIG_DFL);
}
// We unblock all signal masks since they are inherited.
void ResetAllSignalMasksToUnblocked() {
sigset_t sigset;
if (sigfillset(&sigset) != 0) {
int err = errno;
RAW_LOG(FATAL, "sigfillset() failed: [%d]", err);
}
if (sigprocmask(SIG_UNBLOCK, &sigset, nullptr) != 0) {
int err = errno;
RAW_LOG(FATAL, "sigprocmask() failed: [%d]", err);
}
}
} // namespace kudu
```
|
This is a list of schools in Negeri Sembilan, Malaysia. It is categorised according to the variants of schools in Malaysia, and is arranged alphabetically.
Chinese Independent High Schools
Chung Hua High School Seremban (芙蓉中华中学)
Chung Hua Middle School (波德申中华中学)
Islamic religious schools
Secondary education: Sekolah Menengah Agama (SMA)
Sekolah Menengah Agama Dato' Klana Petra Maamor
Maahad Ahmadi, Gemencheh (previously known as Sekolah Agama Menengah Atas Dan Senawi - abbreviated SAMAS)
Sheikh Haji Mohd Said Religious Institution (SMK (A) Sheikh Haji Mohd Said - also abbreviated SMKA SHAMS)
Sekolah Menengah Agama Persekutuan Labu
SMKA Dato' Haji Abu Hassan Haji Sail (SMKA Pedas), Rembau
SMA Nilai, Nilai
Sekolah Menengah Agama Teluk Kemang
Sekolah Menenngah Agama Sains Kuala Pilah
Institut Tahfiz Al-Quran Negeri Sembilan
National schools
Primary education: Sekolah Kebangsaan (SK)
SK Chembong
SK Datuk Akhir Zaman, Rantau
SK Jalan Tokong Setia
SK Batang Benar, Mantin
SK Desa Cempaka, Nilai
SK Kota
SK King George V
SK Seri Kelana, Seremban
SK Kuala Klawang
SK Mantin
SK Methodist (ACS)
SK Nyatoh
SK Panglima Adnan, Port Dickson
SK Port Dickson
SK Sungala
SK Si Rusa
SK Puteri
SK Taman Tuanku Jaafar, Sg.Gadut
SK Senawang
SK Seri Pagi
SK Taman Dusun Nyior
SK Taman Tasik Jaya
SK Taman Bandar Senawang
SK Telok Kemang, Port dickson
SK Sikamat
SK Pilin
Sekolah Kebangsaan Rahang, Seremban
SK Seremban 2A
SK Seremban 2B
SK Wawasan
SK Taman Rasah Jaya
SK Kuala Pilah
SK Dato' Bandar Rasah
SK Desa Cempaka, Nilai
SK Dato Idris
SK Ampang Tinggi
SK Talang, Tg Ipoh
SK Undang Rembau, Rembau
SK Men Sri Perpatih (Felda)
SK Tunku Kurshiah
SK Pasoh 2 (F)
SK Seberang Batu Hampar, Rembau
SK Seremban Jaya 1, Seremban
SK Sungai Dua, Gemencheh
SK Labu Ulu, Batu 8
SK Desa Jasmin, Nilai
SK Labu, Batu 10.
SK Dato' Shahbandar Abu Bakar, Labu Hilir
SK Dr. Sulaiman, Tampin
SK Tunku Besar/Tunku Besar School, Tampin
SK Tengku Zainun, Tampin (Previously SK Tampin)
SK Taman Semarak, Nilai
SK Taman Paroi Jaya
SK PULAPAH/SEKOLAH KLUSTER KECERMELANGAN PULAPOL AIR HITAM
Secondary education: Sekolah Menengah Kebangsaan (SMK)
National type schools
A) Primary Schools
a. Tamil Schools: "Sekolah Jenis Kebangsaan Tamil (SJKT)
Convent, Seremban 2
Lorong Jawa, 70100 Seremban
Jalan Lobak, 70200 Seremban.
Nilai,71800 Nilai
Ladang Batang Benar,71800 Nilai
Ladang Kirby, 71900 Labu
Ladang Kubang, 71800 Nilai
Jindaram, 71800 Nilai
Cairo, 71700 Mantin
Ladang Labu Bhg. 1,71900 Labu
Ladang Labu Bhg.4, 71900 Labu
Ladang Senawang.71450 Seremban
Ladang Seremban, 71450 Seremban
Perhentian Tinggi,71450 Sg. Gadut
Ladang Kombok, 71200 Rantau
Rantau,71200 Rantau
Ladang Shanghai,70300 Seremban
Tun Sambanthan, Pajam,71700 Mantin
Ladang Lenggeng, 71750 Lenggeng
Port Dickson,71000 Port dickson
Ladang St. Leonards,71000 P.Dickson
Ladang Sendayan, 71100 Siliau
Kem Askar Diraja Melayu, 71050 Si Rusa
Ladang Sengkang, 71250 Pasir Panjang
Ladang Sungala, 71050 Si Rusa
Ldg. Sua Betong,71000 Port Dickson
Ldg. Tanah Merah,71000 Port Dickson
Ldg. Atherton,71100 Siliau
Ladang Bradwal,71100 Siliau
Ladang Jemima,71100 Siliau
Ladang Sungai Salak,71100 Siliau
Ladang Saga,71100 Siliau
Ladang Siliau,71100 Siliau
Ladang Lin Sum,71200 Rantau
Ladang Tampin Linggi, 71100 Siliau
Mukundan, Bukit Pelandok,71960 Seremban
Kuala Pilah,72000 Kuala Pilah
Ladang Juasseh,72000 Kuala Pilah
Ladang Bahau,72100 Bahau
Ladang Air Hitam,72100 Bahau
Ladang Geddes,72100 Bahau
Ladang Sungai Sebaling,72100 Bahau
Ladang Kelpin,72100 Bahau
Ladang Senama,72100 Bahau
Ladang St. Helier,72100 Bahau
Ladang Sialang,72100 Bahau
Ladang Jeram Padang,72100 Bahau
Ladang Tanah Panjis,73500 Rompin
Ladang Middleton,73500 Rompin
Ladang Pertang,72300 Sg. Pertang
Tampin,73000 Tampin
Ladang Repah,73000 Tampin
Ladang Regent,73200 Gemenceh
Air Kuning Selatan,73200 Gemenceh
Ladang Bukit Keledek,77100 Jasin
Gemas,73400 Gemas
Ladang Sungai Gelama,73400 Gemas
Ladang Batu Hampar,71300 Rembau
Ladang Chembong,71300 Rembau
Ladang Sungai Bharu,71150 Linggi
Chinese Type Primary and Secondary School
Chinese Primary School
SJK (C) AIR KUNING SELATAN
SJK (C) BAHAU
SJK (C) CHAN WA
SJK (C) CHI CHI
SJK (C) CHI HWA
SJK (C) CHI SIN
SJK (C) CHI WEN
SJK (C) CHUAH
SJK (C) CHUN YIN
SJK (C) CHUNG HUA
SJK (C) CHUNG HUA KUALA PILAH
SJK (C) CHUNG HUA RANTAU
SJK (C) CHUNG HUA SENALING
SJK (C) CHUNG HUA TAMPIN
SJK (C) CHUNG HUA TG. IPOH
SJK (C) CHUNG PIN
SJK (C) CHUNG SAN
SJK (C) KG. BARU BATU 8
SJK (C) KG. BARU BK GELUGOR
SJK (C) KG. BARU BROGA
SJK (C) KG. BARU DURIAN TIPUS
SJK (C) KG. BARU GEDOK
SJK (C) KG. BARU GEMAS
SJK (C) KG. BARU KEPIS
SJK (C) KG. BARU MAHSAN
SJK (C) KG. BARU MAMBAU
SJK (C) KG. BARU PAJAM
SJK (C) KG. BARU PANTAI
SJK (C) KG. BARU PARIT TINGGI
SJK (C) KG. BARU PAROI
SJK (C) KG. BARU PERTANG
SJK (C) KG. BARU PETALING
SJK (C) KG. BARU RAHANG
SJK (C) KG. BARU SG. NIPAH
SJK (C) KG. BARU SIKAMAT
SJK (C) KG. BARU TAMPIN
SJK (C) KG. BARU TANAH MERAH (A)
SJK (C) KG. SG. MUNTOH
SJK (C) KUO MIN
SJK (C) KUO MIN
SJK (C) KUO MIN
SJK (C) LDG BRADWALL
SJK (C) LDG GLENDALE
SJK (C) LDG HILLSIDE
SJK (C) LDG KELPIN
SJK (C) LDG MIDDLETON
SJK (C) LDG REGENT
SJK (C) LDG SENDAYAN
SJK (C) LDG SILIAU
SJK (C) LDG SUA BETONG
SJK (C) LDG ULU KANCHONG
SJK (C) MA HWA
SJK (C) MIN SHING
SJK (C) PEI CHUN
SJK (C) PEI HUA
SJK (C) PEI HWA PEDAS
SJK (C) PEI TECK KOTA
SJK (C) SAN MIN
SJK (C) SG. SALAK
SJK (C) SIN HUA
SJK (C) SIN MIN
SJK (C) SIN MIN
SJK (C) SINO-ENGLISH
SJK (C) SPG PERTANG
SJK (C) ST. LEONARDS
SJK (C) TANAH MERAH SITE (C)
SJK (C) TUNG HU
SJK (C) YIK CHIAO
SJK (C) YIK HWA
SJK (C) YOKE HUA AIR MAWANG
SJK (C) YU CHAI
SJK (C) YUK CHAI
SJK (C) YUK HUA
SJK (C) YUK HUA
SJK (C) YUK HUA REMBAU
Technical secondary schools: Sekolah Menengah Teknik (SMT)
SMT Ampangan, Seremban
SMT Dato' Undang Haji Muhamad Sharip, Rembau
SMT Dato'Lela Maharaja, Rembau
SMV Juasseh, Juasseh
SMT Kuala Klawang, Jelebu
SMT Port Dickson, Port Dickson
SMT Tuanku Jaafar, Seremban (STTJ)
Boarding schools
Fully residential schools (SBP)
Kolej Tunku Kurshiah (TKC)
Sekolah Datuk Abdul Razak (SDAR)
Sekolah Menengah Sains Tuanku Munawir (SASER)
Sekolah Menengah Agama Persekutuan Labu (SMAPL)
Sekolah Menengah Sains Rembau (SEMESRA)
Sekolah Menengah Sains Tuanku Jaafar (STJ)
Sekolah Berasrama Penuh Intergrasi Jempol (SBPIJ)
Sekolah Menengah Sains Tuanku Aishah Rohani (SGS)
International schools
Epsom College in Malaysia
Nilai International School
Kolej Tuanku Ja'afar
Zenith International School
Matrix Global School
UCSI International School Bandar Springhill
Others
Kolej Mara Seremban jas
Maktab Rendah Sains MARA Kuala Klawang
Maktab Rendah Sains MARA Serting
Maktab Rendah Sains MARA Gemencheh
Sekolah Agama Ar-Raudhah
See also
Education in Malaysia
References
Negeri Sembilan
|
The Sessions Band is an American musical group that has periodically recorded and toured with American rock singer-songwriter Bruce Springsteen in various formations since 1997.
History
The Sessions Band was first formed in October 1997. That September, Springsteen had organized a fiesta-themed party at his Colts Neck, New Jersey farm and invited the New York–based band The Gotham Playboys to provide entertainment. The next month, Springsteen was invited to donate a recording to an upcoming tribute album to folk singer Pete Seeger. He re-contacted the Playboys and some additional musicians whom he knew through E Street Band violinist Soozie Tyrell, and recorded a number of songs on November 2, 1997. These included "We Shall Overcome", which was released on the 1998 tribute album, Where Have All The Flowers Gone: The Songs Of Pete Seeger.
The group was then disbanded for an extended period. In late 2004, while reviewing material for a possible follow-up to his Tracks box set, Springsteen stumbled upon these recordings and decided to release them as a stand-alone project. There was not enough material, however, so he reformed the band for what would become known as the Second Seeger Session on March 19, 2005. The third and, so far, final Seeger Session took place on January 21, 2006.
On April 25, 2006, the album was released as We Shall Overcome: The Seeger Sessions (so titled as each of the album's thirteen songs had been previously recorded or performed by Pete Seeger). The subsequent Bruce Springsteen with The Seeger Sessions Band Tour took this musical approach even further, with a travelling group partly composed of musicians from the sessions. On October 3, 2006, the album was reissued as We Shall Overcome: The Seeger Sessions – American Land Edition with five additional tracks. The album won the Grammy Award for Best Traditional Folk Album at the 49th Grammy Awards held in February 2007, and had sold 700,000 copies in the United States by January 2009; the RIAA certified it with gold record status.
Members of the Sessions Band occasionally guested on Springsteen and the E Street Band's 2007–2008 Magic Tour. After E Street Band organist Danny Federici ceased touring with the band due to melanoma in November 2007, and his subsequent death in April 2008, Sessions Band member Charles Giordano joined the E Street Band for the remainder of the Magic Tour and has been with the band ever since.
On Springsteen's 2009 Working on a Dream Tour with the E Street Band, Giordano was joined in the touring band by Sessions Band members Cindy Mizelle and Curtis King, who sang backup vocals. Curt Ramm also toured with the E Street Band for much of the final leg of the tour, playing trumpet on select songs. On Springsteen's 2012 Wrecking Ball Tour, Giordano, Mizelle, and King were joined in full-time roles by Ramm on trumpet, Ed Manion on saxophone, and Clark Gayton on trombone. Other members of the band occasionally guested at shows on the Working on a Dream Tour. Sam Bardfeld along with a string section that he fronted, appeared at a few shows on Springsteen's The River Tour 2016. Springsteen has indicated he would like to do another project with the Sessions Band in the future.
On May 16, 2015, Springsteen reunited with a version of the Sessions Band for a four-song set at the Kristen Ann Carr Fund's "A Night To Remember" event in tribute to Thom Zimny at Tribeca Grill in New York City. The band, billed for the evening as the
Tribeca Playboys, consisted of Charles Giordano on accordion, Jeremy Chatzky on upright bass, Larry Eagle on drums, Sam Bardfeld and Soozie Tyrell on fiddle, Losa Lowell on vocals and guitar, Ed Manion on saxophone, and Curt Ramm on trumpet; the group was also joined by guests Nils Lofgren on guitar, Curtis King on vocals, and restaurateur and venue host Drew Nieporent on washboard.
Band members
Seeger Sessions Studio Band
Bruce Springsteen – lead vocals, guitar, harmonica, B3 organ, and percussion
Sam Bardfeld – violin
Art Baron – tuba
Frank Bruno – guitar
Jeremy Chatzky – upright bass
Mark Clifford – banjo
Larry Eagle – drums and percussion
Charles Giordano – B3 organ, piano, and accordion
Ed Manion – saxophone
Mark Pender – trumpet, backing vocals
Richie "La Bamba" Rosenberg – trombone, backing vocals
Patti Scialfa – backing vocals
Soozie Tyrell – violin, backing vocals
Lisa Lowell-backing vocals
Sessions Band (touring band)
The band ranged in size from 17 and 20 members on stage, depending upon availability on a given night. About half the members had played on the Seeger Sessions album, while the other half were new.
Bruce Springsteen – lead vocals, acoustic guitar, occasional harmonica
Marc "Chocolate Genius" Thompson – acoustic guitar, background vocals, some featured lead vocals
Patti Scialfa – acoustic guitar, background vocals, some featured duet vocals
Frank Bruno – acoustic guitar, some background vocals, occasional drums and washboard
Soozie Tyrell – violin, background vocals
Sam Bardfeld – violin
Greg Liszt – banjo
Marty Rifkin – pedal steel guitar
Charles Giordano – accordion, piano, organ
Jeremy Chatzky – upright bass, occasional electric bass
Larry Eagle – drums
Lisa Lowell – background vocals
Curtis King – background vocals
Cindy Mizelle – background vocals
Art Baron – tuba, occasional trombone
Eddie Manion – saxophones
Mark Pender and/or Curt Ramm – trumpet
Richie "La Bamba" Rosenberg and/or Clark Gayton – trombone
Discography
Where Have All The Flowers Gone: The Songs of Pete Seeger (1998)
We Shall Overcome: The Seeger Sessions (2006)
We Shall Overcome: The Seeger Sessions - American Land Edition (2006)
Bruce Springsteen with The Sessions Band: Live in Dublin (2007)
Give Us Your Poor (2007)
References
Bruce Springsteen
Musical groups established in 1997
Musical backing groups
|
was a town located in Miyoshi District, Tokushima Prefecture, Japan.
As of 2003, the town had an estimated population of 5,223 and a density of 121.35 persons per km². The total area was 43.04 km².
On March 1, 2006, Mino, along with the towns of Ikawa, Ikeda and Yamashiro, and the villages of Higashiiyayama and Nishiiyayama (all from Miyoshi District), was merged to create the city of Miyoshi.
External links
Dissolved municipalities of Tokushima Prefecture
Miyoshi, Tokushima
|
```swift
//
// Interpolatable.swift
// Interpolate
//
// Created by Roy Marmelstein on 10/04/2016.
//
import UIKit
import QuartzCore
/**
* Interpolatable protocol. Requires implementation of a vectorize function.
*/
public protocol Interpolatable {
/**
Vectorizes the type and returns and IPValue
*/
func vectorize() -> IPValue
}
/**
Supported interpolatable types.
*/
public enum InterpolatableType {
/// CATransform3D type.
case caTransform3D
/// CGAffineTransform type.
case cgAffineTransform
/// CGFloat type.
case cgFloat
/// CGPoint type.
case cgPoint
/// CGRect type.
case cgRect
/// CGSize type.
case cgSize
/// ColorHSB type.
case colorHSB
/// ColorMonochrome type.
case colorMonochrome
/// ColorRGB type.
case colorRGB
/// Double type.
case double
/// Int type.
case int
/// NSNumber type.
case nsNumber
/// UIEdgeInsets type.
case uiEdgeInsets
}
// MARK: Extensions
/// CATransform3D Interpolatable extension.
extension CATransform3D: Interpolatable {
/**
Vectorize CATransform3D.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .caTransform3D, vectors: [m11, m12, m13, m14, m21, m22, m23, m24, m31, m32, m33, m34, m41, m42, m43, m44])
}
}
/// CGAffineTransform Interpolatable extension.
extension CGAffineTransform: Interpolatable {
/**
Vectorize CGAffineTransform.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .cgAffineTransform, vectors: [a, b, c, d, tx, ty])
}
}
/// CGFloat Interpolatable extension.
extension CGFloat: Interpolatable {
/**
Vectorize CGFloat.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .cgFloat, vectors: [self])
}
}
/// CGPoint Interpolatable extension.
extension CGPoint: Interpolatable {
/**
Vectorize CGPoint.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .cgPoint, vectors: [x, y])
}
}
/// CGRect Interpolatable extension.
extension CGRect: Interpolatable {
/**
Vectorize CGRect.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .cgRect, vectors: [origin.x, origin.y, size.width, size.height])
}
}
/// CGSize Interpolatable extension.
extension CGSize: Interpolatable {
/**
Vectorize CGSize.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .cgSize, vectors: [width, height])
}
}
/// Double Interpolatable extension.
extension Double: Interpolatable {
/**
Vectorize Double.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .double, vectors: [CGFloat(self)])
}
}
/// Int Interpolatable extension.
extension Int: Interpolatable {
/**
Vectorize Int.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .int, vectors: [CGFloat(self)])
}
}
/// NSNumber Interpolatable extension.
extension NSNumber: Interpolatable {
/**
Vectorize NSNumber.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .nsNumber, vectors: [CGFloat(truncating: self)])
}
}
/// UIColor Interpolatable extension.
extension UIColor: Interpolatable {
/**
Vectorize UIColor.
- returns: IPValue
*/
public func vectorize() -> IPValue {
var red: CGFloat = 0, green: CGFloat = 0, blue: CGFloat = 0, alpha: CGFloat = 0
if getRed(&red, green: &green, blue: &blue, alpha: &alpha) {
return IPValue(type: .colorRGB, vectors: [red, green, blue, alpha])
}
var white: CGFloat = 0
if getWhite(&white, alpha: &alpha) {
return IPValue(type: .colorMonochrome, vectors: [white, alpha])
}
var hue: CGFloat = 0, saturation: CGFloat = 0, brightness: CGFloat = 0
getHue(&hue, saturation: &saturation, brightness: &brightness, alpha: &alpha)
return IPValue(type: .colorHSB, vectors: [hue, saturation, brightness, alpha])
}
}
/// UIEdgeInsets Interpolatable extension.
extension UIEdgeInsets: Interpolatable {
/**
Vectorize UIEdgeInsets.
- returns: IPValue
*/
public func vectorize() -> IPValue {
return IPValue(type: .uiEdgeInsets, vectors: [top, left, bottom, right])
}
}
/// IPValue class. Contains a vectorized version of an Interpolatable type.
open class IPValue {
let type: InterpolatableType
var vectors: [CGFloat]
init(value: IPValue) {
self.vectors = value.vectors
self.type = value.type
}
init (type: InterpolatableType, vectors: [CGFloat]) {
self.vectors = vectors
self.type = type
}
func toInterpolatable() -> Interpolatable {
switch type {
case .caTransform3D:
return CATransform3D(m11: vectors[0], m12: vectors[1], m13: vectors[2], m14: vectors[3], m21: vectors[4], m22: vectors[5], m23: vectors[6], m24: vectors[7], m31: vectors[8], m32: vectors[9], m33: vectors[10], m34: vectors[11], m41: vectors[12], m42: vectors[13], m43: vectors[14], m44: vectors[15])
case .cgAffineTransform:
return CGAffineTransform(a: vectors[0], b: vectors[1], c: vectors[2], d: vectors[3], tx: vectors[4], ty: vectors[5])
case .cgFloat:
return vectors[0]
case .cgPoint:
return CGPoint(x: vectors[0], y: vectors[1])
case .cgRect:
return CGRect(x: vectors[0], y: vectors[1], width: vectors[2], height: vectors[3])
case .cgSize:
return CGSize(width: vectors[0], height: vectors[1])
case .colorRGB:
return UIColor(red: vectors[0], green: vectors[1], blue: vectors[2], alpha: vectors[3])
case .colorMonochrome:
return UIColor(white: vectors[0], alpha: vectors[1])
case .colorHSB:
return UIColor(hue: vectors[0], saturation: vectors[1], brightness: vectors[2], alpha: vectors[3])
case .double:
return Double(vectors[0])
case .int:
return Int(vectors[0])
case .nsNumber:
return NSNumber(value: Double(vectors[0]))
case .uiEdgeInsets:
return UIEdgeInsets(top: vectors[0], left: vectors[1], bottom: vectors[2], right: vectors[3])
}
}
}
```
|
```sqlpl
CREATE SCHEMA values_subquery;
SET search_path TO values_subquery;
CREATE TABLE test_values (key int, value text, data jsonb);
SELECT create_distributed_table('test_values', 'key');
INSERT INTO test_values SELECT i, i::text, ('{"value":"' || i::text || '"}')::jsonb FROM generate_series(0,100)i;
CREATE TABLE test_values_ref (key int);
SELECT create_reference_table('test_values_ref');
INSERT INTO test_values_ref SELECT i FROM generate_series(0,100)i;
-- the aim of this test is to show when Citus can pushdown
-- VALUES and when it cannot. With DEBUG1, we can see the
-- recursive planning, so we can detect the pushdown
SET client_min_messages TO DEBUG1;
-- values in WHERE clause
WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT num FROM cte_1);
-- values in WHERE clause with DISTINCT
WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT DISTINCT num FROM cte_1);
-- we can control the materialization threshold via GUC
-- we set it 2, and the query has 3 tuples, so the planner
-- decides to materialize the VALUES clause
BEGIN;
SET LOCAL citus.values_materialization_threshold TO 2;
WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT DISTINCT num FROM cte_1);
COMMIT;
-- we can control the materialization threshold via GUC
-- we set it -1, and the query is never materialized
-- decides to materialize the VALUES clause
BEGIN;
SET LOCAL citus.values_materialization_threshold TO -1;
WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT DISTINCT num FROM cte_1);
COMMIT;
-- values with repeat can be pushed down
WITH cte_1 (letter) AS (VALUES (repeat('1',10)))
SELECT
count(*)
FROM
test_values
WHERE value IN (SELECT DISTINCT letter FROM cte_1);
-- values in WHERE clause with DISTINCT, and CTE defined in subquery
SELECT
count(*)
FROM
test_values
WHERE key
IN
(WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT DISTINCT num FROM cte_1);
-- values in WHERE clause within a subquery
WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'), (3, '3'))
SELECT
count(*)
FROM
test_values
WHERE key
IN
(SELECT key FROM test_values WHERE value NOT IN (SELECT letter FROM cte_1) GROUP BY key);
-- VALUES nested multiple CTEs
WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'), (3, '3')),
cte_2 (num, letter) AS (SELECT * FROM cte_1)
SELECT count(DISTINCT key) FROM test_values WHERE key >ANY(SELECT num FROM cte_2);
-- values with set operations can be pushed down as long as
-- they are JOINed with a distributed table
SELECT count(*) FROM
(
(WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'))
SELECT key FROM test_values WHERE key >ANY(SELECT num FROM cte_1))
UNION
(WITH cte_1 (num,letter) AS (VALUES (2, '2'), (3, '3'))
SELECT key FROM test_values WHERE key >ANY(SELECT num FROM cte_1))
) as foo;
-- values with set operations can be pushed down as long as
-- they are JOINed with a distributed table
SELECT count(*) FROM
(
(WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'))
SELECT key FROM test_values WHERE key >ANY(SELECT num FROM cte_1))
UNION ALL
(WITH cte_1 (num,letter) AS (VALUES (2, '2'), (3, '3'))
SELECT key FROM test_values WHERE key >ANY(SELECT num FROM cte_1))
) as foo GROUP BY key ORDER BY 1 DESC LIMIT 3;
-- values with set operations cannot be pushed along with
-- distributed tables
SELECT count(*) FROM
(
(WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'))
SELECT num FROM cte_1)
UNION
(SELECT key FROM test_values)
) as foo;
-- values with set operations cannot be pushed along with
-- distributed tables
SELECT count(*) FROM
(
(WITH cte_1 (num,letter) AS (VALUES (1, '1'), (2, '2'))
SELECT num FROM cte_1)
UNION ALL
(SELECT key FROM test_values)
) as foo;
-- values in WHERE clause with a subquery can be pushed down
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT num FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(num, v));
-- values with INNER JOIN
SELECT
count(*)
FROM
test_values
JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num);
-- values with supported OUTER JOIN
SELECT
count(*)
FROM
test_values
LEFT JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num);
-- VALUES with supported OUTER join (since test_values is recursively planned)
SELECT
count(*)
FROM
test_values
RIGHT JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num);
-- values with router queries
SELECT
count(*)
FROM
test_values
LEFT JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num) WHERE key = 1;
-- values with reference tables
SELECT
count(*)
FROM
test_values_ref
LEFT JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num);
-- values with non-coloated subquery join
-- VALUES can still be pushed down, the recursive planning
-- happens for non-colocated join between tables
SELECT
count(*)
FROM
test_values WHERE key
NOT IN
(WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT key FROM test_values WHERE value NOT IN (SELECT letter FROM cte_1));
-- values can be recursively planned if merge step is required
WITH cte_1 (num,letter) AS NOT MATERIALIZED (VALUES (1, 'one'), (2, 'two'), (3, 'three')),
cte_2 (num,letter) AS NOT MATERIALIZED (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE
key IN (SELECT count(DISTINCT num) FROM cte_1)
AND
key IN (SELECT num FROM cte_2 ORDER BY letter LIMIT 1)
AND
key IN (SELECT max(num) FROM cte_1 JOIN cte_2 USING (num));
-- some more complex joins
-- in theory we can pushdown the VALUES here as well
-- but to behave consistently with other recurring tuples
-- we prefer recursive planning
SELECT count(*) as subquery_count
FROM (
SELECT
key
FROM
test_values
WHERE
(value = '5' OR value = '13')
GROUP BY key HAVING count(distinct value) < 2) as a
LEFT JOIN (
SELECT
(SELECT a FROM (VALUES (1, 'one')) as t(a,b))
) AS foo (num)
ON a.key = foo.num
WHERE foo.num IS NULL
GROUP BY a.key;
-- only immutable functions can be pushed down
WITH cte_1 (num,letter) AS (VALUES (random(), 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*) > 0
FROM
test_values
WHERE key IN (SELECT num FROM cte_1);
-- only immutable functions can be pushed down
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT num FROM (VALUES (random(), 'one'), (2, 'two'), (3, 'three')) as t(num, v));
-- only immutable functions can be pushed down
SELECT
count(*)
FROM
test_values
JOIN
(SELECT a,b FROM (VALUES (1, 'one'), (2, 'two'), (random(), 'three')) as t(a,b) ) as foo (num,letter)
ON (key = num);
-- materialized CTEs are recursively planned always
WITH cte_1 (num,letter) AS MATERIALIZED (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
SELECT
count(*) > 0
FROM
test_values
WHERE key IN (SELECT num FROM cte_1);
-- because the FROM clause recurs, the subquery in WHERE
-- clause is recursively planned
SELECT
num
FROM
(VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(num, v)
WHERE num > (SELECT max(key) FROM test_values);
-- but, we cannot recursively plan if the subquery that VALUEs is correlated
SELECT
*
FROM
test_values as t1
JOIN LATERAL (
SELECT
t1.key
FROM
(VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(num, v)
WHERE num > (SELECT max(key) FROM test_values)) as foo
ON (true);
-- VALUES can be the inner relationship in a join
SELECT count(*) FROM
(SELECT random() FROM test_values JOIN (SELECT a, b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b)) as values_data(a,b)
ON test_values.key > values_data.a) subquery_1;
-- VALUES can be the left relationship in a join
SELECT count(*) FROM
(SELECT random() FROM test_values LEFT JOIN (SELECT a, b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b)) as values_data(a,b)
ON test_values.key > values_data.a) subquery_1;
-- VALUES can be the right relationship in a join
SELECT count(*) FROM
(SELECT random() FROM test_values RIGHT JOIN (SELECT a, b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b)) as values_data(a,b)
ON test_values.key > values_data.a) subquery_1;
-- subquery IN WHERE clause need to be recursively planned
-- but it is correlated so cannot be pushed down
SELECT
count(*)
FROM
(SELECT a, b FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(a,b)) as values_data(a,b)
WHERE
NOT EXISTS
(SELECT
value
FROM
test_values
WHERE
test_values.key = values_data.a
);
-- we can pushdown as long as GROUP BY on dist key
SELECT
count(*)
FROM
test_values
WHERE
key IN
(
SELECT a FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as values_data(a,b)
)
GROUP BY key
ORDER BY 1 DESC
LIMIT 3;
-- CTEs are not inlined for modification queries
-- so always recursively planned
WITH cte_1 (num,letter) AS (VALUES (1, 'one'), (2, 'two'), (3, 'three'))
UPDATE test_values SET value = '1' WHERE key IN (SELECT num FROM cte_1);
-- we can pushdown modification queries with VALUEs
UPDATE
test_values
SET
value = '1'
WHERE
key IN (SELECT num FROM (VALUES (1, 'one'), (2, 'two'), (3, 'three')) as t(num, v));
-- we can pushdown modification queries with VALUEs as long as they contain immutable functions
UPDATE
test_values
SET
value = '1'
WHERE
key IN (SELECT num FROM (VALUES (random(), 'one'), (2, 'two'), (3, 'three')) as t(num, v));
-- prepared statements should be fine to pushdown
PREPARE test_values_pushdown(int, int,int) AS
WITH cte_1 (num,letter) AS (VALUES ($1, 'one'), ($2, 'two'), ($3, 'three'))
SELECT
count(*)
FROM
test_values
WHERE key IN (SELECT num FROM cte_1);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
EXECUTE test_values_pushdown(1,2,3);
-- prepared statements with volatile functions should be still pushed down
-- because the function is evaluated on the coordinator
CREATE OR REPLACE FUNCTION fixed_volatile_value() RETURNS integer VOLATILE AS $$
BEGIN
RAISE NOTICE 'evaluated on the coordinator';
RETURN 1;
END;
$$ LANGUAGE plpgsql;
EXECUTE test_values_pushdown(fixed_volatile_value(),2,3);
-- threshold should trigger materialization of VALUES in the first
-- statement and pushdown in the second as -1 disables materialization
BEGIN;
SET LOCAL citus.values_materialization_threshold TO 0;
EXECUTE test_values_pushdown(1,2,3);
SET LOCAL citus.values_materialization_threshold TO -1;
EXECUTE test_values_pushdown(1,2,3);
COMMIT;
SET client_min_messages TO WARNING;
DROP SCHEMA values_subquery CASCADE;
```
|
```c++
//===-- UnwindAssemblyInstEmulation.cpp -----------------------------------===//
//
// See path_to_url for license information.
//
//===your_sha256_hash------===//
#include "UnwindAssemblyInstEmulation.h"
#include "lldb/Core/Address.h"
#include "lldb/Core/Disassembler.h"
#include "lldb/Core/DumpDataExtractor.h"
#include "lldb/Core/DumpRegisterValue.h"
#include "lldb/Core/FormatEntity.h"
#include "lldb/Core/PluginManager.h"
#include "lldb/Target/ExecutionContext.h"
#include "lldb/Target/Process.h"
#include "lldb/Target/Target.h"
#include "lldb/Target/Thread.h"
#include "lldb/Utility/ArchSpec.h"
#include "lldb/Utility/DataBufferHeap.h"
#include "lldb/Utility/DataExtractor.h"
#include "lldb/Utility/LLDBLog.h"
#include "lldb/Utility/Log.h"
#include "lldb/Utility/Status.h"
#include "lldb/Utility/StreamString.h"
using namespace lldb;
using namespace lldb_private;
LLDB_PLUGIN_DEFINE(UnwindAssemblyInstEmulation)
// UnwindAssemblyInstEmulation method definitions
bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(
AddressRange &range, Thread &thread, UnwindPlan &unwind_plan) {
std::vector<uint8_t> function_text(range.GetByteSize());
ProcessSP process_sp(thread.GetProcess());
if (process_sp) {
Status error;
const bool force_live_memory = true;
if (process_sp->GetTarget().ReadMemory(
range.GetBaseAddress(), function_text.data(), range.GetByteSize(),
error, force_live_memory) != range.GetByteSize()) {
return false;
}
}
return GetNonCallSiteUnwindPlanFromAssembly(
range, function_text.data(), function_text.size(), unwind_plan);
}
bool UnwindAssemblyInstEmulation::GetNonCallSiteUnwindPlanFromAssembly(
AddressRange &range, uint8_t *opcode_data, size_t opcode_size,
UnwindPlan &unwind_plan) {
if (opcode_data == nullptr || opcode_size == 0)
return false;
if (range.GetByteSize() > 0 && range.GetBaseAddress().IsValid() &&
m_inst_emulator_up.get()) {
// The instruction emulation subclass setup the unwind plan for the first
// instruction.
m_inst_emulator_up->CreateFunctionEntryUnwind(unwind_plan);
// CreateFunctionEntryUnwind should have created the first row. If it
// doesn't, then we are done.
if (unwind_plan.GetRowCount() == 0)
return false;
const bool prefer_file_cache = true;
DisassemblerSP disasm_sp(Disassembler::DisassembleBytes(
m_arch, nullptr, nullptr, range.GetBaseAddress(), opcode_data,
opcode_size, 99999, prefer_file_cache));
Log *log = GetLog(LLDBLog::Unwind);
if (disasm_sp) {
m_range_ptr = ⦥
m_unwind_plan_ptr = &unwind_plan;
const uint32_t addr_byte_size = m_arch.GetAddressByteSize();
const bool show_address = true;
const bool show_bytes = true;
const bool show_control_flow_kind = true;
m_cfa_reg_info = *m_inst_emulator_up->GetRegisterInfo(
unwind_plan.GetRegisterKind(), unwind_plan.GetInitialCFARegister());
m_fp_is_cfa = false;
m_register_values.clear();
m_pushed_regs.clear();
// Initialize the CFA with a known value. In the 32 bit case it will be
// 0x80000000, and in the 64 bit case 0x8000000000000000. We use the
// address byte size to be safe for any future address sizes
m_initial_sp = (1ull << ((addr_byte_size * 8) - 1));
RegisterValue cfa_reg_value;
cfa_reg_value.SetUInt(m_initial_sp, m_cfa_reg_info.byte_size);
SetRegisterValue(m_cfa_reg_info, cfa_reg_value);
const InstructionList &inst_list = disasm_sp->GetInstructionList();
const size_t num_instructions = inst_list.GetSize();
if (num_instructions > 0) {
Instruction *inst = inst_list.GetInstructionAtIndex(0).get();
const lldb::addr_t base_addr = inst->GetAddress().GetFileAddress();
// Map for storing the unwind plan row and the value of the registers
// at a given offset. When we see a forward branch we add a new entry
// to this map with the actual unwind plan row and register context for
// the target address of the branch as the current data have to be
// valid for the target address of the branch too if we are in the same
// function.
std::map<lldb::addr_t, std::pair<UnwindPlan::RowSP, RegisterValueMap>>
saved_unwind_states;
// Make a copy of the current instruction Row and save it in m_curr_row
// so we can add updates as we process the instructions.
UnwindPlan::RowSP last_row = unwind_plan.GetLastRow();
UnwindPlan::Row *newrow = new UnwindPlan::Row;
if (last_row.get())
*newrow = *last_row.get();
m_curr_row.reset(newrow);
// Add the initial state to the save list with offset 0.
saved_unwind_states.insert({0, {last_row, m_register_values}});
// cache the stack pointer register number (in whatever register
// numbering this UnwindPlan uses) for quick reference during
// instruction parsing.
RegisterInfo sp_reg_info = *m_inst_emulator_up->GetRegisterInfo(
eRegisterKindGeneric, LLDB_REGNUM_GENERIC_SP);
// The architecture dependent condition code of the last processed
// instruction.
EmulateInstruction::InstructionCondition last_condition =
EmulateInstruction::UnconditionalCondition;
lldb::addr_t condition_block_start_offset = 0;
for (size_t idx = 0; idx < num_instructions; ++idx) {
m_curr_row_modified = false;
m_forward_branch_offset = 0;
inst = inst_list.GetInstructionAtIndex(idx).get();
if (inst) {
lldb::addr_t current_offset =
inst->GetAddress().GetFileAddress() - base_addr;
auto it = saved_unwind_states.upper_bound(current_offset);
assert(it != saved_unwind_states.begin() &&
"Unwind row for the function entry missing");
--it; // Move it to the row corresponding to the current offset
// If the offset of m_curr_row don't match with the offset we see
// in saved_unwind_states then we have to update m_curr_row and
// m_register_values based on the saved values. It is happening
// after we processed an epilogue and a return to caller
// instruction.
if (it->second.first->GetOffset() != m_curr_row->GetOffset()) {
UnwindPlan::Row *newrow = new UnwindPlan::Row;
*newrow = *it->second.first;
m_curr_row.reset(newrow);
m_register_values = it->second.second;
// re-set the CFA register ivars to match the
// new m_curr_row.
if (sp_reg_info.name &&
m_curr_row->GetCFAValue().IsRegisterPlusOffset()) {
uint32_t row_cfa_regnum =
m_curr_row->GetCFAValue().GetRegisterNumber();
lldb::RegisterKind row_kind =
m_unwind_plan_ptr->GetRegisterKind();
// set m_cfa_reg_info to the row's CFA reg.
m_cfa_reg_info = *m_inst_emulator_up->GetRegisterInfo(
row_kind, row_cfa_regnum);
// set m_fp_is_cfa.
if (sp_reg_info.kinds[row_kind] == row_cfa_regnum)
m_fp_is_cfa = false;
else
m_fp_is_cfa = true;
}
}
m_inst_emulator_up->SetInstruction(inst->GetOpcode(),
inst->GetAddress(), nullptr);
if (last_condition !=
m_inst_emulator_up->GetInstructionCondition()) {
if (m_inst_emulator_up->GetInstructionCondition() !=
EmulateInstruction::UnconditionalCondition &&
saved_unwind_states.count(current_offset) == 0) {
// If we don't have a saved row for the current offset then
// save our current state because we will have to restore it
// after the conditional block.
auto new_row =
std::make_shared<UnwindPlan::Row>(*m_curr_row.get());
saved_unwind_states.insert(
{current_offset, {new_row, m_register_values}});
}
// If the last instruction was conditional with a different
// condition then the then current condition then restore the
// condition.
if (last_condition !=
EmulateInstruction::UnconditionalCondition) {
const auto &saved_state =
saved_unwind_states.at(condition_block_start_offset);
m_curr_row =
std::make_shared<UnwindPlan::Row>(*saved_state.first);
m_curr_row->SetOffset(current_offset);
m_register_values = saved_state.second;
// re-set the CFA register ivars to match the
// new m_curr_row.
if (sp_reg_info.name &&
m_curr_row->GetCFAValue().IsRegisterPlusOffset()) {
uint32_t row_cfa_regnum =
m_curr_row->GetCFAValue().GetRegisterNumber();
lldb::RegisterKind row_kind =
m_unwind_plan_ptr->GetRegisterKind();
// set m_cfa_reg_info to the row's CFA reg.
m_cfa_reg_info = *m_inst_emulator_up->GetRegisterInfo(
row_kind, row_cfa_regnum);
// set m_fp_is_cfa.
if (sp_reg_info.kinds[row_kind] == row_cfa_regnum)
m_fp_is_cfa = false;
else
m_fp_is_cfa = true;
}
bool replace_existing =
true; // The last instruction might already
// created a row for this offset and
// we want to overwrite it.
unwind_plan.InsertRow(
std::make_shared<UnwindPlan::Row>(*m_curr_row),
replace_existing);
}
// We are starting a new conditional block at the actual offset
condition_block_start_offset = current_offset;
}
if (log && log->GetVerbose()) {
StreamString strm;
lldb_private::FormatEntity::Entry format;
FormatEntity::Parse("${frame.pc}: ", format);
inst->Dump(&strm, inst_list.GetMaxOpcocdeByteSize(), show_address,
show_bytes, show_control_flow_kind, nullptr, nullptr,
nullptr, &format, 0);
log->PutString(strm.GetString());
}
last_condition = m_inst_emulator_up->GetInstructionCondition();
m_inst_emulator_up->EvaluateInstruction(
eEmulateInstructionOptionIgnoreConditions);
// If the current instruction is a branch forward then save the
// current CFI information for the offset where we are branching.
if (m_forward_branch_offset != 0 &&
range.ContainsFileAddress(inst->GetAddress().GetFileAddress() +
m_forward_branch_offset)) {
auto newrow =
std::make_shared<UnwindPlan::Row>(*m_curr_row.get());
newrow->SetOffset(current_offset + m_forward_branch_offset);
saved_unwind_states.insert(
{current_offset + m_forward_branch_offset,
{newrow, m_register_values}});
unwind_plan.InsertRow(newrow);
}
// Were there any changes to the CFI while evaluating this
// instruction?
if (m_curr_row_modified) {
// Save the modified row if we don't already have a CFI row in
// the current address
if (saved_unwind_states.count(
current_offset + inst->GetOpcode().GetByteSize()) == 0) {
m_curr_row->SetOffset(current_offset +
inst->GetOpcode().GetByteSize());
unwind_plan.InsertRow(m_curr_row);
saved_unwind_states.insert(
{current_offset + inst->GetOpcode().GetByteSize(),
{m_curr_row, m_register_values}});
// Allocate a new Row for m_curr_row, copy the current state
// into it
UnwindPlan::Row *newrow = new UnwindPlan::Row;
*newrow = *m_curr_row.get();
m_curr_row.reset(newrow);
}
}
}
}
}
}
if (log && log->GetVerbose()) {
StreamString strm;
lldb::addr_t base_addr = range.GetBaseAddress().GetFileAddress();
strm.Printf("Resulting unwind rows for [0x%" PRIx64 " - 0x%" PRIx64 "):",
base_addr, base_addr + range.GetByteSize());
unwind_plan.Dump(strm, nullptr, base_addr);
log->PutString(strm.GetString());
}
return unwind_plan.GetRowCount() > 0;
}
return false;
}
bool UnwindAssemblyInstEmulation::AugmentUnwindPlanFromCallSite(
AddressRange &func, Thread &thread, UnwindPlan &unwind_plan) {
return false;
}
bool UnwindAssemblyInstEmulation::GetFastUnwindPlan(AddressRange &func,
Thread &thread,
UnwindPlan &unwind_plan) {
return false;
}
bool UnwindAssemblyInstEmulation::FirstNonPrologueInsn(
AddressRange &func, const ExecutionContext &exe_ctx,
Address &first_non_prologue_insn) {
return false;
}
UnwindAssembly *
UnwindAssemblyInstEmulation::CreateInstance(const ArchSpec &arch) {
std::unique_ptr<EmulateInstruction> inst_emulator_up(
EmulateInstruction::FindPlugin(arch, eInstructionTypePrologueEpilogue,
nullptr));
// Make sure that all prologue instructions are handled
if (inst_emulator_up)
return new UnwindAssemblyInstEmulation(arch, inst_emulator_up.release());
return nullptr;
}
void UnwindAssemblyInstEmulation::Initialize() {
PluginManager::RegisterPlugin(GetPluginNameStatic(),
GetPluginDescriptionStatic(), CreateInstance);
}
void UnwindAssemblyInstEmulation::Terminate() {
PluginManager::UnregisterPlugin(CreateInstance);
}
llvm::StringRef UnwindAssemblyInstEmulation::GetPluginDescriptionStatic() {
return "Instruction emulation based unwind information.";
}
uint64_t UnwindAssemblyInstEmulation::MakeRegisterKindValuePair(
const RegisterInfo ®_info) {
lldb::RegisterKind reg_kind;
uint32_t reg_num;
if (EmulateInstruction::GetBestRegisterKindAndNumber(®_info, reg_kind,
reg_num))
return (uint64_t)reg_kind << 24 | reg_num;
return 0ull;
}
void UnwindAssemblyInstEmulation::SetRegisterValue(
const RegisterInfo ®_info, const RegisterValue ®_value) {
m_register_values[MakeRegisterKindValuePair(reg_info)] = reg_value;
}
bool UnwindAssemblyInstEmulation::GetRegisterValue(const RegisterInfo ®_info,
RegisterValue ®_value) {
const uint64_t reg_id = MakeRegisterKindValuePair(reg_info);
RegisterValueMap::const_iterator pos = m_register_values.find(reg_id);
if (pos != m_register_values.end()) {
reg_value = pos->second;
return true; // We had a real value that comes from an opcode that wrote
// to it...
}
// We are making up a value that is recognizable...
reg_value.SetUInt(reg_id, reg_info.byte_size);
return false;
}
size_t UnwindAssemblyInstEmulation::ReadMemory(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context, lldb::addr_t addr, void *dst,
size_t dst_len) {
Log *log = GetLog(LLDBLog::Unwind);
if (log && log->GetVerbose()) {
StreamString strm;
strm.Printf(
"UnwindAssemblyInstEmulation::ReadMemory (addr = 0x%16.16" PRIx64
", dst = %p, dst_len = %" PRIu64 ", context = ",
addr, dst, (uint64_t)dst_len);
context.Dump(strm, instruction);
log->PutString(strm.GetString());
}
memset(dst, 0, dst_len);
return dst_len;
}
size_t UnwindAssemblyInstEmulation::WriteMemory(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context, lldb::addr_t addr,
const void *dst, size_t dst_len) {
if (baton && dst && dst_len)
return ((UnwindAssemblyInstEmulation *)baton)
->WriteMemory(instruction, context, addr, dst, dst_len);
return 0;
}
size_t UnwindAssemblyInstEmulation::WriteMemory(
EmulateInstruction *instruction, const EmulateInstruction::Context &context,
lldb::addr_t addr, const void *dst, size_t dst_len) {
DataExtractor data(dst, dst_len,
instruction->GetArchitecture().GetByteOrder(),
instruction->GetArchitecture().GetAddressByteSize());
Log *log = GetLog(LLDBLog::Unwind);
if (log && log->GetVerbose()) {
StreamString strm;
strm.PutCString("UnwindAssemblyInstEmulation::WriteMemory (");
DumpDataExtractor(data, &strm, 0, eFormatBytes, 1, dst_len, UINT32_MAX,
addr, 0, 0);
strm.PutCString(", context = ");
context.Dump(strm, instruction);
log->PutString(strm.GetString());
}
const bool cant_replace = false;
switch (context.type) {
default:
case EmulateInstruction::eContextInvalid:
case EmulateInstruction::eContextReadOpcode:
case EmulateInstruction::eContextImmediate:
case EmulateInstruction::eContextAdjustBaseRegister:
case EmulateInstruction::eContextRegisterPlusOffset:
case EmulateInstruction::eContextAdjustPC:
case EmulateInstruction::eContextRegisterStore:
case EmulateInstruction::eContextRegisterLoad:
case EmulateInstruction::eContextRelativeBranchImmediate:
case EmulateInstruction::eContextAbsoluteBranchRegister:
case EmulateInstruction::eContextSupervisorCall:
case EmulateInstruction::eContextTableBranchReadMemory:
case EmulateInstruction::eContextWriteRegisterRandomBits:
case EmulateInstruction::eContextWriteMemoryRandomBits:
case EmulateInstruction::eContextArithmetic:
case EmulateInstruction::eContextAdvancePC:
case EmulateInstruction::eContextReturnFromException:
case EmulateInstruction::eContextPopRegisterOffStack:
case EmulateInstruction::eContextAdjustStackPointer:
break;
case EmulateInstruction::eContextPushRegisterOnStack: {
uint32_t reg_num = LLDB_INVALID_REGNUM;
uint32_t generic_regnum = LLDB_INVALID_REGNUM;
assert(context.GetInfoType() ==
EmulateInstruction::eInfoTypeRegisterToRegisterPlusOffset &&
"unhandled case, add code to handle this!");
const uint32_t unwind_reg_kind = m_unwind_plan_ptr->GetRegisterKind();
reg_num = context.info.RegisterToRegisterPlusOffset.data_reg
.kinds[unwind_reg_kind];
generic_regnum = context.info.RegisterToRegisterPlusOffset.data_reg
.kinds[eRegisterKindGeneric];
if (reg_num != LLDB_INVALID_REGNUM &&
generic_regnum != LLDB_REGNUM_GENERIC_SP) {
if (m_pushed_regs.find(reg_num) == m_pushed_regs.end()) {
m_pushed_regs[reg_num] = addr;
const int32_t offset = addr - m_initial_sp;
m_curr_row->SetRegisterLocationToAtCFAPlusOffset(reg_num, offset,
cant_replace);
m_curr_row_modified = true;
}
}
} break;
}
return dst_len;
}
bool UnwindAssemblyInstEmulation::ReadRegister(EmulateInstruction *instruction,
void *baton,
const RegisterInfo *reg_info,
RegisterValue ®_value) {
if (baton && reg_info)
return ((UnwindAssemblyInstEmulation *)baton)
->ReadRegister(instruction, reg_info, reg_value);
return false;
}
bool UnwindAssemblyInstEmulation::ReadRegister(EmulateInstruction *instruction,
const RegisterInfo *reg_info,
RegisterValue ®_value) {
bool synthetic = GetRegisterValue(*reg_info, reg_value);
Log *log = GetLog(LLDBLog::Unwind);
if (log && log->GetVerbose()) {
StreamString strm;
strm.Printf("UnwindAssemblyInstEmulation::ReadRegister (name = \"%s\") => "
"synthetic_value = %i, value = ",
reg_info->name, synthetic);
DumpRegisterValue(reg_value, &strm, reg_info, false, false, eFormatDefault);
log->PutString(strm.GetString());
}
return true;
}
bool UnwindAssemblyInstEmulation::WriteRegister(
EmulateInstruction *instruction, void *baton,
const EmulateInstruction::Context &context, const RegisterInfo *reg_info,
const RegisterValue ®_value) {
if (baton && reg_info)
return ((UnwindAssemblyInstEmulation *)baton)
->WriteRegister(instruction, context, reg_info, reg_value);
return false;
}
bool UnwindAssemblyInstEmulation::WriteRegister(
EmulateInstruction *instruction, const EmulateInstruction::Context &context,
const RegisterInfo *reg_info, const RegisterValue ®_value) {
Log *log = GetLog(LLDBLog::Unwind);
if (log && log->GetVerbose()) {
StreamString strm;
strm.Printf(
"UnwindAssemblyInstEmulation::WriteRegister (name = \"%s\", value = ",
reg_info->name);
DumpRegisterValue(reg_value, &strm, reg_info, false, false, eFormatDefault);
strm.PutCString(", context = ");
context.Dump(strm, instruction);
log->PutString(strm.GetString());
}
SetRegisterValue(*reg_info, reg_value);
switch (context.type) {
case EmulateInstruction::eContextInvalid:
case EmulateInstruction::eContextReadOpcode:
case EmulateInstruction::eContextImmediate:
case EmulateInstruction::eContextAdjustBaseRegister:
case EmulateInstruction::eContextRegisterPlusOffset:
case EmulateInstruction::eContextAdjustPC:
case EmulateInstruction::eContextRegisterStore:
case EmulateInstruction::eContextSupervisorCall:
case EmulateInstruction::eContextTableBranchReadMemory:
case EmulateInstruction::eContextWriteRegisterRandomBits:
case EmulateInstruction::eContextWriteMemoryRandomBits:
case EmulateInstruction::eContextAdvancePC:
case EmulateInstruction::eContextReturnFromException:
case EmulateInstruction::eContextPushRegisterOnStack:
case EmulateInstruction::eContextRegisterLoad:
// {
// const uint32_t reg_num =
// reg_info->kinds[m_unwind_plan_ptr->GetRegisterKind()];
// if (reg_num != LLDB_INVALID_REGNUM)
// {
// const bool can_replace_only_if_unspecified = true;
//
// m_curr_row.SetRegisterLocationToUndefined (reg_num,
// can_replace_only_if_unspecified,
// can_replace_only_if_unspecified);
// m_curr_row_modified = true;
// }
// }
break;
case EmulateInstruction::eContextArithmetic: {
// If we adjusted the current frame pointer by a constant then adjust the
// CFA offset
// with the same amount.
lldb::RegisterKind kind = m_unwind_plan_ptr->GetRegisterKind();
if (m_fp_is_cfa && reg_info->kinds[kind] == m_cfa_reg_info.kinds[kind] &&
context.GetInfoType() ==
EmulateInstruction::eInfoTypeRegisterPlusOffset &&
context.info.RegisterPlusOffset.reg.kinds[kind] ==
m_cfa_reg_info.kinds[kind]) {
const int64_t offset = context.info.RegisterPlusOffset.signed_offset;
m_curr_row->GetCFAValue().IncOffset(-1 * offset);
m_curr_row_modified = true;
}
} break;
case EmulateInstruction::eContextAbsoluteBranchRegister:
case EmulateInstruction::eContextRelativeBranchImmediate: {
if (context.GetInfoType() == EmulateInstruction::eInfoTypeISAAndImmediate &&
context.info.ISAAndImmediate.unsigned_data32 > 0) {
m_forward_branch_offset =
context.info.ISAAndImmediateSigned.signed_data32;
} else if (context.GetInfoType() ==
EmulateInstruction::eInfoTypeISAAndImmediateSigned &&
context.info.ISAAndImmediateSigned.signed_data32 > 0) {
m_forward_branch_offset = context.info.ISAAndImmediate.unsigned_data32;
} else if (context.GetInfoType() ==
EmulateInstruction::eInfoTypeImmediate &&
context.info.unsigned_immediate > 0) {
m_forward_branch_offset = context.info.unsigned_immediate;
} else if (context.GetInfoType() ==
EmulateInstruction::eInfoTypeImmediateSigned &&
context.info.signed_immediate > 0) {
m_forward_branch_offset = context.info.signed_immediate;
}
} break;
case EmulateInstruction::eContextPopRegisterOffStack: {
const uint32_t reg_num =
reg_info->kinds[m_unwind_plan_ptr->GetRegisterKind()];
const uint32_t generic_regnum = reg_info->kinds[eRegisterKindGeneric];
if (reg_num != LLDB_INVALID_REGNUM &&
generic_regnum != LLDB_REGNUM_GENERIC_SP) {
switch (context.GetInfoType()) {
case EmulateInstruction::eInfoTypeAddress:
if (m_pushed_regs.find(reg_num) != m_pushed_regs.end() &&
context.info.address == m_pushed_regs[reg_num]) {
m_curr_row->SetRegisterLocationToSame(reg_num,
false /*must_replace*/);
m_curr_row_modified = true;
// FP has been restored to its original value, we are back
// to using SP to calculate the CFA.
if (m_fp_is_cfa) {
m_fp_is_cfa = false;
lldb::RegisterKind sp_reg_kind = eRegisterKindGeneric;
uint32_t sp_reg_num = LLDB_REGNUM_GENERIC_SP;
RegisterInfo sp_reg_info =
*m_inst_emulator_up->GetRegisterInfo(sp_reg_kind, sp_reg_num);
RegisterValue sp_reg_val;
if (GetRegisterValue(sp_reg_info, sp_reg_val)) {
m_cfa_reg_info = sp_reg_info;
const uint32_t cfa_reg_num =
sp_reg_info.kinds[m_unwind_plan_ptr->GetRegisterKind()];
assert(cfa_reg_num != LLDB_INVALID_REGNUM);
m_curr_row->GetCFAValue().SetIsRegisterPlusOffset(
cfa_reg_num, m_initial_sp - sp_reg_val.GetAsUInt64());
}
}
}
break;
case EmulateInstruction::eInfoTypeISA:
assert(
(generic_regnum == LLDB_REGNUM_GENERIC_PC ||
generic_regnum == LLDB_REGNUM_GENERIC_FLAGS) &&
"eInfoTypeISA used for popping a register other the PC/FLAGS");
if (generic_regnum != LLDB_REGNUM_GENERIC_FLAGS) {
m_curr_row->SetRegisterLocationToSame(reg_num,
false /*must_replace*/);
m_curr_row_modified = true;
}
break;
default:
assert(false && "unhandled case, add code to handle this!");
break;
}
}
} break;
case EmulateInstruction::eContextSetFramePointer:
if (!m_fp_is_cfa) {
m_fp_is_cfa = true;
m_cfa_reg_info = *reg_info;
const uint32_t cfa_reg_num =
reg_info->kinds[m_unwind_plan_ptr->GetRegisterKind()];
assert(cfa_reg_num != LLDB_INVALID_REGNUM);
m_curr_row->GetCFAValue().SetIsRegisterPlusOffset(
cfa_reg_num, m_initial_sp - reg_value.GetAsUInt64());
m_curr_row_modified = true;
}
break;
case EmulateInstruction::eContextRestoreStackPointer:
if (m_fp_is_cfa) {
m_fp_is_cfa = false;
m_cfa_reg_info = *reg_info;
const uint32_t cfa_reg_num =
reg_info->kinds[m_unwind_plan_ptr->GetRegisterKind()];
assert(cfa_reg_num != LLDB_INVALID_REGNUM);
m_curr_row->GetCFAValue().SetIsRegisterPlusOffset(
cfa_reg_num, m_initial_sp - reg_value.GetAsUInt64());
m_curr_row_modified = true;
}
break;
case EmulateInstruction::eContextAdjustStackPointer:
// If we have created a frame using the frame pointer, don't follow
// subsequent adjustments to the stack pointer.
if (!m_fp_is_cfa) {
m_curr_row->GetCFAValue().SetIsRegisterPlusOffset(
m_curr_row->GetCFAValue().GetRegisterNumber(),
m_initial_sp - reg_value.GetAsUInt64());
m_curr_row_modified = true;
}
break;
}
return true;
}
```
|
Kristoffer Lou Gonzales "Ryan" Agoncillo (; born April 10, 1979) is a Filipino actor, model, host, musician, and photographer.
Career
Modelling and hosting
Agoncillo started as a model at the age of 15, beginning as one of the early Penshoppe's Club Pen models. He has appeared in various television commercials for a variety of products such as Greenwich Pizza (together with Donita Rose), Sprite, Smart Communications, Emperador Brandy, Rexona, Swish mouthwash, and McDonald's.
Agoncillo became one of the original hosts of Mornings @ GMA, an early morning variety program of GMA Network. He also hosted Campus Video, a short-lived program shown every Saturday morning at GMA Network. He then moved to ABS-CBN and became a co-host on Talk TV, which is a morning talk show co-hosted by broadcasters Julius Babao and Christine Bersola-Babao, and actress Janette McBride. Agoncillo was briefly paired with co-host Janet McBride, because of this, Rumors spread that the two were exclusively dating for a period of time. He also hosted Breakfast, an early morning variety program; Star in a Million, with Edu Manzano and Zsa Zsa Padilla, and Y Speak, a youth-oriented talk show and debate forum. Both shows are still aired in Studio 23, an ABS-CBN Corporation subsidiary. He won his first KBP Golden Dove Awards for his Best Talk Show host in 2005 for Studio 23's Y Speak.
Agoncillo was the main host of Philippine Idol alongside fellow ABS-CBN actress Heart Evangelista on ABC-5 (now TV5) before it was moved to GMA Network and rebooted into Pinoy Idol. In August 2008, he began hosting TV5's Talentadong Pinoy, which showcases Filipino undiscovered talents. He also hosted Endemol's Pinoy Fear Factor which aired on ABS-CBN. Pinoy Fear Factor was shot entirely in Argentina.
On October 24, 2009, Agoncillo finally returned to GMA Network and began hosting the country's longest running noontime show, Eat Bulaga!. From April 2010 to February 2011, Agoncillo co-hosted the noontime musical variety show P.O.5 on TV5. For his hosting stints in Eat Bulaga! and Talentadong Pinoy, Agoncillo became a four-time award winner of the Aliw Award for Best Male Emcee, for which he won consecutively from 2007 to 2010. In 2010, he was elevated to the Hall of Fame. Agoncillo hosted a game show called Picture! Picture! which premiered on November 23, 2013, on GMA Network, the show aired for 28 weeks ending on June 15, 2014. In 2015, Agoncillo was announced as the host of Cash Cab Philippines, the Philippine edition of the game show format Cash Cab. The show would go on to air 13 episodes on AXN Asia from December 22.
From 2020 to 2021, he was the director of the documentary show Paano Kita Mapasasalamatan? hosted by his wife Judy Ann Santos, marking his partial return to ABS-CBN despite his commitments to other networks.
Acting
Agoncillo joined the talent cast of ABS-CBN. He is most memorable for playing the love interest of Judy Ann Santos in the television soap opera Krystala. He once again appeared with Santos in the movie Kasal, Kasali, Kasalo. He received best actor nominations from different award-giving bodies for his portrayal of a confused newly wed husband in this film. He will be doing a new movie with Judy Ann Santos called Mr. Housewife.
He also played a main cast role in Bituing Walang Ningning, an ABS-CBN soap opera featuring singer-actresses Sarah Geronimo, Angelika dela Cruz, and Zsa Zsa Padilla in the leads.
Agoncillo also played leading roles in independent film projects and television drama shows. He played the distinct roles of a grease-filled beggar and a transvestite in two separate dramatic episodes of Maalaala Mo Kaya, the biographical drama series of ABS-CBN.
He starred in the ABS-CBN television series, Ysabella with his long-time on-screen partner, Judy Ann Santos.
Agoncillo returns to acting on TV with drama series entitled Pieta airing weekly days afternoons over ABS-CBN where he portrayed Rigor, a character originally portrayed by Ace Vergel.
Agoncillo returns to acting again for his new role in May Bukas Pa where he plays a media cameraman in the final 10 episodes of the series (254–263, aired January 25–February 5, 2010) after his wife Judy Ann Santos also guested in the show (episodes 237–241, aired December 31, 2009 – January 6, 2010).
Agoncillo appeared in Lady Dada on TV5 in 2010.
Agoncillo returned to acting again this time on GMA Network with My Husband's Lover as his very first television series on the network appearing in a minor role (also in a last week of the drama series), with his co-stars Carla Abellana and Dennis Trillo in 2013, and in Ismol Family from 2014 to 2016, also with Carla Abellana.
Photography
Agoncillo had a one-man colored photo exhibit at Glorietta, sponsored by Fujifilm in 2007. He published a black-and-white photography coffeetable book titled Ploning – The Making as a birthday gift to his fiancée (now wife) Judy Ann Santos in 2008.
Personal life
Agoncillo married actress Judy Ann Santos in a private ceremony at the San Juan de Nepomuceno Church in the San Juan area of Batangas on April 28, 2009. They have three children together.
Agoncillo is a motorcycle enthusiast who enjoys drifting. He competes in various drifting events with a Nissan Silvia (S13) sponsored by Adidas, Yellow Cab Pizza, Shell, and Nexen Tire.
Filmography
Film
Television
Discography
Albums
Songs
"I'll Have to Say I Love You in a Song"
"Ikaw ang Pag-ibig"
Awards and recognitions
"Anak TV Seal Award" – 2010 with wife Judy Ann Santos
Winner, Male Star of the Night – 2009 MTRCB TV Awards
Winner, German Moreno Youth Achievement Award 2008 – FAMAS Awards Night 2008
Winner, Best Public Affairs Program Host "Y-Speak" – 2007 KBP Golden Dove Awards
References
External links
1979 births
Living people
Filipino male television actors
Filipino television variety show hosts
Filipino game show hosts
De La Salle University alumni
People from Santa Mesa
Male actors from Manila
People from Batangas
21st-century Filipino male actors
ABS-CBN personalities
GMA Integrated News and Public Affairs people
GMA Network personalities
Filipino male film actors
Filipino people of Spanish descent
Filipino male comedians
Comedians from Manila
|
Small is a weekly peer-reviewed scientific journal covering nanotechnology. It was established in 2005 as a monthly journal, switched to biweekly in 2009, and to weekly in 2015. It is published by Wiley-VCH and the editor-in-chief is José Oliveira. According to the Journal Citation Reports, the journal has a 2022 impact factor of 13.3.
See also
Advanced Materials
Advanced Functional Materials
Advanced Engineering Materials
Advanced Science
References
External links
Materials science journals
Nanotechnology journals
Academic journals established in 2005
Wiley-VCH academic journals
Weekly journals
English-language journals
|
```javascript
/**
*
*
* path_to_url
*
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* limitations under the license.
*/
require('../third_party/wikibooks/circle-circle-tangents');
Math.DEG2RAD = Math.PI / 180;
Math.RAD2DEG = 189 / Math.PI;
Math.TAU = 2 * Math.PI;
Math.EPSILON = 1e-12;
/**
* Returns true if a is nearly less than b. These functions are used as comparisons for floating
* point numbers. The epsilon value check removes any issues caused by floating point rounding
* errors.
*/
Math.isAlmostLessThan = function(a, b, epsilon) {
return (a - b < epsilon && Math.abs(a - b) > epsilon);
}
/**
* Returns true if a is nearly greater than b
*/
Math.isAlmostGreaterThan = function(a, b, epsilon) {
return (a - b > epsilon && Math.abs(a - b) > epsilon);
}
/**
* Returns true if a is nearly less than or equal to b
*/
Math.isAlmostLTE = function(a, b, epsilon) {
return Math.isAlmostLessThan(a, b, epsilon) || Math.isAlmostEqual(a, b, epsilon);
}
/**
* Returns true if a is nearly greater than or equal to b.
*/
Math.isAlmostGTE = function(a, b, epsilon) {
return Math.isAlmostGreaterThan(a, b, epsilon) || Math.isAlmostEqual(a, b, epsilon);
}
/**
* Returns true if a is nearly equal to b
*/
Math.isAlmostEqual = function(a, b, epsilon) {
var absA = Math.abs(a);
var absB = Math.abs(b);
var diff = Math.abs(a - b);
if (a == b) {
return true;
} else if (a == 0 || b == 0 || diff < Number.EPSILON) {
return diff < (epsilon * Number.EPSILON);
} else {
return diff / (absA + absB) < epsilon;
}
}
/**
* Returns the euclidean distance between two points
*/
Math.euclideanDistance = function(x1, y1, x2, y2) {
return Math.sqrt((x2 - x1) * (x2 - x1) + (y2 - y1) * (y2 - y1));
};
/**
* Remaps a number o from a..b to c..d
*/
Math.remap = function(o, a, b, c, d) {
return (((o - a) * (d - c)) / (b - a)) + c;
};
/**
* Linearly interpolate between two given values.
*/
Math.lerp = function(a, b, t) {
return (a + t * (b - a));
}
/**
* Clamps a value a between b and c
*/
Math.clamp = function(a, b, c) {
return Math.min(Math.max(a, b), c);
};
/**
* Alias of Math.euclideanDistance, for vectors in x-y object form.
*/
Math.magnitude = function(v) {
return Math.sqrt(v.x * v.x + v.y * v.y);
};
/**
* Normalizes a given vector to a magnitude of 0..1
*/
Math.normalize = function(v) {
var length = Math.magnitude(v);
return {
x: length !== 0 ? v.x / length : 0,
y: length !== 0 ? v.y / length : 0
};
}
/**
* Returns true if a given point resides inside a given circle
*/
Math.isInCircle = function(c, p) {
return c != null && Math.euclideanDistance(p.x, p.y, c.x, c.y) < c.r + Math.EPSILON;
}
/**
* Returns the points of intersection between two circles. Returns false if the circles do not
* intersect.
*/
Math.circleCircleIntersection = function(c1, c2) {
var dx = c2.x - c1.x,
dy = c2.y - c1.y;
var d = Math.sqrt(dx * dx + dy * dy);
// Check for solvability
if (d > (c1.r + c2.r) || d < Math.abs(c1.r - c2.r)) {
return false;
}
var a = ((c1.r * c1.r) - (c2.r * c2.r) + (d * d)) / (2 * d);
var x2 = c1.x + (dx * a / d),
y2 = c1.y + (dy * a / d);
var h = Math.sqrt((c1.r * c1.r) - (a * a));
var rx = -dy * (h / d),
ry = +dx * (h / d);
return [
{ x: x2 + rx, y: y2 + ry },
{ x: x2 - rx, y: y2 - ry }
];
}
/**
* Returns the points of intersection of the two tangent lines between a given point and a circle.
*/
Math.pointTangentIntersection = function(c, p) {
var dx = c.x - p.x,
dy = c.y - p.y,
dr = c.r * c.r,
d2 = dx * dx + dy * dy;
if (d2 < dr) {
return false;
}
var c2 = {
x: p.x,
y: p.y,
r: Math.sqrt(d2 - dr)
}
return Math.circleCircleIntersection(c, c2);
}
/**
* Generates one-dimensional noise from a sum of sinewaves. Two random values are used for
* variation. The numbers are arbitrary and simply mash a bunch of waves together into curvy
* smooth noise which animates nicely.
*/
Math.curveNoise = function(t, s1, s2) {
var th = Math.sin(t) * Math.cos(t * 1.123 + s1) + Math.cos(t * 4.411 + s2) + t * 4 + Math.sin(t * 0.31);
return ((Math.cos(t * 1.66) + Math.sin(t * 2.32 + s2) * Math.cos(t * 3.217 - s1)) - Math.cos(t * 9.167) * Math.cos(th)) / 2.8;
}
```
|
```java
package core.ipc.repeatServer;
import java.util.logging.Level;
import java.util.logging.Logger;
import argo.jdom.JsonNode;
import argo.jdom.JsonNodeFactories;
import argo.jdom.JsonRootNode;
import utilities.json.IJsonable;
/**
* This class is very similar to <class> UserDefinedAction </class>, except that this is meant to be
* for direct communication between ipc java client and native server
* @author hptruong93
*
*/
public class ClientTask implements IJsonable {
private static final Logger LOGGER = Logger.getLogger(ClientTask.class.getName());
private final String id;
private final String fileName;
protected ClientTask(String id, String fileName) {
this.id = id;
this.fileName = fileName;
}
public static ClientTask of(String id, String fileName) {
return new ClientTask(id, fileName);
}
public String getId() {
return id;
}
public String getFileName() {
return fileName;
}
@Override
public JsonRootNode jsonize() {
return JsonNodeFactories.object(
JsonNodeFactories.field("id", JsonNodeFactories.string(id)),
JsonNodeFactories.field("file_name", JsonNodeFactories.string(fileName))
);
}
public static ClientTask parseJSON(JsonNode node) {
try {
String id = node.getStringValue("id");
String fileName = node.getStringValue("file_name");
return new ClientTask(id, fileName);
} catch (Exception e) {
LOGGER.log(Level.WARNING, "Failed to parse ClientTask.", e);
return null;
}
}
}
```
|
```python
# -*- coding: utf-8 -*-
"""
Created on Sun Sep 11 19:29:11 2016
@author: DIP
"""
from normalization import normalize_corpus
from utils import build_feature_matrix
import numpy as np
toy_corpus = ['The sky is blue',
'The sky is blue and beautiful',
'Look at the bright blue sky!',
'Python is a great Programming language',
'Python and Java are popular Programming languages',
'Among Programming languages, both Python and Java are the most used in Analytics',
'The fox is quicker than the lazy dog',
'The dog is smarter than the fox',
'The dog, fox and cat are good friends']
query_docs = ['The fox is definitely smarter than the dog',
'Java is a static typed programming language unlike Python',
'I love to relax under the beautiful blue sky!']
# normalize and extract features from the toy corpus
norm_corpus = normalize_corpus(toy_corpus, lemmatize=True)
tfidf_vectorizer, tfidf_features = build_feature_matrix(norm_corpus,
feature_type='tfidf',
ngram_range=(1, 1),
min_df=0.0, max_df=1.0)
# normalize and extract features from the query corpus
norm_query_docs = normalize_corpus(query_docs, lemmatize=True)
query_docs_tfidf = tfidf_vectorizer.transform(norm_query_docs)
def compute_cosine_similarity(doc_features, corpus_features,
top_n=3):
# get document vectors
doc_features = doc_features.toarray()[0]
corpus_features = corpus_features.toarray()
# compute similarities
similarity = np.dot(doc_features,
corpus_features.T)
# get docs with highest similarity scores
top_docs = similarity.argsort()[::-1][:top_n]
top_docs_with_score = [(index, round(similarity[index], 3))
for index in top_docs]
return top_docs_with_score
print 'Document Similarity Analysis using Cosine Similarity'
print '='*60
for index, doc in enumerate(query_docs):
doc_tfidf = query_docs_tfidf[index]
top_similar_docs = compute_cosine_similarity(doc_tfidf,
tfidf_features,
top_n=2)
print 'Document',index+1 ,':', doc
print 'Top', len(top_similar_docs), 'similar docs:'
print '-'*40
for doc_index, sim_score in top_similar_docs:
print 'Doc num: {} Similarity Score: {}\nDoc: {}'.format(doc_index+1,
sim_score,
toy_corpus[doc_index])
print '-'*40
print
def compute_hellinger_bhattacharya_distance(doc_features, corpus_features,
top_n=3):
# get document vectors
doc_features = doc_features.toarray()[0]
corpus_features = corpus_features.toarray()
# compute hb distances
distance = np.hstack(
np.sqrt(0.5 *
np.sum(
np.square(np.sqrt(doc_features) -
np.sqrt(corpus_features)),
axis=1)))
# get docs with lowest distance scores
top_docs = distance.argsort()[:top_n]
top_docs_with_score = [(index, round(distance[index], 3))
for index in top_docs]
return top_docs_with_score
print 'Document Similarity Analysis using Hellinger-Bhattacharya distance'
print '='*60
for index, doc in enumerate(query_docs):
doc_tfidf = query_docs_tfidf[index]
top_similar_docs = compute_hellinger_bhattacharya_distance(doc_tfidf,
tfidf_features,
top_n=2)
print 'Document',index+1 ,':', doc
print 'Top', len(top_similar_docs), 'similar docs:'
print '-'*40
for doc_index, sim_score in top_similar_docs:
print 'Doc num: {} Distance Score: {}\nDoc: {}'.format(doc_index+1,
sim_score,
toy_corpus[doc_index])
print '-'*40
print
import scipy.sparse as sp
def compute_corpus_term_idfs(corpus_features, norm_corpus):
dfs = np.diff(sp.csc_matrix(corpus_features, copy=True).indptr)
dfs = 1 + dfs # to smoothen idf later
total_docs = 1 + len(norm_corpus)
idfs = 1.0 + np.log(float(total_docs) / dfs)
return idfs
def compute_bm25_similarity(doc_features, corpus_features,
corpus_doc_lengths, avg_doc_length,
term_idfs, k1=1.5, b=0.75, top_n=3):
# get corpus bag of words features
corpus_features = corpus_features.toarray()
# convert query document features to binary features
# this is to keep a note of which terms exist per document
doc_features = doc_features.toarray()[0]
doc_features[doc_features >= 1] = 1
# compute the document idf scores for present terms
doc_idfs = doc_features * term_idfs
# compute numerator expression in BM25 equation
numerator_coeff = corpus_features * (k1 + 1)
numerator = np.multiply(doc_idfs, numerator_coeff)
# compute denominator expression in BM25 equation
denominator_coeff = k1 * (1 - b +
(b * (corpus_doc_lengths /
avg_doc_length)))
denominator_coeff = np.vstack(denominator_coeff)
denominator = corpus_features + denominator_coeff
# compute the BM25 score combining the above equations
bm25_scores = np.sum(np.divide(numerator,
denominator),
axis=1)
# get top n relevant docs with highest BM25 score
top_docs = bm25_scores.argsort()[::-1][:top_n]
top_docs_with_score = [(index, round(bm25_scores[index], 3))
for index in top_docs]
return top_docs_with_score
vectorizer, corpus_features = build_feature_matrix(norm_corpus,
feature_type='frequency')
query_docs_features = vectorizer.transform(norm_query_docs)
doc_lengths = [len(doc.split()) for doc in norm_corpus]
avg_dl = np.average(doc_lengths)
corpus_term_idfs = compute_corpus_term_idfs(corpus_features,
norm_corpus)
print 'Document Similarity Analysis using BM25'
print '='*60
for index, doc in enumerate(query_docs):
doc_features = query_docs_features[index]
top_similar_docs = compute_bm25_similarity(doc_features,
corpus_features,
doc_lengths,
avg_dl,
corpus_term_idfs,
k1=1.5, b=0.75,
top_n=2)
print 'Document',index+1 ,':', doc
print 'Top', len(top_similar_docs), 'similar docs:'
print '-'*40
for doc_index, sim_score in top_similar_docs:
print 'Doc num: {} BM25 Score: {}\nDoc: {}'.format(doc_index+1,
sim_score,
toy_corpus[doc_index])
print '-'*40
print
```
|
```shell
#!/bin/sh
echo "window.env = `jo \`env | grep REACT_APP_\``" > /usr/share/nginx/html/js/env.js
sed -i 's/${NGINX_HOST}/'"$NGINX_HOST"'/' /etc/nginx/conf.d/default.conf
sed -i 's/${NGINX_PORT}/'"$NGINX_PORT"'/' /etc/nginx/conf.d/default.conf
sed -i 's~%REACT_APP_PUBLIC_PATH%~'"$REACT_APP_PUBLIC_PATH"'~g' /usr/share/nginx/html/index.html
sed -i 's~%REACT_APP_PLUGINSJS_PATH%~'"$REACT_APP_PLUGINSJS_PATH"'~g' /usr/share/nginx/html/index.html
sed -i 's~%REACT_APP_ENVJS_PATH%~'"$REACT_APP_ENVJS_PATH"'~g' /usr/share/nginx/html/index.html
exec "$@"
```
|
```c++
#include <aws/core/Aws.h>
#include <aws/core/utils/Outcome.h>
#include <aws/elasticfilesystem/EFSClient.h>
#include <aws/elasticfilesystem/model/DeleteFileSystemRequest.h>
#include <iostream>
/**
* Deletes file system based on command line input
*/
int main(int argc, char **argv)
{
if (argc != 2)
{
std::cout << "Usage: delete_file_system <file_system_id>";
return 1;
}
Aws::SDKOptions options;
Aws::InitAPI(options);
{
Aws::String file_system_id(argv[1]);
Aws::EFS::EFSClient efs;
Aws::EFS::Model::DeleteFileSystemRequest dfs_req;
dfs_req.SetFileSystemId(file_system_id);
auto dfs_out = efs.DeleteFileSystem(dfs_req);
if (dfs_out.IsSuccess())
{
std::cout << "Successfully deleted file system " << std::endl;
}
else
{
std::cout << "Error deleting file system " << dfs_out.GetError().GetMessage()
<< std::endl;
}
}
Aws::ShutdownAPI(options);
return 0;
}
```
|
Gregory Ferch is an American doctor and politician in the Idaho House of Representatives from Idaho's 21st district, Seat B.
Early life
Ferch was born in Orange, California, but was raised in the small rural farming town of Kenmare, North Dakota.
Ferch joined the United States Army as a medic while a senior in high school. He attained the rank of Staff Sergeant in six years and left the army after eleven years of service. He was in chiropractic school when his unit was activated during Operation Desert Storm in 1991.
Education
Ferch graduated from the University of North Dakota (UND) in 1989 with a degree in human biology. While at UND he also studied chemistry, business and was a teaching assistant in anatomy cadaver labs for two years. In 1993, he graduated from Northwestern College of Chiropractic in Bloomington, Minnesota, with Doctor of Chiropractic degree.
Chiropracting career
Ferch moved to Boise, Idaho, in April 1994 after purchasing his current chiropractic practice. He has been a small businessman, employer and real estate investor for over twenty-six years.
Elections
Ferch defeated Brenda Palmer and Eli Hodson with 49.3% of the vote. Ferch defeated Libertarian nominee Lisa Adams with 71.5% of the vote.
Personal life
Ferch met his wife, Angela, in 1987 while they were both serving in the United States Army. They were married in 2001 at Broadway Avenue Baptist Church in Boise.
References
Living people
Republican Party members of the Idaho House of Representatives
21st-century American politicians
Year of birth missing (living people)
|
```ocaml
module type S = sig end
```
|
```css
body {
margin: 0;
padding: 0;
font-family: sans-serif;
}
```
|
was a Japanese video game magazine founded in 1984 as Beep and published by SB Creative. During its history, it was known variously as Beep, Sega Saturn Magazine, Dreamcast Magazine, and finally Gemaga. When it ended publication in May 2012, it was the longest-running Japanese game magazine.
History
The magazine was started by Softbank Publishing in 1984 as a monthly publication under the name Beep to cover video games for home computers, arcade machines and gaming consoles. Its original layout was inspired by the men's magazine Popeye.
The original Beep magazine was discontinued on 8 March 1989. The editor-in-chief, Yoji Kawaguchi pitched a new format to SoftBank: two separate magazines, one which covers games for Sega Mega Drive, and one which is dedicated to the upcoming Super Nintendo Entertainment System. The publisher was more interested in Nintendo, since it was more popular in Japan than Sega, but agreed to start with the Mega Drive-themed publication because the new Nintendo console was delayed from its original launch date in 1989. The new publication was named Beep! Mega Drive. Kawaguchi decided to keep the original name Beep to emphasize the continuity between the publications. The magazine went from a monthly to a twice-monthly publication.
In 1995 coverage of Mega Drive was withdrawn in favour of the Sega Saturn. The magazine was renamed Sega Saturn Magazine. Kawaguchi decided to drop "Beep" from its name because according to him, it had served its purpose. The magazine became a weekly publication. In 1998 it was rebranded as Dreamcast Magazine and changed its focus from Saturn to Sega Dreamcast.
Sega discontinued the Dreamcast on March 31, 2001, but the magazine survived by rebranding itself again. The title was changed to its previously informal name Dorimaga (short for "Dreamcast Magazine") and became a multiplatform publication. In 2006 the magazine changed its name again, to Gemaga, which is short for "Games Magazine".
In January 2012, it was announced by the publisher that Gemaga was to close. The May 2012 issue was the last of the magazine. At the time of its closure it was the longest-running magazine devoted to videogames in Japan.
Notes
References
1984 establishments in Japan
Magazines established in 1984
Magazines disestablished in 2012
Magazines published in Tokyo
Monthly magazines published in Japan
Weekly magazines published in Japan
Video game magazines published in Japan
Defunct computer magazines
Sega magazines
Sega Genesis
Sega Saturn
Dreamcast
|
The contested garment (CG) rule, also called concede-and-divide, is a division rule for solving problems of conflicting claims (also called "bankruptcy problems"). The idea is that, if one claimant's claim is less than 100% of the estate to divide, then he effectively concedes the unclaimed estate to the other claimant. Therefore, we first give to each claimant, the amount conceded to him/her by the other claimant. The remaining amount is then divided equally among the two claimants.
The CG rule first appeared in the Mishnah, exemplified by a case of conflict over a garment, hence the name. In the Mishnah, it was described only for two-people problems. But in 1985, Robert Aumann and Michael Maschler have proved that, in every bankruptcy problem, there is a unique division that is consistent with the CG rule for each pair of claimants. They call the rule, that selects this unique division, the CG-consistent rule (it is also called the Talmud rule).
Problem description
There is a divisible resource, denoted by (=Estate or Endowment). There are n people who claim this resource or parts of it; they are called claimants. The amount claimed by each claimant i is denoted by . Usually, , that is, the estate is insufficient to satisfy all the claims. The goal is to allocate to each claimant an amount such that .
Two claimants
With two claimants, the CG rule works in the following way.
Truncate each claim to the estate (since one is not allowed to claim more than the entire estate). That is, set for each claimant i.
Allocate to claimant 1 an amount that is, the amount not claimed by 2.
Allocate to claimant 2 an amount that is, the amount not claimed by 1.
The remainder is ; divide it equally among the claimants.
Summing the amounts given to each claimant, we can write the following formula:For example:
If and , then both claimants get 1/2, that is, .
If and and . then claimant 1 gets 3/4 and claimant 2 gets 1/4, that is, .
These two examples are first mentioned in the first Mishnah of Bava Metzia:"Two are holding a garment. One says, "I found it," and the other says, "I found it":
If one says "all of it is mine" and the other says "all of it is mine", then this one shall swear that he owns no less than half of it, and this one shall swear that he owns no less than half of it, and they shall divide it between them.
If one says, "all of it is mine" and the other says "half of it is mine", then the one who says "all of it is mine" shall swear that he owns no less than three quarters of it; and the one who says "half of it is mine" shall swear that he owns no less than one quarter of it; the former takes three quarters and the latter takes one quarter."
Many claimants
To extend the CG rule to problems with three or more claimants, we apply the general principle of consistency (also called coherence), which says that every part of a fair division should be fair. In particular, we seek an allocation that respects the CG rule for each pair of claimants. That is, for every claimants i and j:.Apriori, it is not clear that such an allocation always exists, or that it is unique. However, it can be proved that a unique CG-consistent allocation always exists. It can be described by the following algorithm:
If (that is, the total estate is less than half the total claims), then apply the rule of constrained equal awards to half the claims, that is, return .
Otherwise, : give each claimant half of his/her claim, and then apply the rule of constrained equal losses to the remainder, that is, return .
Note that, with two claimants, once the claims are truncated to be at most the estate, the condition always holds. For example:
.
Here are some three-claimant examples:
; here CEA is used.
; here CEA is used.
; here either CEA or CEL can be used (the result is the same); when the sum of claims is exactly half the estate, each claimant gets exactly half his/her claim.
; here CEL is used.
; here CEL is used.
; here CEL is used.
The first three examples appear in another Mishnah, in Ketubot:"Suppose a man, who was married to three women, died; the marriage contract of one wife was for 100 dinars, and the marriage contract of the second wife was for 200 dinars, and the marriage contract of the third wife was for 300, and all three contracts were issued on the same date so that none of the wives has precedence over any of the others.
If the total value of the estate is only 100 dinars, the wives divide the estate equally.
If there were 200 dinars in the estate, the first wife takes 50 dinars, while the other two wives take three dinars of gold each, which are the equivalent of 75 silver dinars.
If there were 300 dinars in the estate, the first wife takes 50 dinars, the second takes 100 dinars, and the third takes six dinars of gold, the equivalent of 150 silver dinars."
Constructive description
The CG rule can be described in a constructive way. Suppose E increases from 0 to the half-sum of the claims: the first units are divided equally, until each claimant receives . Then, the claimant with the smallest is put on hold, and the next units are divided equally among the remaining claimants until each of them up to the next-smallest . Then, the claimant with the second-smallest is put on hold too. This goes on until either the estate is fully divided, or each claimant gets exactly . If some estate remains, then the losses are divided in a symmetric way, starting with an estate equal to the sum of all claims, and decreasing down to half this sum.
Properties
The CG rule is self-dual. This means that it treats gains and losses symmetrically: it divides gains in the same way that it divides losses. Formally: .
Game-theoretic analysis
The CG rule can be derived independently, as the nucleolus of a certain cooperative game defined based on the claims.
Piniles' rule
Zvi Menahem Piniles, a 19th-century Jewish scholar, presented a different rule to explain the cases in Ketubot. His rule is similar to the CG rule, but it is not consistent with the CG rule when there are two claimants. The rule works as follows:
If the sum of claims is larger than 2E, then it applies the CEA rule on half the claims, that is, it returns .
Otherwise, it gives each agent half its claim and then applies CEA on the remainder, that is, it returns .
Examples with two claimants:
. Initially the claimants get (30,45). The remaining claims are (30,45) and the remaining estate is 25, so it is divided equally.
. Initially the claimants get (25,50). The remaining claims are (25,50) and the remaining estate is 25, so it is divided equally.
. Initially the claimants get (25,50). The remaining claims are (25,50) and the remaining estate is 25, so it is divided equally.
Examples with three claimants:
. Here the sum of claims is more than twice the estate, so the outcome is .
. Again the sum of claims is more than twice the estate, so the outcome is .
. Again the sum of claims is more than twice the estate, so the outcome is .
Further reading
Steven Landsburg, Let the rabbi split the pie: Talmudic wisdom applied to bankruptcy
References
Bankruptcy theory
|
Edward Solly (25 April 1776 – 2 December 1844) was an English merchant living in Berlin, who amassed an unprecedented collection of Italian Trecento and Quattrocento paintings and outstanding examples of Early Netherlandish painting, at a time when those schools were still largely unappreciated. In 1821 Solly sold his collection of about 3000 works to the Prussian king; 677 of them formed a core of the Gemäldegalerie, Berlin. Solly acquired a second collection during his years in London after 1821. Solly is also credited for having undertaken a
perilous journey to deliver the first news of Napoleon's defeat at the Battle of Leipzig to the English.
Life
Solly was a younger brother in an English merchant family headed by Isaac Solly that were engaged in the Baltic timber trade, with offices in the city of London. As Non-Conformists the family suffered social restrictions in the higher levels of English society. During the Napoleonic Wars the firm secured immense contracts for the supply of Prussian and Polish oak timber and ship's stores from the Baltic. Solly removed to Stockholm and then in 1813 to Berlin, overseeing the family firm's bulk purchases on the part of the European continent not covered by Napoleon's Continental System. Through his acquaintance with 'Fighting Charlie' Vane he was present at the Battle of Leipzig in October 1813. Afterwards he presented a fine sword to Captain Thomas Harris inscribed with the legend From Edward Solly To Thomas Noel Harris, In Commemoration Of Their Fellowship At The Memorable Battle Of Leipzig Of The 18th And 19th Of October 1813.
Due to his familiarity with the Northern Lowlands, Solly volunteered to carry the news of Napoleon's defeat to London. The journey took him fifteen days through enemy territory. He sailed to England across the North Sea on board a Dutch herring boat and arrived in London twenty-four hours before the official messenger.
In Berlin he married the daughter of Auguste Krüger in 1816. His great personal charm and intelligence opened the highest social circles, and as his business affairs prospered he was on good terms with ministry officials, the Prussian court, artists, connoisseurs and intellectuals.
In his travels he began to take an interest in paintings. The social turmoil of the wars and the dissolution of monasteries brought many works of art onto the market, and Solly proved a discerning buyer, concerned with the provenance and documentation of works he bought, to an extent unusual in his generation. Though he owned one of the finest interior views by Pieter de Hooch and possibly Vermeer's Lady Standing at a Virginal (National Gallery, London), both falling within the desirable contemporary category of "cabinet pictures", he was not drawn to the Seicento and Baroque Old Masters that formed the main other interest of contemporary collectors and connoisseurs, but rather to the early Byzantinising Italian paintings of the 13th and 14th centuries, which had been preserved largely in the churches and monasteries for which they had been commissioned. He had a judicious eye also for early Netherlandish painting: his most famous purchase in that field were the wings of the Ghent Altarpiece of Hubert and Jan van Eyck, which was sold by the cathedral canons soon after it had been returned to Ghent in 1816; Solly purchased the panels through the paintings dealer Nieuwenhuys.
Solly and the firm suffered a major setback when twenty of their merchantmen, running the Napoleonic blockade on behalf of the Allies, were captured by Danes within the Napoleonic system and taken to Copenhagen. Only after years of pressuring was any compensation effected.
Solly continued collecting nevertheless, increasingly with the idea that his paintings might be purchased by the Prussian State, to form a public collection. In 1815 Frederick William III had bought the remains of the Giustiniani collection for just such a purpose, but resisted this purchase. Solly's financial situation became straitened. Through the mediation of Benjamin Wegner, a friend and agent of Edward Solly, negotiations on a purchase of the collection by the Prussian state began in 1820, and in 1821 Solly's entire collection of some 3,000 pictures was bought for the newly founded Alte Nationalgalerie. 677 paintings were selected for display in the museum; others were hung in the Hohenzollern palaces to replace those that had been removed to the museum. Though Solly was an early admirer of early Netherlandish painting, Solly's first collection was mostly Italian, including Raphael's Solly Madonna (illustration, right). Under National Socialism, some of Solly's Italian pictures were traded for those by native German masters and, some through Duveen, found their way into the Samuel Henry Kress and Andrew W. Mellon collections; thus Fra Filippo Lippi's Madonna of the Niche and Duccio's Nativity triptych are both now in the National Gallery, Washington.
Following the successful sale that he had urged so long, in 1821 Solly moved to London, where he retired from shipping and dealt in works of art, which filled his house at 7, Curzon Street, Mayfair. His interests narrowed to the High Renaissance. He acted on occasion as advisor to John Bowes, whose collection forms the Bowes Museum. Often sensing himself in financial trouble, in eight London sales between 1825 and 1837 Solly sold paintings, drawings and engravings, according to Frits Lugt, although the records now online through the Getty Provenance Index show a total of 1306 lots in many auctions, with small paintings of the Dutch Golden Age predominating, at least numerically, in a very varied range of works.
When the cream of his collection, those paintings he had reserved for himself, were sold by order of his heirs, his daughters Sarah and Lavinia and his son Edward Solly F.R.S., at Christie's, 8 May 1847, a few were held back, or "bought in" at the sale when they failed to reach their reserve, as was one of the two works attributed to "Lionardo da Vinci" (sic). Sarah Solly donated five of the paintings to the National Gallery in 1879, including a Portrait of Giovanni della Volta with his Wife and Children by Lorenzo Lotto (bought in at the 1847 sale), and two Dutch Golden Age paintings.
Notes
English art collectors
English art dealers
1776 births
1844 deaths
|
```makefile
################################################################################
#
# python-rfc3987
#
################################################################################
PYTHON_RFC3987_VERSION = 1.3.8
PYTHON_RFC3987_SOURCE = rfc3987-$(PYTHON_RFC3987_VERSION).tar.gz
PYTHON_RFC3987_SITE = path_to_url
PYTHON_RFC3987_SETUP_TYPE = setuptools
PYTHON_RFC3987_LICENSE = GPL-3.0+
PYTHON_RFC3987_LICENSE_FILES = COPYING.txt
$(eval $(python-package))
```
|
Marry girl cake or dowry cake is a traditional Chinese cake that was once a ceremonial cake used as a wedding gift in the traditional Chinese wedding ceremony, hence the name. Today, this cake is known more as a classic Chinese pastry rather than a wedding gift because it has lost most of its original significance due to cultural change. It can be found in Hong Kong and in some Chinatowns overseas.
Production
The cake is essentially a lightly sweetened sponge cake that may take any number of shapes or appearances. It is considered large compared to the size of most pastries. The internal base of the cake may consist of lotus seed paste.
History
The importance of giving out marry girl cakes is illustrated by an anecdote dating from the era of the Three Kingdoms. At that time, Liu Bei had borrowed a place called Jingzhou for a long period of time and seemed in no hurry to return it to its owner, Sun Quan. Thus, Sun Quan's advisor, Zhou Yu, suggested a "honey trap". Sun Quan pretended that he was offering Liu Bei his recently widowed sister as a wife. Liu Bei had to leave Jingzhou for Suzhou to attend the ceremony. He knew it was a trick, however, after arriving in Suzhou, he told his soldiers to deliver cakes to Sun Quan. This move forced Sun Quan to accept the alliance as sealed. Since then, the Chinese follow the custom of sending marry girl cakes to share their happiness with family and friends.
See also
Marriage in China
Moon cake
Chinese tradition
Sweetheart cake
References
Cakes
Marriage in Chinese culture
Chinese desserts
|
```javascript
//your_sha256_hash---------------------------------------
//your_sha256_hash---------------------------------------
if (typeof (WScript) != "undefined") {
WScript.LoadScriptFile("..\\UnitTestFramework\\UnitTestFramework.js", "self");
}
var tests = {
test01: {
name: "Make sure that shared type handler is not shared between evolved instances",
body: function () {
var propName = "p01";
var x = helpers.getDummyObject(propName);
Object.preventExtensions(x);
var y = helpers.getDummyObject(propName);
assert.isFalse(Object.isExtensible(x), "Object.isExtensible(x)");
assert.isTrue (Object.isExtensible(y), "Object.isExtensible(y)");
}
},
test02: {
name: "Make sure that checks are done when preventExtensions=true for non-extensible object with same layout",
body: function () {
var propName = "p02_1";
var propName2 = "p02_2";
var f = function f(o) { var tepm = o[propName2]; o[propName2] = 10; };
var x = helpers.getDummyObject(propName);
f(x);
var y = helpers.getDummyObject(propName);
Object.preventExtensions(y);
f(y);
assert.areEqual(undefined, y[propName2], "y has preventExtensions=true -> can't add new property");
}
},
test03: {
name: "Make sure that after preventExtensions the type can evolve without corrupting the shared type",
body: function () {
var propName = "p03";
var x = helpers.getDummyObject(propName);
Object.preventExtensions(x);
delete x[propName];
var x = helpers.getDummyObject(propName); // new object with same layout as previous one.
x[propName] = 2;
Object.preventExtensions(x); // Earlier bug: this was associated a with evolved type.
var newValue = 3;
x[propName] = newValue; // Can modify writable property but not on evolved type.
assert.isFalse(Object.isExtensible(x));
assert.areEqual(newValue, x[propName]);
}
},
test04: {
name: "Make sure that after deleting property and then preventExtensions, inline cache is not used so that we can't add the property back",
body: function () {
var propName1 = "p04_1";
var propName2 = "p04_2";
var x = helpers.getDummyObject(propName1);
delete x[propName1];
x[propName2] = propName2;
Object.preventExtensions(x);
assert.throws(function() { Object.defineProperty(x, propName1, {value: 1}) }, TypeError);
}
},
test05: {
name: "Evolve s.d.t.h by redefining a property and make sure on shared instance there is no change",
body: function () {
var propName = "p05";
var x = helpers.getDummyObject(propName);
Object.seal(x);
Object.defineProperty(x, propName, {writable: false, value: 100}); // this should succeed
var y = helpers.getDummyObject(propName);
Object.seal(y); // Now y shares same s.d.t.h as x used to before defineProperty on x.
var newValue = 200;
Object.defineProperty(y, propName, {writable: false, value: newValue}); // this should succeed again (defineProperty on x should not corrupt shared t.h.)
assert.areEqual(newValue, y[propName]);
}
},
test06: {
name: "Make sure that preventExtensions/seal/freeze types are using different shared types",
body: function () {
var propName = "p06";
var values = [0, 1, 2, 3];
var x = helpers.getDummyObject(propName);
x[propName] = values[0];
Object.freeze(x);
x[propName] = values[1]; // this should not work
var y = helpers.getDummyObject(propName);
Object.seal(y);
y[propName] = values[2]; // this should work
var z = helpers.getDummyObject(propName);
Object.preventExtensions(z);
z[propName] = values[3]; // this should work
assert.areEqual([0, 2, 3], [x[propName], y[propName], z[propName]]);
}
},
test07: {
name: "Call preventExtensions, seal, freeze on the same instance",
body: function () {
var propName1 = "p07_01";
var propName2 = "p07_02";
var origVal = 0;
var x = helpers.getDummyObject(propName1);
var y = helpers.getDummyObject(propName1);
x[propName1] = origVal;
y[propName1] = origVal;
Object.preventExtensions(x);
Object.preventExtensions(y);
Object.seal(y);
Object.freeze(y);
var val = 100;
x[propName1] = val; // This should succeed
x[propName2] = val; // This should not succeed: can't add new property to non-extensible
assert.isFalse(Object.isExtensible(x));
assert.isFalse(Object.isSealed(x));
assert.areEqual(val, x[propName1], "x should still have read-write properties");
assert.areEqual(undefined, x[propName2]);
assert.isTrue(Object.isFrozen(y), "Object.isFrozen(y)");
y[propName1] = val;
y[propName2] = val;
assert.areEqual(origVal, y[propName1], "y is frozen");
assert.areEqual(undefined, y[propName2]);
}
},
test08: {
name: "Attmept to add a numeric property to non-extensible empty object",
body: function () {
var numericPropName = 0;
var x = helpers.getDummyObject();
Object.preventExtensions(x);
x[numericPropName] = 0;
assert.areEqual(undefined, x[numericPropName]);
}
},
test09: {
name: "Call preventExtensions on object with numeric item, then attempt to add a new numeric item",
body: function () {
var propName = "p09";
var numericPropName = 0;
var x = helpers.getDummyObject(propName);
x[numericPropName] = 0;
Object.preventExtensions(x);
x[numericPropName + 1] = 1; // Should fail.
Object.defineProperty(x, numericPropName, {value: 2}); // Another way to add a property, should fail as well.
assert.areEqual(undefined, x[numericPropName + 1]);
}
},
test10: {
name: "Inline cache and freeze: make sure that inline cache is not used for frozen type",
body: function () {
var newValue = 100;
var f = function f(o) {
var temp = o[propName]; // create inline cache for read.
o[propName] = newValue; // attempt to use inline cache, in particular, for read-only property.
}
var propName = "p10";
var x = helpers.getDummyObject(propName);
var y = helpers.getDummyObject(propName);
var z = helpers.getDummyObject(propName);
Object.freeze(y);
Object.freeze(z);
f(x);
f(y); f(y);
f(z);
assert.areEqual(newValue, x[propName], "x[propName]");
assert.areEqual(0, y[propName], "y[propName]");
assert.areEqual(0, z[propName], "z[propName]");
}
},
} // tests.
testRunner.run(tests);
```
|
Park Mountain is a mountain summit located above the southwest shore of Lake McArthur in Yoho National Park, in the Bow Range of the Canadian Rockies of British Columbia, Canada. Its nearest higher peak is Mount Biddle, to the east. Park Mountain is situated four kilometres west of the Continental Divide, and southeast of Field, British Columbia.
History
The mountain was named in 1915 because of the "park-like" setting of the area. The Lake O'Hara area that the mountain is located in is a gem within a park, the best that the Canadian Rockies has to offer.
The first ascent of the mountain was made in 1904 by a survey party.
The mountain's toponym was officially adopted in 1952 when approved by the Geographical Names Board of Canada.
Geology
Park Mountain is composed of sedimentary rock laid down during the Precambrian to Jurassic periods. Formed in shallow seas, this sedimentary rock was pushed east and over the top of younger rock during the Laramide orogeny.
Climate
Based on the Köppen climate classification, Park Mountain is located in a subarctic climate zone with cold, snowy winters, and mild summers. Winter temperatures can drop below −20 °C with wind chill factors below −30 °C. Precipitation runoff from Park Mountain drains into tributaries of the Kicking Horse River which is a tributary of the Columbia River.
References
See also
Geography of British Columbia
External links
Parks Canada web site: Yoho National Park
Park Mountain and Odaray Mountain panoramic photo: Flickr
Two-thousanders of British Columbia
Canadian Rockies
Mountains of Yoho National Park
Kootenay Land District
|
```objective-c
/*
*
* This software may be used and distributed according to the terms of the
*/
#pragma once
#include <folly/SocketAddress.h>
#include <optional>
#include "eden/common/utils/PathFuncs.h"
namespace facebook::eden {
folly::SocketAddress makeNfsSocket(std::optional<AbsolutePath> unixSocketPath);
}
```
|
Thomas More School is an American private school in San Jose, California operated by the Society of Saint Pius X providing a traditional Roman Catholic education. From its website Mission's Statement, "The mission of Thomas More School is auxiliary to the mission of the Catholic Church, which is to lead man to union with God as his last end. Thomas More School was founded in 1977 in order to inspire and guide children in the true purpose of education. Man was created to know, love and serve God in this world and to be happy with Him forever in the next. Consequently, it is the goal of Thomas More School to provide the children of Catholic families with a thorough education founded upon traditional principles of education. This way, they will be formed into true Catholics, learning to love and serve God in every aspect of their daily lives and be led to union with God in their ultimate end.
History
Established in 1978, the school was previously known as Saint Thomas Aquinas School, and had also been referred to by the name St. Thomas More School.
Until the campus move to the current location in 2004, the school was located in buildings on the grounds of the San Jose Flea Market. At the same time as this move the school shortened its name to the current form.
References
External links
Official Website
Great Schools profile
Private K-12 schools in California
Catholic secondary schools in California
High schools in San Jose, California
Educational institutions established in 1978
Catholic elementary schools in California
Private elementary schools in California
1978 establishments in California
|
```javascript
'use strict';
const bindings = process.binding('atom_browser_dialog');
const Dialog = bindings.Dialog;
Dialog.prototype.showSaveDialog = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showSaveDialog", args);
}
Dialog.prototype.showOpenDialog = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showOpenDialog", args);
}
Dialog.prototype.showSaveDialogSync = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showSaveDialogSync", args);
}
Dialog.prototype.showOpenDialogSync = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showOpenDialogSync", args);
}
Dialog.prototype.showMessageBox = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showMessageBox", args);
}
Dialog.prototype.showMessageBoxSync = function(/* [browserWindow, ]options[, callback] */) {
if (0 == arguments.length || 4 <= arguments.length)
return;
var args = arguments;
return this._trimArgsCallDialogFunction("showMessageBoxSync", args);
}
Dialog.prototype.showErrorBox = function(title, content) {
this._showErrorBox(title, content);
}
Dialog.prototype._callDialogFunction = function(funcType, browserWindowID, options, callback) {
if ("showMessageBoxSync" === funcType)
return this._showMessageBoxSync(browserWindowID, options, callback);
else if ("showSaveDialogSync" === funcType)
return this._showSaveDialogSync(browserWindowID, options, callback);
else if ("showOpenDialogSync" === funcType)
return this._showOpenDialogSync(browserWindowID, options, callback);
var self = this;
const promise = new Promise(function(resolve, reject) {
callback = function(canceled, filePaths) {
console.log("filePaths:" + filePaths);
resolve({"canceled":canceled, "filePaths":filePaths});
};
if ("showSaveDialog" === funcType) {
var callbackWrap = function(files) {
var file = (1 <= files.length) ? files[0] : "";
callback(file);
}
/*return*/ self._showSaveDialog(browserWindowID, options, callbackWrap);
} else if ("showOpenDialog" === funcType)
/*return*/ self._showOpenDialog(browserWindowID, options, callback);
else if ("showMessageBox" === funcType)
/*return*/ self._showMessageBox(browserWindowID, options, callback);
});
return promise;
}
Dialog.prototype._trimArgsCallDialogFunction = function(funcType, args) {
var browserWindowID = -1;
var options = null;
var callback = null;
var idx = 0;
if (1 + idx == args.length) {
options = args[0 + idx];
return this._callDialogFunction(funcType, null, options, /*null*/callback);
} else if (2 + idx == args.length) {
if (args[0 + idx].hasOwnProperty('id')) {
browserWindowID = args[0 + idx].id;
options = args[1 + idx];
return this._callDialogFunction(funcType, browserWindowID, options, /*null*/callback);
} else {
options = args[0 + idx];
//callback = args[1 + idx]; // electron
return this._callDialogFunction(funcType, null, options, callback);
}
} else if (3 + idx == args.length) {
if (args[0 + idx].hasOwnProperty('id'))
browserWindowID = args[0 + idx].id;
options = args[1 + idx];
//callback = args[2 + idx]; // electron
return this._callDialogFunction(funcType, browserWindowID, options, callback);
}
}
exports.dialog = new Dialog();
```
|
```java
/*
*
* All rights reserved. This program and the accompanying materials
*
* path_to_url
*/
package org.locationtech.jts.planargraph;
import java.io.PrintStream;
import java.util.ArrayList;
import java.util.Collection;
import java.util.Iterator;
import java.util.List;
import org.locationtech.jts.algorithm.Orientation;
import org.locationtech.jts.geom.Coordinate;
import org.locationtech.jts.geom.Quadrant;
/**
* Represents a directed edge in a {@link PlanarGraph}. A DirectedEdge may or
* may not have a reference to a parent {@link Edge} (some applications of
* planar graphs may not require explicit Edge objects to be created). Usually
* a client using a <code>PlanarGraph</code> will subclass <code>DirectedEdge</code>
* to add its own application-specific data and methods.
*
* @version 1.7
*/
public class DirectedEdge
extends GraphComponent
implements Comparable
{
/**
* Returns a List containing the parent Edge (possibly null) for each of the given
* DirectedEdges.
*/
public static List toEdges(Collection dirEdges)
{
List edges = new ArrayList();
for (Iterator i = dirEdges.iterator(); i.hasNext(); ) {
edges.add( ((DirectedEdge) i.next()).parentEdge);
}
return edges;
}
protected Edge parentEdge;
protected Node from;
protected Node to;
protected Coordinate p0, p1;
protected DirectedEdge sym = null; // optional
protected boolean edgeDirection;
protected int quadrant;
protected double angle;
/**
* Constructs a DirectedEdge connecting the <code>from</code> node to the
* <code>to</code> node.
*
* @param directionPt
* specifies this DirectedEdge's direction vector
* (determined by the vector from the <code>from</code> node
* to <code>directionPt</code>)
* @param edgeDirection
* whether this DirectedEdge's direction is the same as or
* opposite to that of the parent Edge (if any)
*/
public DirectedEdge(Node from, Node to, Coordinate directionPt, boolean edgeDirection)
{
this.from = from;
this.to = to;
this.edgeDirection = edgeDirection;
p0 = from.getCoordinate();
p1 = directionPt;
double dx = p1.x - p0.x;
double dy = p1.y - p0.y;
quadrant = Quadrant.quadrant(dx, dy);
angle = Math.atan2(dy, dx);
//Assert.isTrue(! (dx == 0 && dy == 0), "EdgeEnd with identical endpoints found");
}
/**
* Returns this DirectedEdge's parent Edge, or null if it has none.
*/
public Edge getEdge() { return parentEdge; }
/**
* Associates this DirectedEdge with an Edge (possibly null, indicating no associated
* Edge).
*/
public void setEdge(Edge parentEdge) { this.parentEdge = parentEdge; }
/**
* Returns 0, 1, 2, or 3, indicating the quadrant in which this DirectedEdge's
* orientation lies.
*/
public int getQuadrant() { return quadrant; }
/**
* Returns a point to which an imaginary line is drawn from the from-node to
* specify this DirectedEdge's orientation.
*/
public Coordinate getDirectionPt() { return p1; }
/**
* Returns whether the direction of the parent Edge (if any) is the same as that
* of this Directed Edge.
*/
public boolean getEdgeDirection() { return edgeDirection; }
/**
* Returns the node from which this DirectedEdge leaves.
*/
public Node getFromNode() { return from; }
/**
* Returns the node to which this DirectedEdge goes.
*/
public Node getToNode() { return to; }
/**
* Returns the coordinate of the from-node.
*/
public Coordinate getCoordinate() { return from.getCoordinate(); }
/**
* Returns the angle that the start of this DirectedEdge makes with the
* positive x-axis, in radians.
*/
public double getAngle() { return angle; }
/**
* Returns the symmetric DirectedEdge -- the other DirectedEdge associated with
* this DirectedEdge's parent Edge.
*/
public DirectedEdge getSym() { return sym; }
/**
* Sets this DirectedEdge's symmetric DirectedEdge, which runs in the opposite
* direction.
*/
public void setSym(DirectedEdge sym) { this.sym = sym; }
/**
* Removes this directed edge from its containing graph.
*/
void remove() {
this.sym = null;
this.parentEdge = null;
}
/**
* Tests whether this directed edge has been removed from its containing graph
*
* @return <code>true</code> if this directed edge is removed
*/
public boolean isRemoved()
{
return parentEdge == null;
}
/**
* Returns 1 if this DirectedEdge has a greater angle with the
* positive x-axis than b", 0 if the DirectedEdges are collinear, and -1 otherwise.
* <p>
* Using the obvious algorithm of simply computing the angle is not robust,
* since the angle calculation is susceptible to roundoff. A robust algorithm
* is:
* <ul>
* <li>first compare the quadrants. If the quadrants are different, it it
* trivial to determine which vector is "greater".
* <li>if the vectors lie in the same quadrant, the robust
* {@link Orientation#index(Coordinate, Coordinate, Coordinate)}
* function can be used to decide the relative orientation of the vectors.
* </ul>
*/
public int compareTo(Object obj)
{
DirectedEdge de = (DirectedEdge) obj;
return compareDirection(de);
}
/**
* Returns 1 if this DirectedEdge has a greater angle with the
* positive x-axis than b", 0 if the DirectedEdges are collinear, and -1 otherwise.
* <p>
* Using the obvious algorithm of simply computing the angle is not robust,
* since the angle calculation is susceptible to roundoff. A robust algorithm
* is:
* <ul>
* <li>first compare the quadrants. If the quadrants are different, it it
* trivial to determine which vector is "greater".
* <li>if the vectors lie in the same quadrant, the robust
* {@link Orientation#index(Coordinate, Coordinate, Coordinate)}
* function can be used to decide the relative orientation of the vectors.
* </ul>
*/
public int compareDirection(DirectedEdge e)
{
// if the rays are in different quadrants, determining the ordering is trivial
if (quadrant > e.quadrant) return 1;
if (quadrant < e.quadrant) return -1;
// vectors are in the same quadrant - check relative orientation of direction vectors
// this is > e if it is CCW of e
return Orientation.index(e.p0, e.p1, p1);
}
/**
* Prints a detailed string representation of this DirectedEdge to the given PrintStream.
*/
public void print(PrintStream out)
{
String className = getClass().getName();
int lastDotPos = className.lastIndexOf('.');
String name = className.substring(lastDotPos + 1);
out.print(" " + name + ": " + p0 + " - " + p1 + " " + quadrant + ":" + angle);
}
}
```
|
```smalltalk
"
A ReInstanceSideValueMethodProtocolRuleTest is a test class for testing the behavior of ReInstanceSideValueMethodProtocolRule
"
Class {
#name : 'ReInstanceSideValueMethodProtocolRuleTest',
#superclass : 'ReProperInstanceMethodProtocolRuleTest',
#category : 'Renraku-Tests-Rules',
#package : 'Renraku-Tests',
#tag : 'Rules'
}
{ #category : 'accessing' }
ReInstanceSideValueMethodProtocolRuleTest >> properProtocolName [
^ 'evaluating'
]
{ #category : 'accessing' }
ReInstanceSideValueMethodProtocolRuleTest >> sampleMethod [
^ 'value
^ self'
]
{ #category : 'accessing' }
ReInstanceSideValueMethodProtocolRuleTest >> selector [
^ #value
]
```
|
An Internet hosting service is a service that runs servers connected to the Internet, allowing organizations and individuals to serve content or host services connected to the Internet.
A common kind of hosting is web hosting. Most hosting providers offer a combination of services e-mail hosting, website hosting, and database hosting, for example. DNS hosting service, another type of service usually provided by hosting providers, is often bundled with domain name registration.
Dedicated server hosts, provide a server, usually housed in a datacenter and connected to the Internet where clients can run anything they want (including web servers and other servers). The hosting provider ensures that the servers have Internet connections with good upstream bandwidth and reliable power sources.
Another popular kind of hosting service is shared hosting. This is a type of web hosting service, where the hosting provider provisions hosting services for multiple clients on one physical server and share the resources between the clients. Virtualization is key to making this work effectively.
Types of hosting service
Full-featured hosting services
Full-featured hosting services include:
Complex managed hosting, applies to both physical dedicated servers and virtual servers, with many companies choosing a hybrid (a combination of physical and virtual) hosting solution. There are many similarities between standard and complex managed hosting but the key difference is the level of administrative and engineering support that the customer pays for – owing to both the increased size and complexity of the infrastructure deployment. The provider steps in to take over most of the management, including security, memory, storage, and IT support. The service is primarily proactive.
Dedicated hosting service, also called managed to host service, where the hosting service provider owns and manages the machine, leasing full control to the client. Management of the server can include monitoring to ensure the server continues to work effectively, backup services, installation of security patches, and various levels of technical support.
Virtual private server, in which virtualization technology is employed to allow multiple logical servers to run on a single physical server
Colocation facilities provide just the Internet connection, uninterruptible power, and climate control, but let the client do his system administration.
Cloud hosting, which can also be termed time-share or on-demand hosting, in which the user only pays for the system time and space used, and capacity can be quickly scaled up or down as computing requirements change. The hosting provider normally charges for the power and also space used in the datacentre.
Other
Limited or application-specific hosting services include:
File hosting service
Web hosting service
E-mail hosting service
DNS hosting service
Game servers
Wiki farms
Colocation center
Bandwidth cost
Internet hosting services include the required Internet connection; they may charge a flat rate per month or charge per bandwidth used a common payment plan is to sell a predetermined amount of bandwidth and charge for any 'overage' (Usage above the predetermined limit) the customer may incur on a per GB (Gigabyte) basis. The overage charge would be agreed upon at the start of the contract.
Patent dispute
Web hosting technology has been causing some controversy, as Web.com claims that it holds patent rights to some common hosting technologies, including the use of a web-based control panel to manage the hosting service, with its 19 patents. In addition, Web.com sued GoDaddy as well for similar patent infringement.
See also
Internet service provider
Application service provider
Hosted service provider
Utility computing
Green hosting
Cloud storage
Hybrid server
Infrastructure as a service
Bulletproof hosting
References
Internet hosting
|
Kampong Selangan is a village in Temburong District, Brunei, about from the district town Bangar. The population was 332 in 2016. It is one of the villages within Mukim Amo. The postcode is PD2751.
Facilities
Selangan Primary School is the village's government primary school. It also shares grounds with Selangan Religious School, the village's government school for the country's Islamic religious primary education.
The village mosque is Kampong Selangan Mosque; it was inaugurated on 14 December 1979 and can accommodate 200 worshippers.
References
Selangan
|
```python
from sys import version_info
if version_info[0:2] < (2, 6):
def bin(x):
if x <= 1:
return '0b'+str(x)
else:
return bin(x>>1) + str(x&1)
else:
bin = bin
```
|
Supreme Pictures Corporation was a film production company in the United States. It produced dozens of Western genre films. It was run by Sam Katzman and A. W. Hackel.
It made Westerns starring Johnny Mack Brown as well as Bob Steele.
The company also produced the film Am I Guilty? starring Ralph Cooper and an African American cast.
Filmography
The Crooked Trail (1936)
The Kid Ranger (1936)
Last of the Warrens (1936)
Rogue of the Range (1936)
Brand of the Outlaws (1936)
Undercover Man (1936)
Am I Guilty? (1940)
References
Film production companies of the United States
Defunct American film studios
|
Mercedes Saiz (born 12 September 1992) is a team handball player from Uruguay. She plays on the Uruguay women's national handball team, and participated at the 2011 World Women's Handball Championship in Brazil.
In 2010, she competed in the Youth World Handball Championship in Dominican Republic.
References
1992 births
Living people
Uruguayan female handball players
Handball players at the 2011 Pan American Games
Pan American Games competitors for Uruguay
21st-century Uruguayan women
|
Revolutions during the 1820s included revolutions in Russia (Decembrist revolt), Spain, Portugal, and the Italian states for constitutional monarchies, and for independence from Ottoman rule in Greece. Unlike the revolutionary wave in the 1830s, these tended to take place in the peripheries of Europe.
Timeline
1820: The Trienio Liberal in Spain
1820: the Liberal Revolution in Portugal
1820: the Kingdom of the Two Sicilies
18211829: Greek War of Independence
1821: the Kingdom of Sardinia
1825: the Decembrist revolt in Russia
1828: the Decembrist revolution in Argentina
Europe
Italy
The 1820 revolution began in Sicily and in Naples, against King Ferdinand I of the Two Sicilies, who was forced to make concessions and promise a constitutional monarchy. This success inspired Carbonari in the north of Italy to revolt too. In 1821, the Kingdom of Sardinia (Piedmont) forced King Victor Emmanuel I to abdicate and temporarily obtained a constitutional monarchy as a result of the Carbonari's actions, as well as other liberal reforms.
The Holy Alliance would not tolerate this state of affairs and decided in October 1820 to intervene. In February 1821, it sent an army to crush the revolution in Naples. The King of Sardinia also called for Austrian intervention. Faced with an enemy overwhelmingly superior in number, the Carbonari revolts collapsed and their leaders fled into exile.
Spain
Colonel Rafael del Riego led a large part of the Spanish army in a mutiny, demanding that the liberal constitution of 1812 be restored. King Ferdinand VII agreed, but secretly asked for aid from the Congress system which, in the Congress of Verona of 1822, agreed to have France send 100,000 troops, which promptly defeated Riego's forces and reinstalled an absolute monarchy. This period was known as the Trienio Liberal.
Portugal
The Liberal Revolution of 1820 began with a military insurrection in the city of Porto, in northern Portugal, that quickly and peacefully spread to the rest of the country. The Revolution resulted in the return in 1821 of the Portuguese Court to Portugal from Brazil, where its members had fled during the Peninsular War, and initiated a constitutional period in which the 1822 Constitution was ratified and implemented.
According to Kenneth Maxwell, "the important point about Brazil is that it became economically and politically emancipated between 1808 and 1820 while acting as the centre of the Luso-Brazilian Empire", meaning Brazil's independence was proclaimed after the nation had had an "imperial-like" experience.
"This unusual circumstance explains why in 1820 it was Portugal that declared independence from Brazil, and only afterwards, that Brazil declared its independence from Portugal", as one may read in the Manifesto issued by the rebels in Oporto in 1820:
"[...] The idea of the status of a colony to which Portugal in effect is reduced afflicts deeply all those citizens who still conserve a sentiment of national dignity. Justice is administered from Brazil to the loyal people in Europe [...]"
Greece
The Greek War of Independence, also known as the Greek Revolution of 1821 or Greek Revolution (, Elliniki Epanastasi; referred to by Greeks in the 19th century as simply the Αγώνας, Agonas, "Struggle"; Ottoman: يونان عصيانى, Yunan İsyanı, "Greek Rebellion"), was a successful war of independence by Greek revolutionaries against the Ottoman Empire between 1821 and 1829. The Greeks were later assisted by the Britain, France, and Russia, while the Ottomans were aided by their North African vassals, particularly the Egypt Eyalet. The war led to the formation of modern Greece. The revolution is celebrated by Greeks around the world as independence day on 25 March.
Russia
The Decembrist revolt or the Decembrist uprising () took place in Imperial Russia on . Russian army officers led about 3,000 soldiers in a rejection of Emperor Nicholas I's assumption of the throne hours before, as Nicholas's elder brother Constantine had removed himself (non-publicly) from the line of succession. Because these events occurred in December, the rebels became known as the Decembrists ().
Latin America
Argentina
The Decembrist revolution () was a military coup in the Buenos Aires Province, Argentina. Juan Lavalle, returning with the troops that fought in the Argentine-Brazilian War, performed a coup on 1 December 1828, capturing and killing the governor Manuel Dorrego and ultimately closing the legislature. The rancher Juan Manuel de Rosas organized militias that fought against Lavalle and removed him from power, restoring the legislature. However, as the coup had reignited the Argentine Civil Wars, Rosas was appointed governor of the Buenos Aires province to wage the war against the Unitarian League. José María Paz made from Córdoba a league of provinces, and so did Rosas. The conflict ended a short time after the unexpected capture of Paz, who mistook enemy troops for his own.
References
1820s conflicts
Late modern Europe
Revolutionary waves
European political history
19th-century revolutions
Age of Revolution
|
```c
--- monster.c.orig 1999-11-16 06:47:40.000000000 -0500
+++ monster.c 2006-04-17 21:44:39.000000000 -0400
@@ -119,7 +119,7 @@
int x,y,k,i;
if (mon<1 || mon>MAXMONST+8) /* check for monster number out of bounds */
{
- beep(); lprintf("\ncan't createmonst(%d)\n",(long)mon); nap(3000); return;
+ beep(); lprintf(2,"\ncan't createmonst(%d)\n",(long)mon); nap(3000); return;
}
while (monster[mon].genocided && mon<MAXMONST) mon++; /* genocided? */
for (k=rnd(8), i= -8; i<0; i++,k++) /* choose direction, then try all */
@@ -446,11 +446,11 @@
free((char*)save); positionplayer(); return;
}
- case 37: /* permanence */ adjtime(-99999L); spelknow[37]=0; /* forget */
+ case 37: /* permanence */ larn_adjtime(-99999L); spelknow[37]=0; /* forget */
loseint();
return;
- default: lprintf(" spell %d not available!",(long)x); beep(); return;
+ default: lprintf(2," spell %d not available!",(long)x); beep(); return;
};
}
@@ -490,7 +490,7 @@
int tmp;
if (x>=SPNUM || monst>=MAXMONST+8 || monst<0 || x<0) return(0); /* bad spell or monst */
if ((tmp=spelweird[monst-1][x])==0) return(0);
- cursors(); lprc('\n'); lprintf(spelmes[tmp],monster[monst].name); return(1);
+ cursors(); lprc('\n'); lprintf(2,spelmes[tmp],monster[monst].name); return(1);
}
/*
@@ -548,7 +548,7 @@
else
{
lastnum=278;
- lprintf(str,"spell caster (thats you)",(long)arg);
+ lprintf(3,str,"spell caster (thats you)",(long)arg);
beep(); losehp(dam); return;
}
}
@@ -556,7 +556,7 @@
{ lprcat(" There wasn't anything there!"); return; }
ifblind(x,y);
if (nospell(spnum,m)) { lasthx=x; lasthy=y; return; }
- lprintf(str,lastmonst,(long)arg); hitm(x,y,dam);
+ lprintf(3,str,lastmonst,(long)arg); hitm(x,y,dam);
}
/*
@@ -603,12 +603,12 @@
ifblind(x,y);
if (nospell(spnum,m)) { lasthx=x; lasthy=y; return; }
cursors(); lprc('\n');
- lprintf(str,lastmonst); dam -= hitm(x,y,dam);
+ lprintf(2,str,lastmonst); dam -= hitm(x,y,dam);
show1cell(x,y); nap(1000); x -= dx; y -= dy;
}
else switch (*(p= &item[x][y]))
{
- case OWALL: cursors(); lprc('\n'); lprintf(str,"wall");
+ case OWALL: cursors(); lprc('\n'); lprintf(2,str,"wall");
if (dam>=50+c[HARDGAME]) /* enough damage? */
if (level<MAXLEVEL+MAXVLEVEL-1) /* not on V3 */
if ((x<MAXX-1) && (y<MAXY-1) && (x) && (y))
@@ -620,7 +620,7 @@
}
god2: dam = 0; break;
- case OCLOSEDDOOR: cursors(); lprc('\n'); lprintf(str,"door");
+ case OCLOSEDDOOR: cursors(); lprc('\n'); lprintf(2,str,"door");
if (dam>=40)
{
lprcat(" The door is blasted apart");
@@ -628,7 +628,7 @@
}
goto god2;
- case OSTATUE: cursors(); lprc('\n'); lprintf(str,"statue");
+ case OSTATUE: cursors(); lprc('\n'); lprintf(2,str,"statue");
if (c[HARDGAME]<3)
if (dam>44)
{
@@ -638,7 +638,7 @@
}
goto god2;
- case OTHRONE: cursors(); lprc('\n'); lprintf(str,"throne");
+ case OTHRONE: cursors(); lprc('\n'); lprintf(2,str,"throne");
if (dam>39)
{
mitem[x][y]=GNOMEKING; hitp[x][y]=monster[GNOMEKING].hitpoints;
@@ -718,7 +718,7 @@
if (nospell(spnum,m) == 0)
{
ifblind(x,y);
- cursors(); lprc('\n'); lprintf(str,lastmonst);
+ cursors(); lprc('\n'); lprintf(2,str,lastmonst);
hitm(x,y,dam); nap(800);
}
else { lasthx=x; lasthy=y; }
@@ -836,7 +836,7 @@
if (c[WIELD]>0)
if (ivenarg[c[WIELD]] > -10)
{
- lprintf("\nYour weapon is dulled by the %s",lastmonst); beep();
+ lprintf(2,"\nYour weapon is dulled by the %s",lastmonst); beep();
--ivenarg[c[WIELD]];
}
if (flag) hitm(x,y,damag);
@@ -879,7 +879,7 @@
#ifdef EXTRA
c[MONSTKILLED]++;
#endif
- lprintf("\nThe %s died!",lastmonst);
+ lprintf(2,"\nThe %s died!",lastmonst);
raiseexperience((long)monster[monst].experience);
amt = monster[monst].gold; if (amt>0) dropgold(rnd(amt)+amt);
dropsomething(monst); disappear(x,y); bottomline();
@@ -915,11 +915,11 @@
cursors(); ifblind(x,y);
if (c[INVISIBILITY]) if (rnd(33)<20)
{
- lprintf("\nThe %s misses wildly",lastmonst); return;
+ lprintf(2,"\nThe %s misses wildly",lastmonst); return;
}
if (c[CHARMCOUNT]) if (rnd(30)+5*monster[mster].level-c[CHARISMA]<30)
{
- lprintf("\nThe %s is awestruck at your magnificence!",lastmonst);
+ lprintf(2,"\nThe %s is awestruck at your magnificence!",lastmonst);
return;
}
if (mster==BAT) dam=1;
@@ -935,11 +935,11 @@
tmp = 1; bias -= 2; cursors(); }
if (((dam + bias) > c[AC]) || (rnd((int)((c[AC]>0)?c[AC]:1))==1))
{
- lprintf("\n The %s hit you ",lastmonst); tmp = 1;
+ lprintf(2,"\n The %s hit you ",lastmonst); tmp = 1;
if ((dam -= c[AC]) < 0) dam=0;
if (dam > 0) { losehp(dam); bottomhp(); flushall(); }
}
- if (tmp == 0) lprintf("\n The %s missed ",lastmonst);
+ if (tmp == 0) lprintf(2,"\n The %s missed ",lastmonst);
}
/*
@@ -1118,7 +1118,7 @@
if (c[FIRERESISTANCE])
p="\nThe %s's flame doesn't phase you!";
else
- spout2: if (p) { lprintf(p,lastmonst); beep(); }
+ spout2: if (p) { lprintf(2,p,lastmonst); beep(); }
checkloss(i);
return(0);
@@ -1135,7 +1135,7 @@
case 5: p="\nThe %s blasts you with his cold breath";
i = rnd(15)+18-c[AC]; goto spout2;
- case 6: lprintf("\nThe %s drains you of your life energy!",lastmonst);
+ case 6: lprintf(2,"\nThe %s drains you of your life energy!",lastmonst);
loselevel(); beep(); return(0);
case 7: p="\nThe %s got you with a gusher!";
@@ -1150,7 +1150,7 @@
if (c[GOLD] < 0) c[GOLD]=0;
}
else p="\nThe %s couldn't find any gold to steal";
- lprintf(p,lastmonst); disappear(xx,yy); beep();
+ lprintf(2,p,lastmonst); disappear(xx,yy); beep();
bottomgold(); return(1);
case 9: for(j=50; ; ) /* disenchant */
@@ -1159,7 +1159,7 @@
if (m>0 && ivenarg[i]>0 && m!=OSCROLL && m!=OPOTION)
{
if ((ivenarg[i] -= 3)<0) ivenarg[i]=0;
- lprintf("\nThe %s hits you -- you feel a sense of loss",lastmonst);
+ lprintf(2,"\nThe %s hits you -- you feel a sense of loss",lastmonst);
srcount=0; beep(); show3(i); bottomline(); return(0);
}
if (--j<=0)
@@ -1188,7 +1188,7 @@
p="\nThe %s couldn't find anything to steal";
break;
}
- lprintf("\nThe %s picks your pocket and takes:",lastmonst);
+ lprintf(2,"\nThe %s picks your pocket and takes:",lastmonst);
beep();
if (stealsomething()==0) lprcat(" nothing"); disappear(xx,yy);
bottomline(); return(1);
@@ -1199,7 +1199,7 @@
case 16: i= rnd(15)+10-c[AC]; goto spout3;
};
- if (p) { lprintf(p,lastmonst); bottomline(); }
+ if (p) { lprintf(2,p,lastmonst); bottomline(); }
return(0);
}
@@ -1239,7 +1239,7 @@
}
else
{
- lprintf("\nThe %s barely escapes being annihilated!",monster[*p].name);
+ lprintf(2,"\nThe %s barely escapes being annihilated!",monster[*p].name);
hitp[i][j] = (hitp[i][j]>>1) + 1; /* lose half hit points*/
}
}
@@ -1276,13 +1276,13 @@
if ((m=mitem[x][y]) >= DEMONLORD+4) /* demons dispel spheres */
{
know[x][y]=1; show1cell(x,y); /* show the demon (ha ha) */
- cursors(); lprintf("\nThe %s dispels the sphere!",monster[m].name);
+ cursors(); lprintf(2,"\nThe %s dispels the sphere!",monster[m].name);
beep(); rmsphere(x,y); /* remove any spheres that are here */
return(c[SPHCAST]);
}
if (m==DISENCHANTRESS) /* disenchantress cancels spheres */
{
- cursors(); lprintf("\nThe %s causes cancellation of the sphere!",monster[m].name); beep();
+ cursors(); lprintf(2,"\nThe %s causes cancellation of the sphere!",monster[m].name); beep();
boom: sphboom(x,y); /* blow up stuff around sphere */
rmsphere(x,y); /* remove any spheres that are here */
return(c[SPHCAST]);
@@ -1384,7 +1384,7 @@
if (monstnamelist[j]==i) /* have we found it? */
{
monster[j].genocided=1; /* genocided from game */
- lprintf(" There will be no more %s's",monster[j].name);
+ lprintf(2," There will be no more %s's",monster[j].name);
/* now wipe out monsters on this level */
newcavelevel(level); draws(0,MAXX,0,MAXY); bot_linex();
return;
```
|
```c++
// Please see LICENSE for license or visit path_to_url
#ifndef PXR_PEGTL_DISCARD_INPUT_ON_FAILURE_HPP
#define PXR_PEGTL_DISCARD_INPUT_ON_FAILURE_HPP
#include "apply_mode.hpp"
#include "config.hpp"
#include "match.hpp"
#include "nothing.hpp"
#include "rewind_mode.hpp"
namespace PXR_PEGTL_NAMESPACE
{
struct discard_input_on_failure
: maybe_nothing
{
template< typename Rule,
apply_mode A,
rewind_mode M,
template< typename... >
class Action,
template< typename... >
class Control,
typename ParseInput,
typename... States >
[[nodiscard]] static bool match( ParseInput& in, States&&... st )
{
const bool result = PXR_PEGTL_NAMESPACE::match< Rule, A, M, Action, Control >( in, st... );
if( !result ) {
in.discard();
}
return result;
}
};
} // namespace PXR_PEGTL_NAMESPACE
#endif
```
|
Raiymbek batyr (, Raıymbek batyr) is a station of Line 1 of the Almaty Metro. The station was opened on December 1, 2011.
References
Almaty Metro stations
Railway stations opened in 2011
2011 establishments in Kazakhstan
|
Craig Richard Ervine (born 19 August 1985) is a Zimbabwean international cricketer who captains Zimbabwe in limited overs matches. Ervine is a left-handed batter. He was born in Harare and has played Test and limited overs cricket for the Zimbabwe national cricket team and first-class cricket for a variety of Zimbabwean sides in the Logan Cup. He holds an Irish passport. In January 2022, in the opening fixture of the series against Sri Lanka, Ervine played in his 100th One Day International (ODI) match.
Domestic career
He soon got a place at Zimbabwe Cricket Academy and soon broke into the domestic set-up playing for Midlands, Zimbabwe U-19s and Zimbabwe A sides.
He made his List A debut during the 2003 Faithwear Clothing Inter-Provincial One-Day Competition playing for Midlands against Matabeleland on 3 December 2003. He made his first-class debut during the 2003–04 Logan Cup playing for Midlands against the Mashonaland on 19 March 2004. He was selected for Zimbabwe squad for the 2004 Under-19 Cricket World Cup.
He also headed to England to work on his techniques and had brief spells at English clubs including Bexhill and Lordswood. He also played for Wallace Park Club in 2009 and 2010. Ervine has played majority of his domestic cricket for Midlands in Zimbabwe.
In February 2010, Ervine signed for the Zimbabwean domestic circuit with Southern Rocks. On debut against the Mid West Rhinos, Ervine made a top score of 100, his first first-class century. He has played for the Matabeleland Tuskers since the 2011/12 season.
In December 2018, during the opening round of the 2018–19 Logan Cup, Ervine scored his tenth century in first-class cricket. He was the leading run-scorer in the 2018–19 Stanbic Bank 20 Series tournament, with 328 runs in six matches. In December 2020, he was selected to play for the Tuskers in the 2020–21 Logan Cup.
International career
Early years
He was included in Zimbabwe's squad for the 2010 ICC World Twenty20 tournament as an uncapped player despite the modest returns in domestic T20 competition and made his T20I debut in a rain affected group stage match against Sri Lanka on 3 May 2010. He made his ODI debut against India on 28 May 2010 as part of the 2010 Zimbabwe Micromax Tri-Nation Series and scored a half-century on debut. He ended up being unbeaten on 67 runs off just 60 deliveries on debut as Zimbabwe chased down the mammoth 286 runs in a thrilling chase.
He made his test debut against Bangladesh on 4 August 2011 which was also a comeback test appearance for Zimbabwe after their readmission to test cricket. He made an impression on debut with the bat scoring an unbeaten 35 runs in a sixth wicket partnership with Brendan Taylor before Zimbabwe going onto declare at 291/5 and win the match comfortably by 130 runs.
He was named as part of the Zimbabwean squad during the 2011 Cricket World Cup which also marked his maiden appearance in a World Cup tournament. He had a decent World Cup campaign as he ended up as the leading run-scorer for Zimbabwe during the course of the tournament with an aggregate of 231 runs in 6 matches including 3 fifties. He was also a member of the Zimbabwe squad for the 2012 ICC World Twenty20 showpiece. He signed as an overseas player for Lymington in the Southern Premier League for 2012 season.
In 2013, soon after Zimbabwe had returned from the tour of West Indies following the bilateral series, he refused to sign a central Zimbabwe Cricket contract with the intention to pursue his career playing club cricket for Irish club Lisburn and grade cricket for Morley in Western Australia. He moved to Ireland on a passport obtained via his great-great-grandfather in a bid to qualify playing for Ireland cricket team at some point of time. However, it was revealed that his ambitions to represent Ireland was just rumours. He made the move to leave Zimbabwe citing financial insecurity and to earn for a good living in overseas. He also played for Northern Knights in the European summer at the 2013 Inter-Provincial Championship and in the other half of the same year he went to Perth to play club cricket in Australia.
International return
However, he made a U-turn roughly 18 months later insisting that he once again made his intentions to play for Zimbabwe at international level and made himself available for national selections again in October 2014 ahead of the 2014/15 season. He was in contention for a spot in the national squad for the tour of Bangladesh in 2014 and was included in the main squads. He was thereafter subsequently picked for the 2015 Cricket World Cup which was held in Australia and New Zealand. During the 2015 World Cup, he along with Brendan Taylor put on Zimbabwe's highest fourth wicket partnership of 93 in a World Cup match which came against India.
On 2 August 2015, Ervine scored his first ODI century against New Zealand, an unbeaten 130 runs in a match which Zimbabwe won chasing more than 300 runs. Following the win against New Zealand, his teammate Sean Williams asked him personally to pay half the rent for his stay in the apartment. On 6 August 2016, Ervine scored his maiden Test century, playing against New Zealand at Harare.
On Zimbabwe's 2017 tour of Sri Lanka, Ervine scored a match winning 69 runs to level the five-match series 2-2. Zimbabwe won the 5th ODI and won the first ever series against Sri Lanka as well. Ervine's second test century came against Sri Lanka on 14 July 2017 at the R Premadasa Stadium and registered his career best test knock of 160. Despite his valiant efforts with the bat, Sri Lanka went onto win the closely fought test match after successfully chasing down the mammoth target of 391.
He was included in Zimbabwe's squad for the 2018 Cricket World Cup Qualifier tournament which was held in Zimbabwe.
On 14 July 2019, he involved in an unbroken runstand worth of 111 runs along with Sean Williams for the third wicket during the third and decisive T20I against Ireland and it is also the highest ever partnership for Zimbabwe in terms of runs in T20I cricket. Zimbabwe chased down the target of 172 runs to square the three match T20I series against Ireland 1-1.
In January 2020, during the first Test against Sri Lanka, Ervine scored his 1,000th run in Test cricket.
Captaincy
On 22 February 2020, he captained Test team in the one-off Test against Bangladesh, after Sean Williams, Zimbabwe's regular Test captain, took leave ahead of the match for the birth of his first child. He scored a century top scoring for Zimbabwe in first innings with 107 and despite his valiant effort with the bat in both innings of the match on his captaincy debut, Zimbabwe went onto lose by an innings and 106 runs.
In August 2021, he was appointed as white ball captain of Zimbabwe for the first time and assumed white ball captaincy for the first time during the limited overs series against Ireland and the T20I series against Scotland. He was reinstated as the captain of Zimbabwe side for the three match ODI series against Sri Lanka in January 2022.
Education
Ervine studied for A-levels at Lomagundi College.
Personal life
Ervine's father Rory and uncle Neil both played first-class cricket for Rhodesia B in the 1977/78 Castle Bowl competition and another uncle, Gordon Den, played for Rhodesia and Eastern province in the 1960s. Den's father, Ervine's grandfather, Alexander Den is recorded as having made one appearance for Rhodesia against the touring Australian national side in 1936. He along with his brothers Sean and Ryan were brought and raised up in a farm outside Harare and he inherited interest in cricket through his grandparents who would even pay 50 cents to anyone who took a wicket.
Ervine's brother, Sean Ervine also played for Zimbabwe and, after leaving the country in 2004, forged a successful career in English county cricket with Hampshire. Another brother Ryan played domestic limited overs cricket in Zimbabwe in 2009/10 season.
Ervine almost had a hand amputated in his early teens following a freak accident where he slipped and fell on broken glass in his family's living room. He slipped on some stray penlight batteries at home. His mum who was a nurse during wartime immediately helped her son from excessive bleeding. The injury required a three-hour reconstructive operation to his right hand.
References
External links
1985 births
Zimbabwean people of British descent
White Zimbabwean sportspeople
Living people
Midlands cricketers
Zimbabwe One Day International cricketers
Zimbabwe Twenty20 International cricketers
Zimbabwean cricketers
Cricketers from Harare
Cricketers at the 2011 Cricket World Cup
Cricketers at the 2015 Cricket World Cup
Zimbabwe Test cricketers
Northern Knights cricketers
Zimbabwe Select XI cricketers
Alumni of Lomagundi College
Matabeleland Tuskers cricketers
|
```python
import os
import time
import psutil
import tensorflow as tf
import tensorlayer as tl
from exp_config import (BATCH_SIZE, LERANING_RATE, MONITOR_INTERVAL, NUM_ITERS, random_input_generator)
gpus = tf.config.experimental.list_physical_devices('GPU')
if gpus:
for gpu in gpus:
tf.config.experimental.set_memory_growth(gpu, True)
tl.logging.set_verbosity(tl.logging.DEBUG)
# get the whole model
vgg = tl.models.vgg16(mode='static')
# system monitor
info = psutil.virtual_memory()
monitor_interval = MONITOR_INTERVAL
avg_mem_usage = 0
max_mem_usage = 0
count = 0
total_time = 0
# training setting
num_iter = NUM_ITERS
batch_size = BATCH_SIZE
train_weights = vgg.trainable_weights
optimizer = tf.optimizers.Adam(learning_rate=LERANING_RATE)
loss_object = tl.cost.cross_entropy
# data generator
gen = random_input_generator(num_iter, batch_size)
# training function
@tf.function
def train_step(x_batch, y_batch):
# forward + backward
with tf.GradientTape() as tape:
## compute outputs
_logits = vgg(x_batch)
## compute loss and update model
_loss = loss_object(_logits, y_batch)
grad = tape.gradient(_loss, train_weights)
optimizer.apply_gradients(zip(grad, train_weights))
# begin training
vgg.train()
for idx, data in enumerate(gen):
start_time = time.time()
train_step(data[0], data[1])
end_time = time.time()
consume_time = end_time - start_time
total_time += consume_time
if idx % monitor_interval == 0:
cur_usage = psutil.Process(os.getpid()).memory_info().rss
max_mem_usage = max(cur_usage, max_mem_usage)
avg_mem_usage += cur_usage
count += 1
tl.logging.info(
"[*] {} iteration: memory usage {:.2f}MB, consume time {:.4f}s".format(
idx, cur_usage / (1024 * 1024), consume_time
)
)
print('consumed time:', total_time)
avg_mem_usage = avg_mem_usage / count / (1024 * 1024)
max_mem_usage = max_mem_usage / (1024 * 1024)
print('average memory usage: {:.2f}MB'.format(avg_mem_usage))
print('maximum memory usage: {:.2f}MB'.format(max_mem_usage))
```
|
Gerhard Reithmeier (born 26 June 1977) from Bergen is a German ski mountaineer.
Selected results
2001:
German record time, Trofeo Mezzalama (together with Georg Nickaes and Matthias Robl)
2004:
4th, German Championship
11th, World Championship relay race (together with Stefan Klinger, Tim Stachel and Toni Steurer)
2006:
6th, German Championship
2008:
2nd ("seniors I" ranking), Patrouille des Glaciers (together with Georg Nickaes and Benedikt Böhm)
External links
Gerhard Reithmeier at skimountaineering.com
References and notes
1977 births
Living people
German male ski mountaineers
|
Philippines competed at the 2011 World Aquatics Championships in Shanghai, China between July 16 and 31, 2011.
Swimming
Philippines qualified 3 swimmers.
Men
Women
References
Nations at the 2011 World Aquatics Championships
2011 in Philippine sport
Philippines at the World Aquatics Championships
|
"I'm Living in Two Worlds" is a song written by Jan Crutchfield, which was recorded and released by American country artist Bonnie Guitar. The song reached number nine on the Billboard Hot Country Singles chart and number ninety-nine on the Billboard Hot 100 in early 1966. "I'm Living in Two Worlds" became Guitar's first Country top-ten single and her first charting single since 1959. The song was popular among other female country vocalists and covered on albums by Kitty Wells, Loretta Lynn, Wilma Burgess, Skeeter Davis, and Jan Howard.
The single helped officially introduce Guitar to the country music market, setting the trend for a series of country music singles.
Chart performance
References
1965 singles
Bonnie Guitar songs
1965 songs
Songs written by Jan Crutchfield
Dot Records singles
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.