text
stringlengths
3
1.04M
class Tile attr_writer :revealed, :flagged attr_accessor :neighbors, :bomb, :position def initialize() @bomb = false @revealed = false @flagged = false @position = nil @neighbors = [] end def inspect inspect_hash = { bomb: bomb?, flagged: flagged?, revealed: revealed?, position: position, neighbors: neighbors.map(&:position) }.inspect end def bomb? @bomb end def revealed? @revealed end def reveal if revealed? p self raise "Already revealed!" end self.revealed = true if !bomb? && self.neighbor_bomb_count == 0 neighbors.each { |el| el.reveal unless el.flagged? || el.revealed? } end end def flagged? @flagged end def display_val if revealed? if bomb? 'B' else if neighbor_bomb_count > 0 neighbor_bomb_count.to_s else '_' end end elsif flagged? 'F' else '*' end end def neighbor_bomb_count bomb_count = 0 neighbors.each do |neighbor| bomb_count += 1 if neighbor.bomb? end bomb_count end end
wholesale bridal jewelry websites like weddingfactorydirect.com, rhinestonejewelry.com and bonitaj.com. Google search volume for "wholesale bridal jewelry" Website results for "wholesale bridal jewelry" Description: Shop our line of Bridal, Bridesmaid & Flowergirl Jewelry which includes Wedding Necklaces, Earrings, Bracelets, Hair Accessories and more. Free Shipping & Fast Delivery. Description: Wholesale fashion jewelry exporter India, wholesale costume jewelry exporter India, yoga mats, yoga apparel suppliers and manufacturers offer India handicraft, bridal jewelry, belly dance costume, picture frames, tattoo supply, glass beads from India. Keywords:Wholesale fashion jewelry india, fashion jewelry exporter, costume jewelry exporter, yoga mats suppliers, yoga apparel manufacturer india, wholesale bridal jewelry, India handicraft, belly dance costume supply, picture frames manufacturer, tattoo supply, wholesale glass beads, versatile, delhi, india.
The present article comprises the full texts of a discussion in Chess Notes during its final year as a magazine. ‘Jeremy Silman’s claim that “chess” was being played at the beginning of the Persian civilization six thousand years ago sounds – leaving aside gimmick – fascinating and absurd. Though it is now sufficiently proved and accepted that the game of “chess” originated around 570 A.D., the origin of “chaturanga” – from which “chess” is descended – remains obscure. As a sequel to the partition of India in 1947 all the important sites of the Indus Civilization went over to Pakistan. Hence arose the necessity of finding Harappan (Indus Civilization) sites within the present borders of India. A systematic survey of the Ghaggar (Sarasvati) Valley in the North and the Kathiawar peninsula in the South was undertaken by the Archaeological Survey of India between 1953 and 1958. The exploration resulted in the location of more than two dozen Harappan sites by Dr A. Ghosh in the Bikaner Division of Rajasthan and nearly 100 sites by Dr S.R. Rao and Dr P.P. Pandya in Gujarat (including Kutch and Kathiawar). Among them, Lothal is most important, especially because it was a port city contemporary with Harappa and Mohenjo-daro. The site was discovered in 1954 and excavated on most scientific lines between 1955 and 1962. Lothal is situated at the head of the Gulf of Cambay at a distance of 80 kilometres south-west of Ahmedabad. A fact of particular pride to chess lovers is that Dr S.R. Rao discovered some “chaturanga” pieces during excavations at Lothal. With carbon tests they are dated 2,500 B.C. ‘In C.N. 1783 Louis Blair quoted J. Silman as saying that chess is “the world’s oldest board game” and that it “was being played” in Persia circa 4000 B.C. Mr V.D. Pandit calls the latter idea “absurd”. I would add that such statements as Silman’s are unconscionable if they are made without presentation of proofs of error in accepted historical records. There is written evidence of chess from the sixth century A.D. I don’t know of anything earlier. Allegedly older chess pieces have been found – although I haven’t heard claims for anything before the second century A.D. (except mistaken ones for pieces of Egyptian games which were not chess) – and they don’t prove anything. There are questions both of dating and of identification of the pieces. There is plenty of substantial evidence that other board games are older. Boards for one were found in tombs at Ur, dated circa 3000 B.C. They were not chess boards, and we don’t know the rules of the game. Of games that are still played, however, Nine Men’s Morris (The Mill, or merels) goes back to at least 1400 B.C., and Wei Chi (Go) was played in the seventh century B.C. Mr Pandit gives factual information about the important 1950s-60s Indian excavations of sites of the Harappa/Mohenjo-daro culture. I’ve been interested in archaeology as well as chess history, and in 1971 I first read about Mr S.R. Rao’s excavations at Lothal, where Mr Pandit says there were “chaturanga pieces” dated to 2500 B.C. My understanding is that there were two Lothal cultures, Lothal A (2500-1500 B.C.) and Lothal B (1500-1000 B.C.). Lothal A was called “highly organized”, a port with a brick dockyard which was certainly ahead of its time. But it would be extraordinary if the only “chaturanga pieces” found there would be dated back to the town’s very beginning. What is a “chaturanga piece”? What do those found at Lothal look like, and why were they so identified? In fact, what does Mr Pandit consider “chaturanga” to have been? When Mr Pandit states that chess is “descended” from chaturanga, and that the supposed Lothal chaturanga pieces prove “that chaturanga was in vogue in India some 4,500 years ago” he is inviting the same description of “absurd” that he applied to Mr Silman’s statement. Why? Because he is simply ignoring the conclusions of H.J.R. Murray, whose 1913 A History of Chess remains the basic source for chess history, and those conclusions should either be accepted or individually refuted. They should not be ignored. Mr Pandit’s statements are nothing new. They are essentially the old Cox-Forbes theory (i.e. that chaturanga, a four-handed chess game, played with dice, goes back to circa 3000 B.C.). That theory was discredited by Murray. There is no proof of it. “Chaturanga” was used long ago as a word for army. The 64-square board was used long ago for a race game played with dice or cowries; it was nothing like chess. When chess was put on the 64-square “ashtapada” board it was logical to call it “chaturanga”, the army game. Written proof of a four-handed chess game, or chess played with dice, wasn’t seen until well after the sixth century A.D. Anyone who wants to prove otherwise should refer to Murray’s History, and prove that he was mistaken. There have also been claims that chess originated in China or Central Asia. My opinion is that so far no-one has proven that Murray was wrong when he said evidence indicates that it started in India in the sixth century A.D. Mr Pandit knows that. Our difference is my opinion that the chess of the sixth century A.D. was chaturanga, and that prior to that time there was no such thing as chaturanga except for non-chessic use of the word. ‘Hindu mythology believes that the game of Chaturanga – of which, I repeat, chess is the descendant – was invented by Mandodari, the Queen of King Ravana of Lanka (now Sri Lanka) to amuse her ever ambitious and warring husband. The recent excavations at Lothal (Gujarat) lead us to think that after all this does not seem to be a mere myth. The first version of Ramayana (basically an epic of war between King Ravana and Lord Rama wherein Ravana was demolished by Lord Rama) was composed during 800 B.C. But scholars differ about the period of Ramayana. In any case, it is, however, older than 1000 B.C. But the pieces found at Lothal are from 2500 B.C. It seems possible then that the prosperous and civilized Dravidians, who ruled India, knew the game and Mandodari, a Dravidian Queen, did not actually invent the game but taught Ravana the game already in vogue. Newly wed Mandodari was not happy with Ravana’s habit of frequently going out on wars leaving her behind all alone. With a view to promoting acquaintance between the two, she taught him the game. However, any newly-wed bride will not invent a game wherein two “intruders” will be required. (Chaturanga is played among four players, but can also be played between two.) So it is more logical that Mandodari knew this game and after seeing Ravana’s thirst for warfare she introduced the game to him so that he might be induced to curtail his war activities and to spend more time with her. Mandodari should then perhaps be given credit for discovering not only Chaturanga but the Simulation Technique as well (which is so widely used these days in Operations Research). ‘After being told that I shouldn’t criticize a system for ranking chessplayers because I’m not a mathematician, now I’m told that knowledge of Sanskrit and of Hindu philosophy are prerequisites for writing about chess history. ‘The Lothal “chess” pieces are the most important historical item to be publicized in chess literature. It would also seem that these pieces have been radio-carbon dated, and if the dates as given are in any way sound, then the accepted evolutionary theory of chess is incorrect. 4. The “glass paste” pieces in the Cairo Museum. (See Eco Scacco, October/November 1978, by Chicco.) Reputed to be 1500 B.C. It is doubtful that these can be radio-carbon dated, but an examination cries out to be made. As Richard Eales rightly puts it, “archaeology and conjecture”. We need to take steps to date the above four finds and then do some theorizing on the origin of chess. For example, number four above looks absurd. Place it alongside the Lothal pieces and it looks logical. With respect to all chess historians, we all seem to love a good debate at the expense of archaeological finds. There may well be no written evidence earlier than 600 A.D., but that does not mean that chess or its parents cannot be tracked back further as suggested. I suspect that criticism of H.J.R. Murray lies at the base of the problem. His great work seems to be built on the premise that chess was invented in the sixth century A.D. Yet in the whole book this is probably the weakest link in his conclusions simply because he dismissed archaeological evidence. Even his later opinions almost 40 years after the great work was published in 1913 brooked no debate. Yet sometimes he was wrong. On page 86 of The Book of Chessmen, Alex Hammond, admittedly in hearsay, wrote that H.J.R.M. considered that the Lewis chessmen were from the years 1600-1650 A.D. Yet Michael Taylor, in a brilliant 1978 booklet of analytical deduction (sadly no radio-carbon dating) called The Lewis Chessmen, published by the British Museum, concluded that they dated from the period 1135-1170 A.D., almost 500 years earlier than Murray. We regret that we have received no further contribution from Mr Pandit. For other material on this debate, see the Quotes and Queries column in the December 1989 BCM. Latest update: 24 February 2019.
/* Copyright (C) 2010 Ion Torrent Systems, Inc. All Rights Reserved */ #ifndef TMAP_MAIN_H #define TMAP_MAIN_H /*! Main TMAP Function */ typedef int (*tmap_command_func)(int argc, char *argv[]); /*! * The type of command. */ enum { TMAP_COMMAND_NONE=0, /*!< no affiliation; do not output in the help message */ TMAP_COMMAND_PREPROCESSING=1, /*!< a preprocessing command */ TMAP_COMMAND_SERVER=2, /*!< a server command */ TMAP_COMMAND_MAPPING=3, /*!< a mapping command */ TMAP_COMMAND_UTILITIES=4, /*!< a utility command */ TMAP_COMMAND_DEBUG=5, /*!< a debug command */ }; /*! * The command structure. */ typedef struct { tmap_command_func func; /*!< the main-like function associated with this command */ char *name; /*!< the name of the command */ char *help; /*!< the help message for this command */ int32_t type; /*! the command type */ } tmap_command_t; extern int tmap_index(int argc, char *argv[]); extern int tmap_server_main(int argc, char *argv[]); extern int tmap_map1_main(int argc, char *argv[]); extern int tmap_map2_main(int argc, char *argv[]); extern int tmap_map3_main(int argc, char *argv[]); extern int tmap_map4_main(int argc, char *argv[]); extern int tmap_map_vsw_main(int argc, char *argv[]); extern int tmap_map_all_main(int argc, char *argv[]); extern int tmap_refseq_fasta2pac_main(int argc, char *argv[]); extern int tmap_bwt_pac2bwt_main(int argc, char *argv[]); extern int tmap_sa_bwt2sa_main(int argc, char *argv[]); extern int tmap_seq_io_sff2fq_main(int argc, char *argv[]); extern int tmap_seqs_io_sff2sam_main(int argc, char *argv[]); extern int tmap_refseq_refinfo_main(int argc, char *argv[]); extern int tmap_refseq_pac2fasta_main(int argc, char *argv[]); extern int tmap_bwt_bwtupdate_main(int argc, char *argv[]); extern int tmap_index_size(int argc, char *argv[]); extern int tmap_sam2fs_main(int argc, char *argv[]); extern int samtools_main(int argc, char *argv[]); extern int bcftools_main(int argc, char *argv[]); extern int tmap_sw_main(int argc, char *argv[]); #ifdef ENABLE_TMAP_DEBUG_FUNCTIONS extern int tmap_fsw_main(int argc, char *argv[]); extern int tmap_index_speed(int argc, char *argv[]); extern int tmap_bwt_check(int argc, char *argv[]); extern int tmap_bwt_compare(int argc, char *argv[]); extern int tmap_vswbm_main(int argc, char *argv[]); #endif #endif
ORLAITH INC, designing Solutions for Business & Marketing is a strategic marketing company providing marketing services to help transition businesses to successfully compete. We help you grow and bridge the gap between you and your customers. We support businesses in their traditional marketing and social media marketing efforts. We provide you with strategies to help you reach your end goal. Being on time helps us establish a good reputation and allows others to trust us. Punctuality creates professional image appears polished and organized for us. Magic in business is about having belief in what you're doing and being boss enough to see it through. There's no hard and fast definition of minimalism, but there is one common principle that's shared wherever it's defined; focus on the essential and eliminate the non-essential. It is our duty to follow a morally correct path as it is our responsibilities to the many people who count on us to do the right thing. We offer a well-regulated, transparent and supportive environment for you. Treating everyone with respect and positive attitudes will help us to work together for a larger good.
Image Title: Create A Cozy Space With Glass Subway Tiles Soifer Center Regard To Tile 3x6 Plan 8. Filename: create-a-cozy-space-with-glass-subway-tiles-soifer-center-regard-to-tile-3x6-plan-8.jpg. Image Dimension: 1000 x 662 pixels. Images Format: jpg/jpeg. Publisher/Author: Winston Hoppe. Uploaded Date: Saturday - February 09th. 2019 14:35:14 PM. Category: Architecture. Image Source: digsdigs.com. Tap The Thumbnail Bellow to See Related Gallery of "Create A Cozy Space With Glass Subway Tiles Soifer Center Regard To Tile 3x6 Plan 8"
It is that sane and glorious time when the nation's capital dispenses its human cargo to places of origin and locations of respite. There is, indeed, great parking, as well as less traffic. With the political contingent largely gone, the Hill is as quiet as a morning after and "normal" people are dining out. Most awesome: One has time to think. August, often viewed as the end of things — summer, vacation, camp and children underfoot — marks for Washingtonians the arrival of peace. The usual, rapid chatter becomes a low, slow hum. Fewer sirens stab the air and the ever-present helicopters finally buzz off. In this near-sudden silence, one realizes that Washington is more often Fallujah than Paris — a war zone where armies of reporters, pundits and politicos wage war with words in theaters of green rooms and bunkers of makeup. What's that sound? Ah, cicadas. Would that Washington would burrow beneath the toil of urgent matters and keep quiet for years at a time. August is good for dreaming, too. Look at me. I buried the lede and almost forgot everyone's favorite part of all: Journalists leave town, too. When the three branches of government shutter the windows and lock the doors, what's left to do? Alas, where Trump goes, the media go. Rumor has it he's heading to Iowa, so it's off to the Hawkeye State we go. Friday morning, Chuck Todd of "Meet the Press" was reporting from the Iowa State Fairgrounds in a groundhoggian image of what these days we call "authentic." The real people of America will soon enough let us know what they think of all this and that. Personally, I wonder what they think of all those Trump buses stationed in Wal-Mart parking lots around the state — sans The Donald? For Trump, you see, Being There isn't actually required. The name is all. Look, Trump's in town! Even when he's not, really. When he does materialize, equal parts Liberace and P.T. Barnum, folks will show up if only to lay eyes on the real McCoy. Will Trump press the flesh? What a disgusting thought for a reputed germaphobe. Will he kiss babies, those messy little bundles of orificial emissions? Such are the musings of an August morn — and a clear indication that my own vacation begins in just a few sentences more. For your indulgence and patience, I will share a secret I've kept mostly to myself the past year or so. It has to do with my absence for several months last summer and fall, which some of you may have noticed. If not, you are forgiven. My syndicate issued an explanation to my then-500 papers that I'd had an accident and would be taking a break to recover. I wasn't eager to share the details for reasons that will become apparent. Basically, I slipped and fell down a steep staircase in May 2014, which resulted in a concussion — more aptly named a traumatic brain injury — that put me out of work and circulation. It was, indeed, traumatic, as well as terrifying. Thanks to months of therapy and many helping hands, it is over. My mentioning it now has to do with two things: One, I'm back to my old self, more or less. My goal was to return to two columns a week and to reappear on news shows before I admitted that for a long time I didn't know who I was. My editors, Alan Shearer, with the Washington Post Writers Group, and Fred Hiatt, editorial page editor of The Post, were both anchor and sail, keeping the boat afloat and buoying my spirits until the brain had finished its business. Two, I'm about to enjoy time off that I can consciously experience. Last year, I had bought a book titled "No Time to Think." And then suddenly I could neither read nor think. This time, I can and shall do both. I will also continue work on a book I'm writing about what happened to me. My hope is that others might benefit from what I experienced and from what I learned about friends and family, seasons and time, rhythms and essence. It was quite a trip, about which more to come — in good time. Meanwhile, enjoy the cicadas — because you can.
/* Quickicon rules */ div.cpanel div#plg_quickicon_attachment span { margin-left: 6px; /* force line break */ margin-right: 6px; line-height: 115%; }
Beautiful American Soldier: Meet the cast! Meet our wonderful cast of Beautiful American Soldier, written by Dano Madden and directed by Lauren Shover. You won’t want to miss this wonderful play, come and join us 3PM on Memorial Day at the Davenport Theatre in New York. Tickets are available at https://www.artful.ly/store/events/9244.
The Isle of Mull is the second largest of the inner Hebridean islands. It is a wonderful wild place with stunning mountain scenery and dramatic coastline, the accommodation has views of Ben More, Mulls highest mountain at 3169ft. The island is a haven for wild life with over 250 species of birds, including golden and white tailed eagles. Otters and deer can be seen from the windows. Admire the dramatic coast line from one of the boat trips while you see the marine life including dolphins, whales, porpoises, seals, puffins and much more. We are only five miles from the ferry to the spiritual island of Iona where Columba established a monastery in the 6th Century to bring Christianity to the Scots and the Picts. It has a beautifully restored Abbey which is still in daily use, nunnery ruins, and an incredible collection of carved stones and crosses. Listen for the corncrakes while taking in the beautiful white sandy beaches and crystal clear blue sea. The ferries also run to the inspirational island of Staffa with its stunning basalt columns, Fingals cave and Puffins. Experience the slower pace of island life from the accommodation which is idyllically situated in a rural setting on our traditional small working croft, in moor land overlooking the hayfield. We have five highland cows with calves, Hebridean and Scots blackface sheep, with lambs in spring, hens and ducks, with chicks and ducklings. Roger is a fisherman working a small boat from Uisken bay fishing lobster creels for crabs and lobster. Red deer, wildlife and birds of prey can be seen while you relax and unwind in the comfort of our modern well equipped accommodation. Enjoy the sunset over the hayfield from the westerly facing lounges. A warm and friendly welcome is waiting for you.
'use strict' import { transitionOnce } from './lib' const _data = {} const animation = { /** * transition * @param {string} ref [description] * @param {obj} config [description] * @param {string} callbackId [description] */ transition: function (ref, config, callbackId) { let refData = _data[ref] const stylesKey = JSON.stringify(config.styles) const weexInstance = this // If the same component perform a animation with exactly the same // styles in a sequence with so short interval that the prev animation // is still in playing, then the next animation should be ignored. if (refData && refData[stylesKey]) { return } if (!refData) { refData = _data[ref] = {} } refData[stylesKey] = true const component = this.getComponentManager().getComponent(ref) return transitionOnce(component, config, function () { // Remove the stylesKey in refData so that the same animation // can be played again after current animation is already finished. delete refData[stylesKey] weexInstance.sender.performCallback(callbackId) }) } } const meta = { animation: [{ name: 'transition', args: ['string', 'object', 'function'] }] } export default { init: function (Weex) { Weex.registerApiModule('animation', animation, meta) } }
Colourful and exuberant, Madame Owl is the singer. A musical doll all in pink, she wears a yellow dot cotton tutu lined with tulle. Her big eyes watch over her friends in the enchanted wood and her wide wings envelop them in softness. The music is triggered by pulling on the sequinned tab on the side.
(function($){ function F() {} if (typeof Object.create !== 'function') { Object.create = function (o) { F.prototype = o; return new F(); }; } return $.plugin = function(name, object) { $.fn[name] = function(options) { if (!this.length) return this; return this.each(function() { if (!$.data(this, name)) { $.data(this, name, Object.create(object).init(this, options)); } }); }; }; })(jQuery);
We have been convinced that with joint efforts, the small business between us will bring us mutual benefits. We will guarantee you merchandise top quality and competitive selling price for 6x5 Electret Condenser Microphone , 6X5 Electret Condenser Microphone , Electret Condenser Microphone , which have gained excellent status from our costumers all over the world. "With a positive and progressive attitude to customer's curiosity, our organization repeatedly improves our products top quality to meet the wants of consumers and further focuses on safety, reliability, environmental necessities, and innovation of 6x5 Electret Condenser Microphone , 6X5 Electret Condenser Microphone , Electret Condenser Microphone , With well educated innovative and energetic staff we are responsible for all elements of research design manufacture sale and distribution. By studying and developing new techniques we are not only following but also leading fashion industry. We listen attentively to the feedback from our customers and provide instant replies. You will instantly feel our professional and attentive service.
'use strict'; import _ from 'underscore'; import {LOGIN_USER, LOGOUT_USER} from '../constants/LoginConstants'; import AppDispatcher from '../dispatchers/AppDispatcher'; export default class BaseService { constructor() { this.token = localStorage.getItem('jwt'); this._dispatchToken = AppDispatcher.register(action => { switch (action.actionType) { case LOGIN_USER: this.token = action.data.token; break; case LOGOUT_USER: delete this.token; break; } }); } getHeaders(includeToken) { let h = new Headers(); h.set('Content-Type', 'application/json'); if (includeToken && this.token) { h.set('Authorization', `JWT ${this.token}`); } if (window.csrf_token) { h.set('X-CSRFToken', window.csrf_token); } h.set('Accept', `application/json`); return h; } handleError(e) { if (e.status === 403) { return; } console.error(e); } expandUrl() { return `/api/${_.compact(Array.from(arguments)).join('/')}/`; } makeRequest(url, method = 'GET', data = null, includeToken = true) { const headers = this.getHeaders(includeToken); let context = { method, headers, credentials: 'same-origin', }; if (data) { context.body = JSON.stringify(data); } return fetch(url, context); } }
Is Salary Transparency in the Workplace Right for your Company? It takes one glance at social media to realize our lives are shifting on the edge of transparency. We openly share our phone numbers, engagements and marriages (and breakups and divorces), religious and political views, workouts, hobbies, travels… You name it, and there’s probably an app you can use to connect and share it with the social network of your choice. There’s still one area of our lives kept relatively in the dark, however: our income. Thanks to online shopping and the ubiquitous “share” button, our spending can be, well, shared very easily. The money we make, though, remains private. Many companies currently limit what employees can divulge about their salaries to outsiders, and while employees are legally allowed to discuss – both in person and on social media – personal salaries with other coworkers, there are regulations in place to keep this information from flowing too freely. Salary information has to be given by the employee in question – not another coworker, personnel files, paystubs, or the human resources department – outside of work hours, and these discussions can’t occur between employees and their supervisors. But as we embrace transparency in other aspects of our lives, will companies start opening up the doors on salaries? Some companies already have. Buffer and SumAll, two tech startups, both have complete salary transparency;. Buffer has even gone a step further and published those salaries – and the formula for how those salaries were derived – on their blog for anyone to see. The push for salary transparency is gaining momentum, but does it have a place in your company? Here are the upsides and downsides of open salaries. The main argument for salary transparency is that it creates an environment of honesty, openness, and trust. If employees know their salaries are fair and comparable to those of their colleagues, they can more easily trust their managers and company. They can also see just how valuable they and their jobs are to the company. Even if employees aren’t happy with how their salaries stack up, it can open up a productive dialogue as to why those salary differences exist and what employees can do to earn raises, thereby making your employees more productive. While happier, more trusting employees will lead to better work and productivity, research has shown another big benefit for employers. Open salaries force companies to examine any underlying biases or discrimination in pay, especially those between men and women. The Institute for Women’s Policy Research has shown that the pay gap in the public sector, where salaries are public record, is only 11%. The pay gap as a whole, between both public and private sector, is at 23%. When salaries are private, it’s harder for women to draw attention to this issue and it can be harder for companies to take notice of. Posting your salaries publicly makes it easier to notice and correct any discrepancies before any workers take legal action. While no company wants to be accused of discrimination, is it really fair to pay all similarly-positioned employees the same salary? Are any two employees completely identical, deserving of exactly equal salaries? Do they put in the same workload, undertake equal amounts of work, or produce equal products? Probably not – and that’s okay. It’s illegal to pay different amounts based upon discriminatory factors or protected classes, such as gender or race, but to pay different salaries based upon other measurable factors – like longevity, productivity, experience, or other work-related qualities – is completely legal and arguably fair. But will your employees see it as such? With open salaries, companies might have to consider shifting their pay scale for the role, not the person. Otherwise, accusations of fairness and favoritism may come into play. If salaries are really unequal, it might create resentment, even across different sectors or positions. Since salary transparency isn’t mandated for privately-held companies, exact numbers are hard to pin down, but the American Federation of Labor and Congress of Industrial Organizations (AFL-CIO) estimates that CEOs make, on average, 354 times what the average employee makes. Your company might not have such wide-sweeping pay ranges, but if your top-earning employees are significantly out-earning your average employees, even the hard-working ones, there may be some bitterness about those numbers – and you may need to provide an answer. Even salary transparency devotees have to acknowledge that startups have fewer problems in adopting open salaries. In the beginning, most companies have a set salary formula or equation, usually a result of a limited budget. Salaries are more likely to be closer in range, too, even for CEOs and average employees. As companies earn more money, create more jobs, and hire more people, equations or formulas may not be used anymore, and salaries may come about from negotiations or raises. If you publish numbers and employees have questions, it may be harder to answer how or why one employee makes a certain amount while another one doesn’t. That doesn’t mean that large companies can’t adopt open salary policies. Whole Foods has successfully implemented an open salary policy for over 25 years. Admittedly, the company was significantly smaller back then; however, the policy has remained in effect throughout and is one of the biggest benefits that current and former employees tout. Whole Foods currently employs nearly 60,000 people, and all of their employees have access to salary information for all other employees. Established companies looking to make a shift toward more transparency don’t have to take an all-or-nothing approach. Instead of citing exact salaries for every employee, companies can give salary ranges or average salaries based upon any number of factors, such as titles, longevity, department, or performance. General statistics for many of these factors are available on the Internet, but your company can provide its employees with company-specific statistics, far more useful than those found on the Internet. These numbers can help give your employees a basic idea of where they stand and what they can expect from you going forward. This will offer most of the benefits of total transparency without any of the drawbacks. Irelis Arias is a Human Resources Director who specializes in employee relations, leadership and employee development, recruitment, training, compensation, and benefits. In her role, Irelis draws from 20 years of HR compliance and employment law experience, including 12 years working for a top national labor and employment law firm. Irelis has been instrumental in helping to identify areas in need of improvement and implement successful action plans. When she’s not helping others seek career success, Irelis devotes her time and attention to her three active sons. She enjoys spending time with her family and working out to stay healthy.
Look Sharp with Men's Big and Tall Sport Coats and Blazers. Whether you're wearing slacks and boots or jeans and tennis shoes, men's big and tall sport coats and blazers are an excellent option to dress up your look and add a bit of warmth. Wool. Wool is a natural fiber sheered from sheep, goats, or other animals. Soft Italian wool creates high-endblazers for downloadsolutionles0f.cflly, manufacturersuse this material fordouble-breasted blazers seen at weddings and formal events. We have 3 LA Police Gear promotional codes for you to choose from including 1 coupon code, and 2 sales. Most popular now: 25% Off Select Brands. Latest offer: 25% Off Select Brands.
/* * wicked client ifcheck action and utilities * * Copyright (C) 2010-2014 SUSE LINUX Products GmbH, Nuernberg, Germany. * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by * the Free Software Foundation; either version 2 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU General Public License for more details. * * You should have received a copy of the GNU General Public License along * with this program; if not, see <http://www.gnu.org/licenses/> or write * to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, * Boston, MA 02110-1301 USA. * * Authors: * Olaf Kirch <[email protected]> * Marius Tomaschewski <[email protected]> * Pawel Wieczorkiewicz <[email protected]> * */ #ifdef HAVE_CONFIG_H #include "config.h" #endif #include <stdio.h> #include <string.h> #include <stdarg.h> #include <unistd.h> #include <stdlib.h> #include <getopt.h> #include <wicked/netinfo.h> #include <wicked/logging.h> #include <wicked/fsm.h> #include "wicked-client.h" #include "appconfig.h" #include "ifcheck.h" static ni_bool_t opt_quiet; /* * ifcheck utilities */ ni_bool_t ni_ifcheck_device_configured(ni_netdev_t *dev) { ni_client_state_t *cs; if (!dev || !(cs = dev->client_state) || ni_string_empty(cs->config.origin)) return FALSE; return TRUE; } ni_bool_t ni_ifcheck_device_is_up(ni_netdev_t *dev) { return dev && !!(dev->link.ifflags & NI_IFF_DEVICE_UP); } ni_bool_t ni_ifcheck_device_link_is_up(ni_netdev_t *dev) { return dev && !!(dev->link.ifflags & NI_IFF_LINK_UP); } ni_bool_t ni_ifcheck_device_network_is_up(ni_netdev_t *dev) { return dev && !!(dev->link.ifflags & NI_IFF_NETWORK_UP); } ni_bool_t ni_ifcheck_device_is_persistent(ni_netdev_t *dev) { ni_client_state_t *cs = dev ? dev->client_state : NULL; return cs && cs->control.persistent; } ni_bool_t ni_ifcheck_device_link_required(ni_netdev_t *dev) { ni_client_state_t *cs = dev ? dev->client_state : NULL; ni_tristate_t link_required = NI_TRISTATE_DEFAULT; if (cs && ni_tristate_is_set(cs->control.require_link)) link_required = cs->control.require_link; else if (dev) link_required = ni_netdev_guess_link_required(dev); return !ni_tristate_is_disabled(link_required); } ni_bool_t ni_ifcheck_worker_device_exists(ni_ifworker_t *w) { return w && w->device; } ni_bool_t ni_ifcheck_worker_device_enabled(ni_ifworker_t *w) { #if 0 /* Hmm... STARTMODE=manual|off */ if (!w || !w->control.enabled) return FALSE; #endif return TRUE; } ni_bool_t ni_ifcheck_worker_device_link_required(ni_ifworker_t *w) { ni_tristate_t link_required = NI_TRISTATE_DEFAULT; if (w && ni_tristate_is_set(w->control.link_required)) link_required = w->control.link_required; else if (w && w->device) link_required = ni_netdev_guess_link_required(w->device); return !ni_tristate_is_disabled(link_required); } ni_bool_t ni_ifcheck_worker_device_is_persistent(ni_ifworker_t *w) { return w && w->control.persistent; } ni_bool_t ni_ifcheck_worker_config_exists(ni_ifworker_t *w) { return w && w->config.node; } ni_bool_t ni_ifcheck_worker_config_matches(ni_ifworker_t *w) { ni_netdev_t *dev; if (ni_ifcheck_worker_config_exists(w) && (dev = w->device)) { ni_client_state_t *cs = dev->client_state; return cs && ni_uuid_equal(&cs->config.uuid, &w->config.meta.uuid); } return FALSE; } ni_bool_t ni_ifcheck_worker_not_in_state(ni_ifworker_t *w, ni_fsm_state_t state_val) { ni_fsm_state_t state_dev; ni_assert(w); /* FIXME: add state mapping */ state_dev = NI_FSM_STATE_NONE; if (state_val < NI_FSM_STATE_DEVICE_EXISTS && state_dev > state_val) return TRUE; if (state_dev < state_val) return TRUE; return FALSE; } static void if_printf(const char *dev, const char *flag, const char *fmt, ...) { va_list ap; if (opt_quiet) return; if (!ni_string_empty(dev)) { printf("%-15s", dev); } else { printf("%-6s", ""); } if (!ni_string_empty(flag) && !ni_string_empty(fmt)) { printf(" %-22s = ", flag); va_start(ap, fmt); vprintf(fmt, ap); va_end(ap); } printf("\n"); } static inline void set_status(int *status, unsigned int code) { if (NI_WICKED_ST_OK == *status) *status = code; } /* * ifcheck action */ int ni_do_ifcheck(int argc, char **argv) { enum { OPT_HELP, OPT_QUIET, OPT_IFCONFIG, OPT_MISSED, OPT_CHANGED, OPT_STATE, OPT_PERSISTENT }; static struct option ifcheck_options[] = { { "help", no_argument, NULL, OPT_HELP }, { "quiet", no_argument, NULL, OPT_QUIET }, { "ifconfig", required_argument, NULL, OPT_IFCONFIG }, { "missed", no_argument, NULL, OPT_MISSED }, { "changed", no_argument, NULL, OPT_CHANGED }, { "state", required_argument, NULL, OPT_STATE }, { "persistent", no_argument, NULL, OPT_PERSISTENT }, { NULL } }; static ni_ifmatcher_t ifmatch; ni_string_array_t opt_ifconfig = NI_STRING_ARRAY_INIT; ni_string_array_t ifnames = NI_STRING_ARRAY_INIT; ni_uint_array_t checks = NI_UINT_ARRAY_INIT; ni_stringbuf_t sb = NI_STRINGBUF_INIT_DYNAMIC; const char *opt_state = NULL; ni_bool_t multiple = FALSE; ni_fsm_t *fsm; unsigned int i, opt_state_val; int c, status = NI_WICKED_RC_USAGE; fsm = ni_fsm_new(); ni_assert(fsm); fsm->readonly = TRUE; /* Allow ifcheck on persistent, unconfigured interfaces */ memset(&ifmatch, 0, sizeof(ifmatch)); ifmatch.require_configured = FALSE; ifmatch.allow_persistent = TRUE; ifmatch.require_config = FALSE; optind = 1; while ((c = getopt_long(argc, argv, "", ifcheck_options, NULL)) != EOF) { switch (c) { case OPT_IFCONFIG: ni_string_array_append(&opt_ifconfig, optarg); break; case OPT_MISSED: ni_uint_array_append(&checks, OPT_MISSED); break; case OPT_CHANGED: ni_uint_array_append(&checks, OPT_CHANGED); break; case OPT_STATE: if (!ni_ifworker_state_from_name(optarg, &opt_state_val)) { ni_error("Invalid device state \"%s\"", optarg); goto usage; } ni_uint_array_append(&checks, OPT_STATE); opt_state = optarg; break; case OPT_PERSISTENT: ni_uint_array_append(&checks, OPT_PERSISTENT); break; case OPT_QUIET: opt_quiet = TRUE; break; case OPT_HELP: status = NI_WICKED_RC_SUCCESS; /* fall through */ default: usage: ni_client_get_state_strings(&sb, NULL); fprintf(stderr, "wicked [options] ifcheck [ifcheck-options] <ifname ...>|all\n" "\nSupported ifcheck-options:\n" " --help\n" " Show this help text.\n" " --ifconfig <filename>\n" " Read interface configuration(s) from file\n" " --quiet\n" " Do not print out errors, but just signal the result through exit status\n" " --missed\n" " Check if the interface is missed\n" " --changed\n" " Check if the interface's configuration is changed\n" " --state <state-name>\n" " Check if the interface is in the given state. Possible states:\n" " %s\n" " --persistent\n" " Check if the interface is in persistent mode\n" , sb.string); ni_stringbuf_destroy(&sb); goto cleanup; } } if (optind >= argc) { goto usage; } else for (c = optind; c < argc; ++c) { if (ni_string_empty(argv[c])) goto usage; } if (opt_ifconfig.count == 0) { const ni_string_array_t *sources = ni_config_sources("ifconfig"); if (sources && sources->count) ni_string_array_copy(&opt_ifconfig, sources); if (opt_ifconfig.count == 0) { ni_error("ifup: unable to load interface config source list"); status = NI_WICKED_RC_NOT_CONFIGURED; goto cleanup; } } if (!ni_ifconfig_load(fsm, opt_global_rootdir, &opt_ifconfig, TRUE, TRUE)) { status = NI_WICKED_RC_NOT_CONFIGURED; goto cleanup; } if (!ni_fsm_create_client(fsm)) { /* Severe error we always explicitly return */ status = NI_WICKED_RC_ERROR; goto cleanup; } if (!ni_fsm_refresh_state(fsm)) { /* Severe error we always explicitly return */ status = NI_WICKED_RC_ERROR; goto cleanup; } status = NI_WICKED_ST_OK; if (0 == checks.count) ni_uint_array_append(&checks, OPT_MISSED); /* nmarked = 0; */ while (optind < argc) { ni_ifworker_array_t marked = { 0, NULL }; const char *ifname = argv[optind++]; ifmatch.name = ifname; if (ni_fsm_get_matching_workers(fsm, &ifmatch, &marked) == 0) { if_printf(ifname, "device exists", "no"); set_status(&status, NI_WICKED_RC_NO_DEVICE); continue; } if (ni_string_eq(ifmatch.name, "all")) multiple = TRUE; for (i = 0; i < marked.count; ++i) { ni_ifworker_t *w = marked.data[i]; ni_netdev_t *dev = w->device; ni_client_state_t *cs = dev ? dev->client_state : NULL; unsigned int j; if (ni_string_array_index(&ifnames, w->name) != -1) continue; multiple = ifnames.count ? TRUE : multiple; ni_string_array_append(&ifnames, w->name); for (j = 0; j < checks.count; j++) { switch (checks.data[j]) { ni_bool_t changed, not_in_state, persistent; default: case OPT_MISSED: if_printf(w->name, "device exists", (dev ? "yes" : "no")); if (!dev) set_status(&status, NI_WICKED_RC_NO_DEVICE); break; case OPT_CHANGED: changed = FALSE; if (ni_ifcheck_device_configured(dev) || (ni_ifcheck_worker_config_exists(w) && ni_ifcheck_worker_device_exists(w))) changed = !ni_ifcheck_worker_config_matches(w); if_printf(w->name, "configuration changed", (changed ? "yes" : "no")); if (changed) { ni_debug_wicked("%s: config file uuid is %s", w->name, ni_uuid_print(&w->config.meta.uuid)); ni_debug_wicked("%s: system dev. uuid is %s", w->name, cs ? ni_uuid_print(&cs->config.uuid) : "NOT SET"); set_status(&status, NI_WICKED_ST_CHANGED_CONFIG); } break; case OPT_STATE: not_in_state = ni_ifcheck_worker_not_in_state(w, opt_state_val); if_printf(w->name, "queried state", "%s (%s)", (not_in_state ? "no" : "yes"), opt_state); if (not_in_state) set_status(&status, NI_WICKED_ST_NOT_IN_STATE); break; case OPT_PERSISTENT: persistent = ni_ifcheck_device_is_persistent(dev); if_printf(w->name, "persistent", (persistent ? "yes" : "no")); if (persistent) set_status(&status, NI_WICKED_ST_PERSISTENT_ON); break; } } if (opt_quiet && status) goto cleanup; } } cleanup: ni_string_array_destroy(&opt_ifconfig); ni_string_array_destroy(&ifnames); ni_uint_array_destroy(&checks); return status; }
You can now pre-order your phone in-store at the Apple Store, AT&T, and Best Buy. Walmart is still not on the list but it doesn’t mean you can’t take advantage. Many online pre-orders have already been maxed out so it’s best to head into your local store if you’re desperate to get one. McDonald’s, Subway, Whole Foods and Apple retail stores are among the retailers that will accept Apple Pay when it launches next month. McDonald’s said all U.S. locations will accept Apple Pay after it is live.
Is Obama telling the truth about U.S. oil reserves? When he was running for the Oval Office four years ago amid $4-a-gallon gasoline prices, then-Sen. Barack Obama dismissed the idea of expanded oil production as a way to relieve the pain at the pump. “Even if you opened up every square inch of our land and our coasts to drilling,” he said. “America still has only 3% of the world’s oil reserves.” Which meant, he said, that the U.S. couldn’t affect global oil prices. It’s the same rhetoric President Obama is using now, as gas prices hit $4 again, except now he puts the figure at 2%. The claim makes it appear as though the U.S. is an oil-barren nation, perpetually dependent on foreign oil and high prices unless we can cut our own use and develop alternative energy sources like algae. But the figure Obama uses — proved oil reserves — vastly undercounts how much oil the U.S. actually contains. In fact, far from being oil-poor, the country is awash in vast quantities — enough to meet all the country’s oil needs for hundreds of years. The U.S. has 22.3 billion barrels of proved reserves, a little less than 2% of the entire world’s proved reserves, according to the Energy Information Administration. But as the EIA explains, proved reserves “are a small subset of recoverable resources,” because they only count oil that companies are currently drilling for in existing fields. At least 86 billion barrels of oil in the Outer Continental Shelf yet to be discovered, according to the government’s Bureau of Ocean Energy Management. About 24 billion barrels in shale deposits in the lower 48 states, according to EIA. Up to 2 billion barrels of oil in shale deposits in Alaska’s North Slope, says the U.S. Geological Survey. Up to 12 billion barrels in ANWR, according to the USGS. As much as 19 billion barrels in the Utah tar sands, according to the Bureau of Land Management. Then, there’s the massive Green River Formation in Wyoming, which according to the USGS contains a stunning 1.4 trillion barrels of oil shale — a type of oil released from sedimentary rock after it’s heated. […]All told, the U.S. has access to 400 billion barrels of crude that could be recovered using existing drilling technologies, according to a 2006 Energy Department report. When you include oil shale, the U.S. has 1.4 trillion barrels of technically recoverable oil, according to the Institute for Energy Research, enough to meet all U.S. oil needs for about the next 200 years, without any imports. Please share this article, because it is unlikely that Obama’s Solyndra-supporting buddies in the mainstream media will report the facts on domestic energy production. Obama claims that production of oil, gas and coal is up since he took office. It’s true that areas under state control are producing more, but what about energy production on federal lands? That’s the part of the country that Obama is responsible for. Let’s see what two recent studies from the Energy Information Administration and the Institute for Energy Research found. The updated EIA report revealed a 12 percent decline in production for coal, oil, and natural gas on federal and Indian lands from fiscal 2003 through fiscal 2011. During this same period, production on state and private lands has increased, boosting overall production numbers for the United States. That’s a point even President Obama will acknowledge: “Under my Administration, domestic oil and natural gas production is up,” he said upon announcing his rejection of the Keystone XL pipeline. Obama is correct. He just can’t rightfully claim the credit, since the vast majority of America’s new oil and gas production is happening on private lands in states like North Dakota, Alaska and Texas. Withdrew areas offered for 77 oil and gas leases in Utah that could cost American taxpayers millions in lost lease bids, production royalties, new jobs and the energy needed to offset rising imports of oil and natural gas. Cancelled lease sales in the Western Gulf of Mexico, the Atlantic coast and delayed exploration off the coast of Alaska and kept other resource-rich areas off-limits. Finalized rules, first announced by Secretary Salazar on January 6, 2010, to establish more government hurdles to onshore oil and natural gas production on federal lands. Withdrew 61 oil and natural gas leases in Montana as part of a lawsuit settlement over climate change. That’s the real story behind Obama’s claims about higher energy production. He’s doing his best to block energy production in the areas under his control. His energy plan is Solyndra, Solyndra, Solyndra – paying off his rich Democrat buddies with taxpayer money. The CBC — the mega-corporation that is demanding yet another $1.1-billion bailout from taxpayers this year, just like it demanded a $1.1-billion bailout from us last year — is panicking. For weeks it’s been sweating about a parliamentary investigation into its bad behaviour, including its violation of the Access to Information law. That’s an important law to allow taxpayers to scrutinize how government agencies spend our money. The non-partisan information commissioner has given the CBC a grade of “F” for its secrecy — but it still violates her order for it to disclose the truth. It’s spending millions in legal expenses to hide how it’s spending billions in other expenses. This bad behaviour was coming to a head last week when Parliament was going to turn over some rocks and see what was going to go scurrying. On the eve of the Parliamentary inquiry, it used part of its $1.1 billion — money that is supposed to go to journalism — to launch a crazy, personal attack on the president of Quebecor and QMI Agency, Pierre Karl Peladeau, one of Canada’s most successful private-sector media entrepreneurs. Unlike the CBC, Peladeau built his company honestly and with his own efforts. He took a newspaper company started by his father, Pierre Peladeau, and turned it into Quebec’s most successful media company, Quebecor — and then joined with English-Canada’s biggest newspaper company, Sun Media Corp. And then he built the Sun News Network. All without a billion-dollar-a-year bailout. And so last week, the night before Peladeau’s testimony to Parliament, the CBC freaked out. In an unprecedented move, it issued what can only be called an attack ad against Peladeau. It wasn’t a news story. It was a false and defamatory attack on our company, as vengeance for our questions about how the CBC spends taxpayer money. If any other government department had done something like this, whoever responsible would be fired immediately. It wasn’t just unprofessional. It wasn’t just outside of its mandate of what it is given its government money for. It was an attempt to destroy a private-sector competitor. Why is this interesting? Because it shows what happens when the government oversteps its bounds and starts to compete with the private sector in areas that are totally unrelated to its enumerated powers and specific responsibilities. Not only will you find corruption in nationalized corporations, but massive waste as well. Private sector companies face competitive pressures that government monopolies do not face. That forces them to root out corruption and waste, because there is always the firm next door looking to serve the customer better – with higher quality and at a lower cost. We need to be very careful about handing money to people in government who simply don’t care as much about the needs of their customers. Do you think that the CBC could ever favor tax cuts or spending cuts or even more choices for taxpayers? Of course not. They have to tell people whatever causes them to vote for bigger government, because that’s where their money comes from.
New Zealand may as well be called a land of opportunities with the forecast of continual growth in employment. According to the latest labour market statistics released by Statistics New Zealand, employment, wage and labour force participation growth remain strong. In fact, in the past quarter alone, the employment rate rose to 66.9 percent, a full 2 points increase from the previous year. Salary and wage rates also went up in both private and public sectors. What’s even better is that there are plenty of job offers across all industries that could easily become viable career paths. If you think it’s time to move onto greener pastures, the first step is to get a New Zealand work visa.
/*! * bootswatch v3.3.5 * Homepage: http://bootswatch.com * Copyright 2012-2015 Thomas Park * Licensed under MIT * Based on Bootstrap */ /*! * Bootstrap v3.3.5 (http://getbootstrap.com) * Copyright 2011-2015 Twitter, Inc. * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE) */ /*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */ html { font-family: sans-serif; -ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; } body { margin: 0; } article, aside, details, figcaption, figure, footer, header, hgroup, main, menu, nav, section, summary { display: block; } audio, canvas, progress, video { display: inline-block; vertical-align: baseline; } audio:not([controls]) { display: none; height: 0; } [hidden], template { display: none; } a { background-color: transparent; } a:active, a:hover { outline: 0; } abbr[title] { border-bottom: 1px dotted; } b, strong { font-weight: bold; } dfn { font-style: italic; } h1 { font-size: 2em; margin: 0.67em 0; } mark { background: #ff0; color: #000; } small { font-size: 80%; } sub, sup { font-size: 75%; line-height: 0; position: relative; vertical-align: baseline; } sup { top: -0.5em; } sub { bottom: -0.25em; } img { border: 0; } svg:not(:root) { overflow: hidden; } figure { margin: 1em 40px; } hr { -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; height: 0; } pre { overflow: auto; } code, kbd, pre, samp { font-family: monospace, monospace; font-size: 1em; } button, input, optgroup, select, textarea { color: inherit; font: inherit; margin: 0; } button { overflow: visible; } button, select { text-transform: none; } button, html input[type="button"], input[type="reset"], input[type="submit"] { -webkit-appearance: button; cursor: pointer; } button[disabled], html input[disabled] { cursor: default; } button::-moz-focus-inner, input::-moz-focus-inner { border: 0; padding: 0; } input { line-height: normal; } input[type="checkbox"], input[type="radio"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; padding: 0; } input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button { height: auto; } input[type="search"] { -webkit-appearance: textfield; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; } input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration { -webkit-appearance: none; } fieldset { border: 1px solid #c0c0c0; margin: 0 2px; padding: 0.35em 0.625em 0.75em; } legend { border: 0; padding: 0; } textarea { overflow: auto; } optgroup { font-weight: bold; } table { border-collapse: collapse; border-spacing: 0; } td, th { padding: 0; } /*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */ @media print { *, *:before, *:after { background: transparent !important; color: #000 !important; -webkit-box-shadow: none !important; box-shadow: none !important; text-shadow: none !important; } a, a:visited { text-decoration: underline; } a[href]:after { content: " (" attr(href) ")"; } abbr[title]:after { content: " (" attr(title) ")"; } a[href^="#"]:after, a[href^="javascript:"]:after { content: ""; } pre, blockquote { border: 1px solid #999; page-break-inside: avoid; } thead { display: table-header-group; } tr, img { page-break-inside: avoid; } img { max-width: 100% !important; } p, h2, h3 { orphans: 3; widows: 3; } h2, h3 { page-break-after: avoid; } .navbar { display: none; } .btn > .caret, .dropup > .btn > .caret { border-top-color: #000 !important; } .label { border: 1px solid #000; } .table { border-collapse: collapse !important; } .table td, .table th { background-color: #fff !important; } .table-bordered th, .table-bordered td { border: 1px solid #ddd !important; } } @font-face { font-family: 'Glyphicons Halflings'; src: url('../fonts/glyphicons-halflings-regular.eot'); src: url('../fonts/glyphicons-halflings-regular.eot?#iefix') format('embedded-opentype'), url('../fonts/glyphicons-halflings-regular.woff2') format('woff2'), url('../fonts/glyphicons-halflings-regular.woff') format('woff'), url('../fonts/glyphicons-halflings-regular.ttf') format('truetype'), url('../fonts/glyphicons-halflings-regular.svg#glyphicons_halflingsregular') format('svg'); } .glyphicon { position: relative; top: 1px; display: inline-block; font-family: 'Glyphicons Halflings'; font-style: normal; font-weight: normal; line-height: 1; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; } .glyphicon-asterisk:before { content: "\2a"; } .glyphicon-plus:before { content: "\2b"; } .glyphicon-euro:before, .glyphicon-eur:before { content: "\20ac"; } .glyphicon-minus:before { content: "\2212"; } .glyphicon-cloud:before { content: "\2601"; } .glyphicon-envelope:before { content: "\2709"; } .glyphicon-pencil:before { content: "\270f"; } .glyphicon-glass:before { content: "\e001"; } .glyphicon-music:before { content: "\e002"; } .glyphicon-search:before { content: "\e003"; } .glyphicon-heart:before { content: "\e005"; } .glyphicon-star:before { content: "\e006"; } .glyphicon-star-empty:before { content: "\e007"; } .glyphicon-user:before { content: "\e008"; } .glyphicon-film:before { content: "\e009"; } .glyphicon-th-large:before { content: "\e010"; } .glyphicon-th:before { content: "\e011"; } .glyphicon-th-list:before { content: "\e012"; } .glyphicon-ok:before { content: "\e013"; } .glyphicon-remove:before { content: "\e014"; } .glyphicon-zoom-in:before { content: "\e015"; } .glyphicon-zoom-out:before { content: "\e016"; } .glyphicon-off:before { content: "\e017"; } .glyphicon-signal:before { content: "\e018"; } .glyphicon-cog:before { content: "\e019"; } .glyphicon-trash:before { content: "\e020"; } .glyphicon-home:before { content: "\e021"; } .glyphicon-file:before { content: "\e022"; } .glyphicon-time:before { content: "\e023"; } .glyphicon-road:before { content: "\e024"; } .glyphicon-download-alt:before { content: "\e025"; } .glyphicon-download:before { content: "\e026"; } .glyphicon-upload:before { content: "\e027"; } .glyphicon-inbox:before { content: "\e028"; } .glyphicon-play-circle:before { content: "\e029"; } .glyphicon-repeat:before { content: "\e030"; } .glyphicon-refresh:before { content: "\e031"; } .glyphicon-list-alt:before { content: "\e032"; } .glyphicon-lock:before { content: "\e033"; } .glyphicon-flag:before { content: "\e034"; } .glyphicon-headphones:before { content: "\e035"; } .glyphicon-volume-off:before { content: "\e036"; } .glyphicon-volume-down:before { content: "\e037"; } .glyphicon-volume-up:before { content: "\e038"; } .glyphicon-qrcode:before { content: "\e039"; } .glyphicon-barcode:before { content: "\e040"; } .glyphicon-tag:before { content: "\e041"; } .glyphicon-tags:before { content: "\e042"; } .glyphicon-book:before { content: "\e043"; } .glyphicon-bookmark:before { content: "\e044"; } .glyphicon-print:before { content: "\e045"; } .glyphicon-camera:before { content: "\e046"; } .glyphicon-font:before { content: "\e047"; } .glyphicon-bold:before { content: "\e048"; } .glyphicon-italic:before { content: "\e049"; } .glyphicon-text-height:before { content: "\e050"; } .glyphicon-text-width:before { content: "\e051"; } .glyphicon-align-left:before { content: "\e052"; } .glyphicon-align-center:before { content: "\e053"; } .glyphicon-align-right:before { content: "\e054"; } .glyphicon-align-justify:before { content: "\e055"; } .glyphicon-list:before { content: "\e056"; } .glyphicon-indent-left:before { content: "\e057"; } .glyphicon-indent-right:before { content: "\e058"; } .glyphicon-facetime-video:before { content: "\e059"; } .glyphicon-picture:before { content: "\e060"; } .glyphicon-map-marker:before { content: "\e062"; } .glyphicon-adjust:before { content: "\e063"; } .glyphicon-tint:before { content: "\e064"; } .glyphicon-edit:before { content: "\e065"; } .glyphicon-share:before { content: "\e066"; } .glyphicon-check:before { content: "\e067"; } .glyphicon-move:before { content: "\e068"; } .glyphicon-step-backward:before { content: "\e069"; } .glyphicon-fast-backward:before { content: "\e070"; } .glyphicon-backward:before { content: "\e071"; } .glyphicon-play:before { content: "\e072"; } .glyphicon-pause:before { content: "\e073"; } .glyphicon-stop:before { content: "\e074"; } .glyphicon-forward:before { content: "\e075"; } .glyphicon-fast-forward:before { content: "\e076"; } .glyphicon-step-forward:before { content: "\e077"; } .glyphicon-eject:before { content: "\e078"; } .glyphicon-chevron-left:before { content: "\e079"; } .glyphicon-chevron-right:before { content: "\e080"; } .glyphicon-plus-sign:before { content: "\e081"; } .glyphicon-minus-sign:before { content: "\e082"; } .glyphicon-remove-sign:before { content: "\e083"; } .glyphicon-ok-sign:before { content: "\e084"; } .glyphicon-question-sign:before { content: "\e085"; } .glyphicon-info-sign:before { content: "\e086"; } .glyphicon-screenshot:before { content: "\e087"; } .glyphicon-remove-circle:before { content: "\e088"; } .glyphicon-ok-circle:before { content: "\e089"; } .glyphicon-ban-circle:before { content: "\e090"; } .glyphicon-arrow-left:before { content: "\e091"; } .glyphicon-arrow-right:before { content: "\e092"; } .glyphicon-arrow-up:before { content: "\e093"; } .glyphicon-arrow-down:before { content: "\e094"; } .glyphicon-share-alt:before { content: "\e095"; } .glyphicon-resize-full:before { content: "\e096"; } .glyphicon-resize-small:before { content: "\e097"; } .glyphicon-exclamation-sign:before { content: "\e101"; } .glyphicon-gift:before { content: "\e102"; } .glyphicon-leaf:before { content: "\e103"; } .glyphicon-fire:before { content: "\e104"; } .glyphicon-eye-open:before { content: "\e105"; } .glyphicon-eye-close:before { content: "\e106"; } .glyphicon-warning-sign:before { content: "\e107"; } .glyphicon-plane:before { content: "\e108"; } .glyphicon-calendar:before { content: "\e109"; } .glyphicon-random:before { content: "\e110"; } .glyphicon-comment:before { content: "\e111"; } .glyphicon-magnet:before { content: "\e112"; } .glyphicon-chevron-up:before { content: "\e113"; } .glyphicon-chevron-down:before { content: "\e114"; } .glyphicon-retweet:before { content: "\e115"; } .glyphicon-shopping-cart:before { content: "\e116"; } .glyphicon-folder-close:before { content: "\e117"; } .glyphicon-folder-open:before { content: "\e118"; } .glyphicon-resize-vertical:before { content: "\e119"; } .glyphicon-resize-horizontal:before { content: "\e120"; } .glyphicon-hdd:before { content: "\e121"; } .glyphicon-bullhorn:before { content: "\e122"; } .glyphicon-bell:before { content: "\e123"; } .glyphicon-certificate:before { content: "\e124"; } .glyphicon-thumbs-up:before { content: "\e125"; } .glyphicon-thumbs-down:before { content: "\e126"; } .glyphicon-hand-right:before { content: "\e127"; } .glyphicon-hand-left:before { content: "\e128"; } .glyphicon-hand-up:before { content: "\e129"; } .glyphicon-hand-down:before { content: "\e130"; } .glyphicon-circle-arrow-right:before { content: "\e131"; } .glyphicon-circle-arrow-left:before { content: "\e132"; } .glyphicon-circle-arrow-up:before { content: "\e133"; } .glyphicon-circle-arrow-down:before { content: "\e134"; } .glyphicon-globe:before { content: "\e135"; } .glyphicon-wrench:before { content: "\e136"; } .glyphicon-tasks:before { content: "\e137"; } .glyphicon-filter:before { content: "\e138"; } .glyphicon-briefcase:before { content: "\e139"; } .glyphicon-fullscreen:before { content: "\e140"; } .glyphicon-dashboard:before { content: "\e141"; } .glyphicon-paperclip:before { content: "\e142"; } .glyphicon-heart-empty:before { content: "\e143"; } .glyphicon-link:before { content: "\e144"; } .glyphicon-phone:before { content: "\e145"; } .glyphicon-pushpin:before { content: "\e146"; } .glyphicon-usd:before { content: "\e148"; } .glyphicon-gbp:before { content: "\e149"; } .glyphicon-sort:before { content: "\e150"; } .glyphicon-sort-by-alphabet:before { content: "\e151"; } .glyphicon-sort-by-alphabet-alt:before { content: "\e152"; } .glyphicon-sort-by-order:before { content: "\e153"; } .glyphicon-sort-by-order-alt:before { content: "\e154"; } .glyphicon-sort-by-attributes:before { content: "\e155"; } .glyphicon-sort-by-attributes-alt:before { content: "\e156"; } .glyphicon-unchecked:before { content: "\e157"; } .glyphicon-expand:before { content: "\e158"; } .glyphicon-collapse-down:before { content: "\e159"; } .glyphicon-collapse-up:before { content: "\e160"; } .glyphicon-log-in:before { content: "\e161"; } .glyphicon-flash:before { content: "\e162"; } .glyphicon-log-out:before { content: "\e163"; } .glyphicon-new-window:before { content: "\e164"; } .glyphicon-record:before { content: "\e165"; } .glyphicon-save:before { content: "\e166"; } .glyphicon-open:before { content: "\e167"; } .glyphicon-saved:before { content: "\e168"; } .glyphicon-import:before { content: "\e169"; } .glyphicon-export:before { content: "\e170"; } .glyphicon-send:before { content: "\e171"; } .glyphicon-floppy-disk:before { content: "\e172"; } .glyphicon-floppy-saved:before { content: "\e173"; } .glyphicon-floppy-remove:before { content: "\e174"; } .glyphicon-floppy-save:before { content: "\e175"; } .glyphicon-floppy-open:before { content: "\e176"; } .glyphicon-credit-card:before { content: "\e177"; } .glyphicon-transfer:before { content: "\e178"; } .glyphicon-cutlery:before { content: "\e179"; } .glyphicon-header:before { content: "\e180"; } .glyphicon-compressed:before { content: "\e181"; } .glyphicon-earphone:before { content: "\e182"; } .glyphicon-phone-alt:before { content: "\e183"; } .glyphicon-tower:before { content: "\e184"; } .glyphicon-stats:before { content: "\e185"; } .glyphicon-sd-video:before { content: "\e186"; } .glyphicon-hd-video:before { content: "\e187"; } .glyphicon-subtitles:before { content: "\e188"; } .glyphicon-sound-stereo:before { content: "\e189"; } .glyphicon-sound-dolby:before { content: "\e190"; } .glyphicon-sound-5-1:before { content: "\e191"; } .glyphicon-sound-6-1:before { content: "\e192"; } .glyphicon-sound-7-1:before { content: "\e193"; } .glyphicon-copyright-mark:before { content: "\e194"; } .glyphicon-registration-mark:before { content: "\e195"; } .glyphicon-cloud-download:before { content: "\e197"; } .glyphicon-cloud-upload:before { content: "\e198"; } .glyphicon-tree-conifer:before { content: "\e199"; } .glyphicon-tree-deciduous:before { content: "\e200"; } .glyphicon-cd:before { content: "\e201"; } .glyphicon-save-file:before { content: "\e202"; } .glyphicon-open-file:before { content: "\e203"; } .glyphicon-level-up:before { content: "\e204"; } .glyphicon-copy:before { content: "\e205"; } .glyphicon-paste:before { content: "\e206"; } .glyphicon-alert:before { content: "\e209"; } .glyphicon-equalizer:before { content: "\e210"; } .glyphicon-king:before { content: "\e211"; } .glyphicon-queen:before { content: "\e212"; } .glyphicon-pawn:before { content: "\e213"; } .glyphicon-bishop:before { content: "\e214"; } .glyphicon-knight:before { content: "\e215"; } .glyphicon-baby-formula:before { content: "\e216"; } .glyphicon-tent:before { content: "\26fa"; } .glyphicon-blackboard:before { content: "\e218"; } .glyphicon-bed:before { content: "\e219"; } .glyphicon-apple:before { content: "\f8ff"; } .glyphicon-erase:before { content: "\e221"; } .glyphicon-hourglass:before { content: "\231b"; } .glyphicon-lamp:before { content: "\e223"; } .glyphicon-duplicate:before { content: "\e224"; } .glyphicon-piggy-bank:before { content: "\e225"; } .glyphicon-scissors:before { content: "\e226"; } .glyphicon-bitcoin:before { content: "\e227"; } .glyphicon-btc:before { content: "\e227"; } .glyphicon-xbt:before { content: "\e227"; } .glyphicon-yen:before { content: "\00a5"; } .glyphicon-jpy:before { content: "\00a5"; } .glyphicon-ruble:before { content: "\20bd"; } .glyphicon-rub:before { content: "\20bd"; } .glyphicon-scale:before { content: "\e230"; } .glyphicon-ice-lolly:before { content: "\e231"; } .glyphicon-ice-lolly-tasted:before { content: "\e232"; } .glyphicon-education:before { content: "\e233"; } .glyphicon-option-horizontal:before { content: "\e234"; } .glyphicon-option-vertical:before { content: "\e235"; } .glyphicon-menu-hamburger:before { content: "\e236"; } .glyphicon-modal-window:before { content: "\e237"; } .glyphicon-oil:before { content: "\e238"; } .glyphicon-grain:before { content: "\e239"; } .glyphicon-sunglasses:before { content: "\e240"; } .glyphicon-text-size:before { content: "\e241"; } .glyphicon-text-color:before { content: "\e242"; } .glyphicon-text-background:before { content: "\e243"; } .glyphicon-object-align-top:before { content: "\e244"; } .glyphicon-object-align-bottom:before { content: "\e245"; } .glyphicon-object-align-horizontal:before { content: "\e246"; } .glyphicon-object-align-left:before { content: "\e247"; } .glyphicon-object-align-vertical:before { content: "\e248"; } .glyphicon-object-align-right:before { content: "\e249"; } .glyphicon-triangle-right:before { content: "\e250"; } .glyphicon-triangle-left:before { content: "\e251"; } .glyphicon-triangle-bottom:before { content: "\e252"; } .glyphicon-triangle-top:before { content: "\e253"; } .glyphicon-console:before { content: "\e254"; } .glyphicon-superscript:before { content: "\e255"; } .glyphicon-subscript:before { content: "\e256"; } .glyphicon-menu-left:before { content: "\e257"; } .glyphicon-menu-right:before { content: "\e258"; } .glyphicon-menu-down:before { content: "\e259"; } .glyphicon-menu-up:before { content: "\e260"; } * { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } *:before, *:after { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } html { font-size: 10px; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); } body { font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-size: 15px; line-height: 1.4; color: #222222; background-color: #ffffff; } input, button, select, textarea { font-family: inherit; font-size: inherit; line-height: inherit; } a { color: #008cba; text-decoration: none; } a:hover, a:focus { color: #008cba; text-decoration: underline; } a:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } figure { margin: 0; } img { vertical-align: middle; } .img-responsive, .thumbnail > img, .thumbnail a > img, .carousel-inner > .item > img, .carousel-inner > .item > a > img { display: block; max-width: 100%; height: auto; } .img-rounded { border-radius: 0; } .img-thumbnail { padding: 4px; line-height: 1.4; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 0; -webkit-transition: all 0.2s ease-in-out; -o-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; display: inline-block; max-width: 100%; height: auto; } .img-circle { border-radius: 50%; } hr { margin-top: 21px; margin-bottom: 21px; border: 0; border-top: 1px solid #dddddd; } .sr-only { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0, 0, 0, 0); border: 0; } .sr-only-focusable:active, .sr-only-focusable:focus { position: static; width: auto; height: auto; margin: 0; overflow: visible; clip: auto; } [role="button"] { cursor: pointer; } h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 { font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-weight: 300; line-height: 1.1; color: inherit; } h1 small, h2 small, h3 small, h4 small, h5 small, h6 small, .h1 small, .h2 small, .h3 small, .h4 small, .h5 small, .h6 small, h1 .small, h2 .small, h3 .small, h4 .small, h5 .small, h6 .small, .h1 .small, .h2 .small, .h3 .small, .h4 .small, .h5 .small, .h6 .small { font-weight: normal; line-height: 1; color: #999999; } h1, .h1, h2, .h2, h3, .h3 { margin-top: 21px; margin-bottom: 10.5px; } h1 small, .h1 small, h2 small, .h2 small, h3 small, .h3 small, h1 .small, .h1 .small, h2 .small, .h2 .small, h3 .small, .h3 .small { font-size: 65%; } h4, .h4, h5, .h5, h6, .h6 { margin-top: 10.5px; margin-bottom: 10.5px; } h4 small, .h4 small, h5 small, .h5 small, h6 small, .h6 small, h4 .small, .h4 .small, h5 .small, .h5 .small, h6 .small, .h6 .small { font-size: 75%; } h1, .h1 { font-size: 39px; } h2, .h2 { font-size: 32px; } h3, .h3 { font-size: 26px; } h4, .h4 { font-size: 19px; } h5, .h5 { font-size: 15px; } h6, .h6 { font-size: 13px; } p { margin: 0 0 10.5px; } .lead { margin-bottom: 21px; font-size: 17px; font-weight: 300; line-height: 1.4; } @media (min-width: 768px) { .lead { font-size: 22.5px; } } small, .small { font-size: 80%; } mark, .mark { background-color: #fcf8e3; padding: .2em; } .text-left { text-align: left; } .text-right { text-align: right; } .text-center { text-align: center; } .text-justify { text-align: justify; } .text-nowrap { white-space: nowrap; } .text-lowercase { text-transform: lowercase; } .text-uppercase { text-transform: uppercase; } .text-capitalize { text-transform: capitalize; } .text-muted { color: #999999; } .text-primary { color: #008cba; } a.text-primary:hover, a.text-primary:focus { color: #006687; } .text-success { color: #43ac6a; } a.text-success:hover, a.text-success:focus { color: #358753; } .text-info { color: #5bc0de; } a.text-info:hover, a.text-info:focus { color: #31b0d5; } .text-warning { color: #e99002; } a.text-warning:hover, a.text-warning:focus { color: #b67102; } .text-danger { color: #f04124; } a.text-danger:hover, a.text-danger:focus { color: #d32a0e; } .bg-primary { color: #fff; background-color: #008cba; } a.bg-primary:hover, a.bg-primary:focus { background-color: #006687; } .bg-success { background-color: #dff0d8; } a.bg-success:hover, a.bg-success:focus { background-color: #c1e2b3; } .bg-info { background-color: #d9edf7; } a.bg-info:hover, a.bg-info:focus { background-color: #afd9ee; } .bg-warning { background-color: #fcf8e3; } a.bg-warning:hover, a.bg-warning:focus { background-color: #f7ecb5; } .bg-danger { background-color: #f2dede; } a.bg-danger:hover, a.bg-danger:focus { background-color: #e4b9b9; } .page-header { padding-bottom: 9.5px; margin: 42px 0 21px; border-bottom: 1px solid #dddddd; } ul, ol { margin-top: 0; margin-bottom: 10.5px; } ul ul, ol ul, ul ol, ol ol { margin-bottom: 0; } .list-unstyled { padding-left: 0; list-style: none; } .list-inline { padding-left: 0; list-style: none; margin-left: -5px; } .list-inline > li { display: inline-block; padding-left: 5px; padding-right: 5px; } dl { margin-top: 0; margin-bottom: 21px; } dt, dd { line-height: 1.4; } dt { font-weight: bold; } dd { margin-left: 0; } @media (min-width: 768px) { .dl-horizontal dt { float: left; width: 160px; clear: left; text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; } .dl-horizontal dd { margin-left: 180px; } } abbr[title], abbr[data-original-title] { cursor: help; border-bottom: 1px dotted #999999; } .initialism { font-size: 90%; text-transform: uppercase; } blockquote { padding: 10.5px 21px; margin: 0 0 21px; font-size: 18.75px; border-left: 5px solid #dddddd; } blockquote p:last-child, blockquote ul:last-child, blockquote ol:last-child { margin-bottom: 0; } blockquote footer, blockquote small, blockquote .small { display: block; font-size: 80%; line-height: 1.4; color: #6f6f6f; } blockquote footer:before, blockquote small:before, blockquote .small:before { content: '\2014 \00A0'; } .blockquote-reverse, blockquote.pull-right { padding-right: 15px; padding-left: 0; border-right: 5px solid #dddddd; border-left: 0; text-align: right; } .blockquote-reverse footer:before, blockquote.pull-right footer:before, .blockquote-reverse small:before, blockquote.pull-right small:before, .blockquote-reverse .small:before, blockquote.pull-right .small:before { content: ''; } .blockquote-reverse footer:after, blockquote.pull-right footer:after, .blockquote-reverse small:after, blockquote.pull-right small:after, .blockquote-reverse .small:after, blockquote.pull-right .small:after { content: '\00A0 \2014'; } address { margin-bottom: 21px; font-style: normal; line-height: 1.4; } code, kbd, pre, samp { font-family: Menlo, Monaco, Consolas, "Courier New", monospace; } code { padding: 2px 4px; font-size: 90%; color: #c7254e; background-color: #f9f2f4; border-radius: 0; } kbd { padding: 2px 4px; font-size: 90%; color: #ffffff; background-color: #333333; border-radius: 0; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.25); } kbd kbd { padding: 0; font-size: 100%; font-weight: bold; -webkit-box-shadow: none; box-shadow: none; } pre { display: block; padding: 10px; margin: 0 0 10.5px; font-size: 14px; line-height: 1.4; word-break: break-all; word-wrap: break-word; color: #333333; background-color: #f5f5f5; border: 1px solid #cccccc; border-radius: 0; } pre code { padding: 0; font-size: inherit; color: inherit; white-space: pre-wrap; background-color: transparent; border-radius: 0; } .pre-scrollable { max-height: 340px; overflow-y: scroll; } .container { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } @media (min-width: 768px) { .container { width: 750px; } } @media (min-width: 992px) { .container { width: 970px; } } @media (min-width: 1200px) { .container { width: 1170px; } } .container-fluid { margin-right: auto; margin-left: auto; padding-left: 15px; padding-right: 15px; } .row { margin-left: -15px; margin-right: -15px; } .col-xs-1, .col-sm-1, .col-md-1, .col-lg-1, .col-xs-2, .col-sm-2, .col-md-2, .col-lg-2, .col-xs-3, .col-sm-3, .col-md-3, .col-lg-3, .col-xs-4, .col-sm-4, .col-md-4, .col-lg-4, .col-xs-5, .col-sm-5, .col-md-5, .col-lg-5, .col-xs-6, .col-sm-6, .col-md-6, .col-lg-6, .col-xs-7, .col-sm-7, .col-md-7, .col-lg-7, .col-xs-8, .col-sm-8, .col-md-8, .col-lg-8, .col-xs-9, .col-sm-9, .col-md-9, .col-lg-9, .col-xs-10, .col-sm-10, .col-md-10, .col-lg-10, .col-xs-11, .col-sm-11, .col-md-11, .col-lg-11, .col-xs-12, .col-sm-12, .col-md-12, .col-lg-12 { position: relative; min-height: 1px; padding-left: 15px; padding-right: 15px; } .col-xs-1, .col-xs-2, .col-xs-3, .col-xs-4, .col-xs-5, .col-xs-6, .col-xs-7, .col-xs-8, .col-xs-9, .col-xs-10, .col-xs-11, .col-xs-12 { float: left; } .col-xs-12 { width: 100%; } .col-xs-11 { width: 91.66666667%; } .col-xs-10 { width: 83.33333333%; } .col-xs-9 { width: 75%; } .col-xs-8 { width: 66.66666667%; } .col-xs-7 { width: 58.33333333%; } .col-xs-6 { width: 50%; } .col-xs-5 { width: 41.66666667%; } .col-xs-4 { width: 33.33333333%; } .col-xs-3 { width: 25%; } .col-xs-2 { width: 16.66666667%; } .col-xs-1 { width: 8.33333333%; } .col-xs-pull-12 { right: 100%; } .col-xs-pull-11 { right: 91.66666667%; } .col-xs-pull-10 { right: 83.33333333%; } .col-xs-pull-9 { right: 75%; } .col-xs-pull-8 { right: 66.66666667%; } .col-xs-pull-7 { right: 58.33333333%; } .col-xs-pull-6 { right: 50%; } .col-xs-pull-5 { right: 41.66666667%; } .col-xs-pull-4 { right: 33.33333333%; } .col-xs-pull-3 { right: 25%; } .col-xs-pull-2 { right: 16.66666667%; } .col-xs-pull-1 { right: 8.33333333%; } .col-xs-pull-0 { right: auto; } .col-xs-push-12 { left: 100%; } .col-xs-push-11 { left: 91.66666667%; } .col-xs-push-10 { left: 83.33333333%; } .col-xs-push-9 { left: 75%; } .col-xs-push-8 { left: 66.66666667%; } .col-xs-push-7 { left: 58.33333333%; } .col-xs-push-6 { left: 50%; } .col-xs-push-5 { left: 41.66666667%; } .col-xs-push-4 { left: 33.33333333%; } .col-xs-push-3 { left: 25%; } .col-xs-push-2 { left: 16.66666667%; } .col-xs-push-1 { left: 8.33333333%; } .col-xs-push-0 { left: auto; } .col-xs-offset-12 { margin-left: 100%; } .col-xs-offset-11 { margin-left: 91.66666667%; } .col-xs-offset-10 { margin-left: 83.33333333%; } .col-xs-offset-9 { margin-left: 75%; } .col-xs-offset-8 { margin-left: 66.66666667%; } .col-xs-offset-7 { margin-left: 58.33333333%; } .col-xs-offset-6 { margin-left: 50%; } .col-xs-offset-5 { margin-left: 41.66666667%; } .col-xs-offset-4 { margin-left: 33.33333333%; } .col-xs-offset-3 { margin-left: 25%; } .col-xs-offset-2 { margin-left: 16.66666667%; } .col-xs-offset-1 { margin-left: 8.33333333%; } .col-xs-offset-0 { margin-left: 0%; } @media (min-width: 768px) { .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 { float: left; } .col-sm-12 { width: 100%; } .col-sm-11 { width: 91.66666667%; } .col-sm-10 { width: 83.33333333%; } .col-sm-9 { width: 75%; } .col-sm-8 { width: 66.66666667%; } .col-sm-7 { width: 58.33333333%; } .col-sm-6 { width: 50%; } .col-sm-5 { width: 41.66666667%; } .col-sm-4 { width: 33.33333333%; } .col-sm-3 { width: 25%; } .col-sm-2 { width: 16.66666667%; } .col-sm-1 { width: 8.33333333%; } .col-sm-pull-12 { right: 100%; } .col-sm-pull-11 { right: 91.66666667%; } .col-sm-pull-10 { right: 83.33333333%; } .col-sm-pull-9 { right: 75%; } .col-sm-pull-8 { right: 66.66666667%; } .col-sm-pull-7 { right: 58.33333333%; } .col-sm-pull-6 { right: 50%; } .col-sm-pull-5 { right: 41.66666667%; } .col-sm-pull-4 { right: 33.33333333%; } .col-sm-pull-3 { right: 25%; } .col-sm-pull-2 { right: 16.66666667%; } .col-sm-pull-1 { right: 8.33333333%; } .col-sm-pull-0 { right: auto; } .col-sm-push-12 { left: 100%; } .col-sm-push-11 { left: 91.66666667%; } .col-sm-push-10 { left: 83.33333333%; } .col-sm-push-9 { left: 75%; } .col-sm-push-8 { left: 66.66666667%; } .col-sm-push-7 { left: 58.33333333%; } .col-sm-push-6 { left: 50%; } .col-sm-push-5 { left: 41.66666667%; } .col-sm-push-4 { left: 33.33333333%; } .col-sm-push-3 { left: 25%; } .col-sm-push-2 { left: 16.66666667%; } .col-sm-push-1 { left: 8.33333333%; } .col-sm-push-0 { left: auto; } .col-sm-offset-12 { margin-left: 100%; } .col-sm-offset-11 { margin-left: 91.66666667%; } .col-sm-offset-10 { margin-left: 83.33333333%; } .col-sm-offset-9 { margin-left: 75%; } .col-sm-offset-8 { margin-left: 66.66666667%; } .col-sm-offset-7 { margin-left: 58.33333333%; } .col-sm-offset-6 { margin-left: 50%; } .col-sm-offset-5 { margin-left: 41.66666667%; } .col-sm-offset-4 { margin-left: 33.33333333%; } .col-sm-offset-3 { margin-left: 25%; } .col-sm-offset-2 { margin-left: 16.66666667%; } .col-sm-offset-1 { margin-left: 8.33333333%; } .col-sm-offset-0 { margin-left: 0%; } } @media (min-width: 992px) { .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12 { float: left; } .col-md-12 { width: 100%; } .col-md-11 { width: 91.66666667%; } .col-md-10 { width: 83.33333333%; } .col-md-9 { width: 75%; } .col-md-8 { width: 66.66666667%; } .col-md-7 { width: 58.33333333%; } .col-md-6 { width: 50%; } .col-md-5 { width: 41.66666667%; } .col-md-4 { width: 33.33333333%; } .col-md-3 { width: 25%; } .col-md-2 { width: 16.66666667%; } .col-md-1 { width: 8.33333333%; } .col-md-pull-12 { right: 100%; } .col-md-pull-11 { right: 91.66666667%; } .col-md-pull-10 { right: 83.33333333%; } .col-md-pull-9 { right: 75%; } .col-md-pull-8 { right: 66.66666667%; } .col-md-pull-7 { right: 58.33333333%; } .col-md-pull-6 { right: 50%; } .col-md-pull-5 { right: 41.66666667%; } .col-md-pull-4 { right: 33.33333333%; } .col-md-pull-3 { right: 25%; } .col-md-pull-2 { right: 16.66666667%; } .col-md-pull-1 { right: 8.33333333%; } .col-md-pull-0 { right: auto; } .col-md-push-12 { left: 100%; } .col-md-push-11 { left: 91.66666667%; } .col-md-push-10 { left: 83.33333333%; } .col-md-push-9 { left: 75%; } .col-md-push-8 { left: 66.66666667%; } .col-md-push-7 { left: 58.33333333%; } .col-md-push-6 { left: 50%; } .col-md-push-5 { left: 41.66666667%; } .col-md-push-4 { left: 33.33333333%; } .col-md-push-3 { left: 25%; } .col-md-push-2 { left: 16.66666667%; } .col-md-push-1 { left: 8.33333333%; } .col-md-push-0 { left: auto; } .col-md-offset-12 { margin-left: 100%; } .col-md-offset-11 { margin-left: 91.66666667%; } .col-md-offset-10 { margin-left: 83.33333333%; } .col-md-offset-9 { margin-left: 75%; } .col-md-offset-8 { margin-left: 66.66666667%; } .col-md-offset-7 { margin-left: 58.33333333%; } .col-md-offset-6 { margin-left: 50%; } .col-md-offset-5 { margin-left: 41.66666667%; } .col-md-offset-4 { margin-left: 33.33333333%; } .col-md-offset-3 { margin-left: 25%; } .col-md-offset-2 { margin-left: 16.66666667%; } .col-md-offset-1 { margin-left: 8.33333333%; } .col-md-offset-0 { margin-left: 0%; } } @media (min-width: 1200px) { .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12 { float: left; } .col-lg-12 { width: 100%; } .col-lg-11 { width: 91.66666667%; } .col-lg-10 { width: 83.33333333%; } .col-lg-9 { width: 75%; } .col-lg-8 { width: 66.66666667%; } .col-lg-7 { width: 58.33333333%; } .col-lg-6 { width: 50%; } .col-lg-5 { width: 41.66666667%; } .col-lg-4 { width: 33.33333333%; } .col-lg-3 { width: 25%; } .col-lg-2 { width: 16.66666667%; } .col-lg-1 { width: 8.33333333%; } .col-lg-pull-12 { right: 100%; } .col-lg-pull-11 { right: 91.66666667%; } .col-lg-pull-10 { right: 83.33333333%; } .col-lg-pull-9 { right: 75%; } .col-lg-pull-8 { right: 66.66666667%; } .col-lg-pull-7 { right: 58.33333333%; } .col-lg-pull-6 { right: 50%; } .col-lg-pull-5 { right: 41.66666667%; } .col-lg-pull-4 { right: 33.33333333%; } .col-lg-pull-3 { right: 25%; } .col-lg-pull-2 { right: 16.66666667%; } .col-lg-pull-1 { right: 8.33333333%; } .col-lg-pull-0 { right: auto; } .col-lg-push-12 { left: 100%; } .col-lg-push-11 { left: 91.66666667%; } .col-lg-push-10 { left: 83.33333333%; } .col-lg-push-9 { left: 75%; } .col-lg-push-8 { left: 66.66666667%; } .col-lg-push-7 { left: 58.33333333%; } .col-lg-push-6 { left: 50%; } .col-lg-push-5 { left: 41.66666667%; } .col-lg-push-4 { left: 33.33333333%; } .col-lg-push-3 { left: 25%; } .col-lg-push-2 { left: 16.66666667%; } .col-lg-push-1 { left: 8.33333333%; } .col-lg-push-0 { left: auto; } .col-lg-offset-12 { margin-left: 100%; } .col-lg-offset-11 { margin-left: 91.66666667%; } .col-lg-offset-10 { margin-left: 83.33333333%; } .col-lg-offset-9 { margin-left: 75%; } .col-lg-offset-8 { margin-left: 66.66666667%; } .col-lg-offset-7 { margin-left: 58.33333333%; } .col-lg-offset-6 { margin-left: 50%; } .col-lg-offset-5 { margin-left: 41.66666667%; } .col-lg-offset-4 { margin-left: 33.33333333%; } .col-lg-offset-3 { margin-left: 25%; } .col-lg-offset-2 { margin-left: 16.66666667%; } .col-lg-offset-1 { margin-left: 8.33333333%; } .col-lg-offset-0 { margin-left: 0%; } } table { background-color: transparent; } caption { padding-top: 8px; padding-bottom: 8px; color: #999999; text-align: left; } th { text-align: left; } .table { width: 100%; max-width: 100%; margin-bottom: 21px; } .table > thead > tr > th, .table > tbody > tr > th, .table > tfoot > tr > th, .table > thead > tr > td, .table > tbody > tr > td, .table > tfoot > tr > td { padding: 8px; line-height: 1.4; vertical-align: top; border-top: 1px solid #dddddd; } .table > thead > tr > th { vertical-align: bottom; border-bottom: 2px solid #dddddd; } .table > caption + thead > tr:first-child > th, .table > colgroup + thead > tr:first-child > th, .table > thead:first-child > tr:first-child > th, .table > caption + thead > tr:first-child > td, .table > colgroup + thead > tr:first-child > td, .table > thead:first-child > tr:first-child > td { border-top: 0; } .table > tbody + tbody { border-top: 2px solid #dddddd; } .table .table { background-color: #ffffff; } .table-condensed > thead > tr > th, .table-condensed > tbody > tr > th, .table-condensed > tfoot > tr > th, .table-condensed > thead > tr > td, .table-condensed > tbody > tr > td, .table-condensed > tfoot > tr > td { padding: 5px; } .table-bordered { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > tbody > tr > th, .table-bordered > tfoot > tr > th, .table-bordered > thead > tr > td, .table-bordered > tbody > tr > td, .table-bordered > tfoot > tr > td { border: 1px solid #dddddd; } .table-bordered > thead > tr > th, .table-bordered > thead > tr > td { border-bottom-width: 2px; } .table-striped > tbody > tr:nth-of-type(odd) { background-color: #f9f9f9; } .table-hover > tbody > tr:hover { background-color: #f5f5f5; } table col[class*="col-"] { position: static; float: none; display: table-column; } table td[class*="col-"], table th[class*="col-"] { position: static; float: none; display: table-cell; } .table > thead > tr > td.active, .table > tbody > tr > td.active, .table > tfoot > tr > td.active, .table > thead > tr > th.active, .table > tbody > tr > th.active, .table > tfoot > tr > th.active, .table > thead > tr.active > td, .table > tbody > tr.active > td, .table > tfoot > tr.active > td, .table > thead > tr.active > th, .table > tbody > tr.active > th, .table > tfoot > tr.active > th { background-color: #f5f5f5; } .table-hover > tbody > tr > td.active:hover, .table-hover > tbody > tr > th.active:hover, .table-hover > tbody > tr.active:hover > td, .table-hover > tbody > tr:hover > .active, .table-hover > tbody > tr.active:hover > th { background-color: #e8e8e8; } .table > thead > tr > td.success, .table > tbody > tr > td.success, .table > tfoot > tr > td.success, .table > thead > tr > th.success, .table > tbody > tr > th.success, .table > tfoot > tr > th.success, .table > thead > tr.success > td, .table > tbody > tr.success > td, .table > tfoot > tr.success > td, .table > thead > tr.success > th, .table > tbody > tr.success > th, .table > tfoot > tr.success > th { background-color: #dff0d8; } .table-hover > tbody > tr > td.success:hover, .table-hover > tbody > tr > th.success:hover, .table-hover > tbody > tr.success:hover > td, .table-hover > tbody > tr:hover > .success, .table-hover > tbody > tr.success:hover > th { background-color: #d0e9c6; } .table > thead > tr > td.info, .table > tbody > tr > td.info, .table > tfoot > tr > td.info, .table > thead > tr > th.info, .table > tbody > tr > th.info, .table > tfoot > tr > th.info, .table > thead > tr.info > td, .table > tbody > tr.info > td, .table > tfoot > tr.info > td, .table > thead > tr.info > th, .table > tbody > tr.info > th, .table > tfoot > tr.info > th { background-color: #d9edf7; } .table-hover > tbody > tr > td.info:hover, .table-hover > tbody > tr > th.info:hover, .table-hover > tbody > tr.info:hover > td, .table-hover > tbody > tr:hover > .info, .table-hover > tbody > tr.info:hover > th { background-color: #c4e3f3; } .table > thead > tr > td.warning, .table > tbody > tr > td.warning, .table > tfoot > tr > td.warning, .table > thead > tr > th.warning, .table > tbody > tr > th.warning, .table > tfoot > tr > th.warning, .table > thead > tr.warning > td, .table > tbody > tr.warning > td, .table > tfoot > tr.warning > td, .table > thead > tr.warning > th, .table > tbody > tr.warning > th, .table > tfoot > tr.warning > th { background-color: #fcf8e3; } .table-hover > tbody > tr > td.warning:hover, .table-hover > tbody > tr > th.warning:hover, .table-hover > tbody > tr.warning:hover > td, .table-hover > tbody > tr:hover > .warning, .table-hover > tbody > tr.warning:hover > th { background-color: #faf2cc; } .table > thead > tr > td.danger, .table > tbody > tr > td.danger, .table > tfoot > tr > td.danger, .table > thead > tr > th.danger, .table > tbody > tr > th.danger, .table > tfoot > tr > th.danger, .table > thead > tr.danger > td, .table > tbody > tr.danger > td, .table > tfoot > tr.danger > td, .table > thead > tr.danger > th, .table > tbody > tr.danger > th, .table > tfoot > tr.danger > th { background-color: #f2dede; } .table-hover > tbody > tr > td.danger:hover, .table-hover > tbody > tr > th.danger:hover, .table-hover > tbody > tr.danger:hover > td, .table-hover > tbody > tr:hover > .danger, .table-hover > tbody > tr.danger:hover > th { background-color: #ebcccc; } .table-responsive { overflow-x: auto; min-height: 0.01%; } @media screen and (max-width: 767px) { .table-responsive { width: 100%; margin-bottom: 15.75px; overflow-y: hidden; -ms-overflow-style: -ms-autohiding-scrollbar; border: 1px solid #dddddd; } .table-responsive > .table { margin-bottom: 0; } .table-responsive > .table > thead > tr > th, .table-responsive > .table > tbody > tr > th, .table-responsive > .table > tfoot > tr > th, .table-responsive > .table > thead > tr > td, .table-responsive > .table > tbody > tr > td, .table-responsive > .table > tfoot > tr > td { white-space: nowrap; } .table-responsive > .table-bordered { border: 0; } .table-responsive > .table-bordered > thead > tr > th:first-child, .table-responsive > .table-bordered > tbody > tr > th:first-child, .table-responsive > .table-bordered > tfoot > tr > th:first-child, .table-responsive > .table-bordered > thead > tr > td:first-child, .table-responsive > .table-bordered > tbody > tr > td:first-child, .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .table-responsive > .table-bordered > thead > tr > th:last-child, .table-responsive > .table-bordered > tbody > tr > th:last-child, .table-responsive > .table-bordered > tfoot > tr > th:last-child, .table-responsive > .table-bordered > thead > tr > td:last-child, .table-responsive > .table-bordered > tbody > tr > td:last-child, .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .table-responsive > .table-bordered > tbody > tr:last-child > th, .table-responsive > .table-bordered > tfoot > tr:last-child > th, .table-responsive > .table-bordered > tbody > tr:last-child > td, .table-responsive > .table-bordered > tfoot > tr:last-child > td { border-bottom: 0; } } fieldset { padding: 0; margin: 0; border: 0; min-width: 0; } legend { display: block; width: 100%; padding: 0; margin-bottom: 21px; font-size: 22.5px; line-height: inherit; color: #333333; border: 0; border-bottom: 1px solid #e5e5e5; } label { display: inline-block; max-width: 100%; margin-bottom: 5px; font-weight: bold; } input[type="search"] { -webkit-box-sizing: border-box; -moz-box-sizing: border-box; box-sizing: border-box; } input[type="radio"], input[type="checkbox"] { margin: 4px 0 0; margin-top: 1px \9; line-height: normal; } input[type="file"] { display: block; } input[type="range"] { display: block; width: 100%; } select[multiple], select[size] { height: auto; } input[type="file"]:focus, input[type="radio"]:focus, input[type="checkbox"]:focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } output { display: block; padding-top: 9px; font-size: 15px; line-height: 1.4; color: #6f6f6f; } .form-control { display: block; width: 100%; height: 39px; padding: 8px 12px; font-size: 15px; line-height: 1.4; color: #6f6f6f; background-color: #ffffff; background-image: none; border: 1px solid #cccccc; border-radius: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s; -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s; } .form-control:focus { border-color: #66afe9; outline: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, 0.6); } .form-control::-moz-placeholder { color: #999999; opacity: 1; } .form-control:-ms-input-placeholder { color: #999999; } .form-control::-webkit-input-placeholder { color: #999999; } .form-control[disabled], .form-control[readonly], fieldset[disabled] .form-control { background-color: #eeeeee; opacity: 1; } .form-control[disabled], fieldset[disabled] .form-control { cursor: not-allowed; } textarea.form-control { height: auto; } input[type="search"] { -webkit-appearance: none; } @media screen and (-webkit-min-device-pixel-ratio: 0) { input[type="date"].form-control, input[type="time"].form-control, input[type="datetime-local"].form-control, input[type="month"].form-control { line-height: 39px; } input[type="date"].input-sm, input[type="time"].input-sm, input[type="datetime-local"].input-sm, input[type="month"].input-sm, .input-group-sm input[type="date"], .input-group-sm input[type="time"], .input-group-sm input[type="datetime-local"], .input-group-sm input[type="month"] { line-height: 36px; } input[type="date"].input-lg, input[type="time"].input-lg, input[type="datetime-local"].input-lg, input[type="month"].input-lg, .input-group-lg input[type="date"], .input-group-lg input[type="time"], .input-group-lg input[type="datetime-local"], .input-group-lg input[type="month"] { line-height: 60px; } } .form-group { margin-bottom: 15px; } .radio, .checkbox { position: relative; display: block; margin-top: 10px; margin-bottom: 10px; } .radio label, .checkbox label { min-height: 21px; padding-left: 20px; margin-bottom: 0; font-weight: normal; cursor: pointer; } .radio input[type="radio"], .radio-inline input[type="radio"], .checkbox input[type="checkbox"], .checkbox-inline input[type="checkbox"] { position: absolute; margin-left: -20px; margin-top: 4px \9; } .radio + .radio, .checkbox + .checkbox { margin-top: -5px; } .radio-inline, .checkbox-inline { position: relative; display: inline-block; padding-left: 20px; margin-bottom: 0; vertical-align: middle; font-weight: normal; cursor: pointer; } .radio-inline + .radio-inline, .checkbox-inline + .checkbox-inline { margin-top: 0; margin-left: 10px; } input[type="radio"][disabled], input[type="checkbox"][disabled], input[type="radio"].disabled, input[type="checkbox"].disabled, fieldset[disabled] input[type="radio"], fieldset[disabled] input[type="checkbox"] { cursor: not-allowed; } .radio-inline.disabled, .checkbox-inline.disabled, fieldset[disabled] .radio-inline, fieldset[disabled] .checkbox-inline { cursor: not-allowed; } .radio.disabled label, .checkbox.disabled label, fieldset[disabled] .radio label, fieldset[disabled] .checkbox label { cursor: not-allowed; } .form-control-static { padding-top: 9px; padding-bottom: 9px; margin-bottom: 0; min-height: 36px; } .form-control-static.input-lg, .form-control-static.input-sm { padding-left: 0; padding-right: 0; } .input-sm { height: 36px; padding: 8px 12px; font-size: 12px; line-height: 1.5; border-radius: 0; } select.input-sm { height: 36px; line-height: 36px; } textarea.input-sm, select[multiple].input-sm { height: auto; } .form-group-sm .form-control { height: 36px; padding: 8px 12px; font-size: 12px; line-height: 1.5; border-radius: 0; } .form-group-sm select.form-control { height: 36px; line-height: 36px; } .form-group-sm textarea.form-control, .form-group-sm select[multiple].form-control { height: auto; } .form-group-sm .form-control-static { height: 36px; min-height: 33px; padding: 9px 12px; font-size: 12px; line-height: 1.5; } .input-lg { height: 60px; padding: 16px 20px; font-size: 19px; line-height: 1.3333333; border-radius: 0; } select.input-lg { height: 60px; line-height: 60px; } textarea.input-lg, select[multiple].input-lg { height: auto; } .form-group-lg .form-control { height: 60px; padding: 16px 20px; font-size: 19px; line-height: 1.3333333; border-radius: 0; } .form-group-lg select.form-control { height: 60px; line-height: 60px; } .form-group-lg textarea.form-control, .form-group-lg select[multiple].form-control { height: auto; } .form-group-lg .form-control-static { height: 60px; min-height: 40px; padding: 17px 20px; font-size: 19px; line-height: 1.3333333; } .has-feedback { position: relative; } .has-feedback .form-control { padding-right: 48.75px; } .form-control-feedback { position: absolute; top: 0; right: 0; z-index: 2; display: block; width: 39px; height: 39px; line-height: 39px; text-align: center; pointer-events: none; } .input-lg + .form-control-feedback, .input-group-lg + .form-control-feedback, .form-group-lg .form-control + .form-control-feedback { width: 60px; height: 60px; line-height: 60px; } .input-sm + .form-control-feedback, .input-group-sm + .form-control-feedback, .form-group-sm .form-control + .form-control-feedback { width: 36px; height: 36px; line-height: 36px; } .has-success .help-block, .has-success .control-label, .has-success .radio, .has-success .checkbox, .has-success .radio-inline, .has-success .checkbox-inline, .has-success.radio label, .has-success.checkbox label, .has-success.radio-inline label, .has-success.checkbox-inline label { color: #43ac6a; } .has-success .form-control { border-color: #43ac6a; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-success .form-control:focus { border-color: #358753; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #85d0a1; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #85d0a1; } .has-success .input-group-addon { color: #43ac6a; border-color: #43ac6a; background-color: #dff0d8; } .has-success .form-control-feedback { color: #43ac6a; } .has-warning .help-block, .has-warning .control-label, .has-warning .radio, .has-warning .checkbox, .has-warning .radio-inline, .has-warning .checkbox-inline, .has-warning.radio label, .has-warning.checkbox label, .has-warning.radio-inline label, .has-warning.checkbox-inline label { color: #e99002; } .has-warning .form-control { border-color: #e99002; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-warning .form-control:focus { border-color: #b67102; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #febc53; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #febc53; } .has-warning .input-group-addon { color: #e99002; border-color: #e99002; background-color: #fcf8e3; } .has-warning .form-control-feedback { color: #e99002; } .has-error .help-block, .has-error .control-label, .has-error .radio, .has-error .checkbox, .has-error .radio-inline, .has-error .checkbox-inline, .has-error.radio label, .has-error.checkbox label, .has-error.radio-inline label, .has-error.checkbox-inline label { color: #f04124; } .has-error .form-control { border-color: #f04124; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075); } .has-error .form-control:focus { border-color: #d32a0e; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f79483; box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.075), 0 0 6px #f79483; } .has-error .input-group-addon { color: #f04124; border-color: #f04124; background-color: #f2dede; } .has-error .form-control-feedback { color: #f04124; } .has-feedback label ~ .form-control-feedback { top: 26px; } .has-feedback label.sr-only ~ .form-control-feedback { top: 0; } .help-block { display: block; margin-top: 5px; margin-bottom: 10px; color: #626262; } @media (min-width: 768px) { .form-inline .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .form-inline .form-control { display: inline-block; width: auto; vertical-align: middle; } .form-inline .form-control-static { display: inline-block; } .form-inline .input-group { display: inline-table; vertical-align: middle; } .form-inline .input-group .input-group-addon, .form-inline .input-group .input-group-btn, .form-inline .input-group .form-control { width: auto; } .form-inline .input-group > .form-control { width: 100%; } .form-inline .control-label { margin-bottom: 0; vertical-align: middle; } .form-inline .radio, .form-inline .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .form-inline .radio label, .form-inline .checkbox label { padding-left: 0; } .form-inline .radio input[type="radio"], .form-inline .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .form-inline .has-feedback .form-control-feedback { top: 0; } } .form-horizontal .radio, .form-horizontal .checkbox, .form-horizontal .radio-inline, .form-horizontal .checkbox-inline { margin-top: 0; margin-bottom: 0; padding-top: 9px; } .form-horizontal .radio, .form-horizontal .checkbox { min-height: 30px; } .form-horizontal .form-group { margin-left: -15px; margin-right: -15px; } @media (min-width: 768px) { .form-horizontal .control-label { text-align: right; margin-bottom: 0; padding-top: 9px; } } .form-horizontal .has-feedback .form-control-feedback { right: 15px; } @media (min-width: 768px) { .form-horizontal .form-group-lg .control-label { padding-top: 22.3333328px; font-size: 19px; } } @media (min-width: 768px) { .form-horizontal .form-group-sm .control-label { padding-top: 9px; font-size: 12px; } } .btn { display: inline-block; margin-bottom: 0; font-weight: normal; text-align: center; vertical-align: middle; -ms-touch-action: manipulation; touch-action: manipulation; cursor: pointer; background-image: none; border: 1px solid transparent; white-space: nowrap; padding: 8px 12px; font-size: 15px; line-height: 1.4; border-radius: 0; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; } .btn:focus, .btn:active:focus, .btn.active:focus, .btn.focus, .btn:active.focus, .btn.active.focus { outline: thin dotted; outline: 5px auto -webkit-focus-ring-color; outline-offset: -2px; } .btn:hover, .btn:focus, .btn.focus { color: #333333; text-decoration: none; } .btn:active, .btn.active { outline: 0; background-image: none; -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn.disabled, .btn[disabled], fieldset[disabled] .btn { cursor: not-allowed; opacity: 0.65; filter: alpha(opacity=65); -webkit-box-shadow: none; box-shadow: none; } a.btn.disabled, fieldset[disabled] a.btn { pointer-events: none; } .btn-default { color: #333333; background-color: #e7e7e7; border-color: #cccccc; } .btn-default:focus, .btn-default.focus { color: #333333; background-color: #cecece; border-color: #8c8c8c; } .btn-default:hover { color: #333333; background-color: #cecece; border-color: #adadad; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { color: #333333; background-color: #cecece; border-color: #adadad; } .btn-default:active:hover, .btn-default.active:hover, .open > .dropdown-toggle.btn-default:hover, .btn-default:active:focus, .btn-default.active:focus, .open > .dropdown-toggle.btn-default:focus, .btn-default:active.focus, .btn-default.active.focus, .open > .dropdown-toggle.btn-default.focus { color: #333333; background-color: #bcbcbc; border-color: #8c8c8c; } .btn-default:active, .btn-default.active, .open > .dropdown-toggle.btn-default { background-image: none; } .btn-default.disabled, .btn-default[disabled], fieldset[disabled] .btn-default, .btn-default.disabled:hover, .btn-default[disabled]:hover, fieldset[disabled] .btn-default:hover, .btn-default.disabled:focus, .btn-default[disabled]:focus, fieldset[disabled] .btn-default:focus, .btn-default.disabled.focus, .btn-default[disabled].focus, fieldset[disabled] .btn-default.focus, .btn-default.disabled:active, .btn-default[disabled]:active, fieldset[disabled] .btn-default:active, .btn-default.disabled.active, .btn-default[disabled].active, fieldset[disabled] .btn-default.active { background-color: #e7e7e7; border-color: #cccccc; } .btn-default .badge { color: #e7e7e7; background-color: #333333; } .btn-primary { color: #ffffff; background-color: #008cba; border-color: #0079a1; } .btn-primary:focus, .btn-primary.focus { color: #ffffff; background-color: #006687; border-color: #001921; } .btn-primary:hover { color: #ffffff; background-color: #006687; border-color: #004b63; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { color: #ffffff; background-color: #006687; border-color: #004b63; } .btn-primary:active:hover, .btn-primary.active:hover, .open > .dropdown-toggle.btn-primary:hover, .btn-primary:active:focus, .btn-primary.active:focus, .open > .dropdown-toggle.btn-primary:focus, .btn-primary:active.focus, .btn-primary.active.focus, .open > .dropdown-toggle.btn-primary.focus { color: #ffffff; background-color: #004b63; border-color: #001921; } .btn-primary:active, .btn-primary.active, .open > .dropdown-toggle.btn-primary { background-image: none; } .btn-primary.disabled, .btn-primary[disabled], fieldset[disabled] .btn-primary, .btn-primary.disabled:hover, .btn-primary[disabled]:hover, fieldset[disabled] .btn-primary:hover, .btn-primary.disabled:focus, .btn-primary[disabled]:focus, fieldset[disabled] .btn-primary:focus, .btn-primary.disabled.focus, .btn-primary[disabled].focus, fieldset[disabled] .btn-primary.focus, .btn-primary.disabled:active, .btn-primary[disabled]:active, fieldset[disabled] .btn-primary:active, .btn-primary.disabled.active, .btn-primary[disabled].active, fieldset[disabled] .btn-primary.active { background-color: #008cba; border-color: #0079a1; } .btn-primary .badge { color: #008cba; background-color: #ffffff; } .btn-success { color: #ffffff; background-color: #43ac6a; border-color: #3c9a5f; } .btn-success:focus, .btn-success.focus { color: #ffffff; background-color: #358753; border-color: #183e26; } .btn-success:hover { color: #ffffff; background-color: #358753; border-color: #2b6e44; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { color: #ffffff; background-color: #358753; border-color: #2b6e44; } .btn-success:active:hover, .btn-success.active:hover, .open > .dropdown-toggle.btn-success:hover, .btn-success:active:focus, .btn-success.active:focus, .open > .dropdown-toggle.btn-success:focus, .btn-success:active.focus, .btn-success.active.focus, .open > .dropdown-toggle.btn-success.focus { color: #ffffff; background-color: #2b6e44; border-color: #183e26; } .btn-success:active, .btn-success.active, .open > .dropdown-toggle.btn-success { background-image: none; } .btn-success.disabled, .btn-success[disabled], fieldset[disabled] .btn-success, .btn-success.disabled:hover, .btn-success[disabled]:hover, fieldset[disabled] .btn-success:hover, .btn-success.disabled:focus, .btn-success[disabled]:focus, fieldset[disabled] .btn-success:focus, .btn-success.disabled.focus, .btn-success[disabled].focus, fieldset[disabled] .btn-success.focus, .btn-success.disabled:active, .btn-success[disabled]:active, fieldset[disabled] .btn-success:active, .btn-success.disabled.active, .btn-success[disabled].active, fieldset[disabled] .btn-success.active { background-color: #43ac6a; border-color: #3c9a5f; } .btn-success .badge { color: #43ac6a; background-color: #ffffff; } .btn-info { color: #ffffff; background-color: #5bc0de; border-color: #46b8da; } .btn-info:focus, .btn-info.focus { color: #ffffff; background-color: #31b0d5; border-color: #1b6d85; } .btn-info:hover { color: #ffffff; background-color: #31b0d5; border-color: #269abc; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { color: #ffffff; background-color: #31b0d5; border-color: #269abc; } .btn-info:active:hover, .btn-info.active:hover, .open > .dropdown-toggle.btn-info:hover, .btn-info:active:focus, .btn-info.active:focus, .open > .dropdown-toggle.btn-info:focus, .btn-info:active.focus, .btn-info.active.focus, .open > .dropdown-toggle.btn-info.focus { color: #ffffff; background-color: #269abc; border-color: #1b6d85; } .btn-info:active, .btn-info.active, .open > .dropdown-toggle.btn-info { background-image: none; } .btn-info.disabled, .btn-info[disabled], fieldset[disabled] .btn-info, .btn-info.disabled:hover, .btn-info[disabled]:hover, fieldset[disabled] .btn-info:hover, .btn-info.disabled:focus, .btn-info[disabled]:focus, fieldset[disabled] .btn-info:focus, .btn-info.disabled.focus, .btn-info[disabled].focus, fieldset[disabled] .btn-info.focus, .btn-info.disabled:active, .btn-info[disabled]:active, fieldset[disabled] .btn-info:active, .btn-info.disabled.active, .btn-info[disabled].active, fieldset[disabled] .btn-info.active { background-color: #5bc0de; border-color: #46b8da; } .btn-info .badge { color: #5bc0de; background-color: #ffffff; } .btn-warning { color: #ffffff; background-color: #e99002; border-color: #d08002; } .btn-warning:focus, .btn-warning.focus { color: #ffffff; background-color: #b67102; border-color: #513201; } .btn-warning:hover { color: #ffffff; background-color: #b67102; border-color: #935b01; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { color: #ffffff; background-color: #b67102; border-color: #935b01; } .btn-warning:active:hover, .btn-warning.active:hover, .open > .dropdown-toggle.btn-warning:hover, .btn-warning:active:focus, .btn-warning.active:focus, .open > .dropdown-toggle.btn-warning:focus, .btn-warning:active.focus, .btn-warning.active.focus, .open > .dropdown-toggle.btn-warning.focus { color: #ffffff; background-color: #935b01; border-color: #513201; } .btn-warning:active, .btn-warning.active, .open > .dropdown-toggle.btn-warning { background-image: none; } .btn-warning.disabled, .btn-warning[disabled], fieldset[disabled] .btn-warning, .btn-warning.disabled:hover, .btn-warning[disabled]:hover, fieldset[disabled] .btn-warning:hover, .btn-warning.disabled:focus, .btn-warning[disabled]:focus, fieldset[disabled] .btn-warning:focus, .btn-warning.disabled.focus, .btn-warning[disabled].focus, fieldset[disabled] .btn-warning.focus, .btn-warning.disabled:active, .btn-warning[disabled]:active, fieldset[disabled] .btn-warning:active, .btn-warning.disabled.active, .btn-warning[disabled].active, fieldset[disabled] .btn-warning.active { background-color: #e99002; border-color: #d08002; } .btn-warning .badge { color: #e99002; background-color: #ffffff; } .btn-danger { color: #ffffff; background-color: #f04124; border-color: #ea2f10; } .btn-danger:focus, .btn-danger.focus { color: #ffffff; background-color: #d32a0e; border-color: #731708; } .btn-danger:hover { color: #ffffff; background-color: #d32a0e; border-color: #b1240c; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { color: #ffffff; background-color: #d32a0e; border-color: #b1240c; } .btn-danger:active:hover, .btn-danger.active:hover, .open > .dropdown-toggle.btn-danger:hover, .btn-danger:active:focus, .btn-danger.active:focus, .open > .dropdown-toggle.btn-danger:focus, .btn-danger:active.focus, .btn-danger.active.focus, .open > .dropdown-toggle.btn-danger.focus { color: #ffffff; background-color: #b1240c; border-color: #731708; } .btn-danger:active, .btn-danger.active, .open > .dropdown-toggle.btn-danger { background-image: none; } .btn-danger.disabled, .btn-danger[disabled], fieldset[disabled] .btn-danger, .btn-danger.disabled:hover, .btn-danger[disabled]:hover, fieldset[disabled] .btn-danger:hover, .btn-danger.disabled:focus, .btn-danger[disabled]:focus, fieldset[disabled] .btn-danger:focus, .btn-danger.disabled.focus, .btn-danger[disabled].focus, fieldset[disabled] .btn-danger.focus, .btn-danger.disabled:active, .btn-danger[disabled]:active, fieldset[disabled] .btn-danger:active, .btn-danger.disabled.active, .btn-danger[disabled].active, fieldset[disabled] .btn-danger.active { background-color: #f04124; border-color: #ea2f10; } .btn-danger .badge { color: #f04124; background-color: #ffffff; } .btn-link { color: #008cba; font-weight: normal; border-radius: 0; } .btn-link, .btn-link:active, .btn-link.active, .btn-link[disabled], fieldset[disabled] .btn-link { background-color: transparent; -webkit-box-shadow: none; box-shadow: none; } .btn-link, .btn-link:hover, .btn-link:focus, .btn-link:active { border-color: transparent; } .btn-link:hover, .btn-link:focus { color: #008cba; text-decoration: underline; background-color: transparent; } .btn-link[disabled]:hover, fieldset[disabled] .btn-link:hover, .btn-link[disabled]:focus, fieldset[disabled] .btn-link:focus { color: #999999; text-decoration: none; } .btn-lg, .btn-group-lg > .btn { padding: 16px 20px; font-size: 19px; line-height: 1.3333333; border-radius: 0; } .btn-sm, .btn-group-sm > .btn { padding: 8px 12px; font-size: 12px; line-height: 1.5; border-radius: 0; } .btn-xs, .btn-group-xs > .btn { padding: 4px 6px; font-size: 12px; line-height: 1.5; border-radius: 0; } .btn-block { display: block; width: 100%; } .btn-block + .btn-block { margin-top: 5px; } input[type="submit"].btn-block, input[type="reset"].btn-block, input[type="button"].btn-block { width: 100%; } .fade { opacity: 0; -webkit-transition: opacity 0.15s linear; -o-transition: opacity 0.15s linear; transition: opacity 0.15s linear; } .fade.in { opacity: 1; } .collapse { display: none; } .collapse.in { display: block; } tr.collapse.in { display: table-row; } tbody.collapse.in { display: table-row-group; } .collapsing { position: relative; height: 0; overflow: hidden; -webkit-transition-property: height, visibility; -o-transition-property: height, visibility; transition-property: height, visibility; -webkit-transition-duration: 0.35s; -o-transition-duration: 0.35s; transition-duration: 0.35s; -webkit-transition-timing-function: ease; -o-transition-timing-function: ease; transition-timing-function: ease; } .caret { display: inline-block; width: 0; height: 0; margin-left: 2px; vertical-align: middle; border-top: 4px dashed; border-top: 4px solid \9; border-right: 4px solid transparent; border-left: 4px solid transparent; } .dropup, .dropdown { position: relative; } .dropdown-toggle:focus { outline: 0; } .dropdown-menu { position: absolute; top: 100%; left: 0; z-index: 1000; display: none; float: left; min-width: 160px; padding: 5px 0; margin: 2px 0 0; list-style: none; font-size: 15px; text-align: left; background-color: #ffffff; border: 1px solid #cccccc; border: 1px solid rgba(0, 0, 0, 0.15); border-radius: 0; -webkit-box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); box-shadow: 0 6px 12px rgba(0, 0, 0, 0.175); -webkit-background-clip: padding-box; background-clip: padding-box; } .dropdown-menu.pull-right { right: 0; left: auto; } .dropdown-menu .divider { height: 1px; margin: 9.5px 0; overflow: hidden; background-color: rgba(0, 0, 0, 0.2); } .dropdown-menu > li > a { display: block; padding: 3px 20px; clear: both; font-weight: normal; line-height: 1.4; color: #555555; white-space: nowrap; } .dropdown-menu > li > a:hover, .dropdown-menu > li > a:focus { text-decoration: none; color: #262626; background-color: #eeeeee; } .dropdown-menu > .active > a, .dropdown-menu > .active > a:hover, .dropdown-menu > .active > a:focus { color: #ffffff; text-decoration: none; outline: 0; background-color: #008cba; } .dropdown-menu > .disabled > a, .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { color: #999999; } .dropdown-menu > .disabled > a:hover, .dropdown-menu > .disabled > a:focus { text-decoration: none; background-color: transparent; background-image: none; filter: progid:DXImageTransform.Microsoft.gradient(enabled = false); cursor: not-allowed; } .open > .dropdown-menu { display: block; } .open > a { outline: 0; } .dropdown-menu-right { left: auto; right: 0; } .dropdown-menu-left { left: 0; right: auto; } .dropdown-header { display: block; padding: 3px 20px; font-size: 12px; line-height: 1.4; color: #999999; white-space: nowrap; } .dropdown-backdrop { position: fixed; left: 0; right: 0; bottom: 0; top: 0; z-index: 990; } .pull-right > .dropdown-menu { right: 0; left: auto; } .dropup .caret, .navbar-fixed-bottom .dropdown .caret { border-top: 0; border-bottom: 4px dashed; border-bottom: 4px solid \9; content: ""; } .dropup .dropdown-menu, .navbar-fixed-bottom .dropdown .dropdown-menu { top: auto; bottom: 100%; margin-bottom: 2px; } @media (min-width: 768px) { .navbar-right .dropdown-menu { left: auto; right: 0; } .navbar-right .dropdown-menu-left { left: 0; right: auto; } } .btn-group, .btn-group-vertical { position: relative; display: inline-block; vertical-align: middle; } .btn-group > .btn, .btn-group-vertical > .btn { position: relative; float: left; } .btn-group > .btn:hover, .btn-group-vertical > .btn:hover, .btn-group > .btn:focus, .btn-group-vertical > .btn:focus, .btn-group > .btn:active, .btn-group-vertical > .btn:active, .btn-group > .btn.active, .btn-group-vertical > .btn.active { z-index: 2; } .btn-group .btn + .btn, .btn-group .btn + .btn-group, .btn-group .btn-group + .btn, .btn-group .btn-group + .btn-group { margin-left: -1px; } .btn-toolbar { margin-left: -5px; } .btn-toolbar .btn, .btn-toolbar .btn-group, .btn-toolbar .input-group { float: left; } .btn-toolbar > .btn, .btn-toolbar > .btn-group, .btn-toolbar > .input-group { margin-left: 5px; } .btn-group > .btn:not(:first-child):not(:last-child):not(.dropdown-toggle) { border-radius: 0; } .btn-group > .btn:first-child { margin-left: 0; } .btn-group > .btn:first-child:not(:last-child):not(.dropdown-toggle) { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn:last-child:not(:first-child), .btn-group > .dropdown-toggle:not(:first-child) { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group > .btn-group { float: left; } .btn-group > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-top-right-radius: 0; } .btn-group > .btn-group:last-child:not(:first-child) > .btn:first-child { border-bottom-left-radius: 0; border-top-left-radius: 0; } .btn-group .dropdown-toggle:active, .btn-group.open .dropdown-toggle { outline: 0; } .btn-group > .btn + .dropdown-toggle { padding-left: 8px; padding-right: 8px; } .btn-group > .btn-lg + .dropdown-toggle { padding-left: 12px; padding-right: 12px; } .btn-group.open .dropdown-toggle { -webkit-box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); box-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125); } .btn-group.open .dropdown-toggle.btn-link { -webkit-box-shadow: none; box-shadow: none; } .btn .caret { margin-left: 0; } .btn-lg .caret { border-width: 5px 5px 0; border-bottom-width: 0; } .dropup .btn-lg .caret { border-width: 0 5px 5px; } .btn-group-vertical > .btn, .btn-group-vertical > .btn-group, .btn-group-vertical > .btn-group > .btn { display: block; float: none; width: 100%; max-width: 100%; } .btn-group-vertical > .btn-group > .btn { float: none; } .btn-group-vertical > .btn + .btn, .btn-group-vertical > .btn + .btn-group, .btn-group-vertical > .btn-group + .btn, .btn-group-vertical > .btn-group + .btn-group { margin-top: -1px; margin-left: 0; } .btn-group-vertical > .btn:not(:first-child):not(:last-child) { border-radius: 0; } .btn-group-vertical > .btn:first-child:not(:last-child) { border-top-right-radius: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn:last-child:not(:first-child) { border-bottom-left-radius: 0; border-top-right-radius: 0; border-top-left-radius: 0; } .btn-group-vertical > .btn-group:not(:first-child):not(:last-child) > .btn { border-radius: 0; } .btn-group-vertical > .btn-group:first-child:not(:last-child) > .btn:last-child, .btn-group-vertical > .btn-group:first-child:not(:last-child) > .dropdown-toggle { border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .btn-group-vertical > .btn-group:last-child:not(:first-child) > .btn:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .btn-group-justified { display: table; width: 100%; table-layout: fixed; border-collapse: separate; } .btn-group-justified > .btn, .btn-group-justified > .btn-group { float: none; display: table-cell; width: 1%; } .btn-group-justified > .btn-group .btn { width: 100%; } .btn-group-justified > .btn-group .dropdown-menu { left: auto; } [data-toggle="buttons"] > .btn input[type="radio"], [data-toggle="buttons"] > .btn-group > .btn input[type="radio"], [data-toggle="buttons"] > .btn input[type="checkbox"], [data-toggle="buttons"] > .btn-group > .btn input[type="checkbox"] { position: absolute; clip: rect(0, 0, 0, 0); pointer-events: none; } .input-group { position: relative; display: table; border-collapse: separate; } .input-group[class*="col-"] { float: none; padding-left: 0; padding-right: 0; } .input-group .form-control { position: relative; z-index: 2; float: left; width: 100%; margin-bottom: 0; } .input-group-lg > .form-control, .input-group-lg > .input-group-addon, .input-group-lg > .input-group-btn > .btn { height: 60px; padding: 16px 20px; font-size: 19px; line-height: 1.3333333; border-radius: 0; } select.input-group-lg > .form-control, select.input-group-lg > .input-group-addon, select.input-group-lg > .input-group-btn > .btn { height: 60px; line-height: 60px; } textarea.input-group-lg > .form-control, textarea.input-group-lg > .input-group-addon, textarea.input-group-lg > .input-group-btn > .btn, select[multiple].input-group-lg > .form-control, select[multiple].input-group-lg > .input-group-addon, select[multiple].input-group-lg > .input-group-btn > .btn { height: auto; } .input-group-sm > .form-control, .input-group-sm > .input-group-addon, .input-group-sm > .input-group-btn > .btn { height: 36px; padding: 8px 12px; font-size: 12px; line-height: 1.5; border-radius: 0; } select.input-group-sm > .form-control, select.input-group-sm > .input-group-addon, select.input-group-sm > .input-group-btn > .btn { height: 36px; line-height: 36px; } textarea.input-group-sm > .form-control, textarea.input-group-sm > .input-group-addon, textarea.input-group-sm > .input-group-btn > .btn, select[multiple].input-group-sm > .form-control, select[multiple].input-group-sm > .input-group-addon, select[multiple].input-group-sm > .input-group-btn > .btn { height: auto; } .input-group-addon, .input-group-btn, .input-group .form-control { display: table-cell; } .input-group-addon:not(:first-child):not(:last-child), .input-group-btn:not(:first-child):not(:last-child), .input-group .form-control:not(:first-child):not(:last-child) { border-radius: 0; } .input-group-addon, .input-group-btn { width: 1%; white-space: nowrap; vertical-align: middle; } .input-group-addon { padding: 8px 12px; font-size: 15px; font-weight: normal; line-height: 1; color: #6f6f6f; text-align: center; background-color: #eeeeee; border: 1px solid #cccccc; border-radius: 0; } .input-group-addon.input-sm { padding: 8px 12px; font-size: 12px; border-radius: 0; } .input-group-addon.input-lg { padding: 16px 20px; font-size: 19px; border-radius: 0; } .input-group-addon input[type="radio"], .input-group-addon input[type="checkbox"] { margin-top: 0; } .input-group .form-control:first-child, .input-group-addon:first-child, .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group > .btn, .input-group-btn:first-child > .dropdown-toggle, .input-group-btn:last-child > .btn:not(:last-child):not(.dropdown-toggle), .input-group-btn:last-child > .btn-group:not(:last-child) > .btn { border-bottom-right-radius: 0; border-top-right-radius: 0; } .input-group-addon:first-child { border-right: 0; } .input-group .form-control:last-child, .input-group-addon:last-child, .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group > .btn, .input-group-btn:last-child > .dropdown-toggle, .input-group-btn:first-child > .btn:not(:first-child), .input-group-btn:first-child > .btn-group:not(:first-child) > .btn { border-bottom-left-radius: 0; border-top-left-radius: 0; } .input-group-addon:last-child { border-left: 0; } .input-group-btn { position: relative; font-size: 0; white-space: nowrap; } .input-group-btn > .btn { position: relative; } .input-group-btn > .btn + .btn { margin-left: -1px; } .input-group-btn > .btn:hover, .input-group-btn > .btn:focus, .input-group-btn > .btn:active { z-index: 2; } .input-group-btn:first-child > .btn, .input-group-btn:first-child > .btn-group { margin-right: -1px; } .input-group-btn:last-child > .btn, .input-group-btn:last-child > .btn-group { z-index: 2; margin-left: -1px; } .nav { margin-bottom: 0; padding-left: 0; list-style: none; } .nav > li { position: relative; display: block; } .nav > li > a { position: relative; display: block; padding: 10px 15px; } .nav > li > a:hover, .nav > li > a:focus { text-decoration: none; background-color: #eeeeee; } .nav > li.disabled > a { color: #999999; } .nav > li.disabled > a:hover, .nav > li.disabled > a:focus { color: #999999; text-decoration: none; background-color: transparent; cursor: not-allowed; } .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { background-color: #eeeeee; border-color: #008cba; } .nav .nav-divider { height: 1px; margin: 9.5px 0; overflow: hidden; background-color: #e5e5e5; } .nav > li > a > img { max-width: none; } .nav-tabs { border-bottom: 1px solid #dddddd; } .nav-tabs > li { float: left; margin-bottom: -1px; } .nav-tabs > li > a { margin-right: 2px; line-height: 1.4; border: 1px solid transparent; border-radius: 0 0 0 0; } .nav-tabs > li > a:hover { border-color: #eeeeee #eeeeee #dddddd; } .nav-tabs > li.active > a, .nav-tabs > li.active > a:hover, .nav-tabs > li.active > a:focus { color: #6f6f6f; background-color: #ffffff; border: 1px solid #dddddd; border-bottom-color: transparent; cursor: default; } .nav-tabs.nav-justified { width: 100%; border-bottom: 0; } .nav-tabs.nav-justified > li { float: none; } .nav-tabs.nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-tabs.nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-tabs.nav-justified > li { display: table-cell; width: 1%; } .nav-tabs.nav-justified > li > a { margin-bottom: 0; } } .nav-tabs.nav-justified > li > a { margin-right: 0; border-radius: 0; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs.nav-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 0 0 0 0; } .nav-tabs.nav-justified > .active > a, .nav-tabs.nav-justified > .active > a:hover, .nav-tabs.nav-justified > .active > a:focus { border-bottom-color: #ffffff; } } .nav-pills > li { float: left; } .nav-pills > li > a { border-radius: 0; } .nav-pills > li + li { margin-left: 2px; } .nav-pills > li.active > a, .nav-pills > li.active > a:hover, .nav-pills > li.active > a:focus { color: #ffffff; background-color: #008cba; } .nav-stacked > li { float: none; } .nav-stacked > li + li { margin-top: 2px; margin-left: 0; } .nav-justified { width: 100%; } .nav-justified > li { float: none; } .nav-justified > li > a { text-align: center; margin-bottom: 5px; } .nav-justified > .dropdown .dropdown-menu { top: auto; left: auto; } @media (min-width: 768px) { .nav-justified > li { display: table-cell; width: 1%; } .nav-justified > li > a { margin-bottom: 0; } } .nav-tabs-justified { border-bottom: 0; } .nav-tabs-justified > li > a { margin-right: 0; border-radius: 0; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border: 1px solid #dddddd; } @media (min-width: 768px) { .nav-tabs-justified > li > a { border-bottom: 1px solid #dddddd; border-radius: 0 0 0 0; } .nav-tabs-justified > .active > a, .nav-tabs-justified > .active > a:hover, .nav-tabs-justified > .active > a:focus { border-bottom-color: #ffffff; } } .tab-content > .tab-pane { display: none; } .tab-content > .active { display: block; } .nav-tabs .dropdown-menu { margin-top: -1px; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar { position: relative; min-height: 45px; margin-bottom: 21px; border: 1px solid transparent; } @media (min-width: 768px) { .navbar { border-radius: 0; } } @media (min-width: 768px) { .navbar-header { float: left; } } .navbar-collapse { overflow-x: visible; padding-right: 15px; padding-left: 15px; border-top: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1); -webkit-overflow-scrolling: touch; } .navbar-collapse.in { overflow-y: auto; } @media (min-width: 768px) { .navbar-collapse { width: auto; border-top: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-collapse.collapse { display: block !important; height: auto !important; padding-bottom: 0; overflow: visible !important; } .navbar-collapse.in { overflow-y: visible; } .navbar-fixed-top .navbar-collapse, .navbar-static-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { padding-left: 0; padding-right: 0; } } .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 340px; } @media (max-device-width: 480px) and (orientation: landscape) { .navbar-fixed-top .navbar-collapse, .navbar-fixed-bottom .navbar-collapse { max-height: 200px; } } .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: -15px; margin-left: -15px; } @media (min-width: 768px) { .container > .navbar-header, .container-fluid > .navbar-header, .container > .navbar-collapse, .container-fluid > .navbar-collapse { margin-right: 0; margin-left: 0; } } .navbar-static-top { z-index: 1000; border-width: 0 0 1px; } @media (min-width: 768px) { .navbar-static-top { border-radius: 0; } } .navbar-fixed-top, .navbar-fixed-bottom { position: fixed; right: 0; left: 0; z-index: 1030; } @media (min-width: 768px) { .navbar-fixed-top, .navbar-fixed-bottom { border-radius: 0; } } .navbar-fixed-top { top: 0; border-width: 0 0 1px; } .navbar-fixed-bottom { bottom: 0; margin-bottom: 0; border-width: 1px 0 0; } .navbar-brand { float: left; padding: 12px 15px; font-size: 19px; line-height: 21px; height: 45px; } .navbar-brand:hover, .navbar-brand:focus { text-decoration: none; } .navbar-brand > img { display: block; } @media (min-width: 768px) { .navbar > .container .navbar-brand, .navbar > .container-fluid .navbar-brand { margin-left: -15px; } } .navbar-toggle { position: relative; float: right; margin-right: 15px; padding: 9px 10px; margin-top: 5.5px; margin-bottom: 5.5px; background-color: transparent; background-image: none; border: 1px solid transparent; border-radius: 0; } .navbar-toggle:focus { outline: 0; } .navbar-toggle .icon-bar { display: block; width: 22px; height: 2px; border-radius: 1px; } .navbar-toggle .icon-bar + .icon-bar { margin-top: 4px; } @media (min-width: 768px) { .navbar-toggle { display: none; } } .navbar-nav { margin: 6px -15px; } .navbar-nav > li > a { padding-top: 10px; padding-bottom: 10px; line-height: 21px; } @media (max-width: 767px) { .navbar-nav .open .dropdown-menu { position: static; float: none; width: auto; margin-top: 0; background-color: transparent; border: 0; -webkit-box-shadow: none; box-shadow: none; } .navbar-nav .open .dropdown-menu > li > a, .navbar-nav .open .dropdown-menu .dropdown-header { padding: 5px 15px 5px 25px; } .navbar-nav .open .dropdown-menu > li > a { line-height: 21px; } .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-nav .open .dropdown-menu > li > a:focus { background-image: none; } } @media (min-width: 768px) { .navbar-nav { float: left; margin: 0; } .navbar-nav > li { float: left; } .navbar-nav > li > a { padding-top: 12px; padding-bottom: 12px; } } .navbar-form { margin-left: -15px; margin-right: -15px; padding: 10px 15px; border-top: 1px solid transparent; border-bottom: 1px solid transparent; -webkit-box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), 0 1px 0 rgba(255, 255, 255, 0.1); margin-top: 3px; margin-bottom: 3px; } @media (min-width: 768px) { .navbar-form .form-group { display: inline-block; margin-bottom: 0; vertical-align: middle; } .navbar-form .form-control { display: inline-block; width: auto; vertical-align: middle; } .navbar-form .form-control-static { display: inline-block; } .navbar-form .input-group { display: inline-table; vertical-align: middle; } .navbar-form .input-group .input-group-addon, .navbar-form .input-group .input-group-btn, .navbar-form .input-group .form-control { width: auto; } .navbar-form .input-group > .form-control { width: 100%; } .navbar-form .control-label { margin-bottom: 0; vertical-align: middle; } .navbar-form .radio, .navbar-form .checkbox { display: inline-block; margin-top: 0; margin-bottom: 0; vertical-align: middle; } .navbar-form .radio label, .navbar-form .checkbox label { padding-left: 0; } .navbar-form .radio input[type="radio"], .navbar-form .checkbox input[type="checkbox"] { position: relative; margin-left: 0; } .navbar-form .has-feedback .form-control-feedback { top: 0; } } @media (max-width: 767px) { .navbar-form .form-group { margin-bottom: 5px; } .navbar-form .form-group:last-child { margin-bottom: 0; } } @media (min-width: 768px) { .navbar-form { width: auto; border: 0; margin-left: 0; margin-right: 0; padding-top: 0; padding-bottom: 0; -webkit-box-shadow: none; box-shadow: none; } } .navbar-nav > li > .dropdown-menu { margin-top: 0; border-top-right-radius: 0; border-top-left-radius: 0; } .navbar-fixed-bottom .navbar-nav > li > .dropdown-menu { margin-bottom: 0; border-top-right-radius: 0; border-top-left-radius: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } .navbar-btn { margin-top: 3px; margin-bottom: 3px; } .navbar-btn.btn-sm { margin-top: 4.5px; margin-bottom: 4.5px; } .navbar-btn.btn-xs { margin-top: 11.5px; margin-bottom: 11.5px; } .navbar-text { margin-top: 12px; margin-bottom: 12px; } @media (min-width: 768px) { .navbar-text { float: left; margin-left: 15px; margin-right: 15px; } } @media (min-width: 768px) { .navbar-left { float: left !important; } .navbar-right { float: right !important; margin-right: -15px; } .navbar-right ~ .navbar-right { margin-right: 0; } } .navbar-default { background-color: #333333; border-color: #222222; } .navbar-default .navbar-brand { color: #ffffff; } .navbar-default .navbar-brand:hover, .navbar-default .navbar-brand:focus { color: #ffffff; background-color: transparent; } .navbar-default .navbar-text { color: #ffffff; } .navbar-default .navbar-nav > li > a { color: #ffffff; } .navbar-default .navbar-nav > li > a:hover, .navbar-default .navbar-nav > li > a:focus { color: #ffffff; background-color: #272727; } .navbar-default .navbar-nav > .active > a, .navbar-default .navbar-nav > .active > a:hover, .navbar-default .navbar-nav > .active > a:focus { color: #ffffff; background-color: #272727; } .navbar-default .navbar-nav > .disabled > a, .navbar-default .navbar-nav > .disabled > a:hover, .navbar-default .navbar-nav > .disabled > a:focus { color: #cccccc; background-color: transparent; } .navbar-default .navbar-toggle { border-color: transparent; } .navbar-default .navbar-toggle:hover, .navbar-default .navbar-toggle:focus { background-color: transparent; } .navbar-default .navbar-toggle .icon-bar { background-color: #ffffff; } .navbar-default .navbar-collapse, .navbar-default .navbar-form { border-color: #222222; } .navbar-default .navbar-nav > .open > a, .navbar-default .navbar-nav > .open > a:hover, .navbar-default .navbar-nav > .open > a:focus { background-color: #272727; color: #ffffff; } @media (max-width: 767px) { .navbar-default .navbar-nav .open .dropdown-menu > li > a { color: #ffffff; } .navbar-default .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > li > a:focus { color: #ffffff; background-color: #272727; } .navbar-default .navbar-nav .open .dropdown-menu > .active > a, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .active > a:focus { color: #ffffff; background-color: #272727; } .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-default .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #cccccc; background-color: transparent; } } .navbar-default .navbar-link { color: #ffffff; } .navbar-default .navbar-link:hover { color: #ffffff; } .navbar-default .btn-link { color: #ffffff; } .navbar-default .btn-link:hover, .navbar-default .btn-link:focus { color: #ffffff; } .navbar-default .btn-link[disabled]:hover, fieldset[disabled] .navbar-default .btn-link:hover, .navbar-default .btn-link[disabled]:focus, fieldset[disabled] .navbar-default .btn-link:focus { color: #cccccc; } .navbar-inverse { background-color: #008cba; border-color: #006687; } .navbar-inverse .navbar-brand { color: #ffffff; } .navbar-inverse .navbar-brand:hover, .navbar-inverse .navbar-brand:focus { color: #ffffff; background-color: transparent; } .navbar-inverse .navbar-text { color: #ffffff; } .navbar-inverse .navbar-nav > li > a { color: #ffffff; } .navbar-inverse .navbar-nav > li > a:hover, .navbar-inverse .navbar-nav > li > a:focus { color: #ffffff; background-color: #006687; } .navbar-inverse .navbar-nav > .active > a, .navbar-inverse .navbar-nav > .active > a:hover, .navbar-inverse .navbar-nav > .active > a:focus { color: #ffffff; background-color: #006687; } .navbar-inverse .navbar-nav > .disabled > a, .navbar-inverse .navbar-nav > .disabled > a:hover, .navbar-inverse .navbar-nav > .disabled > a:focus { color: #444444; background-color: transparent; } .navbar-inverse .navbar-toggle { border-color: transparent; } .navbar-inverse .navbar-toggle:hover, .navbar-inverse .navbar-toggle:focus { background-color: transparent; } .navbar-inverse .navbar-toggle .icon-bar { background-color: #ffffff; } .navbar-inverse .navbar-collapse, .navbar-inverse .navbar-form { border-color: #007196; } .navbar-inverse .navbar-nav > .open > a, .navbar-inverse .navbar-nav > .open > a:hover, .navbar-inverse .navbar-nav > .open > a:focus { background-color: #006687; color: #ffffff; } @media (max-width: 767px) { .navbar-inverse .navbar-nav .open .dropdown-menu > .dropdown-header { border-color: #006687; } .navbar-inverse .navbar-nav .open .dropdown-menu .divider { background-color: #006687; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a { color: #ffffff; } .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > li > a:focus { color: #ffffff; background-color: #006687; } .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .active > a:focus { color: #ffffff; background-color: #006687; } .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:hover, .navbar-inverse .navbar-nav .open .dropdown-menu > .disabled > a:focus { color: #444444; background-color: transparent; } } .navbar-inverse .navbar-link { color: #ffffff; } .navbar-inverse .navbar-link:hover { color: #ffffff; } .navbar-inverse .btn-link { color: #ffffff; } .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link:focus { color: #ffffff; } .navbar-inverse .btn-link[disabled]:hover, fieldset[disabled] .navbar-inverse .btn-link:hover, .navbar-inverse .btn-link[disabled]:focus, fieldset[disabled] .navbar-inverse .btn-link:focus { color: #444444; } .breadcrumb { padding: 8px 15px; margin-bottom: 21px; list-style: none; background-color: #f5f5f5; border-radius: 0; } .breadcrumb > li { display: inline-block; } .breadcrumb > li + li:before { content: "/\00a0"; padding: 0 5px; color: #999999; } .breadcrumb > .active { color: #333333; } .pagination { display: inline-block; padding-left: 0; margin: 21px 0; border-radius: 0; } .pagination > li { display: inline; } .pagination > li > a, .pagination > li > span { position: relative; float: left; padding: 8px 12px; line-height: 1.4; text-decoration: none; color: #008cba; background-color: transparent; border: 1px solid transparent; margin-left: -1px; } .pagination > li:first-child > a, .pagination > li:first-child > span { margin-left: 0; border-bottom-left-radius: 0; border-top-left-radius: 0; } .pagination > li:last-child > a, .pagination > li:last-child > span { border-bottom-right-radius: 0; border-top-right-radius: 0; } .pagination > li > a:hover, .pagination > li > span:hover, .pagination > li > a:focus, .pagination > li > span:focus { z-index: 3; color: #008cba; background-color: #eeeeee; border-color: transparent; } .pagination > .active > a, .pagination > .active > span, .pagination > .active > a:hover, .pagination > .active > span:hover, .pagination > .active > a:focus, .pagination > .active > span:focus { z-index: 2; color: #ffffff; background-color: #008cba; border-color: transparent; cursor: default; } .pagination > .disabled > span, .pagination > .disabled > span:hover, .pagination > .disabled > span:focus, .pagination > .disabled > a, .pagination > .disabled > a:hover, .pagination > .disabled > a:focus { color: #999999; background-color: #ffffff; border-color: transparent; cursor: not-allowed; } .pagination-lg > li > a, .pagination-lg > li > span { padding: 16px 20px; font-size: 19px; line-height: 1.3333333; } .pagination-lg > li:first-child > a, .pagination-lg > li:first-child > span { border-bottom-left-radius: 0; border-top-left-radius: 0; } .pagination-lg > li:last-child > a, .pagination-lg > li:last-child > span { border-bottom-right-radius: 0; border-top-right-radius: 0; } .pagination-sm > li > a, .pagination-sm > li > span { padding: 8px 12px; font-size: 12px; line-height: 1.5; } .pagination-sm > li:first-child > a, .pagination-sm > li:first-child > span { border-bottom-left-radius: 0; border-top-left-radius: 0; } .pagination-sm > li:last-child > a, .pagination-sm > li:last-child > span { border-bottom-right-radius: 0; border-top-right-radius: 0; } .pager { padding-left: 0; margin: 21px 0; list-style: none; text-align: center; } .pager li { display: inline; } .pager li > a, .pager li > span { display: inline-block; padding: 5px 14px; background-color: transparent; border: 1px solid transparent; border-radius: 3px; } .pager li > a:hover, .pager li > a:focus { text-decoration: none; background-color: #eeeeee; } .pager .next > a, .pager .next > span { float: right; } .pager .previous > a, .pager .previous > span { float: left; } .pager .disabled > a, .pager .disabled > a:hover, .pager .disabled > a:focus, .pager .disabled > span { color: #999999; background-color: transparent; cursor: not-allowed; } .label { display: inline; padding: .2em .6em .3em; font-size: 75%; font-weight: bold; line-height: 1; color: #ffffff; text-align: center; white-space: nowrap; vertical-align: baseline; border-radius: .25em; } a.label:hover, a.label:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .label:empty { display: none; } .btn .label { position: relative; top: -1px; } .label-default { background-color: #999999; } .label-default[href]:hover, .label-default[href]:focus { background-color: #808080; } .label-primary { background-color: #008cba; } .label-primary[href]:hover, .label-primary[href]:focus { background-color: #006687; } .label-success { background-color: #43ac6a; } .label-success[href]:hover, .label-success[href]:focus { background-color: #358753; } .label-info { background-color: #5bc0de; } .label-info[href]:hover, .label-info[href]:focus { background-color: #31b0d5; } .label-warning { background-color: #e99002; } .label-warning[href]:hover, .label-warning[href]:focus { background-color: #b67102; } .label-danger { background-color: #f04124; } .label-danger[href]:hover, .label-danger[href]:focus { background-color: #d32a0e; } .badge { display: inline-block; min-width: 10px; padding: 3px 7px; font-size: 12px; font-weight: bold; color: #ffffff; line-height: 1; vertical-align: middle; white-space: nowrap; text-align: center; background-color: #008cba; border-radius: 10px; } .badge:empty { display: none; } .btn .badge { position: relative; top: -1px; } .btn-xs .badge, .btn-group-xs > .btn .badge { top: 0; padding: 1px 5px; } a.badge:hover, a.badge:focus { color: #ffffff; text-decoration: none; cursor: pointer; } .list-group-item.active > .badge, .nav-pills > .active > a > .badge { color: #008cba; background-color: #ffffff; } .list-group-item > .badge { float: right; } .list-group-item > .badge + .badge { margin-right: 5px; } .nav-pills > li > a > .badge { margin-left: 3px; } .jumbotron { padding-top: 30px; padding-bottom: 30px; margin-bottom: 30px; color: inherit; background-color: #fafafa; } .jumbotron h1, .jumbotron .h1 { color: inherit; } .jumbotron p { margin-bottom: 15px; font-size: 23px; font-weight: 200; } .jumbotron > hr { border-top-color: #e1e1e1; } .container .jumbotron, .container-fluid .jumbotron { border-radius: 0; } .jumbotron .container { max-width: 100%; } @media screen and (min-width: 768px) { .jumbotron { padding-top: 48px; padding-bottom: 48px; } .container .jumbotron, .container-fluid .jumbotron { padding-left: 60px; padding-right: 60px; } .jumbotron h1, .jumbotron .h1 { font-size: 68px; } } .thumbnail { display: block; padding: 4px; margin-bottom: 21px; line-height: 1.4; background-color: #ffffff; border: 1px solid #dddddd; border-radius: 0; -webkit-transition: border 0.2s ease-in-out; -o-transition: border 0.2s ease-in-out; transition: border 0.2s ease-in-out; } .thumbnail > img, .thumbnail a > img { margin-left: auto; margin-right: auto; } a.thumbnail:hover, a.thumbnail:focus, a.thumbnail.active { border-color: #008cba; } .thumbnail .caption { padding: 9px; color: #222222; } .alert { padding: 15px; margin-bottom: 21px; border: 1px solid transparent; border-radius: 0; } .alert h4 { margin-top: 0; color: inherit; } .alert .alert-link { font-weight: bold; } .alert > p, .alert > ul { margin-bottom: 0; } .alert > p + p { margin-top: 5px; } .alert-dismissable, .alert-dismissible { padding-right: 35px; } .alert-dismissable .close, .alert-dismissible .close { position: relative; top: -2px; right: -21px; color: inherit; } .alert-success { background-color: #43ac6a; border-color: #3c9a5f; color: #ffffff; } .alert-success hr { border-top-color: #358753; } .alert-success .alert-link { color: #e6e6e6; } .alert-info { background-color: #5bc0de; border-color: #3db5d8; color: #ffffff; } .alert-info hr { border-top-color: #2aabd2; } .alert-info .alert-link { color: #e6e6e6; } .alert-warning { background-color: #e99002; border-color: #d08002; color: #ffffff; } .alert-warning hr { border-top-color: #b67102; } .alert-warning .alert-link { color: #e6e6e6; } .alert-danger { background-color: #f04124; border-color: #ea2f10; color: #ffffff; } .alert-danger hr { border-top-color: #d32a0e; } .alert-danger .alert-link { color: #e6e6e6; } @-webkit-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @-o-keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } @keyframes progress-bar-stripes { from { background-position: 40px 0; } to { background-position: 0 0; } } .progress { overflow: hidden; height: 21px; margin-bottom: 21px; background-color: #f5f5f5; border-radius: 0; -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.1); } .progress-bar { float: left; width: 0%; height: 100%; font-size: 12px; line-height: 21px; color: #ffffff; text-align: center; background-color: #008cba; -webkit-box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.15); -webkit-transition: width 0.6s ease; -o-transition: width 0.6s ease; transition: width 0.6s ease; } .progress-striped .progress-bar, .progress-bar-striped { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); -webkit-background-size: 40px 40px; background-size: 40px 40px; } .progress.active .progress-bar, .progress-bar.active { -webkit-animation: progress-bar-stripes 2s linear infinite; -o-animation: progress-bar-stripes 2s linear infinite; animation: progress-bar-stripes 2s linear infinite; } .progress-bar-success { background-color: #43ac6a; } .progress-striped .progress-bar-success { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-info { background-color: #5bc0de; } .progress-striped .progress-bar-info { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-warning { background-color: #e99002; } .progress-striped .progress-bar-warning { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .progress-bar-danger { background-color: #f04124; } .progress-striped .progress-bar-danger { background-image: -webkit-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: -o-linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); background-image: linear-gradient(45deg, rgba(255, 255, 255, 0.15) 25%, transparent 25%, transparent 50%, rgba(255, 255, 255, 0.15) 50%, rgba(255, 255, 255, 0.15) 75%, transparent 75%, transparent); } .media { margin-top: 15px; } .media:first-child { margin-top: 0; } .media, .media-body { zoom: 1; overflow: hidden; } .media-body { width: 10000px; } .media-object { display: block; } .media-object.img-thumbnail { max-width: none; } .media-right, .media > .pull-right { padding-left: 10px; } .media-left, .media > .pull-left { padding-right: 10px; } .media-left, .media-right, .media-body { display: table-cell; vertical-align: top; } .media-middle { vertical-align: middle; } .media-bottom { vertical-align: bottom; } .media-heading { margin-top: 0; margin-bottom: 5px; } .media-list { padding-left: 0; list-style: none; } .list-group { margin-bottom: 20px; padding-left: 0; } .list-group-item { position: relative; display: block; padding: 10px 15px; margin-bottom: -1px; background-color: #ffffff; border: 1px solid #dddddd; } .list-group-item:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .list-group-item:last-child { margin-bottom: 0; border-bottom-right-radius: 0; border-bottom-left-radius: 0; } a.list-group-item, button.list-group-item { color: #555555; } a.list-group-item .list-group-item-heading, button.list-group-item .list-group-item-heading { color: #333333; } a.list-group-item:hover, button.list-group-item:hover, a.list-group-item:focus, button.list-group-item:focus { text-decoration: none; color: #555555; background-color: #f5f5f5; } button.list-group-item { width: 100%; text-align: left; } .list-group-item.disabled, .list-group-item.disabled:hover, .list-group-item.disabled:focus { background-color: #eeeeee; color: #999999; cursor: not-allowed; } .list-group-item.disabled .list-group-item-heading, .list-group-item.disabled:hover .list-group-item-heading, .list-group-item.disabled:focus .list-group-item-heading { color: inherit; } .list-group-item.disabled .list-group-item-text, .list-group-item.disabled:hover .list-group-item-text, .list-group-item.disabled:focus .list-group-item-text { color: #999999; } .list-group-item.active, .list-group-item.active:hover, .list-group-item.active:focus { z-index: 2; color: #ffffff; background-color: #008cba; border-color: #008cba; } .list-group-item.active .list-group-item-heading, .list-group-item.active:hover .list-group-item-heading, .list-group-item.active:focus .list-group-item-heading, .list-group-item.active .list-group-item-heading > small, .list-group-item.active:hover .list-group-item-heading > small, .list-group-item.active:focus .list-group-item-heading > small, .list-group-item.active .list-group-item-heading > .small, .list-group-item.active:hover .list-group-item-heading > .small, .list-group-item.active:focus .list-group-item-heading > .small { color: inherit; } .list-group-item.active .list-group-item-text, .list-group-item.active:hover .list-group-item-text, .list-group-item.active:focus .list-group-item-text { color: #87e1ff; } .list-group-item-success { color: #43ac6a; background-color: #dff0d8; } a.list-group-item-success, button.list-group-item-success { color: #43ac6a; } a.list-group-item-success .list-group-item-heading, button.list-group-item-success .list-group-item-heading { color: inherit; } a.list-group-item-success:hover, button.list-group-item-success:hover, a.list-group-item-success:focus, button.list-group-item-success:focus { color: #43ac6a; background-color: #d0e9c6; } a.list-group-item-success.active, button.list-group-item-success.active, a.list-group-item-success.active:hover, button.list-group-item-success.active:hover, a.list-group-item-success.active:focus, button.list-group-item-success.active:focus { color: #fff; background-color: #43ac6a; border-color: #43ac6a; } .list-group-item-info { color: #5bc0de; background-color: #d9edf7; } a.list-group-item-info, button.list-group-item-info { color: #5bc0de; } a.list-group-item-info .list-group-item-heading, button.list-group-item-info .list-group-item-heading { color: inherit; } a.list-group-item-info:hover, button.list-group-item-info:hover, a.list-group-item-info:focus, button.list-group-item-info:focus { color: #5bc0de; background-color: #c4e3f3; } a.list-group-item-info.active, button.list-group-item-info.active, a.list-group-item-info.active:hover, button.list-group-item-info.active:hover, a.list-group-item-info.active:focus, button.list-group-item-info.active:focus { color: #fff; background-color: #5bc0de; border-color: #5bc0de; } .list-group-item-warning { color: #e99002; background-color: #fcf8e3; } a.list-group-item-warning, button.list-group-item-warning { color: #e99002; } a.list-group-item-warning .list-group-item-heading, button.list-group-item-warning .list-group-item-heading { color: inherit; } a.list-group-item-warning:hover, button.list-group-item-warning:hover, a.list-group-item-warning:focus, button.list-group-item-warning:focus { color: #e99002; background-color: #faf2cc; } a.list-group-item-warning.active, button.list-group-item-warning.active, a.list-group-item-warning.active:hover, button.list-group-item-warning.active:hover, a.list-group-item-warning.active:focus, button.list-group-item-warning.active:focus { color: #fff; background-color: #e99002; border-color: #e99002; } .list-group-item-danger { color: #f04124; background-color: #f2dede; } a.list-group-item-danger, button.list-group-item-danger { color: #f04124; } a.list-group-item-danger .list-group-item-heading, button.list-group-item-danger .list-group-item-heading { color: inherit; } a.list-group-item-danger:hover, button.list-group-item-danger:hover, a.list-group-item-danger:focus, button.list-group-item-danger:focus { color: #f04124; background-color: #ebcccc; } a.list-group-item-danger.active, button.list-group-item-danger.active, a.list-group-item-danger.active:hover, button.list-group-item-danger.active:hover, a.list-group-item-danger.active:focus, button.list-group-item-danger.active:focus { color: #fff; background-color: #f04124; border-color: #f04124; } .list-group-item-heading { margin-top: 0; margin-bottom: 5px; } .list-group-item-text { margin-bottom: 0; line-height: 1.3; } .panel { margin-bottom: 21px; background-color: #ffffff; border: 1px solid transparent; border-radius: 0; -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05); } .panel-body { padding: 15px; } .panel-heading { padding: 10px 15px; border-bottom: 1px solid transparent; border-top-right-radius: -1; border-top-left-radius: -1; } .panel-heading > .dropdown .dropdown-toggle { color: inherit; } .panel-title { margin-top: 0; margin-bottom: 0; font-size: 17px; color: inherit; } .panel-title > a, .panel-title > small, .panel-title > .small, .panel-title > small > a, .panel-title > .small > a { color: inherit; } .panel-footer { padding: 10px 15px; background-color: #f5f5f5; border-top: 1px solid #dddddd; border-bottom-right-radius: -1; border-bottom-left-radius: -1; } .panel > .list-group, .panel > .panel-collapse > .list-group { margin-bottom: 0; } .panel > .list-group .list-group-item, .panel > .panel-collapse > .list-group .list-group-item { border-width: 1px 0; border-radius: 0; } .panel > .list-group:first-child .list-group-item:first-child, .panel > .panel-collapse > .list-group:first-child .list-group-item:first-child { border-top: 0; border-top-right-radius: -1; border-top-left-radius: -1; } .panel > .list-group:last-child .list-group-item:last-child, .panel > .panel-collapse > .list-group:last-child .list-group-item:last-child { border-bottom: 0; border-bottom-right-radius: -1; border-bottom-left-radius: -1; } .panel > .panel-heading + .panel-collapse > .list-group .list-group-item:first-child { border-top-right-radius: 0; border-top-left-radius: 0; } .panel-heading + .list-group .list-group-item:first-child { border-top-width: 0; } .list-group + .panel-footer { border-top-width: 0; } .panel > .table, .panel > .table-responsive > .table, .panel > .panel-collapse > .table { margin-bottom: 0; } .panel > .table caption, .panel > .table-responsive > .table caption, .panel > .panel-collapse > .table caption { padding-left: 15px; padding-right: 15px; } .panel > .table:first-child, .panel > .table-responsive:first-child > .table:first-child { border-top-right-radius: -1; border-top-left-radius: -1; } .panel > .table:first-child > thead:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child { border-top-left-radius: -1; border-top-right-radius: -1; } .panel > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:first-child, .panel > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:first-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:first-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:first-child { border-top-left-radius: -1; } .panel > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child td:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child td:last-child, .panel > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > thead:first-child > tr:first-child th:last-child, .panel > .table:first-child > tbody:first-child > tr:first-child th:last-child, .panel > .table-responsive:first-child > .table:first-child > tbody:first-child > tr:first-child th:last-child { border-top-right-radius: -1; } .panel > .table:last-child, .panel > .table-responsive:last-child > .table:last-child { border-bottom-right-radius: -1; border-bottom-left-radius: -1; } .panel > .table:last-child > tbody:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child { border-bottom-left-radius: -1; border-bottom-right-radius: -1; } .panel > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:first-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:first-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:first-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:first-child { border-bottom-left-radius: -1; } .panel > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child td:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child td:last-child, .panel > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tbody:last-child > tr:last-child th:last-child, .panel > .table:last-child > tfoot:last-child > tr:last-child th:last-child, .panel > .table-responsive:last-child > .table:last-child > tfoot:last-child > tr:last-child th:last-child { border-bottom-right-radius: -1; } .panel > .panel-body + .table, .panel > .panel-body + .table-responsive, .panel > .table + .panel-body, .panel > .table-responsive + .panel-body { border-top: 1px solid #dddddd; } .panel > .table > tbody:first-child > tr:first-child th, .panel > .table > tbody:first-child > tr:first-child td { border-top: 0; } .panel > .table-bordered, .panel > .table-responsive > .table-bordered { border: 0; } .panel > .table-bordered > thead > tr > th:first-child, .panel > .table-responsive > .table-bordered > thead > tr > th:first-child, .panel > .table-bordered > tbody > tr > th:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:first-child, .panel > .table-bordered > tfoot > tr > th:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:first-child, .panel > .table-bordered > thead > tr > td:first-child, .panel > .table-responsive > .table-bordered > thead > tr > td:first-child, .panel > .table-bordered > tbody > tr > td:first-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:first-child, .panel > .table-bordered > tfoot > tr > td:first-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:first-child { border-left: 0; } .panel > .table-bordered > thead > tr > th:last-child, .panel > .table-responsive > .table-bordered > thead > tr > th:last-child, .panel > .table-bordered > tbody > tr > th:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > th:last-child, .panel > .table-bordered > tfoot > tr > th:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > th:last-child, .panel > .table-bordered > thead > tr > td:last-child, .panel > .table-responsive > .table-bordered > thead > tr > td:last-child, .panel > .table-bordered > tbody > tr > td:last-child, .panel > .table-responsive > .table-bordered > tbody > tr > td:last-child, .panel > .table-bordered > tfoot > tr > td:last-child, .panel > .table-responsive > .table-bordered > tfoot > tr > td:last-child { border-right: 0; } .panel > .table-bordered > thead > tr:first-child > td, .panel > .table-responsive > .table-bordered > thead > tr:first-child > td, .panel > .table-bordered > tbody > tr:first-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > td, .panel > .table-bordered > thead > tr:first-child > th, .panel > .table-responsive > .table-bordered > thead > tr:first-child > th, .panel > .table-bordered > tbody > tr:first-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:first-child > th { border-bottom: 0; } .panel > .table-bordered > tbody > tr:last-child > td, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > td, .panel > .table-bordered > tfoot > tr:last-child > td, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > td, .panel > .table-bordered > tbody > tr:last-child > th, .panel > .table-responsive > .table-bordered > tbody > tr:last-child > th, .panel > .table-bordered > tfoot > tr:last-child > th, .panel > .table-responsive > .table-bordered > tfoot > tr:last-child > th { border-bottom: 0; } .panel > .table-responsive { border: 0; margin-bottom: 0; } .panel-group { margin-bottom: 21px; } .panel-group .panel { margin-bottom: 0; border-radius: 0; } .panel-group .panel + .panel { margin-top: 5px; } .panel-group .panel-heading { border-bottom: 0; } .panel-group .panel-heading + .panel-collapse > .panel-body, .panel-group .panel-heading + .panel-collapse > .list-group { border-top: 1px solid #dddddd; } .panel-group .panel-footer { border-top: 0; } .panel-group .panel-footer + .panel-collapse .panel-body { border-bottom: 1px solid #dddddd; } .panel-default { border-color: #dddddd; } .panel-default > .panel-heading { color: #333333; background-color: #f5f5f5; border-color: #dddddd; } .panel-default > .panel-heading + .panel-collapse > .panel-body { border-top-color: #dddddd; } .panel-default > .panel-heading .badge { color: #f5f5f5; background-color: #333333; } .panel-default > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #dddddd; } .panel-primary { border-color: #008cba; } .panel-primary > .panel-heading { color: #ffffff; background-color: #008cba; border-color: #008cba; } .panel-primary > .panel-heading + .panel-collapse > .panel-body { border-top-color: #008cba; } .panel-primary > .panel-heading .badge { color: #008cba; background-color: #ffffff; } .panel-primary > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #008cba; } .panel-success { border-color: #3c9a5f; } .panel-success > .panel-heading { color: #ffffff; background-color: #43ac6a; border-color: #3c9a5f; } .panel-success > .panel-heading + .panel-collapse > .panel-body { border-top-color: #3c9a5f; } .panel-success > .panel-heading .badge { color: #43ac6a; background-color: #ffffff; } .panel-success > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #3c9a5f; } .panel-info { border-color: #3db5d8; } .panel-info > .panel-heading { color: #ffffff; background-color: #5bc0de; border-color: #3db5d8; } .panel-info > .panel-heading + .panel-collapse > .panel-body { border-top-color: #3db5d8; } .panel-info > .panel-heading .badge { color: #5bc0de; background-color: #ffffff; } .panel-info > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #3db5d8; } .panel-warning { border-color: #d08002; } .panel-warning > .panel-heading { color: #ffffff; background-color: #e99002; border-color: #d08002; } .panel-warning > .panel-heading + .panel-collapse > .panel-body { border-top-color: #d08002; } .panel-warning > .panel-heading .badge { color: #e99002; background-color: #ffffff; } .panel-warning > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #d08002; } .panel-danger { border-color: #ea2f10; } .panel-danger > .panel-heading { color: #ffffff; background-color: #f04124; border-color: #ea2f10; } .panel-danger > .panel-heading + .panel-collapse > .panel-body { border-top-color: #ea2f10; } .panel-danger > .panel-heading .badge { color: #f04124; background-color: #ffffff; } .panel-danger > .panel-footer + .panel-collapse > .panel-body { border-bottom-color: #ea2f10; } .embed-responsive { position: relative; display: block; height: 0; padding: 0; overflow: hidden; } .embed-responsive .embed-responsive-item, .embed-responsive iframe, .embed-responsive embed, .embed-responsive object, .embed-responsive video { position: absolute; top: 0; left: 0; bottom: 0; height: 100%; width: 100%; border: 0; } .embed-responsive-16by9 { padding-bottom: 56.25%; } .embed-responsive-4by3 { padding-bottom: 75%; } .well { min-height: 20px; padding: 19px; margin-bottom: 20px; background-color: #fafafa; border: 1px solid #e8e8e8; border-radius: 0; -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.05); } .well blockquote { border-color: #ddd; border-color: rgba(0, 0, 0, 0.15); } .well-lg { padding: 24px; border-radius: 0; } .well-sm { padding: 9px; border-radius: 0; } .close { float: right; font-size: 22.5px; font-weight: bold; line-height: 1; color: #ffffff; text-shadow: 0 1px 0 #ffffff; opacity: 0.2; filter: alpha(opacity=20); } .close:hover, .close:focus { color: #ffffff; text-decoration: none; cursor: pointer; opacity: 0.5; filter: alpha(opacity=50); } button.close { padding: 0; cursor: pointer; background: transparent; border: 0; -webkit-appearance: none; } .modal-open { overflow: hidden; } .modal { display: none; overflow: hidden; position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1050; -webkit-overflow-scrolling: touch; outline: 0; } .modal.fade .modal-dialog { -webkit-transform: translate(0, -25%); -ms-transform: translate(0, -25%); -o-transform: translate(0, -25%); transform: translate(0, -25%); -webkit-transition: -webkit-transform 0.3s ease-out; -o-transition: -o-transform 0.3s ease-out; transition: transform 0.3s ease-out; } .modal.in .modal-dialog { -webkit-transform: translate(0, 0); -ms-transform: translate(0, 0); -o-transform: translate(0, 0); transform: translate(0, 0); } .modal-open .modal { overflow-x: hidden; overflow-y: auto; } .modal-dialog { position: relative; width: auto; margin: 10px; } .modal-content { position: relative; background-color: #ffffff; border: 1px solid #999999; border: 1px solid rgba(0, 0, 0, 0.2); border-radius: 0; -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5); -webkit-background-clip: padding-box; background-clip: padding-box; outline: 0; } .modal-backdrop { position: fixed; top: 0; right: 0; bottom: 0; left: 0; z-index: 1040; background-color: #000000; } .modal-backdrop.fade { opacity: 0; filter: alpha(opacity=0); } .modal-backdrop.in { opacity: 0.5; filter: alpha(opacity=50); } .modal-header { padding: 15px; border-bottom: 1px solid #e5e5e5; min-height: 16.4px; } .modal-header .close { margin-top: -2px; } .modal-title { margin: 0; line-height: 1.4; } .modal-body { position: relative; padding: 20px; } .modal-footer { padding: 20px; text-align: right; border-top: 1px solid #e5e5e5; } .modal-footer .btn + .btn { margin-left: 5px; margin-bottom: 0; } .modal-footer .btn-group .btn + .btn { margin-left: -1px; } .modal-footer .btn-block + .btn-block { margin-left: 0; } .modal-scrollbar-measure { position: absolute; top: -9999px; width: 50px; height: 50px; overflow: scroll; } @media (min-width: 768px) { .modal-dialog { width: 600px; margin: 30px auto; } .modal-content { -webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); box-shadow: 0 5px 15px rgba(0, 0, 0, 0.5); } .modal-sm { width: 300px; } } @media (min-width: 992px) { .modal-lg { width: 900px; } } .tooltip { position: absolute; z-index: 1070; display: block; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; letter-spacing: normal; line-break: auto; line-height: 1.4; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; white-space: normal; word-break: normal; word-spacing: normal; word-wrap: normal; font-size: 12px; opacity: 0; filter: alpha(opacity=0); } .tooltip.in { opacity: 0.9; filter: alpha(opacity=90); } .tooltip.top { margin-top: -3px; padding: 5px 0; } .tooltip.right { margin-left: 3px; padding: 0 5px; } .tooltip.bottom { margin-top: 3px; padding: 5px 0; } .tooltip.left { margin-left: -3px; padding: 0 5px; } .tooltip-inner { max-width: 200px; padding: 3px 8px; color: #ffffff; text-align: center; background-color: #333333; border-radius: 0; } .tooltip-arrow { position: absolute; width: 0; height: 0; border-color: transparent; border-style: solid; } .tooltip.top .tooltip-arrow { bottom: 0; left: 50%; margin-left: -5px; border-width: 5px 5px 0; border-top-color: #333333; } .tooltip.top-left .tooltip-arrow { bottom: 0; right: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #333333; } .tooltip.top-right .tooltip-arrow { bottom: 0; left: 5px; margin-bottom: -5px; border-width: 5px 5px 0; border-top-color: #333333; } .tooltip.right .tooltip-arrow { top: 50%; left: 0; margin-top: -5px; border-width: 5px 5px 5px 0; border-right-color: #333333; } .tooltip.left .tooltip-arrow { top: 50%; right: 0; margin-top: -5px; border-width: 5px 0 5px 5px; border-left-color: #333333; } .tooltip.bottom .tooltip-arrow { top: 0; left: 50%; margin-left: -5px; border-width: 0 5px 5px; border-bottom-color: #333333; } .tooltip.bottom-left .tooltip-arrow { top: 0; right: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #333333; } .tooltip.bottom-right .tooltip-arrow { top: 0; left: 5px; margin-top: -5px; border-width: 0 5px 5px; border-bottom-color: #333333; } .popover { position: absolute; top: 0; left: 0; z-index: 1060; display: none; max-width: 276px; padding: 1px; font-family: "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif; font-style: normal; font-weight: normal; letter-spacing: normal; line-break: auto; line-height: 1.4; text-align: left; text-align: start; text-decoration: none; text-shadow: none; text-transform: none; white-space: normal; word-break: normal; word-spacing: normal; word-wrap: normal; font-size: 15px; background-color: #333333; -webkit-background-clip: padding-box; background-clip: padding-box; border: 1px solid #333333; border: 1px solid transparent; border-radius: 0; -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); } .popover.top { margin-top: -10px; } .popover.right { margin-left: 10px; } .popover.bottom { margin-top: 10px; } .popover.left { margin-left: -10px; } .popover-title { margin: 0; padding: 8px 14px; font-size: 15px; background-color: #333333; border-bottom: 1px solid #262626; border-radius: -1 -1 0 0; } .popover-content { padding: 9px 14px; } .popover > .arrow, .popover > .arrow:after { position: absolute; display: block; width: 0; height: 0; border-color: transparent; border-style: solid; } .popover > .arrow { border-width: 11px; } .popover > .arrow:after { border-width: 10px; content: ""; } .popover.top > .arrow { left: 50%; margin-left: -11px; border-bottom-width: 0; border-top-color: #000000; border-top-color: rgba(0, 0, 0, 0.05); bottom: -11px; } .popover.top > .arrow:after { content: " "; bottom: 1px; margin-left: -10px; border-bottom-width: 0; border-top-color: #333333; } .popover.right > .arrow { top: 50%; left: -11px; margin-top: -11px; border-left-width: 0; border-right-color: #000000; border-right-color: rgba(0, 0, 0, 0.05); } .popover.right > .arrow:after { content: " "; left: 1px; bottom: -10px; border-left-width: 0; border-right-color: #333333; } .popover.bottom > .arrow { left: 50%; margin-left: -11px; border-top-width: 0; border-bottom-color: #000000; border-bottom-color: rgba(0, 0, 0, 0.05); top: -11px; } .popover.bottom > .arrow:after { content: " "; top: 1px; margin-left: -10px; border-top-width: 0; border-bottom-color: #333333; } .popover.left > .arrow { top: 50%; right: -11px; margin-top: -11px; border-right-width: 0; border-left-color: #000000; border-left-color: rgba(0, 0, 0, 0.05); } .popover.left > .arrow:after { content: " "; right: 1px; border-right-width: 0; border-left-color: #333333; bottom: -10px; } .carousel { position: relative; } .carousel-inner { position: relative; overflow: hidden; width: 100%; } .carousel-inner > .item { display: none; position: relative; -webkit-transition: 0.6s ease-in-out left; -o-transition: 0.6s ease-in-out left; transition: 0.6s ease-in-out left; } .carousel-inner > .item > img, .carousel-inner > .item > a > img { line-height: 1; } @media all and (transform-3d), (-webkit-transform-3d) { .carousel-inner > .item { -webkit-transition: -webkit-transform 0.6s ease-in-out; -o-transition: -o-transform 0.6s ease-in-out; transition: transform 0.6s ease-in-out; -webkit-backface-visibility: hidden; backface-visibility: hidden; -webkit-perspective: 1000px; perspective: 1000px; } .carousel-inner > .item.next, .carousel-inner > .item.active.right { -webkit-transform: translate3d(100%, 0, 0); transform: translate3d(100%, 0, 0); left: 0; } .carousel-inner > .item.prev, .carousel-inner > .item.active.left { -webkit-transform: translate3d(-100%, 0, 0); transform: translate3d(-100%, 0, 0); left: 0; } .carousel-inner > .item.next.left, .carousel-inner > .item.prev.right, .carousel-inner > .item.active { -webkit-transform: translate3d(0, 0, 0); transform: translate3d(0, 0, 0); left: 0; } } .carousel-inner > .active, .carousel-inner > .next, .carousel-inner > .prev { display: block; } .carousel-inner > .active { left: 0; } .carousel-inner > .next, .carousel-inner > .prev { position: absolute; top: 0; width: 100%; } .carousel-inner > .next { left: 100%; } .carousel-inner > .prev { left: -100%; } .carousel-inner > .next.left, .carousel-inner > .prev.right { left: 0; } .carousel-inner > .active.left { left: -100%; } .carousel-inner > .active.right { left: 100%; } .carousel-control { position: absolute; top: 0; left: 0; bottom: 0; width: 15%; opacity: 0.5; filter: alpha(opacity=50); font-size: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .carousel-control.left { background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0.0001))); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0.0001) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#80000000', endColorstr='#00000000', GradientType=1); } .carousel-control.right { left: auto; right: 0; background-image: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: -o-linear-gradient(left, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-image: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.0001)), to(rgba(0, 0, 0, 0.5))); background-image: linear-gradient(to right, rgba(0, 0, 0, 0.0001) 0%, rgba(0, 0, 0, 0.5) 100%); background-repeat: repeat-x; filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000', endColorstr='#80000000', GradientType=1); } .carousel-control:hover, .carousel-control:focus { outline: 0; color: #ffffff; text-decoration: none; opacity: 0.9; filter: alpha(opacity=90); } .carousel-control .icon-prev, .carousel-control .icon-next, .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right { position: absolute; top: 50%; margin-top: -10px; z-index: 5; display: inline-block; } .carousel-control .icon-prev, .carousel-control .glyphicon-chevron-left { left: 50%; margin-left: -10px; } .carousel-control .icon-next, .carousel-control .glyphicon-chevron-right { right: 50%; margin-right: -10px; } .carousel-control .icon-prev, .carousel-control .icon-next { width: 20px; height: 20px; line-height: 1; font-family: serif; } .carousel-control .icon-prev:before { content: '\2039'; } .carousel-control .icon-next:before { content: '\203a'; } .carousel-indicators { position: absolute; bottom: 10px; left: 50%; z-index: 15; width: 60%; margin-left: -30%; padding-left: 0; list-style: none; text-align: center; } .carousel-indicators li { display: inline-block; width: 10px; height: 10px; margin: 1px; text-indent: -999px; border: 1px solid #ffffff; border-radius: 10px; cursor: pointer; background-color: #000 \9; background-color: rgba(0, 0, 0, 0); } .carousel-indicators .active { margin: 0; width: 12px; height: 12px; background-color: #ffffff; } .carousel-caption { position: absolute; left: 15%; right: 15%; bottom: 20px; z-index: 10; padding-top: 20px; padding-bottom: 20px; color: #ffffff; text-align: center; text-shadow: 0 1px 2px rgba(0, 0, 0, 0.6); } .carousel-caption .btn { text-shadow: none; } @media screen and (min-width: 768px) { .carousel-control .glyphicon-chevron-left, .carousel-control .glyphicon-chevron-right, .carousel-control .icon-prev, .carousel-control .icon-next { width: 30px; height: 30px; margin-top: -15px; font-size: 30px; } .carousel-control .glyphicon-chevron-left, .carousel-control .icon-prev { margin-left: -15px; } .carousel-control .glyphicon-chevron-right, .carousel-control .icon-next { margin-right: -15px; } .carousel-caption { left: 20%; right: 20%; padding-bottom: 30px; } .carousel-indicators { bottom: 20px; } } .clearfix:before, .clearfix:after, .dl-horizontal dd:before, .dl-horizontal dd:after, .container:before, .container:after, .container-fluid:before, .container-fluid:after, .row:before, .row:after, .form-horizontal .form-group:before, .form-horizontal .form-group:after, .btn-toolbar:before, .btn-toolbar:after, .btn-group-vertical > .btn-group:before, .btn-group-vertical > .btn-group:after, .nav:before, .nav:after, .navbar:before, .navbar:after, .navbar-header:before, .navbar-header:after, .navbar-collapse:before, .navbar-collapse:after, .pager:before, .pager:after, .panel-body:before, .panel-body:after, .modal-footer:before, .modal-footer:after { content: " "; display: table; } .clearfix:after, .dl-horizontal dd:after, .container:after, .container-fluid:after, .row:after, .form-horizontal .form-group:after, .btn-toolbar:after, .btn-group-vertical > .btn-group:after, .nav:after, .navbar:after, .navbar-header:after, .navbar-collapse:after, .pager:after, .panel-body:after, .modal-footer:after { clear: both; } .center-block { display: block; margin-left: auto; margin-right: auto; } .pull-right { float: right !important; } .pull-left { float: left !important; } .hide { display: none !important; } .show { display: block !important; } .invisible { visibility: hidden; } .text-hide { font: 0/0 a; color: transparent; text-shadow: none; background-color: transparent; border: 0; } .hidden { display: none !important; } .affix { position: fixed; } @-ms-viewport { width: device-width; } .visible-xs, .visible-sm, .visible-md, .visible-lg { display: none !important; } .visible-xs-block, .visible-xs-inline, .visible-xs-inline-block, .visible-sm-block, .visible-sm-inline, .visible-sm-inline-block, .visible-md-block, .visible-md-inline, .visible-md-inline-block, .visible-lg-block, .visible-lg-inline, .visible-lg-inline-block { display: none !important; } @media (max-width: 767px) { .visible-xs { display: block !important; } table.visible-xs { display: table !important; } tr.visible-xs { display: table-row !important; } th.visible-xs, td.visible-xs { display: table-cell !important; } } @media (max-width: 767px) { .visible-xs-block { display: block !important; } } @media (max-width: 767px) { .visible-xs-inline { display: inline !important; } } @media (max-width: 767px) { .visible-xs-inline-block { display: inline-block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm { display: block !important; } table.visible-sm { display: table !important; } tr.visible-sm { display: table-row !important; } th.visible-sm, td.visible-sm { display: table-cell !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-block { display: block !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline { display: inline !important; } } @media (min-width: 768px) and (max-width: 991px) { .visible-sm-inline-block { display: inline-block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md { display: block !important; } table.visible-md { display: table !important; } tr.visible-md { display: table-row !important; } th.visible-md, td.visible-md { display: table-cell !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-block { display: block !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline { display: inline !important; } } @media (min-width: 992px) and (max-width: 1199px) { .visible-md-inline-block { display: inline-block !important; } } @media (min-width: 1200px) { .visible-lg { display: block !important; } table.visible-lg { display: table !important; } tr.visible-lg { display: table-row !important; } th.visible-lg, td.visible-lg { display: table-cell !important; } } @media (min-width: 1200px) { .visible-lg-block { display: block !important; } } @media (min-width: 1200px) { .visible-lg-inline { display: inline !important; } } @media (min-width: 1200px) { .visible-lg-inline-block { display: inline-block !important; } } @media (max-width: 767px) { .hidden-xs { display: none !important; } } @media (min-width: 768px) and (max-width: 991px) { .hidden-sm { display: none !important; } } @media (min-width: 992px) and (max-width: 1199px) { .hidden-md { display: none !important; } } @media (min-width: 1200px) { .hidden-lg { display: none !important; } } .visible-print { display: none !important; } @media print { .visible-print { display: block !important; } table.visible-print { display: table !important; } tr.visible-print { display: table-row !important; } th.visible-print, td.visible-print { display: table-cell !important; } } .visible-print-block { display: none !important; } @media print { .visible-print-block { display: block !important; } } .visible-print-inline { display: none !important; } @media print { .visible-print-inline { display: inline !important; } } .visible-print-inline-block { display: none !important; } @media print { .visible-print-inline-block { display: inline-block !important; } } @media print { .hidden-print { display: none !important; } } .navbar { border: none; font-size: 13px; font-weight: 300; } .navbar .navbar-toggle:hover .icon-bar { background-color: #b3b3b3; } .navbar-collapse { border-top-color: rgba(0, 0, 0, 0.2); -webkit-box-shadow: none; box-shadow: none; } .navbar .btn { padding-top: 6px; padding-bottom: 6px; } .navbar-form { margin-top: 7px; margin-bottom: 5px; } .navbar-form .form-control { height: auto; padding: 4px 6px; } .navbar .dropdown-menu { border: none; } .navbar .dropdown-menu > li > a, .navbar .dropdown-menu > li > a:focus { background-color: transparent; font-size: 13px; font-weight: 300; } .navbar .dropdown-header { color: rgba(255, 255, 255, 0.5); } .navbar-default .dropdown-menu { background-color: #333333; } .navbar-default .dropdown-menu > li > a, .navbar-default .dropdown-menu > li > a:focus { color: #ffffff; } .navbar-default .dropdown-menu > li > a:hover, .navbar-default .dropdown-menu > .active > a, .navbar-default .dropdown-menu > .active > a:hover { background-color: #272727; } .navbar-inverse .dropdown-menu { background-color: #008cba; } .navbar-inverse .dropdown-menu > li > a, .navbar-inverse .dropdown-menu > li > a:focus { color: #ffffff; } .navbar-inverse .dropdown-menu > li > a:hover, .navbar-inverse .dropdown-menu > .active > a, .navbar-inverse .dropdown-menu > .active > a:hover { background-color: #006687; } .btn { padding: 8px 12px; } .btn-lg { padding: 16px 20px; } .btn-sm { padding: 8px 12px; } .btn-xs { padding: 4px 6px; } .btn-group .btn ~ .dropdown-toggle { padding-left: 16px; padding-right: 16px; } .btn-group .dropdown-menu { border-top-width: 0; } .btn-group.dropup .dropdown-menu { border-top-width: 1px; border-bottom-width: 0; margin-bottom: 0; } .btn-group .dropdown-toggle.btn-default ~ .dropdown-menu { background-color: #e7e7e7; border-color: #cccccc; } .btn-group .dropdown-toggle.btn-default ~ .dropdown-menu > li > a { color: #333333; } .btn-group .dropdown-toggle.btn-default ~ .dropdown-menu > li > a:hover { background-color: #d3d3d3; } .btn-group .dropdown-toggle.btn-primary ~ .dropdown-menu { background-color: #008cba; border-color: #0079a1; } .btn-group .dropdown-toggle.btn-primary ~ .dropdown-menu > li > a { color: #ffffff; } .btn-group .dropdown-toggle.btn-primary ~ .dropdown-menu > li > a:hover { background-color: #006d91; } .btn-group .dropdown-toggle.btn-success ~ .dropdown-menu { background-color: #43ac6a; border-color: #3c9a5f; } .btn-group .dropdown-toggle.btn-success ~ .dropdown-menu > li > a { color: #ffffff; } .btn-group .dropdown-toggle.btn-success ~ .dropdown-menu > li > a:hover { background-color: #388f58; } .btn-group .dropdown-toggle.btn-info ~ .dropdown-menu { background-color: #5bc0de; border-color: #46b8da; } .btn-group .dropdown-toggle.btn-info ~ .dropdown-menu > li > a { color: #ffffff; } .btn-group .dropdown-toggle.btn-info ~ .dropdown-menu > li > a:hover { background-color: #39b3d7; } .btn-group .dropdown-toggle.btn-warning ~ .dropdown-menu { background-color: #e99002; border-color: #d08002; } .btn-group .dropdown-toggle.btn-warning ~ .dropdown-menu > li > a { color: #ffffff; } .btn-group .dropdown-toggle.btn-warning ~ .dropdown-menu > li > a:hover { background-color: #c17702; } .btn-group .dropdown-toggle.btn-danger ~ .dropdown-menu { background-color: #f04124; border-color: #ea2f10; } .btn-group .dropdown-toggle.btn-danger ~ .dropdown-menu > li > a { color: #ffffff; } .btn-group .dropdown-toggle.btn-danger ~ .dropdown-menu > li > a:hover { background-color: #dc2c0f; } .lead { color: #6f6f6f; } cite { font-style: italic; } blockquote { border-left-width: 1px; color: #6f6f6f; } blockquote.pull-right { border-right-width: 1px; } blockquote small { font-size: 12px; font-weight: 300; } table { font-size: 12px; } label, .control-label, .help-block, .checkbox, .radio { font-size: 12px; font-weight: normal; } input[type="radio"], input[type="checkbox"] { margin-top: 1px; } .nav .open > a, .nav .open > a:hover, .nav .open > a:focus { border-color: transparent; } .nav-tabs > li > a { background-color: #e7e7e7; color: #222222; } .nav-tabs .caret { border-top-color: #222222; border-bottom-color: #222222; } .nav-pills { font-weight: 300; } .breadcrumb { border: 1px solid #dddddd; border-radius: 3px; font-size: 10px; font-weight: 300; text-transform: uppercase; } .pagination { font-size: 12px; font-weight: 300; color: #999999; } .pagination > li > a, .pagination > li > span { margin-left: 4px; color: #999999; } .pagination > .active > a, .pagination > .active > span { color: #fff; } .pagination > li > a, .pagination > li:first-child > a, .pagination > li:last-child > a, .pagination > li > span, .pagination > li:first-child > span, .pagination > li:last-child > span { border-radius: 3px; } .pagination-lg > li > a { padding-left: 22px; padding-right: 22px; } .pagination-sm > li > a { padding: 0 5px; } .pager { font-size: 12px; font-weight: 300; color: #999999; } .list-group { font-size: 12px; font-weight: 300; } .close { opacity: 0.4; text-decoration: none; text-shadow: none; } .close:hover, .close:focus { opacity: 1; } .alert { font-size: 12px; font-weight: 300; } .alert .alert-link { font-weight: normal; color: #fff; text-decoration: underline; } .label { padding-left: 1em; padding-right: 1em; border-radius: 0; font-weight: 300; } .label-default { background-color: #e7e7e7; color: #333333; } .badge { font-weight: 300; } .progress { height: 22px; padding: 2px; background-color: #f6f6f6; border: 1px solid #ccc; -webkit-box-shadow: none; box-shadow: none; } .dropdown-menu { padding: 0; margin-top: 0; font-size: 12px; } .dropdown-menu > li > a { padding: 12px 15px; } .dropdown-header { padding-left: 15px; padding-right: 15px; font-size: 9px; text-transform: uppercase; } .popover { color: #fff; font-size: 12px; font-weight: 300; } .panel-heading, .panel-footer { border-top-right-radius: 0; border-top-left-radius: 0; } .panel-default .close { color: #222222; } .modal .close { color: #222222; }
#!/bin/sh # Get the location of the script. apath=$(cd "${0%/*}" 2>/dev/null; echo "$PWD"/"${0##*/}") dname=$(dirname $apath) # Escape one level since it's in the tools subfolder. cd $dname/../ echo "Parsing code... " # Parse the code. php tools/phpDocumentor.phar parse >> /dev/null echo "Done!" echo "Generating markdown files... " # Generate markdown files. tools/phpdoc-md/bin/phpdocmd structure.xml ./apidocs >> /dev/null echo "Done!"
Hello. A friend recently spotted this man making his way through 50 Economics Classics on the London Underground. Something about the pose reminded me of a painting at the National Gallery in London, 'A Man Reading' (below). Attributed to the workshop of Rogier Van Der Weyden, it was painted around 1450 and is thought to depict the Frenchman Saint Ivo (1203-53), the patron saint of Brittany, lawyers, and abandoned children. What Ivo is reading is not clear, but it is clearly a handwritten document - which got me thinking about when printing was invented. It turns out that the painting was done at exactly the same time Johannes Gutenberg was building the first modern printing press in Mainz, Germany. Gutenberg trialled his press with a few Latin grammar books, but his first commercial printing, in 1455, was his famous Bibles. He sold them for 30 florins each, the equivalent of three years wages for a laborer, but still much cheaper than a Bible written out and illuminated by hand. ​The 48 Gutenberg Bibles still in existence lack page numbers, indentation and paragraphing, but were the start of the modern book. Extreme measures are taken to protect them. A friend told me of a museum worker he knew who had to take an early Gutenberg book from England to another museum in Europe. The briefcase which contained it was handcuffed to the man. He would not be able to let it go without losing an arm, or his life. Within a few years of Gutenberg's invention the cost of books would plummet, helping to foment revolutions (not least Luther's Reformation, with its mass pamphleteering) and massively increasing literacy and knowledge for the average person. People could read the Bible, and many other works, in their homes. ​This picture, 'Old Woman Reading', by Gerrit Dou, was painted around 1631. The woman, reading the gospel of St Luke, is judging by her clothing quite well-off, but not of the super rich who were once the only people who could afford to buy their own books. Gutenberg's bibles were, however, far from being the first printed book. At the turn of the twentieth century, Wang Yuanlu, a Taoist monk, made an astonishing discovery. At Dunhuang, on the Chinese end of the Silk Road, he found the entrance to a cave that had been walled up for 900 years. The famous 'library cave' contained thousands of Buddhist manuscripts, paintings, silk hangings, embroideries and Buddha statues, but also Hebrew, Nestorian, Daoist and Confucian texts. Stein, something of a real-life Indiana Jones, bribed or persuaded Wang Yuanlu to give him some of the texts, including the Diamond Sutra, the world's oldest printed book (actually, a scroll five metres long, now in the British Library). This fleeting world is like a star at dawn, a bubble in a stream, a flash of lightning in a summer cloud, a flickering lamp, a phantom, and a dream. The Sutra had been translated from the original Sanskrit around 400, so the text marked several centuries of Buddhism in China, which had spread along the Silk Road from India. Reverently made for universal free distribution by Wang Jie on behalf of his two parents, 11 May 868. In Buddhism, one gains merit by disseminating Buddha's teachings, so the words "for universal free distribution" are carefully chosen. Printing meant that many more copies could be made. I'm interested in anything that has led to the democratization of knowledge, so it was a pleasure to read recently Stuart Kells' Penguin and the Lane Brothers: The Untold Story of a Publishing Revolution. They are so much a part of modern life that it is easy to take them for granted. Yet starting in the 1930s, Penguin's cheap but attractive paperbacks revolutionized publishing by bringing high-grade fiction and non-fiction to the masses - a “poor man’s university”. As a brand, Penguin became so hot that its 1961 share offering was oversubscribed by 15,000 percent. The public face of the company, Allen Lane, was feted a bit like Facebook’s Mark Zuckerberg is today. Penguin paperbacks ushered in one of those rare revolutions in which everyone wins: authors (because of big new audiences); publishers (bigger markets); and the public (greater literary enjoyment for a fraction of the price). Suddenly, people on low incomes could afford to buy books for the first time in their lives, instead of borrowing them from libraries. What Penguin stood for though, more than cheap books as such, was a general lifting up of the population. For this service, it remains a much-loved brand. ​I will be including a chapter on the Penguin story in 50 Business Classics, which will be released in April 2018. There's a sneak peek of the cover! ​You can preorder already here on Amazon or Amazon UK. This year I've tried to read more fiction, and these are some of the books I enjoyed. Had never read James Joyce properly before, but Dubliners was a revelation. Written when he was in his twenties, it's a selection of darkly realistic stories of people in his native city - and yet, as with all Joyce's writing, totally universal in its themes. Ian McEwan's Nutshell is a murder story written from the point of view of the murderess's unborn child. Brilliant idea - and gripping! Tobias Wolff's Old School is a beautifully written reminiscence, by a student, of life at an American boarding school. If you liked the film Dead Poets Society or JD Salinger's Fanny and Zooey, you will love it. Then there was Borges' Labrynths. Had to read each paragraph several times to understand what he was saying; it's basically philosophy in the guise of short stories. ​My bedside/fireside reading at this moment is: a book on the teachings of Edgar Cayce, the seer-channeller of Virginia Beach; Heart Advice of a Mahamudra Master, by Gendun Rinpoche (this never leaves my bedside, I read it over and over); and In Praise of Shadows by Junichiro Tanazaki, on the soulfulness of old Japanese houses and temples, where only the faint gleam of a gold wall hanging or the shine of black lacquer can be made out in the darkness. As someone who prefers Stygian gloom and softly glowing light over brightness, I love this time of year in the Northern Hemisphere when it gets dark around 4 o'clock and you have a long evening ahead of chatting, reading, watching a film or just thinking. After the hard work of the year I will be enjoying some festive celebrations with friends and family and retreating to my Winter cave. Author of the '50 Classics' series covering key writings in personal development, philosophy and psychology.
CoreOS has taken a giant step towards making container infrastructure more secure. It's a welcome move because the container security ecosystem is far less sophisticated than the security ecosystem that surrounds the world of server virtualization. CoreOS's boss, Alex Polvi, has his doubts about the security of Docker technology — the de facto standard for containers. "We are aware of issues in Docker, and they have not been addressed in many ways," he said in this column last month. So what is CoreOS going to do about it? The answer, it turns out, is quite a lot. What CoreOS has done is build a high level of security into its Tectonic container management platform: earlier this month it announced what it is calling Distributed Trusted Computing (DTC). "Security is central to our mission here at CoreOS," Polvi says. "This is a step further in the security capabilities of enterprises, for the first time giving cryptographically guaranteed end-to-end integrity and control of their environment." What Exactly Is Distributed Trusted Computing? In a nutshell, DTC allows organizations to cryptographically verify the integrity of their entire container environment - from the server hardware to the applications running in containers. To do all this requires hardware with a Trusted Platform Module, and an organization's public cryptographic keys embedded in the server firmware. Each server then uses Secure Boot, validating each step of the CoreOS boot process to ensure that the operating system has not been modified in any way. CoreOS says its operating system is particularly suited to this kind of validation by cryptographic signature, as the system is released in a signed, atomic version representing all software, kernel and user-mode, and stored on a read-only mount point. Since the CoreOS software stack isn't just a loose collection of packages, the collective environment can be verified during the boot process, and only allowed to proceed if its integrity can be mathematically assured. The final step is cluster security, and only machines that have been Secure Booted are allowed in to a cluster — systems that do not pass cryptographic integrity checks are prevented from joining clusters and are never able to request or obtain cluster data, and never have containers scheduled on them. The company says future work is planned to expand this foundation along with proposed Kubernetes admission control mechanisms to provide higher-level abstractions for acting on node integrity. One key application for this technology would be to enable organizations to run container clusters in what CoreOS calls "a completely hostile – but tantalizingly low-cost – colocation facility." In other words, you don't have to trust your colo provider to be able to run containers securely. For some time now Polvi has been casting aspersions on the security of the Docker container ecosystem, but now he, or rather CoreOS, is doing something about it. It's likely that at some point in the near future this – or something very similar – will be the standard way to deploy containers.
# Hladnikia golacensis W.D.J.Koch SPECIES #### Status ACCEPTED #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Cheapest flight tickets for the Phagwara to Srinagar flight at the best prices, available at Goomo.com. Exciting offers and benefits are also given. Goomo.com is the one stop for all flight tickets related needs. Know the lowest airfare for the Phagwara to Srinagar flight, the flight status, and the upcoming flight schedules, at a moment’s notice. As Phalodi has no chief airport within its vicinity, you can choose to travel from Jodhpur, and take a flight to Srinagar.
/* * Copyright (C) 2009-2013 Jean-Christophe PLAGNIOL-VILLARD <[email protected]> * * Under GPLv2 */ #define __LOWLEVEL_INIT__ #include <common.h> #include <asm/system.h> #include <asm/barebox-arm.h> #include <asm/barebox-arm-head.h> #include <mach/hardware.h> #include <mach/io.h> #include <mach/at91sam9_ddrsdr.h> #include <init.h> #include <sizes.h> void __naked __bare_init barebox_arm_reset_vector(void) { arm_cpu_lowlevel_init(); arm_setup_stack(AT91SAM9G45_SRAM_BASE + AT91SAM9G45_SRAM_SIZE - 16); barebox_arm_entry(AT91_CHIPSELECT_6, at91sam9g45_get_ddram_size(1), NULL); }
Sunday 6 March 2016, marked the celebration of mothers in Nigeria. The day was filled with memories for mothers and their children who took out time to celebrate their favorite heroines and icons. For most brands it was a time to key into the trend and join in the celebration. One brand however stood out with their campaign to celebrate mums like no other. Indomie took mother’s day a step forward by adding great emotions with how they chose to celebrate Nigerian mothers. The campaign was called “Thanks Mum for Every Special Moment“. In a very emotional video message, Indomie got children to share and send their mother’s day good will messages to their watching mothers behind the scene. In addition to sharing the mother’s day spirit, Indomie is taking bold steps with their mother’s day CSR initiatives. The CSR activities is currently on-going in 18 key cities in Nigeria, where they are visiting different maternity and orphanage homes bearing branded gifts from the brand. There is still an opportunity for you to join in the fun, the competition is running. Give your mum an Indomie mother’s day fun. Niagara falls! I’ve got tears. Awww… That was too cute! My Gosh! So lovely… brought tears to my eyes…. I laughed at the “she gives me a motherly slap”???
using System.Reflection; using System.Runtime.CompilerServices; using System.Runtime.InteropServices; // General Information about an assembly is controlled through the following // set of attributes. Change these attribute values to modify the information // associated with an assembly. [assembly: AssemblyTitle("07. Take Skip Rope")] [assembly: AssemblyDescription("")] [assembly: AssemblyConfiguration("")] [assembly: AssemblyCompany("")] [assembly: AssemblyProduct("07. Take Skip Rope")] [assembly: AssemblyCopyright("Copyright © 2017")] [assembly: AssemblyTrademark("")] [assembly: AssemblyCulture("")] // Setting ComVisible to false makes the types in this assembly not visible // to COM components. If you need to access a type in this assembly from // COM, set the ComVisible attribute to true on that type. [assembly: ComVisible(false)] // The following GUID is for the ID of the typelib if this project is exposed to COM [assembly: Guid("f466028d-02ea-4359-8eb8-ddd96539b4f5")] // Version information for an assembly consists of the following four values: // // Major Version // Minor Version // Build Number // Revision // // You can specify all the values or you can default the Build and Revision Numbers // by using the '*' as shown below: // [assembly: AssemblyVersion("1.0.*")] [assembly: AssemblyVersion("1.0.0.0")] [assembly: AssemblyFileVersion("1.0.0.0")]
package org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.policies; import org.eclipse.gef.commands.Command; import org.eclipse.gmf.runtime.emf.type.core.requests.CreateElementRequest; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.APIResourceEndpointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.AddressEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.AddressingEndpointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.AggregateMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.BAMMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.BeanMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.BuilderMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CacheMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CallMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CallTemplateMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CalloutMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ClassMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CloneMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CloudConnectorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CloudConnectorOperationCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.CommandMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ConditionalRouterMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.DBLookupMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.DBReportMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.DataMapperMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.DefaultEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.DropMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.EJBMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.EnqueueMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.EnrichMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.EntitlementMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.EventMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.FailoverEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.FastXSLTMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.FaultMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.FilterMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ForEachMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.HTTPEndpointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.HeaderMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.IterateMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.LoadBalanceEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.LogMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.LoopBackMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.NamedEndpointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.OAuthMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.PayloadFactoryMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.PropertyMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.PublishEventMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.RMSequenceMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.RecipientListEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.RespondMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.RouterMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.RuleMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ScriptMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.SendMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.SequenceCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.SmooksMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.SpringMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.StoreMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.SwitchMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.TemplateEndpointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ThrottleMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.TransactionMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.URLRewriteMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.ValidateMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.WSDLEndPointCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.XQueryMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.edit.commands.XSLTMediatorCreateCommand; import org.wso2.developerstudio.eclipse.gmf.esb.diagram.providers.EsbElementTypes; /** * @generated */ public class MediatorFlowMediatorFlowCompartment16ItemSemanticEditPolicy extends EsbBaseItemSemanticEditPolicy { /** * @generated */ public MediatorFlowMediatorFlowCompartment16ItemSemanticEditPolicy() { super(EsbElementTypes.MediatorFlow_3639); } /** * @generated */ protected Command getCreateCommand(CreateElementRequest req) { if (EsbElementTypes.DropMediator_3491 == req.getElementType()) { return getGEFWrapper(new DropMediatorCreateCommand(req)); } if (EsbElementTypes.PropertyMediator_3492 == req.getElementType()) { return getGEFWrapper(new PropertyMediatorCreateCommand(req)); } if (EsbElementTypes.ThrottleMediator_3493 == req.getElementType()) { return getGEFWrapper(new ThrottleMediatorCreateCommand(req)); } if (EsbElementTypes.FilterMediator_3494 == req.getElementType()) { return getGEFWrapper(new FilterMediatorCreateCommand(req)); } if (EsbElementTypes.LogMediator_3495 == req.getElementType()) { return getGEFWrapper(new LogMediatorCreateCommand(req)); } if (EsbElementTypes.EnrichMediator_3496 == req.getElementType()) { return getGEFWrapper(new EnrichMediatorCreateCommand(req)); } if (EsbElementTypes.XSLTMediator_3497 == req.getElementType()) { return getGEFWrapper(new XSLTMediatorCreateCommand(req)); } if (EsbElementTypes.SwitchMediator_3498 == req.getElementType()) { return getGEFWrapper(new SwitchMediatorCreateCommand(req)); } if (EsbElementTypes.Sequence_3503 == req.getElementType()) { return getGEFWrapper(new SequenceCreateCommand(req)); } if (EsbElementTypes.EventMediator_3504 == req.getElementType()) { return getGEFWrapper(new EventMediatorCreateCommand(req)); } if (EsbElementTypes.EntitlementMediator_3505 == req.getElementType()) { return getGEFWrapper(new EntitlementMediatorCreateCommand(req)); } if (EsbElementTypes.ClassMediator_3506 == req.getElementType()) { return getGEFWrapper(new ClassMediatorCreateCommand(req)); } if (EsbElementTypes.SpringMediator_3507 == req.getElementType()) { return getGEFWrapper(new SpringMediatorCreateCommand(req)); } if (EsbElementTypes.ScriptMediator_3508 == req.getElementType()) { return getGEFWrapper(new ScriptMediatorCreateCommand(req)); } if (EsbElementTypes.FaultMediator_3509 == req.getElementType()) { return getGEFWrapper(new FaultMediatorCreateCommand(req)); } if (EsbElementTypes.XQueryMediator_3510 == req.getElementType()) { return getGEFWrapper(new XQueryMediatorCreateCommand(req)); } if (EsbElementTypes.CommandMediator_3511 == req.getElementType()) { return getGEFWrapper(new CommandMediatorCreateCommand(req)); } if (EsbElementTypes.DBLookupMediator_3512 == req.getElementType()) { return getGEFWrapper(new DBLookupMediatorCreateCommand(req)); } if (EsbElementTypes.DBReportMediator_3513 == req.getElementType()) { return getGEFWrapper(new DBReportMediatorCreateCommand(req)); } if (EsbElementTypes.SmooksMediator_3514 == req.getElementType()) { return getGEFWrapper(new SmooksMediatorCreateCommand(req)); } if (EsbElementTypes.SendMediator_3515 == req.getElementType()) { return getGEFWrapper(new SendMediatorCreateCommand(req)); } if (EsbElementTypes.HeaderMediator_3516 == req.getElementType()) { return getGEFWrapper(new HeaderMediatorCreateCommand(req)); } if (EsbElementTypes.CloneMediator_3517 == req.getElementType()) { return getGEFWrapper(new CloneMediatorCreateCommand(req)); } if (EsbElementTypes.CacheMediator_3518 == req.getElementType()) { return getGEFWrapper(new CacheMediatorCreateCommand(req)); } if (EsbElementTypes.IterateMediator_3519 == req.getElementType()) { return getGEFWrapper(new IterateMediatorCreateCommand(req)); } if (EsbElementTypes.CalloutMediator_3520 == req.getElementType()) { return getGEFWrapper(new CalloutMediatorCreateCommand(req)); } if (EsbElementTypes.TransactionMediator_3521 == req.getElementType()) { return getGEFWrapper(new TransactionMediatorCreateCommand(req)); } if (EsbElementTypes.RMSequenceMediator_3522 == req.getElementType()) { return getGEFWrapper(new RMSequenceMediatorCreateCommand(req)); } if (EsbElementTypes.RuleMediator_3523 == req.getElementType()) { return getGEFWrapper(new RuleMediatorCreateCommand(req)); } if (EsbElementTypes.OAuthMediator_3524 == req.getElementType()) { return getGEFWrapper(new OAuthMediatorCreateCommand(req)); } if (EsbElementTypes.AggregateMediator_3525 == req.getElementType()) { return getGEFWrapper(new AggregateMediatorCreateCommand(req)); } if (EsbElementTypes.StoreMediator_3588 == req.getElementType()) { return getGEFWrapper(new StoreMediatorCreateCommand(req)); } if (EsbElementTypes.BuilderMediator_3591 == req.getElementType()) { return getGEFWrapper(new BuilderMediatorCreateCommand(req)); } if (EsbElementTypes.CallTemplateMediator_3594 == req.getElementType()) { return getGEFWrapper(new CallTemplateMediatorCreateCommand(req)); } if (EsbElementTypes.PayloadFactoryMediator_3597 == req.getElementType()) { return getGEFWrapper(new PayloadFactoryMediatorCreateCommand(req)); } if (EsbElementTypes.EnqueueMediator_3600 == req.getElementType()) { return getGEFWrapper(new EnqueueMediatorCreateCommand(req)); } if (EsbElementTypes.URLRewriteMediator_3620 == req.getElementType()) { return getGEFWrapper(new URLRewriteMediatorCreateCommand(req)); } if (EsbElementTypes.ValidateMediator_3623 == req.getElementType()) { return getGEFWrapper(new ValidateMediatorCreateCommand(req)); } if (EsbElementTypes.RouterMediator_3628 == req.getElementType()) { return getGEFWrapper(new RouterMediatorCreateCommand(req)); } if (EsbElementTypes.ConditionalRouterMediator_3635 == req.getElementType()) { return getGEFWrapper(new ConditionalRouterMediatorCreateCommand(req)); } if (EsbElementTypes.BAMMediator_3680 == req.getElementType()) { return getGEFWrapper(new BAMMediatorCreateCommand(req)); } if (EsbElementTypes.BeanMediator_3683 == req.getElementType()) { return getGEFWrapper(new BeanMediatorCreateCommand(req)); } if (EsbElementTypes.EJBMediator_3686 == req.getElementType()) { return getGEFWrapper(new EJBMediatorCreateCommand(req)); } if (EsbElementTypes.DefaultEndPoint_3609 == req.getElementType()) { return getGEFWrapper(new DefaultEndPointCreateCommand(req)); } if (EsbElementTypes.AddressEndPoint_3610 == req.getElementType()) { return getGEFWrapper(new AddressEndPointCreateCommand(req)); } if (EsbElementTypes.FailoverEndPoint_3611 == req.getElementType()) { return getGEFWrapper(new FailoverEndPointCreateCommand(req)); } if (EsbElementTypes.RecipientListEndPoint_3692 == req.getElementType()) { return getGEFWrapper(new RecipientListEndPointCreateCommand(req)); } if (EsbElementTypes.WSDLEndPoint_3612 == req.getElementType()) { return getGEFWrapper(new WSDLEndPointCreateCommand(req)); } if (EsbElementTypes.NamedEndpoint_3660 == req.getElementType()) { return getGEFWrapper(new NamedEndpointCreateCommand(req)); } if (EsbElementTypes.LoadBalanceEndPoint_3613 == req.getElementType()) { return getGEFWrapper(new LoadBalanceEndPointCreateCommand(req)); } if (EsbElementTypes.APIResourceEndpoint_3674 == req.getElementType()) { return getGEFWrapper(new APIResourceEndpointCreateCommand(req)); } if (EsbElementTypes.AddressingEndpoint_3689 == req.getElementType()) { return getGEFWrapper(new AddressingEndpointCreateCommand(req)); } if (EsbElementTypes.HTTPEndpoint_3709 == req.getElementType()) { return getGEFWrapper(new HTTPEndpointCreateCommand(req)); } if (EsbElementTypes.TemplateEndpoint_3716 == req.getElementType()) { return getGEFWrapper(new TemplateEndpointCreateCommand(req)); } if (EsbElementTypes.CloudConnector_3719 == req.getElementType()) { return getGEFWrapper(new CloudConnectorCreateCommand(req)); } if (EsbElementTypes.CloudConnectorOperation_3722 == req.getElementType()) { return getGEFWrapper(new CloudConnectorOperationCreateCommand(req)); } if (EsbElementTypes.LoopBackMediator_3736 == req.getElementType()) { return getGEFWrapper(new LoopBackMediatorCreateCommand(req)); } if (EsbElementTypes.RespondMediator_3739 == req.getElementType()) { return getGEFWrapper(new RespondMediatorCreateCommand(req)); } if (EsbElementTypes.CallMediator_3742 == req.getElementType()) { return getGEFWrapper(new CallMediatorCreateCommand(req)); } if (EsbElementTypes.DataMapperMediator_3761 == req.getElementType()) { return getGEFWrapper(new DataMapperMediatorCreateCommand(req)); } if (EsbElementTypes.FastXSLTMediator_3764 == req.getElementType()) { return getGEFWrapper(new FastXSLTMediatorCreateCommand(req)); } if (EsbElementTypes.ForEachMediator_3780 == req.getElementType()) { return getGEFWrapper(new ForEachMediatorCreateCommand(req)); } if (EsbElementTypes.PublishEventMediator_3785 == req.getElementType()) { return getGEFWrapper(new PublishEventMediatorCreateCommand(req)); } return super.getCreateCommand(req); } }
This assortment contains 50 clamps for many of the most popular watches. Allows you to replace worn or broken clamps in minutes. Screws not included, sold separately (see "Related Products" below).
a { color: #003D4C; cursor: pointer; font-family: helvetice,arial,sans-serif; text-decoration: underline; } a:hover { color: #367889; text-decoration: none; } a img { border: medium none; } body.admin { background: url("../img/fond.jpg") repeat scroll right center transparent; color: #333333; font-family: 'lucida grande',verdana,helvetica,arial,sans-serif; font-size: 90%; margin: 0; } body.admin.ajax { background: none repeat scroll 0 0 #FFFFFF; } body.admin.ajax #content { overflow: visible; } body.admin.ajax #middle { margin: 0; padding: 0; width: auto; } body.admin.ajax #container { margin: 0; max-width: 780px; min-width: 780px; padding: 0; width: auto; } .banniere { background: url("../img/banniere.jpg") repeat-y scroll 0 209px transparent; height: 109px; width: 1000px; } #site-title { margin: 0; padding: 0; position: absolute; right: 8px; top: 8px; } #left { background: url("../img/fondArbo.png") repeat-y scroll right center transparent; border-bottom: 1px solid #CCCCCC; float: left; padding-bottom: 200px; width: 220px; } #content { background: none repeat scroll 0 0 #FEFEFE; color: #333333; float: left; /*overflow: scroll;*/ padding: 10px 20px 40px; width: 740px; } #middle > div { margin-top: 0; } #menus { font: 10px verdana,arial,tahoma,helvetica,sans-serif; } #edit-panel { float: left; width: 720px; } .actions { margin-left: 20px; } .actions span { display: inline-block; margin-left: 5px; } .actions span a { background-position: center center; background-repeat: no-repeat; display: inline-block; } .actions .action-delete a { background-image: url("../img/deselectall_small_normal_hover.png"); } .actions .action-unpublish a { background-image: url("../img/dot_green.png"); } #container { margin: auto; width: 1000px; } #header { height: 110px; position: relative; z-index: 2; } #header .logo { background: url("../img/admin_logo2.png") no-repeat scroll left top transparent; height: 110px; left: 0; position: absolute; top: 0; width: 352px; } #header #site-title { left: 260px; position: absolute; top: 5px; } #header #user-box { color: #EEEEEE; font-size: 14px; position: absolute; right: 0; top: 5px; } #sub-header { background: url("../img/fondNav.png") no-repeat scroll 0 0 transparent; height: 38px; position: relative; top: -1px; z-index: 1; } #sub-header a { text-decoration: none; } #admin-lang { position: absolute; right: 0; top: 5px; } #admin-lang input { font-size: 14px; margin: 5px 0 10px; padding: 2px; width: 120px; } #admin-lang .ui-state-default, #admin-lang .ui-widget-content .ui-state-default, #admin-lang .ui-widget-header .ui-state-default { background: none repeat scroll 50% 50% #818181; border-color: #8A8A8A #656565 #5C5C5C #757575; border-style: solid; border-width: 1px; color: #CCCCCC; } #admin-lang .ui-state-hover, #admin-lang .ui-widget-content .ui-state-hover, #admin-lang .ui-widget-header .ui-state-hover, #admin-lang .ui-state-focus, #admin-lang .ui-widget-content .ui-state-focus, #admin-lang .ui-widget-header .ui-state-focus { background: none repeat scroll 50% 50% #659F48; border-color: #8BB775 #507E39 #487133 #7CAD63; border-style: solid; border-width: 1px; color: #F5F5F5; } #site-title { display: inline-block; margin-bottom: 20px; margin-left: 30px; } #site-title > button:first-child { width: 370px; } #middle { background: none repeat scroll 0 0 #FFFFFF; margin: auto; padding: 0; position: relative; top: -4px; width: 1000px; z-index: 0; } form { clear: both; padding: 0; } h1, h2, h3, h4 { font-weight: normal; margin-bottom: 0.5em; margin-top: 0.5em; } h1 { background: none repeat scroll 0 0 #FFFFFF; color: #003D4C; font-size: 100%; } h2, .page-title { color: #EE3322; font-family: 'Gill Sans','lucida grande',helvetica,arial,sans-serif; font-size: 190%; } h3 { color: #999933; font-family: 'Gill Sans','lucida grande',helvetica,arial,sans-serif; font-size: 165%; } h4 { color: #999933; font-weight: normal; } .hidden { display: none; } .actions span { cursor: pointer; } .ContentMenuInfoForm { border: 1px solid #d7d7d7; padding: 10px; position: relative; } .ContentMenuInfoForm .togglePublished { background-position: center center; background-repeat: no-repeat; cursor: pointer; display: inline-block; height: 25px; left: -8px; top: 1px; width: 30px; } .ContentMenuInfoForm .unpublished, .ContentMenuInfoForm .published:hover { background-image: url("../img/dot_red.png"); } .ContentMenuInfoForm .published, .ContentMenuInfoForm .unpublished:hover { background-image: url("../img/dot_green.png"); } .waitpublished { background-image: url("../img/dot_orange.png") !important; } .ContentMenuInfoForm .form { margin-left: -10px; margin-top: -4px; } .ContentMenuInfoForm .form div, #ContentPageSaveForm .form div input { margin: 0; padding: 5px; } .ContentMenuInfoForm .form div.input.text > input { border: 1px solid #AAAAAA; color: #EE3322; display: inline-block; font-family: "Gill Sans","lucida grande","helvetica","arial",sans-serif; font-size: 190%; width: 350px; } .ContentMenuInfoForm .form div.input label { display: inline-block; width: 150px; } .ContentMenuInfoForm .form .other-input { padding: 0; } .ContentMenuInfoForm .form .other-input div.input label { font-size: 12px; } .ContentMenuInfoForm .form .other-input div.input input { color: #333333; font-size: 12px; } .ContentMenuInfoForm .form .submit, #ContentPageSaveForm .form .submit input { clear: none; float: left; } .clear { clear: both; } .submit input { display: inline; font-size: 110%; width: auto; } form .submit input { background: -moz-linear-gradient(center top , #A8EA9C, #62AF56) repeat scroll 0 0 #62AF56; border-color: #2D6324; color: #000000; text-shadow: 0 1px 0 #8CEE7C; } form .submit input:hover { background: -moz-linear-gradient(center top , #85E573, #4CA83D) repeat scroll 0 0 #4CA83D; } .submit input, div.actions ul li a, td.actions a { background: -moz-linear-gradient(center top , #F1F1D4, #E6E49F) repeat scroll 0 0 #E6E49F; border: 1px solid #AAAC62; border-radius: 8px 8px 8px 8px; color: #333333; font-weight: normal; min-width: 0; padding: 4px 8px; text-decoration: none; text-shadow: 0 1px 0 #FFFFFF; } .submit input:hover, div.actions ul li a:hover, td.actions a:hover { background: none repeat scroll 0 0 #F0F09A; } .separator { height: 20px; } #explorer .item { cursor: pointer; margin-top: 5px; padding: 2px; float:left; width: 148px; } #explorer .title { display: none; } #explorer .item img{ max-width:140px; } #explorer .item:hover { background: none repeat scroll 0 0 #CCCCCC; } .filesImagesContainter { margin-bottom: 10px; background-color: #EEEEEE; padding:10px; } .filesImagesContainter .item { float:left; margin: 5px; position:relative } .filesImagesContainter .item.empty { display:none; } .filesImagesContainter .item .actions { position:absolute; top:0; right:0; } .filesImagesContainter .item .actions .delete { background: url("../img/deselectall_small_normal_hover.png") no-repeat; font-size: 0; height:18px; width:18px; } .filesImagesContainter .item img { max-width:150px; } .input.file form { cursor: pointer; } #languages-tabs li span { display: inline-block; } .warning { background: url("../img/skin.png") no-repeat scroll -251px -197px transparent; display: inline-block; font-size: 0; height: 18px; overflow: hidden; padding-left: 18px; width: 0; } input[type="checkbox"] { margin: 0 6px 7px 2px; width: auto; } div.checkbox label { display: inline; } .happy-category ul, .happy-category ul li { list-style-type: none; } .admin-main-menu { margin-top: 0; } .admin-main-menu ul { list-style-type: none; text-decoration: none; } .admin-main-menu ul li { float: left; height: 34px; line-height: 35px; margin: 1px 0 0; padding: 0 10px; } .admin-main-menu ul li:hover { background: url("../img/navHover.png") repeat scroll 0 0 transparent; } .notification.success p span { color: #61B316; } .notification.success { background: -moz-linear-gradient(center bottom , #DFF3A8 1%, #C4FB92 51%) repeat scroll 0 0 transparent; border-bottom: 1px solid #B7E789; border-top: 1px solid #EDF7D0; } .notification.success:before { content: url("../img/success.png"); float: left; margin: 0 15px; } .notification.info { background: -moz-linear-gradient(center top , #E0F4FF, #D4E6F0) repeat scroll 0 0 transparent; border-bottom: 1px solid #BEDAE9; border-top: 1px solid #F3FBFF; } .notification.info span { color: #177FB2; } .notification.info:before { content: url("../img/info.png"); float: left; margin: 5px 15px 0 21px; } .notification.error { background: -moz-linear-gradient(center top , #F3C7C7, #EEA2A2) repeat scroll 0 0 transparent; border-bottom: 1px solid #C87676; border-top: 1px solid #F7D0D0; } .notification.error:before { content: url("../img/error.png"); float: left; margin: 7px 15px 0; } .notification.error p span { color: #B31616; } .notification.warning p span { color: #E5AC00; } .notification.warning:before { content: url("../img/warning.png"); float: left; margin: 2px 15px 0 25px; } .notification.warning { background: -moz-linear-gradient(center top , #FEFFB1, #F0F17F) repeat scroll 0 0 transparent; border-bottom: 1px solid #E6E837; border-top: 1px solid #FEFBCD; } .notification { margin: auto; width: 690px; } .notification p { color: #555555; float: left; font-size: 11px; line-height: 10px; margin-bottom: 0 !important; margin-right: 15px; padding-top: 12px; text-align: justify; } .notification p span { font-size: 24px; margin: 10px; padding: 0; } .notification p { margin: 10px; padding: 0; } .notification > span { background: url("../img/close.png") no-repeat scroll right top transparent; display: block; height: 19px; position: absolute; right: -8px; top: -9px; width: 19px; } .notification { border-radius: 5px 5px 5px 5px; box-shadow: 1px 1px 0 #999999; display: block; margin-bottom: 30px; overflow: visible !important; padding: 15px 20px 35px 0; position: relative; } .input.checkbox { display: inline-block; } .input.checkbox input { width: 20px; } #googleAnalytics { margin-top: 80px; overflow: hidden; } #googleAnalytics #chart_div { margin-left: -64px; } label { display: block; font-size: 110%; margin:10px 5px; } input, textarea { clear: both; font-size: 110%; font-family: "frutiger linotype", "lucida grande", "verdana", sans-serif; padding: 1%; width:98%; margin:10px; } #edit-panel.submited:after { background: none repeat scroll 0 0 #000000; content: "Chargement..."; display: block; height: 100%; position: absolute; top: 0; width: 780px; filter:alpha(opacity=50); -moz-opacity:0.5; opacity: 0.5; left: 220px; text-align: center; color: #FFFFFF; font-size: 24px; } #extensions-menu { padding:10px; } form .head-action { border-radius:5px; padding:8px 10px 3px 10px; margin-top:-17px; margin-bottom:10px; background:#eeeeee; position: relative; } form .head-action .submit-action, form .head-action .file-edit-action { display:inline; } form .head-action .file-edit-action { position:absolute; right:10px; } form .head-action .submit-action .submit { display:inline; } form .head-action .submit-action input, form .head-action .file-edit-action a { border-radius:0; font-size:0; border:none; background:no-repeat transparent; height:18px; width:18px; display:inline-block; margin:3px; padding:0; cursor:pointer; } form .head-action .submit-action .saveAndQuit { background-image:url('../img/saveQuit_18.png'); } form .head-action .submit-action .save { background-image:url('../img/save_18.png'); } form .head-action .file-edit-action a.front { background-image:url('../img/app_18.png'); } form .head-action .file-edit-action a.admin { width:27px; background-image:url('../img/app_admin_18.png'); } form .head-action .file-edit-action a.layout { width:28px; background-image:url('../img/app_layout_18.png'); } .extension-item .icon img { max-width:75px; margin:auto; } .extension-item .icon { text-align:center; } .extension-item .name { text-align:center; font-size:11px; } .extension-item { cursor: pointer; padding:5px; border-radius:5px; background:#eeeeee; width:120px; } .extension-item { cursor: pointer; padding:5px; border-radius:5px; background:#eeeeee; width:120px; margin: 10px; } .extension-item:hover { background:#bbbbbb; } .extension-group { float:left; margin:25px; }
/********** * QuickEdit extension to YUI 2 DataTable * Author: [email protected] / John Lindal * @submodule QuickEdit * @class YAHOO.widget.QuickEditDataTable ***********/ (function(){ var lang = YAHOO.lang, Dom = YAHOO.util.Dom; /** * <p>The QuickEditDataTable class extends the DataTable class to * provide QuickEdit mode. (It could just as easily extend * ScrollingDataTable.) QuickEdit mode allows the user to edit all the * values that are visible in the table, controlled by the column * configuration. Each editable cell contains an input field. If the * user decides to save the changes, then you can extract the changes * by calling <code>getQuickEditChanges()</code>.</p> * * <p>For a column to be editable in QuickEdit mode, the column * configuration must include <code>quickEdit</code>. The contents of * this object define the column's behavior in QuickEdit mode.</p> * * <p>If a column should not be editable, but needs to be formatted * differently in QuickEdit mode, then you must define qeFormatter in * the column configuration. This is simply a normal cell formatter * function that will be used in QuickEdit mode. The static functions * <code>readonly*QuickEditFormatter</code> provide examples.</p> * * <p>The following configuration can be provided as part of * quickEdit:</p> * * <dl> * * <dt>copyDown</dt><dd>If true, the top cell in the column will have a * button to copy the value down to the rest of the rows.</dd> * * <dt>formatter</dt><dd>The cell formatter which will render an * appropriate form field: &lt;input type="text"&gt;, &lt;textarea&gt;, * or &lt;select&gt;.</dd> * * <dt>validation</dt><dd>Validation configuration for every field in * the column.</dd> * * </dl> * * <p>The following configuration can be provided as part of * quickEdit.validation:</p> * * <dl> * * <dt>css</dt><dd>CSS classes encoding basic validation rules. Note * that this will only work if you uncomment the call to * <code>validateFromCSSData()</code> inside * <code>_validateQuickEditElements()</code>.</dd> * * <dt>fn</dt><dd>A function that will be called with the DataTable as * its scope and the cell's form element as the argument. Return true * if the value is valid. Otherwise, call * this.displayQuickEditMessage(...) to display an error and return * false.</dd> * * <dt>msg</dt><dd>A map of types to messages that will be displayed * when a basic or regex validation rule fails. Currently, the only * valid type is regex. If you copy the implementation of * validateFromCSSData(), from FormManager in the YUI 3 Gallery, then * you will be able to specify more types: required, min_length, * max_length, integer, and decimal.</dd> * * <dt>regex</dt><dd>Regular expression that the value must satisfy in * order to be considered valid.</dd> * * </dl> * * <p>Custom QuickEdit Formatters</p> * * <p>To write a custom cell formatter for QuickEdit mode, you must * structure the function as follows:</p> * * <pre> * function myQuickEditFormatter(el, oRecord, oColumn, oData) { * &nbsp;&nbsp;var markup = * &nbsp;&nbsp;&nbsp;&nbsp;'&lt;input type="text" class="{yiv} yui-quick-edit yui-quick-edit-key:{key}"/&gt;' + * &nbsp;&nbsp;&nbsp;&nbsp;YAHOO.widget.QuickEditDataTable.MARKUP_QE_ERROR_DISPLAY; * * &nbsp;&nbsp;&nbsp;&nbsp;el.innerHTML = lang.substitute(markup, { * &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;key: oColumn.key, * &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;yiv: oColumn.quickEdit.validation ? (oColumn.quickEdit.validation.css || '') : '' * &nbsp;&nbsp;&nbsp;&nbsp;}); * * &nbsp;&nbsp;&nbsp;&nbsp;el.firstChild.value = extractMyEditableValue(oData); * * &nbsp;&nbsp;&nbsp;&nbsp;YAHOO.widget.QuickEditDataTable.copyDownFormatter.apply(this, arguments); * }; * </pre> * * <p>You can use textarea or select instead of input, but you can only * create a single field.</p> * * <p><code>extractMyEditableValue</code> does not have to be a separate * function nor must it be limited to using only oData. The work should * normally be done inline in the formatter function, but the name of * the sample function makes the point clear.</p> * * @module QuickEdit * @namespace YAHOO.widget * @class QuickEditDataTable * @extends YAHOO.widget.DataTable * @constructor * @param elContainer {HTMLElement} Container element for the TABLE. * @param aColumnDefs {Object[]} Array of object literal Column definitions. * @param oDataSource {YAHOO.util.DataSource} DataSource instance. * @param oConfigs {object} (optional) Object literal of configuration values. */ YAHOO.widget.QuickEditDataTable = function(elContainer,aColumnDefs,oDataSource,oConfigs) { YAHOO.widget.QuickEditDataTable.superclass.constructor.call(this, elContainer,aColumnDefs,oDataSource,oConfigs); this.hasQEMessages = false; }; var QEDT = YAHOO.widget.QuickEditDataTable, quick_edit_re = /yui-quick-edit-key:([^\s]+)/, qe_row_status_even_prefix = 'yui-quick-edit-even-has', qe_row_status_odd_prefix = 'yui-quick-edit-odd-has', qe_row_status_pattern = '(?:^|\\s)(?:yui-quick-edit-(even|odd)-has([a-z]+))(?= |$)', qe_row_status_re = new RegExp(qe_row_status_pattern), qe_cell_status_prefix = 'yui-quick-edit-has', qe_cell_status_pattern = '(?:^|\\s)(?:' + qe_cell_status_prefix + '([a-z]+))(?= |$)', qe_cell_status_re = new RegExp(qe_cell_status_pattern); QEDT.status_order = [ 'error', 'warn', 'success', 'info' ]; getStatusPrecedence = function( /* string */ status) { for (var i=0; i<QEDT.status_order.length; i++) { if (status == QEDT.status_order[i]) { return i; } } return QEDT.status_order.length; }; statusTakesPrecendence = function( /* string */ orig_status, /* string */ new_status) { return (!orig_status || getStatusPrecedence(new_status) < getStatusPrecedence(orig_status)); }; YAHOO.lang.extend( YAHOO.widget.QuickEditDataTable, YAHOO.widget.DataTable, { /** * Switch to QuickEdit mode. Columns that have quickEdit defined will * be editable. * * @method startQuickEdit */ startQuickEdit : function() { this.fireEvent('clearErrorNotification'); if (YAHOO.lang.isFunction(this.collapseAllRows)) { this.collapseAllRows(); } var cols = this.getColumnSet().keys; this.qeSaveSort = []; this.qeSaveEdit = {}; this.qeSaveFmt = {}; var sortable = false; for (var i=0; i<cols.length; i++) { var col = cols[i]; sortable = sortable || col.sortable; this.qeSaveSort.push(col.sortable); col.sortable = false; this.qeSaveEdit[ col.key ] = col.editor; col.editor = null; if (!col.hidden && (col.quickEdit || col.qeFormatter)) { var fn; if (col.quickEdit && lang.isFunction(col.quickEdit.formatter)) { fn = col.quickEdit.formatter; } else if (lang.isFunction(col.qeFormatter)) { fn = col.qeFormatter; } else { fn = QEDT.textQuickEditFormatter; } if (fn) { var fmt = this._wrapQuickEditFormatter(fn, col.formatter); this.qeSaveFmt[col.key] = col.formatter; col.formatter = fmt; } } } Dom.addClass(this.getContainerEl(), 'yui-dt-quick-edit'); this.subscribe('tbodyKeyEvent', this._moveQuickEditFocus, null, this); var pg = this.get('paginator'); if (pg) { var c = pg.get('containers'); if (!(c instanceof Array)) { c = [c]; } for (var i=0; i<c.length; i++) { Dom.setStyle(c[i], 'display', 'none'); } } if (sortable) { this._initTheadEl(); } this.render(); }, _wrapQuickEditFormatter : function(editFmt, origFmt) { return function(el, oRecord, oColumn, oData) { if (oRecord) { editFmt.apply(this, arguments); } else { origFmt.apply(this, arguments); } }; }, /** * Switch out of QuickEdit mode. THIS DISCARDS ALL DATA! If you * want to save the data, call getQuickEditChanges() BEFORE calling * this function. * * @method cancelQuickEdit */ cancelQuickEdit : function() { this.fireEvent('clearErrorNotification'); var cols = this.getColumnSet().keys; var sortable = false; for (var i=0; i<cols.length; i++) { var col = cols[i]; col.sortable = this.qeSaveSort[i]; sortable = sortable || col.sortable; col.editor = this.qeSaveEdit[ col.key ]; } delete this.qeSaveSort; delete this.qeSaveEdit; for (var key in this.qeSaveFmt) { if (lang.hasOwnProperty(this.qeSaveFmt, key)) { var col = this.getColumn(key); col.formatter = this.qeSaveFmt[key]; } } delete this.qeSaveFmt; Dom.removeClass(this.getContainerEl(), 'yui-dt-quick-edit'); this.unsubscribe('tbodyKeyEvent', this._moveQuickEditFocus); var pg = this.get('paginator'); if (pg) { var c = pg.get('containers'); if (!(c instanceof Array)) { c = [c]; } for (var i=0; i<c.length; i++) { Dom.setStyle(c[i], 'display', 'block'); } } if (sortable) { this._initTheadEl(); } this.render(); }, /** * Return the changed values. For each row, an object is created * with only the changed values. The object keys are the column keys. * * @method getQuickEditChanges * @return {mixed} array if all validation passed, false otherwise */ getQuickEditChanges : function() { if (!this.validateQuickEdit()) { return false; } var changes = []; var tr = this.getFirstTrEl(); while (tr) { var rec = this.getRecord(tr); var list = Dom.getElementsByClassName(quick_edit_re, null, tr); var change = {}; changes.push(change); for (var i=0; i<list.length; i++) { var m = quick_edit_re.exec(list[i].className); var key = m[1]; var col = this.getColumn(key); var prev = rec.getData(key); var val = list[i].value; if (col.parser) { val = col.parser.call(this, val); } if (col.quickEditChanged ? col.quickEditChanged(prev, val) : val !== (prev ? prev.toString() : '')) { change[key] = val; } } tr = this.getNextTrEl(tr); } return changes; }, /** * Copy value from first cell to all other cells in the column. * * @method _quickEditCopyDown * @param e {Event} triggering event * @param cell {Element} cell from which to copy * @private */ _quickEditCopyDown : function( /* event */ e, /* element */ cell) { var list = Dom.getElementsByClassName(quick_edit_re, null, cell); if (!list || !list.length) { return; } var value = list[0].value; while (1) { cell = this.getBelowTdEl(cell); if (!cell) { break; } list = Dom.getElementsByClassName(quick_edit_re, null, cell); if (list && list.length) { list[0].value = value; } } }, /** * Validate the QuickEdit data. * * @method validateQuickEdit * @return {boolean} true if all validation checks pass */ validateQuickEdit : function() { this.clearQuickEditMessages(); var status = true; var e1 = this.getTbodyEl().getElementsByTagName('input'); var e2 = this.getTbodyEl().getElementsByTagName('textarea'); var e3 = this.getTbodyEl().getElementsByTagName('select'); status = this._validateQuickEditElements(e1) && status; // status last to guarantee call status = this._validateQuickEditElements(e2) && status; status = this._validateQuickEditElements(e3) && status; if (!status) { this.fireEvent('notifyErrors'); } return status; }, /** * Validate the given form fields. * * @method _validateQuickEditElements * @param e {Array} Array of form fields. * @return {boolean} true if all validation checks pass * @private */ _validateQuickEditElements : function( /* array */ e) { var status = true; for (var i=0; i<e.length; i++) { var col = this.getColumn(e[i]); if (!col.quickEdit) { continue; } var msg_list = col.quickEdit.validation ? col.quickEdit.validation.msg : null; /* // see yui3-gallery:gallery-formmgr for an example of validateFromCSSData() var info = validateFromCSSData(e[i], msg_list); if (info.error) { this.displayQuickEditMessage(e[i], info.error, 'error'); status = false; } if (!info.keepGoing) { continue; } */ if (col.quickEdit.validation && col.quickEdit.validation.regex instanceof RegExp && !col.quickEdit.validation.regex.test(e[i].value)) { this.displayQuickEditMessage(e[i], msg_list ? msg_list.regex : null, 'error'); status = false; continue; } if (col.quickEdit.validation && lang.isFunction(col.quickEdit.validation.fn) && !col.quickEdit.validation.fn.call(this, e[i])) { status = false; continue; } } return status; }, /** * Clear all validation messages in QuickEdit mode. * * @method clearQuickEditMessages */ clearQuickEditMessages : function() { this.hasQEMessages = false; this.fireEvent('clearErrorNotification'); var list = Dom.getElementsByClassName(qe_row_status_re, null, this.getTbodyEl()); Dom.removeClass(list, qe_row_status_re); list = Dom.getElementsByClassName(qe_cell_status_re, null, this.getTbodyEl()); Dom.removeClass(list, qe_cell_status_re); for (var i=0; i<list.length; i++) { var m = Dom.getElementsByClassName(QEDT.CLASS_QE_ERROR_TEXT, null, list[i]); if (m && m.length > 0) { m[0].innerHTML = ''; } } }, /** * Display a message for a QuickEdit field. If an existing message with * a higher precedence is already visible, it will not be replaced. * * @method displayQuickEditMessage * @param e {Element} form field * @param msg {String} message to display * @param type {String} message type: error, warn, success, info * @param scroll {boolean} If false, does not scroll, even if this is the first message to display. */ displayQuickEditMessage : function( /* element */ e, /* string */ msg, /* string */ type, /* boolean */ scroll) { if (lang.isUndefined(scroll)) { scroll = true; } var row = this.getTrEl(e); if (statusTakesPrecendence(this._getQuickEditElementStatus(row, qe_row_status_re), type)) { if (!this.hasQEMessages && scroll) { this.getFirstTdEl(row).scrollIntoView(); } if (Dom.hasClass(row, 'yui-dt-even')) { Dom.replaceClass(row, qe_row_status_re, qe_row_status_even_prefix + type); } else { Dom.replaceClass(row, qe_row_status_re, qe_row_status_odd_prefix + type); } this.hasQEMessages = true; } var cell = this.getTdEl(e); if (statusTakesPrecendence(this._getQuickEditElementStatus(cell, qe_cell_status_re), type)) { if (msg) { var m = Dom.getElementsByClassName(QEDT.CLASS_QE_ERROR_TEXT, null, cell); if (m && m.length > 0) { m[0].innerHTML = msg; } } Dom.replaceClass(cell, qe_cell_status_re, qe_cell_status_prefix + type); this.hasQEMessages = true; } }, /** * Return the status of the field. * * @method _getQuickEditElementStatus * @param e {Element} form field * @param r {RegExp} regex to match against className * @private */ _getQuickEditElementStatus : function( /* string/object */ e, /* regex */ r) { var m = e.className.match(r); return ((m && m.length) ? m[1] : false); }, /** * Shift the focus up/down within a column. * * @method _moveQuickEditFocus * @private */ _moveQuickEditFocus : function(data) { var e = data.event; var key = YAHOO.util.Event.getCharCode(e); if (e.ctrlKey && (key == 38 || key == 40)) { // Ctrl-up/down var target = YAHOO.util.Event.getTarget(e); var cell = (key == 38 ? this.getAboveTdEl(target) : this.getBelowTdEl(target)); if (cell) { var input = Dom.getElementsByClassName(quick_edit_re, null, cell)[0]; if (input) { input.focus(); input.select(); YAHOO.util.Event.stopEvent(e); } } } } }); YAHOO.lang.augmentObject(YAHOO.widget.QuickEditDataTable, { CLASS_QE_ERROR_TEXT : 'yui-quick-edit-message-text', MARKUP_QE_ERROR_DISPLAY : '<div class="yui-quick-edit-message-text"></div>', /** * Called with exactly the same arguments as any other cell * formatter, this function displays an input field. * * @method textQuickEditFormatter * @static */ textQuickEditFormatter : function(el, oRecord, oColumn, oData) { var markup = '<input type="text" class="{yiv} yui-quick-edit yui-quick-edit-key:{key}"/>' + QEDT.MARKUP_QE_ERROR_DISPLAY; el.innerHTML = lang.substitute(markup, { key: oColumn.key, yiv: oColumn.quickEdit.validation ? (oColumn.quickEdit.validation.css || '') : '' }); el.firstChild.value = oData; QEDT.copyDownFormatter.apply(this, arguments); }, /** * Called with exactly the same arguments as any other cell * formatter, this function displays a textarea field. * * @method textareaQuickEditFormatter * @static */ textareaQuickEditFormatter : function(el, oRecord, oColumn, oData) { var markup = '<textarea class="{yiv} yui-quick-edit yui-quick-edit-key:{key}"/>' + QEDT.MARKUP_QE_ERROR_DISPLAY; el.innerHTML = lang.substitute(markup, { key: oColumn.key, yiv: oColumn.quickEdit.validation ? (oColumn.quickEdit.validation.css || '') : '' }); el.firstChild.value = oData; QEDT.copyDownFormatter.apply(this, arguments); }, /** * Called with exactly the same arguments as any other cell * formatter, this function displays an email address without the * anchor tag. Use this as the column's qeFormatter if the column * should not be editable in QuickEdit mode. * * @method readonlyLinkQuickEditFormatter * @static */ readonlyEmailQuickEditFormatter : function(el, oRecord, oColumn, oData) { el.innerHTML = (oData ? oData : ''); }, /** * Called with exactly the same arguments as any other cell * formatter, this function displays a link without the anchor tag. * Use this as the column's qeFormatter if the column should not be * editable in QuickEdit mode. * * @method readonlyLinkQuickEditFormatter * @static */ readonlyLinkQuickEditFormatter : function(el, oRecord, oColumn, oData) { el.innerHTML = oData; }, /** * Called with exactly the same arguments as a normal cell * formatter, this function inserts a "Copy down" button if the * cell is in the first row of the DataTable. Call this at the end * of your QuickEdit formatter. * * @method copyDownFormatter * @static */ copyDownFormatter : function(el, oRecord, oColumn, oData) { if (oColumn.quickEdit.copyDown && this.getRecordSet().getRecordIndex(oRecord) == this.getState().pagination.recordOffset) { var button = document.createElement('button'); button.title = 'Copy down'; button.innerHTML = '&darr;' var msg = Dom.getElementsByClassName(QEDT.CLASS_QE_ERROR_TEXT, null, el)[0]; el.insertBefore(button, msg); YAHOO.util.Event.on(button, 'click', this._quickEditCopyDown, el, this); } } }); })();
/** * Copyright (C) 2001-2019 by RapidMiner and the contributors * * Complete list of developers available at our web site: * * http://rapidminer.com * * This program is free software: you can redistribute it and/or modify it under the terms of the * GNU Affero General Public License as published by the Free Software Foundation, either version 3 * of the License, or (at your option) any later version. * * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License along with this program. * If not, see http://www.gnu.org/licenses/. */ package com.rapidminer.parameter; import com.rapidminer.operator.ports.InputPort; import com.rapidminer.operator.ports.metadata.AttributeMetaData; import com.rapidminer.tools.Ontology; import com.rapidminer.tools.XMLException; import org.w3c.dom.Element; /** * A parameter type for ordering rules of attributes. This parameter type has been introduced to * allow a different cell rendered for this class. * * @author Nils Woehler */ public class ParameterTypeAttributeOrderingRules extends ParameterTypeAttribute { private static final long serialVersionUID = 1L; public ParameterTypeAttributeOrderingRules(Element element) throws XMLException { super(element); } public ParameterTypeAttributeOrderingRules(final String key, String description, InputPort inPort) { this(key, description, inPort, true, Ontology.ATTRIBUTE_VALUE); } public ParameterTypeAttributeOrderingRules(final String key, String description, InputPort inPort, int... valueTypes) { this(key, description, inPort, true, valueTypes); } public ParameterTypeAttributeOrderingRules(final String key, String description, InputPort inPort, boolean optional) { this(key, description, inPort, optional, Ontology.ATTRIBUTE_VALUE); } public ParameterTypeAttributeOrderingRules(final String key, String description, InputPort inPort, boolean optional, int... valueTypes) { super(key, description, inPort, optional, valueTypes); } public ParameterTypeAttributeOrderingRules(final String key, String description, InputPort inPort, boolean optional, boolean expert) { this(key, description, inPort, optional); setExpert(expert); } @Override protected boolean isFilteredOut(AttributeMetaData amd) { if (amd.isSpecial()) { return true; } return super.isFilteredOut(amd); } }
import React, { Suspense, useState } from "react" import { makeStyles } from "@material-ui/core/styles" import CircularProgress from "@material-ui/core/CircularProgress" import Grid from "@material-ui/core/Grid" import Header from "./Header" import Alert from "@material-ui/lab/Alert" import FeedCards from "./FeedCards" import ReactTooltip from "react-tooltip" import { login, logout } from "../utils/firebase" const useStyles = makeStyles(theme => ({ root: { display: "flex", flexDirection: "column", flexGrow: 1, background: `url(${process.env.PUBLIC_URL}/bg.jpg)` }, tooltip: { maxWidth: "400px" } })) function App() { const classes = useStyles() const [isAuth, setAuth] = useState(false) const [showAlert, setShowAlert] = useState<string | null>(null) const handleLogin = async (user: firebase.User | null) => { try { if (!!showAlert) { setShowAlert(null) } if (!isAuth) { setAuth(!!user || (await login())) } } catch (error) { console.error(error) setShowAlert("Login failed") } } const handleLogout = async () => { try { await logout() setAuth(false) } catch (error) { console.error(error) setShowAlert("Logout failed") } } return ( <div className={classes.root}> <Suspense fallback={ <Grid container className={classes.root} justify="center" alignItems="center"> <CircularProgress /> </Grid> } > <Header onLogin={handleLogin} onLogout={handleLogout} /> <Suspense fallback={ <Grid container className={classes.root} justify="center" alignItems="center"> <CircularProgress /> </Grid> } > {isAuth && <FeedCards />} <ReactTooltip className={classes.tooltip} multiline={true} scrollHide={true} /> {showAlert && <Alert severity="error">{showAlert}</Alert>} </Suspense> </Suspense> </div> ) } export default App
/* * Copyright (C) 2012 The Android Open Source Project * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * * Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * * Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in * the documentation and/or other materials provided with the * distribution. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT * LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS * FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE * COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS * OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT * OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. */ extern void __cxa_finalize(void *); extern void *__dso_handle; __attribute__((visibility("hidden"),destructor)) void __on_dlclose() { __cxa_finalize(&__dso_handle); } /* CRT_LEGACY_WORKAROUND should only be defined when building * this file as part of the platform's C library. * * The C library already defines a function named 'atexit()' * for backwards compatibility with older NDK-generated binaries. * * For newer ones, 'atexit' is actually embedded in the C * runtime objects that are linked into the final ELF * binary (shared library or executable), and will call * __cxa_atexit() in order to un-register any atexit() * handler when a library is unloaded. * * This function must be global *and* hidden. Only the * code inside the same ELF binary should be able to access it. */ #ifdef CRT_LEGACY_WORKAROUND # include "__dso_handle.h" #else # include "__dso_handle_so.h" # include "atexit.h" #endif #ifdef __i386__ # include "../../arch-x86/bionic/__stack_chk_fail_local.h" #endif
<!DOCTYPE html> <html lang="en-US"> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_caption_default_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:47:19 GMT --> <head> <title>Tryit Editor v2.3</title> <meta id="viewport" name='viewport'> <script> (function() { if ( navigator.userAgent.match(/iPad/i) ) { document.getElementById('viewport').setAttribute("content", "width=device-width, initial-scale=0.9"); } }()); </script> <link rel="stylesheet" href="../trycss.css"> <!--[if lt IE 8]> <style> .textareacontainer, .iframecontainer {width:48%;} .textarea, .iframe {height:800px;} #textareaCode, #iframeResult {height:700px;} .menu img {display:none;} </style> <![endif]--> <script> (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) })(window,document,'script','../../www.google-analytics.com/analytics.js','ga'); ga('create', 'UA-3855518-1', 'auto'); ga('require', 'displayfeatures'); ga('send', 'pageview'); </script> <script> var googletag = googletag || {}; googletag.cmd = googletag.cmd || []; (function() { var gads = document.createElement('script'); gads.async = true; gads.type = 'text/javascript'; var useSSL = 'https:' == document.location.protocol; gads.src = (useSSL ? 'https:' : 'http:') + '//www.googletagservices.com/tag/js/gpt.js'; var node = document.getElementsByTagName('script')[0]; node.parentNode.insertBefore(gads, node); })(); </script> <script> googletag.cmd.push(function() { googletag.defineSlot('/16833175/TryitLeaderboard', [[728, 90], [970, 90]], 'div-gpt-ad-1383036313516-0').addService(googletag.pubads()); googletag.pubads().setTargeting("content","trytags"); googletag.pubads().enableSingleRequest(); googletag.enableServices(); }); </script> <script type="text/javascript"> function submitTryit() { var t=document.getElementById("textareaCode").value; t=t.replace(/=/gi,"w3equalsign"); var pos=t.search(/script/i) while (pos>0) { t=t.substring(0,pos) + "w3" + t.substr(pos,3) + "w3" + t.substr(pos+3,3) + "tag" + t.substr(pos+6); pos=t.search(/script/i); } if ( navigator.userAgent.match(/Safari/i) ) { t=escape(t); document.getElementById("bt").value="1"; } document.getElementById("code").value=t; document.getElementById("tryitform").action="tryit_view52a0.html?x=" + Math.random(); validateForm(); document.getElementById("iframeResult").contentWindow.name = "view"; document.getElementById("tryitform").submit(); } function validateForm() { var code=document.getElementById("code").value; if (code.length>8000) { document.getElementById("code").value="<h1>Error</h1>"; } } </script> <style> </style> </head> <body> <div id="ads"> <div style="position:relative;width:100%;margin-top:0px;margin-bottom:0px;"> <div style="width:974px;height:94px;position:relative;margin:0px;margin-top:5px;margin-bottom:5px;margin-right:auto;margin-left:auto;padding:0px;overflow:hidden;"> <!-- TryitLeaderboard --> <div id='div-gpt-ad-1383036313516-0' style='width:970px; height:90px;'> <script type='text/javascript'> googletag.cmd.push(function() { googletag.display('div-gpt-ad-1383036313516-0'); }); </script> </div> <div style="clear:both"></div> </div> </div> </div> <div class="container"> <div class="textareacontainer"> <div class="textarea"> <div class="headerText" style="width:auto;float:left;">Edit This Code:</div> <div class="headerBtnDiv" style="width:auto;float:right;margin-top:8px;margin-right:2.4%;"><button class="submit" type="button" onclick="submitTryit()">See Result &raquo;</button></div> <div class="textareawrapper"> <textarea autocomplete="off" class="code_input" id="textareaCode" wrap="logical" xrows="30" xcols="50"><!DOCTYPE html> <html> <head> <style> table,th,td { border:1px solid black; } caption { display: table-caption; text-align: center; } </style> </head> <body> <p>A caption element is displayed like this:</p> <table> <caption>Monthly savings</caption> <tr> <th>Month</th> <th>Savings</th> </tr> <tr> <td>January</td> <td>$100</td> </tr> <tr> <td>February</td> <td>$50</td> </tr> </table> <p>Change the default CSS settings to see the effect.</p> </body> <!-- Mirrored from www.w3schools.com/tags/tryit.asp?filename=tryhtml_caption_default_css by HTTrack Website Copier/3.x [XR&CO'2014], Fri, 23 Jan 2015 07:47:19 GMT --> </html> </textarea> <form autocomplete="off" style="margin:0px;display:none;" action="http://www.w3schools.com/tags/tryit_view.asp" method="post" target="view" id="tryitform" name="tryitform" onsubmit="validateForm();"> <input type="hidden" name="code" id="code" /> <input type="hidden" id="bt" name="bt" /> </form> </div> </div> </div> <div class="iframecontainer"> <div class="iframe"> <div class="headerText resultHeader">Result:</div> <div class="iframewrapper"> <iframe id="iframeResult" class="result_output" frameborder="0" name="view" xsrc="tryhtml_caption_default_css.html"></iframe> </div> <div class="footerText">Try it Yourself - &copy; <a href="../index.html">w3schools.com</a></div> </div> </div> </div> <script>submitTryit()</script> </body> </html>
--- layout: global title: Upgrading from 1.x to 2.x nickname: Upgrading from 1.x to 2.x group: Operations priority: 10 --- This document goes over how to upgrade from Alluxio 1.x to Alluxio 2.x ## Upgrade to 1.8.1 and create a backup alluxio-1.8.1 introduced a journal backup feature. With a 1.8.1 master running, create a journal backup by running ```console $ ./bin/alluxio fsadmin backup ``` This will print something like ``` Successfully backed up journal to ${BACKUP_PATH} ``` `${BACKUP_PATH}` will be determined by the date, and the configuration of your journal. ## Upgrade to 2.x and start from backup Next, download and untar alluxio-2.x. First format the cluster with ```console $ ./bin/alluxio format ``` Then start the cluster with the `-i ${BACKUP_PATH}` argument, replacing `${BACKUP_PATH}` with your specific backup path. ```console $ ./bin/alluxio-start.sh -i ${BACKUP_PATH} all ``` ## Upgrade Clients and Servers Alluxio 2.x makes significant changes in the RPC layer, so pre-2.0.0 clients do not work with post-2.0.0 servers, and vice-versa. Upgrade all applications to use the alluxio-2.x client.
I was over the moon when they asked me to do a couple's session! We went to the Genessee Theater in Waukegan, Illinois, for a session for just the two of them. Tuyen's dress is incredibly flattering and she looked like a movie star. Krevon always has me cracking up during our sessions, and this time was no different. He is always making jokes or funny faces right before I click away. Each smile on Tuyen's face is one of mirth and happiness. No forcing smiles for this couple! Both Tuyen and Krevon grew up in Chicago. They have been married for five years now. This couple's session was a perfect time to reminisce on where their love story started. Truyen told me about how they were laying around, watching TV, and he looked over at her and asked, "Will you marry me?". She said "really?" and once he confirmed he was serious, the game was on. They had never even talked about marriage before that, but three months later they had a big old wedding with 150 guests! Tuyen planned the whole thing even though she was in her senior year of college. This couple never has a shortage of funny stories, and the day of their wedding, Truyen forgot to pick up her bouquet! It was HOURS away, but a cousin on their way to the wedding turned around and got the bouquet for her. That's good family for sure. This couple's session was so much fun to do with a family I've watched grow. I hope every time I'm up in Chicago I can do a session with these two and their adorable baby!
adjusting the percentage of employees who must be covered by employers beginning in 2015. Treasury Department officials will give businesses with fewer than 100 full-time employees – but more than 50 – an extra year to fully implement health insurance coverage for employees who exceed the per-week workload of 30 hours. These employers will not be subject to penalties until 2016. However, those employing 100 or more full-time workers will remain subject to the coverage rules beginning Jan. 1, 2015. Companies with fewer than 50 full-time employees are still exempt from the mandate. The second drastic change states that starting in 2015, employers subject to the mandate will be required to offer affordable coverage to at least 70 percent of full-time workers, down from the original requirement of 95 percent. However, come 2016, the rate returns to 95 percent. Officials also released clarification as to whether certain employees are considered full-time, including teachers and government or tax-exempt entity volunteers, such as volunteer firefighters and adjunct professors who teach less than 15 hours per week. According to a rule released Monday, these individuals will not be considered full-time. $2,000 per the total number of full-time employees, not counting the first 30. The ACA’s original mandate to provide affordable health care coverage first was delayed from 2014 to 2015 on July 2, 2013. Stay tuned, as more changes to the ACA are likely to occur. Recently, the House Ways and Means Committee recently approved House Bill 2575, which amends the ACA definition of a full-time employee from 30 hours to 40 hours. The bill still has a ways to go before becoming official.
After 11 draws, will this be the decisive game? If this game will end in another draw, then rapid and blitz will decide the match. Indeed, with Carlson's position ad the end of the game, he could cook Caruana slowly over a low heat. Draw is surprising in that position. It is fair to say that both have not hidden. Sharp opening and exciting middlegame. Exchange of blows with open visor. High rish on both sides and an evolving middlegame with advantage for Carlson. He feels very safe for Wednesday. He can too. But surprises are not excluded.
<?php // dump function d() { foreach (func_get_args() as $arg) var_dump($arg); //foreach (func_get_args() as $arg) echo "<pre>" . print_r($arg, true) . "</pre>"; } // dump and die function dd() { foreach (func_get_args() as $arg) d($arg); exit; } // url function url($url = "/") { return APP_URL . "/" . ltrim($url, "/"); } // redirect function redirect($page = "/", $status_code = 301) { $page = str_replace(APP_URL, '', $page); $page = ltrim($page, '/'); $location = APP_URL . "/" . $page; $codes = array( 301 => "Moved Permanently", 302 => "Found", 303 => "See Other", 307 => "Temporary Redirect", ); if (!isset($codes[$status_code])) $status_code = 301; header("Location: " . $location, true, $status_code); header("Connection: close"); exit; } function plain($string) { return htmlspecialchars($string, ENT_QUOTES); // potencialne nebezpečné, poradil Luboš Beran //return htmlentities($string, ENT_QUOTES); } function heal_output($x = null) { if (!isset($x)) { return null; } else if (is_string($x)) { return plain($x); } else if (is_array($x)) { foreach ($x as $k => $v) { $x[$k] = heal_output($v); } return $x; } return $x; } function is_post_request() { return (isset($_SERVER["REQUEST_METHOD"]) && strtolower($_SERVER["REQUEST_METHOD"]) === "post"); } function is_ajax_request() { return (isset($_SERVER['HTTP_X_REQUESTED_WITH']) && strtolower($_SERVER['HTTP_X_REQUESTED_WITH']) === 'xmlhttprequest'); } // zobrazí stránku function show_page($view) { if (!file_exists($file = APP_PATH . "/_app/pages/" . $view . ".php")) { exit("Page file ${file} not found."); } /** @noinspection PhpIncludeInspection */ include($file); } // zobrazí stránku 404 function show_404() { header("HTTP/1.0 404 Not Found"); if (!file_exists($file = APP_PATH . "/_app/pages/error/error-404.php")) { exit("Page file ${file} not found (and page also not found)."); } /** @noinspection PhpIncludeInspection */ include $file; exit; } // pridá layout na stránku function add_layout($layout, $data = array()) { if (!file_exists($file = APP_PATH . "/_app/layouts/" . $layout . ".php")) { exit("Layout file ${file} not found."); } extract(heal_output($data)); extract($data, EXTR_PREFIX_ALL, ""); /** @noinspection PhpIncludeInspection */ include($file); } // vráti segmenty v url pre segment() funkciu function get_segments() { // najprv vyskladáme aktuálnu url adresu $current_url = "http"; $current_url .= ((isset($_SERVER['HTTPS']) && $_SERVER['HTTPS'] == "on") ? "s://" : "://"); $current_url .= $_SERVER['HTTP_HOST']; $current_url .= $_SERVER['REQUEST_URI']; // odstránime z nej nepotrebnú časť url nastavenú v config súbore ako APP_URL $path = str_replace(APP_URL, "", $current_url); // naparsujeme cestu ktorá nam ostala, a odstránime z nej nepotrebné lomítka na začiatku a na konci $path = trim(parse_url($path, PHP_URL_PATH), '/'); // rozbijeme cestu na segmenty podľa lomítok $segments = explode('/', $path); // vrátime segmenty return $segments; } // funkcia vracia segment podľa indexu, alebo false ak segment s takým indexom neexistuje function segment($index) { // získame segmenty $segments = get_segments(); // ak segment s daným indexom existuje, vrátime ho, inak vrátime false return isset($segments[$index - 1]) ? $segments[$index - 1] : false; } // funkcia ktorá pridá novú správu do session function add_message($message) { if (!has_messages()) $_SESSION["messages"] = array(); $_SESSION["messages"][] = $message; } // funkcia ktorá pridá novú chybovú správu do session function add_message_error($message) { add_message("Chyba aplikácie: " . $message); } // funkcia ktorá vyberie správy zo session function get_messages() { if (!has_messages()) return array(); $messages = $_SESSION["messages"]; unset($_SESSION["messages"]); return $messages; } // funkcia zisťuje či máme v session pole pre správy function has_messages() { return (isset($_SESSION["messages"]) && is_array($_SESSION["messages"])); }
Singla S., Sharma, M., Anand, H.P. and Mittal, P. Objectives: To study Lower Uterine Segment cesarean scar using transabdominal ultrasound and clinical parameters in previous cesarean section antenatally at term. To study the physical nature of scar at repeat section and find the association between preoperative and intraoperative evaluation. Methods: This was a cross sectional observational study undertaken in VMMC & SJH, New Delhi. One twenty six women with previous cesarean section were enrolled in the study to evaluate the correlation between clinical and ultrasonographic parameters determined antenatally with the physical nature of scar intraoperatively. Results and Conclusions: In the study, the women with ICP≤2 years, had significantly weaker scar (grade III/IV=55.56%). In women with post operative wound sepsis in previous LSCS, especially the one’s who underwent healing of wound by secondary intention were found to have a higher incidence of weaker scar (grade III/IV=33.4%). A higher percentage of weaker scar,i.e. 34.7% was found in women with maternal tachycardia >100 per minute and 88.89% in women with scar tenderness in peripartum period. Using the ROC curve a cut off of 2.4mm was derived for LUS USG scar thickness. Association of TAS USG LUS scar thickness and per operative grade of scar was found to be significant (p=0.0003). The study revealed a short ICP≤2 years, healing of previous scar by secondary intention, pulse rate>100, scar tenderness, scar thickness<2.4mm, adversely affect the scar, recommending avoidance of TOLAC in such cases. Scar thickness should be measured routinely using TAS USG.
#define PARAM_FILE_COUNTER 0x38 #define PARAM_EXPOSURE_COUNTER 0x02 #include "platform.h" const ApertureSize aperture_sizes_table[] = { { 9, 352, "3.4" }, { 10, 384, "4.0" }, { 11, 416, "4.5" }, { 12, 448, "5.0" }, { 13, 480, "5.6" }, { 14, 512, "6.3" }, { 15, 544, "7.1" }, { 16, 576, "8.0" } }; const ShutterSpeed shutter_speeds_table[] = { { -12, -384, "15", 15000000 }, { -11, -352, "13", 13000000 }, { -10, -320, "10", 10000000 }, { -9, -288, "8", 8000000 }, { -8, -256, "6", 6000000 }, { -7, -224, "5", 5000000 }, { -6, -192, "4", 4000000 }, { -5, -160, "3.2", 3200000 }, { -4, -128, "2.5", 2500000 }, { -3, -96, "2", 2000000 }, { -2, -64, "1.6", 1600000 }, { -1, -32, "1.3", 1300000 }, { 0, 0, "1", 1000000 }, { 1, 32, "0.8", 800000 }, { 2, 64, "0.6", 600000 }, { 3, 96, "0.5", 500000 }, { 4, 128, "0.4", 400000 }, { 5, 160, "0.3", 300000 }, { 6, 192, "1/4", 250000 }, { 7, 224, "1/5", 200000 }, { 8, 256, "1/6", 166667 }, { 9, 288, "1/8", 125000 }, { 10, 320, "1/10", 100000 }, { 11, 352, "1/13", 76923 }, { 12, 384, "1/15", 66667 }, { 13, 416, "1/20", 50000 }, { 14, 448, "1/25", 40000 }, { 15, 480, "1/30", 33333 }, { 16, 512, "1/40", 25000 }, { 17, 544, "1/50", 20000 }, { 18, 576, "1/60", 16667 }, { 19, 608, "1/80", 12500 }, { 20, 640, "1/100", 10000 }, { 21, 672, "1/125", 8000 }, { 22, 704, "1/160", 6250 }, { 23, 736, "1/200", 5000 }, { 24, 768, "1/250", 4000 }, { 25, 800, "1/320", 3125 }, { 26, 832, "1/400", 2500 }, { 27, 864, "1/500", 2000 }, { 28, 896, "1/640", 1563 }, { 29, 928, "1/800", 1250 }, { 30, 960, "1/1000", 1000 }, { 31, 992, "1/1250", 800 }, { 32, 1024, "1/1600", 625 }, { 33, 1056, "1/2000", 500 }, { 34, 1088, "1/2500", 400 }, // { 35, 1120, "1/3200", 313 }, }; const ISOTable iso_table[] = { { -1, 1, "HI", -1}, { 0, 0, "Auto", -1}, { 1, 80, "80", -1}, { 2, 100, "100", -1}, { 3, 200, "200", -1}, { 4, 400, "400", -1}, { 5, 800, "800", -1}, { 6, 1600, "1600", -1}, { 7, 3200, "3200", -1}, }; /* http://www.usa.canon.com/consumer/controller?act=ModelInfoAct&fcategoryid=225&modelid=18329#ModelTechSpecsAct Shooting Modes Auto, P, Av, Tv, M, Portrait, Landscape, Special Scene (Foliage, Snow, Beach, Sunset, Fireworks, Aquarium, Night Scene, ISO 3200, Color Accent, Color Swap, Stitch Assist), Super Macro, Indoor, Kids & Pets, Night Snapshot, Movie Movie: High Definition: 1280 x 720 (30 fps); Standard Definition: 640 x 480 (30 fps), 320 x 240 (30 fps) canon mode list FFB6D0A4 in 100c */ const CapturemodeMap modemap[] = { { MODE_AUTO, 32768 }, { MODE_P, 32772 }, { MODE_TV, 32771 }, { MODE_AV, 32770 }, { MODE_M, 32769 }, { MODE_EASY, 33311 }, // not mentioned in web specs, but in manual and mode list { MODE_PORTRAIT, 32781 }, { MODE_NIGHT_SNAPSHOT, 32779 }, { MODE_LANDSCAPE, 32780 }, { MODE_VIDEO_COLOR_ACCENT, 2599 }, { MODE_VIDEO_COLOR_SWAP, 2600 }, { MODE_VIDEO_STD, 2601 }, { MODE_KIDS_PETS, 32784 }, { MODE_INDOOR, 32785 }, { MODE_SUNSET, 16402 }, { MODE_NIGHT_SCENE, 16398 }, { MODE_FIREWORK, 16406 }, { MODE_BEACH, 16405 }, { MODE_AQUARIUM, 16408 }, { MODE_FOLIAGE, 16403 }, { MODE_SNOW, 16404 }, { MODE_ISO_3200, 16413 }, { MODE_COLOR_ACCENT, 16923 }, { MODE_COLOR_SWAP, 16924 }, { MODE_STITCH, 16906 } }; #include "../generic/shooting.c" long get_file_next_counter() { return get_file_counter(); } long get_target_file_num() { long n; n = get_file_next_counter(); n = (n>>4)&0x3FFF; return n; } long get_target_dir_num() { long n; n = get_file_next_counter(); n = (n>>18)&0x3FF; return n; }
--- author: Jess_run comments: true date: 2012-04-08 17:39:39+00:00 layout: post slug: were-doomed title: We're Doomed wordpress_id: 20427 categories: - General post_format: - Quote tags: - homer - the illiad - troy --- <blockquote>I’ll tell you a secret. Something they don’t teach you in your temple. The Gods envy us. They envy us because we’re mortal, because any moment might be our last. Everything is more beautiful because we’re doomed. You will never be lovelier than you are now. We will never be here again.</blockquote> _Troy_ based on _The Illiad _by Homer
<?php return [ 'error-404' => 'Error 404', 'info' => 'La pagina no Existe !', 'button' => 'Inicio' ];
# Bigelowia graveolens var. albicaulis (Nutt.) A.Gray VARIETY #### Status SYNONYM #### According to The Catalogue of Life, 3rd January 2011 #### Published in null #### Original name null ### Remarks null
Rails.application.routes.draw do # The priority is based upon order of creation: first created -> highest priority. # See how all your routes lay out with "rake routes". # You can have the root of your site routed with "root" root 'home#index' # Example of regular route: # get 'products/:id' => 'catalog#view' # Example of named route that can be invoked with purchase_url(id: product.id) # get 'products/:id/purchase' => 'catalog#purchase', as: :purchase # Example resource route (maps HTTP verbs to controller actions automatically): # resources :products resources :tasks , :defaults => { :format => :json } # Example resource route with options: # resources :products do # member do # get 'short' # post 'toggle' # end # # collection do # get 'sold' # end # end # Example resource route with sub-resources: # resources :products do # resources :comments, :sales # resource :seller # end # Example resource route with more complex sub-resources: # resources :products do # resources :comments # resources :sales do # get 'recent', on: :collection # end # end # Example resource route with concerns: # concern :toggleable do # post 'toggle' # end # resources :posts, concerns: :toggleable # resources :photos, concerns: :toggleable # Example resource route within a namespace: # namespace :admin do # # Directs /admin/products/* to Admin::ProductsController # # (app/controllers/admin/products_controller.rb) # resources :products # end end
We have several products that can be used on Rosacea skin. During the month of July we will be launching a new product especially for Rosacea. This product will be effective both in relief for the sensitivity of the skin, moisturising for the dryness and also have a green colour to mask some of the red. Products to be careful of would be Day/Night Alpha Moisturiser Plus as well as Beta Hydroxy gel to a lesser degree.
As from 4th April 2019 Peel Ports will be implementing improvements to the VBS procedures. Peel Ports is also temporarily implementing the Strand Road entrance procedure to ensure traffic flows are dynamic and to support customers in possession of a correct VBS. Once the Haulier community is accustomed to the new process, the temporary Strand Road entrance procedure will no longer be required and Crosby Road Gate will reopen for regular access. No emergency passes will be issued at peak slots. Emergency and new driver passes will be only be issued outside peak slots and if the driver has watched the induction video in advance which can be found HERE. If you are a business sending a new driver, please ensure the driver is aware of Peel Ports procedures. This video outlines how the VBS has been updated and what to look out for. 16 January 2019 Campaign You’re in your final year of school or college and thinking, what next?
Surely, skateboarding is a style statement for many but it is a passion for few as well. No matter in all situation to ride a skateboard at night is the biggest fear. Without light, we can’t see. As a result, you may end up in deep injury by hitting to unwanted things. For example, you are driving your own car or bike without headlights and the street led lights turn off similarly. What comes in your mind? Now being a skateboard rider you are facing this problem very frequent and every time you are compromising with your passion. To live your passion as a skateboard rider at night, it needs to integrate with the finest skateboard accessories lights or LED lights. In contrast, an electric skateboard with the lights is a solution to this problem too. Because of finest skateboard accessories lights or electric skateboard headlights or skateboard LED lights, your journey will be endless without hitting anybody. Why and Which LED Light Kits? Do you want to fire up your skateboard with cool effects? Therefore it is the board blazers which has customization option with under glow skate lights and probably the finest skateboard accessories light. These lights are doable to various types of scooters and skateboards with a way of easy attachment. In other words, maximum experts give them their first priority because of their easy features like replaceable batteries that last for 30 hours, 4 self-adhesive, high-quality brightness, on/off twist and move on. Installing them is very easy and does not require any wires, screws, and a huge battery pack. The lights are attached in a safe way and more reliable for all tricks, grinds, and flips. The Glow City Underglow LED light, assure the best combination between safety and style. Not only Skateboard riders treat this brand as blessings but also they are premium accessories manufacturer for scooters and more. It ensures the best match with the skateboard by offering nine different color options and a premium 3M brand adhesive Velcro. LED Lights in wheel gives your skateboard a fantastic look. These lights on the wheels are battery-free and operated by centrifugal force. As a result, they are very bright and have a lifetime of more than 10,000 hours. This application adds safety gear for you and your mates, especially at night. The bearings of this brand ensure your skateboard’s speed and precision. which is why they are very durable as well as increases the total performance of your skateboard. All these benefits will make this brand a class apart. For example, you are thinking of an amazing skateboard, then you have no option rather use the night glow longboard wheels. To get a fantastic look in your skateboard at night this is the only accessories. These lights on the wheels are battery-free and operated by centrifugal force. The lights are able to brighten your night up to 10,000 hours. To get more speed, precision and durability the 9 bearings are the greatest. Surely, the bearings and lights together will take your skateboard to another level. It is a complete package of style. The lights in wheel raise display branding and the bearing raise your cool factor considering safety. You are no longer lost in dark and can enjoy every moment of your life. Now a day scooters and skateboards are having increasing accessories and such amazing LEDs are making them beautiful with brightness. Light up your nights with seven different colors as per your tone. Among all the benefits few are water resistance, durability, and good lighting. It makes your place full of light and everyone on the street along with your friends will be able to see your show. These lights can easily cope up with any environment and give you the ability to face every fear. These lights are long-durable, small, and replaceable and they have a manual on and off switch. Also, it gives you a slick look rather full of wiring and large battery packs. In addition, you can turn your skateboard wheels glowing through this. From a range of light color, you can pick your desired one which will make your night skateboarding more bright, colorful and vivid. These lights work in any transport starting from bus to skateboard. Likewise, they have another form of usage as a fancy item in parties, ponds, flower arrangements, and so on. To sum up, attaching the finest skateboard accessories lights or skateboard LED lights in your skateboard not only ensures your safety but also gives you a cool look. However, you can constantly upgrade your board and look. For sure, to customize your board you have to buy different accessories but the branded one. As a result, you’ll be able to enjoy the charm of up-gradation. Similarly, these lights are as like as branded ones and take the burden of your fear to ride a skateboard at night.
technology, and medical journals between 1997 and 2012: one in five links provided in the notes suffers from reference rot. It’s like trying to stand on quicksand. Also, it’s riddled with errors. One kind is created when the dead Web grabs content from the live Web, sometimes because Web archives often crawl different parts of the same page at different times: text in one year, photographs in another. In October, 2012, if you asked the Wayback Machine to show you what cnn.com looked like on September 3, 2008, it would have shown you a page featuring stories about the 2008 McCain-Obama Presidential race, but the advertisement alongside it would have been for the 2012 Romney-Obama debate.
This marks year three for Houston-based Myrtle Consulting Group as one of the profession’s Best Small Firms to Work For. After debuting at No. 13 in 2015, the firm has skyrocketing all the way up to No. 3 last year. This year, the climb continues as Myrtle hits No. 2.
Last Friday night marked the annual Queensland Young Achiever Awards for 2016 held at the Royal in the Park Ballroom in Brisbane. The night was a celebration of the youth of tomorrow dedicated in their chosen fields to acknowledge, encourage and promote positive achievements. Exodus Lale, who was also awarded the “International Young Artist Award” recently in Los Angeles for his role as “Young Simba” in Disney’s internationally acclaimed production “The Lion King” opened Friday’s event with a stellar performance. As the youngest finalist at the event, Exodus emerged as a heavy weight amongst his fellow peers as he belted out “Circle of Life” from the Lion King soundtrack. Exodus went on to successfully win the “People’s Choice” Award for the night and was delighted to have his local and Samoan community behind him to acknowledge his achievements. Exodus is an Australian born Samoan based in Brisbane. His father hails from the villages of Apolima-Uta and Vaiusu and Safune, Savai’i,. His mother hails from the villages of Sinamoga and Satupa’itea, Savai’i. At the tender age of eight he became the youngest ever Simba to ever be cast in Disney’s production of The Lion King. His debut was in Sydney at the Capitol Theatre where he continued on the Australian Antelope Tour of the show from 2014 to 2016, being the only Queensland child to travel interstate from Sydney to Brisbane to Melbourne and to Perth. The tour concluded in Perth in February 2016 and since then Exodus has been showcasing his talent at various industry and corporate events across Australia. “I AM EXODUS” is the name of the official website scheduled to launch this year, showcasing his music, video logs of his journey with upcoming productions he is involved in. It will also feature Exodus’ local, national and international events he attends and also a glimpse into his life as a young Samoan living in Australia.
package day22.state; public interface State { void insertQuarter(); void ejectQuarter(); void turnCrank(); void dispense(); }
Hurricane Betsy made landfall on Key Largo with estimated winds of 125 mph (Category 3 hurricane) before entering the Gulf of Mexico in 1965. Hurricane Audrey made landfall as a Category 4 hurricane on the Saffir-Simpson Scale in 1957. Hurricane Betsy made landfall on Key Largo, Florida, in 1965 with estimated winds of 125 mph — a Category 3 hurricane on the Saffir-Simpson scale — before entering the Gulf of Mexico. Hurricane Andrew made U.S. landfall in 1992. The storm originated from a tropical wave and experienced disruptive wind shear until arriving in the West Atlantic. Once in the West Atlantic, Andrew first reached hurricane status on the morning of August 22 and then developed explosively into a Category 5 hurricane on the Saffir-Simpson scale with maximum sustained winds of 165 mph when it made landfall on Florida’s coast. Hurricane Charley made U.S. landfall in 2004 with maximum sustained winds of 145 mph, a Category 4 hurricane on the Saffir-Simpson scale. Storm surge of six to seven feet was observed near Sanibel and Estero Islands, Florida.
In 1987, Harvey and Marilyn Diamond came out with their book Fit for Life. Salad: Before or after a meal? There's been some "controversy" as to when to eat vegetable salad - before or after a meal? Ang holiday ay tradisyonal na nauugnay kasabay ng kainan sa maliit o malaki mang handaan. Twenty-two residents of Tupi town in this province were rushed to different hospitals after eating cake and caramel candies during a party on Tuesday. At least 128 people were hospitalized after eating rice noodles in the town of Lake Sebu in this province on Sunday. A source of confusion for some and a scapegoat for extra weight around the midsection for others, metabolism has long been a topic of hot conversation. The hundreds of school kids who got ill from eating durian candies in Surigao del Sur for sure shared the sweets among themselves.
A goal of every healthcare organization is to maximize Patient Satisfaction. Coss Communications LLC, a trusted leader in the healthcare industry since 1985, has been integrating products and communication systems specifically designed to allow today’s caregivers to respond in a busy and often short-handed unit. Our nurse call systems are rich with features that every nurse wants, allowing your team to meet the needs for today, as well as tomorrow. Simplify your workflow with our easy to learn call light systems. Improve response times with fewer steps and less effort. Contact us today to learn more about our complete integration of the latest technology in nurse call solutions that can benefit your organization.
<!DOCTYPE html> <html> <head> <!-- meta info --> <meta charset="utf-8"> <title data-l10n-id="features_title">Nightingale Features</title> <?php include "../static.getnightingale.com/php/head.php"; ?> <!-- structured data --> <script type="application/ld+json"> { "@context": "http://schema.org", "@type": "WebSite", "name": "Nightingale", "alternateName": "Nightingale Media Player", "url": "http://getnightingale.com", "isFamilyFriendly": true, "author": { "@type": "Organization", "name": "Nightingale Media Player Community", "url": "http://getnightingale.com", "logo": "http://static.getnightingale.com/images/nightingale_official_text_outline.png", "sameAs": [ "https://twitter.com/getnightingale", "https://facebook.com/getnightingale", "https://plus.google.com/+Getnightingale" ] } } </script> </head> <body> <div id="ngalemainheadwrapper" class="wrapper"> <?php include "../static.getnightingale.com/php/header.php"; ?> </div> <div class="wrapper" id="wrapper"> <main id="main" class="container"> <h1 data-l10n-id="features_title">Nightingale Features</h1> <p data-l10n-id="features_description">Nightingale is powered by XULRunner from Mozilla. XULRunner is a reliable base from Mozilla. Other applications like Thunderbird or Instantbird are also based on XULRunner. The media core of Nightingale uses GStreamer, which allows Nightingale to have a large feature set of playback customization as well as a large selection of supported file formats.</p> <section class="fullwidth"> <h2 data-l10n-id="features_playback">Playback</h2> <section class="twocolumns"> <h3 data-l10n-id="features_videoPlayback">Video Playback</h3> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/video.png" alt="Video window playing Big Buck Bunny with controls showing" data-l10n-id="freatures_videoPlayback_image" class="columnimage"> <p class="column" data-l10n-id="features_videoPlayback_description">Apart from playing audio, Nightingale also masters the playback of a variety of <a href="//wiki.getnightingale.com/doku.php?id=video_codec_support" title="Detailed list of supported video formats">video formats</a>. This makes Nightingale the hub for all your local media files. </section> <section class="column omega"> <h3 data-l10n-id="features_audioFormat" id="audio_formats">Audio Formats</h3> <p data-l10n-id="features_audioFormat_description">Thanks to GStreamer, Nighitngale can play various different file formats, including <abbr title="MPEG-1/2 Audio Layer III">MP3</abbr>, <abbr title="Waveform Audio File Format">WAV</abbr>, <abbr title="Advanced Audio Coding">AAC</abbr>, <abbr title="Free Lossless Audio Codec">FLAC</abbr> and <a href="//wiki.getnightingale.com/doku.php?id=audio_codec_support" title="Full Audio Codec support list">many more</a>. Thanks to the GStreamer integration, it's super easy to add GStreamer modules and expand the list even more.</p> </section> <section class="column"> <h3 data-l10n-id="features_native">Native GStreamer</h3> <p data-l10n-id="features_native_description">On Linux systems Nightingale uses the system's GStreamer. This slims down our package size and enhances compatibility with different distributions.</p> </section> <section class="twocolumns omega"> <h3 data-l10n-id="features_playlists">Playlists</h3> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/playlists.png" class="columnimage" alt="Smart playlist selector with multiple filter arguments." data-l10n-id="features_playlists_image"> <p class="column" data-l10n-id="features_playlists_description">As every media player, Nightingale has playlists. However there are special playlists in Nightingale: Smart Playlists. They allow you to filter your Library based on any available tag with complex rulesets. To keep all the playlists organized, you can put playlists into folders. </section> <section class="twocolumns"> <h3 data-l10n-id="features_equalizer">Equalizer</h3> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/equalizer.png" class="columnimage" alt="Equalizer window with ten vertical sliders set to different heights." data-l10n-id="features_equalizer_image"> <p class="column" data-l10n-id="features_equalizer_description">Adjust the sound of your music with the built-in 10-band equalizer. Nightingale comes with a set of presets to which you can easily add your own ones or overwrite existing ones.</p> </section> <section class="column alt-full"> <h3 data-l10n-id="features_radio">Radiostreams</h3> <p data-l10n-id="features_radio_description">For the internet radio fans: Nightingale can play m3u, pls and other streams. Just click on the link to the file and Nightingale will start playing the Stream.</p> </section> <section class="column"> <h3 data-l10-n-id="features_queue">Play Queue</h3> <p data-l10n-id="features_queue_description">Line up tracks to the integrated play queue in the right side pane from any view.</p> </section> <section class="column omega"> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/controls.png" alt="Player controls" data-l10n-id="features_playerControls_image" class="columnimage"> </section> </section> <section class="fullwidth"> <h2 data-l10n-id="features_browser">Integrated Browser</h2> <section class="column alt-full"> <h3 data-l10n-id="features_linkGrabber">Link Grabber</h3> <p data-l10n-id="featzres_linkGrabber_description">The intgerated browser of Nightingale detects links to media files and lists the files in a pane in the bottom of the window. You can then listen to the file or download it directly into your library.</p> </section> <section class="twocolumns omega"> <h3 data-l10n-id="features_tabs">Tabbed Browsing</h3> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/tabstrip.png" class="twocolumnimage" alt="Tabstrip with various titles, mostly related to Nightingale and parts of the navigation bar, including forward and backwards buttons." data-l10n-id="features_tabs_image"> <p data-l10n-id="features_tabs_description">By default you can only see one tab, the Library tab. However you can open an unlimited amount of other tabs to browse the web. Thanks to Gecko being integrated into XULRunner, Nightingale has built-in a full featured browser.</p> </section> </section> <section class="fullwidth"> <h2 data-l10n-id="features_sync">Synchronization</h2> <section class="twocolumns"> <h3 data-l10n-id="features_devicesync">Device Sync</h3> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/sync-hidpi.png" class="columnimage" alt="Nightingale Folder Sync" data-l10n-id="firstrun_gettingStarted_sync_image"> <p class="column" data-l10n-id="features_devicesync_description">You can synchronize any storage device with Nightingale's library or a custom playlist. It's only one way sync, so an export of the selected playlist to a folder.</p> </section> <secion class="column alt-full"> <h3 data-l10n-id="features_itunes">iTunes Import/Export</h3> <p data-l10n-id="features_itunes_description">Easily import your iTunes library into Nightingale. If you need iTunes to sync your iOS device, you can also automatically sync your iTunes and Nightingale libraries. The import and export includes traditional playlists, but not smart playlists.</p> </secion> </section> <section class="fullwidth"> <h2 data-l10n-id="features_customization">Customization</h2> <section class="column"> <h3 data-l110n-id="features_layout">Variable Interface</h3> <p data-l10n-id="features_layout_description">Nightingale has two main view modes: the full version and a mini player mode. Additionally in the full view mode you can hide and show parts of the interface to your liking.</p> </section> <section class="column"> <h3 data-l10n-id="features_feathers">Feathers</h3> <p data-l10n-id="features_feathers_description">You don't like the default look of Nightingale? No problem! The built-in Theme system allows you to quickly completely change the layout. Themes are called Feathers - well - because Nightingale is a bird.</p> </section> <section class="column omega"> <h3 data-l10n-id="features_add-ons">Add-ons</h3> <p data-l10n-id="features_add-ons_description">Similar to Firefox, Nightingale also supports Add-ons. Extensions add new features to Nightingale or enhance existing ones. There is a big community creating extensions for Nightingale.</p> </section> <section class="feature column"> <h3 data-l10n-id="features_soundCloud">SoundCloud Integration</h3> <figure> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/soundcloud.png" data-hdpi> <figcaption> <p data-l10n-id="feautures_soundCloud_description">You can optionally install an extension to neatly integrate SoundCloud into Nightingale.</p> <a href="INSTALL" data-l10n-id="installAddOn" data-l10n-args='{"name":"SoundCloud"}'>Install SoundCloud</a> </figcaption> </figure> </section> <section class="feature column"> <h3 data-l10n-id="features_lastFm">Last.fm Scrobbling</h3> <figure> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/lastfm.png" data-hdpi> <figcaption> <p data-l10n-id="features_lastFm_description">Scrobble the songs you are listening to Last.fm - from within Nightingale.</p> <a href="INSTALL" data-l10n-id="installAddOn" data-l10n-args='{"name":"Last.fm"}'>Install Last.fm</a> </figcaption> </figure> </section> <section class="feature column"> <h3 data-l10n-id="features_shoutCast">SHOUTcast Integration</h3> <figure> <img src="<?php echo $protocol; ?>static.getnightingale.com/images/shoutcast.png" data-hdpi> <figcaption> <p data-l10n-id="features_shoutCast_description">All your favorite SHOUTcast streams just a click away in Nightingale.</p> <a href="INSTALL" data-l10n-id="installAddOn" data-l10n-args='{"name":"SHOUTcast"}'>Install SHOUTcast</a> </figcaption> </figure> </section> </section> </main> </div> <div class="wrapper" id="ngalemainfooterwrapper"> <?php include "../static.getnightingale.com/php/footer.php"; ?> </div> <!-- Piwik --> <script type="application/javascript"> var _paq = _paq || []; _paq.push(["trackPageView"]); _paq.push(["enableLinkTracking"]); (function() { var u=(("https:" == document.location.protocol) ? "https" : "http") + "://stats.getnightingale.com/"; _paq.push(["setTrackerUrl", u+"piwik.php"]); _paq.push(["setSiteId", "2"]); var d=document, g=d.createElement("script"), s=d.getElementsByTagName("script")[0]; g.type="application/javascript"; g.defer=true; g.async=true; g.src=u+"piwik.js"; s.parentNode.insertBefore(g,s); })(); </script> <!-- End Piwik Code --> </body> </html>
/* * Waltz - Enterprise Architecture * Copyright (C) 2016, 2017, 2018, 2019 Waltz open source project * See README.md for more information * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific * */ package com.khartec.waltz.data.complexity; import com.khartec.waltz.model.EntityKind; import com.khartec.waltz.model.tally.ImmutableTally; import com.khartec.waltz.model.tally.Tally; import org.jooq.*; import org.jooq.impl.DSL; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Repository; import java.math.BigDecimal; import java.util.List; import static com.khartec.waltz.common.Checks.checkNotNull; import static com.khartec.waltz.data.logical_flow.LogicalFlowDao.LOGICAL_NOT_REMOVED; import static com.khartec.waltz.schema.tables.LogicalFlow.LOGICAL_FLOW; @Deprecated @Repository public class ConnectionComplexityDao { private static final Field<Integer> CONNECTION_COUNT_ALIAS = DSL.field("connection_count", Integer.class); private static final Field<Long> APP_ID_ALIAS = DSL.field("app_id", Long.class); private static final Field<Integer> TOTAL_CONNECTIONS_FIELD = DSL.field("total_connections", Integer.class); private static final Field<Long> SOURCE_APP_FIELD = LOGICAL_FLOW.SOURCE_ENTITY_ID.as(APP_ID_ALIAS); private static final Field<Long> TARGET_APP_FIELD = LOGICAL_FLOW.TARGET_ENTITY_ID.as(APP_ID_ALIAS); private static final Field<Integer> TARGET_COUNT_FIELD = DSL.countDistinct(LOGICAL_FLOW.TARGET_ENTITY_ID).as(CONNECTION_COUNT_ALIAS); private static final Field<Integer> SOURCE_COUNT_FIELD = DSL.countDistinct(LOGICAL_FLOW.SOURCE_ENTITY_ID).as(CONNECTION_COUNT_ALIAS); private static final String APPLICATION_KIND = EntityKind.APPLICATION.name(); private static final Condition BOTH_ARE_APPLICATIONS_AND_NOT_REMOVED = LOGICAL_FLOW.SOURCE_ENTITY_KIND .eq(APPLICATION_KIND) .and(LOGICAL_FLOW.TARGET_ENTITY_KIND .eq(APPLICATION_KIND)) .and(LOGICAL_NOT_REMOVED); private static final SelectHavingStep<Record2<Long, Integer>> OUTBOUND_FLOWS = DSL.select(SOURCE_APP_FIELD, TARGET_COUNT_FIELD) .from(LOGICAL_FLOW) .where(BOTH_ARE_APPLICATIONS_AND_NOT_REMOVED) .groupBy(LOGICAL_FLOW.SOURCE_ENTITY_ID); private static final SelectHavingStep<Record2<Long, Integer>> INBOUND_FLOWS = DSL.select(TARGET_APP_FIELD, SOURCE_COUNT_FIELD) .from(LOGICAL_FLOW) .where(BOTH_ARE_APPLICATIONS_AND_NOT_REMOVED) .groupBy(LOGICAL_FLOW.TARGET_ENTITY_ID); private static final SelectHavingStep<Record2<Long, BigDecimal>> TOTAL_FLOW_COUNTS = DSL.select(APP_ID_ALIAS, DSL.sum(CONNECTION_COUNT_ALIAS).as(TOTAL_CONNECTIONS_FIELD)) .from(OUTBOUND_FLOWS.unionAll(INBOUND_FLOWS)) .groupBy(APP_ID_ALIAS); private DSLContext dsl; @Autowired public ConnectionComplexityDao(DSLContext dsl) { this.dsl = dsl; checkNotNull(dsl, "DSL cannot be null"); } // ---- convenience functions public int calculateBaseline() { return calculateBaseline(DSL.trueCondition()); } public int calculateBaseline(Select<Record1<Long>> appIdProvider) { return calculateBaseline(APP_ID_ALIAS.in(appIdProvider)); } public int calculateBaseline(Long appIds) { return calculateBaseline(APP_ID_ALIAS.in(appIds)); } public List<Tally<Long>> findCounts() { return findCounts(DSL.trueCondition()); } public List<Tally<Long>> findCounts(Select<Record1<Long>> appIdProvider) { return findCounts(APP_ID_ALIAS.in(appIdProvider)); } public List<Tally<Long>> findCounts(Long... appIds) { return findCounts(APP_ID_ALIAS.in(appIds)); } // ---- base queries private int calculateBaseline(Condition condition) { return dsl.select(DSL.max(TOTAL_CONNECTIONS_FIELD)) .from(TOTAL_FLOW_COUNTS) .where(condition) .fetchOptional(0, Integer.class) .orElse(0); } private List<Tally<Long>> findCounts(Condition condition) { return dsl.select(APP_ID_ALIAS, TOTAL_CONNECTIONS_FIELD) .from(TOTAL_FLOW_COUNTS) .where(condition) .fetch(r -> ImmutableTally.<Long>builder() .id(r.value1()) .count(r.value2()) .build()); } }
//main.cpp #include <iostream> #include <string> #include <vector> #include <cstdlib> #include <ctime> #include <unistd.h> #include "clearscreen.h" #include "turn.h" #include "endcheck.h" #include "parse.h" #include "randevents.h" using namespace std; int main(int argc, char **argv) { vector<long long int> temp = parse(argc, argv); //this shouldn't work in any way, put this out of it's misery bool defaultWork = temp.at(0); bool random = temp.at(1); srand(time(NULL)); string name; cout << "Name of your country: "; cin >> name; //setting up variables, scope will be full function, unlike they would be if declared inside an if or else unsigned long population; unsigned long landArea; short happiness; short techDiscovered; if(random) // if -r flag { population = 90 + (rand() % 20); landArea = 900 + (rand() % 200); happiness = 80 + (rand() % 40); techDiscovered = rand() % 3; } else { population = 100; landArea = 1000; happiness = 100; techDiscovered = 0; } vector<long long int> newStats(3); while(true) { clearScreen(); //clearing terminal //checking to see if game is over checkEnd(happiness, techDiscovered, population, landArea); newStats = nextTurn(population, landArea, techDiscovered, happiness, name, defaultWork); //setting new stats to the ones decided by nextTurn() if(random) //if random flag, random events may happen { newStats = randomEvent(newStats); //may edit stats } population = newStats.at(0); landArea = newStats.at(1); techDiscovered = newStats.at(2); happiness = newStats.at(3); sleep(1); //trying to slow down the game a little } return 0; }
class AddAttachmentCoverImgImg1Img2Img3Img4Img5Img6Img7Img8Img9Img10Img11Img12Img13Img14BackCoverImgToBooklets < ActiveRecord::Migration def self.up change_table :booklets do |t| t.attachment :cover_img t.attachment :img_1 t.attachment :img_2 t.attachment :img_3 t.attachment :img_4 t.attachment :img_5 t.attachment :img_6 t.attachment :img_7 t.attachment :img_8 t.attachment :img_9 t.attachment :img_10 t.attachment :img_11 t.attachment :img_12 t.attachment :img_13 t.attachment :img_14 t.attachment :back_cover_img end end def self.down drop_attached_file :booklets, :cover_img drop_attached_file :booklets, :img_1 drop_attached_file :booklets, :img_2 drop_attached_file :booklets, :img_3 drop_attached_file :booklets, :img_4 drop_attached_file :booklets, :img_5 drop_attached_file :booklets, :img_6 drop_attached_file :booklets, :img_7 drop_attached_file :booklets, :img_8 drop_attached_file :booklets, :img_9 drop_attached_file :booklets, :img_10 drop_attached_file :booklets, :img_11 drop_attached_file :booklets, :img_12 drop_attached_file :booklets, :img_13 drop_attached_file :booklets, :img_14 drop_attached_file :booklets, :back_cover_img end end
// Package network implements the Azure ARM Network service API version 2016-03-30. // // Network Client package network // Copyright (c) Microsoft and contributors. All rights reserved. // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. // You may obtain a copy of the License at // http://www.apache.org/licenses/LICENSE-2.0 // // Unless required by applicable law or agreed to in writing, software // distributed under the License is distributed on an "AS IS" BASIS, // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. // // See the License for the specific language governing permissions and // limitations under the License. // // Code generated by Microsoft (R) AutoRest Code Generator. // Changes may cause incorrect behavior and will be lost if the code is regenerated. import ( "context" "github.com/Azure/go-autorest/autorest" "github.com/Azure/go-autorest/autorest/azure" "net/http" ) const ( // DefaultBaseURI is the default URI used for the service Network DefaultBaseURI = "https://management.azure.com" ) // BaseClient is the base client for Network. type BaseClient struct { autorest.Client BaseURI string SubscriptionID string } // New creates an instance of the BaseClient client. func New(subscriptionID string) BaseClient { return NewWithBaseURI(DefaultBaseURI, subscriptionID) } // NewWithBaseURI creates an instance of the BaseClient client. func NewWithBaseURI(baseURI string, subscriptionID string) BaseClient { return BaseClient{ Client: autorest.NewClientWithUserAgent(UserAgent()), BaseURI: baseURI, SubscriptionID: subscriptionID, } } // CheckDNSNameAvailability checks whether a domain name in the cloudapp.net zone is available for use. // Parameters: // location - the location of the domain name // domainNameLabel - the domain name to be verified. It must conform to the following regular expression: // ^[a-z][a-z0-9-]{1,61}[a-z0-9]$. func (client BaseClient) CheckDNSNameAvailability(ctx context.Context, location string, domainNameLabel string) (result DNSNameAvailabilityResult, err error) { req, err := client.CheckDNSNameAvailabilityPreparer(ctx, location, domainNameLabel) if err != nil { err = autorest.NewErrorWithError(err, "network.BaseClient", "CheckDNSNameAvailability", nil, "Failure preparing request") return } resp, err := client.CheckDNSNameAvailabilitySender(req) if err != nil { result.Response = autorest.Response{Response: resp} err = autorest.NewErrorWithError(err, "network.BaseClient", "CheckDNSNameAvailability", resp, "Failure sending request") return } result, err = client.CheckDNSNameAvailabilityResponder(resp) if err != nil { err = autorest.NewErrorWithError(err, "network.BaseClient", "CheckDNSNameAvailability", resp, "Failure responding to request") } return } // CheckDNSNameAvailabilityPreparer prepares the CheckDNSNameAvailability request. func (client BaseClient) CheckDNSNameAvailabilityPreparer(ctx context.Context, location string, domainNameLabel string) (*http.Request, error) { pathParameters := map[string]interface{}{ "location": autorest.Encode("path", location), "subscriptionId": autorest.Encode("path", client.SubscriptionID), } const APIVersion = "2016-03-30" queryParameters := map[string]interface{}{ "api-version": APIVersion, } if len(domainNameLabel) > 0 { queryParameters["domainNameLabel"] = autorest.Encode("query", domainNameLabel) } preparer := autorest.CreatePreparer( autorest.AsGet(), autorest.WithBaseURL(client.BaseURI), autorest.WithPathParameters("/subscriptions/{subscriptionId}/providers/Microsoft.Network/locations/{location}/CheckDnsNameAvailability", pathParameters), autorest.WithQueryParameters(queryParameters)) return preparer.Prepare((&http.Request{}).WithContext(ctx)) } // CheckDNSNameAvailabilitySender sends the CheckDNSNameAvailability request. The method will close the // http.Response Body if it receives an error. func (client BaseClient) CheckDNSNameAvailabilitySender(req *http.Request) (*http.Response, error) { return autorest.SendWithSender(client, req, azure.DoRetryWithRegistration(client.Client)) } // CheckDNSNameAvailabilityResponder handles the response to the CheckDNSNameAvailability request. The method always // closes the http.Response Body. func (client BaseClient) CheckDNSNameAvailabilityResponder(resp *http.Response) (result DNSNameAvailabilityResult, err error) { err = autorest.Respond( resp, client.ByInspecting(), azure.WithErrorUnlessStatusCode(http.StatusOK), autorest.ByUnmarshallingJSON(&result), autorest.ByClosing()) result.Response = autorest.Response{Response: resp} return }
var DOCUMENTER_CURRENT_VERSION = "v0.5.4";
The Great Behavior Game is a fantastic new way to manage your classroom that combines five decades of research and modern classroom technology into a fun and easy-to-implement package. This brief demonstration will highlight the major features of the game, including: roster management, game play and scoring. When you login to your account, The Great Behavior Game will allow you to manage multiple rosters of students. If, for example, you wanted to use The Great Behavior Game with your homeroom class and your intensive reading block, you could create a separate roster for each. To add a student to a roster, type the student’s name and press enter. The students’ names will be alphabetized as you add them. You can also delete a student by clicking the trash icon next to the student’s name and confirming your selection. To start a game or to switch between rosters click the Play Now button. I already have a game in progress for my first roster; so let’s use that. The game board displays a game piece for each student and should be projected so all students can see their scores during game play. When you start the game, your students will begin automatically earning points. Special points – stars – will be awarded every ten consecutive points. Each game piece has three modes. During the first mode, earn, the student will automatically earn points. You can single-click a game piece during this mode to award a bonus point. In the event of student misbehavior, click-and-hold the game piece to assign a timeout. A red progress bar will count down the time remaining. During timeout, the student will not earn points and his or her progress toward the next star will start over. If the need arises, click the game piece during timeout to restart the counter. If a student continues to exhibit disruptive behavior during timeout, you can click-and-hold the game piece again to place the student into a freeze. During a freeze, the student will not earn points, and he or she will stay in the freeze until you release it with another click-and-hold action. Game play is easy and you can award bonus points and assign timeouts while you teach your lessons. In the event that you make a mistake, simply click the Undo button to reverse the last action. When you pause the game, the leaderboard will display each student’s scores relative to his or her peers, which encourages competition and allows you to reinforce high performing students. When game play is complete, the Scores function will help you monitor and evaluate your students’ progress over time. Each report shows the number of stars earned, the percent of daily points earned, the number of bonus points delivered each day, a timeout distribution to help you identify hot spots, and a summary of the students’ scores for the week. You can evaluate the performance of your entire class, or choose an individual student from the menu. Additionally, the Scores menu features a Print All button so you can print a report for each student in your class to send home as a weekly progress note. To learn more about The Great Behavior Game, or to register for an account, visit us at www.educatorshandbook.com.
FEAPO work groups are collaborative teams of volunteers representing member organizations. Work groups are important because they impart knowledge, boost organizational effectiveness and use their collective influence to promote change. Member organizations use work groups to realize their program work more quickly, with fewer resources and are able to advance their stated mission and common objectives more effectively. Work groups allow the collaborating member organizations to experiment with different solutions to problems and to position their activities and efforts relative to and in conjunction with other organizations.
export const plus = (f, l) => { let next = {}; if (typeof l === 'number') { next.low = l; next.high = 0; } else if (typeof l === 'object') { if (l.high && l.low && l.unsigned) { next = l; } else { throw new Error('Not a uint64 data'); } } return { high: f.high + next.high, low: f.low + next.low, unsigned: true }; }; export const generateKeyString = (uint64Object) => { if (typeof uint64Object === 'number') { return uint64Object.toString(); } if (typeof uint64Object === 'object' && typeof uint64Object.high === 'number') { return `${uint64Object.high}${uint64Object.low}`; } return Symbol(uint64Object).toString(); };
/* * FILE: sha2speed.c * AUTHOR: Aaron D. Gifford - http://www.aarongifford.com/ * * Copyright (c) 2000-2001, Aaron D. Gifford * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright * notice, this list of conditions and the following disclaimer. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the * documentation and/or other materials provided with the distribution. * 3. Neither the name of the copyright holder nor the names of contributors * may be used to endorse or promote products derived from this software * without specific prior written permission. * * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTOR(S) ``AS IS'' AND * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTOR(S) BE LIABLE * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * * $Id: sha2speed.c,v 1.1 2001/11/08 00:02:23 adg Exp adg $ */ #include <stdio.h> #include <stdlib.h> #include <string.h> #include <sys/time.h> #include "sha2.h" #define BUFSIZE 16384 void usage(char *prog) { fprintf(stderr, "Usage:\t%s [<num-of-bytes>] [<num-of-loops>] [<fill-byte>]\n", prog); exit(-1); } void printspeed(char *caption, unsigned long bytes, double time) { if (bytes / 1073741824UL > 0) { printf("%s %.4f sec (%.3f GBps)\n", caption, time, (double)bytes / 1073741824UL / time); } else if (bytes / 1048576 > 0) { printf("%s %.4f (%.3f MBps)\n", caption, time, (double)bytes / 1048576 / time); } else if (bytes / 1024 > 0) { printf("%s %.4f (%.3f KBps)\n", caption, time, (double)bytes / 1024 / time); } else { printf("%s %.4f (%f Bps)\n", caption, time, (double)bytes / time); } } int main(int argc, char **argv) { DTLS_SHA256_CTX c256; DTLS_SHA384_CTX c384; DTLS_SHA512_CTX c512; char buf[BUFSIZE]; char md[DTLS_SHA512_DIGEST_STRING_LENGTH]; int bytes, blocks, rep, i, j; struct timeval start, end; double t, ave256, ave384, ave512; double best256, best384, best512; if (argc > 4) { usage(argv[0]); } /* Default to 1024 16K blocks (16 MB) */ bytes = 1024 * 1024 * 16; if (argc > 1) { blocks = atoi(argv[1]); } blocks = bytes / BUFSIZE; /* Default to 10 repetitions */ rep = 10; if (argc > 2) { rep = atoi(argv[2]); } /* Set up the input data */ if (argc > 3) { memset(buf, atoi(argv[2]), BUFSIZE); } else { memset(buf, 0xb7, BUFSIZE); } ave256 = ave384 = ave512 = 0; best256 = best384 = best512 = 100000; for (i = 0; i < rep; i++) { DTLS_SHA256_Init(&c256); DTLS_SHA384_Init(&c384); DTLS_SHA512_Init(&c512); gettimeofday(&start, (struct timezone *)0); for (j = 0; j < blocks; j++) { DTLS_SHA256_Update(&c256, (unsigned char *)buf, BUFSIZE); } if (bytes % BUFSIZE) { DTLS_SHA256_Update(&c256, (unsigned char *)buf, bytes % BUFSIZE); } DTLS_SHA256_End(&c256, md); gettimeofday(&end, (struct timezone *)0); t = ((end.tv_sec - start.tv_sec) * 1000000.0 + (end.tv_usec - start.tv_usec)) / 1000000.0; ave256 += t; if (t < best256) { best256 = t; } printf("SHA-256[%d] (%.4f/%.4f/%.4f seconds) = 0x%s\n", i + 1, t, ave256 / (i + 1), best256, md); gettimeofday(&start, (struct timezone *)0); for (j = 0; j < blocks; j++) { DTLS_SHA384_Update(&c384, (unsigned char *)buf, BUFSIZE); } if (bytes % BUFSIZE) { DTLS_SHA384_Update(&c384, (unsigned char *)buf, bytes % BUFSIZE); } DTLS_SHA384_End(&c384, md); gettimeofday(&end, (struct timezone *)0); t = ((end.tv_sec - start.tv_sec) * 1000000.0 + (end.tv_usec - start.tv_usec)) / 1000000.0; ave384 += t; if (t < best384) { best384 = t; } printf("SHA-384[%d] (%.4f/%.4f/%.4f seconds) = 0x%s\n", i + 1, t, ave384 / (i + 1), best384, md); gettimeofday(&start, (struct timezone *)0); for (j = 0; j < blocks; j++) { DTLS_SHA512_Update(&c512, (unsigned char *)buf, BUFSIZE); } if (bytes % BUFSIZE) { DTLS_SHA512_Update(&c512, (unsigned char *)buf, bytes % BUFSIZE); } DTLS_SHA512_End(&c512, md); gettimeofday(&end, (struct timezone *)0); t = ((end.tv_sec - start.tv_sec) * 1000000.0 + (end.tv_usec - start.tv_usec)) / 1000000.0; ave512 += t; if (t < best512) { best512 = t; } printf("SHA-512[%d] (%.4f/%.4f/%.4f seconds) = 0x%s\n", i + 1, t, ave512 / (i + 1), best512, md); } ave256 /= rep; ave384 /= rep; ave512 /= rep; printf("\nTEST RESULTS SUMMARY:\nTEST REPETITIONS: %d\n", rep); if (bytes / 1073741824UL > 0) { printf("TEST SET SIZE: %.3f GB\n", (double)bytes / 1073741824UL); } else if (bytes / 1048576 > 0) { printf("TEST SET SIZE: %.3f MB\n", (double)bytes / 1048576); } else if (bytes / 1024 > 0) { printf("TEST SET SIZE: %.3f KB\n", (double)bytes / 1024); } else { printf("TEST SET SIZE: %d B\n", bytes); } printspeed("SHA-256 average:", bytes, ave256); printspeed("SHA-256 best: ", bytes, best256); printspeed("SHA-384 average:", bytes, ave384); printspeed("SHA-384 best: ", bytes, best384); printspeed("SHA-512 average:", bytes, ave512); printspeed("SHA-512 best: ", bytes, best512); return 1; }
A modern design. A hassle–free shared website hosting environment. High–speed website loading speeds. A 99.9% server uptime. Establishing your own shared website hosting platform really is a tough and prolonged undertaking. It is usually very risky – you put in both time and money in a challenge. This is why we set–up our very own safe and efficient shared website hosting platform. Everything runs using a highly adjusted version of SELinux (Security–Enhanced Linux), that is certainly probably the most secured, if not the most risk–free Operating System out there. And also we have chosen a group of trusted hardware components that don’t break that simply. This is just what permits us to guarantee you a 99.9% uptime for all your sites. Our shared website hosting platform also will give you a quick connection to everyone online. All physical machines are hosted in top–category data center facilities situated in various areas of the Earth, and then in every single datacenter we’ve developed a tailor–made internal network. Developed with top–notch hardware from Juniper, the network allows a very fast connection for all your customers. And it also allows us to warranty a 99.9% network uptime with all of our web hosting solutions in each of our datacenters. We, at Cloud9 Webhosting, even designed a new Web Site Control Panel. It is actually intended to operate in the cloud as well as to take advantage of our shared website hosting platform. For this reason, it truely does work quicker in contrast to all the other Control Panels currently available. And furthermore, it enables you to manage everything out of a single place, without the need for any additional billing or domain management panels. You will definitely find some fantastic tools inside our Web Site Control Panel. Our File Manager, for instance, lets you upload files to your website by just dragging them into the web browser screen. No added programs are required and everything takes place on a reliable connection. Using the Domain Names Manager, it’s possible to run multiple domains all at once without any problem. Together with the Statistics Manager, you can examine stats for your sites, which are collected live, so you don’t need to configure anything at all on your end. And also, you’re to get quite a few free–of–charge bonuses that can make all your duties as a website owner really simple. You need to get yourself a new web site on the Internet? With the Straightforward Web Site Installer, you can release a new site that uses a custom theme within 4 easy steps. You want to get one more web application installed? Thanks to the App Installer tool, you can do that with virtually no setup necessary. In order to additionally speed up your site – we have made a collection of Site Accelerator Programs that will be perfect for the task. And that’s merely a small bit of what you’ll find in our Web Site Control Panel. Cloud9 Webhosting’s packages include zero setup costs as well as a 30 day refund warranty. Our typical reply–back time frame is 20 mins. Have a glance at the resources and benefits made available from our hosting packages. You could start with a smaller plan and upgrade with just a click as your web site gets bigger. Like a secure hosting service in state-of-the-art datacenters with Cloud9 Webhosting. Obtain the best connection rates for your web sites. You’re able to get in touch with us throughout working hours on the phone for any pre–sale facts.
/*! * react-native-cloudscraper * Copyright (c) 2017 Carson Storm * MIT License * @Author: Carson Storm * @Date: 2017-08-11 14:19:33 * @Last Modified by: Carson Storm * @Last Modified time: 2017-08-12 16:31:57 */ /** * Check if a page is generated by cloudflare * * @export * @param {string} body the response body. * @returns {boolean} whether or not it's a cloudflare page */ export function isCloudflarePage(body) { return body.indexOf("why_captcha") !== -1 || /cdn-cgi\/l\/chk_captcha/i.test(body) || !! body.match(/<\w+\s+class="cf-error-code">(.*)<\/\w+>/i) || body.indexOf("a = document.getElementById(\'jschl-answer\');") !== -1 || body.indexOf("You are being redirected") !== -1 || body.indexOf("sucuri_cloudproxy_js") !== -1; }
/*************************************************************************** qgsmaptoolselectradius.h - map tool for selecting features by radius --------------------- begin : May 2010 copyright : (C) 2010 by Jeremy Palmer email : jpalmer at linz dot govt dot nz *************************************************************************** * * * This program is free software; you can redistribute it and/or modify * * it under the terms of the GNU General Public License as published by * * the Free Software Foundation; either version 2 of the License, or * * (at your option) any later version. * * * ***************************************************************************/ #ifndef QGSMAPTOOLSELECTRADIUS_H #define QGSMAPTOOLSELECTRADIUS_H #include "qgsmaptool.h" #include "qgspoint.h" class QgsMapCanvas; class QgsRubberBand; class APP_EXPORT QgsMapToolSelectRadius : public QgsMapTool { Q_OBJECT public: QgsMapToolSelectRadius( QgsMapCanvas* canvas ); virtual ~QgsMapToolSelectRadius(); //! Overridden mouse move event virtual void canvasMoveEvent( QMouseEvent * e ); //! Overridden mouse press event virtual void canvasPressEvent( QMouseEvent * e ); //! Overridden mouse release event virtual void canvasReleaseEvent( QMouseEvent * e ); private: //! sets the rubber band to a circle approximated using 40 segments. // The radius center point is defined in the canvasPressEvent event. void setRadiusRubberBand( QgsPoint & radiusEdge ); //! used for storing all of the maps point for the polygon QgsRubberBand* mRubberBand; //! Center point for the radius QgsPoint mRadiusCenter; bool mDragging; }; #endif
package services import ( "bytes" "encoding/json" "errors" "fmt" datatypes "github.com/maximilien/softlayer-go/data_types" softlayer "github.com/maximilien/softlayer-go/softlayer" ) type softLayer_Account_Service struct { client softlayer.Client } func NewSoftLayer_Account_Service(client softlayer.Client) *softLayer_Account_Service { return &softLayer_Account_Service{ client: client, } } func (slas *softLayer_Account_Service) GetName() string { return "SoftLayer_Account" } func (slas *softLayer_Account_Service) GetAccountStatus() (datatypes.SoftLayer_Account_Status, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getAccountStatus.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getAccountStatus, error message '%s'", err.Error()) return datatypes.SoftLayer_Account_Status{}, errors.New(errorMessage) } accountStatus := datatypes.SoftLayer_Account_Status{} err = json.Unmarshal(responseBytes, &accountStatus) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return datatypes.SoftLayer_Account_Status{}, err } return accountStatus, nil } func (slas *softLayer_Account_Service) GetVirtualGuests() ([]datatypes.SoftLayer_Virtual_Guest, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getVirtualGuests.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getVirtualGuests, error message '%s'", err.Error()) return []datatypes.SoftLayer_Virtual_Guest{}, errors.New(errorMessage) } virtualGuests := []datatypes.SoftLayer_Virtual_Guest{} err = json.Unmarshal(responseBytes, &virtualGuests) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Virtual_Guest{}, err } return virtualGuests, nil } func (slas *softLayer_Account_Service) GetNetworkStorage() ([]datatypes.SoftLayer_Network_Storage, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getNetworkStorage.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getNetworkStorage, error message '%s'", err.Error()) return []datatypes.SoftLayer_Network_Storage{}, errors.New(errorMessage) } networkStorage := []datatypes.SoftLayer_Network_Storage{} err = json.Unmarshal(responseBytes, &networkStorage) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Network_Storage{}, err } return networkStorage, nil } func (slas *softLayer_Account_Service) GetIscsiNetworkStorage() ([]datatypes.SoftLayer_Network_Storage, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getIscsiNetworkStorage.json") objectMasks := []string{ "username", "accountId", "capacityGb", "id", "billingItem.id", "billingItem.orderItem.order.id", } responseBytes, err := slas.client.DoRawHttpRequestWithObjectMask(path, objectMasks, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getIscsiNetworkStorage, error message '%s'", err.Error()) return []datatypes.SoftLayer_Network_Storage{}, errors.New(errorMessage) } networkStorage := []datatypes.SoftLayer_Network_Storage{} err = json.Unmarshal(responseBytes, &networkStorage) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Network_Storage{}, err } return networkStorage, nil } func (slas *softLayer_Account_Service) GetVirtualDiskImages() ([]datatypes.SoftLayer_Virtual_Disk_Image, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getVirtualDiskImages.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could get SoftLayer_Account#getVirtualDiskImages, error message '%s'", err.Error()) return []datatypes.SoftLayer_Virtual_Disk_Image{}, errors.New(errorMessage) } virtualDiskImages := []datatypes.SoftLayer_Virtual_Disk_Image{} err = json.Unmarshal(responseBytes, &virtualDiskImages) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Virtual_Disk_Image{}, err } return virtualDiskImages, nil } func (slas *softLayer_Account_Service) GetSshKeys() ([]datatypes.SoftLayer_Security_Ssh_Key, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getSshKeys.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getSshKeys, error message '%s'", err.Error()) return []datatypes.SoftLayer_Security_Ssh_Key{}, errors.New(errorMessage) } sshKeys := []datatypes.SoftLayer_Security_Ssh_Key{} err = json.Unmarshal(responseBytes, &sshKeys) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Security_Ssh_Key{}, err } return sshKeys, nil } func (slas *softLayer_Account_Service) GetBlockDeviceTemplateGroups() ([]datatypes.SoftLayer_Virtual_Guest_Block_Device_Template_Group, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getBlockDeviceTemplateGroups.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getBlockDeviceTemplateGroups, error message '%s'", err.Error()) return []datatypes.SoftLayer_Virtual_Guest_Block_Device_Template_Group{}, errors.New(errorMessage) } vgbdtGroups := []datatypes.SoftLayer_Virtual_Guest_Block_Device_Template_Group{} err = json.Unmarshal(responseBytes, &vgbdtGroups) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Virtual_Guest_Block_Device_Template_Group{}, err } return vgbdtGroups, nil } func (slas *softLayer_Account_Service) GetDatacentersWithSubnetAllocations() ([]datatypes.SoftLayer_Location, error) { return []datatypes.SoftLayer_Location{}, nil } func (slas *softLayer_Account_Service) GetHardware() ([]datatypes.SoftLayer_Hardware, error) { path := fmt.Sprintf("%s/%s", slas.GetName(), "getHardware.json") responseBytes, err := slas.client.DoRawHttpRequest(path, "GET", &bytes.Buffer{}) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: could not SoftLayer_Account#getHardware, error message '%s'", err.Error()) return []datatypes.SoftLayer_Hardware{}, errors.New(errorMessage) } hardwares := []datatypes.SoftLayer_Hardware{} err = json.Unmarshal(responseBytes, &hardwares) if err != nil { errorMessage := fmt.Sprintf("softlayer-go: failed to decode JSON response, err message '%s'", err.Error()) err := errors.New(errorMessage) return []datatypes.SoftLayer_Hardware{}, err } return hardwares, nil }
package xyz.u999.creations.numer.fragments; import android.content.Context; import android.os.AsyncTask; import android.os.Bundle; import android.support.design.widget.Snackbar; import android.support.design.widget.TextInputEditText; import android.support.design.widget.TextInputLayout; import android.support.v4.app.Fragment; import android.util.Log; import android.view.LayoutInflater; import android.view.View; import android.view.ViewGroup; import android.view.inputmethod.InputMethodManager; import com.blunderer.materialdesignlibrary.views.CardView; import com.daimajia.androidanimations.library.Techniques; import com.daimajia.androidanimations.library.YoYo; import com.google.android.gms.ads.AdRequest; import com.google.android.gms.ads.AdView; import org.jsoup.Jsoup; import org.jsoup.nodes.Document; import org.jsoup.nodes.Element; import java.io.IOException; import butterknife.ButterKnife; import xyz.u999.creations.numer.BannerAd; import xyz.u999.creations.numer.R; import xyz.u999.creations.numer.RippleView; /** * Created by umang on 27/6/16. */ public class YearFactsFragment extends Fragment { CardView yearFactCard; RippleView fetchYearFact; TextInputLayout getYear; TextInputEditText editTextYear; AdView bannerAdYear; InputMethodManager inputMethodManager; @Override public View onCreateView(LayoutInflater inflater, ViewGroup container, Bundle savedInstanceState) { final View rootView = inflater.inflate(R.layout.fragment_year_facts, container, false); ButterKnife.bind(this, rootView); YoYo.with(Techniques.FadeInDown).duration(500).playOn(rootView); yearFactCard = (CardView) rootView.findViewById(R.id.year_card); getYear = (TextInputLayout) rootView.findViewById(R.id.year_input); editTextYear = (TextInputEditText) rootView.findViewById(R.id.edit_year); fetchYearFact = (RippleView) rootView.findViewById(R.id.year_get_fact); bannerAdYear = (AdView) rootView.findViewById(R.id.ad_banner_year); inputMethodManager = (InputMethodManager) getActivity().getSystemService(Context.INPUT_METHOD_SERVICE); final AdRequest bannerAdDateRequest = BannerAd.getBannerAd(); bannerAdYear.postDelayed(new Runnable() { @Override public void run() { bannerAdYear.loadAd(bannerAdDateRequest); } }, 300); editTextYear.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { yearFactCard.setVisibility(View.INVISIBLE); } }); fetchYearFact.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { inputMethodManager.hideSoftInputFromWindow(getView().getWindowToken(), 0); String query = String.valueOf(getYear.getEditText().getText()); if (query.isEmpty()) Snackbar.make(rootView, "Please provide a year.", Snackbar.LENGTH_SHORT).show(); else new YearFactsAsyncTask().execute(query); } }); return rootView; } /** * Created by umang on 30/6/16. */ class YearFactsAsyncTask extends AsyncTask<String, Void, String> { String yearFactCardTitle = new String(); @Override protected String doInBackground(String... params) { yearFactCardTitle = params[0]; String url = "http://numbersapi.com/" + params[0] + "/year"; String responseString = new String(); try { Document doc = Jsoup.connect(url).get(); Element body = doc.select("body").first(); responseString = body.text(); Log.wtf("wtf", responseString); } catch (IOException e) { e.printStackTrace(); } return responseString; } @Override protected void onPostExecute(String s) { super.onPostExecute(s); yearFactCard.setTitle("Year fact for number " + yearFactCardTitle); yearFactCard.setDescription(s); // pacmanIndicatorYear.setVisibility(View.INVISIBLE); yearFactCard.setVisibility(View.VISIBLE); YoYo.with(Techniques.FadeInRight).duration(999).playOn(yearFactCard); } } }
function NxRemoteController(hostname) { this.hostname = hostname; this.viewFinder = null; this.urlPrefix = 'http://' + hostname; this.nxModelName = "NX1"; // FIXME: fallback this.nxFwVer = ""; this.macAddress = ""; this.modalEnabled = false; this.liveView = null; this.osd = null; this.mouseInput = null; this.statusTimer = null; this.settings = null; this.init(); } NxRemoteController.prototype.createUrl = function (path) { return this.urlPrefix + path; } NxRemoteController.prototype.setVisibility = function () { if (this.isNx1()) { this.viewFinder.panel.target.find('.nx1-only').show(); } else { this.viewFinder.panel.target.find('.nx1-only').hide(); } if (this.isNx500()) { this.viewFinder.panel.target.find('.nx500-only').show(); } else { this.viewFinder.panel.target.find('.nx500-only').hide(); } if (this.isNx1() || this.isNx500()) { this.viewFinder.panel.target.find('.nx1-nx500-only').show(); } else { this.viewFinder.panel.target.find('.nx1-nx500-only').hide(); } if (this.isNx300()) { this.viewFinder.panel.target.find('.nx300-only').show(); } else { this.viewFinder.panel.target.find('.nx300-only').hide(); } if (!this.isNx1()) { this.viewFinder.panel.target.find('.not-nx1-only').show(); } else { this.viewFinder.panel.target.find('.not-nx1-only').hide(); } } NxRemoteController.prototype.getCameraInfo = function () { var self = this; $.ajax({ url: self.createUrl('/api/v1/camera/info'), success: function (info) { self.nxModelName = info.model; self.nxFwVer = info.fw_ver; self.macAddress = info.mac_address; var text = 'NX Remote Controller ' + '[ ' + info.model + ' (fw ' + info.fw_ver + ')]'; document.title = text; self.settings = new Settings(self.macAddress); self.viewFinder = new ViewFinder(self); self.osd = new Osd(self); self.liveView = new LiveView(self); self.mouseInput = new MouseInput(self); self.setVisibility(); self.controlLcd('on'); self.statusTimer = setInterval(function () { self.getCameraStatus(); }, 1000); app.controlPanel.updateTitle(); app.controlPanel.setVisibility(); } }); } NxRemoteController.prototype.isNx1 = function () { return this.nxModelName == 'NX1'; } NxRemoteController.prototype.isNx500 = function () { return this.nxModelName == 'NX500'; } NxRemoteController.prototype.isNx300 = function () { return this.nxModelName == 'NX300'; } NxRemoteController.prototype.restartScreen = function () { var self = this; if (self.liveView != null && self.liveView.started == false) { var value = this.settings.getLiveView(); if (value === "hq") { self.liveView.start(false); // restart hq liveview } else if (value === "lq") { self.liveView.start(true); // restart lq liveview } else if (value === "hide") { self.liveView.stop(); } } if (self.osd != null && self.osd.started == false) { var value = this.settings.getOsd(); if (value === "show") { self.osd.start(); // restart osd } else if (value === "hide") { self.osd.stop(); } } } NxRemoteController.prototype.getCameraStatus = function () { var self = this; $.ajax({ url: self.createUrl('/api/v1/camera/status'), timeout: 3000, success: function(status) { var title = $('<span></span>') .click(function () { self.ledBlink(); }); var html = '&nbsp;' + self.nxModelName + ' / ' + self.hostname + ' / '; if (self.isNx1()) { var batteryIcon; if (status.battery_percent > 75) { batteryIcon = '<i class="fa fa-battery-4"></i>'; } else if (status.battery_percent > 50) { batteryIcon = '<i class="fa fa-battery-3"></i>'; } else if (status.battery_percent > 25) { batteryIcon = '<i class="fa fa-battery-2"></i>'; } else if (status.battery_percent > 10) { batteryIcon = '<i class="fa fa-battery-1"></i>'; } else { batteryIcon = '<i class="fa fa-battery-0" style="color:red"></i>'; } // TODO: vgrip html += batteryIcon + ' ' + status.battery_percent + '%' + (status.battery_charging == true ? ' (<i class="fa fa-bolt"></i>)' : ""); } else { var batteryIcon; if (status.battery_level == 5) { batteryIcon = '<i class="fa fa-battery-4"></i>'; } else if (status.battery_level == 4) { batteryIcon = '<i class="fa fa-battery-3"></i>'; } else if (status.battery_level == 3) { batteryIcon = '<i class="fa fa-battery-2"></i>'; } else if (status.battery_level == 2) { batteryIcon = '<i class="fa fa-battery-1"></i>'; } else { batteryIcon = '<i class="fa fa-battery-0" style="color:red"></i>'; } html += batteryIcon + (status.battery_charging == true ? ' <i class="fa fa-bolt"></i>' : ""); } html += ' / Mode: ' + status.mode; self.viewFinder.panel.setTitle(title.html(html)); if (status.hevc == 'on') { if (self.osd != null) { self.osd.setTimeoutInterval(500); } if (self.liveView != null) { self.liveView.setTimeoutInterval(500); } if (Settings.getScreenOffOnRecord()) { self.stopScreen(); } } else if (status.hevc == 'off') { if (self.osd != null) { self.osd.setTimeoutInterval(50); } if (self.liveView != null) { self.liveView.setTimeoutInterval(50); } } if (!self.viewFinder.panel.isCollapsed() && app.getActiveTab() == '#controller') { if (status.hevc != 'on') { self.restartScreen(); } else if (!Settings.getScreenOffOnRecord()) { self.restartScreen(); } } for (var i = 0; i < status.cameras.length; i++) { var ip = status.cameras[i].ip; var model = status.cameras[i].packet.split('|')[2]; status.cameras[i].model = model; status.cameras[i].macAddress = status.cameras[i].packet.split('|')[4]; app.setCameras(status.cameras); } if (self.modalEnabled == true) { $('#disconnectedModal').modal('hide'); self.modalEnabled = false; } }, error: function (request, status, error) { if (self.modalEnabled == false) { var hostname; var found = false; for (hostname in app.controllers) { var controller = app.controllers[hostname]; if (controller.hostname == self.hostname) { found = true; } } if (!found) { return; } var name = self.settings.getName(); if (name == '') { name = self.hostname; } $('#disconnectedModalBody') .html($('<p></p>').append(name + ' is disconnected.')); $('#disconnectedModal').modal('show'); self.modalEnabled = true; setTimeout(function() { if (self.modalEnabled) { app.removeController(self.hostname); $('#disconnectedModal').modal('hide'); self.modalEnabled = false; } }, 5000); // wait 5 second; } } }); } NxRemoteController.prototype.controlLcd = function (state) { var self = this; $.ajax({ url: self.createUrl('/api/v1/lcd/' + state), mimeType: 'text/html', success: function(data) { } }); } NxRemoteController.prototype.shutterSetSilent = function (silent) { var self = this; $.ajax({ url: self.createUrl('/api/v1/shutter/' + (silent ? 'silent' : 'normal')), mimeType: 'text/html', success: function(data) { } }); } NxRemoteController.prototype.ledSet = function (on) { var self = this; $.ajax({ url: self.createUrl('/api/v1/led/' + (on ? "on" : "off")), mimeType: 'text/html', success: function(data) { } }); } NxRemoteController.prototype.ledBlink = function () { var self = this; for (var ms = 0; ms < 2000; ms += 500) { setTimeout(function () { self.ledSet(true); }, ms); setTimeout(function () { self.ledSet(false); }, ms + 250); } } NxRemoteController.prototype.init = function () { var self = this; this.getCameraInfo(); this.ledBlink(); } NxRemoteController.prototype.stopScreen = function () { if (this.osd != null) { this.osd.stop(); } if (this.liveView != null) { this.liveView.stop(); } } NxRemoteController.prototype.destroy = function () { this.osd.destroy(); this.osd = null; this.liveView.destroy(); this.liveView = null; this.mouseInput = null; if (this.statusTimer != null) { clearInterval(this.statusTimer); this.statusTimer = null; } if (this.viewFinder != null) { this.viewFinder.destroy(); this.viewFinder = null; } } NxRemoteController.prototype.isKeyInputEnabled = function () { if (this.settings != null) { return this.settings.getKeyInputEnabled(); } else { return false; } } function showAndroidToast(msg) { Android.showToast(msg); }
You need to stop letting the draft in when ever they monitor my footsteps in the bathroom. I am surprised you see it fit to tell the Handyman that I am locking the back door but you failed to tell him that you are responsible for the locking of the back door at night for your wicked act of opening the door when I am in the bathroom and in the middle of the night to harass me as you do with radiation. You have tried every wicked way to try to run me out of my God given house and have not succeeded and WILL NEVER SUCCEED IN THE MIGHTY NAME OF JESUS. ALL YOUR EVIL PLANS AGAINST WILL AMOUNT TO NOTHING, in JESUS MIGHTY NAME. AMEN ALL THE CHEMICALS YOU ARE RELEASING TO HARM ME WILL NEVER AMOUNT TO ANYTHING. IN JESUS NAME. I RETURN IT TO SENDER IN THE SPIRIT REALM IN JESUS NAME. Sometimes she would come up to our door in the middle of the night and pound on it, yelling about how we were evil witches and our wickedness against her would never succeed. Another time she told Julia "I don't want to hear your voice, you wicked witch! You deny and you deny, but you know what you are doing! You didn't have the idea to be out here before, but now I'm here you come out here! You're the chief, you're the chief witch." On an evening in May, at approximately 9:00, the defendant stood on the stairs outside of [tenant]'s apartment, screaming about "how Muslims are, they should be burned in hell, and how [the] prophet should be burned in hell." Construction workers were preparing to work on the street, and they rang door bells in the area to request that cars on the street be moved. After [tenant] moved her car, she climbed the stairs from the first floor to the second floor, when she was confronted by the defendant at the top of the stairs outside the Defendant's second floor apartment. The defendant yelled at [tenant] for ringing the bell, and [she] explained about the construction work on the street and attempted to avoid further interaction. In response, the Defendant shouted at [tenant] to "get out of my house!" then pushed her as she was at the top of the stairs. [Tenant] fell backward, down the approximately fifteen to twenty stairs toward the first floor. As she fell, she struck her face on the banister, causing a bleeding and swollen lip, which was documented by photographs. Ultimately, she fell all the way to the bottom of the stairs, striking other parts of her body tearing a ligament in her shoulder. What makes this a contraversial news story, though, instead of just a "landlord from hell" is that the judge ordered her to "learn about the Muslim Faith by enrolling and attending an introductory course on Islam" as a condition of her probation. So now there's an appeal: does this violate the first amendment? Here, it is clear that there is state action, as the condition is a court-ordered probation requirement, and the defendant would suffer consequences if she failed to complete the requirement. However, the object of the condition is not that she adopt or be discouraged from any religious practice—or even that she attend a Muslim religious service, contrast [1996 cite](prison may not require attendance at Narcotics Anonymous meetings)—but merely that she educate herself; therefore the condition neither advances nor inhibits religion. [2007 cite](drug treatment program required reverence and belief in higher power for successful completion). Judge: I'm looking at her record. It's all in apartment three at 63 Pinckney Street. So in July of 2011, it was [Julia Wise] taking out a [harassment prevention restraining order]. In June of 2012, it was [tenant]. After [tenant] left, new people moved into apartment three.- In October of 2013, [next tenant 1] and [next tenant 2] took out harassment prevention orders against her, and they're still in existence, until September 2014. If we had all been Muslim then this might make more sense, but her harassment against us was for being witches and chances are the tenants who followed this one weren't Muslim either. This isn't the sort of thing an appeals court is likely to overturn the trial judge's decsision on, though, so instead the question is whether she can be made to take classes about another religion. We're not, though, in case you were wondering.
[185 Pages Report] The global EPDM market is projected to be worth USD 7.2 Billion by 2020, registering a CAGR of 5.4% between 2015 and 2020. In this study, 2013 has been considered as the historical year and 2014 as the base year for estimating market size of EPDM. The report aims at estimating the market size and future growth potential of EPDM market across different end-use industry such as automotive, building & construction, plastic modification, lubricant additive, wires & cables, and tyres & tubes and region. The market size is forecasted from 2015 to 2020. In the secondary research process, different sources have been referred to identify and collect information for this study. These secondary sources include annual reports, press releases, and investor presentations of companies, white papers, and certified publications, articles from recognized authors. In the primary research process, industry personnel from both supply and demand sides have been interviewed to obtain qualitative and quantitative information for this report. The bottom-up approach has been used to estimate market size of EPDM end-use industry, and regions, in terms of value and volume. The top-down approach has been implemented to validate the EPDM market size, in terms of value and volume. With the data triangulation procedure and validation of data through primaries, the exact values of the overall parent market size and individual market sizes have been determined and confirmed in this study. Below is the figure showing break-up of profile of primary discussion participants. This study answers several questions for the stakeholders, primarily which market segments to focus in next two to five years for prioritizing the efforts and investments. These stakeholders include EPDM manufacturers such as the ExxonMobil Chemical Company (U.S.), PetroChina Co. Ltd (China), SK Global Chemical Co. Ltd (South Korea), Mitsui Chemicals Inc. (Japan), Carlisle Companies Inc. (U.S.), DoW Elastomers (U.S.), John Manville Inc. (U.S.), JSR Corporation (Japan), Lanxess AG (Germany) and Kumho Polychem Co. Ltd (South Korea), among others. Government organizations and universities such as Cambridge University (U.K.), European Union, and the U.S. EPA are also the critical stakeholders for this study. Each application is further described in detail in the report with value and volume forecasts till 2020. Each region is further segmented by key countries such as U.S. Canada, Mexico, China, Taiwan, Japan, South Korea, India, Malaysia, Germany, France, the U.K., Spain, Italy, Turkey, Brazil and Argentina. The global EPDM market size, in terms of value, is projected to reach USD 7.2 Billion by 2020, at a CAGR of 5.4% between 2015 and 2020. The increase usage of EPDM in plastic modification applications, increasing domestic consumption in China, and continuous expansion activities undertaken by companies are key factors driving the growth of the global market. The lubricant additive is projected to be the fastest-growing application segment of EPDM market between 2015 and 2020 owing to the fact that it is an indispensable feature of all machinery, ranging from applications which enable the manipulation of very small parts to the movement of very heavy masses. EPDM is used as a viscosity improver (VI) in lubricants. Its propensity to absorb oil makes it advantageous to be used in oil viscosity improving applications. The automotive industry is the largest-growing end-use industry segment in the global EPDM market. The consumption of EPDM in the automotive industry globally is mainly due to its high heat and weather resistance, and vibration absorbing properties. It is because of these properties that EPDM is also used in various applications such as hoses, mechanical goods for under-hood applications, body sealing, weather-stripping, belts, engine mounts, brake parts, windshield wipers, etc. Currently, Asia-Pacific is the largest market for EPDM, accounting for around forty percent of the global market size, by value and volume, in 2014. Among all the countries, China dominates the market in 2014, closely followed by U.S. Malaysia is the fastest-growing market in the world and is expected to surpass China and Japan in the EPDM market in the near future. Along with the rising demand of EPDM in the Asia-Pacific region, international EPDM manufacturing companies find it reasonable to manufacture EPDM products in the Asia-Pacific region than other regions due to the lower cost of labor. Though the EPDM market is growing at a significant growth rate, few factors hinder the growth of the market globally. Increasing environmental concerns regarding the emission of VOCs during the production of EPDM is one of the major restrictions for the growth in market. Also, the shift of end-user market from developed countries to the developing countries, and fluctuations in the currency exchange rates of Japan are the major restraints toward the growth of the EPDM market. Companies such as ExxonMobil Chemical Company (U.S.), PetroChina Co. Ltd (China), SK Global Chemical Co. Ltd (South Korea), Mitsui Chemicals Inc. (Japan), Carlisle Companies Inc. (U.S.), DoW Elastomers (U.S.), John Manville Inc. (U.S.), JSR Corporation (Japan), Lanxess AG (Germany) and Kumho Polychem Co. Ltd (South Korea), are the dominant market players in the global EPDM market. The diverse product portfolio and strategically positioned R&D centers, continuous adoption of development strategies, and technological advancements are the few factors that are responsible for strengthening the market position of these companies in the market. 10.5 SK Global Chemical Co. Ltd. 10.11 Kumho Polychem Co. Ltd. 10.15 Sumitomo Chemical Co. Ltd. Figure 63 SWOT Analysis: Petrochina Co. Ltd. Figure 68 SWOT Analysis: SK Global Company Co. Ltd. Figure 70 SWOT Analysis: Mitsui Chemicals Inc.
/* * This is the source code of Telegram for Android v. 3.x.x. * It is licensed under GNU GPL v. 2 or later. * You should have received a copy of the license in this archive (see LICENSE). * * Copyright Nikolai Kudashov, 2013-2016. */ package org.telegram.ui.Components; import android.content.Context; import android.util.SparseArray; import org.telegram.messenger.AndroidUtilities; import org.telegram.messenger.support.widget.GridLayoutManager; import java.util.ArrayList; public class ExtendedGridLayoutManager extends GridLayoutManager { private SparseArray<Integer> itemSpans = new SparseArray<>(); private ArrayList<ArrayList<Integer>> rows; private SparseArray<Integer> itemsToRow = new SparseArray<>(); private int calculatedWidth; public ExtendedGridLayoutManager(Context context, int spanCount) { super(context, spanCount); } @Override public boolean supportsPredictiveItemAnimations() { return false; } private void prepareLayout(float viewPortAvailableSize) { itemSpans.clear(); itemsToRow.clear(); int preferredRowSize = AndroidUtilities.dp(100); float totalItemSize = 0; int itemsCount = getFlowItemCount(); int[] weights = new int[itemsCount]; for (int a = 0; a < itemsCount; a++) { Size size = sizeForItem(a); totalItemSize += (size.width / size.height) * preferredRowSize; weights[a] = Math.round(size.width / size.height * 100); } int numberOfRows = Math.max(Math.round(totalItemSize / viewPortAvailableSize), 1); rows = getLinearPartitionForSequence(weights, numberOfRows); int i = 0, a; float previousItemSize = 0; for (a = 0; a < rows.size(); a++) { ArrayList<Integer> row = rows.get(a); float summedRatios = 0; for (int j = i, n = i + row.size(); j < n; j++) { Size preferredSize = sizeForItem(j); summedRatios += preferredSize.width / preferredSize.height; } float rowSize = viewPortAvailableSize; if (rows.size() == 1 && a == rows.size() - 1) { if (row.size() < 2) { rowSize = (float) Math.floor(viewPortAvailableSize / 3.0f); } else if (row.size() < 3) { rowSize = (float) Math.floor(viewPortAvailableSize * 2.0f / 3.0f); } } int spanLeft = getSpanCount(); for (int j = i, n = i + row.size(); j < n; j++) { Size preferredSize = sizeForItem(j); int width = Math.round(rowSize / summedRatios * (preferredSize.width / preferredSize.height)); int itemSpan; if (itemsCount < 3 || j != n - 1) { itemSpan = (int) (width / viewPortAvailableSize * getSpanCount()); spanLeft -= itemSpan; } else { itemsToRow.put(j, a); itemSpan = spanLeft; } itemSpans.put(j, itemSpan); } i += row.size(); } } private int[] getLinearPartitionTable(int[] sequence, int numPartitions) { int n = sequence.length; int i, j, x; int tmpTable[] = new int[n * numPartitions]; int solution[] = new int[(n - 1) * (numPartitions - 1)]; for (i = 0; i < n; i++) { tmpTable[i * numPartitions] = sequence[i] + (i != 0 ? tmpTable[(i - 1) * numPartitions] : 0); } for (j = 0; j < numPartitions; j++) { tmpTable[j] = sequence[0]; } for (i = 1; i < n; i++) { for (j = 1; j < numPartitions; j++) { int currentMin = 0; int minX = Integer.MAX_VALUE; for (x = 0; x < i; x++) { int cost = Math.max(tmpTable[x * numPartitions + (j - 1)], tmpTable[i * numPartitions] - tmpTable[x * numPartitions]); if (x == 0 || cost < currentMin) { currentMin = cost; minX = x; } } tmpTable[i * numPartitions + j] = currentMin; solution[(i - 1) * (numPartitions - 1) + (j - 1)] = minX; } } return solution; } private ArrayList<ArrayList<Integer>> getLinearPartitionForSequence(int[] sequence, int numberOfPartitions) { int n = sequence.length; int k = numberOfPartitions; if (k <= 0) { return new ArrayList<>(); } if (k >= n || n == 1) { ArrayList<ArrayList<Integer>> partition = new ArrayList<>(sequence.length); for (int i = 0; i < sequence.length; i++) { ArrayList<Integer> arrayList = new ArrayList<>(1); arrayList.add(sequence[i]); partition.add(arrayList); } return partition; } int[] solution = getLinearPartitionTable(sequence, numberOfPartitions); int solutionRowSize = numberOfPartitions - 1; k = k - 2; n = n - 1; ArrayList<ArrayList<Integer>> answer = new ArrayList<>(); while (k >= 0) { if (n < 1) { answer.add(0, new ArrayList<Integer>()); } else { ArrayList<Integer> currentAnswer = new ArrayList<>(); for (int i = solution[(n - 1) * solutionRowSize + k] + 1, range = n + 1; i < range; i++) { currentAnswer.add(sequence[i]); } answer.add(0, currentAnswer); n = solution[(n - 1) * solutionRowSize + k]; } k = k - 1; } ArrayList<Integer> currentAnswer = new ArrayList<>(); for (int i = 0, range = n + 1; i < range; i++) { currentAnswer.add(sequence[i]); } answer.add(0, currentAnswer); return answer; } private Size sizeForItem(int i) { Size size = getSizeForItem(i); if (size.width == 0) { size.width = 100; } if (size.height == 0) { size.height = 100; } float aspect = size.width / size.height; if (aspect > 4.0f || aspect < 0.2f) { size.height = size.width = Math.max(size.width, size.height); } return size; } protected Size getSizeForItem(int i) { return new Size(100, 100); } private void checkLayout() { if (itemSpans.size() != getFlowItemCount() || calculatedWidth != getWidth()) { calculatedWidth = getWidth(); prepareLayout(getWidth()); } } public int getSpanSizeForItem(int i) { checkLayout(); return itemSpans.get(i); } public int getRowsCount(int width) { if (rows == null) { prepareLayout(width); } return rows != null ? rows.size() : 0; } public boolean isLastInRow(int i) { checkLayout(); return itemsToRow.get(i) != null; } public boolean isFirstRow(int i) { checkLayout(); return !(rows == null || rows.isEmpty()) && i < rows.get(0).size(); } protected int getFlowItemCount() { return getItemCount(); } }
/* * MOXA ART SoCs clock driver. * * Copyright (C) 2013 Jonas Jensen * * Jonas Jensen <[email protected]> * * This file is licensed under the terms of the GNU General Public * License version 2. This program is licensed "as is" without any * warranty of any kind, whether express or implied. */ #include <linux/clk-provider.h> #include <linux/io.h> #include <linux/of_address.h> #include <linux/clkdev.h> static void __init moxart_of_pll_clk_init(struct device_node *node) { static void __iomem *base; struct clk *clk, *ref_clk; unsigned int mul; const char *name = node->name; const char *parent_name; of_property_read_string(node, "clock-output-names", &name); parent_name = of_clk_get_parent_name(node, 0); base = of_iomap(node, 0); if (!base) { pr_err("%s: of_iomap failed\n", node->full_name); return; } mul = readl(base + 0x30) >> 3 & 0x3f; iounmap(base); ref_clk = of_clk_get(node, 0); if (IS_ERR(ref_clk)) { pr_err("%s: of_clk_get failed\n", node->full_name); return; } clk = clk_register_fixed_factor(NULL, name, parent_name, 0, mul, 1); if (IS_ERR(clk)) { pr_err("%s: failed to register clock\n", node->full_name); return; } clk_register_clkdev(clk, NULL, name); of_clk_add_provider(node, of_clk_src_simple_get, clk); } CLK_OF_DECLARE(moxart_pll_clock, "moxa,moxart-pll-clock", moxart_of_pll_clk_init); static void __init moxart_of_apb_clk_init(struct device_node *node) { static void __iomem *base; struct clk *clk, *pll_clk; unsigned int div, val; unsigned int div_idx[] = { 2, 3, 4, 6, 8}; const char *name = node->name; const char *parent_name; of_property_read_string(node, "clock-output-names", &name); parent_name = of_clk_get_parent_name(node, 0); base = of_iomap(node, 0); if (!base) { pr_err("%s: of_iomap failed\n", node->full_name); return; } val = readl(base + 0xc) >> 4 & 0x7; iounmap(base); if (val > 4) val = 0; div = div_idx[val] * 2; pll_clk = of_clk_get(node, 0); if (IS_ERR(pll_clk)) { pr_err("%s: of_clk_get failed\n", node->full_name); return; } clk = clk_register_fixed_factor(NULL, name, parent_name, 0, 1, div); if (IS_ERR(clk)) { pr_err("%s: failed to register clock\n", node->full_name); return; } clk_register_clkdev(clk, NULL, name); of_clk_add_provider(node, of_clk_src_simple_get, clk); } CLK_OF_DECLARE(moxart_apb_clock, "moxa,moxart-apb-clock", moxart_of_apb_clk_init);
<div class='lead'> {{{ slide.content }}} </div>
#!/usr/bin/env ruby -wKU def print_client(client) printf("+ (NSString *)client {\n\treturn @\"#{client}\";\n}\n") end def print_secret(secret) printf <<-EOF + (NSString *)secret { uint8_t bytes[] = { EOF printf "\t\t" length = secret.length key = Array.new(length) {|i| rand(256)} length.times do |i| if RUBY_VERSION < '1.9' then c = secret[i] else c = secret.getbyte(i) end c ^= key[i] printf("0x%02x", c) if (length > i + 1) printf(", ") printf("\n\t\t") if (i % 8 == 7) end end printf("\n\t};\n") printf("\tchar key[] = {\n\t\t") length.times do |i| c = key[i] printf("0x%02x", c) if (length > i + 1) printf(", ") printf("\n\t\t") if (i % 8 == 7) end end print <<-EOF }; long len = #{length}; NSMutableString *secret = [NSMutableString stringWithCapacity:len]; for (int i = 0; i < len; i++ ) { char c = bytes[i] ^ key[i]; [secret appendFormat:@"%c", c]; } return [NSString stringWithString:secret]; } EOF end def print_pocket(pocket) print <<-EOF + (NSString *)pocketConsumerKey { return @"#{pocket}"; } EOF end def print_crashlytics(crashlytics) print <<-EOF + (NSString *)crashlyticsApiKey { return @"#{crashlytics}"; } EOF end def print_hockeyapp(hockeyapp) print <<-EOF + (NSString *)hockeyappAppId { return @"#{hockeyapp}"; } EOF end def print_googleplus(googleplus) print <<-EOF + (NSString *)googlePlusClientId { return @"#{googleplus}"; } EOF end def print_google_login_server(google_login_server) print <<-EOF + (NSString *)googleLoginServerClientId { return @"#{google_login_server}"; } EOF end def print_google_login(debug_and_release_id, alpha_id, internal_id) print <<-EOF + (NSString *)googleLoginClientId { #ifdef ALPHA_BUILD return @"#{alpha_id}"; #elif defined INTERNAL_BUILD return @"#{internal_id}"; #else return @"#{debug_and_release_id}"; #endif } EOF end def print_helpshift_api_key(helpshift_api_key) print <<-EOF + (NSString *)helpshiftAPIKey { return @"#{helpshift_api_key}"; } EOF end def print_helpshift_domain_name(helpshift_domain_name) print <<-EOF + (NSString *)helpshiftDomainName { return @"#{helpshift_domain_name}"; } EOF end def print_helpshift_app_id(helpshift_app_id) print <<-EOF + (NSString *)helpshiftAppId { return @"#{helpshift_app_id}"; } EOF end def print_debugging_key(debugging_key) print <<-EOF + (NSString *)debuggingKey { return @"#{debugging_key}"; } EOF end def print_class(client, secret, pocket, crashlytics, hockeyapp, googleplus, google_id, google_id_alpha, google_id_internal, google_login_server, helpshift_api_key, helpshift_domain_name, helpshift_app_id, debugging_key) print <<-EOF #import "ApiCredentials.h" @implementation ApiCredentials EOF print_client(client) print_secret(secret) print_pocket(pocket) print_crashlytics(crashlytics) print_hockeyapp(hockeyapp) print_googleplus(googleplus) print_google_login(google_id, google_id_alpha, google_id_internal) print_google_login_server(google_login_server) print_helpshift_api_key(helpshift_api_key) print_helpshift_domain_name(helpshift_domain_name) print_helpshift_app_id(helpshift_app_id) print_debugging_key(debugging_key) printf("@end\n") end rawpath = ENV['WPCOM_CONFIG'] if rawpath.nil? $stderr.puts "error: file WPCOM_CONFIG not defined" exit 1 end path = File.expand_path(rawpath) unless File.exist?(path) $stderr.puts "error: file #{path} not found" exit 1 end client = nil secret = nil pocket = nil crashlytics = nil hockeyapp = nil googleplus = nil google_id = nil google_id_alpha = nil google_id_internal = nil google_login_server = nil helpshift_api_key = nil helpshift_domain_name = nil helpshift_app_id = nil debugging_key = nil File.open(path) do |f| f.each_line do |l| (k,value) = l.split("=") value.strip! if k == "WPCOM_APP_ID" client = value elsif k == "WPCOM_APP_SECRET" secret = value elsif k == "POCKET_CONSUMER_KEY" pocket = value elsif k == "CRASHLYTICS_API_KEY" crashlytics = value elsif k == "HOCKEYAPP_APP_ID" hockeyapp = value elsif k == "GOOGLE_PLUS_CLIENT_ID" googleplus = value elsif k == "GOOGLE_LOGIN_CLIENT_ID" google_id = value elsif k == "GOOGLE_LOGIN_CLIENT_ALPHA_ID" google_id_alpha = value elsif k == "GOOGLE_LOGIN_CLIENT_INTERNAL_ID" google_id_internal = value elsif k == "GOOGLE_LOGIN_SERVER_ID" google_login_server = value elsif k == "HELPSHIFT_API_KEY" helpshift_api_key = value elsif k == "HELPSHIFT_DOMAIN_NAME" helpshift_domain_name = value elsif k == "HELPSHIFT_APP_ID" helpshift_app_id = value elsif k == "DEBUGGING_KEY" debugging_key = value end end end if client.nil? $stderr.puts "warning: Client not found" exit 2 end if secret.nil? $stderr.puts "warning: Secret not found" exit 3 end configuration = ENV["CONFIGURATION"] if !configuration.nil? && ["Release", "Release-Internal"].include?(configuration) if crashlytics.nil? $stderr.puts "warning: Crashlytics API key not found" end if pocket.nil? $stderr.puts "warning: Pocket API key not found" end if googleplus.nil? $stderr.puts "warning: Google Plus API key not found" end if google_id.nil? $stderr.puts "warning: Google Login Client ID not found" end if helpshift_api_key.nil? || helpshift_domain_name.nil? || helpshift_app_id.nil? $stderr.puts "warning: Helpshift keys not found" end if configuration == "Release-Internal" if hockeyapp.nil? $stderr.puts "warning: HockeyApp App Id not found" end end end print_class(client, secret, pocket, crashlytics, hockeyapp, googleplus, google_id, google_id_internal, google_id_alpha, google_login_server, helpshift_api_key, helpshift_domain_name, helpshift_app_id, debugging_key)
DLNR Division of Forestry and Wildlife (DOFAW) personnel and invasive species committees on O‘ahu, Maui, Kaua‘i and Hawai‘i Island conduct twice-annual overflights of native forests, where ʻōhiʻa is present in large numbers. Last week’s announcement that one of two species of Rapid ʻŌhiʻa Death (ROD), known as Ceratocystis huliohia, was positively identified as killing at least five trees in the Moloa‘a Forest Reserve on Kaua‘i has given survey teams a renewed awareness and sense of urgency. The various island Invasive Species Committees have a shared mission of stopping the spread of invasive species like Rapid ʻŌhiʻa Death. On Oʻahu, the news from Kaua‘i is prompting OISC to institute decontamination procedures whenever the crew encounters ohia forest and not just when sampling dead trees. These procedures have become commonplace on the Big Island and now on Kaua‘i. These include using 70% isopropyl alcohol and scrub brushes to get mud off boots, washing the wheel wells and undercarriages of vehicles used in forest areas, decontaminating tools and avoiding moving any ʻōhiʻa wood or wood products from place-to-place. Recently researchers found there are two different species under the ROD umbrella. Ceratocystis huliohia, the less serious of the two, recently confirmed on Kaua‘i and Ceratocystis lukuohia, which is largely responsible for the devastation of millions of ʻōhiʻa trees across 135,000 acres on Hawai‘i Island, since ROD was first identified more than four years ago. It’s not believed at this time that Ceratocystis huliohia spread from the Big Island to Kaua‘i. Since it kills trees much slower than its more aggressive cousin, researchers think it could be present in native forests around the state and have been so for a very long time. Increased awareness of what to look for by people working in and surveying in forests may be the primary reason the trees on Kaua‘i were detected and subsequently tested. There is currently no treatment for either strain of Rapid ʻŌhiʻa Death and that’s why scientists, field crews, and land managers are encouraging everyone who goes into a forest for any reason to practice good decontamination techniques. Oʻahu residents may report dead or dying ʻōhiʻa to [email protected] or 808-266-7994. Photos of the tree and specific locations are extremely helpful to be able to sample the tree later.
Lumineers are a relatively new breakthrough in cosmetic dentistry that can give you a more perfect smile! Lumineers are ultra-thin porcelain veneers. They are remarkably strong and can correct most cosmetic dental problems such as tooth discoloration, unevenness, chips, crookedness, and gaps. Lumineers generally only require two appointments to have them created and applied versus veneers that require at least three. Temporary veneers are not required with them, which also make them attractive to certain individuals. Another advantage to lumineers is that the natural tooth is not damaged in any way to apply them. They are placed directly on the cleaned tooth with special cement that is bonded with a light. Traditional veneers require that part of the enamel of the tooth be removed before they can be bonded to the tooth. Many people like that fact that the natural tooth does not have to be damaged in order to have lumineers applied. Because of this, it makes the lumineers able to be removed if you should decide that you no longer want them for some reason. There is no pain to the application process, no shots that need to be given, no grinding down of the teeth prior to having them bonded to the teeth. Just clean teeth and a little time. There is at no point going to be a week or two where you will have to be seen in public with part of your teeth ground down, which can show more stains and damage to your teeth than before the process was begun. Simply go to the first appointment for an exam and to find out if lumineers are right for you. If they are, a mold will be made from your teeth and sent off for the lumineers to be created. At your next appointment, providing you had no other forms of dentistry to be done such as fillings and the like, your lumineers will be bonded to your teeth right then and you will be leaving with a whole new smile.
/* LUFA Library Copyright (C) Dean Camera, 2013. dean [at] fourwalledcubicle [dot] com www.lufa-lib.org */ /* Copyright 2013 Dean Camera (dean [at] fourwalledcubicle [dot] com) Permission to use, copy, modify, distribute, and sell this software and its documentation for any purpose is hereby granted without fee, provided that the above copyright notice appear in all copies and that both that the copyright notice and this permission notice and warranty disclaimer appear in supporting documentation, and that the name of the author not be used in advertising or publicity pertaining to distribution of the software without specific, written prior permission. The author disclaims all warranties with regard to this software, including all implied warranties of merchantability and fitness. In no event shall the author be liable for any special, indirect or consequential damages or any damages whatsoever resulting from loss of use, data or profits, whether in an action of contract, negligence or other tortious action, arising out of or in connection with the use or performance of this software. */ /** \file * \brief Supported library architecture defines. * * \copydetails Group_Architectures * * \note Do not include this file directly, rather include the Common.h header file instead to gain this file's * functionality. */ /** \ingroup Group_Common * \defgroup Group_Architectures Hardware Architectures * \brief Supported library architecture defines. * * Architecture macros for selecting the desired target microcontroller architecture. One of these values should be * defined as the value of \c ARCH in the user project makefile via the \c -D compiler switch to GCC, to select the * target architecture. * * The selected architecture should remain consistent with the makefile \c ARCH value, which is used to select the * underlying driver source files for each architecture. * * @{ */ #ifndef __LUFA_ARCHITECTURES_H__ #define __LUFA_ARCHITECTURES_H__ /* Preprocessor Checks: */ #if !defined(__INCLUDE_FROM_COMMON_H) #error Do not include this file directly. Include LUFA/Common/Common.h instead to gain this functionality. #endif /* Public Interface - May be used in end-application: */ /* Macros: */ /** Selects the Atmel 8-bit AVR (AT90USB* and ATMEGA*U* chips) architecture. */ #define ARCH_AVR8 0 /** Selects the Atmel 32-bit UC3 AVR (AT32UC3* chips) architecture. */ #define ARCH_UC3 1 /** Selects the Atmel XMEGA AVR (ATXMEGA*U chips) architecture. */ #define ARCH_XMEGA 2 #if !defined(__DOXYGEN__) #define ARCH_ ARCH_AVR8 #if !defined(ARCH) #define ARCH ARCH_AVR8 #endif #endif #endif /** @} */
This lighter features a stamped WiFi symbol on our Cerulean lighter. The WiFi symbol is debossed into the lighter case creating a 3D design. Comes packaged in a gift box.
Stock Price >= -20% of 52 Week High — s.c.a.n. I'm trying to build a scan that will show me stocks that range within 52 Week Highs down to -20% from their 52 Week High. I know that [today's high <= yesterday's daily max(253,high)*0.8] will get me those that are 20% below their 52 wk high, but how do I get those that are -20% to 0% of a 52 wk high? Wouldn't that show stocks 20% over their 52 week high? Sorry if my post wasn't quite clear. I want to be able to scan for stocks that are -20% to 0% of their 52 wk high. The clause says Show me things in the universe you selected that the current HIGH price is greater than or equal to the 253 day High times 0.8. This would show things in the universe that you selected that are within 20% of the high. Your first clause or expression ( <=) would show things that are NOT within 20% of the high. Another way to do this is use Fast Stochastics with parameters 251,1.
The effects of nonsteroidal anti-inflammatory drugs on immune functions of human peripheral blood mononuclear cells. The effects of a newly developed nonsteroidal anti-inflammatory drug (M-5011) on arachidonic acid metabolism in rheumatoid synovial fibroblasts. Hydroxyl radical scavenging activity of nonsteroidal anti-inflammatory drugs. Antinociceptive activity of a novel non-steroidal anti-inflammatory drug (M-5011) with low ulcerogenic effects in mice.
How much importance the sample flat interior design has in this ? The Sample Flat is the single most important factor… that can make or break the success of your project!!! we can compare it with anything… But you eventually will come to conclusion… although everything mentioned above is important to generate leads, market attention, awareness also generating phone calls and visits to your site… but everything wins or fails with the “Sample flat”!!! As the home buyer sees with eyes, touch with hands and feels the emotions that drive him to take his buying decision!!! Hence “The Sample flat” is super important !!! So much so… that done well it can literally sale the flats almost effortlessly… Having said that, builder don’t have an easy time making simple flat just as they want (home buyers visiting project want). Why Builders suffer in getting sample flat ready in time? It is the Main responsibility of the interior designer to consider both demographic and psycho graphic profiles of the ideal buyers to the flats in the project and design the sample flat such that it successfully helps maximum visitors in making their buying decision!!! A successful interior design of the sample flat is just what it takes to convince the visiting home buyer that this is indeed the place of his dream that he is searching for and get him to book the flat!!! Unfortunately though, most interior designers fail to create such interest in buyers and the investment made by the builder suffer due to poor conversion rate and delay in selling the project out. Now, there are some exceptions but in general interior designers are known for not being able to complete the projects on or before time… this is particularly true with the “sample flat project” It is a big event for you as a builder of the project!!! You invited all the related people, professional contacts, prospect buyers family members etc. for the grand opening of the project (start of selling flats) the date is approaching and the design work is still going on and you wonder if it is going to finish before the BIG DAY !!! This is not a rare problem; there is always a pressure (especially financial pressure) which makes launching date of the project super important!!! This would a dream come true for most builders!!! Builders are never short on budget. Having said that “sample flat” is something a temporary investment for a builder (although very important one). In most of the cases the sample flat are demolished at the time of construction depending up on the architecture and plan of the society. A builders Investment in a sample flat becomes a two way sword !!! So, it’s really comes to the skills of the interior designer again to decide how much is good enough!!! There is need in the market of sample flat interior designer specialists who can utilize the budget in such a manner that it is good enough to be a winning design that converts visitors in to home buyers in the given project. The fundamental purpose of designing a home (flat for family) and a sample flat is completely different. There is huge requirement in the market for interior designers who understand this difference and specializes in making the project a great success by a remarkable sample flat design. In summary, there are 3 things you should consider when appointing an interior designer for the sample flat of your project. As discussed, there is so much difference in normal interior designer / firm who does residential / commercial projects and the requirements for designing a sample flat. It’s like the old TV commercial for a job website, where the a tennis player continuously hitting out of the ground and loosing… then the job website places him in the right job and then he become a master six hitter in cricket !!! Sample flat design experts personally visit the project site, observes the interior of constructed flat and notes the possibilities to convert this flat in to a winning sample flat with best use of design elements. The observations are noted and sent the office on same day for processing further. The interior design of the sample flat is based on understanding demographics (the area of home buyers) and psycho-graphics (buying preferences of home buyers) of the project. This is understood by our system by getting answers to a questioner that we designed to clearly analyse the expectations from the successful sample flat. The software simulation helps in getting exact idea about how sample flat would look after finally done with interior designing. The software plans can show in the form of images and even virtual walk around with the interior designing ideas. You can change the plan, colour, theme etc. based on simulation itself, thus saving you lots of time and cost for modification. Now a days the software simulation designs of an interior plan is as real as it can get. This takes away a lot of guess work and hassle out of approval of interior design plan that wins majority of votes. The approved plan is taken into action in quickest time, materials purchase orders given immediately making entire process super efficient. Implementation of design at sample flat, this is where Business Systems performs at their peak and this is where the difference between a Specialist and other interior designer lies. Systems designed for performing specific tasks in effective and timely manner takes the time-delay factor away from the equation. It gets completed on time. Congratulations !!! Here is your first step in making your project a great success... A Superb sample flat that creates the feelings of pride, opens all possibilities in minds of visitors and helps home buyers in making their buying decisions with confidence. All in all a sample flat which converts visits in to sales.
Hello, I’m searching for a service manual about Fujitsu-siemens Amilo pi which is completely dead. With kind regard. Fujitsu-Siemens AMILO A, Schematic diagram · Fujitsu-Siemens AMILO A, Schematic diagram · Fujitsu-Siemens AMILO A, Schematic diagram . Fujitsu Siemens Pi Full Text Matches – Check >> 01, Notebooks, kB, , Fujitsu Siemens, Amilo A, andunn , , i need service manual for power supply psm from solder thanks. Fujitsu siemens amilo lgw manual for windows 8 download Documents. I decided to ring FS customer service, and was horrified that not even there CS ppl know where the 2nd Sodimm slot is Fujitsu siemens amilo la service manual Download now Documents. It also seems to be a reasonably common problem with FS notebooks. I’m trying to remove the motherboard so I can replace the DC power connector. Did synchronous rectifier has other function? Service manual for Fujitsu lifebook 0. The time now is Half bridge LLC resonant converter 3. Operacin Soft Starter WEG SSW 06 Los Arrancadores Suaves WEG, serie SSW, son micro procesados, totalmente digitales, dotados de tecnologa de punta y fueron proyectados para garantizar el mejor desempeo en el arranque y parada de los motores de induccin, presentndose como una solucin completa y de. Proper power supply for this gate driver IC 2. Recommendation for power module 2. Can’t fujitsu siemens amilo pi 1505 service manual that difficult or expensive to implement and would save so much hassle. I manul have fujifsu 1. External bias supply for SMPS 3. Fujitsu siemens amilo pro v service manual Documents. No registered users and 1 guest. Fujitsu Lifebook C service manual plzz 0. Fujitsu siemens amilo pro v manual Documents. Fujitsu siemens amilo pi repair manual, Stihl f weedeater manual ,Bosch maxx 6 manual ,Stihl manual oiler In addition to our world-class turnaround siemems, our Factory Owned D. I msnual it ridiculous that the manual doesn’t show this or support know either. Why can’t they fix it? I2C Clock not generated fujitsu siemens amilo pi 1505 service manual master Who is online Users browsing this forum: Understanding current loop compensation in boost PFC 2. Fujitsu siemens amilo pro v manual Download fasters Documents. I need Fujitsu-Siemens Amilo pi service manual. Mechanical Parameters of RC servo 4. KlausST 72FvM 36betwixt 22volker muehlhaus 21asdf44 Fujitsu siemens amilo pi repair manual 11505 Report. I want to upgrade my Ssrvice to 1. I’ve got fujitsu siemens amilo pi 1505 service manual hard disk out, the fan and cooling pipe out. Most notebook have a little door opened with 1 screw for upgrading memory. Fujitsu siemens service manual amilo Download fasters Documents. I know it’s specified to work with the v, but why not give it a try? The data sheet PDF on this page details the fsb for the processor you’re running http: Amilo pi Hello, I’m searching fujitsu siemens amilo pi 1505 service manual a service manual about Fujitsu-siemens Amilo pi which is completely dead. Adding a load to the auxiliary winding ,anual the TNY circuit 2. Fujitsu Siemens Amilo Pi Measuring ac voltage 2. Manual fujitsu siemens amilo li Documents. Fujitsi help on this would be great BiRNiT. Coupled inductor as common mode choke 4. Reflection Coefficient when conjugate matching Can anyone confirm that it’s found fujitsu siemens amilo pi 1505 service manual the keyboard? Adding JTAG interface fujitsu siemens amilo pi 1505 service manual custom board 2. Taken out as many motherboard screws as I can but now I’m stuck. Jobs that previously required little or no training now require training. Safety of specific LEDs 3. I just recently purchased the Piand was wanting to upgrade the memory from to 1. Fujitsu-siemens amilo m service manual for windows 8 download Documents. Practical Understanding of Reverse Recovery I’d just decide on the amount of RAM you want and buy the cheapest. Fujitsu siemens ajilo li service manual Documents. Fujitsu Siemens Amilo pa Schematic Documents.
# Copyright 2016 Daniel Reis # License AGPL-3.0 or later (http://www.gnu.org/licenses/agpl). from odoo import models, fields, api, tools # Extended name search is only used on some operators ALLOWED_OPS = {'ilike', 'like'} @tools.ormcache(skiparg=0) def _get_rec_names(self): "List of fields to search into" model = self.env['ir.model'].search( [('model', '=', self._name)]) rec_name = [self._rec_name] if bool(self._rec_name) else [] other_names = model.name_search_ids.mapped('name') return rec_name + other_names def _extend_name_results(self, domain, results, limit): result_count = len(results) if result_count < limit: domain += [('id', 'not in', [x[0] for x in results])] recs = self.search(domain, limit=limit - result_count) results.extend(recs.name_get()) return results class IrModel(models.Model): _inherit = 'ir.model' name_search_ids = fields.Many2many( 'ir.model.fields', string='Name Search Fields') @api.model_cr def _register_hook(self): def make_name_search(): @api.model def name_search(self, name='', args=None, operator='ilike', limit=100): # Perform standard name search res = name_search.origin( self, name=name, args=args, operator=operator, limit=limit) enabled = self.env.context.get('name_search_extended', True) # Perform extended name search # Note: Empty name causes error on # Customer->More->Portal Access Management if name and enabled and operator in ALLOWED_OPS: # Support a list of fields to search on all_names = _get_rec_names(self) base_domain = args or [] # Try regular search on each additional search field for rec_name in all_names[1:]: domain = [(rec_name, operator, name)] res = _extend_name_results( self, base_domain + domain, res, limit) # Try ordered word search on each of the search fields for rec_name in all_names: domain = [ (rec_name, operator, name.replace(' ', '%'))] res = _extend_name_results( self, base_domain + domain, res, limit) # Try unordered word search on each of the search fields for rec_name in all_names: domain = [(rec_name, operator, x) for x in name.split() if x] res = _extend_name_results( self, base_domain + domain, res, limit) return res return name_search for model in self.sudo().search(self.ids or []): Model = self.env.get(model.model) if Model is not None: Model._patch_method('name_search', make_name_search()) return super(IrModel, self)._register_hook()
Specialty Orthopaedics is committed to providing outstanding patient care in the Harrison, NY area, but before you commit to Specialty Orthopaedics for a Hammertoe Correction Surgery make sure you compare and shop other medical facilities. It may save you hundreds (in some cases thousands) of dollars. View a Hammertoe Correction Surgery cost comparison for Harrison and Request a Free Quote before you make a decision.
In the 90th anniversary party of Helsinki Student Theatre last autumn I met two colleagues with whom I crawled the streets of Helsinki on all fours ten years ago. It was a result of Reality Research Centre workshop, a new form of public demonstration. Back then we crawled for striking nurses, asylum seekers and victims of climate change. Me and my colleagues thought that today there’s more reasons to drop to your knees than ever. After a brain storm meeting in January we came up with a plan to crawl for future generations. Personally, I think of my nephew when I think of future generations, and the old question of what kind of world we are leaving to our children and to our childrens’ childeren and so on. In terms of ecology, equality or solidarity, the future prospect is grim. If you feel the same, please read the invitation below and join us! The event is on Facebook. On sidewalks in the heart of Helsinki we crawl on all fours for future generations on Saturday 13th of May from 1pm to 2pm. What do future generations need from us right now? In order to survive and thrive they need renewable energy, equal share of resources, education and solidarity that encompasses all lifeforms. And they need it urgently. For these reasons we are on all fours. We fall on our hands and knees at 1pm at Three Smiths Statue and crawl through Aleksanterinkatu Street to Senate Square. There we greet the main building of University of Helsinki, Helsinki Cathedral and Government Palace. Perhaps someone from these institutions will join us or cheer us on. Then we make a round trip to greet The House of Nobility, Presidential Palace, Supreme Court and Embassy of Sweden. The journey ends in Virka-galleria in City Hall where Helsinki City representative will greet us. Or you can also just join us at any point of the route and stop when ever you feel like it. Besides kneepads we recommend crawlers to wear trousers and gloves that can get dirty and torn. On All Fours For Future Generations is arranged by Tuomas Tulikorpi, Janne Saarakkala and Reality Research Centre in cooperation with Friends of the Earth Finland, The Finnish Nature League and Dodo. p.s. I’m very happy our event coincides Global Divestment Mobilisation 2017.
// Generated by the Scala Plugin for the Protocol Buffer Compiler. // Do not edit! // // Protofile syntax: PROTO2 package com.google.protobuf.descriptor import _root_.scalapb.internal.compat.JavaConverters._ /** @param uninterpretedOption * The parser stores options it doesn't recognize here. See above. */ @SerialVersionUID(0L) final case class ExtensionRangeOptions( uninterpretedOption: _root_.scala.Seq[com.google.protobuf.descriptor.UninterpretedOption] = _root_.scala.Seq.empty, unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[ExtensionRangeOptions] with _root_.scalapb.ExtendableMessage[ExtensionRangeOptions] { @transient private[this] var __serializedSizeMemoized: _root_.scala.Int = 0 private[this] def __computeSerializedSize(): _root_.scala.Int = { var __size = 0 uninterpretedOption.foreach { __item => val __value = __item __size += 2 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize } __size += unknownFields.serializedSize __size } override def serializedSize: _root_.scala.Int = { var __size = __serializedSizeMemoized if (__size == 0) { __size = __computeSerializedSize() + 1 __serializedSizeMemoized = __size } __size - 1 } def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = { uninterpretedOption.foreach { __v => val __m = __v _output__.writeTag(999, 2) _output__.writeUInt32NoTag(__m.serializedSize) __m.writeTo(_output__) }; unknownFields.writeTo(_output__) } def clearUninterpretedOption = copy(uninterpretedOption = _root_.scala.Seq.empty) def addUninterpretedOption(__vs: com.google.protobuf.descriptor.UninterpretedOption *): ExtensionRangeOptions = addAllUninterpretedOption(__vs) def addAllUninterpretedOption(__vs: Iterable[com.google.protobuf.descriptor.UninterpretedOption]): ExtensionRangeOptions = copy(uninterpretedOption = uninterpretedOption ++ __vs) def withUninterpretedOption(__v: _root_.scala.Seq[com.google.protobuf.descriptor.UninterpretedOption]): ExtensionRangeOptions = copy(uninterpretedOption = __v) def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v) def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty) def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = { (__fieldNumber: @_root_.scala.unchecked) match { case 999 => uninterpretedOption } } def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = { _root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor) (__field.number: @_root_.scala.unchecked) match { case 999 => _root_.scalapb.descriptors.PRepeated(uninterpretedOption.iterator.map(_.toPMessage).toVector) } } def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this) def companion: com.google.protobuf.descriptor.ExtensionRangeOptions.type = com.google.protobuf.descriptor.ExtensionRangeOptions // @@protoc_insertion_point(GeneratedMessage[google.protobuf.ExtensionRangeOptions]) } object ExtensionRangeOptions extends scalapb.GeneratedMessageCompanion[com.google.protobuf.descriptor.ExtensionRangeOptions] with scalapb.JavaProtoSupport[com.google.protobuf.descriptor.ExtensionRangeOptions, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions] { implicit def messageCompanion: scalapb.GeneratedMessageCompanion[com.google.protobuf.descriptor.ExtensionRangeOptions] with scalapb.JavaProtoSupport[com.google.protobuf.descriptor.ExtensionRangeOptions, com.google.protobuf.DescriptorProtos.ExtensionRangeOptions] = this def toJavaProto(scalaPbSource: com.google.protobuf.descriptor.ExtensionRangeOptions): com.google.protobuf.DescriptorProtos.ExtensionRangeOptions = { val javaPbOut = com.google.protobuf.DescriptorProtos.ExtensionRangeOptions.newBuilder javaPbOut.addAllUninterpretedOption(_root_.scalapb.internal.compat.toIterable(scalaPbSource.uninterpretedOption.iterator.map(com.google.protobuf.descriptor.UninterpretedOption.toJavaProto(_))).asJava) javaPbOut.build } def fromJavaProto(javaPbSource: com.google.protobuf.DescriptorProtos.ExtensionRangeOptions): com.google.protobuf.descriptor.ExtensionRangeOptions = com.google.protobuf.descriptor.ExtensionRangeOptions( uninterpretedOption = javaPbSource.getUninterpretedOptionList.asScala.iterator.map(com.google.protobuf.descriptor.UninterpretedOption.fromJavaProto(_)).toSeq ) def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): com.google.protobuf.descriptor.ExtensionRangeOptions = { val __uninterpretedOption: _root_.scala.collection.immutable.VectorBuilder[com.google.protobuf.descriptor.UninterpretedOption] = new _root_.scala.collection.immutable.VectorBuilder[com.google.protobuf.descriptor.UninterpretedOption] var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null var _done__ = false while (!_done__) { val _tag__ = _input__.readTag() _tag__ match { case 0 => _done__ = true case 7994 => __uninterpretedOption += _root_.scalapb.LiteParser.readMessage[com.google.protobuf.descriptor.UninterpretedOption](_input__) case tag => if (_unknownFields__ == null) { _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder() } _unknownFields__.parseField(tag, _input__) } } com.google.protobuf.descriptor.ExtensionRangeOptions( uninterpretedOption = __uninterpretedOption.result(), unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result() ) } implicit def messageReads: _root_.scalapb.descriptors.Reads[com.google.protobuf.descriptor.ExtensionRangeOptions] = _root_.scalapb.descriptors.Reads{ case _root_.scalapb.descriptors.PMessage(__fieldsMap) => _root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.") com.google.protobuf.descriptor.ExtensionRangeOptions( uninterpretedOption = __fieldsMap.get(scalaDescriptor.findFieldByNumber(999).get).map(_.as[_root_.scala.Seq[com.google.protobuf.descriptor.UninterpretedOption]]).getOrElse(_root_.scala.Seq.empty) ) case _ => throw new RuntimeException("Expected PMessage") } def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = DescriptorProtoCompanion.javaDescriptor.getMessageTypes().get(3) def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = DescriptorProtoCompanion.scalaDescriptor.messages(3) def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = { var __out: _root_.scalapb.GeneratedMessageCompanion[_] = null (__number: @_root_.scala.unchecked) match { case 999 => __out = com.google.protobuf.descriptor.UninterpretedOption } __out } lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] = Seq.empty def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = throw new MatchError(__fieldNumber) lazy val defaultInstance = com.google.protobuf.descriptor.ExtensionRangeOptions( uninterpretedOption = _root_.scala.Seq.empty ) implicit class ExtensionRangeOptionsLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, com.google.protobuf.descriptor.ExtensionRangeOptions]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, com.google.protobuf.descriptor.ExtensionRangeOptions](_l) { def uninterpretedOption: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[com.google.protobuf.descriptor.UninterpretedOption]] = field(_.uninterpretedOption)((c_, f_) => c_.copy(uninterpretedOption = f_)) } final val UNINTERPRETED_OPTION_FIELD_NUMBER = 999 def of( uninterpretedOption: _root_.scala.Seq[com.google.protobuf.descriptor.UninterpretedOption] ): _root_.com.google.protobuf.descriptor.ExtensionRangeOptions = _root_.com.google.protobuf.descriptor.ExtensionRangeOptions( uninterpretedOption ) // @@protoc_insertion_point(GeneratedMessageCompanion[google.protobuf.ExtensionRangeOptions]) }
# Contributing to parallel-webpack Thank you for contributing to `parallel-webpack`! This project is released with a [Contributor Code of Conduct](CODE_OF_CONDUCT.md) By participating you agree to comply with its terms. #### Table Of Contents [How Can I Contribute?](#how-can-i-contribute) * [Improve Documentation](#improve-documentation) * [Reporting Bugs](#reporting-bugs) * [Writing Code](#writing-code) * [Pull Requests](#pull-requests) ## How can I contribute? ### Improve documentation Most simple way to contribute is improving our documentation. Fixing typo's, fixing errors, explaining something better, more examples etc. If your work would be a big change, open an issue first. For smaller changes feel free to open a PR directly. Use common sense to decide if you need an issue or not. Generally if you change more than a few paragraphs, multiple files etc, it is better to open an issue and explain your change. ### Reporting Bugs If you encounter any issues with `parallel-webpack` don't hesitate to report it. While reporting your bug make sure you follow the guidelines below. It helps maintainers to understand and reproduce the problem. * **Use a clear and descriptive title** for the issue to identify the problem. * **Provide configuration you used** which is critical for reproducing problem in most cases. * **Provide system details you used** to identify if the problem is system specific. I.e: operating system, node version, webpack version you used etc. * **Describe the exact steps which reproduce the problem** in as many details as possible. * **Describe the behavior you observed after following the steps** and point out what exactly is the problem with that behavior. * **Explain which behavior you expected to see instead and why.** > **Note:** If you find a **Closed** issue that seems like it is the same thing that you're experiencing, open a new issue and include a link to the original issue in the body of your new one. ### Writing code Find an issue you want to work on, or if you have your own idea create an issue. You might find an issue assigned. Double-check if somebody else is working on the same issue. #### Local development It usually is a good idea to create a dummy repository to run your changes. While writing code make sure you follow this guidelines: * Use 4 space indentation. * Always use strict equality checks `===` instead of `==`. * Make sure your code runs on node 6. * Write tests and run them. Check coverage before submitting. * Write documentation for your code. ### Pull Requests * Non-trivial changes are often best discussed in an issue first, to prevent you from doing unnecessary work. * For ambitious tasks, you should try to get your work in front of the community for feedback as soon as possible. Open a pull request as soon as you have done the minimum needed to demonstrate your idea. At this early stage, don't worry about making things perfect, or 100% complete. Add a [WIP] prefix to the title, and describe what you still need to do. This lets reviewers know not to nit-pick small details or point out improvements you already know you need to make. * New features should be accompanied with tests and documentation. * Don't include unrelated changes. * Make the pull request from a [topic branch](https://github.com/dchelimsky/rspec/wiki/Topic-Branches), not master. * Use a clear and descriptive title for the pull request and commits. * Write a convincing description of why we should land your pull request. It's your job to convince us. Answer "why" it's needed and provide use-cases. * You might be asked to do changes to your pull request. There's never a need to open another pull request. [Just update the existing one.](https://github.com/RichardLitt/knowledge/blob/master/github/amending-a-commit-guide.md) * Be patient, we might not find time to check on your pull requests immediately. It will be checked eventually.
Learning and using a new software can be difficult and overwhelming, especially if you aren't a computer pro. The most aggravating part of software is purchasing a software that should improve how you do certain tasks, but not knowing how to use it. Well, with any type of Dragon software there are tutorials to help introduce software to the most basic users all the way to the most advanced users. Each tutorial will help teach the user how to interact and use the software to its fullest potential. Tutorials are fundamental for users because they are visual learning guides and show the exact steps of how to use the technology. Plus, videos can be viewed over and over until the user is comfortable with the steps and knows how to use the software the way it was made. Tutorials transcend basic instructions because they are visual and interactive and help teach the user at a higher rate of speed, which means the user is able to use the tools quicker. -Several actions may not be known to the user and enable the user to do better work or complete tasks at a higher speed. If a user never knows about these actions or options, then they will continue to be unaware of the greatest tools Dragon software offers. To get the most for the money, learning all the options and actions proves to be the best. -Each software is specific in its design, so tutorials help the user learn the significance of each software. For example, some software is developed for medical use and others for legal use and each have different tools and options that professionals need to know and learn. Tutorials help professionals get a better grasp on the software and its benefits. -Dragon software is all about voice recognition and if microphones aren't calibrated correctly then the software will not function at its best. So, to improve the interaction between your voice and the software, tutorials help the user connect and calibrate devices to have the best experience. Tutorials can be found online and also in the help menu of the software, to teach and enable the user to do more with the technology. Even those who know computers and software well need a tutorial to get the most out of the products they purchase. Tutorials make Dragon software the best for the user.
/* * linux/drivers/media/video/samsung/mfc5x/mfc_dev.c * * Copyright (c) 2010 Samsung Electronics Co., Ltd. * http://www.samsung.com/ * * Driver interface for Samsung MFC (Multi Function Codec - FIMV) driver * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License version 2 as * published by the Free Software Foundation. */ #include <linux/init.h> #include <linux/module.h> #include <linux/kernel.h> #include <linux/string.h> #include <linux/fs.h> #include <linux/mm.h> #include <linux/interrupt.h> #include <linux/miscdevice.h> #include <linux/platform_device.h> #include <linux/wait.h> #include <linux/mutex.h> #include <linux/slab.h> #include <linux/dma-mapping.h> #include <linux/delay.h> #include <linux/sched.h> #include <linux/firmware.h> #include <linux/proc_fs.h> #ifdef CONFIG_PM_RUNTIME #include <linux/clk.h> #endif #include <linux/pm_qos_params.h> #ifdef CONFIG_BUSFREQ_OPP #include <mach/busfreq_exynos4.h> #endif #if defined(CONFIG_BUSFREQ_OPP) || defined(CONFIG_BUSFREQ_LOCK_WRAPPER) #include <mach/dev.h> #endif #include <plat/cpu.h> #if defined(CONFIG_BUSFREQ) || defined(CONFIG_EXYNOS4_CPUFREQ) #include <mach/cpufreq.h> #endif #include <mach/regs-pmu.h> #ifdef CONFIG_EXYNOS_MEDIA_MONITOR #include <mach/media_monitor.h> #endif #include <asm/uaccess.h> #include "mfc_dev.h" #include "mfc_interface.h" #include "mfc_reg.h" #include "mfc_log.h" #include "mfc_ctrl.h" #include "mfc_buf.h" #include "mfc_inst.h" #include "mfc_pm.h" #include "mfc_dec.h" #include "mfc_enc.h" #include "mfc_mem.h" #include "mfc_cmd.h" #ifdef SYSMMU_MFC_ON #include <plat/sysmmu.h> #endif #ifdef CONFIG_SLP_DMABUF #include <media/videobuf2-core.h> #endif #define MFC_MINOR 252 #define MFC_FW_NAME "mfc_fw.bin" static struct mfc_dev *mfcdev; static struct proc_dir_entry *mfc_proc_entry; #define MFC_PROC_ROOT "mfc" #define MFC_PROC_TOTAL_INSTANCE_NUMBER "total_instance_number" #ifdef CONFIG_BUSFREQ static struct pm_qos_request_list bus_qos_pm_qos_req; #endif #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION #define MFC_DRM_MAGIC_SIZE 0x10 #define MFC_DRM_MAGIC_CHUNK0 0x13cdbf16 #define MFC_DRM_MAGIC_CHUNK1 0x8b803342 #define MFC_DRM_MAGIC_CHUNK2 0x5e87f4f5 #define MFC_DRM_MAGIC_CHUNK3 0x3bd05317 static int check_magic(unsigned char *addr) { if (((u32)*(u32 *)(addr) == MFC_DRM_MAGIC_CHUNK0) && ((u32)*(u32 *)(addr + 0x4) == MFC_DRM_MAGIC_CHUNK1) && ((u32)*(u32 *)(addr + 0x8) == MFC_DRM_MAGIC_CHUNK2) && ((u32)*(u32 *)(addr + 0xC) == MFC_DRM_MAGIC_CHUNK3)) return 0; else if (((u32)*(u32 *)(addr+0x10) == MFC_DRM_MAGIC_CHUNK0) && ((u32)*(u32 *)(addr + 0x14) == MFC_DRM_MAGIC_CHUNK1) && ((u32)*(u32 *)(addr + 0x18) == MFC_DRM_MAGIC_CHUNK2) && ((u32)*(u32 *)(addr + 0x1C) == MFC_DRM_MAGIC_CHUNK3)) return 0x10; else return -1; } static inline void clear_magic(unsigned char *addr) { memset((void *)addr, 0x00, MFC_DRM_MAGIC_SIZE); } #endif #ifdef CONFIG_SLP_DMABUF /** * _mfc_dmabuf_put() - release memory associated with * a DMABUF shared buffer */ static void _mfc_dmabuf_put(struct vb2_plane *planes) { unsigned int plane; for (plane = 0; plane < MFC_NUM_PLANE; ++plane) { void *mem_priv = planes[plane].mem_priv; if (mem_priv) { dma_buf_detach(planes[plane].dbuf, planes[plane].mem_priv); dma_buf_put(planes[plane].dbuf); planes[plane].dbuf = NULL; planes[plane].mem_priv = NULL; } } } void mfc_queue_free(struct mfc_inst_ctx *mfc_ctx) { struct vb2_plane *planes; int buffer; for (buffer = 0; buffer < VIDEO_MAX_PLANES; ++buffer) { planes = mfc_ctx->enc_planes[buffer]; if (!planes) continue; _mfc_dmabuf_put(planes); kfree(planes); planes = NULL; } } int mfc_queue_alloc(struct mfc_inst_ctx *mfc_ctx) { struct vb2_plane *planes; int buffer; int ret = 0; for (buffer = 0; buffer < MFC_NUM_PLANE; ++buffer) { planes = kzalloc(sizeof(struct vb2_plane), GFP_KERNEL); if (!planes) { printk(KERN_INFO "MFC Queue memory alloc failed\n"); ret = -ENOMEM; goto err; } planes->mem_priv = NULL; mfc_ctx->enc_planes[buffer] = planes; } for (buffer = MFC_NUM_PLANE; buffer < VIDEO_MAX_PLANES; ++buffer) mfc_ctx->enc_planes[buffer] = NULL; return ret; err: for (buffer = 0; buffer < VIDEO_MAX_PLANES; buffer++) { if (mfc_ctx->enc_planes[buffer] != NULL) kfree(mfc_ctx->enc_planes[buffer]); mfc_ctx->enc_planes[buffer] = NULL; } return ret; } #endif static int get_free_inst_id(struct mfc_dev *dev) { int slot = 0; while (dev->inst_ctx[slot]) { slot++; if (slot >= MFC_MAX_INSTANCE_NUM) return -1; } return slot; } static int mfc_open(struct inode *inode, struct file *file) { struct mfc_inst_ctx *mfc_ctx; int ret; enum mfc_ret_code retcode; int inst_id; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION struct mfc_alloc_buffer *alloc; #endif /* prevent invalid reference */ file->private_data = NULL; mutex_lock(&mfcdev->lock); #ifdef CONFIG_USE_MFC_CMA if (atomic_read(&mfcdev->inst_cnt) == 0) { size_t size = 0x02800000; mfcdev->cma_vaddr = dma_alloc_coherent(mfcdev->device, size, &mfcdev->cma_dma_addr, 0); if (!mfcdev->cma_vaddr) { printk(KERN_ERR "%s: dma_alloc_coherent returns " "-ENOMEM\n", __func__); mutex_unlock(&mfcdev->lock); return -ENOMEM; } printk(KERN_INFO "%s[%d] size 0x%x, vaddr 0x%x, base 0x%x\n", __func__, __LINE__, (int)size, (int)mfcdev->cma_vaddr, (int)mfcdev->cma_dma_addr); } #endif #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { mfcdev->frame_working_flag = 1; mfcdev->frame_sys = 0; } #endif if (!mfcdev->fw.state) { if (mfcdev->fw.requesting) { printk(KERN_INFO "MFC F/W request is on-going, try again\n"); ret = -ENODEV; goto err_fw_state; } printk(KERN_INFO "MFC F/W is not existing, requesting...\n"); ret = request_firmware(&mfcdev->fw.info, MFC_FW_NAME, mfcdev->device); if (ret < 0) { printk(KERN_INFO "failed to copy MFC F/W during open\n"); ret = -ENODEV; goto err_fw_state; } if (soc_is_exynos4212() || soc_is_exynos4412()) { mfcdev->fw.state = mfc_load_firmware(mfcdev->fw.info->data, mfcdev->fw.info->size); if (!mfcdev->fw.state) { printk(KERN_ERR "failed to load MFC F/W, MFC will not working\n"); ret = -ENODEV; goto err_fw_state; } else { printk(KERN_INFO "MFC F/W loaded successfully (size: %d)\n", mfcdev->fw.info->size); } } } if (atomic_read(&mfcdev->inst_cnt) == 0) { /* reload F/W for first instance again */ if (soc_is_exynos4210()) { mfcdev->fw.state = mfc_load_firmware(mfcdev->fw.info->data, mfcdev->fw.info->size); if (!mfcdev->fw.state) { printk(KERN_ERR "failed to reload MFC F/W, MFC will not working\n"); ret = -ENODEV; goto err_fw_state; } else { printk(KERN_INFO "MFC F/W reloaded successfully (size: %d)\n", mfcdev->fw.info->size); } } #if defined(CONFIG_BUSFREQ_OPP) || defined(CONFIG_BUSFREQ_LOCK_WRAPPER) dev_lock(mfcdev->bus_dev, mfcdev->device, 133133); #endif #ifdef CONFIG_BUSFREQ pm_qos_add_request(&bus_qos_pm_qos_req, PM_QOS_BUS_QOS, 1); #endif ret = mfc_power_on(); if (ret < 0) { mfc_err("power enable failed\n"); goto err_pwr_enable; } #ifndef CONFIG_PM_RUNTIME #ifdef SYSMMU_MFC_ON mfc_clock_on(mfcdev); s5p_sysmmu_enable(mfcdev->device); #ifdef CONFIG_VIDEO_MFC_VCM_UMP vcm_set_pgtable_base(VCM_DEV_MFC); #else /* CONFIG_S5P_VMEM or kernel virtual memory allocator */ s5p_sysmmu_set_tablebase_pgd(mfcdev->device, __pa(swapper_pg_dir)); /* * RMVME: the power-gating work really (on <-> off), * all TBL entry was invalidated already when the power off */ s5p_sysmmu_tlb_invalidate(mfcdev->device, SYSMMU_MFC_R); #endif mfc_clock_off(mfcdev); #endif #endif /* MFC hardware initialization */ retcode = mfc_start(mfcdev); if (retcode != MFC_OK) { mfc_err("MFC H/W init failed: %d\n", retcode); ret = -ENODEV; goto err_start_hw; } } if (atomic_read(&mfcdev->inst_cnt) >= MFC_MAX_INSTANCE_NUM) { mfc_err("exceed max instance number, too many instance opened already\n"); ret = -EINVAL; goto err_inst_cnt; } inst_id = get_free_inst_id(mfcdev); if (inst_id < 0) { mfc_err("failed to get instance ID\n"); ret = -EINVAL; goto err_inst_id; } mfc_ctx = mfc_create_inst(); if (!mfc_ctx) { mfc_err("failed to create instance context\n"); ret = -ENOMEM; goto err_inst_ctx; } atomic_inc(&mfcdev->inst_cnt); mfcdev->inst_ctx[inst_id] = mfc_ctx; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION if (check_magic(mfcdev->drm_info.addr) >= 0) { mfc_info("DRM instance starting\n"); clear_magic(mfcdev->drm_info.addr + check_magic(mfcdev->drm_info.addr)); mfc_ctx->drm_flag = 1; mfc_set_buf_alloc_scheme(MBS_FIRST_FIT); } else { mfc_ctx->drm_flag = 0; } #endif mfc_ctx->id = inst_id; mfc_ctx->dev = mfcdev; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION if (mfc_ctx->drm_flag) { alloc = _mfc_alloc_buf(mfc_ctx, MFC_CTX_SIZE_L, ALIGN_2KB, MBT_CTX | PORT_A); if (alloc == NULL) { mfc_err("failed to alloc context buffer\n"); ret = -ENOMEM; goto err_drm_ctx; } mfc_ctx->ctxbufofs = mfc_mem_base_ofs(alloc->real) >> 11; mfc_ctx->ctxbufsize = alloc->size; } #endif file->private_data = (struct mfc_inst_ctx *)mfc_ctx; #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { if (atomic_read(&mfcdev->inst_cnt) == 1) { mfcdev->slice_encoding_flag = 0; mfcdev->slice_sys = 0; mfcdev->wait_slice_timeout = 0; mfcdev->wait_frame_timeout = 0; } mfc_ctx->slice_flag = 0; mfcdev->frame_sys = 1; mfcdev->frame_working_flag = 0; if (mfcdev->wait_frame_timeout == 1) wake_up(&mfcdev->wait_frame); } #ifdef CONFIG_SLP_DMABUF ret = mfc_queue_alloc(mfc_ctx); if (ret < 0) { mfc_err("mfc_queue_alloc failed\n"); goto err_inst_ctx; } #endif mfc_info("MFC instance [%d:%d] opened", mfc_ctx->id, atomic_read(&mfcdev->inst_cnt)); mutex_unlock(&mfcdev->lock); return 0; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION err_drm_ctx: #endif err_inst_ctx: err_inst_id: err_inst_cnt: #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION #endif err_start_hw: if (atomic_read(&mfcdev->inst_cnt) == 0) { #ifdef CONFIG_USE_MFC_CMA size_t size = 0x02800000; dma_free_coherent(mfcdev->device, size, mfcdev->cma_vaddr, mfcdev->cma_dma_addr); printk(KERN_INFO "%s[%d] size 0x%x, vaddr 0x%x, base 0x0%x\n", __func__, __LINE__, (int)size, (int) mfcdev->cma_vaddr, (int)mfcdev->cma_dma_addr); #endif if (mfc_power_off() < 0) mfc_err("power disable failed\n"); } err_pwr_enable: #if defined(CONFIG_BUSFREQ_OPP) || defined(CONFIG_BUSFREQ_LOCK_WRAPPER) dev_unlock(mfcdev->bus_dev, mfcdev->device); #endif err_fw_state: #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION #endif mutex_unlock(&mfcdev->lock); return ret; } #endif static int mfc_release(struct inode *inode, struct file *file) { struct mfc_inst_ctx *mfc_ctx; struct mfc_dev *dev; int ret; mfc_ctx = (struct mfc_inst_ctx *)file->private_data; if (!mfc_ctx) return -EINVAL; dev = mfc_ctx->dev; #ifdef CONFIG_EXYNOS_MEDIA_MONITOR mhs_set_status(MHS_ENCODING, false); mhs_set_status(MHS_DECODING, false); #endif mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif #if defined(CONFIG_BUSFREQ) /* Release MFC & Bus Frequency lock for High resolution */ if (mfc_ctx->busfreq_flag == true) { atomic_dec(&dev->busfreq_lock_cnt); mfc_ctx->busfreq_flag = false; if (atomic_read(&dev->busfreq_lock_cnt) == 0) { /* release Freq lock back to normal */ exynos4_busfreq_lock_free(DVFS_LOCK_ID_MFC); mfc_dbg("[%s] Bus Freq lock Released Normal!\n", __func__); } } #endif #if defined(CONFIG_MACH_GC1) && defined(CONFIG_EXYNOS4_CPUFREQ) /* Release MFC & CPU Frequency lock for High resolution */ if (mfc_ctx->cpufreq_flag == true) { atomic_dec(&dev->cpufreq_lock_cnt); mfc_ctx->cpufreq_flag = false; if (atomic_read(&dev->cpufreq_lock_cnt) == 0) { /* release Freq lock back to normal */ exynos_cpufreq_lock_free(DVFS_LOCK_ID_MFC); mfc_dbg("[%s] CPU Freq lock Released Normal!\n", __func__); } } #endif #if defined(CONFIG_CPU_EXYNOS4210) && defined(CONFIG_EXYNOS4_CPUFREQ) /* Release MFC & CPU Frequency lock for High resolution */ if (mfc_ctx->cpufreq_flag == true) { atomic_dec(&dev->cpufreq_lock_cnt); mfc_ctx->cpufreq_flag = false; if (atomic_read(&dev->cpufreq_lock_cnt) == 0) { /* release Freq lock back to normal */ exynos_cpufreq_lock_free(DVFS_LOCK_ID_MFC); mfc_dbg("[%s] CPU Freq lock Released Normal!\n", __func__); } } #endif #ifdef CONFIG_BUSFREQ_OPP if (mfc_ctx->dmcthreshold_flag == true) { atomic_dec(&dev->dmcthreshold_lock_cnt); mfc_ctx->dmcthreshold_flag = false; if (atomic_read(&dev->dmcthreshold_lock_cnt) == 0) { mfc_info("[%s] Restore dmc_max_threshold\n", __func__); if (soc_is_exynos4212()) { dmc_max_threshold = EXYNOS4212_DMC_MAX_THRESHOLD; } else if (soc_is_exynos4412()) { dmc_max_threshold = EXYNOS4412_DMC_MAX_THRESHOLD; } else { pr_err("Unsupported model.\n"); return -EINVAL; } } } #endif #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION if (mfc_ctx->drm_flag) { mfc_set_buf_alloc_scheme(MBS_FIRST_FIT); } #endif mfc_info("MFC instance [%d:%d] released\n", mfc_ctx->id, atomic_read(&mfcdev->inst_cnt)); file->private_data = NULL; dev->inst_ctx[mfc_ctx->id] = NULL; atomic_dec(&dev->inst_cnt); mfc_destroy_inst(mfc_ctx); if (atomic_read(&dev->inst_cnt) == 0) { #if defined(CONFIG_BUSFREQ_OPP) || defined(CONFIG_BUSFREQ_LOCK_WRAPPER) dev_unlock(mfcdev->bus_dev, mfcdev->device); #endif #ifdef CONFIG_BUSFREQ pm_qos_remove_request(&bus_qos_pm_qos_req); #endif #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; dev->wait_frame_timeout = 0; } #endif ret = mfc_power_off(); if (ret < 0) { mfc_err("power disable failed\n"); goto err_pwr_disable; } } else { #if defined(SYSMMU_MFC_ON) && !defined(CONFIG_VIDEO_MFC_VCM_UMP) mfc_clock_on(mfcdev); s5p_sysmmu_tlb_invalidate(dev->device); mfc_clock_off(mfcdev); #endif } ret = 0; #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (mfcdev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #ifdef CONFIG_SLP_DMABUF mfc_queue_free(mfc_ctx); #endif err_pwr_disable: #ifdef CONFIG_USE_MFC_CMA if (atomic_read(&mfcdev->inst_cnt) == 0) { size_t size = 0x02800000; dma_free_coherent(mfcdev->device, size, mfcdev->cma_vaddr, mfcdev->cma_dma_addr); printk(KERN_INFO "%s[%d] size 0x%x, vaddr 0x%x, base 0x0%x\n", __func__, __LINE__, (int)size, (int) mfcdev->cma_vaddr, (int)mfcdev->cma_dma_addr); } #endif mutex_unlock(&dev->lock); return ret; } #endif /* FIXME: add request firmware ioctl */ static long mfc_ioctl_cm(struct file *file, unsigned int cmd, unsigned long arg) { struct mfc_inst_ctx *mfc_ctx; int ret, ex_ret; struct mfc_common_args_cm in_param; struct mfc_buf_alloc_arg buf_arg; struct mfc_config_arg *cfg_arg; int port; struct mfc_dev *dev; int i; mfc_ctx = (struct mfc_inst_ctx *)file->private_data; if (!mfc_ctx) return -EINVAL; dev = mfc_ctx->dev; mutex_lock(&dev->lock); ret = copy_from_user(&in_param, (struct mfc_common_args *)arg, sizeof(struct mfc_common_args_cm)); if (ret < 0) { mfc_err("failed to copy parameters\n"); ret = -EIO; in_param.ret_code = MFC_INVALID_PARAM_FAIL; goto out_ioctl; } mutex_unlock(&dev->lock); /* FIXME: add locking */ mfc_dbg("cmd: 0x%08x\n", cmd); switch (cmd) { case IOCTL_MFC_DEC_INIT: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_DEC_INIT invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_init_decoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_ENC_INIT: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_ENC_INIT invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_init_encoding_cm(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_DEC_EXE: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_ctx->state < INST_STATE_INIT) { mfc_err("IOCTL_MFC_DEC_EXE invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_exec_decoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_ENC_EXE: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { if (mfc_ctx->slice_flag == 0) { dev->frame_working_flag = 1; dev->frame_sys = 0; } if ((dev->slice_encoding_flag == 1) && (mfc_ctx->slice_flag == 0)) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } if ((dev->frame_working_flag == 1) && (mfc_ctx->slice_flag == 1) && (dev->slice_encoding_flag == 0)) { mutex_unlock(&dev->lock); dev->wait_frame_timeout = 1; if (wait_event_timeout(dev->wait_frame, dev->frame_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("frame working done timeout : %d\n", dev->frame_sys); dev->frame_working_flag = 0; dev->frame_sys = 0; dev->wait_frame_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->frame_sys = 0; dev->wait_frame_timeout = 0; } } #endif if (mfc_ctx->state < INST_STATE_INIT) { mfc_err("IOCTL_MFC_DEC_EXE invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_exec_encoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { if (mfc_ctx->slice_flag == 0) { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_IN_BUF: mutex_lock(&dev->lock); if (in_param.args.mem_alloc.type == ENCODER) { buf_arg.type = ENCODER; port = 1; } else { buf_arg.type = DECODER; port = 0; } /* FIXME: consider the size */ buf_arg.size = in_param.args.mem_alloc.buff_size; /* buf_arg.mapped = in_param.args.mem_alloc.mapped_addr; */ /* FIXME: encodeing linear: 2KB, tile: 8KB */ buf_arg.align = ALIGN_2KB; if (buf_arg.type == ENCODER) in_param.ret_code = mfc_alloc_buf(mfc_ctx, &buf_arg, MBT_DPB | port); else in_param.ret_code = mfc_alloc_buf(mfc_ctx, &buf_arg, MBT_CPB | port); #if defined(CONFIG_VIDEO_MFC_VCM_UMP) in_param.args.mem_alloc.secure_id = buf_arg.secure_id; #elif defined(CONFIG_S5P_VMEM) in_param.args.mem_alloc.cookie = buf_arg.cookie; #else in_param.args.mem_alloc.offset = buf_arg.offset; #endif ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_FREE_BUF: mutex_lock(&dev->lock); in_param.ret_code = mfc_free_buf(mfc_ctx, in_param.args.mem_free.key); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_REAL_ADDR: mutex_lock(&dev->lock); in_param.args.real_addr.addr = mfc_get_buf_real(mfc_ctx->id, in_param.args.real_addr.key); mfc_dbg("real addr: 0x%08x", in_param.args.real_addr.addr); if (in_param.args.real_addr.addr) in_param.ret_code = MFC_OK; else in_param.ret_code = MFC_MEM_INVALID_ADDR_FAIL; ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_MMAP_SIZE: if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_GET_MMAP_SIZE invalid state: \ 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; break; } in_param.ret_code = MFC_OK; ret = 0; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION for (i = 0; i < MFC_MAX_MEM_CHUNK_NUM; i++) ret += mfc_mem_data_size(i); ret += mfc_mem_hole_size(); #else for (i = 0; i < dev->mem_ports; i++) ret += mfc_mem_data_size(i); #endif break; #if defined(CONFIG_VIDEO_MFC_VCM_UMP) case IOCTL_MFC_SET_IN_BUF: if (in_param.args.mem_alloc.type == ENCODER) { buf_arg.secure_id = in_param.args.mem_alloc.secure_id; buf_arg.align = ALIGN_2KB; port = 1; ret = mfc_vcm_bind_from_others(mfc_ctx, &buf_arg, MBT_OTHER | port); } else { in_param.args.real_addr.addr = mfc_ump_get_virt(in_param.args.real_addr.key); mfc_dbg("real addr: 0x%08x", in_param.args.real_addr.addr); if (in_param.args.real_addr.addr) in_param.ret_code = MFC_OK; else in_param.ret_code = MFC_MEM_INVALID_ADDR_FAIL; ret = in_param.ret_code; } break; #endif case IOCTL_MFC_SET_CONFIG: /* FIXME: mfc_chk_inst_state*/ /* RMVME: need locking ? */ mutex_lock(&dev->lock); /* in_param.ret_code = mfc_set_config(mfc_ctx, &(in_param.args)); */ cfg_arg = (struct mfc_config_arg *)&in_param.args; in_param.ret_code = mfc_set_inst_cfg(mfc_ctx, cfg_arg->type, (void *)&cfg_arg->args); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_CONFIG: /* FIXME: mfc_chk_inst_state */ /* RMVME: need locking ? */ mutex_lock(&dev->lock); if (mfc_ctx->state < INST_STATE_SETUP) { mfc_err("IOCTL_MFC_GET_CONFIG invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } cfg_arg = (struct mfc_config_arg *)&in_param.args; in_param.ret_code = mfc_get_inst_cfg(mfc_ctx, cfg_arg->type, (void *)&cfg_arg->args); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_SET_BUF_CACHE: mfc_ctx->buf_cache_type = in_param.args.mem_alloc.buf_cache_type; in_param.ret_code = MFC_OK; break; default: mfc_err("failed to execute ioctl cmd: 0x%08x\n", cmd); in_param.ret_code = MFC_INVALID_PARAM_FAIL; ret = -EINVAL; } out_ioctl: ex_ret = copy_to_user((struct mfc_common_args *)arg, &in_param, sizeof(struct mfc_common_args_cm)); if (ex_ret < 0) { mfc_err("Outparm copy to user error\n"); ret = -EIO; } mfc_dbg("return = %d\n", ret); return ret; } static long mfc_ioctl_3sung(struct file *file, unsigned int cmd, unsigned long arg) { struct mfc_inst_ctx *mfc_ctx; int ret, ex_ret; struct mfc_common_args_3sung in_param; struct mfc_buf_alloc_arg buf_arg; struct mfc_config_arg *cfg_arg; int port; struct mfc_dev *dev; int i; mfc_ctx = (struct mfc_inst_ctx *)file->private_data; if (!mfc_ctx) return -EINVAL; dev = mfc_ctx->dev; mutex_lock(&dev->lock); ret = copy_from_user(&in_param, (struct mfc_common_args *)arg, sizeof(struct mfc_common_args_3sung)); if (ret < 0) { mfc_err("failed to copy parameters\n"); ret = -EIO; in_param.ret_code = MFC_INVALID_PARAM_FAIL; goto out_ioctl; } mutex_unlock(&dev->lock); /* FIXME: add locking */ mfc_dbg("cmd: 0x%08x\n", cmd); switch (cmd) { case IOCTL_MFC_DEC_INIT: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_DEC_INIT invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_init_decoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_ENC_INIT: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_ENC_INIT invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_init_encoding_3sung(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_DEC_EXE: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_working_flag = 1; dev->frame_sys = 0; if (dev->slice_encoding_flag == 1) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } } #endif if (mfc_ctx->state < INST_STATE_INIT) { mfc_err("IOCTL_MFC_DEC_EXE invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_exec_decoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_ENC_EXE: mutex_lock(&dev->lock); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { if (mfc_ctx->slice_flag == 0) { dev->frame_working_flag = 1; dev->frame_sys = 0; } if ((dev->slice_encoding_flag == 1) && (mfc_ctx->slice_flag == 0)) { mutex_unlock(&dev->lock); dev->wait_slice_timeout = 1; if (wait_event_timeout(dev->wait_slice, dev->slice_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("Slice encoding done timeout : %d\n", dev->slice_sys); dev->slice_encoding_flag = 0; dev->slice_sys = 0; dev->wait_slice_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->slice_sys = 0; dev->wait_slice_timeout = 0; } if ((dev->frame_working_flag == 1) && (mfc_ctx->slice_flag == 1) && (dev->slice_encoding_flag == 0)) { mutex_unlock(&dev->lock); dev->wait_frame_timeout = 1; if (wait_event_timeout(dev->wait_frame, dev->frame_sys, SLICE_ENC_TIMEOUT) == 0) { mfc_err("frame working done timeout : %d\n", dev->frame_sys); dev->frame_working_flag = 0; dev->frame_sys = 0; dev->wait_frame_timeout = 0; ret = -EINVAL; mutex_lock(&dev->lock); break; } mutex_lock(&dev->lock); dev->frame_sys = 0; dev->wait_frame_timeout = 0; } } #endif if (mfc_ctx->state < INST_STATE_INIT) { mfc_err("IOCTL_MFC_DEC_EXE invalid state: 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; mutex_unlock(&dev->lock); break; } mfc_clock_on(mfcdev); in_param.ret_code = mfc_exec_encoding(mfc_ctx, &(in_param.args)); ret = in_param.ret_code; mfc_clock_off(mfcdev); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { if (mfc_ctx->slice_flag == 0) { dev->frame_sys = 1; dev->frame_working_flag = 0; if (dev->wait_frame_timeout == 1) wake_up(&dev->wait_frame); } } #endif mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_IN_BUF: mutex_lock(&dev->lock); if (in_param.args.mem_alloc.type == ENCODER) { buf_arg.type = ENCODER; port = 1; } else { buf_arg.type = DECODER; port = 0; } /* FIXME: consider the size */ buf_arg.size = in_param.args.mem_alloc.buff_size; /* buf_arg.mapped = in_param.args.mem_alloc.mapped_addr; */ /* FIXME: encodeing linear: 2KB, tile: 8KB */ buf_arg.align = ALIGN_2KB; if (buf_arg.type == ENCODER) in_param.ret_code = mfc_alloc_buf(mfc_ctx, &buf_arg, MBT_DPB | port); else in_param.ret_code = mfc_alloc_buf(mfc_ctx, &buf_arg, MBT_CPB | port); #if defined(CONFIG_VIDEO_MFC_VCM_UMP) in_param.args.mem_alloc.secure_id = buf_arg.secure_id; #elif defined(CONFIG_S5P_VMEM) in_param.args.mem_alloc.cookie = buf_arg.cookie; #else in_param.args.mem_alloc.offset = buf_arg.offset; #endif ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_FREE_BUF: mutex_lock(&dev->lock); in_param.ret_code = mfc_free_buf(mfc_ctx, in_param.args.mem_free.key); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_REAL_ADDR: mutex_lock(&dev->lock); in_param.args.real_addr.addr = mfc_get_buf_real(mfc_ctx->id, in_param.args.real_addr.key); mfc_dbg("real addr: 0x%08x", in_param.args.real_addr.addr); if (in_param.args.real_addr.addr) in_param.ret_code = MFC_OK; else in_param.ret_code = MFC_MEM_INVALID_ADDR_FAIL; ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_MMAP_SIZE: if (mfc_chk_inst_state(mfc_ctx, INST_STATE_CREATE) < 0) { mfc_err("IOCTL_MFC_GET_MMAP_SIZE invalid state: \ 0x%08x\n", mfc_ctx->state); in_param.ret_code = MFC_STATE_INVALID; ret = -EINVAL; break; } in_param.ret_code = MFC_OK; ret = 0; #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION for (i = 0; i < MFC_MAX_MEM_CHUNK_NUM; i++) ret += mfc_mem_data_size(i); ret += mfc_mem_hole_size(); #else for (i = 0; i < dev->mem_ports; i++) ret += mfc_mem_data_size(i); #endif break; #if defined(CONFIG_VIDEO_MFC_VCM_UMP) case IOCTL_MFC_SET_IN_BUF: if (in_param.args.mem_alloc.type == ENCODER) { buf_arg.secure_id = in_param.args.mem_alloc.secure_id; buf_arg.align = ALIGN_2KB; port = 1; ret = mfc_vcm_bind_from_others(mfc_ctx, &buf_arg, MBT_OTHER | port); } else { in_param.args.real_addr.addr = mfc_ump_get_virt(in_param.args.real_addr.key); mfc_dbg("real addr: 0x%08x", in_param.args.real_addr.addr); if (in_param.args.real_addr.addr) in_param.ret_code = MFC_OK; else in_param.ret_code = MFC_MEM_INVALID_ADDR_FAIL; ret = in_param.ret_code; } break; #endif case IOCTL_MFC_SET_CONFIG: /* FIXME: mfc_chk_inst_state*/ /* RMVME: need locking ? */ mutex_lock(&dev->lock); /* in_param.ret_code = mfc_set_config(mfc_ctx, &(in_param.args)); */ cfg_arg = (struct mfc_config_arg *)&in_param.args; in_param.ret_code = mfc_set_inst_cfg(mfc_ctx, cfg_arg->type, (void *)&cfg_arg->args); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_GET_CONFIG: /* FIXME: mfc_chk_inst_state */ /* RMVME: need locking ? */ mutex_lock(&dev->lock); cfg_arg = (struct mfc_config_arg *)&in_param.args; in_param.ret_code = mfc_get_inst_cfg(mfc_ctx, cfg_arg->type, (void *)&cfg_arg->args); ret = in_param.ret_code; mutex_unlock(&dev->lock); break; case IOCTL_MFC_SET_BUF_CACHE: mfc_ctx->buf_cache_type = in_param.args.mem_alloc.buf_cache_type; in_param.ret_code = MFC_OK; break; default: mfc_err("failed to execute ioctl cmd: 0x%08x\n", cmd); in_param.ret_code = MFC_INVALID_PARAM_FAIL; ret = -EINVAL; } out_ioctl: ex_ret = copy_to_user((struct mfc_common_args_3sung *)arg, &in_param, sizeof(struct mfc_common_args_3sung)); if (ex_ret < 0) { mfc_err("Outparm copy to user error\n"); ret = -EIO; } mfc_dbg("return = %d\n", ret); return ret; } static void mfc_vm_open(struct vm_area_struct *vma) { /* FIXME: struct mfc_inst_ctx *mfc_ctx = (struct mfc_inst_ctx *)vma->vm_private_data; mfc_dbg("id: %d\n", mfc_ctx->id); */ /* FIXME: atomic_inc(mapped count) */ } static void mfc_vm_close(struct vm_area_struct *vma) { /* FIXME: struct mfc_inst_ctx *mfc_ctx = (struct mfc_inst_ctx *)vma->vm_private_data; mfc_dbg("id: %d\n", mfc_ctx->id); */ /* FIXME: atomic_dec(mapped count) */ } static int mfc_vm_fault(struct vm_area_struct *vma, struct vm_fault *vmf) { /* FIXME: struct mfc_inst_ctx *mfc_ctx = (struct mfc_inst_ctx *)vma->vm_private_data; struct page *pg = NULL; mfc_dbg("id: %d, pgoff: 0x%08lx, user: 0x%08lx\n", mfc_ctx->id, vmf->pgoff, (unsigned long)(vmf->virtual_address)); if (mfc_ctx == NULL) return VM_FAULT_SIGBUS; mfc_dbg("addr: 0x%08lx\n", (unsigned long)(_mfc_get_buf_addr(mfc_ctx->id, vmf->virtual_address))); pg = vmalloc_to_page(_mfc_get_buf_addr(mfc_ctx->id, vmf->virtual_address)); if (!pg) return VM_FAULT_SIGBUS; vmf->page = pg; */ return 0; } static const struct vm_operations_struct mfc_vm_ops = { .open = mfc_vm_open, .close = mfc_vm_close, .fault = mfc_vm_fault, }; static int mfc_mmap(struct file *file, struct vm_area_struct *vma) { unsigned long user_size = vma->vm_end - vma->vm_start; unsigned long real_size; struct mfc_inst_ctx *mfc_ctx; #if !(defined(CONFIG_VIDEO_MFC_VCM_UMP) || defined(CONFIG_S5P_VMEM)) /* mmap support */ unsigned long pfn; unsigned long remap_offset, remap_size; struct mfc_dev *dev; #ifdef SYSMMU_MFC_ON /* kernel virtual memory allocator */ char *ptr; unsigned long start, size; #endif #endif mfc_info("%s line : %d IN\n", __func__, __LINE__); mfc_ctx = (struct mfc_inst_ctx *)file->private_data; if (!mfc_ctx) { mfc_err("%s line : %d mfc_ctx is NULL\n", __func__, __LINE__); return -EINVAL; } #if !(defined(CONFIG_VIDEO_MFC_VCM_UMP) || defined(CONFIG_S5P_VMEM)) dev = mfc_ctx->dev; #endif mfc_dbg("vm_start: 0x%08lx, vm_end: 0x%08lx, size: %ld(%ldMB)\n", vma->vm_start, vma->vm_end, user_size, (user_size >> 20)); real_size = (unsigned long)(mfc_mem_data_size(0) + mfc_mem_data_size(1)); mfc_dbg("port 0 size: %d, port 1 size: %d, total: %ld\n", mfc_mem_data_size(0), mfc_mem_data_size(1), real_size); #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION real_size += mfc_mem_hole_size(); #endif /* * if memory size required from appl. mmap() is bigger than max data memory * size allocated in the driver. */ if (user_size > real_size) { mfc_err("user requeste mem(%ld) is bigger than available mem(%ld)\n", user_size, real_size); return -EINVAL; } #ifdef SYSMMU_MFC_ON #if (defined(CONFIG_VIDEO_MFC_VCM_UMP) || defined(CONFIG_S5P_VMEM)) vma->vm_flags |= VM_RESERVED | VM_IO; vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); vma->vm_ops = &mfc_vm_ops; vma->vm_private_data = mfc_ctx; mfc_ctx->userbase = vma->vm_start; #else /* not CONFIG_VIDEO_MFC_VCM_UMP && not CONFIG_S5P_VMEM */ /* kernel virtual memory allocator */ if (dev->mem_ports == 1) { remap_offset = 0; remap_size = user_size; vma->vm_flags |= VM_RESERVED | VM_IO; vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); /* * Port 0 mapping for stream buf & frame buf (chroma + MV + luma) */ ptr = (char *)mfc_mem_data_base(0); start = remap_offset; size = remap_size; while (size > 0) { pfn = vmalloc_to_pfn(ptr); if (remap_pfn_range(vma, vma->vm_start + start, pfn, PAGE_SIZE, vma->vm_page_prot)) { mfc_err("failed to remap port 0\n"); return -EAGAIN; } start += PAGE_SIZE; ptr += PAGE_SIZE; size -= PAGE_SIZE; } } else { remap_offset = 0; remap_size = min((unsigned long)mfc_mem_data_size(0), user_size); vma->vm_flags |= VM_RESERVED | VM_IO; vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); /* * Port 0 mapping for stream buf & frame buf (chroma + MV) */ ptr = (char *)mfc_mem_data_base(0); start = remap_offset; size = remap_size; while (size > 0) { pfn = vmalloc_to_pfn(ptr); if (remap_pfn_range(vma, vma->vm_start + start, pfn, PAGE_SIZE, vma->vm_page_prot)) { mfc_err("failed to remap port 0\n"); return -EAGAIN; } start += PAGE_SIZE; ptr += PAGE_SIZE; size -= PAGE_SIZE; } remap_offset = remap_size; remap_size = min((unsigned long)mfc_mem_data_size(1), user_size - remap_offset); vma->vm_flags |= VM_RESERVED | VM_IO; vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); /* * Port 1 mapping for frame buf (luma) */ ptr = (void *)mfc_mem_data_base(1); start = remap_offset; size = remap_size; while (size > 0) { pfn = vmalloc_to_pfn(ptr); if (remap_pfn_range(vma, vma->vm_start + start, pfn, PAGE_SIZE, vma->vm_page_prot)) { mfc_err("failed to remap port 1\n"); return -EAGAIN; } start += PAGE_SIZE; ptr += PAGE_SIZE; size -= PAGE_SIZE; } } mfc_ctx->userbase = vma->vm_start; mfc_dbg("user request mem = %ld, available data mem = %ld\n", user_size, real_size); if ((remap_offset + remap_size) < real_size) mfc_warn("The MFC reserved memory dose not mmap fully [%ld: %ld]\n", real_size, (remap_offset + remap_size)); #endif /* end of CONFIG_VIDEO_MFC_VCM_UMP */ #else /* not SYSMMU_MFC_ON */ /* early allocator */ /* CMA or bootmem(memblock) */ #ifdef CONFIG_EXYNOS_CONTENT_PATH_PROTECTION vma->vm_flags |= VM_RESERVED | VM_IO; if (mfc_ctx->buf_cache_type == NO_CACHE) vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); mfc_info("MFC buffers are %scacheable\n", mfc_ctx->buf_cache_type ? "" : "non-"); remap_offset = 0; remap_size = min((unsigned long)mfc_mem_data_size(0), user_size); /* * Chunk 0 mapping */ if (remap_size <= 0) { mfc_err("invalid remap size of chunk 0\n"); return -EINVAL; } pfn = __phys_to_pfn(mfc_mem_data_base(0)); if (remap_pfn_range(vma, vma->vm_start + remap_offset, pfn, remap_size, vma->vm_page_prot)) { mfc_err("failed to remap chunk 0\n"); return -EINVAL; } /* skip the hole between the chunk */ remap_offset += remap_size; remap_size = min((unsigned long)mfc_mem_hole_size(), user_size - remap_offset); remap_offset += remap_size; remap_size = min((unsigned long)mfc_mem_data_size(1), user_size - remap_offset); /* * Chunk 1 mapping if it's available */ if (remap_size > 0) { pfn = __phys_to_pfn(mfc_mem_data_base(1)); if (remap_pfn_range(vma, vma->vm_start + remap_offset, pfn, remap_size, vma->vm_page_prot)) { mfc_err("failed to remap chunk 1\n"); return -EINVAL; } } #else vma->vm_flags |= VM_RESERVED | VM_IO; if (mfc_ctx->buf_cache_type == NO_CACHE) vma->vm_page_prot = pgprot_writecombine(vma->vm_page_prot); mfc_info("MFC buffers are %scacheable\n", mfc_ctx->buf_cache_type ? "" : "non-"); if (dev->mem_ports == 1) { remap_offset = 0; remap_size = min((unsigned long)mfc_mem_data_size(0), user_size); /* * Port 0 mapping for stream buf & frame buf (chroma + MV + luma) */ pfn = __phys_to_pfn(mfc_mem_data_base(0)); if (remap_pfn_range(vma, vma->vm_start + remap_offset, pfn, remap_size, vma->vm_page_prot)) { mfc_err("failed to remap port 0\n"); return -EINVAL; } } else { remap_offset = 0; remap_size = min((unsigned long)mfc_mem_data_size(0), user_size); /* * Port 0 mapping for stream buf & frame buf (chroma + MV) */ pfn = __phys_to_pfn(mfc_mem_data_base(0)); if (remap_pfn_range(vma, vma->vm_start + remap_offset, pfn, remap_size, vma->vm_page_prot)) { mfc_err("failed to remap port 0\n"); return -EINVAL; } remap_offset = remap_size; remap_size = min((unsigned long)mfc_mem_data_size(1), user_size - remap_offset); /* * Port 1 mapping for frame buf (luma) */ pfn = __phys_to_pfn(mfc_mem_data_base(1)); if (remap_pfn_range(vma, vma->vm_start + remap_offset, pfn, remap_size, vma->vm_page_prot)) { mfc_err("failed to remap port 1\n"); return -EINVAL; } } #endif mfc_ctx->userbase = vma->vm_start; mfc_dbg("user request mem = %ld, available data mem = %ld\n", user_size, real_size); if ((remap_offset + remap_size) < real_size) mfc_warn("The MFC reserved memory dose not mmap fully [%ld: %ld]\n", real_size, (remap_offset + remap_size)); #endif /* end of SYSMMU_MFC_ON */ return 0; } #ifdef CONFIG_USE_MFC_CMA /* FIXME: workaround for CMA migration fail due to page lock */ static int mfc_open_with_retry(struct inode *inode, struct file *file) { int ret; int i = 0; ret = mfc_open(inode, file); while (ret == -ENOMEM && i++ < 10) { msleep(1000); ret = mfc_open(inode, file); } return ret; } #define MFC_OPEN mfc_open_with_retry #else #define MFC_OPEN mfc_open #endif static const struct file_operations mfc_fops_cm = { .owner = THIS_MODULE, .open = mfc_open, .release = mfc_release, .unlocked_ioctl = mfc_ioctl_cm, .mmap = mfc_mmap, }; static const struct file_operations mfc_fops_3sung = { .owner = THIS_MODULE, .open = MFC_OPEN, .release = mfc_release, .unlocked_ioctl = mfc_ioctl_3sung, .mmap = mfc_mmap, }; static struct miscdevice mfc_miscdev_cm = { .minor = MFC_MINOR, .name = MFC_DEV_NAME, .fops = &mfc_fops_cm, }; static struct miscdevice mfc_miscdev_3sung = { .minor = MFC_MINOR, .name = MFC_DEV_NAME, .fops = &mfc_fops_3sung, }; static void mfc_firmware_request_complete_handler(const struct firmware *fw, void *context) { if (fw != NULL) { mfcdev->fw.info = fw; mfcdev->fw.state = mfc_load_firmware(mfcdev->fw.info->data, mfcdev->fw.info->size); if (mfcdev->fw.state) printk(KERN_INFO "MFC F/W loaded successfully (size: %d)\n", fw->size); else printk(KERN_ERR "failed to load MFC F/W, MFC will not working\n"); } else { printk(KERN_INFO "failed to copy MFC F/W during init\n"); } mfcdev->fw.requesting = 0; } static int proc_read_inst_number(char *buf, char **start, off_t off, int count, int *eof, void *data) { int len = 0; len += sprintf(buf + len, "%d\n", atomic_read(&mfcdev->inst_cnt)); return len; } /* FIXME: check every exception case (goto) */ static int __devinit mfc_probe(struct platform_device *pdev) { struct resource *res; int ret; mfcdev = kzalloc(sizeof(struct mfc_dev), GFP_KERNEL); if (unlikely(mfcdev == NULL)) { dev_err(&pdev->dev, "failed to allocate control memory\n"); return -ENOMEM; } mfc_proc_entry = proc_mkdir(MFC_PROC_ROOT, NULL); if (!mfc_proc_entry) { dev_err(&pdev->dev, "unable to create /proc/%s\n", MFC_PROC_ROOT); kfree(mfcdev); return -ENOMEM; } if (!create_proc_read_entry(MFC_PROC_TOTAL_INSTANCE_NUMBER, 0, mfc_proc_entry, proc_read_inst_number, NULL)) { dev_err(&pdev->dev, "unable to create /proc/%s/%s\n", MFC_PROC_ROOT, MFC_PROC_TOTAL_INSTANCE_NUMBER); ret = -ENOMEM; goto err_proc; } /* init. control structure */ sprintf(mfcdev->name, "%s", MFC_DEV_NAME); mutex_init(&mfcdev->lock); init_waitqueue_head(&mfcdev->wait_sys); init_waitqueue_head(&mfcdev->wait_codec[0]); init_waitqueue_head(&mfcdev->wait_codec[1]); #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { init_waitqueue_head(&mfcdev->wait_slice); init_waitqueue_head(&mfcdev->wait_frame); } #endif atomic_set(&mfcdev->inst_cnt, 0); #if defined(CONFIG_BUSFREQ) atomic_set(&mfcdev->busfreq_lock_cnt, 0); #endif #if defined(CONFIG_CPU_EXYNOS4210) && defined(CONFIG_EXYNOS4_CPUFREQ) atomic_set(&mfcdev->cpufreq_lock_cnt, 0); mfcdev->cpufreq_level = 0; #endif #ifdef CONFIG_BUSFREQ_OPP atomic_set(&mfcdev->dmcthreshold_lock_cnt, 0); #endif mfcdev->device = &pdev->dev; #if SUPPORT_SLICE_ENCODING _SUPPORT_SLICE_ENCODING { mfcdev->slice_encoding_flag = 0; mfcdev->slice_sys = 0; mfcdev->frame_sys = 0; mfcdev->wait_slice_timeout = 0; mfcdev->wait_frame_timeout = 0; } #endif platform_set_drvdata(pdev, mfcdev); /* get the memory region */ res = platform_get_resource(pdev, IORESOURCE_MEM, 0); if (unlikely(res == NULL)) { dev_err(&pdev->dev, "no memory resource specified\n"); ret = -ENOENT; goto err_mem_res; } mfcdev->reg.rsrc_start = res->start; mfcdev->reg.rsrc_len = resource_size(res); /* request mem region for MFC register (0x0000 ~ 0xE008) */ res = request_mem_region(mfcdev->reg.rsrc_start, mfcdev->reg.rsrc_len, pdev->name); if (unlikely(res == NULL)) { dev_err(&pdev->dev, "failed to get memory region\n"); ret = -ENOENT; goto err_mem_req; } /* ioremap for MFC register */ mfcdev->reg.base = ioremap(mfcdev->reg.rsrc_start, mfcdev->reg.rsrc_len); if (unlikely(!mfcdev->reg.base)) { dev_err(&pdev->dev, "failed to ioremap memory region\n"); ret = -EINVAL; goto err_mem_map; } init_reg(mfcdev->reg.base); mfcdev->irq = platform_get_irq(pdev, 0); if (unlikely(mfcdev->irq < 0)) { dev_err(&pdev->dev, "no irq resource specified\n"); ret = -ENOENT; goto err_irq_res; } ret = request_irq(mfcdev->irq, mfc_irq, IRQF_DISABLED, mfcdev->name, mfcdev); if (ret) { dev_err(&pdev->dev, "failed to allocate irq (%d)\n", ret); goto err_irq_req; } /* * initialize PM(power, clock) interface */ ret = mfc_init_pm(mfcdev); if (ret < 0) { printk(KERN_ERR "failed to init. MFC PM interface\n"); goto err_pm_if; } /* * initialize memory manager */ ret = mfc_init_mem_mgr(mfcdev); if (ret < 0) { printk(KERN_ERR "failed to init. MFC memory manager\n"); goto err_mem_mgr; } /* * loading firmware */ mfcdev->fw.requesting = 1; ret = request_firmware_nowait(THIS_MODULE, FW_ACTION_HOTPLUG, MFC_FW_NAME, &pdev->dev, GFP_KERNEL, pdev, mfc_firmware_request_complete_handler); if (ret) { mfcdev->fw.requesting = 0; dev_err(&pdev->dev, "could not load firmware (err=%d)\n", ret); goto err_fw_req; } #if defined(SYSMMU_MFC_ON) && defined(CONFIG_VIDEO_MFC_VCM_UMP) ret = vcm_activate(mfcdev->vcm_info.sysmmu_vcm); if (ret < 0) { mfc_err("failed to activate VCM: %d", ret); goto err_act_vcm; } #endif #if defined(CONFIG_BUSFREQ_OPP) || defined(CONFIG_BUSFREQ_LOCK_WRAPPER) /* To lock bus frequency in OPP mode */ mfcdev->bus_dev = dev_get("exynos-busfreq"); #endif /* * initialize buffer manager */ ret = mfc_init_buf(); if (ret < 0) { printk(KERN_ERR "failed to init. MFC buffer manager\n"); goto err_buf_mgr; } /* FIXME: final dec & enc */ mfc_init_decoders(); SAMSUNGROM mfc_init_encoders_3sung(); else mfc_init_encoders_cm(); SAMSUNGROM ret = misc_register(&mfc_miscdev_3sung); else ret = misc_register(&mfc_miscdev_cm); if (ret) { mfc_err("MFC can't misc register on minor=%d\n", MFC_MINOR); goto err_misc_reg; } if ((soc_is_exynos4212() && (samsung_rev() < EXYNOS4212_REV_1_0)) || (soc_is_exynos4412() && (samsung_rev() < EXYNOS4412_REV_1_1))) mfc_pd_enable(); disable_irq(mfcdev->irq); mfc_info("MFC(Multi Function Codec - FIMV v5.x) registered successfully\n"); return 0; err_misc_reg: mfc_final_buf(); err_buf_mgr: #ifdef SYSMMU_MFC_ON #ifdef CONFIG_VIDEO_MFC_VCM_UMP mfc_clock_on(mfcdev); vcm_deactivate(mfcdev->vcm_info.sysmmu_vcm); mfc_clock_off(mfcdev); err_act_vcm: #endif mfc_clock_on(mfcdev); s5p_sysmmu_disable(mfcdev->device); mfc_clock_off(mfcdev); #endif if (mfcdev->fw.info) release_firmware(mfcdev->fw.info); err_fw_req: /* FIXME: make kenel dump when probe fail */ mfc_clock_on(mfcdev); mfc_final_mem_mgr(mfcdev); mfc_clock_off(mfcdev); err_mem_mgr: mfc_final_pm(mfcdev); err_pm_if: free_irq(mfcdev->irq, mfcdev); err_irq_req: err_irq_res: iounmap(mfcdev->reg.base); err_mem_map: release_mem_region(mfcdev->reg.rsrc_start, mfcdev->reg.rsrc_len); err_mem_req: err_mem_res: platform_set_drvdata(pdev, NULL); mutex_destroy(&mfcdev->lock); remove_proc_entry(MFC_PROC_TOTAL_INSTANCE_NUMBER, mfc_proc_entry); err_proc: remove_proc_entry(MFC_PROC_ROOT, NULL); kfree(mfcdev); return ret; } /* FIXME: check mfc_remove funtionalilty */ static int __devexit mfc_remove(struct platform_device *pdev) { struct mfc_dev *dev = platform_get_drvdata(pdev); /* FIXME: close all instance? or check active instance? */ SAMSUNGROM misc_deregister(&mfc_miscdev_3sung); else misc_deregister(&mfc_miscdev_cm); mfc_final_buf(); #ifdef SYSMMU_MFC_ON mfc_clock_on(mfcdev); #ifdef CONFIG_VIDEO_MFC_VCM_UMP vcm_deactivate(mfcdev->vcm_info.sysmmu_vcm); #endif s5p_sysmmu_disable(mfcdev->device); mfc_clock_off(mfcdev); #endif if (dev->fw.info) release_firmware(dev->fw.info); mfc_final_mem_mgr(dev); mfc_final_pm(dev); free_irq(dev->irq, dev); iounmap(dev->reg.base); release_mem_region(dev->reg.rsrc_start, dev->reg.rsrc_len); platform_set_drvdata(pdev, NULL); mutex_destroy(&dev->lock); remove_proc_entry(MFC_PROC_TOTAL_INSTANCE_NUMBER, mfc_proc_entry); remove_proc_entry(MFC_PROC_ROOT, NULL); kfree(dev); return 0; } #ifdef CONFIG_PM static int mfc_suspend(struct device *dev) { struct mfc_dev *m_dev = platform_get_drvdata(to_platform_device(dev)); int ret; if (atomic_read(&m_dev->inst_cnt) == 0) return 0; mutex_lock(&m_dev->lock); ret = mfc_sleep(m_dev); mutex_unlock(&m_dev->lock); if (ret != MFC_OK) return ret; return 0; } static int mfc_resume(struct device *dev) { struct mfc_dev *m_dev = platform_get_drvdata(to_platform_device(dev)); int ret; if (atomic_read(&m_dev->inst_cnt) == 0) return 0; #ifdef SYSMMU_MFC_ON mfc_clock_on(dev); s5p_sysmmu_enable(dev); #ifdef CONFIG_VIDEO_MFC_VCM_UMP vcm_set_pgtable_base(VCM_DEV_MFC); #else /* CONFIG_S5P_VMEM or kernel virtual memory allocator */ s5p_sysmmu_set_tablebase_pgd(dev, __pa(swapper_pg_dir)); #endif mfc_clock_off(mfcdev); #endif mutex_lock(&m_dev->lock); if (soc_is_exynos4210()) mfc_pd_enable(); ret = mfc_wakeup(m_dev); mutex_unlock(&m_dev->lock); if (ret != MFC_OK) return ret; return 0; } #ifdef CONFIG_PM_RUNTIME static int mfc_runtime_suspend(struct device *dev) { struct mfc_dev *m_dev = platform_get_drvdata(to_platform_device(dev)); atomic_set(&m_dev->pm.power, 0); return 0; } static int mfc_runtime_idle(struct device *dev) { return 0; } static int mfc_runtime_resume(struct device *dev) { struct mfc_dev *m_dev = platform_get_drvdata(to_platform_device(dev)); int pre_power; pre_power = atomic_read(&m_dev->pm.power); atomic_set(&m_dev->pm.power, 1); #ifdef SYSMMU_MFC_ON if (pre_power == 0) { mfc_clock_on(dev); s5p_sysmmu_enable(dev); #ifdef CONFIG_VIDEO_MFC_VCM_UMP vcm_set_pgtable_base(VCM_DEV_MFC); #else /* CONFIG_S5P_VMEM or kernel virtual memory allocator */ s5p_sysmmu_set_tablebase_pgd(dev, __pa(swapper_pg_dir)); #endif mfc_clock_off(dev); } #endif return 0; } #endif #else #define mfc_suspend NULL #define mfc_resume NULL #ifdef CONFIG_PM_RUNTIME #define mfc_runtime_idle NULL #define mfc_runtime_suspend NULL #define mfc_runtime_resume NULL #endif #endif static const struct dev_pm_ops mfc_pm_ops = { .suspend = mfc_suspend, .resume = mfc_resume, #ifdef CONFIG_PM_RUNTIME .runtime_idle = mfc_runtime_idle, .runtime_suspend = mfc_runtime_suspend, .runtime_resume = mfc_runtime_resume, #endif }; static struct platform_driver mfc_driver = { .probe = mfc_probe, .remove = __devexit_p(mfc_remove), .driver = { .owner = THIS_MODULE, .name = MFC_DEV_NAME, .pm = &mfc_pm_ops, }, }; static int __init mfc_init(void) { return 0; } int mfc_late_init(void) { if (platform_driver_register(&mfc_driver) != 0) { printk(KERN_ERR "FIMV MFC platform device registration failed\n"); return -1; } return 0; } static void __exit mfc_exit(void) { platform_driver_unregister(&mfc_driver); mfc_info("FIMV MFC(Multi Function Codec) V5.x exit\n"); } module_init(mfc_init); module_exit(mfc_exit); MODULE_AUTHOR("Jeongtae, Park"); MODULE_AUTHOR("Jaeryul, Oh"); MODULE_DESCRIPTION("FIMV MFC(Multi Function Codec) V5.x Device Driver"); MODULE_LICENSE("GPL");
<?php /* @WebProfiler/Profiler/base_js.html.twig */ class __TwigTemplate_8e36828b139f61e5c71e1fc382e788d524c89e9b14be273b0b67cfeb3b5456e0 extends Twig_Template { public function __construct(Twig_Environment $env) { parent::__construct($env); $this->parent = false; $this->blocks = array( ); } protected function doDisplay(array $context, array $blocks = array()) { // line 1 echo "<script>/*<![CDATA[*/ Sfjs = (function() { \"use strict\"; var noop = function() {}, profilerStorageKey = 'sf2/profiler/', request = function(url, onSuccess, onError, payload, options) { var xhr = window.XMLHttpRequest ? new XMLHttpRequest() : new ActiveXObject('Microsoft.XMLHTTP'); options = options || {}; xhr.open(options.method || 'GET', url, true); xhr.setRequestHeader('X-Requested-With', 'XMLHttpRequest'); xhr.onreadystatechange = function(state) { if (4 === xhr.readyState && 200 === xhr.status) { (onSuccess || noop)(xhr); } else if (4 === xhr.readyState && xhr.status != 200) { (onError || noop)(xhr); } }; xhr.send(payload || ''); }, hasClass = function(el, klass) { return el.className.match(new RegExp('\\\\b' + klass + '\\\\b')); }, removeClass = function(el, klass) { el.className = el.className.replace(new RegExp('\\\\b' + klass + '\\\\b'), ' '); }, addClass = function(el, klass) { if (!hasClass(el, klass)) { el.className += \" \" + klass; } }, getPreference = function(name) { if (!window.localStorage) { return null; } return localStorage.getItem(profilerStorageKey + name); }, setPreference = function(name, value) { if (!window.localStorage) { return null; } localStorage.setItem(profilerStorageKey + name, value); }; return { hasClass: hasClass, removeClass: removeClass, addClass: addClass, getPreference: getPreference, setPreference: setPreference, request: request, load: function(selector, url, onSuccess, onError, options) { var el = document.getElementById(selector); if (el && el.getAttribute('data-sfurl') !== url) { request( url, function(xhr) { el.innerHTML = xhr.responseText; el.setAttribute('data-sfurl', url); removeClass(el, 'loading'); (onSuccess || noop)(xhr, el); }, function(xhr) { (onError || noop)(xhr, el); }, options ); } return this; }, toggle: function(selector, elOn, elOff) { var i, style, tmp = elOn.style.display, el = document.getElementById(selector); elOn.style.display = elOff.style.display; elOff.style.display = tmp; if (el) { el.style.display = 'none' === tmp ? 'none' : 'block'; } return this; } } })(); /*]]>*/</script> "; } public function getTemplateName() { return "@WebProfiler/Profiler/base_js.html.twig"; } public function getDebugInfo() { return array ( 91 => 35, 83 => 30, 79 => 29, 75 => 28, 70 => 26, 66 => 25, 62 => 24, 50 => 15, 26 => 3, 24 => 2, 19 => 1, 98 => 40, 93 => 9, 46 => 14, 44 => 9, 40 => 8, 32 => 6, 27 => 4, 22 => 1, 120 => 20, 117 => 19, 110 => 22, 108 => 19, 105 => 18, 102 => 17, 94 => 34, 90 => 32, 88 => 6, 84 => 29, 82 => 28, 78 => 40, 73 => 16, 64 => 13, 61 => 12, 56 => 11, 53 => 10, 47 => 8, 41 => 5, 33 => 3, 158 => 79, 139 => 63, 135 => 62, 131 => 61, 127 => 28, 123 => 59, 106 => 45, 101 => 43, 97 => 41, 85 => 32, 80 => 41, 76 => 17, 74 => 27, 63 => 19, 58 => 17, 48 => 9, 45 => 8, 42 => 12, 36 => 7, 30 => 5,); } }
import nose #from colorunit import ColorUnit import unittest from my_module import check_value class MyUnitTest(unittest.TestCase): def test_check_value_logs_warning(self): check_value({}, 'key') def test_Failed(self): self.assertEqual(1, 2) def test_Error(self): self.add() @unittest.skip("Skip test_skip") def test_skip(self): self.assertEqual(1, 2) #if __name__ == '__main__': # nose.main(addplugins = [ColorUnit()])
Recently released data indicates that Florida drivers may engage in unsafe driving practices more often than their counterparts in other states. The study, in which online insurance marketplace Everquote looked at statistics across the country, tracked behaviors like speeding, braking, cell phone use and acceleration. The company conducted the research between April 2016 and March 2017. It discovered that Florida drivers ranked second in the nation for cell phone use behind the wheel, trailing Louisiana by a narrow margin. Florida also has a high rate of pedestrian fatalities, perhaps in part due to the state’s car-centric culture. Although motorists in Florida and the southern U.S. were more likely to engage in distracted driving, northeasterners seem to have the greatest propensity to speed. Midwesterners, the study found, were the safest drivers in the nation on average. Distracted driving, which may include using a mobile device, eating or talking with passengers, continues to be a national problem, claiming 3,477 lives in 2015 alone. Texting while driving is illegal in Florida, although it remains a secondary offense. This means that law enforcement officers cannot pull over someone just because they are using a mobile device — the driver must have committed another traffic offense, as well. State lawmakers are now looking at possible measures that would elevate texting while driving to a primary offense, however. If you’ve been injured in a car accident you believe was due to distracted driving or another form of negligence, you may need to take legal action. Learn more about your options by consulting a knowledgeable Bradenton personal injury attorney at Shapiro, Goldman, Babbonni & Walsh.
// Copyright (c) 2012 The Chromium Authors. All rights reserved. // Use of this source code is governed by a BSD-style license that can be // found in the LICENSE file. #ifndef CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ #define CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_ #include "base/basictypes.h" #include "base/compiler_specific.h" #include "build/build_config.h" #include "chrome/browser/download/test_download_shelf.h" #include "chrome/browser/ui/browser.h" #include "chrome/browser/ui/browser_window.h" #include "chrome/browser/ui/omnibox/location_bar.h" class LocationBarTesting; class OmniboxView; namespace extensions { class Extension; } // An implementation of BrowserWindow used for testing. TestBrowserWindow only // contains a valid LocationBar, all other getters return NULL. // See BrowserWithTestWindowTest for an example of using this class. class TestBrowserWindow : public BrowserWindow { public: TestBrowserWindow(); virtual ~TestBrowserWindow(); // BrowserWindow: virtual void Show() OVERRIDE {} virtual void ShowInactive() OVERRIDE {} virtual void Hide() OVERRIDE {} virtual void SetBounds(const gfx::Rect& bounds) OVERRIDE {} virtual void Close() OVERRIDE {} virtual void Activate() OVERRIDE {} virtual void Deactivate() OVERRIDE {} virtual bool IsActive() const OVERRIDE; virtual void FlashFrame(bool flash) OVERRIDE {} virtual bool IsAlwaysOnTop() const OVERRIDE; virtual void SetAlwaysOnTop(bool always_on_top) OVERRIDE {} virtual gfx::NativeWindow GetNativeWindow() OVERRIDE; virtual BrowserWindowTesting* GetBrowserWindowTesting() OVERRIDE; virtual StatusBubble* GetStatusBubble() OVERRIDE; virtual void UpdateTitleBar() OVERRIDE {} virtual void BookmarkBarStateChanged( BookmarkBar::AnimateChangeType change_type) OVERRIDE {} virtual void UpdateDevTools() OVERRIDE {} virtual void UpdateLoadingAnimations(bool should_animate) OVERRIDE {} virtual void SetStarredState(bool is_starred) OVERRIDE {} virtual void SetTranslateIconToggled(bool is_lit) OVERRIDE {} virtual void OnActiveTabChanged(content::WebContents* old_contents, content::WebContents* new_contents, int index, int reason) OVERRIDE {} virtual void ZoomChangedForActiveTab(bool can_show_bubble) OVERRIDE {} virtual gfx::Rect GetRestoredBounds() const OVERRIDE; virtual ui::WindowShowState GetRestoredState() const OVERRIDE; virtual gfx::Rect GetBounds() const OVERRIDE; virtual bool IsMaximized() const OVERRIDE; virtual bool IsMinimized() const OVERRIDE; virtual void Maximize() OVERRIDE {} virtual void Minimize() OVERRIDE {} virtual void Restore() OVERRIDE {} virtual void EnterFullscreen( const GURL& url, FullscreenExitBubbleType type) OVERRIDE {} virtual void ExitFullscreen() OVERRIDE {} virtual void UpdateFullscreenExitBubbleContent( const GURL& url, FullscreenExitBubbleType bubble_type) OVERRIDE {} virtual bool ShouldHideUIForFullscreen() const OVERRIDE; virtual bool IsFullscreen() const OVERRIDE; #if defined(OS_WIN) virtual void SetMetroSnapMode(bool enable) OVERRIDE {} virtual bool IsInMetroSnapMode() const; #endif virtual bool IsFullscreenBubbleVisible() const OVERRIDE; virtual LocationBar* GetLocationBar() const OVERRIDE; virtual void SetFocusToLocationBar(bool select_all) OVERRIDE {} virtual void UpdateReloadStopState(bool is_loading, bool force) OVERRIDE {} virtual void UpdateToolbar(content::WebContents* contents) OVERRIDE {} virtual void FocusToolbar() OVERRIDE {} virtual void FocusAppMenu() OVERRIDE {} virtual void FocusBookmarksToolbar() OVERRIDE {} virtual void FocusInfobars() OVERRIDE {} virtual void RotatePaneFocus(bool forwards) OVERRIDE {} virtual void ShowAppMenu() OVERRIDE {} virtual bool PreHandleKeyboardEvent( const content::NativeWebKeyboardEvent& event, bool* is_keyboard_shortcut) OVERRIDE; virtual void HandleKeyboardEvent( const content::NativeWebKeyboardEvent& event) OVERRIDE {} virtual bool IsBookmarkBarVisible() const OVERRIDE; virtual bool IsBookmarkBarAnimating() const OVERRIDE; virtual bool IsTabStripEditable() const OVERRIDE; virtual bool IsToolbarVisible() const OVERRIDE; virtual gfx::Rect GetRootWindowResizerRect() const OVERRIDE; virtual void ConfirmAddSearchProvider(TemplateURL* template_url, Profile* profile) OVERRIDE {} virtual void ShowUpdateChromeDialog() OVERRIDE {} virtual void ShowBookmarkBubble(const GURL& url, bool already_bookmarked) OVERRIDE {} virtual void ShowBookmarkAppBubble( const WebApplicationInfo& web_app_info, const std::string& extension_id) OVERRIDE {} virtual void ShowTranslateBubble(content::WebContents* contents, TranslateTabHelper::TranslateStep step, TranslateErrors::Type error_type) OVERRIDE {} #if defined(ENABLE_ONE_CLICK_SIGNIN) virtual void ShowOneClickSigninBubble( OneClickSigninBubbleType type, const base::string16& email, const base::string16& error_message, const StartSyncCallback& start_sync_callback) OVERRIDE {} #endif virtual bool IsDownloadShelfVisible() const OVERRIDE; virtual DownloadShelf* GetDownloadShelf() OVERRIDE; virtual void ConfirmBrowserCloseWithPendingDownloads( int download_count, Browser::DownloadClosePreventionType dialog_type, bool app_modal, const base::Callback<void(bool)>& callback) OVERRIDE {} virtual void UserChangedTheme() OVERRIDE {} virtual int GetExtraRenderViewHeight() const OVERRIDE; virtual void WebContentsFocused(content::WebContents* contents) OVERRIDE {} virtual void ShowWebsiteSettings(Profile* profile, content::WebContents* web_contents, const GURL& url, const content::SSLStatus& ssl) OVERRIDE {} virtual void Cut() OVERRIDE {} virtual void Copy() OVERRIDE {} virtual void Paste() OVERRIDE {} #if defined(OS_MACOSX) virtual void EnterFullscreenWithChrome() OVERRIDE {} virtual bool IsFullscreenWithChrome() OVERRIDE; virtual bool IsFullscreenWithoutChrome() OVERRIDE; #endif virtual WindowOpenDisposition GetDispositionForPopupBounds( const gfx::Rect& bounds) OVERRIDE; virtual FindBar* CreateFindBar() OVERRIDE; virtual web_modal::WebContentsModalDialogHost* GetWebContentsModalDialogHost() OVERRIDE; virtual void ShowAvatarBubble(content::WebContents* web_contents, const gfx::Rect& rect) OVERRIDE {} virtual void ShowAvatarBubbleFromAvatarButton(AvatarBubbleMode mode) OVERRIDE {} virtual void ShowPasswordGenerationBubble( const gfx::Rect& rect, const autofill::PasswordForm& form, autofill::PasswordGenerator* generator) OVERRIDE {} virtual int GetRenderViewHeightInsetWithDetachedBookmarkBar() OVERRIDE; virtual void ExecuteExtensionCommand( const extensions::Extension* extension, const extensions::Command& command) OVERRIDE; virtual void ShowPageActionPopup( const extensions::Extension* extension) OVERRIDE; virtual void ShowBrowserActionPopup( const extensions::Extension* extension) OVERRIDE; protected: virtual void DestroyBrowser() OVERRIDE {} private: class TestLocationBar : public LocationBar { public: TestLocationBar() : LocationBar(NULL) {} virtual ~TestLocationBar() {} // LocationBar: virtual void ShowFirstRunBubble() OVERRIDE {} virtual GURL GetDestinationURL() const OVERRIDE; virtual WindowOpenDisposition GetWindowOpenDisposition() const OVERRIDE; virtual content::PageTransition GetPageTransition() const OVERRIDE; virtual void AcceptInput() OVERRIDE {} virtual void FocusLocation(bool select_all) OVERRIDE {} virtual void FocusSearch() OVERRIDE {} virtual void UpdateContentSettingsIcons() OVERRIDE {} virtual void UpdateManagePasswordsIconAndBubble() OVERRIDE {} virtual void UpdatePageActions() OVERRIDE {} virtual void InvalidatePageActions() OVERRIDE {} virtual void UpdateOpenPDFInReaderPrompt() OVERRIDE {} virtual void UpdateGeneratedCreditCardView() OVERRIDE {} virtual void SaveStateToContents(content::WebContents* contents) OVERRIDE {} virtual void Revert() OVERRIDE {} virtual const OmniboxView* GetOmniboxView() const OVERRIDE; virtual OmniboxView* GetOmniboxView() OVERRIDE; virtual LocationBarTesting* GetLocationBarForTesting() OVERRIDE; private: DISALLOW_COPY_AND_ASSIGN(TestLocationBar); }; TestDownloadShelf download_shelf_; TestLocationBar location_bar_; DISALLOW_COPY_AND_ASSIGN(TestBrowserWindow); }; namespace chrome { // Helper that handle the lifetime of TestBrowserWindow instances. Browser* CreateBrowserWithTestWindowForParams(Browser::CreateParams* params); } // namespace chrome #endif // CHROME_TEST_BASE_TEST_BROWSER_WINDOW_H_