mastml.legos.feature_generators Module
This module contains a collection of classes for generating input features to fit machine learning models to.
Functions
clean_dataframe (df)
|
Method to clean dataframes after feature generation has occurred, to remove columns that have a single missing or NaN value, or remove a row that is fully empty |
Classes
AFLOWDataRetrieval
|
Retrieves data from the AFLOW database. |
BaseEstimator
|
Base class for all estimators in scikit-learn |
CitrineDataRetrieval ([api_key])
|
CitrineDataRetrieval is used to retrieve data from the Citrination database See API client docs at api_link below. |
Composition (*args[, strict])
|
Represents a Composition, which is essentially a {element:amount} mapping type. |
ContainsElement (composition_feature, …[, …])
|
Class to generate new categorical features (i.e. |
DataframeUtilities
|
Class of basic utilities for dataframe manipulation, and exchanging between dataframes and numpy arrays |
Element (symbol)
|
Enum representing an element in the periodic table. |
MDFDataRetrieval ([anonymous])
|
MDFDataRetrieval is used to retrieve data from the Materials Data Facility database and convert them into a Pandas DataFrame. |
MPDSDataRetrieval ([api_key, endpoint])
|
Retrieves data from Materials Platform for Data Science (MPDS). |
MPDataRetrieval ([api_key])
|
Retrieves data from the Materials Project database. |
MPRester ([api_key, endpoint, include_user_agent])
|
A class to conveniently interface with the Materials Project REST interface. |
Magpie (composition_feature[, feature_types])
|
Class that wraps MagpieFeatureGeneration, giving it scikit-learn structure |
MagpieFeatureGeneration (dataframe, …)
|
Class to generate new features using Magpie data and dataframe containing material compositions |
MaterialsProject (composition_feature, api_key)
|
Class that wraps MaterialsProjectFeatureGeneration, giving it scikit-learn structure |
MaterialsProjectFeatureGeneration (dataframe, …)
|
Class to generate new features using Materials Project data and dataframe containing material compositions Datarame must have a column named “Material compositions”. |
Matminer (structural_features, structure_col)
|
Class to generate structural features from matminer structure module Args: structural_features: the structure feature(s) the user wants to instantiate and generate structure_col: the dataframe column that contains the pymatgen structure object. |
NoGenerate ()
|
Class for having a “null” transform where the output is the same as the input. |
PolynomialFeatures ([features, degree, …])
|
Class to generate polynomial features using scikit-learn’s polynomial features method More info at: http://scikit-learn.org/stable/modules/generated/sklearn.preprocessing.PolynomialFeatures.html |
Poscar (structure[, comment, …])
|
Object for representing the data in a POSCAR or CONTCAR file. |
SklearnPolynomialFeatures
|
alias of sklearn.preprocessing._data.PolynomialFeatures |
TransformerMixin
|
Mixin class for all transformers in scikit-learn. |
Class Inheritance Diagram
digraph inheritancebf717baecc {
rankdir=LR;
size="8.0, 12.0";
"BaseEstimator" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",tooltip="Base class for all estimators in scikit-learn"];
"ContainsElement" [URL="api/mastml.legos.feature_generators.ContainsElement.html#mastml.legos.feature_generators.ContainsElement",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class to generate new categorical features (i.e. values of 1 or 0) based on whether an input composition contains a"];
"BaseEstimator" -> "ContainsElement" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "ContainsElement" [arrowsize=0.5,style="setlinewidth(0.5)"];
"DataframeUtilities" [URL="api/mastml.legos.feature_generators.DataframeUtilities.html#mastml.legos.feature_generators.DataframeUtilities",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class of basic utilities for dataframe manipulation, and exchanging between dataframes and numpy arrays"];
"Magpie" [URL="api/mastml.legos.feature_generators.Magpie.html#mastml.legos.feature_generators.Magpie",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class that wraps MagpieFeatureGeneration, giving it scikit-learn structure"];
"BaseEstimator" -> "Magpie" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "Magpie" [arrowsize=0.5,style="setlinewidth(0.5)"];
"MagpieFeatureGeneration" [URL="api/mastml.legos.feature_generators.MagpieFeatureGeneration.html#mastml.legos.feature_generators.MagpieFeatureGeneration",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class to generate new features using Magpie data and dataframe containing material compositions"];
"MaterialsProject" [URL="api/mastml.legos.feature_generators.MaterialsProject.html#mastml.legos.feature_generators.MaterialsProject",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class that wraps MaterialsProjectFeatureGeneration, giving it scikit-learn structure"];
"BaseEstimator" -> "MaterialsProject" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "MaterialsProject" [arrowsize=0.5,style="setlinewidth(0.5)"];
"MaterialsProjectFeatureGeneration" [URL="api/mastml.legos.feature_generators.MaterialsProjectFeatureGeneration.html#mastml.legos.feature_generators.MaterialsProjectFeatureGeneration",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class to generate new features using Materials Project data and dataframe containing material compositions"];
"Matminer" [URL="api/mastml.legos.feature_generators.Matminer.html#mastml.legos.feature_generators.Matminer",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class to generate structural features from matminer structure module"];
"BaseEstimator" -> "Matminer" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "Matminer" [arrowsize=0.5,style="setlinewidth(0.5)"];
"NoGenerate" [URL="api/mastml.legos.feature_generators.NoGenerate.html#mastml.legos.feature_generators.NoGenerate",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class for having a \"null\" transform where the output is the same as the input. Needed by MAST-ML as a placeholder if"];
"BaseEstimator" -> "NoGenerate" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "NoGenerate" [arrowsize=0.5,style="setlinewidth(0.5)"];
"PolynomialFeatures" [URL="api/mastml.legos.feature_generators.PolynomialFeatures.html#mastml.legos.feature_generators.PolynomialFeatures",fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",target="_top",tooltip="Class to generate polynomial features using scikit-learn's polynomial features method"];
"BaseEstimator" -> "PolynomialFeatures" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" -> "PolynomialFeatures" [arrowsize=0.5,style="setlinewidth(0.5)"];
"TransformerMixin" [fontname="Vera Sans, DejaVu Sans, Liberation Sans, Arial, Helvetica, sans",fontsize=10,height=0.25,shape=box,style="setlinewidth(0.5)",tooltip="Mixin class for all transformers in scikit-learn."];
}


Error - This tool is supported only on Standard, Premium and Isolated SKU's only
with AlwaysOn setting enabled to TRUE
Error - {{ error }}
Error - We determined that the web app does not have Always-On enabled and due to these the
diagnostic
tools will not work reliably with AutoHeal. Please turn on the Always-On setting by going to the Application
Settings
for the web app and then run these tools.
Error - We determined that Diagnostics As a Service is disabled for this app. Please remove the
app setting WEBSITE_DAAS_DISABLED and run this tool again.
Error - We determined that the app has Local Cache feature enabled and due to that the
diagnostic
tools will not work. Please disable Local Cache by removing the app setting
WEBSITE_LOCAL_CACHE_OPTION and then run these tools.
Error - We determined that the app has the app setting WEBJOBS_STOPPED exists on
the app so the DaaS webjob cannot run. Please remove this app setting and run this tool again.
Error - We found that the DAAS Web job is in a stopped state. Please go to WebJobs under this Web
App and start
the DAAS Web job manually and re-run this tool. If this is the first time you are running these tools, try hitting
the refresh button
after a few minutes
Warning - {{ diagnoserWarning }}
Checking if DaaS Web job is running...
Checking supported tier and retrieving daas settings


Mr. McCollum. McCollum later recalled of one time when his pupil Steve called up David Hewlett himself, co-founder of HP, to get spare parts for his homework, and even a summer job at HP’s factory. Steve’s entrepreneurial skills showed up early in his life indeed.
At Homestead, Steve befriended Bill Fernandez, a neighbor who shared his interests in electronics. It was Bill who first introduced him to another computer whiz kid, an older guy named Stephen Wozniak, or — as everybody used to call him — Woz. Steve and Woz met in 1969, when they were respectively 14 and 19. At the time, Woz was building a little computer board with Bill Fernandez that they called “the Cream Soda Computer”.


layout: post title: “Life Update” subtitle: “Giving an update about my current life situation” —
Hey, I haven’t been posting for such a long time. So much happened since my last post. Therefore, I want to give you a short update in my life.
First of all, I have a new job as a developer at s IT Solutions. I felt like I needed a new challenge in my life and moved on. The company is part of the Erste Group corporation. They are fintech company. I am now part of the “Branch & Lending” team where I moved to a newly created product team that focuses on the online products.
Furthermore I almost finished my bachelor studies. I am almost done with my bachelor thesis. My thesis focuses on serious games. In particular I developed a serious game prototype, which emphasize on embedding voice training and voice hygiene into the daily life of users. This is an Android application. It is composed of a training, quiz and a game.
Also I concurrently started with the master studies while finishing my thesis. I switched majors. I moved from “Media Informatics and Visual Computing” to “Software Engineering and Internet Computing”. The reason for that change is that I don’t see myself anymore on this track and furthermore I chose this major in the undergraduate because I only continued these track after highschool. The focus of master curriculum will be “Internet Computing”, “Algorithms” and “Finance”.
I’ll try to update more regurarly. My plan is to post more often and try to write some small blog updates.


--- layout: minimal title: "About me" permalink: /about/index.html description: "dumpeHM-Leehomin" ---


|
Performs a loop operation using the ECX or CX register as a counter. Each time the LOOP instruction is executed, the count register is decremented, then checked for 0. If the count is 0, the loop is terminated and program execution continues with the instruction following the LOOP instruction. If the count is not zero, a near jump is performed to the destination (target) operand, which is presumably the instruction at the beginning of the loop. If the address-size attribute is 32 bits, the ECX register is used as the count register; otherwise the CX register is used.
The target instruction is specified with a relative offset (a signed offset relative to the current value of the instruction pointer in the EIP register). This offset is generally specified as a label in assembly code, but at the machine code level, it is encoded as a signed, 8-bit immediate value, which is added to the instruction pointer. Offsets of -128 to +127 are allowed with this instruction.
Some forms of the loop instruction (LOOPcc) also accept the ZF flag as a condition for terminating the loop before the count reaches zero. With these forms of the instruction, a condition code (cc) is associated with each instruction to indicate the condition being tested for. Here, the LOOPcc instruction itself does not affect the state of the ZF flag; the ZF flag is changed by other instructions in the loop.
|


If you have any web server running on port 80 on your local machine, docker, kubernetes or others, please turn it off before you proceed otherwise it will conflict with the NGINX that SOAJS requires.
You have selected manual deployment in Overview section.
Manual Deployment has no extra configuration, click proceed to start the deployment.


stars
SLOWER
stars
stars
(Default) SLOW
stars
stars
stars
NORMAL
stars
stars
stars
stars
FAST
stars
stars
stars
stars
stars
FASTER
You did not select the Maze before choosing the Difficulty. You will be redirected to the default Maze (LIMITLESS), after choosing the Difficulty level.
You can also change the Difficulty level in-game by the Speed Increase or Decrease button.


Mood analysis of users.
Mental fatigue analysis of users.
Keyboard and mouse data collection from multiple users.
Results presentation on a web application.
The results will be presented after we process the collected data, such as the frequency with which a person presses a certain key, such as Espace, which usually indicates frustration. It will also be collected the frequency with which the user moves the mouse and clicks on its buttons, with all this data being subsequently processed, providing the result that is more likely to be the correct one, because for most occasions, there are more than une acceptable result.


Election **1/2
rated R starring Matthew Broderick, Reese Witherspoon, Chris Klein, Jessica Campbell, Delaney Driscoll based on the novel by Tom Perrotta written by Alexander Payne & Jim Taylor directed by Alexander Payne
It is 1999, and America, for the most part, is tired of politics. In 1998, the year of the Clinton/Lewinsky scandal, we had 3 political comedies: PRIMARY COLORS, WAG THE DOG and BULWORTH. This year, we have the unlikely teenage political satire ELECTION, which is the first mildly ambitious film from the folks at MTV Films, but even that cannot fully save the movie itself.
Matthew Broderick plays Jim McAllister, 3-time Teacher of the Year at Carver High School. As you may have guessed from the title, it is the time of year for student council elections. The only presidential candidate is Tracy Flick(Reese Witherspoon), an ambitious goody-two-shoes who takes the election quite seriously.
But Mr. McAllister has his second thoughts about Tracy. A couple years before, Tracy had been carrying on an affair with a teacher at the school(Mark Harelik), who happened to be McAllister's close family friend. When the news broke out, the teacher's wife, Linda(Delaney Driscoll), filed for divorce immediately, and since then, Mr. McAllister has been constantly with her, helping her run errands while Mrs. McAllister(Molly Hagan) helps her take care of her son. Mr. McAllister is just dying to to take his friendship with Linda to an adulterous level.
So, that seems to be a basic motive for Mr. McAllister to want to sabotage Tracy's election campaign. And the battle begins. The first pawn that he throws her way is Paul Metzler(Chris Klein), who was the school's quarterback until he broke his leg in a skiing accident. He doesn't really care too much about running, but Mr. McAllister seems to inspire him enough. Paul has no hard feelings for Tracy, and infact, he wants her to win. But Tracy feels nothing but genuine rage for McAllister.
Then, there is Tammy Metzler(Jessica Campbell), Paul's younger sister who just happens to be a lesbian. After her best friend/lover starts gettin' jiggy with Paul, Tammy declares all-out war, and becomes a nominee herself. She feels that people shouldn't vote at all in this phony election.
Sound familiar? Probably, if you've ever followed a real election campaign, which ELECTION attemps to satirize. Director Alexander Payne is no stranger to satire. He made the abortion comedy CITIZEN RUTH. And ELECTION, his latest film, is a very smart, very funny, very witty satire itself. But the problem lies in the characters. The only marginally likable character is Paul Metzler, and this guy's a dumbass.
Reese Witherspoon, who should remind many of a young Holly Hunter, is one of the finest young actresses working today, but her character isn't given any attractive or likable qualities. That is not to say that this isn't one of her better performances; I just wish she had a role that would let her do more. And as for Matthew Broderick, why oh why? Forget FERRIS BUELLER; Matthew Broderick is a bad, bad actor, and his performance in ELECTION proves my point exactly. And to have to listen to all this voice-over whining makes the film bad enough.
To all the critics who said Max Fischer in RUSHMORE was unlikable, I ask you to think a little bit about the characters in ELECTION. But, needless to say, if ELECTION was trying to prove a point that all politicians are unlikable, they have got that job done. But after the presidential scandal of 1998, did we really need any more proof of that fact?
a review by Akiva Gottlieb<EMAIL_ADDRESS>http://www.angelfire.com/mo/film watch me on TBS' "Dinner And A Movie" May 21, 8:05pm EST
The review above was posted to the
rec.arts.movies.reviews newsgroup (de.rec.film.kritiken for German reviews).
The Internet Movie Database accepts no responsibility for the contents of the
review and has no editorial control. Unless stated otherwise, the copyright
belongs to the author.
Please direct comments/criticisms of the review to relevant newsgroups.
Broken URLs inthe reviews are the responsibility of the author.
The formatting of the review is likely to differ from the original due
to ASCII to HTML conversion.
Related links: index of all rec.arts.movies.reviews reviews


Logo
Home
Products
Services
About
Contact
Main Feature
Feature
Article 1 Header
Column One
Article 2 Header
Column Two
Article 3 Header
Column Three


Operation Document of GPVQL
1、First Step
Drag the border of Karl_Marx
2、Second Step
Double click the edge
Input influencedBy
3、Third Step
Double click the List of results
results will expand
Double click again
results will collapse
4、Deep Exploration


The Lean configuration contains settings for running the LEAN engine locally.
This configuration is created in the lean.json
file when you run lean init
in an empty directory.
The configuration is stored as JSON, with support for both single-line and multiline comments.
The Lean configuration file is based on the Launcher/config.json file from the Lean repository.
When you run lean init
the latest version of this file is downloaded and stored on your local drive.
Before the file is stored, some properties are automatically removed because the CLI sets them automatically.


I haven't been blogging like I should lately. Not for a lack of possible content; but I've been focusing very much on Paste. If I'm not working at the day job, I'm working on Paste, or if neither of those then I'm trying to stay the hell away from the computer. Not always successfully. And I haven't been blogging here in part because it keeps crashing my server, for dumb reasons (but if I don't post then no one reads this, then the server is okay!)
Anyway, Paste is coming together well; we're using it on production applications at work. I just have to resolve all the distribution issues and it should be ready for a release. I continue to believe it has a lot of importance to Python web programming. In part because it solves a problem that isn't unique to Python; we all complain about the multitude of frameworks, but it's actually just the same in the Java and PHP worlds. And maybe it's a little mean to say so, but Ruby isn't enough of a world to have this problem (that is, as the number of Rails programmers quickly comes to overwhelm the number of Ruby programmers, it seems obvious that the multitude of web frameworks won't be a problem for Ruby anytime soon).
But, other people's greenfield work aside, Python's problem isn't unique, and I feel like Paste has real potential to solve this problem in a way that I don't think exists elsewhere. In PHP the control flow is so messed up, they are a long way from being able to bring things together. In Java the control flow allows for the same kinds of abstraction, but the language itself is resistent to decoupled code, and the workarounds are so heavy that the disincentives are considerable. In both cases, I think Python has the potential to support heterogeneous environments in a much more granular way.
At times I worry that Paste will turn into Yet Another Framework, but I think it has maintained non-frameworkness fairly well. Once a framework or application has WSGI support, integrating it into Paste is fairly trivial. And as Paste builds features -- slowly but surely -- these features are all in turn based on WSGI when at all appropriate, and any other frameworks can come along for the ride. Things like the profiler are completely framework-neutral.
Right now the only big barrier I see -- and I'll admit it's a very significant barrier -- is distribution and tracking changes. I haven't made many backward-incompatible changes over time (I just haven't felt a need), but there's no guarantees at this point. And Paste brings in all sorts of dependencies. I'm optimistic that Easy Install will help resolve this, but there's still work to be done. A lot of it is just a matter of figuring out how to use what's already there.
There hasn't been a lot of activity on the Paste list recently. I'm not sure what to make of that. It's summer, people tend to wander off during the summer. I also feel there's lots of lurkers, but still only a small number of people who are seriously interested, and even
those people are hedging their bets. But I'm not sure what to do about this, how to better bring people into the process and encourage a sense of investment.
One thing that would help, from my perspective, is a solid piece of documentation on how to integrate an already-existing framework into Paste. (If this documentation already exists, I apologize that I've missed it...) Seems like the application developers are pretty well-covered in documentation, but the framework developers don't have much to work on other than the Paste code itself.
That's true -- documenting configuration, and how it relates to frameworks and other pluggable pieces, is another important task. But asking questions on the mailing list is also a good way to resolve some of these things; in some cases I don't actually have an opinion on how parts should work.
I think the frantic pace of changes scared off a lot of the people who were using Paste. It certainly scared me off; Subway no longer runs on Paste. I just couldn't keep up with it when CP started having rapid changes, too.
That's disappointing to hear. The changes were largely meant to solidify the interface that other people would be using, and to give other people the flexibility to fit their systems into Paste. I did those quickly because I was working hard to get Paste into a place where those interfaces were available and stable. Core aspects of Paste have also been very stable; the Webware API, which I keep in working order, and which is more intimately tied to Paste than most frameworks normally would be, has required very few updates, even as I work on other parts of the system.
I've moved into the category of a lurker because my current projects work just fine on older code, and because when I do take the time to update myself on a particular technology or framework I prefer it to be solidified so that my new-found knowledge support me for the next six months or so. I think when Paste reaches a plateau in terms of implementation more of the sideliners will move in to hammer on smaller pieces.
Speaking for myself, I'm a little clueless as to how Paste affects me, a Quixote-centric developer of apps I doubt will ever run on anything other than a Apache-SCGI environment. The pace of Paste traffic on the Quixote list initially caught me off guard at a time when there was little time for absorbing something new, so I'll go back and catch up there and look at the Paste list and see if it doesn't make more sense the second time around.
Im enthused about Paste but Im in a "sit and wait" stance right now. Particularly things like getting the command line interface to be consistent, as well as full documentation, would indicate that its approaching a "polished and stable" state.
Also, i think the whole concept of "download paste, and then effortlessly evaluate ten different frameworks" is what will really get people going with it. Until then there is still a disconnect between downloading Paste, downloading framework X, and then running them together, which detracts from its value. I guess thats the whole "distribution" issue you pointed out.
# mike bayer
I'm also very interested in all things going on right now with Python and web development and especially Paste. Me too, I'm only watching what happens right now. Being rather new to the application centric web development (aside from some experiences with Zope) what I somewhat miss is a "stable" environment. Not that any of the code is unstable but I've always the feeling that what I'm learning from the tutorial could be obsolete the next day. The svn-only access also contributes to this feeling :-) Don't understand me wrong, it's perfectly ok for everyone developing Paste but from a "user" side of view (web application developer that wants to concentrate on his application) this is a bit scary. I'll be lurking around some more and we'll see how it evolves....
# Beat


This example demonstrates a full page layout with nested panes, layout's AJAX events and client-side state management.
Three events are possible: open, close, resize.
The client-side state management is activated by setting stateCookie="true".
Furthermore, you can see client-side widget's methods for pane manipulation in action. These are
sizePane(), sizeContent() toggle(), close()
and open(). They expect pane position as parameter. Nested panes are separated by the _ sign.
Example: sizePane("center_north", 300); Attention: "center" pane can not be manipulated,
so that e.g. toggle("center") or sizePane("west_center", 300) are invalid calls.
In this example, the entire layout is defined by LayoutOptions which are bound to the "options" attribute of pe:layout.
LayoutOptions is optional, it also possible to create a layout by options defined as attributes of pe:layoutPane.
Note: LayoutOptions created as Java model takes precedence over layout options as tag attributes.
It is up to you if you would like to use all available options via LayoutOptions or a limited set of options in pe:layoutPane.
${showcase:getFileContent('/sections/layout/example-fullPage.xhtml')}
${showcase:getFileContent('/org/primefaces/extensions/showcase/controller/layout/FullLayoutController.java')}


Toxic Comment Detection System
Submit
Soring POST Request Serivice
Available at /score, example request:
curl -H "Content-Type: application/json" -X POST -d "{\"text\":\"this is a test\"}" http://<IP_ADDRESS>:5000/score


Daiichi case: Supreme Court holds Singh brothers guilty of contempt
by TIMESOFINDIA.COMHighlights
- Daiichi sought enforcement of Rs 3,500 crore arbitration award granted to it by Singapore tribunal in case against the Singh brothers
- The Singh duo sold Ranbaxy to Daiichi in 2008 and Sun Pharmaceuticals eventually purchased Ranbaxy from Daiichi for $3.2 billion
NEW DELHI: The Supreme Court on Friday pronounced former Ranbaxy promoters Malvinder Singh and Shivinder Singh guilty in a case filed by Japanese firm Daiichi Sankyo. Drug maker Daiichi had filed a petition against the Singh brothers on non payment of Rs 3,500 arbitration award.
The top court said that the Singh brothers violated its order asking them not to divest their shares in Fortis Healthcare Limited.
Daiichi sought enforcement of the arbitration award granted to it by Singapore tribunal in case against the Singh brothers.
The Singh duo sold Ranbaxy to Daiichi in 2008. Sun Pharmaceuticals eventually purchased Ranbaxy from Daiichi for $3.2 billion.
The case relates to the implementation of the arbitration award that the Singh brothers were ordered to pay to Daiichi in 2016. In March this year, Daiichi had filed a contempt plea against the brothers accusing them of disposing of their assets in violation of the court order.
The Japanese drug maker had blamed the Singh brothers for allegedly suppressing facts during the sale of Ranbaxy.
The two resigned as directors from the board of Fortis Healthcare in February 2018. Later in September, Shivinder filed a case against his brother alleging "oppression and mismanagement".


| Equation | |
| ID | {{rxn.id}} |
| Abbreviation | {{rxn.abbreviation}} |
| Equation with IDs | {{rxn.equation}} |
| Stoichiometry | {{rxn.stoichiometry}} |
| DeltaG | {{rxn.deltag}} |
| DeltaGErr | {{rxn.deltagerr}} |
| direction | {{rxn.direction}} |
| Reversibility | {{rxn.reversibility}} |
| Is transport? | {{rxn.is_transport}} |
| Compound IDs | |
| Pathways |
|
| Aliases |
|


Angular Minesweeper
Score: {{wins}} Wins - {{losses}} Losses
Best Time: {{(bestTime / 1000) | number: 2}} seconds
New Game
{{cell.value}}
Grid Width
required
cannot be smaller than 2
Grid Height
required
cannot be smaller than 2
# of Mines
required
cannot be smaller than 1
cannot be greater than {{gridHeight * gridWidth - 1}}
Start Game


Summary
HTML injection is a type of injection issue that occurs when a user is able to control an input point and is able to inject arbitrary HTML code into a vulnerable web page. This vulnerability can have many consequences, like disclosure of a user's session cookies that could be used to impersonate the victim, or, more generally, it can allow the attacker to modify the page content seen by the victims.
How to Test
This vulnerability occurs when the user input is not correctly sanitized and the output is not encoded. An injection allows the attacker to send a malicious HTML page to a victim. The targeted browser will not be able to distinguish (trust) the legit from the malicious parts and consequently will parse and execute all as legit in the victim context.
There is a wide range of methods and attributes that could be used to render HTML content. If these methods are provided with an untrusted input, then there is an high risk of XSS, specifically an HTML injection one. Malicious HTML code could be injected for example via innerHTML, that is used to render user inserted HTML code. If strings are not correctly sanitized the problem could lead to XSS based HTML injection. Another method could be document.write()
When trying to exploit this kind of issues, consider that some characters are treated differently by different browsers. For reference see the DOM XSS Wiki.
The innerHTML property sets or returns the inner HTML of an element. An improper usage of this property, that means lack of sanitization from untrusted input and missing output encoding, could allow an attacker to inject malicious HTML code.
Example of Vulnerable Code: The following example shows a snippet of vulnerable code that allows an unvalidated input to be used to create dynamic html in the page context:
var userposition=location.href.indexOf("user=");
var user=location.href.substring(userposition+5);
document.getElementById("Welcome").innerHTML=" Hello, "+user;
In the same way, the following example shows a vulnerable code using the document.write() function:
var userposition=location.href.indexOf("user=");
var user=location.href.substring(userposition+5);
document.write("
Hello, " + user +"
");
In both examples, an input like the following:
http://vulnerable.site/page.html?user=
will add to the page the image tag that will execute an arbitrary JavaScript code inserted by the malicious user in the HTML context.
Black Box testing
Black box testing for HTML Injection is not usually performed since access to the source code is always available as it needs to be sent to the client to be executed.
Gray Box testing
Testing for HTML Injection vulnerabilities:
For example, looking at the following URL:
http://www.domxss.com/domxss/01_Basics/06_jquery_old_html.html
The HTML code will contains the following script:

 Show Here
Showing Message1

 Show Here
Showing Message2

 Show Here
Showing Message3

It is possible to inject HTML code.
References
OWASP Resources
Whitepapers


Principles of Management
Introduction
ERP is a system for the seamless integration of all the information flowing through the company such as finances, accounting, human resources, supply chain, and customer information . The selection, procurement, and deployment of an ERP system are nothing but involvement of high risks in exchange for significant business and financial rewards . A successful ERP system can be the backbone of business intelligence for an organization because it can give managers an integrated view of the processes involved within it . The effective ERP implementation brings in reduction of cost improvement in quality, productivity & customer service, better resource management, improved decision-making, planning and hence organizational empowerment . Despite the wide spread applications and benefits of ERP systems, the statistics show that about 30% of ERP implementations have been successful. In order to overcome failures through comprehensive literature review 11 critical factors for successful implementation of enterprise systems were identified as ERP teamwork and composition; change management program and culture; top management support; business plan and vision; business process reengineering with minimum customization; project management; monitoring and evaluation of performance; effective communication; software development, testing and troubleshooting; project champion; appropriate business and IT legacy.
II. Project management
ERP is a management mode or techniques. Many companies regard ERP system implementation as a project management . The implementation of ERP projects involves various management functions, which inevitably leads to different levels of management reorganizations . Successful project management is about managing the risk. Project Management is the application of knowledge, skills, tools, and techniques to project activities to meet project requirements. This can be done by using a formal project management structure (PMS). One of the worlds famous PMS is project management body of knowledge (PMBOK), which is developed by Project management institute (PMI). This methodology includes 5 processes/phases of project management such as project initiation, planning, execution, control, and closing. Also it is comprised by 9 knowledge areas such as Project Integration Management, Project Scope Management, Project Time Management, Project Cost Management, Project Quality Management, Project Human Resources Management, Project Communications Management, Project Risk Management, and Project Procurement Management. The results from the study on project management strategies under PMBOK frame work by Fergal et- al, illustrates PMBOK as bit fit for ERP projects and also reveals that the importance of project governance and the need for a multi-level structure spanning both the cooperate and local levels. These structures would ensure the project to be directed properly & focused, and to reduce delays & rework due to the fact that timely problem resolution could be carried out.
Since ERP environment faces constant change and reassessment of organizational processes and technology and hence the project management method used with ERP deployments must provide adaptability and agility to support these evolutionary process and technology . The major problem with software development/deployment is managerial, but not technical. Therefore a method of augmenting structured project methods with agility to produce a new approach to managing projects is proposed by Alleman . This method is based on venture capitalist approach which includes: staged investments, managed risks & people (team involved). The author discovered that traditional IT project management waterfall model which includesplanning, change and stability had several erroneous assumptions. However he suggested that through planning in the presence of uncertainty, avoiding dysfunctional relationships and improper pretentions, we can overcome the flaws in traditional approach. By applying agile values, author proposed the following principles for managing ERP projects in agile manner: assume simplicity, embrace change, enabling the next effort, incremental change, maximize stakeholder value, manage with a purpose, multiple views, rapid feedback, working software is the primary goal and travel light.
III. Role of project manager
Jones et-al explained that the first six out of sixteen technology factors associated with software disasters are specific failures in the domains of project management, and three of the other technology deficiencies can be indirectly assigned to poor management practices. The top 10 ERP management headaches rank issues are project size, staffing, risk management, unreasonable deadlines, funding, organizational politics, scope creep, unexpected gaps, interfaces, and resistance to change . One of the basic principles for assuring the ERP implementation success is the appointment of the project manager, who should be most talented business manager. The characteristics of a successful project manager are flexible, disciplined, quick learner, good decision maker, ERP expert, having business experience, political clout, good formal education, well liked, and motivates staff . In order to make ERP project successful, the project manager must work efficiently in the following areas: deciding on project scope, managing risks, discovering gaps, the right staff, preventing brain drain, project scheduling, interface with other systems, monitoring progress, and managing chaos[20]. In addition, the focused management by project manager of the following critical activities that streamline the ERP project management will enhance the success of any ERP project: Embrace overall goals and objectives, defining requirements, review as is – to be, use proto education, business system test/conference room pilot(CRP), execute timely cut-over/conversion processes, and going live and beyond.


|
Name
|
Type
|
Description
|
| capability | OpaqueNetworkCapability |
The capability of the Opaque Network.
Since vSphere API 6.5
|
| extraConfig | OptionValue[] |
Extra NSX specific properties for opaque network.
Since vSphere API 6.5
|
|
Properties inherited from Network |
| host, name, summary, vm |
|
Properties inherited from ManagedEntity |
| alarmActionsEnabled, configIssue, configStatus, customValue, declaredAlarmState, disabledMethod, effectiveRole, name, overallStatus, parent, permission, recentTask, tag, triggeredAlarmState |
|
Properties inherited from ExtensibleManagedObject |
| availableField, value |


{% extends "main/study.html" %} {% load static %} {% load i18n %} {% comment %} This file works as a generic deletion confirm page. As it extends main/study.html, it makes use of all the context variables used in that file: - messages: the Django messages framework message list - study: a Django model for Study, a main.models.Study object - user: a Django User object for the current user The context variables used directly in this template are: - cancel_link: a string for the reverse() URL to cancel the delete and return to previous page - confirm_action: a token used to validate the items to delete - delete_select: a Django Form holding fields defining the objects to delete - item_names: a list of names for items to be deleted (may not be complete) - item_count: a count of items to be deleted - measurement_count: an integer of the number of measurements that would be deleted - typename: a translated string for the kind of object to be deleted {% endcomment %} {% block content %} {% blocktrans trimmed with name=item_names|first count counter=item_count asvar t_items %} the {{ typename }} "{{ name }}" {% plural %} {{ counter }} {{ typename }} objects, including "{{ name }}" {% endblocktrans %}
{% if measurement_count >= 1 %} {% blocktrans trimmed with item=t_items count counter=measurement_count %} Are you sure you want to delete {{ item }}? This will remove a measurement value. {% plural %} Are you sure you want to delete {{ item }}? This will remove {{ counter }} measurement values. {% endblocktrans %} {% else %} {% blocktrans trimmed with item=t_items %} Are you sure you want to delete {{ item }}? {% endblocktrans %} {% endif %}


Elayne had the cooking that evening, which meant that none of the food was simple, despite the fact that they were eating on stools around a cookfire, with crickets chirping in the surrounding woods, and now and again some night-bird’s thin, sad cry in the deepening darkness. The soup was served cold and jellied, with chopped green ferris sprinkled on top. The Light knew where she had found ferris, or the tiny onions she put in with the peas. The beef was sliced nearly thin enough to see through and wrapped around something made from carrots, sweetbeans, chives and goatcheese, and there was even a small honey-cake for dessert.
It was all tasty, though Elayne fretted that nothing was exactly the way it should be, as if she thought she could duplicate the cooks’ work in the Royal Palace in Caemlyn. Nynaeve was fairly sure the girl was not fishing for compliments. Elayne would always brush away compliments and tell you exactly what was not right. Thom and Juilin grumbled about there being so little beef, but Nynaeve noticed that they not only ate every scrap but looked disappointed when the last pea was gone. When she cooked, for some reason they always seemed to eat at one of the other wagons. When one of them made supper, it was always stew or else meat and beans so full of dried peppers that your tongue blistered.
They did not eat alone, of course. Luca saw to that, bringing his own stool and placing it right next to her, his red cloak spread to best effect and his long legs stretched out so that his calves showed well, above his turned-down boots. He was there almost every night. Oddly, the only nights he missed were when she cooked.
It was interesting, really, having his eyes on her when a woman as pretty as Elayne was there, but he did have his motives. He sat altogether too close—tonight she moved her stool three times, but he followed without missing a word or seeming to notice—and he alternated comparing her with various flowers, to the blossoms’ detriment, ignoring the black eye he could not miss without being blind, and musing over how beautiful she would be in that red dress, with compliments on her courage thrown in. Twice, he slipped in suggestions that they take a stroll by moonlight, hints so veiled that she was not entirely sure that was what they were until she thought about it.
“That gown will frame your unfolding bravery to perfection,” he murmured in her ear, “yet not a quarter so well as you display yourself, for night-blooming dara lilies would weep with envy to see you stroll beside the moonlit water, as I would do, and make myself a bard to sing your praises by this very moon.”
She blinked at him, working that out. Luca seemed to believe she was fluttering her lashes; she accidentally hit him in the ribs with her elbow before he could nibble her ear. At least that seemed to be his intention, even if he was coughing now and claiming he had swallowed a cake crumb the wrong way. The man was certainly handsome—Stop that!—and he did have a shapely calf—What are you doing, looking at his legs?—but he must think her a brainless ninny.
She moved her stool again while he was trying to get his breath back; she could not move it far without making it clear that she was running from him, though she held her fork ready in case he followed again. Thom studied his plate as though more than a smear remained on the white glaze. Juilin whistled tunelessly and nearly silently, peering into the dying fire with false intensity. Elayne looked at her and shook her head.
“It was so pleasant of you to join us,” Nynaeve said, and stood up. Luca stood when she did, a hopeful look in his eye along with the shine of the firelight. She set her plate atop the one in his hand. “Thom and Juilin will be grateful for your help with the dishes, I am sure.”  “It is late, and I expect we’ll be moving across the river early.”
“Of course,” Elayne murmured, with just the hint of a smile. And she put her plate atop Nynaeve’s before following her into the wagon. Nynaeve wanted to hug her. Until she said, “Really, you should not encourage him.” Lamps mounted in wall brackets sprang alight.
Nynaeve planted her fists on her hips. “Encourage him! The only way I could encourage him less would be to stab him!” Sniffing for emphasis, she frowned at the lamps. “Next time, use one of Aludra’s firesticks. Strikers. You are going to forget one day and channel where you shouldn’t, and then where will we be? Running for our lives with a hundred Whitecloaks after us.”
Stubborn to a fault, the other woman refused to be diverted. “I may be younger than you, but sometimes I think I know more of men than you ever will. For a man like Valan Luca, that coy little flight of yours tonight was only asking him to keep pursuing you. If you would snap his nose off the way you did the first day, he might give up. You don’t tell him to stop, you do not even ask! You kept smiling at him, Nynaeve. What is the man supposed to think? You haven’t smiled at anyone in days!”
“I am trying to hold my temper,” Nynaeve muttered. Everybody complained about her temper, and now that she was trying to control it, Elayne complained about that! It was not that she was fool enough to be taken in by his compliments. She certainly was not so big a fool as that. Elayne laughed at her, and she scowled.
“Oh, Nynaeve. ‘You cannot hold the sun down at dawn.’ Lini could have been thinking of you.”
With an effort Nynaeve smoothed her face. She could too hold her temper. Didn’t I just prove it out there? She held out her hand. “Let me have the ring. He will want to cross the river early tomorrow, and I want at least some real sleep after I’m done.”
“I thought I would go tonight.” Concern touched Elayne’s voice. “Nynaeve, you’ve been entering Tel’aran’rhiod practically every night except the meetings with Egwene. That Bair intends to pick a bone with you, by the way. I had to tell them why you weren’t there yet again, and she says you should not need rest however often you enter, unless you are doing something wrong.” Concern became firmness, and the younger woman planted her fists on her hips. “I had to listen to a lecture that was meant for you, and it was not pleasant, with Egwene standing there nodding her head to every word. Now; I really think that tonight I should—”
“Please, Elayne.” Nynaeve did not lower her outstretched hand. “I have questions for Birgitte, and her answers might make me think of more.” She did have, sort of; she could always think of questions for Birgitte. It had nothing to do with avoiding Egwene, and the Wise Ones. If she visited Tel’aran’rhiod so often that Elayne always went to the meetings with Egwene, that was simply how it fell out.
Elayne sighed, but fished the twisted stone ring from the neck of her dress. “Ask her again, Nynaeve. It is very difficult facing Egwene. She saw Birgitte. She doesn’t say anything, but she looks at me. It is worse when we meet again after the Wise Ones have gone. She could ask then, and she still doesn’t, and that makes it far worse.” She frowned as Nynaeve transferred the small ter’angreal to the leather cord around her own neck, with Lan’s heavy ring and her Great Serpent. “Why do you suppose none of the Wise Ones ever come with her then? We don’t learn very much in Elaida’s study, but you would think they would at least want to see the Tower. Egwene doesn’t even want to talk about it in front of them. If I seem to come close, she gives me such a look that you’d think she meant to hit me.”
“I think they want to avoid the Tower as much as possible.” And wise they were indeed for that. If not for Healing, she would avoid it, and Aes Sedai, too. She was not becoming Aes Sedai; she was just hoping to learn more of Healing. And to help Rand, certainly. “They are free women, Elayne. Even if the Tower was not in the mess it is, would they really want Aes Sedai traipsing through the Waste, scooping them up to carry back to Tar Valon?”
“I suppose that is it.” Elayne’s tone said she could not understand it, though. She thought the Tower wonderful, and could not see why any woman would want to evade Aes Sedai. Sealed to the White Tower forever, they said when they put that ring on your finger. And they meant it. Yet the fool girl did not see it as onerous at all.
Elayne helped her undress, and she stretched out on her narrow bed in her shift, yawning. It had been a long day, and it was surprising how tiring standing still could be when someone unseen was hurling knives at you.  Elayne had claimed she was practicing when she had acted the fool with Thom. Not that the fond-father-and-favorite-daughter they tried on now was much less foolish to watch. Maybe she could practice herself, just a bit, with Valan. Now, that was foolish. Men’s eyes might wander—Lan’s had better not!—but she knew how to be constant. She was simply not going to wear that dress. Far too much bosom.
Vaguely, she heard Elayne say, “Remember to ask her again.”
Sleep took her.
She stood outside the wagon, in the night. The moon was high, and drifting clouds cast shadows over the camp. Crickets chirruped, and the night-birds called. The lions’ eyes shone as they watched her from their cages. The white-faced bears were dark sleeping mounds behind the iron bars. The long picket line stood empty of horses, Clarine’s dogs were not on their leashes beneath her and Petra’s wagon, and the space where the s’redit stood in the waking world was bare. She had come to understand that only wild creatures had reflections here, but whatever the Seanchan woman claimed, it was hard to think that those huge gray animals had been domesticated so long that they were no longer wild.
Abruptly she realized that she was wearing the dress. Blazing red, far too snug around the hips for decency, and a square neck cut so low she thought she might pop out. She could not imagine any woman but Berelain donning it. For Lan, she might. If they were alone. She had been thinking of Lan when she drifted off. I was, wasn’t I?
In any case, she was not about to let Birgitte see her in the thing. The woman claimed to be a soldier, and the more time Nynaeve spent with her, the more she realized that some of her attitudes and comments were as bad as any man’s. Worse. A combination of Berelain and a tavern brawler. The comments did not come out all the time, but they certainly did whenever Nynaeve allowed idle thoughts to put her in anything like this dress. She changed to good stout Two Rivers wool, dark, with a plain shawl she did not need, her hair decently braided again, and opened her mouth to call Birgitte.
“Why did you change?” the woman said, stepping out from the shadows to lean on her silver bow. Her intricate golden braid hung over her shoulder, and moonlight shone on her bow and arrows. “I remember wearing a gown that could have been twin to that, once. It was only to attract attention so Gaidal could sneak by—the guards’ eyes bulged like frogs’—but it was fun. Especially when I wore it dancing with him later. He always hates dancing, but he was so intent on keeping any other man from getting close that he danced every dance.” Birgitte laughed fondly. “I won fifty gold solids from him that night at spin, because he stared so much, he never looked at his tiles. Men are peculiar. It was not as if he had never seen me—”
“That’s as may be,” Nynaeve cut in primly, wrapping the shawl firmly around her shoulders.
Before she could add her question, Birgitte said, “I have found her,” and all thought of the question fled.
“Where? Did she see you? Can you take me to her? Without her seeing?” Fear fluttered in Nynaeve’s belly—a fat lot Valan Luca would say about her courage if he could see her now—but she was sure it would turn to anger as soon as she saw Moghedien. “If you can bring me close . . . ” She trailed off as Birgitte raised a hand.
“I cannot think she saw me, or I doubt I would be here now.” She was all seriousness now; Nynaeve found it much easier to be around her when she showed this side of being a soldier. “I can take you close for a moment, if you want to go, but she is not alone. At least . . . You will see. You must be silent, and you must take no action against Moghedien. There are other Forsaken. Perhaps you could destroy her, but can you destroy five of them?”
The fluttering in Nynaeve’s middle spread to her chest. And her knees. Five. She should ask what Birgitte had seen or heard and let it go at that. Then she could return to her bed and . . . But Birgitte was looking at her. Not questioning her courage, only looking. Ready to do this thing if she said. “I will be silent. And I won’t even think of channeling.” Not with five Forsaken together. Not that she could have channeled a spark at that moment. She stiffened her knees to keep them from knocking. “Whenever you are ready.”
 They were standing on nothing, infinite blackness all around, no way to tell up from down, and in every direction a fall that would last forever. Head spinning, she made herself look where Birgitte pointed.
Below them, Moghedien also stood on darkness, garbed nearly as black as what surrounded her, bent and listening intently. And as far below her, four huge, high-backed chairs, each different, sat on an expanse of glistening white-tiled floor floating in the blackness. Strangely, Nynaeve could hear what those in the chairs said as well as if she had been among them.
“ . . . never been a coward,” a plumply pretty, sun-haired woman was saying, “so why begin?” Seemingly attired in silvery-gray mist and sparkling gems, she lounged in a chair of ivory worked so it appeared made of naked acrobats. Four carved men held it aloft, and her arms rested along the backs of kneeling women; two men and two women held a white silk cushion behind her head, while above more were contorted into shapes Nynaeve did not believe a human body could attain. She blushed when she realized that some were performing more than acrobatic tricks.
 His chair was heavy wood, carved with columns of armored men and horses, a steel-gauntleted fist clasping lighting at the back’s peak. His red coat made up for the lack of gilding on the chair, for golden scrollwork rolled across his shoulders and down his arms. “No one names me coward,” he said harshly. “But if we continue as we are, he will come straight for my throat.”
“That has been the plan from the beginning,” said a woman’s melodious voice. Nynaeve could not see the speaker, hidden behind the towering back of a chair that seemed all snow-white stone and silver.
The second man was large and darkly handsome, with white wings streaking his temples. He toyed with an ornate golden goblet, leaning back in a throne. That was the only possible word for the gem-encrusted thing. A mere hint of gold showed here and there, but Nynaeve would not have doubted that it was solid gold beneath all those glittering rubies and emeralds and moonstones; it had an air of weight quite apart from its massive size. “He will concentrate on you,” the big man said in a deep voice. “If need be, one close to him will die, plainly at your order. He will come for you. And while he is fixed on you alone, the three of us, linked, will take him. What has changed to alter any of that?”
“Nothing has changed,” the scarred man growled. “Least of all, my trust for you. I will be part of the link, or it ends now.”
 “Poor man,” she said mockingly, waving a beringed hand at him. “Do you think he would not notice that you were linked? He has a teacher, remember.  Next you will ask to include enough of those Black Ajah children to take the circle beyond thirteen, so you or Rahvin must have control.”
“If Rahvin trusts us enough to link when he must allow one of us to guide,” the melodious voice said, “you can display an equal trust.” The big man looked into his goblet, and the mist-clad woman smiled faintly. “If you cannot trust us not to turn on you,” the unseen woman continued, “then trust that we will be watching each other too closely to turn. You agreed to all of this, Sammael. Why do you begin to quibble now?”
Nynaeve gave a start as Birgitte touched her arm . . .
. . . and they were back among the wagons, with the moon shining through the clouds. It seemed almost normal compared to where they had been.
“Why . . . ?” Nynaeve began, and had to swallow. “Why did you bring us away?” Her heart leaped into her throat. “Did Moghedien see us?” She had been so intent on the other Forsaken—on the mingled strangeness and commonplaceness of them—that she had forgotten to keep an eye on Moghedien. She heaved a fervent sigh when Birgitte shook her head.
“I never took my gaze from her for more than a moment, and she never moved a muscle. But I do not like being so exposed. If she had looked up, or one of the others . . . ”
Nynaeve wrapped her shawl tightly around her shoulders and still shivered. “Rahvin and Sammael.” She wished she did not sound hoarse. “Did you recognize the others?” Of course Birgitte had; it was a foolish way to phrase it, but she was shaken.
“Lanfear was the one hidden by her chair. The other was Graendal.  She is devious, and she uses her pets in rites to cause the roughest soldier I ever knew to swear celibacy.”
“Graendal is devious,” Moghedien’s voice said, “but not devious enough.”
Birgitte whirled, silver bow coming up, silver arrow almost flying to nock—and abruptly hurtled thirty paces through the moonlight to crash against Nynaeve’s wagon so hard that she bounced back five and lay in a crumpled heap.
Desperately Nynaeve reached for saidar. Fear streaked through her anger, but there was anger enough—and it ran into an invisible wall between her and the warm glow of the True Source. She almost howled. Something seized her feet, jerking them backward and up off the ground; her hands flew up and back until wrists met ankles above her head.  Frantic, she tried to step out of the dream. Nothing happened. She hung doubled in midair like some netted creature, every muscle strained to its limit. Tremors ran through her; her fingers twitched feebly, brushing her feet. She thought if she tried to move anything else, her back would break.
Strangely, her fear was gone, now that it was too late. She was certain that she could have been quick enough, if not for the terror that had laced through her when she needed to act. All she wanted was a chance to put her hands around Moghedien’s throat. Much good that does now! Every breath came in strained panting.
Moghedien moved to where Nynaeve could see her, between the quivering triangle of her arms. The glow of saidar surrounded the woman mockingly. “A detail from Graendal’s chair,” the Forsaken said. Her dress was mist like Graendal’s, sliding from black fog to nearly transparent and back to gleaming silver. The fabric changed almost constantly. Nynaeve had seen her wear it before, in Tanchico. “Not something I would have thought of on my own, but Graendal can be . . . edifying.” Nynaeve glared at her, but Moghedien did not appear to notice. “I can hardly believe that you actually came hunting me. Did you really believe that because once you were lucky enough to catch me off guard, you might be my equal?” The woman’s laugh was cutting. “If you only knew the effort I have put into finding you. And you came to me.” She glanced around at the wagons, studying the lions and bears for a moment before turning back to Nynaeve. “A menagerie? That would make you easy enough to find.  As best she could. Doubled up as she was, she had to force the words out one by one.  Her stomach went hollow, even stretched tight as a sheepskin for drying. Birgitte lay sprawled on the ground, silver arrows spilling from the quiver at her waist, her silver bow a span from her unmoving hand. “Lucky, you say? If you hadn’t managed to sneak up on me, I’d have striped you till you wailed. I’d have wrung your neck like a chicken.” She had only one chance, if Birgitte was dead, and a bleak one. To make Moghedien so angry that she killed her quickly in a rage. If only there was some way to warn Elayne. Her dying would have to do it. “Remember how you said you’d use me for a mounting block? And later, when I said I’d do the same for you? That was after I had beaten you. When you were whimpering and pleading for your life. Offering me anything.  The leavings from a nightjar! You piece of—!”
“You are so simple,” Moghedien murmured.  I do not think I will use you for a mounting block.” Her smile made Nynaeve’s skin crawl. “I think I will turn you into a horse. It is quite possible, here.   And every time you come to Tel’aran’rhiod, you’ll be a horse, until I change it. Or some other with the knowledge does so.” She paused again, looking almost sympathetic. “No, I’d not want to give you false hope. There are only nine of us now who know that binding, and you would not want any of the others to have you any more than myself. You will be a horse every time I bring you here. You will have your own saddle and bridle. I will even braid your mane.” Nynaeve’s braid jerked almost out of her scalp. “You will remember who you are even then, of course. I think I will enjoy our rides, though you may not.” Moghedien took a deep breath, and her dress darkened to something that glistened in the pale light; Nynaeve could not be sure, but she thought it might be the color of wet blood. “You make me approach Semirhage. It will be well to be done with you, so I can turn my full attention to matters of importance. Is the little yellow-haired chit with you in this menagerie?”
The thickness vanished from Nynaeve’s mouth. “I am alone, you stupid—” Pain. As if she had been beaten from ankles to shoulders, every stroke landing at once. She bellowed shrilly. Again. She tried to clamp her teeth shut, but her own endless shriek filled her ears. Tears rolled shamingly down her cheeks as she sobbed, waiting hopelessly for the next.
“Is she with you?” Moghedien said patiently.  I won’t. You will live many years serving me. Your rather pitiful abilities might be of some use once I train them. Once I train you. But I can make you think that what you just felt was a lover’s caress. Now, answer my question.”
Nynaeve managed to gather breath. “No,” she wept. “She ran off with a man after we left Tanchico.  We heard what happened in the Tower”—she was sure Moghedien must know of that—“and she was afraid to go back.”
The other woman laughed. “A delightful tale. I can almost see what fascinates Semirhage about breaking the spirit. Oh, you are going to provide me with a great deal of entertainment, Nynaeve al’Meara. But first, you are going to bring the girl Elayne to me.  Do you know why? Because some things are actually stronger in Tel’aran’rhiod than in the waking world. That is why you will be a glossy white mare whenever I bring you here. And it is not only hurts taken here that last into waking. Compulsion is another. I want you to think of it for a moment or two, before you begin believing it your own idea. I suspect that the girl is your friend.
Nynaeve fell to the ground like a dropped sack. The fall knocked every speck of breath from her lungs as surely as a hammer in the belly. Straining to breathe, she struggled to make racked muscles move, to fight through pain to saidar.
Staggering on her feet, Birgitte fumbled another arrow from her quiver. “Go, Nynaeve!” It was a mumbling shout. “Get away!” Birgitte’s head wavered, and the silver bow wobbled as she raised it.
The glow around Moghedien increased until it seemed as if the blinding sun surrounded her.
The night folded in over Birgitte like an ocean wave, enveloping her in blackness. When it passed, the bow dropped atop empty clothes as they collapsed. The clothes faded like fog burning off, and only the bow and arrows remained, shining in the moonlight.
Moghedien sank to her knees, panting, clutching the protruding arrow shaft with both hands as the glow around her faded and died. Then she vanished, and the silver arrow fell where she had been, stained dark with blood.
After what seemed an eternity, Nynaeve managed to push up to hands and knees. Weeping, she crawled to Birgitte’s bow. This time it was not pain that made tears come. Kneeling, naked and not caring, she clutched the bow. “I’m sorry,” she sobbed. “Oh, Birgitte, forgive me. Birgitte!”
There was no answer except the mournful cry of a night-bird.
Liandrin leaped to her feet as the door to Moghedien’s bedchamber crashed open and the Chosen staggered into the sitting room, blood soaking her silk shift. Chesmal and Temaile rushed to her side, each taking an arm to keep the woman on her feet, but Liandrin remained by her chair. The others were out; perhaps out of Amador, for all Liandrin knew. Moghedien told only what she wanted the hearer to know, and punished questions she did not like.
“What happened?” Temaile gasped.
Moghedien’s brief look should have fried her where she stood. “You have some small ability with Healing,” the Chosen told Chesmal thickly. Blood stained her lips, trickled from the corner of her mouth in an increasing stream. “Do it. Now, fool!”
The dark-haired Ghealdanin woman did not hesitate in laying hands to Moghedien’s head. Liandrin sneered to herself, as the glow surrounded Chesmal; concern painted Chesmal’s handsome face, and Temaile’s delicate, foxlike features were contorted with pure fright and worry. So faithful, they were. Such obedient lapdogs.
In moments it was done. The glow around Chesmal disappeared, and Moghedien’s heels settled to the blue-and-green patterned carpet. Without Temaile’s support, she might have fallen. Only a part of the strength for Healing came from the Power, the rest came from the person being Healed. Whatever wound had caused all that bleeding would be gone, but Moghedien was surely as weak as if she had lain in bed an invalid for weeks. She pulled the fine gold-and-ivory silk scarf from Temaile’s belt to wipe her mouth as the woman helped her turn toward the bedchamber door. Weak, and her back turned.
Liandrin struck as hard as she ever had, with everything she had puzzled out of what the woman had done to her.
Even as she did, saidar seemed to fill Moghedien like a flood. Liandrin’s probe died as the Source was shielded from her. Flows of Air picked her up and slammed her against the paneled wall hard enough to make her teeth rattle. Spread-eagled, helpless, she hung there.
Chesmal and Temaile exchanged confused glances, as if they did not understand what had occurred. They continued to support Moghedien as she came to stand in front of Liandrin, still calmly wiping her mouth on Temaile’s scarf.
“Y-you do not understand, Great M-mistress,” Liandrin said frantically. “I only wished to help you to have the good sleep.” For once in her life, slipping back into the accents of a commoner did not concern her in the least. “I only—” She cut off with a strangled gagging as a flow of Air seized her tongue, stretching it out between her teeth. Her brown eyes bulged. A hair more pressure, and . . .
“Shall I pull it out?” Moghedien studied her face, but spoke as if to herself. “I think not.  Otherwise, I might only kill you.” Suddenly she was tying off the shield, the knot growing ever more intricate, until Liandrin lost the twists and turns completely. And still it went on. “There,” Moghedien said finally in tones of satisfaction. “You will search a very long time to find anyone who can unravel that. But you will have no opportunity to search.”
Liandrin searched Chesmal’s face, and Temaile’s, for some sign of sympathy, pity, anything. Chesmal’s eyes were cold and stern; Temaile’s shone, and she touched her lips with the tip of her tongue and smiled. Not a friendly smile.
“You thought you had learned something of compulsion,” Moghedien went on. “I will teach you a bit more.”  “Live.” The instant passed, and sweat beaded on Liandrin’s face as the Chosen smiled at her. “Compulsion has many limits, but a command to do what someone wants to do in their inmost depths will hold for a lifetime. You will live, however much you think you want to take your life. And you will think of it. You will lie weeping many nights, wishing for it.”
The flow holding Liandrin’s tongue vanished, and she barely paused to swallow.
“There are . . . attractions . . . to doing a thing physically,” the woman breathed. “Do you wish to beg more?”
“Please, Great Mistress—” The second slap sent her hair flying.
“More?”
“Please—” A third nearly unhinged her jaw. Her cheek burned.
“If you cannot be more inventive than that, I will not listen. You will listen instead. I think what I have planned for you would delight Semirhage herself.” Moghedien’s smile was almost as dark as Temaile’s. “You will live, not stilled, but knowing that you could channel again, if only you found someone to untie your shield. Yet that is only the beginning. Evon will be glad of a new scullery girl, and I am sure the Arene woman will want to have long talks with you about her husband. Why, they will enjoy your company so much that I doubt you will see the outside of this house during the years to come. Long years in which to wish that you had served me faithfully.”
Liandrin shook her head, mouthing “no” and “please”; she was crying too hard to force the words out.
Turning her head to Temaile, Moghedien said, “Prepare her for them. And tell them they are not to kill or maim her. I want her always to believe she might escape. Even futile hope will keep her alive to suffer.” She turned away on Chesmal’s arm, and the flows holding Liandrin to the wall vanished.
Her legs gave way like straw, crumpling her to the carpet. Only the shield remained; she hammered at it futilely as she crawled after Moghedien, trying to catch the hem of her shift, sobbing brokenly. “Please, Great Mistress.”
“They are with a menagerie,” Moghedien told Chesmal. “All of your searching, and I had to find them myself. A menagerie should not be too difficult to locate.”
“I will serve faithfully,” Liandrin wept. Fear turned her limbs to water, she could not crawl fast enough to catch up. They did not even look back at her, scrabbling across the carpet after them. “Bind me, Great Mistress. Anything. I will be the faithful dog!”
“There are many menageries traveling north,” Chesmal said, eagerness to negate her failure filling her voice. “To Ghealdan, Great Mistress.”
“Then I must to Ghealdan,” Moghedien said. “You will procure fast horses and follow—” The bedchamber door closed on her words.
“I will be the faithful dog,” Liandrin sobbed in a heap on the carpet. Lifting her head, she blinked tears away to see Temaile watching her, rubbing her arms and smiling. “We could overwhelm her, Temaile. We three together could—”
“We three?” Temaile laughed. “You could not overwhelm fat Evon.” Her eyes narrowed as she studied the shield fastened to Liandrin. “You might as well be stilled.”
“Listen. Please.” Liandrin swallowed hard, trying to clear her voice, but it was still thick, if burning with urgency, when she went on at frantic speed. “We have spoken of the dissension that must rule among the Chosen. If Moghedien hides herself so, she must hide from the other Chosen. If we take her and give her to them, think of the places we could have. We could be exalted above kings and queens. We could be Chosen ourselves!”
For a moment—one blessed, wonderful moment—the child-faced woman hesitated. Then she shook her head. “You have never known how high to lift your eyes. ‘Who reaches for the sun will be burned.’ No, I think that I will not be burned for reaching too high. I think that I will do as I am told, and soften you for Evon.” Suddenly she smiled, showing teeth that made her even more vulpine. “How surprised he will be when you crawl to kiss his feet.”
Liandrin started screaming before Temaile even began.


| Path: | vendor/plugins/will_paginate/README |
| Last Update: | Thu May 15 13:22:25 -0700 2008 |
Pagination is just limiting the number of records displayed. Why should you let it get in your way while developing, then? This plugin makes magic happen. Did you ever want to be able to do just this on a model:
Post.paginate :page => 1
… and then render the page links with a single view helper? Well, now you can.
Ryan Bates made an awesome screencast, check it out.
Your mind reels with questions? Join our Google group.
Simply do:
script/plugin install svn://errtheblog.com/svn/plugins/will_paginate
Alternatively, you can add the whole Err repository to plugin sources:
script/plugin source svn://errtheblog.com/svn/plugins
You only have to do this once, then you can install will_paginate to each of your applications simply like this:
script/plugin install will_paginate
To see what other plugins are now available to you, list the newly added plugin source:
script/plugin list --source=svn://errtheblog.com/svn/plugins
The plugin officially supports Rails versions 1.2.6 and 2.0.2. You can browse its source code on Warehouse: plugins.require.errtheblog.com/browser/will_paginate
Use a paginate finder in the controller:
@posts = Post.paginate_by_board_id @board.id, :page => params[:page]
Yeah, paginate works just like find — it just doesn‘t fetch all the records. Don‘t forget to tell it which page you want, or it will complain! Read more on WillPaginate::Finder::ClassMethods.
Render the posts in your view like you would normally do. When you need to render pagination, just stick this in:
<%= will_paginate @posts %>
You‘re done. (Copy and paste the example fancy CSS styles from the bottom.) You can find the option list at WillPaginate::ViewHelpers.
How does it know how much items to fetch per page? It asks your model by calling its per_page class method. You can define it like this:
class Post < ActiveRecord::Base cattr_reader :per_page @@per_page = 50 end
… or like this:
class Post < ActiveRecord::Base def self.per_page 50 end end
… or don‘t worry about it at all. WillPaginate defines it to be 30 by default. But you can always specify the count explicitly when calling paginate:
@posts = Post.paginate :page => params[:page], :per_page => 50
The paginate finder wraps the original finder and returns your resultset that now has some new properties. You can use the collection as you would with any ActiveRecord resultset. WillPaginate view helpers also need that object to be able to render pagination:

 <% for post in @posts -%>
Render `post` in some nice way.
 <% end -%>

Now let's render us some pagination!
 <%= will_paginate @posts %>
More detailed documentation:
Tell us what happened so we can fix it, quick! Issues are filed on the Lighthouse project: err.lighthouseapp.com/projects/466-plugins/tickets?q=tagged:will_paginate
Steps to make an awesome bug report:
Here is an example of a great bug report and patch: err.lighthouseapp.com/projects/466/tickets/172-total_entries-ignored-in-paginate_by_sql
Want to discuss, request features, ask questions? Join the Google group: groups.google.com/group/will_paginate
| Authors: | Mislav Marohnić, PJ Hyett |
| Original announcement: | errtheblog.com/post/929 |
| Original PHP source: | www.strangerstudios.com/sandbox/pagination/diggstyle.php |
All these people helped making will_paginate what it is now with their code contributions or simply awesome ideas:
Chris Wanstrath, Dr. Nic Williams, K. Adam Christensen, Mike Garey, Bence Golda, Matt Aimonetti, Charles Brian Quinn, Desi McAdam, James Coglan, Matijs van Zuijlen, Maria, Brendan Ribera.
Copy the following CSS into your stylesheet for a good start:
.pagination { padding: 3px; margin: 3px; } .pagination a { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #aaaadd; text-decoration: none; color: #000099; } .pagination a:hover, .pagination a:active { border: 1px solid #000099; color: #000; } .pagination span.current { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #000099; font-weight: bold; background-color: #000099; color: #FFF; } .pagination span.disabled { padding: 2px 5px 2px 5px; margin: 2px; border: 1px solid #eee; color: #ddd; }
More reading about pagination as design pattern:


Classes
PacketChannelOpenConfirmation
PacketChannelOpenFailure
PacketChannelWindowAdjust
PacketDisconnect
PacketGlobalCancelForwardRequest
PacketGlobalForwardRequest
PacketIgnore
PacketKexDhGexGroup
PacketKexDhGexInit
PacketKexDhGexReply
PacketKexDhGexRequest
PacketKexDhGexRequestOld
PacketKexDHInit
PacketKexDHReply
PacketKexInit
PacketNewKeys
PacketOpenDirectTCPIPChannel
PacketOpenSessionChannel
Packets
PacketServiceAccept
PacketServiceRequest
PacketSessionExecCommand
PacketSessionPtyRequest
PacketSessionStartShell
PacketSessionSubsystemRequest
PacketSessionX11Request
PacketUserauthBanner
PacketUserauthFailure
PacketUserauthInfoRequest
PacketUserauthInfoResponse
PacketUserauthRequestInteractive
PacketUserauthRequestNone
PacketUserauthRequestPassword
PacketUserauthRequestPublicKey
TypesReader
TypesWriter |


Last Revised: January 14, 2019
Our privacy policy applies to information we collect when you use or access our website, application, or just interact with us. We may change this privacy policy from time to time. Whenever we make changes to this privacy policy, the changes are effective 30 days after we post the revised privacy policy (as indicated by revising the date at the top of our privacy policy). We encourage you to review our privacy policy whenever you access our services to stay informed about our information practices and the ways you can help protect your privacy.
We collect information you provide directly to us. For example, we collect information when you participate in any interactive features of our services, fill out a form, request customer support, provide any contact or identifying information or otherwise communicate with us. The types of information we may collect include your name, email address and other contact or identifying information you choose to provide.
When you access or use our services, we automatically collect information about you, including:
In order to provide you with access to the Service, or to provide you with better service in general, we may combine information obtained from other sources (for example, a third-party service whose application you have authorized or used to sign in) and combine that with information we collect through our services.
We use information about you for various purposes, including to:
By accessing and using our services, you consent to the processing and transfer of your information in and to the Denmark and other countries.
We may share personal information about you as follows:
We may also share aggregated or anonymised information that does not directly identify you.
We may allow third parties to provide analytics services. These third parties may use cookies, web beacons and other technologies to collect information about your use of the services and other websites, including your IP address, web browser, pages viewed, time spent on pages, links clicked and conversion information. This information may be used by us and third parties to, among other things, analyze and track data, determine the popularity of certain content and other websites and better understand your online activity. Our privacy policy does not apply to, and we are not responsible for, third party cookies, web beacons or other tracking technologies and we encourage you to check the privacy policies of these third parties to learn more about their privacy practices.
We take reasonable measures to help protect personal information from loss, theft, misuse and unauthorized access, disclosure, alteration and destruction.
Most web browsers are set to accept cookies by default. If you prefer, you can usually choose to set your browser to remove or reject browser cookies. Please note that if you choose to remove or reject cookies, this could affect the availability and functionality of our services.
You may opt out of receiving any promotional emails from us by following the instructions in those emails. If you opt out, we may still send you non-promotional communications, such as those about your account or our ongoing business relations.
If you have any questions about this privacy policy, please contact us at: hi@wiyarmir.es.


Actions, resources, and condition keys for Amazon CloudFront
Amazon CloudFront (service prefix:
cloudfront
) provides the following service-specific resources, actions, and condition context keys for use in IAM permission policies.
References:
-
Learn how to configure this service .
-
View a list of the API operations available for this service .
-
Learn how to secure this service and its resources by using IAM permission policies.
Topics
Actions defined by Amazon CloudFront
You can specify the following actions in the
Action
element of an IAM policy statement. Use policies to grant permissions to perform an operation in AWS. When you use an action in a policy, you usually allow or deny access to the API operation or CLI command with the same name. However, in some cases, a single action controls access to more than one operation. Alternatively, some operations require several different actions.
The
Resource types
column of the Actions table indicates whether each action supports resource-level permissions. If there is no value for this column, you must specify all resources ("*") to which the policy applies in the
Resource
element of your policy statement. If the column includes a resource type, then you can specify an ARN of that type in a statement with that action. If the action has one or more required resources, the caller must have permission to use the action with those resources. Required resources are indicated in the table with an asterisk (*). If you limit resource access with the
Resource
element in an IAM policy, you must include an ARN or pattern for each required resource type. Some actions support multiple resource types. If the resource type is optional (not indicated as required), then you can choose to use one of the optional resource types.
The
Condition keys
column of the Actions table includes keys that you can specify in a policy statement's
Condition
element. For more information on the condition keys that are associated with resources for the service, see the
Condition keys
column of the Resource types table.
For details about the columns in the following table, see Actions table .
| Actions | Description | Access level | Resource types (*required) | Condition keys | Dependent actions |
|---|---|---|---|---|---|
| AssociateAlias | Grants permission to associate an alias to a CloudFront distribution | Write | |||
| CopyDistribution | Grants permission to copy an existing distribution and create a new web distribution | Write |
cloudfront:CopyDistribution cloudfront:CreateDistribution cloudfront:GetDistribution |
||
| CreateCachePolicy | Grants permission to add a new cache policy to CloudFront | Write | |||
| CreateCloudFrontOriginAccessIdentity | Grants permission to create a new CloudFront origin access identity | Write | |||
| CreateContinuousDeploymentPolicy | Grants permission to add a new continuous-deployment policy to CloudFront | Write | |||
| CreateDistribution | Grants permission to create a new web distribution | Write | |||
| CreateFieldLevelEncryptionConfig | Grants permission to create a new field-level encryption configuration | Write | |||
| CreateFieldLevelEncryptionProfile | Grants permission to create a field-level encryption profile | Write | |||
| CreateFunction | Grants permission to create a CloudFront function | Write | |||
| CreateInvalidation | Grants permission to create a new invalidation batch request | Write | |||
| CreateKeyGroup | Grants permission to add a new key group to CloudFront | Write | |||
| CreateMonitoringSubscription | Grants permission to enable additional CloudWatch metrics for the specified CloudFront distribution. The additional metrics incur an additional cost | Write | |||
| CreateOriginAccessControl | Grants permission to create a new origin access control | Write | |||
| CreateOriginRequestPolicy | Grants permission to add a new origin request policy to CloudFront | Write | |||
| CreatePublicKey | Grants permission to add a new public key to CloudFront | Write | |||
| CreateRealtimeLogConfig | Grants permission to create a real-time log configuration | Write | |||
| CreateResponseHeadersPolicy | Grants permission to add a new response headers policy to CloudFront | Write | |||
| CreateSavingsPlan [permission only] | Grants permission to create a new savings plan | Write | |||
| CreateStreamingDistribution | Grants permission to create a new RTMP distribution | Write | |||
| CreateStreamingDistributionWithTags | Grants permission to create a new RTMP distribution with tags | Write | |||
| DeleteCachePolicy | Grants permission to delete a cache policy | Write | |||
| DeleteCloudFrontOriginAccessIdentity | Grants permission to delete a CloudFront origin access identity | Write | |||
| DeleteContinuousDeploymentPolicy | Grants permission to delete a continuous-deployment policy | Write | |||
| DeleteDistribution | Grants permission to delete a web distribution | Write | |||
| DeleteFieldLevelEncryptionConfig | Grants permission to delete a field-level encryption configuration | Write | |||
| DeleteFieldLevelEncryptionProfile | Grants permission to delete a field-level encryption profile | Write | |||
| DeleteFunction | Grants permission to delete a CloudFront function | Write | |||
| DeleteKeyGroup | Grants permission to delete a key group | Write | |||
| DeleteMonitoringSubscription | Grants permission to disable additional CloudWatch metrics for the specified CloudFront distribution | Write | |||
| DeleteOriginAccessControl | Grants permission to delete an origin access control | Write | |||
| DeleteOriginRequestPolicy | Grants permission to delete an origin request policy | Write | |||
| DeletePublicKey | Grants permission to delete a public key from CloudFront | Write | |||
| DeleteRealtimeLogConfig | Grants permission to delete a real-time log configuration | Write | |||
| DeleteResponseHeadersPolicy | Grants permission to delete a response headers policy | Write | |||
| DeleteStreamingDistribution | Grants permission to delete an RTMP distribution | Write | |||
| DescribeFunction | Grants permission to get a CloudFront function summary | Read | |||
| GetCachePolicy | Grants permission to get the cache policy | Read | |||
| GetCachePolicyConfig | Grants permission to get the cache policy configuration | Read | |||
| GetCloudFrontOriginAccessIdentity | Grants permission to get the information about a CloudFront origin access identity | Read | |||
| GetCloudFrontOriginAccessIdentityConfig | Grants permission to get the configuration information about a Cloudfront origin access identity | Read | |||
| GetContinuousDeploymentPolicy | Grants permission to get the continuous-deployment policy | Read | |||
| GetContinuousDeploymentPolicyConfig | Grants permission to get the continuous-deployment policy configuration | Read | |||
| GetDistribution | Grants permission to get the information about a web distribution | Read | |||
| GetDistributionConfig | Grants permission to get the configuration information about a distribution | Read | |||
| GetFieldLevelEncryption | Grants permission to get the field-level encryption configuration information | Read | |||
| GetFieldLevelEncryptionConfig | Grants permission to get the field-level encryption configuration information | Read | |||
| GetFieldLevelEncryptionProfile | Grants permission to get the field-level encryption configuration information | Read | |||
| GetFieldLevelEncryptionProfileConfig | Grants permission to get the field-level encryption profile configuration information | Read | |||
| GetFunction | Grants permission to get a CloudFront function's code | Read | |||
| GetInvalidation | Grants permission to get the information about an invalidation | Read | |||
| GetKeyGroup | Grants permission to get a key group | Read | |||
| GetKeyGroupConfig | Grants permission to get a key group configuration | Read | |||
| GetMonitoringSubscription | Grants permission to get information about whether additional CloudWatch metrics are enabled for the specified CloudFront distribution | Read | |||
| GetOriginAccessControl | Grants permission to get the origin access control | Read | |||
| GetOriginAccessControlConfig | Grants permission to get the origin access control configuration | Read | |||
| GetOriginRequestPolicy | Grants permission to get the origin request policy | Read | |||
| GetOriginRequestPolicyConfig | Grants permission to get the origin request policy configuration | Read | |||
| GetPublicKey | Grants permission to get the public key information | Read | |||
| GetPublicKeyConfig | Grants permission to get the public key configuration information | Read | |||
| GetRealtimeLogConfig | Grants permission to get a real-time log configuration | Read | |||
| GetResponseHeadersPolicy | Grants permission to get the response headers policy | Read | |||
| GetResponseHeadersPolicyConfig | Grants permission to get the response headers policy configuration | Read | |||
| GetSavingsPlan [permission only] | Grants permission to get a savings plan | Read | |||
| GetStreamingDistribution | Grants permission to get the information about an RTMP distribution | Read | |||
| GetStreamingDistributionConfig | Grants permission to get the configuration information about a streaming distribution | Read | |||
| ListCachePolicies | Grants permission to list all cache policies that have been created in CloudFront for this account | List | |||
| ListCloudFrontOriginAccessIdentities | Grants permission to list your CloudFront origin access identities | List | |||
| ListConflictingAliases | Grants permission to list all aliases that conflict with the given alias in CloudFront | List | |||
| ListContinuousDeploymentPolicies | Grants permission to list all continuous-deployment policies in the account | List | |||
| ListDistributions | Grants permission to list the distributions associated with your AWS account | List | |||
| ListDistributionsByCachePolicyId | Grants permission to list distribution IDs for distributions that have a cache behavior that's associated with the specified cache policy | List | |||
| ListDistributionsByKeyGroup | Grants permission to list distribution IDs for distributions that have a cache behavior that's associated with the specified key group | List | |||
| ListDistributionsByLambdaFunction [permission only] | Grants permission to list the distributions associated a Lambda function | List | |||
| ListDistributionsByOriginRequestPolicyId | Grants permission to list distribution IDs for distributions that have a cache behavior that's associated with the specified origin request policy | List | |||
| ListDistributionsByRealtimeLogConfig | Grants permission to get a list of distributions that have a cache behavior that’s associated with the specified real-time log configuration | List | |||
| ListDistributionsByResponseHeadersPolicyId | Grants permission to list distribution IDs for distributions that have a cache behavior that's associated with the specified response headers policy | List | |||
| ListDistributionsByWebACLId | Grants permission to list the distributions associated with your AWS account with given AWS WAF web ACL | List | |||
| ListFieldLevelEncryptionConfigs | Grants permission to list all field-level encryption configurations that have been created in CloudFront for this account | List | |||
| ListFieldLevelEncryptionProfiles | Grants permission to list all field-level encryption profiles that have been created in CloudFront for this account | List | |||
| ListFunctions | Grants permission to get a list of CloudFront functions | List | |||
| ListInvalidations | Grants permission to list your invalidation batches | List | |||
| ListKeyGroups | Grants permission to list all key groups that have been created in CloudFront for this account | List | |||
| ListOriginAccessControls | Grants permission to list all origin access controls in the account | List | |||
| ListOriginRequestPolicies | Grants permission to list all origin request policies that have been created in CloudFront for this account | List | |||
| ListPublicKeys | Grants permission to list all public keys that have been added to CloudFront for this account | List | |||
| ListRateCards [permission only] | Grants permission to list CloudFront rate cards for the account | List | |||
| ListRealtimeLogConfigs | Grants permission to get a list of real-time log configurations | List | |||
| ListResponseHeadersPolicies | Grants permission to list all response headers policies that have been created in CloudFront for this account | List | |||
| ListSavingsPlans [permission only] | Grants permission to list savings plans in the account | List | |||
| ListStreamingDistributions | Grants permission to list your RTMP distributions | List | |||
| ListTagsForResource | Grants permission to list tags for a CloudFront resource | Read | |||
| ListUsages [permission only] | Grants permission to list CloudFront usage | List | |||
| PublishFunction | Grants permission to publish a CloudFront function | Write | |||
| TagResource | Grants permission to add tags to a CloudFront resource | Tagging | |||
| TestFunction | Grants permission to test a CloudFront function | Write | |||
| UntagResource | Grants permission to remove tags from a CloudFront resource | Tagging | |||
| UpdateCachePolicy | Grants permission to update a cache policy | Write | |||
| UpdateCloudFrontOriginAccessIdentity | Grants permission to set the configuration for a CloudFront origin access identity | Write | |||
| UpdateContinuousDeploymentPolicy | Grants permission to update a continuous-deployment policy | Write | |||
| UpdateDistribution | Grants permission to update the configuration for a web distribution | Write | |||
| UpdateFieldLevelEncryptionConfig | Grants permission to update a field-level encryption configuration | Write | |||
| UpdateFieldLevelEncryptionProfile | Grants permission to update a field-level encryption profile | Write | |||
| UpdateFunction | Grants permission to update a CloudFront function | Write | |||
| UpdateKeyGroup | Grants permission to update a key group | Write | |||
| UpdateOriginAccessControl | Grants permission to update an origin access control | Write | |||
| UpdateOriginRequestPolicy | Grants permission to update an origin request policy | Write | |||
| UpdatePublicKey | Grants permission to update public key information | Write | |||
| UpdateRealtimeLogConfig | Grants permission to update a real-time log configuration | Write | |||
| UpdateResponseHeadersPolicy | Grants permission to update a response headers policy | Write | |||
| UpdateSavingsPlan [permission only] | Grants permission to update a savings plan | Write | |||
| UpdateStreamingDistribution | Grants permission to update the configuration for an RTMP distribution | Write |
Resource types defined by Amazon CloudFront
The following resource types are defined by this service and can be used in the
Resource
element of IAM permission policy statements. Each action in the
Actions table
identifies the resource types that can be specified with that action. A resource type can also define which condition keys you can include in a policy. These keys are displayed in the last column of the Resource types table. For details about the columns in the following table, see
Resource types table
.
| Resource types | ARN | Condition keys |
|---|---|---|
| distribution |
arn:$
{
Partition}:cloudfront::$
{
Account}:distribution/$
{
DistributionId}
|
|
| streaming-distribution |
arn:$
{
Partition}:cloudfront::$
{
Account}:streaming-distribution/$
{
DistributionId}
|
|
| origin-access-identity |
arn:$
{
Partition}:cloudfront::$
{
Account}:origin-access-identity/$
{
Id}
|
|
| field-level-encryption-config |
arn:$
{
Partition}:cloudfront::$
{
Account}:field-level-encryption-config/$
{
Id}
|
|
| field-level-encryption-profile |
arn:$
{
Partition}:cloudfront::$
{
Account}:field-level-encryption-profile/$
{
Id}
|
|
| cache-policy |
arn:$
{
Partition}:cloudfront::$
{
Account}:cache-policy/$
{
Id}
|
|
| origin-request-policy |
arn:$
{
Partition}:cloudfront::$
{
Account}:origin-request-policy/$
{
Id}
|
|
| realtime-log-config |
arn:$
{
Partition}:cloudfront::$
{
Account}:realtime-log-config/$
{
Name}
|
|
| function |
arn:$
{
Partition}:cloudfront::$
{
Account}:function/$
{
Name}
|
|
| response-headers-policy |
arn:$
{
Partition}:cloudfront::$
{
Account}:response-headers-policy/$
{
Id}
|
|
| origin-access-control |
arn:$
{
Partition}:cloudfront::$
{
Account}:origin-access-control/$
{
Id}
|
|
| continuous-deployment-policy |
arn:$
{
Partition}:cloudfront::$
{
Account}:continuous-deployment-policy/$
{
Id}
|
Condition keys for Amazon CloudFront
Amazon CloudFront defines the following condition keys that can be used in the
Condition
element of an IAM policy. You can use these keys to further refine the conditions under which the policy statement applies. For details about the columns in the following table, see
Condition keys table
.
To view the global condition keys that are available to all services, see Available global condition keys .
| Condition keys | Description | Type |
|---|---|---|
| aws:RequestTag/${TagKey} | Filters access by the presence of tag key-value pairs in the request | String |
| aws:ResourceTag/${TagKey} | Filters access by tag key-value pairs attached to the resource | String |
| aws:TagKeys | Filters access by the presence of tag keys in the request | ArrayOfString |