Angular
AngularJS is an open source project licensed under the MIT license. Your contributions are always welcome. When working with AngularJS code base, please follow the guidelines provided on this page.
We'd love for you to contribute to our source code and to make AngularJS even better than it is today! Here are the guidelines we'd like you to follow:
Major changes that you intend to contribute to the project should be discussed first on our mailing list so that we can better coordinate our efforts, prevent duplication of work, and help you to craft the change so that it is successfully accepted upstream.
Small changes and bug fixes can be crafted and submitted to Github as a pull request.
To ensure consistency throughout the source code, keep these rules in mind as you are working:
All features or bug fixes must be tested by one or more specs.
All public API methods must be documented with ngdoc, an extended version of jsdoc (we added
support for markdown and templating via @ngdoc
tag). To see how we document our APIs, please
check out the existing ngdocs.
With the exceptions listed below, we follow the rules contained in Google's JavaScript Style Guide:
Do not use namespaces: Instead, we wrap the entire angular
code base in an anonymous closure
and export our API explicitly rather than implicitly.
Wrap all code at 100 characters.
Instead of complex inheritance hierarchies, we prefer simple objects. We use prototypical inheritance only when absolutely necessary.
We love functions and closures and, whenever possible, prefer them over objects.
To write concise code that can be better minified, internally we use aliases that map to the external API. See our existing code to see what we mean.
We don't go crazy with type annotations for private internal APIs unless it's an internal API that is used throughout AngularJS. The best guidance is to do what makes the most sense.
The AngularJS source code is hosted at Github, which we also use to accept code contributions. The AngularJS repository can be found at https://github.com/angular/angular.js.
Several steps are needed to check out and build AngularJS:
Before you can build AngularJS, you must install or configure the following dependencies on your machine:
Git: The Github Guide to Installing Git is quite a good source for information on Git.
Node.js: We use Node to generate the documentation, run a development web server, run tests, and generate a build. Depending on your system, you can install Node either from source or as a pre-packaged bundle.
Java: JavaScript is minified using Closure Tools jar. Make sure you have Java (version 6 or higher) installed and included in your PATH variable.
Once installed, you'll also need several npms (node packages), which you can install once you checked out a local copy of the Angular repository (see below) with:
cd angular.js
npm install
bower install
Grunt: We use Grunt as our build system. Install the grunt command-line tool globally with:
sudo npm install -g grunt-cli
Bower: Bower is used to manage packages for the docs. Install the bower tool globally with:
sudo npm install -g bower
To create a Github account, follow the instructions here. Afterwards, go ahead and fork the main angular repository.
To build AngularJS, you check out the source code and use Grunt to generate the non-minified and minified AngularJS files:
To clone your Github repository, run:
git clone git@github.com:<github username>/angular.js.git
To go to the AngularJS directory, run:
cd angular.js
To add the main AngularJS repository as an upstream remote to your repository, run:
git remote add upstream https://github.com/angular/angular.js.git
To add node.js dependencies
npm install
To add docs components
bower install
To build AngularJS, run:
grunt package
NOTE: If you're using Windows you must run your command line with administrative privileges (right click, run as Administrator).
The build output can be located under the build
directory. It consists of the following files and
directories:
angular-<version>.zip
— This is the complete zip file, which contains all of the release build
artifacts.
angular.js
— The non-minified angular
script.
angular.min.js
— The minified angular
script.
angular-scenario.js
— The angular
End2End test runner.
docs/
— A directory that contains all of the files needed to run docs.angularjs.org
.
docs/index.html
— The main page for the documentation.
docs/docs-scenario.html
— The End2End test runner for the documentation application.
To debug code and run end-to-end tests, it is often useful to have a local HTTP server. For this purpose, we have made available a local web server based on Node.js.
To start the web server, run:
grunt webserver
To access the local server, go to this website:
http://localhost:8000/
By default, it serves the contents of the AngularJS project directory.
Our unit and integration tests are written with Jasmine and executed with Karma. To run all of the tests once on Chrome run:
grunt test:unit
To run the tests on other browsers (Chrome, ChromeCanary, Firefox, Opera and Safari are pre-configured) use:
grunt test:unit --browsers Opera,Firefox
Note there should be no spaces between browsers. Opera, Firefox
is INVALID.
During development it's however more productive to continuously run unit tests every time the source or test files change. To execute tests in this mode run:
To start the Karma server, capture Chrome browser and run unit tests, run:
grunt autotest:jqlite
To capture more browsers, open this url in the desired browser (url might be different if you have multiple instance of Karma running, read Karma's console output for the correct url):
http://localhost:9876/
To re-run tests just change any source or test file.
To learn more about all of the preconfigured Grunt tasks run:
grunt --help
To run the E2E test suite:
Start the local web server if it's not running already.
grunt webserver
In a browser, go to:
http://localhost:8000/build/docs/docs-scenario.html
or in terminal run:
grunt test:end2end
For convenience you can also simply run:
grunt test:e2e
This will start the webserver for you and run the tests.
To create and submit a change:
Please sign our Contributor License Agreement (CLA) before sending pull requests. For any code changes to be accepted, the CLA must be signed. It's a quick process, we promise!
For individuals we have a simple click-through form. For corporations we'll need you to print, sign and one of scan+email, fax or mail the form.
Create and checkout a new branch off the master branch for your changes:
git checkout -b my-fix-branch master
Create your patch, make sure to have plenty of tests (that pass).

When the patch is reviewed and merged, delete your branch and pull yours — and other — changes from the main (upstream) repository:
To delete the branch in Github, run:
git push origin :my-fix-branch
To check out the master branch, run:
git checkout master
To delete a local branch, run:
git branch -D my-fix-branch
To update your master with the latest upstream version, run:
git pull --ff upstream master
That's it! Thank you for your contribution!


Alaska man arrested after drugs found in spoiled goat guts
by Associated PressANCHORAGE, Alaska (AP) — A 71-year-old Alaska man is under federal arrest after he was found with $400,000 in illegal drugs hidden in spoiled goat intestines at an airport.
Authorities say Cenen Placencia of Kodiak was arrested Wednesday at Anchorage’s international airport.
An affidavit filed with charging documents say investigators with Alaska State Troopers searched a large fish box Placencia had checked as luggage.
The affidavit says inside was loosely wrapped frozen meat, which was thawed and revealed packages containing about 740 grams of heroin and 389 grams of methamphetamine.
Troopers say Placencia was in custody at the Anchorage jail.
Online court records don’t list an attorney for Placencia.
Assistant U.S. Attorney Christina Sherman says Placencia is scheduled for a Friday afternoon arraignment on a charge of possession with intent to distribute controlled substances.


CacheStoreNonBlockingWorker()
A background worker for the cache store which does not block the calling thread. The calling thread cannot wait for the result. Therefore, this worker is supposed to be used in a fire and forget scenario. Otherwise, use CacheStoreBlockingWorker.


---
layout: post
title: Joining on substrings
date: '2007-06-06T10:23:00.000-05:00'
author: Don Seiler
tags:
- oracle
- joins
- jonathan lewis
modified_time: '2010-11-19T22:48:46.400-06:00'
blogger_id: tag:blogger.com,1999:blog-7032512792942232766.post-6128740503275710504
blogger_orig_url: http://www.seiler.us/2007/06/joining-on-substrings.html
---
Jonathan Lewis shared an example of joining two tables where the joining field on table is comprised of two fields on the other table. The original poster thought he'd need to re-design his table, but Jonathan proved otherwise with the grace and efficiency of a true Englishman.
Definitely good to know!


{% autoescape true %}
DEFENCE
Defence
{% if failed %}
Login failed!
Check your credentials and try again {% endif %}
Username
Password
Login
Register User
Forgot Password
{% endautoescape %}


Preparation time
less than 30 mins
Cooking time
10 to 30 mins
Serves
Serves 2
It’s not often that I eat something that tastes so different to anything I’ve come across before. But this is such a dish. A mesmerically talented chef called Tum cooked it when I was on holiday in Thailand last year, and I made him cook it again and again. I just had to share this spectacularly unfamiliar but compelling recipe with you. I hope you will be as bowled over by it as I was.
On a high heat, heat the oil in a large wok. Add the garlic, ginger, star anise, cinnamon and the sliced leafy stems of celery, reserve the celery leaves for a garnish. Cook, stirring, for 1 minute. Stir in both soy sauces and leave to simmer for 30 seconds, then stir in the oyster sauce and ground pepper.
Add 100ml/3½fl oz cold water, followed by the chicken stock concentrate and the ketjap manis (or the mixture of dark soy sauce with soft brown sugar), stir until everything’s well combined and bring to the boil.
Add the king prawns, immersing them in the liquid. Simmer until the prawns are cooked through. Finally, add the drained noodles and stir well – I find a couple of pasta forks, one in each hand, best for this – so that everything is combined, and most of the dark liquid is absorbed. Add the pinches of ground cinnamon and cloves, stir again, and if you’re not serving straight from the wok, pour into a serving bowl, and sprinkle with the reserved chopped celery leaves.


Drawing Gradients
The HTML5 Canvas supports two kinds of gradients - linear and radial.
Your browser does not support canvas.


Research on managing open data requires an appropriate collection of such datasets in order to test novel algorithms and techniques. Gaining insights about their properties can also inform the process of designing algorithms or benchmarks. Currently, the interface of most open data portals is limited in that regard.
Here we provide a visualization that uses Multidimensional Scaling (MDS) to depict datasets from https://www.data.gov/. We focus on four structural (metadata) attributes of the datasets:
We also show (on the right) the distribution of these 4 attributes for each selection of datasets.
Multidimensional Scaling can help us encode many attributes in the same visualization. For each pair of datasets d1,d2 we calculate their (weighted) Euclidean distance:
\( \begin{align} dist(d_1, d_2) = & [w_r(d_1.rows-d_2.rows)^2 + w_c(d_1.cols-d_2.cols)^2 + \\& w_n(d_1.nulls-d_2.nulls)^2+ w_u(d_1.unqs-d_2.unqs)^2]^{1/2} \end{align}\)
An MDS algorithm then places the points (i.e., datasets) in a 2-dimensional space such that these distances are preserved as much as possible.
Number of Rows
Number of Categorical Columns
Number of Numerical Columns
Percentage of Unique Values (Categorical)
Percentage of Null Values (Categorical)
Percentage of Unique Values (Numerical)
Percentage of Null Values (Numerical)
MDS Plot: Datasets are embedded into 2D-space such that datasets that are closer together are more similar.
Paper and Supplementary Materials can be found at: https://osf.io/zkxv9/
Watch a short 30s video teaser:
or a 7 minute demo video:


{% extends "layout.html" %} {% block title %} Welcome! {% endblock %} {% block content %}
This awesome demo will (hopefully) show you how you can use the Pub/Sub pattern as a means of communicating events between your services.
Sign Up Login


WITNESS LIST
Alzheimer's Disease
February 28, 2012 2:00 PM
Interim Charge
ON:
Armstrong, Lance (Darrell K Royal Alzheimer's Research Fund), Austin, TX
Chapman, Sandra Founder and Chief Director (Center for Brain Health at The University
of Texas at Dallas), Dallas, TX
Doody, Rachelle Professor (also providing written testimony) (Baylor College of
Medicine), Houston, TX
Hanna, Debbie (also providing written testimony) (Alzheimer's Association/Texas
Council on Alzheimer's Disease), Austin, TX
Lakey, David Commissioner (also providing written testimony) (Department of State
Health Services), Austin, TX
Royal, Edith (also providing written testimony) (Darrell K Royal Alzheimer's Research
Fund), Austin, TX
Weiner, Myron Professor (UT Southwestern), Dallas, TX
Weizenbaum, Jon Deputy Commissioner (also providing written testimony) (Department
of Aging and Disability Services), Austin, TX
1


home
Events
Categories
Software
Hardware
PenTest
pages
bi0s wiki
blog
Members
Achievements
CVEs' and Bug Bounties
Tools And Talks
Interships
Cyber awareness
Branding
Team bi0s
Category logos
InCTF
Amrita Vishwa Vidyapeetham


Release Date:November 30, 2017
Release Date:October 31, 2017
Release Date:March 2, 2018
Release Date:September 27, 2018
Watch Trailer
Release Date:December 21, 2017
Release Date:April 26, 2018
Release date:May 17, 2018
Release Date:June 6, 2018
Release Date:July 13, 2017
Release Date:April 26, 2018
Release Date:December 14, 2017
Release Date:November 16, 2017


Enter or Paste Your Text
Sample text.
Compute Stats
Clear
Ex1
Ex2
Ex3
Your Results
Your results will appear here.
My Results
Your results will appear here.


- add(E) - Method in class com.tomzhu.tree.TreeSet
-
try to add an element to this set.
- addChild(BasicTreeNode<E>, E) - Method in class com.tomzhu.tree.BasicTree
-
add a child node to the specific node and return the added node.
- addChild(BasicTreeNode<E>, E, int) - Method in class com.tomzhu.tree.BasicTree
-
add a child node to parameter
node at specific location, throw
MyNotSupportException
when the location is not reliable.
- addChild(BasicTreeNode<E>, BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTree
-
add the neededNode to the node as it's children.
- addChild(BasicTreeNode<E>, BasicTreeNode<E>, int) - Method in class com.tomzhu.tree.BasicTree
-
add the neededNode to the node as it's children at specific location, then
return the added node namely neededNode.
- addChild(E) - Method in class com.tomzhu.tree.BasicTreeNode
-
create a new node using the specific value and add it to the current node as child then return the added node.
- addChild(BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTreeNode
-
add the node as child to current node and returned the added node.
- addChild(int, E) - Method in class com.tomzhu.tree.BasicTreeNode
-
add a child node to the current node using specific value
in specific location i which is left from right and start at 0.
- addChild(int, BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTreeNode
-
add a child node to the current node in specific location i which is left from right and start at 0.
- addChildren(BasicTreeNode<E>, BasicTreeNode<E>[]) - Method in class com.tomzhu.tree.BasicTree
-
add the neededNodes to the node from left to right.
- addChildren(BasicTreeNode<E>, E[]) - Method in class com.tomzhu.tree.BasicTree
-
create neededNodes using values and add them to the node from left to right.
- addChildren(BasicTreeNode<E>[]) - Method in class com.tomzhu.tree.BasicTreeNode
-
add the nodes to the current node as children and return the current node.
- addChildren(E[]) - Method in class com.tomzhu.tree.BasicTreeNode
-
create nodes using values and add the nodes to the current node as children , then return the current node.
- addLeftChild(BinaryTreeNode<E>, E) - Method in class com.tomzhu.tree.BinaryTree
-
add the left child using specific value to the current node.
- addLeftChild(BinaryTreeNode<E>, BinaryTreeNode<E>) - Method in class com.tomzhu.tree.BinaryTree
-
add the leftChild node to the current node as its left child.
- addLeftChild(E) - Method in class com.tomzhu.tree.BinaryTreeNode
-
add the left child using specific value to the current node and return the added node.
- addLeftChild(BinaryTreeNode<E>) - Method in class com.tomzhu.tree.BinaryTreeNode
-
add the leftChild node to the current node as its left child and return the added node
- addLeftSibling(BasicTreeNode<E>, E) - Method in class com.tomzhu.tree.BasicTree
-
add left sibling node using value to the specific node and return the added node.
- addLeftSibling(BasicTreeNode<E>, BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTree
-
add left sibling node(neededNode) to the specific node and return the added node.
- addLeftSibling(E) - Method in class com.tomzhu.tree.BasicTreeNode
-
create a new BasicTreeNode using the specific value and add it to the current node as it's left sibling.
- addLeftSibling(BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTreeNode
-
add the parameter node to the current node as it's left sibling.
- addOrUpdate(long, long) - Method in class com.tomzhu.external.BPlusTree
-
try to add a key, value pair to this bplustree.
- addOrUpdate(long, long) - Method in class com.tomzhu.external.HashTable
-
try to add a key value pair, if such key already exists, replace the previous value
- addRightChild(BinaryTreeNode<E>, E) - Method in class com.tomzhu.tree.BinaryTree
-
add the right child using specific value to the current node.
- addRightChild(BinaryTreeNode<E>, BinaryTreeNode<E>) - Method in class com.tomzhu.tree.BinaryTree
-
add the rightChild node to the current node as its right child
and return the added node.
- addRightChild(E) - Method in class com.tomzhu.tree.BinaryTreeNode
-
add the right child using specific value to the current node and return the added node
- addRightChild(BinaryTreeNode<E>) - Method in class com.tomzhu.tree.BinaryTreeNode
-
add the rightChild node to the current node as its right child and return the added node.
- addRightSibling(BasicTreeNode<E>, E) - Method in class com.tomzhu.tree.BasicTree
-
add right sibling node to the specific node and return the added node.
- addRightSibling(E) - Method in class com.tomzhu.tree.BasicTreeNode
-
create a new basicTreeNode using the current value and add it to the current node as it's right sibling.
- addRightSibling(BasicTreeNode<E>) - Method in class com.tomzhu.tree.BasicTreeNode
-
add the parameter node to the current node as it's right sibling.
- ArrayList<E> - Class in com.tomzhu.list
-
a simple list implementation based on array.
- ArrayList(int) - Constructor for class com.tomzhu.list.ArrayList
-
construct a array list with initial capacity
- ArrayList() - Constructor for class com.tomzhu.list.ArrayList
-
construct a array list with default capacity 10.
- AVLTree<E extends java.lang.Comparable<E>> - Class in com.tomzhu.tree
-
an AVL tree implementation.
- AVLTree() - Constructor for class com.tomzhu.tree.AVLTree
-
construct an empty default AVLTree
- AVLTree(E) - Constructor for class com.tomzhu.tree.AVLTree
-
construct an AVLTree with element.
- AVLTreeNode<E extends java.lang.Comparable<E>> - Class in com.tomzhu.tree
-
AVLTreeNode represent a node of AVL tree.
- AVLTreeNode() - Constructor for class com.tomzhu.tree.AVLTreeNode
-
construct an AVLTreeNode.
- AVLTreeNode(E, int) - Constructor for class com.tomzhu.tree.AVLTreeNode
-
construct an AVLTree Node with element and height.
- AVLTreeNode(E, int, AVLTreeNode<E>, AVLTreeNode<E>, AVLTreeNode<E>) - Constructor for class com.tomzhu.tree.AVLTreeNode
-
construct an AVLTreeNode with element, height, left child, right child, parent.


RSVP-LSP Resource Pool Detail
[Menu] |
[RSVP-LSP Path Pool List] |
[Refresh] |
| Pool Name |
ID Range |
In-use ID |
Purpose |
Administration status |
Note |
Last Edit Time |
Operation |
|
|
|
|
|
|
|
|
|
- RSVP-LSP Resource Pool Detail
-
| RSVP-LSP ID |
Task |
RSVP-LSP Name |
InventoryID |
Facility Status |
Operational Status |
SDP ID |
Primary Path |
Secondary Path |
Ingress |
Egress |
Pair LSP |
Last Edit Time |
Note |
Operation |
|
|
Create LSP [X] |
|
|
|
|
|
()
|
()
|
|
|
|
|
|
|
Delete
History
|
To edit the ID click on the ID link.


Public Types | |
| enum | TextBoxCallbacks { TextChanged = WidgetCallbacksCount * 1, AllTextBoxCallbacks = WidgetCallbacksCount * 2 - 1 } |
| Defines specific triggers to TextBox. More... | |
| Public Types inherited from tgui::Widget | |
| enum | WidgetCallbacks { None = 0, Focused = 1, Unfocused = 2, MouseEntered = 4, MouseLeft = 8 } |
| Defines specific triggers to Widget. More... | |
Public Member Functions | |
| TextBox () | |
| Default constructor. More... | |
| TextBox (const TextBox ©) | |
| Copy constructor. More... | |
| virtual | ~TextBox () |
| Desturctor. More... | |
| TextBox & | operator= (const TextBox &right) |
| Overload of assignment operator. More... | |
| bool | load (const std::string &configFileFilename) |
| Loads the widget. More... | |
| const std::string & | getLoadedConfigFile () const |
| Returns the filename of the config file that was used to load the widget. More... | |
| virtual void | setSize (float width, float height) |
| Changes the size of the text box. More... | |
| virtual sf::Vector2f | getSize () const |
| Returns the size of the text box. More... | |
| virtual sf::Vector2f | getFullSize () const |
| Returns the full size of the text box. More... | |
| void | setText (const sf::String &text) |
| Changes the text of the text box. More... | |
| void | addText (const sf::String &text) |
| Appends some text to the text that was already in the text box. More... | |
| sf::String | getText () const |
| Returns the text of the text box. More... | |
| void | setTextFont (const sf::Font &font) |
| Changes the font of the text. More... | |
| const sf::Font * | getTextFont () const |
| Returns the font of the text. More... | |
| void | setTextSize (unsigned int size) |
| Changes the character size of the text. More... | |
| unsigned int | getTextSize () const |
| Returns the character size of the text. More... | |
| void | setMaximumCharacters (unsigned int maxChars=0) |
| Changes the maximum character limit. More... | |
| unsigned int | getMaximumCharacters () const |
| Returns the maximum character limit. More... | |
| virtual void | setBorders (unsigned int leftBorder=0, unsigned int topBorder=0, unsigned int rightBorder=0, unsigned int bottomBorder=0) |
| Changes the border width and border height of the text box. More... | |
| void | changeColors (const sf::Color &backgroundColor=sf::Color(50, 50, 50), const sf::Color &textColor=sf::Color(0, 0, 0), const sf::Color &selectedTextColor=sf::Color(255, 255, 255), const sf::Color &selectedTextBackgroundColor=sf::Color(10, 110, 255), const sf::Color &borderColor=sf::Color(0, 0, 0), const sf::Color &selectionPointColor=sf::Color(110, 110, 255)) |
| Changes the colors from the text box. More... | |
| void | setBackgroundColor (const sf::Color &backgroundColor) |
| Set the background color that will be used inside the text box. More... | |
| void | setTextColor (const sf::Color &textColor) |
| Set the text color that will be used inside the text box. More... | |
| void | setSelectedTextColor (const sf::Color &selectedTextColor) |
| Set the text color of the selected text that will be used inside the text box. More... | |
| void | setSelectedTextBackgroundColor (const sf::Color &selectedTextBackgroundColor) |
| Set the background color of the selected text that will be used inside the text box. More... | |
| void | setBorderColor (const sf::Color &borderColor) |
| Set the border color that will be used inside the text box. More... | |
| void | setSelectionPointColor (const sf::Color &selectionPointColor) |
| Set the color that will be used inside the text box for the flickering selection point. More... | |
| const sf::Color & | getBackgroundColor () const |
| Get the background color that is currently being used inside the text box. More... | |
| const sf::Color & | getTextColor () const |
| Get the text color that is currently being used inside the text box. More... | |
| const sf::Color & | getSelectedTextColor () const |
| Get the text color of the selected text that is currently being used inside the text box. More... | |
| const sf::Color & | getSelectedTextBackgroundColor () const |
| Get the background color of the selected text that is currently being used inside the text box. More... | |
| const sf::Color & | getBorderColor () const |
| Get the border color that is currently being used inside the text box. More... | |
| const sf::Color & | getSelectionPointColor () const |
| Get the color that is currently being used inside the text box for the flickering selection point. More... | |
| void | setSelectionPointPosition (unsigned int charactersBeforeSelectionPoint) |
| Sets the flickering selection point to after a specific character. More... | |
| bool | setScrollbar (const std::string &scrollbarConfigFileFilename) |
| Changes the scrollbar of the text box. More... | |
| void | removeScrollbar () |
| Removes the scrollbar from the text box (if there is one). More... | |
| void | setSelectionPointWidth (unsigned int width=2) |
| This will change the width of the selection point. More... | |
| unsigned int | getSelectionPointWidth () const |
| Returns the width of the selection point. More... | |
| void | setReadOnly (bool readOnly=true) |
| Make the text box read-only or make it writable again. More... | |
| virtual void | setTransparency (unsigned char transparency) |
| Changes the transparency of the widget. More... | |
| Public Member Functions inherited from tgui::Widget | |
| Widget () | |
| Default constructor. More... | |
| Widget (const Widget ©) | |
| Copy constructor. More... | |
| virtual | ~Widget () |
| Destructor. More... | |
| Widget & | operator= (const Widget &right) |
| Overload of assignment operator. More... | |
| virtual sf::Vector2f | getAbsolutePosition () const |
| Get the absolute position of the widget on the screen. More... | |
| virtual void | show () |
| Shows the widget. More... | |
| virtual void | hide () |
| Hides the widget. More... | |
| bool | isVisible () const |
| Returns true when the widget is visible. More... | |
| virtual void | enable () |
| Enables the widget. More... | |
| virtual void | disable () |
| Disables the widget. More... | |
| bool | isEnabled () const |
| Returns true when the widget is enabled. More... | |
| bool | isDisabled () const |
| Returns true when the widget is disabled. More... | |
| bool | isLoaded () const |
| Returns true when the widget is loaded successfully. More... | |
| virtual void | focus () |
| Focus the widget. More... | |
| virtual void | unfocus () |
| Unfocus the widget. More... | |
| bool | isFocused () const |
| Returns true when the widget is focused and false otherwise. More... | |
| WidgetTypes | getWidgetType () const |
| Returns the type of the widget. More... | |
| Container * | getParent () const |
| Returns a pointer to the parent widget. More... | |
| unsigned char | getTransparency () const |
| Returns the transparency of the widget. More... | |
| virtual void | moveToFront () |
| Places the widget before all other widgets. More... | |
| virtual void | moveToBack () |
| Places the widget behind all other widgets. More... | |
| void | setCallbackId (unsigned int callbackId) |
| Changes the callback id of the widget. More... | |
| unsigned int | getCallbackId () |
| Returns the callback id of the widget. More... | |
| Public Member Functions inherited from tgui::Transformable | |
| Transformable () | |
| Default constructor. More... | |
| virtual | ~Transformable () |
| Destructor. More... | |
| virtual void | setPosition (float x, float y) |
| Set the position of the widget. More... | |
| void | setPosition (const sf::Vector2f &position) |
| set the position of the widget More... | |
| const sf::Vector2f & | getPosition () const |
| get the position of the widget More... | |
| void | move (float offsetX, float offsetY) |
| Move the widget by a given offset. More... | |
| void | move (const sf::Vector2f &offset) |
| Move the widget by a given offset. More... | |
| void | scale (float factorX, float factorY) |
| Scale the widget. More... | |
| void | scale (const sf::Vector2f &factors) |
| Scale the widget. More... | |
| Public Member Functions inherited from tgui::CallbackManager | |
| void | bindCallback (std::function< void()> func, unsigned int trigger) |
| Bind a function to one or more specific callback trigger(s). More... | |
| template<typename T > | |
| void | bindCallback (void(T::*func)(), T *const classPtr, unsigned int trigger) |
| Bind a function to one or more specific callback trigger(s). More... | |
| void | bindCallbackEx (std::function< void(const Callback &)> func, unsigned int trigger) |
| Bind a function to one or more specific callback trigger(s). More... | |
| template<typename T > | |
| void | bindCallbackEx (void(T::*func)(const Callback &), T *const classPtr, unsigned int trigger) |
| Bind a function to one or more specific callback trigger(s). More... | |
| void | bindCallback (unsigned int trigger) |
| Bind one or more specific callback trigger(s) to the parent widget. More... | |
| void | unbindCallback (unsigned int trigger) |
| Unbind all callback function bound to the given trigger. More... | |
| void | unbindAllCallback () |
| Unbind all callback functions bound to any callback. More... | |
| Public Member Functions inherited from tgui::WidgetBorders | |
| WidgetBorders () | |
| Default constructor. More... | |
| virtual | ~WidgetBorders () |
| Destructor. More... | |
| virtual Borders | getBorders () const |
| Returns the size of the borders as a tgui::Borders. More... | |
| tgui::TextBox::TextBox | ( | ) |
Default constructor.
| tgui::TextBox::TextBox | ( | const TextBox & | copy | ) |
Copy constructor.
| copy | Instance to copy |
|
virtual |
Desturctor.
| void tgui::TextBox::addText | ( | const sf::String & | text | ) |
Appends some text to the text that was already in the text box.
| text | Text that will be added to the text that is already in the text box |
| void tgui::TextBox::changeColors | ( | const sf::Color & | backgroundColor = sf::Color(50, 50, 50) , |
| const sf::Color & | textColor = sf::Color(0, 0, 0) , |
||
| const sf::Color & | selectedTextColor = sf::Color(255, 255, 255) , |
||
| const sf::Color & | selectedTextBackgroundColor = sf::Color(10, 110, 255) , |
||
| const sf::Color & | borderColor = sf::Color(0, 0, 0) , |
||
| const sf::Color & | selectionPointColor = sf::Color(110, 110, 255) |
||
| ) |
Changes the colors from the text box.
| backgroundColor | The color of the background of the text box. |
| textColor | The color of the text |
| selectedTextColor | The color of the text when it is selected |
| selectedTextBackgroundColor | The color of the background of the text that is selected |
| borderColor | The color of the borders |
| selectionPointColor | The color of the flickering selection point |
| const sf::Color& tgui::TextBox::getBackgroundColor | ( | ) | const |
Get the background color that is currently being used inside the text box.
| const sf::Color& tgui::TextBox::getBorderColor | ( | ) | const |
Get the border color that is currently being used inside the text box.
|
virtual |
Returns the full size of the text box.
This is the size including the borders.
Reimplemented from tgui::Transformable.
| const std::string& tgui::TextBox::getLoadedConfigFile | ( | ) | const |
Returns the filename of the config file that was used to load the widget.
| unsigned int tgui::TextBox::getMaximumCharacters | ( | ) | const |
Returns the maximum character limit.
There is no character limit by default.
| const sf::Color& tgui::TextBox::getSelectedTextBackgroundColor | ( | ) | const |
Get the background color of the selected text that is currently being used inside the text box.
| const sf::Color& tgui::TextBox::getSelectedTextColor | ( | ) | const |
Get the text color of the selected text that is currently being used inside the text box.
| const sf::Color& tgui::TextBox::getSelectionPointColor | ( | ) | const |
Get the color that is currently being used inside the text box for the flickering selection point.
| unsigned int tgui::TextBox::getSelectionPointWidth | ( | ) | const |
Returns the width of the selection point.
|
virtual |
Returns the size of the text box.
This size does not include the borders.
Implements tgui::Transformable.
| sf::String tgui::TextBox::getText | ( | ) | const |
Returns the text of the text box.
| const sf::Color& tgui::TextBox::getTextColor | ( | ) | const |
Get the text color that is currently being used inside the text box.
| const sf::Font* tgui::TextBox::getTextFont | ( | ) | const |
Returns the font of the text.
| unsigned int tgui::TextBox::getTextSize | ( | ) | const |
Returns the character size of the text.
| bool tgui::TextBox::load | ( | const std::string & | configFileFilename | ) |
Loads the widget.
| configFileFilename | Filename of the config file. |
The config file must contain a TextBox section with the needed information.
Overload of assignment operator.
| right | Instance to assign |
| void tgui::TextBox::removeScrollbar | ( | ) |
Removes the scrollbar from the text box (if there is one).
When there are too many lines to fit in the text box then some lines will be removed.
| void tgui::TextBox::setBackgroundColor | ( | const sf::Color & | backgroundColor | ) |
Set the background color that will be used inside the text box.
| backgroundColor | The new background color. |
| void tgui::TextBox::setBorderColor | ( | const sf::Color & | borderColor | ) |
Set the border color that will be used inside the text box.
| borderColor | The color of the borders |
|
virtual |
Changes the border width and border height of the text box.
| leftBorder | The width of the left border |
| topBorder | The height of the top border |
| rightBorder | The width of the right border |
| bottomBorder | The height of the bottom border |
Implements tgui::WidgetBorders.
| void tgui::TextBox::setMaximumCharacters | ( | unsigned int | maxChars = 0 | ) |
Changes the maximum character limit.
| maxChars | The new character limit. Set it to 0 to disable the limit. |
This character limit is disabled by default.
| void tgui::TextBox::setReadOnly | ( | bool | readOnly = true | ) |
Make the text box read-only or make it writable again.
| readOnly | Should the text box be read-only? |
When the text box is read-only, you can no longer delete characters and type text. Selecting text, copying text and even calling the setText function will still work.
| bool tgui::TextBox::setScrollbar | ( | const std::string & | scrollbarConfigFileFilename | ) |
Changes the scrollbar of the text box.
| scrollbarConfigFileFilename | Filename of the config file. The config file must contain a Scrollbar section with the needed information. |
| void tgui::TextBox::setSelectedTextBackgroundColor | ( | const sf::Color & | selectedTextBackgroundColor | ) |
Set the background color of the selected text that will be used inside the text box.
| selectedTextBackgroundColor | The new background color. |
| void tgui::TextBox::setSelectedTextColor | ( | const sf::Color & | selectedTextColor | ) |
Set the text color of the selected text that will be used inside the text box.
| selectedTextColor | The new text color. |
| void tgui::TextBox::setSelectionPointColor | ( | const sf::Color & | selectionPointColor | ) |
Set the color that will be used inside the text box for the flickering selection point.
| selectionPointColor | The color of the flickering selection point |
| void tgui::TextBox::setSelectionPointPosition | ( | unsigned int | charactersBeforeSelectionPoint | ) |
Sets the flickering selection point to after a specific character.
| charactersBeforeSelectionPoint | The amount of characters that are before the selection point |
Normally you will not need this function.
| void tgui::TextBox::setSelectionPointWidth | ( | unsigned int | width = 2 | ) |
This will change the width of the selection point.
| width | New width of the selection point |
|
virtual |
Changes the size of the text box.
This size does not include the borders.
| width | The new width of the text box |
| height | The new height of the text box |
Implements tgui::Transformable.
| void tgui::TextBox::setText | ( | const sf::String & | text | ) |
Changes the text of the text box.
| text | New text |
| void tgui::TextBox::setTextColor | ( | const sf::Color & | textColor | ) |
Set the text color that will be used inside the text box.
| textColor | The new text color. |
| void tgui::TextBox::setTextFont | ( | const sf::Font & | font | ) |
Changes the font of the text.
When you don't call this function then the global font will be use. This global font can be changed with the setGlobalFont function from the parent.
| font | The new font |
| void tgui::TextBox::setTextSize | ( | unsigned int | size | ) |
Changes the character size of the text.
| size | The new text size. The minimum text size is 8. |
|
virtual |
Changes the transparency of the widget.
| transparency | The transparency of the widget. 0 is completely transparent, while 255 (default) means fully opaque. |
Note that this will only change the transparency of the images. The parts of the widgets that use a color will not be changed. You must change them yourself by setting the alpha channel of the color.
Reimplemented from tgui::Widget.


This module defines a stack.
A stack is a buffer where the last element added is the first element to be retrieved, or LIFO (Last In First Out).
A simple stack implementation
This stack acts as an ouput range for adding elements to the queue, and as an input range for retrieving them.
Properties
| bool empty | True if the stack is empty |
| ref E front | The top element of the stack |
Methods
| void put(E e) | Adds e to the top of the stack |
| void popFront() | Removes the top element from the stack. |


Traditionaly the Akan people of Ghana name their children according to when you you were born . After this you can find your Akan name bet You will and hope you will like it lets see what will be , maybe even you will use it as your nick name if its short and intresting.
Fill the form to get your Akan name:


|
Process-in-Process
|
Functions | |
| int | pip_yield (int flag) |
| Yield. More... | |
| int | pip_barrier_init (pip_barrier_t *barrp, int n) |
| initialize barrier synchronization structure More... | |
| int | pip_barrier_wait (pip_barrier_t *barrp) |
| wait on barrier synchronization in a busy-wait way More... | |
| int | pip_barrier_fin (pip_barrier_t *barrp) |
| finalize barrier synchronization structure More... | |
| int pip_yield | ( | int | flag | ) |
| [in] | flag | to specify the behavior of yielding. Unused and reserved for BLT/ULP (in PiP-v3) |
| int pip_barrier_init | ( | pip_barrier_t * | barrp, |
| int | n | ||
| ) |
| [in] | barrp | pointer to a PiP barrier structure |
| [in] | n | number of participants of this barrier synchronization |
| EPERM | PiP library is not yet initialized or already finalized |
| EINAVL | n is invalid |
| int pip_barrier_wait | ( | pip_barrier_t * | barrp | ) |
| [in] | barrp | pointer to a PiP barrier structure |
| EPERM | PiP library is not yet initialized or already finalized |
| int pip_barrier_fin | ( | pip_barrier_t * | barrp | ) |
| [in] | barrp | pointer to a PiP barrier structure |
| EPERM | PiP library is not yet initialized or already finalized |
| EBUSY | there are some tasks wating for barrier synchronization |


Class: Rails::AppBuilder
| Relationships & Source Files | |
| Inherits: | Object |
| Defined in: | railties/lib/rails/generators/rails/app/app_generator.rb |
Overview
The application builder allows you to override elements of the application generator without being forced to reverse the operations of the default generator.
This allows you to override entire operations, like the creation of the Gemfile, README, or JavaScript files, without needing to know exactly what those operations do so you can create another template action.
Instance Method Summary
Instance Method Details
#app
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 56
def app directory 'app' keep_file 'app/assets/images' keep_file 'app/mailers' keep_file 'app/models' keep_file 'app/controllers/concerns' keep_file 'app/models/concerns' end
#bin
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 67
def bin directory "bin" do |content| "#{shebang}\n" + content end chmod "bin", 0755 & ~File.umask, verbose: false end
#config
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 74
def config empty_directory "config" inside "config" do template "routes.rb" template "application.rb" template "environment.rb" template "secrets.yml" directory "environments" directory "initializers" directory "locales" end end
#config_when_updating
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 89
def config_when_updating = File.exist?('config/initializers/cookies_serializer.rb') to_time_preserves_timezone_config_exist = File.exist?('config/initializers/to_time_preserves_timezone.rb') config unless gsub_file 'config/initializers/cookies_serializer.rb', /json/, 'marshal' end unless to_time_preserves_timezone_config_exist remove_file 'config/initializers/to_time_preserves_timezone.rb' end end
#configru
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 48
def configru template "config.ru" end
#database_yml
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 104
def database_yml template "config/databases/#{ [:database]}.yml", "config/database.yml" end
#db
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 108
def db directory "db" end
#gemfile
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 44
def gemfile template "Gemfile" end
#gitignore
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 52
def gitignore template "gitignore", ".gitignore" end
#lib
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 112
def lib empty_directory 'lib' empty_directory_with_keep_file 'lib/tasks' empty_directory_with_keep_file 'lib/assets' end
#log
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 118
def log empty_directory_with_keep_file 'log' end
#public_directory
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 122
def public_directory directory "public", "public", recursive: false end
#rakefile
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 36
def rakefile template "Rakefile" end
#readme
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 40
def readme copy_file "README.rdoc", "README.rdoc" end
#test
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 126
def test empty_directory_with_keep_file 'test/fixtures' empty_directory_with_keep_file 'test/controllers' empty_directory_with_keep_file 'test/mailers' empty_directory_with_keep_file 'test/models' empty_directory_with_keep_file 'test/helpers' empty_directory_with_keep_file 'test/integration' template 'test/test_helper.rb' end
#tmp
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 137
def tmp empty_directory "tmp/cache" empty_directory "tmp/cache/assets" end
#vendor
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 142
def vendor vendor_javascripts vendor_stylesheets end
#vendor_javascripts
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 147
def vendor_javascripts unless [:skip_javascript] empty_directory_with_keep_file 'vendor/assets/javascripts' end end
#vendor_stylesheets
[ GitHub ]# File 'railties/lib/rails/generators/rails/app/app_generator.rb', line 153
def vendor_stylesheets empty_directory_with_keep_file 'vendor/assets/stylesheets' end


Note: Since your browser does not support JavaScript, you must press the button below once to proceed.


Please refresh your page to save changes.
You need a unique username and a News API key to use Dewey. Get yours here.
Checked Subreddits
Click here to get a News API Key.


Hello, Peter Static!
Your request for access to group [[${groupName}]] has been Accepted. Changes will take affect upon successful login of your account.
Your request for access to group [[${groupName}]] has been Declined. We are sorry for the inconvenience.
Regards,
The Knappsack Team


@Deprecated
public enum EventType
public static EventType GAME_INIT_EVENT
class GameInitEvent
public static EventType GAME_START_EVENT
class GameStartEvent
public static EventType GAME_JOIN_EVENT
class GameJoinEvent
public static EventType GAME_JOIN_POST_EVENT
class GameJoinPostEvent
public static EventType GAME_LEAVE_EVENT
class GameLeaveEvent
public static EventType GAME_TIMEOUT_EVENT
class GameTimeoutEvent
public static EventType GAME_FINISH_EVENT
class GameFinishEvent
public static EventType AREA_ENTER_EVENT
class GameAreaEnterEvent
public static EventType AREA_EXIT_EVENT
class GameAreaExitEvent
public static EventType PLAYER_KILL_EVENT
class GamePlayerKillEvent
public static EventType PLAYER_DEATH_EVENT
class GamePlayerDeathEvent
public static EventType PLAYER_INTERACT_EVENT
class GamePlayerInteractEvent
public static EventType ENTITY_DAMAGE_EVENT
class GameEntityDamageEvent


Android isn't open enough to give you some of the features you want. Power up your hardware,get features like Beats Audio from other phones, or emulate exclusive features like those on the Moto X.Whatever you want,rooting your phone gives you the power to do a lot more.
probably You've heard of Tasker, the app that automates just about anything on your phone. You don't need to root your phone to use it, but if you're rooted, it can do a whole lot more. Certain tasks, like toggling 3G, GPS, changing CPU speed, turning the screen on, and others require root access. So, if you want to get the full benefit of an app like Tasker, you'll definitely want to root your phone.
with root—as always—you have even more power. For example, with an app like SetCPU you can overclock your phone for better performance, or underclock it for better battery life. You can also use With this app : Greenify : You automatically hibernate apps you aren't using—perfect for those apps that always want to run in the background when you're not looking.
We understand the need for occasional ads—which is a menner to make money. If you want to block ads in certain apps or on certain devices, rooting is by far the best way to do so. AdFree, AdBlock Plus, and Ad Away are all great options, if you aren't rooted, >
You can back up your apps and settings first when you restor you device or you have a new device. That way, you can get your entire setup back in just a few taps.you can back up apps and data,If you aren't rooted, but you won't necessarily be able to backup system apps and their data, or automate the entire process as well as Titanium Backup can.
Titanium Backup can also uninstall that annoying, battery-draining, space-wasting crapware that comes preinstalled on so many phones these days—and, bur you need to have, root. Photo by Daniel Sancho.
rooting gives you the power to tweak just about any thinhg you can think of Whether you want to customize your keyboard layout with something like Keyboard Manager or give yourself faster scrolling, improved multitasking, and extra themes with Pimp My ROM, rooting gives you the power to tweak just about any corner you can think of. If you want to do it, chances are someone over on a forum like XDA has created a mini-app or tweak that will help.
Some of Android's tweaks require a custom rom, which you can only flash with a rooted device. The kernel is responsible for helping your apps communicate with the hardware of your phone, which means a custom kernel can give you better performance, battery life, and even extra features like Wi-Fi tethering (on unsupported phones), faster battery charging, and lots more. You can flash kernels manually or simplify the process with something like Kernel Manager.
Advertisement
A custom ROM is a custom version of Android, and it truly changes how you use your phone. Some merely bring a stock version of Android to non-stock phones, or later versions of Android to phones that don't have it yet. Some add a few handy features, some add lots of really unique features, and some change your operating system from head to toe. No matter what phone you have—even if it's a Nexus —we highly recommend checking out the custom ROMs out there. You won't be disappointed. Note: As some of you have noted, you don't actually need root access to flash a custom ROM—though you will need to unlock your bootloader (a process that sometimes comes bundled with root access). Still, it requires freeing your device from manufacturer lockdowns, so we've kept it in the list despite this technicality!
All of this means that: you own your device, and you should be able to do with it as you please. Certain manufacturers and carriers try to keep that from happening, but with root access, you truly own your device and open yourself up to all the possibilities other parties try to block. Sure, there's some risk involved, and we don't usually recommend rooting other people's phones, but in the end, you can't put a price on true openness and control. Photo by Andrew Mason.


public interface LiteralLabel
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other)
Answer true iff this literal is syntactically equal to
other . |
RDFDatatype |
getDatatype()
Answer the datatype of this literal, null if it is untyped.
|
String |
getDatatypeURI()
Answer the datatype URI of this literal, null if it untyped.
|
int |
getDefaultHashcode()
Answer the default hash value, suitable for datatypes which have values
which support hashCode() naturally: it is derived from its value if it is
well-formed and otherwise from its lexical form.
|
Object |
getIndexingValue()
Answer the value used to index this literal
TODO Consider pushing indexing decisions down to the datatype
|
String |
getLexicalForm()
Answer the lexical form of this literal, constructing it on-the-fly
(and remembering it) if necessary.
|
Object |
getValue()
Answer a suitable instance of a Java class representing this literal's
value.
|
int |
hashCode()
Answer the hashcode of this literal, derived from its value if it's
well-formed and otherwise its lexical form.
|
boolean |
isWellFormed()
Answer true iff this is a well-formed literal.
|
boolean |
isWellFormedRaw()
Answer true iff the wellformed flag is true.
|
boolean |
isXML()
Answer true iff this is a well-formed XML literal.
|
String |
language()
Answer the language associated with this literal (the empty string if
there's no language).
|
boolean |
sameValueAs(LiteralLabel other)
Answer true if this literal represents the same (abstract) value as
the other one.
|
String |
toString() |
String |
toString(boolean quoting)
Answer a human-acceptable representation of this literal value.
|
boolean isXML()
boolean isWellFormed()
boolean isWellFormedRaw()
String toString(boolean quoting)
String getLexicalForm()
Object getIndexingValue()
String language()
Object getValue() throws DatatypeFormatException
DatatypeFormatException
RDFDatatype getDatatype()
String getDatatypeURI()
boolean equals(Object other)
other
.
Note: this is not sameValueAs
.boolean sameValueAs(LiteralLabel other)
int hashCode()
int getDefaultHashcode()
Licenced under the Apache License, Version 2.0


public class AdKeywordStats extends NamedAdsObject
| Constructor and Description |
|---|
AdKeywordStats() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
addAction(AdsActionStats action) |
boolean |
addUniqueAction(AdsActionStats uniqueAction) |
List<AdsActionStats> |
getActions() |
Integer |
getClicks()
The total number of clicks on your ad.
|
Double |
getCostPerTotalAction()
The average you've spent on actions.
|
Double |
getCostPerUniqueClick()
The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique
clicks received.
|
Double |
getCpc()
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received.
|
Double |
getCpm()
The average cost you've paid to have 1,000 impressions on your ad.
|
Double |
getCpp()
The average cost you've paid to have your ad served to 1,000 unique people.
|
Double |
getCtr()
The number of clicks you received divided by the number of impressions.
|
Double |
getFrequency()
The average number of times your ad was served to each person.
|
Integer |
getImpressions()
The number of times your ad was served.
|
Integer |
getReach()
The number of people your ad was served to.
|
Double |
getSpend()
The total amount you've spent so far.
|
Integer |
getTotalActions()
The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't
click on it.
|
Integer |
getTotalUniqueActions()
The number of unique people who took an action such as liking your Page or installing your app as a result of your
ad.
|
List<AdsActionStats> |
getUniqueActions() |
Integer |
getUniqueClicks()
The total number of unique people who have clicked on your ad.
|
Double |
getUniqueCtr()
The number of people who clicked on your ad divided by the number of people you reached.
|
Integer |
getUniqueImpressions()
The number of people your ad was served to.
|
boolean |
removeAction(AdsActionStats action) |
boolean |
removeUniqueAction(AdsActionStats uniqueAction) |
void |
setClicks(Integer clicks)
The total number of clicks on your ad.
|
void |
setCostPerTotalAction(Double costPerTotalAction)
The average you've spent on actions.
|
void |
setCostPerUniqueClick(Double costPerUniqueClick)
The average cost per unique click for these ads, calculated as the amount spent divided by the number of unique
clicks received.
|
void |
setCpc(Double cpc)
The average cost per click for these ads, calculated as the amount spent divided by the number of clicks received.
|
void |
setCpm(Double cpm)
The average cost you've paid to have 1,000 impressions on your ad.
|
void |
setCpp(Double cpp)
The average cost you've paid to have your ad served to 1,000 unique people.
|
void |
setCtr(Double ctr)
The number of clicks you received divided by the number of impressions.
|
void |
setFrequency(Double frequency)
The average number of times your ad was served to each person.
|
void |
setImpressions(Integer impressions)
The number of times your ad was served.
|
void |
setReach(Integer reach)
The number of people your ad was served to.
|
void |
setSpend(Double spend)
The total amount you've spent so far.
|
void |
setTotalActions(Integer totalActions)
The number of actions taken on your ad, Page, app or event after your ad was served to someone, even if they didn't
click on it.
|
void |
setTotalUniqueActions(Integer totalUniqueActions)
The number of unique people who took an action such as liking your Page or installing your app as a result of your
ad.
|
void |
setUniqueClicks(Integer uniqueClicks)
The total number of unique people who have clicked on your ad.
|
void |
setUniqueCtr(Double uniqueCtr)
The number of people who clicked on your ad divided by the number of people you reached.
|
void |
setUniqueImpressions(Integer uniqueImpressions)
The number of people your ad was served to.
|
getName, setName
getId, setId
equals, hashCode, toString
public AdKeywordStats()
public List<AdsActionStats> getActions()
public boolean addAction(AdsActionStats action)
public boolean removeAction(AdsActionStats action)
public List<AdsActionStats> getUniqueActions()
public boolean addUniqueAction(AdsActionStats uniqueAction)
public boolean removeUniqueAction(AdsActionStats uniqueAction)
@Generated(value="lombok") public Integer getImpressions()
@Generated(value="lombok") public void setImpressions(Integer impressions)
@Generated(value="lombok") public Integer getUniqueImpressions()
@Generated(value="lombok") public void setUniqueImpressions(Integer uniqueImpressions)
@Generated(value="lombok") public Integer getReach()
@Generated(value="lombok") public void setReach(Integer reach)
@Generated(value="lombok") public Integer getClicks()
@Generated(value="lombok") public void setClicks(Integer clicks)
@Generated(value="lombok") public Integer getUniqueClicks()
@Generated(value="lombok") public void setUniqueClicks(Integer uniqueClicks)
@Generated(value="lombok") public Integer getTotalActions()
@Generated(value="lombok") public void setTotalActions(Integer totalActions)
@Generated(value="lombok") public Integer getTotalUniqueActions()
@Generated(value="lombok") public void setTotalUniqueActions(Integer totalUniqueActions)
@Generated(value="lombok") public Double getSpend()
@Generated(value="lombok") public void setSpend(Double spend)
@Generated(value="lombok") public Double getCtr()
@Generated(value="lombok") public void setCtr(Double ctr)
@Generated(value="lombok") public Double getUniqueCtr()
@Generated(value="lombok") public void setUniqueCtr(Double uniqueCtr)
@Generated(value="lombok") public Double getCpm()
@Generated(value="lombok") public void setCpm(Double cpm)
@Generated(value="lombok") public Double getCpp()
@Generated(value="lombok") public void setCpp(Double cpp)
@Generated(value="lombok") public Double getCpc()
@Generated(value="lombok") public void setCpc(Double cpc)
@Generated(value="lombok") public Double getCostPerTotalAction()
@Generated(value="lombok") public void setCostPerTotalAction(Double costPerTotalAction)
@Generated(value="lombok") public Double getCostPerUniqueClick()
@Generated(value="lombok") public void setCostPerUniqueClick(Double costPerUniqueClick)
@Generated(value="lombok") public Double getFrequency()
@Generated(value="lombok") public void setFrequency(Double frequency)
RestFB 2.0.0-rc.2. Copyright © 2010-2015 Mark Allen. All Rights Reserved.


--- layout: post title: Smart Doorbell using RPi with voice and email notification. date: 2015-01-11 03:58:43.000000000 +02:00 type: post parent_id: '0' published: true password: '' status: publish categories: - Python - Raspberry Pi tags: - Raspberry Pi - python meta: _edit_last: '49460244' geo_public: '0' publicize_facebook_url: https://facebook.com/10204257360889148 _wpas_done_3508581: '1' _publicize_done_external: a:1:{s:8:"facebook";a:1:{i:1081800551;b:1;}} author: login: mpho112 email<EMAIL_ADDRESS>display_name: Mpho first_name: '' last_name: '' ---
Part of my project involves having a doorbell, I figured a simple doorbell whereby a visitor just presses a button and then it rings/ notify whoever is it the house, That's not really creative in my point of view.
So I then decided why not have a doorbell that not only rings when the button is pressed but also tell you someone is at the door and then sends you an email notification just in case you might be away(Not able to hear the bell.) as well as log the time that the button was pressed.
IDEA: It would be really cool if I had a USB Webcam that would take a picture of the person visiting and emails it.
first things first, we'll need to create the wav file ie TextToSpeech. Using this simple tool below.
[sourcecode language="bash"]
pico2wave -w DoorNotify.wav "Someone is ringing the doorbell. Please Go Check"
[/sourcecode]
Next, create a python script that will watch the state of GPIO pin 18 on the RPi and take some action when the doorbell brings it to ‘HIGH’.
[sourcecode language="python"]
#!/usr/bin/env python2.7
__author__ = "Mpho Mphego"
__version__ = "$Revision: 1.1 $"
__description__ = "Smart Doorbell Notifier with voice and email notification : Interrupt driven"
__date__ = "$Date: 2015/01/11 02:23 $"
__copyright__ = "Copyright (c) 2015 Mpho Mphego"
__url__ = "mmphego.wordpress.com"
__license__ = "Python"
import RPi.GPIO as GPIO
import time
import os
# Connect to Relay which will control the 12V Buzzer.
led = 17 #GPIO0
button = 18 #GPIO1
GPIO.setwarnings(False)
GPIO.setmode(GPIO.BCM)
GPIO.setup(led, GPIO.OUT)
time.sleep(0.1)
GPIO.output(led, False)
# GPIO 1 set up as inputs, pulled up to avoid false detection.
# Both ports are wired to connect to GND on button press.
# So we'll be setting up falling edge detection for both
GPIO.setup(button, GPIO.IN, pull_up_down=GPIO.PUD_UP)
# define callback functions
# this will run when an event are detected
def buttonHandler(channel):
print "falling edge detected on 18"
GPIO.output(led, True)
time.sleep(1)
GPIO.output(led, False)
os.system("aplay /home/pi/Scripts/Smart_DoorBell/DoorNotify.wav")
os.system("python /home/pi/Scripts/Smart_DoorBell/DoorBellLogger.py")
time.sleep(1)
GPIO.output(led, True)
time.sleep(1)
GPIO.output(led, False)
# when a falling edge is detected on port 1, regardless of whatever
# else is happening in the program, the function buttonHandler will be run
GPIO.add_event_detect(button, GPIO.FALLING, callback=buttonHandler, bouncetime=5000)
try:
print "Waiting for button to be pressed"
while True:
# To ease the CPU Usage have a 10s delay on while loop.
time.sleep(10)
continue
except:
GPIO.cleanup() # clean up GPIO on CTRL+C exit
GPIO.cleanup() # clean up GPIO on normal exit
print "Clean up by resetting all GPIO"
[/sourcecode]
Now for the fun part, the email notification and data log.
[sourcecode language="python"]
#!/usr/bin/env python
__author__ = "Mpho Mphego"
__description__ = "Doorbell notifier time logger and email notifier."
__version__ = "$Revision: 1.0 $"
__date__ = "$Date: 2015/01/10 02:09 $"
__copyright__ = "Copyright (c) 2015 Mpho Mphego"
__license__ = "Python"
import time
import datetime
import os
import smtplib
from email.mime.text import MIMEText
#-----------------------Data Logger-----------------
f=open('/home/pi/Logs/DoorBell_Data_Log.txt','a')
now = datetime.datetime.now()
timestamp = now.strftime("%H:%M on %Y/%m/%d")
outstring1 = " Someone was at the door at " + str(timestamp)
outstring2 = "\n********************************************* \n "
outstring = outstring1 + outstring2
f.write(outstring)
f.close()
# -----------------------Email Notifier----------------------
# Replace with your details.
USERNAME =<EMAIL_ADDRESS>PASSWORD = "*********"
MAILTO =<EMAIL_ADDRESS>if os.system("ping -c 1 www.google.com >> /dev/null 2&>1") == 0 :
print "Sending Email Notification"
msg = MIMEText('Someone is ringing the doorbell! \nGo Check!')
msg['Subject'] = 'Doorbell notification!'
msg['From'] = USERNAME
msg['To'] = MAILTO
server = smtplib.SMTP('smtp.gmail.com:587')
server.ehlo_or_helo_if_needed()
server.starttls()
server.ehlo_or_helo_if_needed()
server.login(USERNAME,PASSWORD)
server.sendmail(USERNAME, MAILTO, msg.as_string())
server.quit()
else:
print "Unable to connect to Internet."
[/sourcecode]
To have this run upon booting, we need to edit /etc/rc.local (as root since this is the owner).
[sourcecode language="bash"]
sudo nano /etc/rc.local
[/sourcecode]
At the bottom, just above exit 0 we’ll add a call to our script.
[sourcecode language="bash"]
python /home/pi/Scripts/Smart_DoorBell/WaitDoorbell.py
[/sourcecode]


Github
About inventarium
Team
Anton Davydov
Founder
github
LinkedIn
About
Contact
©2020 All right reserved.


tlmgr path
Add or remove symlinks for TeX Live executables, man pages and info pages.
This command has to be re-run for files added in the future.
More information: home page
- Add symlinks to TeX Live files:
sudo tlmgr path add
- Remove symlinks to TeX Live files:
sudo tlmgr path remove


1 - What a Web Page is
A web page is a text document written in a language called HTML. Web browsers read these documents, and then interpret and display them.
The web The web is made up of primarily of HTML. Other files include plain text, images, videos and music. Hyper Links connect websites to other websites
The web was founded in 1990s and has over 30 Billion pages
2 - How Coding Works
Coding happens when programmers write text in a language that a computer can understand. The computer can then follow the instructions the programmer wrote.
3 - Computers are Stupid
Programmers need to write exactly the way a computer understands (correct syntax).
4 - Programmers Can’t Remember Everything
There are too many details to keep everything in your head. You can always look it up.
5 - Basic HTML Vocabulary
HTML = HyperText Markup Language.


jobman.utils package¶
Submodules¶
jobman.utils.config_utils module¶
jobman.utils.debug_utils module¶
jobman.utils.dot_spec_loader module¶
Utilities for loading values from python dot specs paths.
-
class
jobman.utils.dot_spec_loader.
DotSpecLoader
[source]¶ Bases:
object
-
classmethod
load_from_dot_spec
(dot_spec=None)[source]¶ Parameters: dot_spec (str) – dot_spec should be a period-separated path, like a python module path. A dot_spec can two parts separated by a ‘:’. In this case the first part of the path will be interpreted as a module path, and the second part of the path will be interpreted as the dot_path to a member of that module.
-
classmethod


title: Contact Us description: Get in touch with the people behind Crate! {% extends "base.html" %} {% block header %}
Get in touch with the people behind Crate!
Crate.IO US Inc.
620 Folsom Street
San Francisco, CA 94107
United States
Show on Google Maps
Crate.IO GmbH
Prinzessinnenstraße 19-20
10969 Berlin
Germany
Show on Google Maps
CRATE Technology GmbH
Hintere Achmühlerstraße 1
6850 Dornbirn
Austria
Show on Google Maps
| Media |<EMAIL_ADDRESS>|
| Meetups |<EMAIL_ADDRESS>|
| Partnering / Business Development |<EMAIL_ADDRESS>|
| IRC | http://webchat.freenode.net/?channels=crate |
| Github | https://github.com/crate |
|<EMAIL_ADDRESS>|


One of our basic stars.
A red giant that a client requested to be blue.

A particularly bright white dwarf.
A black dwarf found pre-made for a client.
A chart of the star life cycle, which also shows some of our options for clients to choose from
A neutron star found pre-made.
"This was the best thing I could've asked for!" -Ben Doofenshmirtz
"AHHHHHHHHHHHHHHH ITS HOT!!!!!!!!!!!!!!!!"-John Jiggly
"I love these guys the shipping care was incredible it came with all my specifications!"-Oliver Henry
"Incredibly reliable company. I've been a customer for a long time and their quality has never decreased!"- Travis Presley


Home
About
Contact
Contact
I would love to hear from you. Contact me with any questions that you may have.
P:
816.267.9059
Support:
Shane.Linville@outlook.com


Join the numbers and get to the 2048 tile!
New Game
2048 : Modified with autoplay by SchizoDuckie
Autoplay stops at 14 tiles on screen so that you have a chance to fix the rest of the game yourself.
Ceci n'est pas une A.I.!
This is just a script that automatically sends 'down', 'right' keys to the screen until the board is locked in place. After that, it presses 'left', 'down', and switches back to 'down','right'.
How to play: Use your arrow keys to move the tiles. When two tiles with the same number touch, they merge into one!Created by Gabriele Cirulli. Based on 1024 by Veewo Studio and conceptually similar to Threes by Asher Vollmer.


The Jungle
by Upton Sinclair
Chapter 19
Additional Information
- Year Published: 1906
- Language: English
- Country of Origin: United States of America
- Source: Sinclair, Upton. (1906). The Jungle. New York: Doubleday, Jabber, and Co.
-
Readability:
- Flesch–Kincaid Level: 8.8
- Word Count: 4,279
- Genre: Realism
- Keywords: social injustice
- ✎ Cite This
Downloads
“Madame Haupt, Hebamme, ran a sign, swinging from a second-story window over a saloon on the avenue; at a side door was another sign, with a hand pointing up a dingy flight of stairs. Jurgis went up them, three at a time.
Madame Haupt was frying pork and onions, and had her door half open to let out the smoke. When he tried to knock upon it, it swung open the rest of the way, and he had a glimpse of her, with a black bottle turned up to her lips. Then he knocked louder, and she started and put it away. She was a Dutchwoman, enormously fat—when she walked she rolled like a small boat on the ocean, and the dishes in the cupboard jostled each other.
“Vot is it?” she said, when she saw Jurgis.
He had run like mad all the way and was so out of breath he could hardly speak. His hair was flying and his eyes wild—he looked like a man that had risen from the tomb. “My wife!” he panted. “Come quickly!” Madame Haupt set the frying pan to one side and wiped her hands on her wrapper.
“You vant me to come for a case?” she inquired.
“Yes,” gasped Jurgis.
“I haf yust come back from a case,” she said.  Still—if it is so bad—”
“Yes—it is!” cried he. “Vell, den, perhaps—vot you pay?”
“I—I—how much do you want?” Jurgis stammered.
“Tventy-five dollars.” His face fell. “I can’t pay that,” he said.
The woman was watching him narrowly. “How much do you pay?” she demanded.
“Must I pay now—right away?”
“Yes; all my customers do.”
“I—I haven’t much money,” Jurgis began in an agony of dread. “I’ve been in—in trouble—and my money is gone. But I’ll pay you—every cent—just as soon as I can; I can work—”
“Vot is your work?”
“I have no place now. I must get one. But I—”
“How much haf you got now?”
He could hardly bring himself to reply. When he said “A dollar and a quarter,” the woman laughed in his face.
“I vould not put on my hat for a dollar and a quarter,” she said.
“It’s all I’ve got,” he pleaded, his voice breaking.  I can’t help it—I—”
Madame Haupt had put back her pork and onions on the stove. She turned to him and answered, out of the steam and noise: “Git me ten dollars cash, und so you can pay me the rest next mont’.”
“I can’t do it—I haven’t got it!” Jurgis protested. “I tell you I have only a dollar and a quarter.”
The woman turned to her work. “I don’t believe you,” she said. “Dot is all to try to sheat me.  “They gave me this. I have done everything I can—”
“Haven’t you got notting you can sell?”
“I have nothing, I tell you—I have nothing,” he cried, frantically.
“Can’t you borrow it, den? Don’t your store people trust you?”  I vill save your wife und baby for you, and it vill not seem like mooch to you in de end.  Und here is a lady dot knows her business—I could send you to people in dis block, und dey vould tell you—”
Madame Haupt was pointing her cooking-fork at Jurgis persuasively; but her words were more than he could bear. He flung up his hands with a gesture of despair and turned and started away. “It’s no use,” he exclaimed—but suddenly he heard the woman’s voice behind him again—
“I vill make it five dollars for you.”
She followed behind him, arguing with him. “You vill be foolish not to take such an offer,” she said. “You von’t find nobody go out on a rainy day like dis for less. Vy, I haf never took a case in my life so sheap as dot. I couldn’t pay mine room rent—”
Jurgis interrupted her with an oath of rage. “If I haven’t got it,” he shouted, “how can I pay it? Damn it, I would pay you if I could, but I tell you I haven’t got it. I haven’t got it! Do you hear me I haven’t got it!”
He turned and started away again. He was halfway down the stairs before Madame Haupt could shout to him: “Vait!  Come back!”
He went back into the room again.
“It is not goot to tink of anybody suffering,” she said, in a melancholy voice. “I might as vell go mit you for noffing as vot you offer me, but I vill try to help you. How far is it?”
“Three or four blocks from here.”
“Tree or four! Und so I shall get soaked! Gott in Himmel, it ought to be vorth more! Vun dollar und a quarter, und a day like dis!—But you understand now—you vill pay me de rest of twenty-five dollars soon?”
“As soon as I can.”
“Some time dis mont’?”
“Yes, within a month,” said poor Jurgis. “Anything! Hurry up!”
“Vere is de dollar und a quarter?” persisted Madame Haupt, relentlessly.
Jurgis put the money on the table and the woman counted it and stowed it away. Then she wiped her greasy hands again and proceeded to get ready, complaining all the time; she was so fat that it was painful for her to move, and she grunted and gasped at every step. She took off her wrapper without even taking the trouble to turn her back to Jurgis, and put on her corsets and dress.  When they were on the street he kept about four paces ahead of her, turning now and then, as if he could hurry her on by the force of his desire. But Madame Haupt could only go so far at a step, and it took all her attention to get the needed breath for that.
They came at last to the house, and to the group of frightened women in the kitchen. It was not over yet, Jurgis learned—he heard Ona crying still; and meantime Madame Haupt removed her bonnet and laid it on the mantelpiece, and got out of her bag, first an old dress and then a saucer of goose grease, which she proceeded to rub upon her hands. The more cases this goose grease is used in, the better luck it brings to the midwife, and so she keeps it upon her kitchen mantelpiece or stowed away in a cupboard with her dirty clothes, for months, and sometimes even for years.
Then they escorted her to the ladder, and Jurgis heard her give an exclamation of dismay.  I could not climb up dot ladder. I could not git troo a trap door! I vill not try it—vy, I might kill myself already.   Jurgis stood in the doorway and listened to her scolding, half drowning out the horrible moans and screams of Ona.
At last Aniele succeeded in pacifying her, and she essayed the ascent; then, however, she had to be stopped while the old woman cautioned her about the floor of the garret. They had no real floor—they had laid old boards in one part to make a place for the family to live; it was all right and safe there, but the other part of the garret had only the joists of the floor, and the lath and plaster of the ceiling below, and if one stepped on this there would be a catastrophe. As it was half dark up above, perhaps one of the others had best go up first with a candle. Then there were more outcries and threatening, until at last Jurgis had a vision of a pair of elephantine legs disappearing through the trap door, and felt the house shake as Madame Haupt started to walk. Then suddenly Aniele came to him and took him by the arm.
“Now,” she said, “you go away. Do as I tell you—you have done all you can, and you are only in the way. Go away and stay away.”
“But where shall I go?” Jurgis asked, helplessly.
“I don’t know where,” she answered. “Go on the street, if there is no other place—only go! And stay all night!”
In the end she and Marija pushed him out of the door and shut it behind him. It was just about sundown, and it was turning cold—the rain had changed to snow, and the slush was freezing. Jurgis shivered in his thin clothing, and put his hands into his pockets and started away. He had not eaten since morning, and he felt weak and ill; with a sudden throb of hope he recollected he was only a few blocks from the saloon where he had been wont to eat his dinner. They might have mercy on him there, or he might meet a friend. He set out for the place as fast as he could walk.
“Hello, Jack,” said the saloonkeeper, when he entered—they call all foreigners and unskilled men “Jack” in Packingtown. “Where’ve you been?”
Jurgis went straight to the bar. “I’ve been in jail,” he said, “and I’ve just got out. I walked home all the way, and I’ve not a cent, and had nothing to eat since this morning. And I’ve lost my home, and my wife’s ill, and I’m done up.”
 Then he pushed a big bottle toward him. “Fill her up!” he said.
Jurgis could hardly hold the bottle, his hands shook so.
“Don’t be afraid,” said the saloonkeeper, “fill her up!”
So Jurgis drank a large glass of whisky, and then turned to the lunch counter, in obedience to the other’s suggestion. He ate all he dared, stuffing it in as fast as he could; and then, after trying to speak his gratitude, he went and sat down by the big red stove in the middle of the room.
It was too good to last, however—like all things in this hard world. His soaked clothing began to steam, and the horrible stench of fertilizer to fill the room. In an hour or so the packing houses would be closing and the men coming in from their work; and they would not come into a place that smelt of Jurgis. Also it was Saturday night, and in a couple of hours would come a violin and a cornet, and in the rear part of the saloon the families of the neighborhood would dance and feast upon wienerwurst and lager, until two or three o’clock in the morning. The saloon-keeper coughed once or twice, and then remarked, “Say, Jack, I’m afraid you’ll have to quit.”
He was used to the sight of human wrecks, this saloonkeeper; he “fired” dozens of them every night, just as haggard and cold and forlorn as this one. But they were all men who had given up and been counted out, while Jurgis was still in the fight, and had reminders of decency about him. As he got up meekly, the other reflected that he had always been a steady man, and might soon be a good customer again. “You’ve been up against it, I see,” he said. “Come this way.”
In the rear of the saloon were the cellar stairs. There was a door above and another below, both safely padlocked, making the stairs an admirable place to stow away a customer who might still chance to have money, or a political light whom it was not advisable to kick out of doors.
So Jurgis spent the night. The whisky had only half warmed him, and he could not sleep, exhausted as he was; he would nod forward, and then start up, shivering with the cold, and begin to remember again. Hour after hour passed, until he could only persuade himself that it was not morning by the sounds of music and laughter and singing that were to be heard from the room. When at last these ceased, he expected that he would be turned out into the street; as this did not happen, he fell to wondering whether the man had forgotten him.
In the end, when the silence and suspense were no longer to be borne, he got up and hammered on the door; and the proprietor came, yawning and rubbing his eyes. He was keeping open all night, and dozing between customers.
“I want to go home,” Jurgis said. “I’m worried about my wife—I can’t wait any longer.”
“Why the hell didn’t you say so before?” said the man. “I thought you didn’t have any home to go to.” Jurgis went outside. It was four o’clock in the morning, and as black as night. There were three or four inches of fresh snow on the ground, and the flakes were falling thick and fast. He turned toward Aniele’s and started at a run.
There was a light burning in the kitchen window and the blinds were drawn. The door was unlocked and Jurgis rushed in.
Aniele, Marija, and the rest of the women were huddled about the stove, exactly as before; with them were several newcomers, Jurgis noticed—also he noticed that the house was silent.
“Well?” he said.
 He cried again: “Well?”
And then, by the light of the smoky lamp, he saw Marija who sat nearest him, shaking her head slowly. “Not yet,” she said.
And Jurgis gave a cry of dismay. “Not yet?”
Again Marija’s head shook. The poor fellow stood dumfounded. “I don’t hear her,” he gasped.
“She’s been quiet a long time,” replied the other.
There was another pause—broken suddenly by a voice from the attic: “Hello, there!”
Several of the women ran into the next room, while Marija sprang toward Jurgis. “Wait here!” she cried, and the two stood, pale and trembling, listening. In a few moments it became clear that Madame Haupt was engaged in descending the ladder, scolding and exhorting again, while the ladder creaked in protest. In a moment or two she reached the ground, angry and breathless, and they heard her coming into the room. Jurgis gave one glance at her, and then turned white and reeled. She had her jacket off, like one of the workers on the killing beds. Her hands and arms were smeared with blood, and blood was splashed upon her clothing and her face.
She stood breathing hard, and gazing about her; no one made a sound. “I haf done my best,” she began suddenly. “I can do noffing more—dere is no use to try.”
Again there was silence.
“It ain’t my fault,” she said. “You had ought to haf had a doctor, und not vaited so long—it vas too late already ven I come.” Once more there was deathlike stillness. Marija was clutching Jurgis with all the power of her one well arm.
Then suddenly Madame Haupt turned to Aniele. “You haf not got something to drink, hey?” she queried. “Some brandy?”
Aniele shook her head.
“Herr Gott!” exclaimed Madame Haupt. “Such people! Perhaps you vill give me someting to eat den—I haf had noffing since yesterday morning, und I haf vorked myself near to death here. If I could haf known it vas like dis, I vould never haf come for such money as you gif me.” At this moment she chanced to look round, and saw Jurgis: She shook her finger at him. “You understand me,” she said, “you pays me dot money yust de same! It is not my fault dat you send for me so late I can’t help your vife. It is not my fault if der baby comes mit one arm first, so dot I can’t save it. I haf tried all night, und in dot place vere it is not fit for dogs to be born, und mit notting to eat only vot I brings in mine own pockets.”
Here Madame Haupt paused for a moment to get her breath; and Marija, seeing the beads of sweat on Jurgis’s forehead, and feeling the quivering of his frame, broke out in a low voice: “How is Ona?”
“How is she?” echoed Madame Haupt.  I told dem dot ven they send for de priest. She is young, und she might haf got over it, und been vell und strong, if she had been treated right. She fight hard, dot girl—she is not yet quite dead.”
And Jurgis gave a frantic scream. “Dead!”
“She vill die, of course,” said the other angrily. “Der baby is dead now.”
The garret was lighted by a candle stuck upon a board; it had almost burned itself out, and was sputtering and smoking as Jurgis rushed up the ladder. He could make out dimly in one corner a pallet of rags and old blankets, spread upon the floor; at the foot of it was a crucifix, and near it a priest muttering a prayer. In a far corner crouched Elzbieta, moaning and wailing. Upon the pallet lay Ona.
She was covered with a blanket, but he could see her shoulders and one arm lying bare; she was so shrunken he would scarcely have known her—she was all but a skeleton, and as white as a piece of chalk. Her eyelids were closed, and she lay still as death. He staggered toward her and fell upon his knees with a cry of anguish: “Ona! Ona!”
She did not stir. He caught her hand in his, and began to clasp it frantically, calling: “Look at me! Answer me! It is Jurgis come back—don’t you hear me?”
There was the faintest quivering of the eyelids, and he called again in frenzy: “Ona! Ona!”
Then suddenly her eyes opened one instant. One instant she looked at him—there was a flash of recognition between them, he saw her afar off, as through a dim vista, standing forlorn. He stretched out his arms to her, he called her in wild despair; a fearful yearning surged up in him, hunger for her that was agony, desire that was a new being born within him, tearing his heartstrings, torturing him. But it was all in vain—she faded from him, she slipped back and was gone. And a wail of anguish burst from him, great sobs shook all his frame, and hot tears ran down his cheeks and fell upon her. He clutched her hands, he shook her, he caught her in his arms and pressed her to him but she lay cold and still—she was gone—she was gone!
The word rang through him like the sound of a bell, echoing in the far depths of him, making forgotten chords to vibrate, old shadowy fears to stir—fears of the dark, fears of the void, fears of annihilation. She was dead! She was dead! He would never see her again, never hear her again! An icy horror of loneliness seized him; he saw himself standing apart and watching all the world fade away from him—a world of shadows, of fickle dreams. He was like a little child, in his fright and grief; he called and called, and got no answer, and his cries of despair echoed through the house, making the women downstairs draw nearer to each other in fear. He was inconsolable, beside himself—the priest came and laid his hand upon his shoulder and whispered to him, but he heard not a sound. He was gone away himself, stumbling through the shadows, and groping after the soul that had fled.
So he lay. The gray dawn came up and crept into the attic. The priest left, the women left, and he was alone with the still, white figure—quieter now, but moaning and shuddering, wrestling with the grisly fiend. Now and then he would raise himself and stare at the white mask before him, then hide his eyes because he could not bear it. Dead! dead! And she was only a girl, she was barely eighteen! Her life had hardly begun—and here she lay murdered—mangled, tortured to death!
It was morning when he rose up and came down into the kitchen—haggard and ashen gray, reeling and dazed.
A few minutes later the front door opened; a blast of cold and snow rushed in, and behind it little Kotrina, breathless from running, and blue with the cold. “I’m home again!” she exclaimed. “I could hardly—”
And then, seeing Jurgis, she stopped with an exclamation. Looking from one to another she saw that something had happened, and she asked, in a lower voice: “What’s the matter?”
Before anyone could reply, Jurgis started up; he went toward her, walking unsteadily. “Where have you been?” he demanded.
“Selling papers with the boys,” she said. “The snow—”
“Have you any money?” he demanded.
“Yes.”
“How much?”
“Nearly three dollars, Jurgis.”
“Give it to me.”
Kotrina, frightened by his manner, glanced at the others. “Give it to me!” he commanded again, and she put her hand into her pocket and pulled out a lump of coins tied in a bit of rag. Jurgis took it without a word, and went out of the door and down the street.
Three doors away was a saloon.  “How much is the bottle?” he said. “I want to get drunk.”


{% extends "base.html" %} {% block content %}
Would you like to upload additional images or begin classification?


Scottish independence 'back on the table again' because of Brexit, says Tony Blair
by Scotsman ReporterScottish independence is "back on the table again" because of Brexit, Tony Blair has said.
The former Labour prime minister gave a speech in London on Brexit and the General Election and said Boris Johnson's deal - where Northern Ireland remains more closely aligned to the European Union than the rest of the EU - added "an additional dimension" to the nationalists' argument.
Speaking to a Reuters Newsmakers event on Monday morning, Mr Blair said: "I don't think campaigning for an independent Scotland is extreme. I just don't agree with it.
"I think the United Kingdom is stronger if we're all together, I think Scotland is better off inside the UK.
"But, you know, Brexit has put it back on the table again. This part of the other problem, I'm afraid, is that you've got a situation with Northern Ireland which is very tricky if the Johnson deal goes forward.
"You've got a situation where obviously the Scottish nationalists now have an additional dimension to their argument.
"I still don't agree with it, but, you know, they're going to be saying: 'You've allowed Northern Ireland to stay inside the single market, why aren't we allowed to, we also voted heavily against Brexit?'"


Besides design, I am fond of dancing, yoga and volunteering.
Dancing
Yoga
Volunteering
Click here to turn back to home page.


| Apache Struts 2 Documentation > Quick Start Guide |
WebWork is a popular, easy-to-use MVC framework, for more information on the WebWork project, please visit Home. This guide should be helpful to seasoned Java developers with previous experience in MVC frameworks. We will briefly cover the three main components on a WebWork2 based application, the configuration the action classes, and the views.
To use WebWork as your framework for writing Java-based web applications, you need to start by installing the various libraries (these are all available in the webwork 2.x distribution):
WebWork is built upon the Xwork framework. Xwork handles the translation requests to commands execution, but let's not worry about that right now. You need to know this information in case you were curious about the xwork JAR file, and if you want to learn some of the more advanced features of the WebWork command structure, you can visit the [XW:XWork] site.
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>WebWork 2.0 Quick Start</display-name> <servlet> <servlet-name>webwork</servlet-name> <servlet-class>com.opensymphony.webwork.dispatcher.ServletDispatcher</servlet-class> </servlet> <servlet-mapping> <servlet-name>webwork</servlet-name> <url-pattern>*.action</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <taglib> <taglib-uri>webwork</taglib-uri> <taglib-location>/WEB-INF/lib/webwork-2.1.5.jar</taglib-location> </taglib> </web-app>
<servlet-mapping> <servlet-name>webwork</servlet-name> <url-pattern>*.action</url-pattern> </servlet-mapping>
The above section will map ANY servlet called with an extension of .action to the WebWork base servlet, and assume it is a WebWork action class.
Note:
As of Webwork 2.2, the use of ServletDispatcher is being deprecated but instead replaced with FilterDispatcher. The above mapping could be done as follows using FilterDispatcher.
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd"> <web-app> <display-name>WebWork 2.0 Quick Start</display-name> <filter> <filter-name>webwork</filter-name> <filter-class>com.opensymphony.webwork.dispatcher.FilterDispatcher</filter-class> </filter> <filter-mapping> <filter-name>webwork</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> <welcome-file-list> <welcome-file>index.jsp</welcome-file> <welcome-file>index.html</welcome-file> </welcome-file-list> <taglib> <taglib-uri>webwork</taglib-uri> <taglib-location>/WEB-INF/lib/webwork-2.1.5.jar</taglib-location> </taglib> </web-app>
<filter-mapping> <filter-name>webwork</filter-name> <url-pattern>/*</url-pattern> </filter-mapping>
The above will map any url request in the particular context path to the Webwork's FilterDispatcher. Webwork knows that url with *.action are webwork action through the combination of 'webwork.action.extension' and 'webwork.mapper.class' defined in webwork.properties.
<taglib> <taglib-uri>webwork</taglib-uri> <taglib-location>/WEB-INF/lib/webwork-2.1.5.jar</taglib-location> </taglib>
The above section will load the standard WebWork tag libraries. This is required for JSP 1.1 compatible containers. To load more or different libraries, add more <taglib> calls.
<?xml version="1.0" encoding="ISO-8859-1"?> <!DOCTYPE xwork PUBLIC "-//OpenSymphony Group//XWork 1.0//EN" "http://www.opensymphony.com/xwork/xwork-1.0.dtd"> <xwork> <include file="webwork-default.xml"/> <package name="default" extends="webwork-default"> <interceptors> <interceptor name="security" class="com.acme.LoginCheck"/> <interceptor-ref name="defaultStack"/> </interceptors> <default-interceptor-ref name="security"/> <action name="showForm" class="com.acme.FormAction"> <result name="success" type="dispatcher"> <param name="location">/form.jsp</param> </result> </action> <action name="saveForm" class="com.acme.FormAction" method="processForm"> <result name="success" type="dispatcher"> <param name="location">/form.jsp</param> </result> <result name="missing-data" type="dispatcher"> <param name="location">/form.jsp</param> </result> <interceptor-ref name="security"/> </action> </package> </xwork>
<action name="saveForm" class="com.acme.FormAction" method="processForm">
Actions are the basic "unit-of-work" in WebWork, they define, well, actions. An action will usually be a request, (and usually a button click, or form submit). The main action element (tag is too synonymous with JSP) has two parts, the friendly name (referenced in the URL, i.e. saveForm.action) and the corresponding "handler" class.
The method parameter tells WebWork which method to call based upon this action. If you leave the method parameter blank, WebWork will call the method execute() from the Action Interface by default. Since every Action must implment the Action Interface, this method will always be available.
<result name="missing-data" type="dispatcher"> <param name="location">/form.jsp</param> </result>
Result tags tell WebWork what to do next after the action has been called. There are a standard set of result codes built-in to WebWork, (in the Action interface) they include:
String SUCCESS = "success"; String NONE = "none"; String ERROR = "error"; String INPUT = "input"; String LOGIN = "login";
You can extend these as you see fit. Most of the time you will have either SUCCESS or ERROR, with SUCCESS moving on to the next page in your application;
<result name="success" type="dispatcher"> <param name="location">/thank_you.jsp</param> </result>
...and ERROR moving on to an error page, or the preceding page;
<result name="error" type="dispatcher"> <param name="location">/error.jsp</param> </result>
You can stack as many result tags within a single action tag as you wish.
For further reading on Result types, see Result Types.
Interceptors allow you to define code to be executed before and/or after the execution of an action. Interceptors can be a powerful tool when writing web applications. Some of the most common implementations of an Interceptor might be:
You can also group Interceptors together to create "stacks". If you wanted to do a login check, security check, and logging all before an Action call, this could easily be done with an interceptor stack.
For further Reading on Interceptors, see [XW:Interceptors]
For further Reading on Xwork configuration files, see [XW:Configuration]
The action classes do what they say, they handle the action. They are called by the actions specified in the xwork.xml file and initiated by the user in the "views". To turn your class into an action class, you simply need to extend the class ActionSupport or implement the Action interface.
Here is what our saveForm action looks like in its Java form (NOTE: If you look in the xwork.xml file above, we've overridden the action to call the processForm method):
package com.acme; import com.opensymphony.xwork.*; public class FormAction extends ActionSupport { private FormBean myFormBean = new FormBean(); public void setFormBean(FormBean inBean) { myFormBean = inBean; } public FormBean getFormBean() { return myFormBean; } public String processForm() { FormParameters formParams = this.getFormBean(); checkBizRules(formParams); this.saveParamsToDb(formParams); return SUCCESS; } ... }
WebWork supports JSP, Velocity, and FreeMarker for your application presentation layer. For this example, we will use a JSP file. The appropriate presentation layer is denoted by the result type specified. For JSPs, the result type is the name mapped to the com.opensymphony.webwork.dispatcher.ServletDispatcherResult. Typically, this is "dispatcher".
WebWork comes packaged with a tag library (taglibs). You can use these taglibs as components in your JSP file. Here is an section of our form.jsp page:
<%@ taglib prefix="ww" uri="webwork" %> <html> <head><title>Webwork Form Example</title></head> <body> <ww:form name="'myForm'" action="'saveForm.action'" method="'POST'"> <table> <ww:textfield label="'First Name'" name="'formBean.firstName'" value="formBean.firstName"/> <ww:textfield label="'Last Name'" name="'formBean.lastName'" value="formBean.lastName"/> </table> <input type="submit" value="Save Form"/> </ww:form> </body>
The process of events will go as follows:
The purpose of this guide is to provide the user with a quick-and-dirty understanding of WebWork2. I hope we successfully briefed you on the three most important components of any WebWork based application, the configuration (including web.xml and xwork.xml), the action classes, and the views. This information should give you a starting point to experiment and become more familiar with the rising star of the open source, Model2, web frameworks.
It is not necessary to map and load the WebWorkVelocityServlet in in the web.xml in order to use Velocity rendered pages. WebWork includes a built-in Velocity result type. Using the result type should be faster than sending the result to the servlet dispatcher which then delegates to the servlet mapping for WebWorkVelocityServlet.
Originally by:
Matt Dowell
<EMAIL_ADDRESS>September 15, 2003


#Ambiguous Name Resolution (ANR) used by Outlook to find users
Import-Module ActiveDirectory
Get-ADObject -LDAPFilter {(&(ObjectClass=User)(ANR=Thor))}
ANR queries are compared to index attributes such as- sAMAccountName
- displayName
- Name (cn)
- givenName (first name)
- sn (surname aka last name
- legacyExchangeDN
- proxyAddresses (Exchange attribute)


Office of the Correctional Investigator
www.oci-bec.gc.ca
Home > Proactive Disclosure > Disclosure of Contracts Over $10,000 > Reports > 2nd Quarter 2009-2010 > SK&A Communications Inc.


The weekly Link Mash is a curated selection of tools, stories, and other links that I found during my travels on the web. All of my links can be found on my Pinboard; you can also find the Link Mash archives here.
- LICEcap. I’m certainly not the first to the game here, but when it comes to recording animated GIFs of my screen activity, I’ve yet to find a better app than LICEcap.
- Generating URL Scheme for YouVersion's Bible App using Pythonista. A great post on an advanced workflow. I have a ton of respect for Eric (and not just for his technical prowess).
- OmniFocus Contexts, Folders, Perspectives, and Tasks in Launch Center Pro. Ever been frustrated with getting OmniFocus for iOS to display perspectives via its URL scheme? Look no further.
- deaghean/omnifocus-perspective-icons. A great set of icons for custom OmniFocus perspectives; they also double as great icons for Launch Center Pri
- Enabling italic fonts in iTerm2, tmux, and vim. A rather simple thing that you never think about; then, it arrives, and you wondered how you lived without it.
This Link Mash was generated by PinPress, a simple tool to generate text templates from Pinboard data.