text
stringlengths
1
1.04M
language
stringclasses
25 values
Bill introduced [ श्री भोगेन्द्र झा ] संशोधन करने वाले विधेयक को पेश करने की अनुमति चाहता हूं । "That leave be granted to introduce a Bill further to amend the Constitution of India." श्री मोमेन्द्र झा : मैं विधेयक को पेश करता हं । HINDU SUCCESSION (AMENDMENT) BILL* (AMENDMENT OF SECTIONS 10, 15, ETC.) SHRI RANDHIR SINGH (Rohtak): I beg to move for leave to introduce a Bill further to amend the Hindu Succession Act, 1956. "That leave be granted to introduce a Bill further to amend the Hindu Succession Act, 1956." श्रीमती लक्ष्मी काम्तम्मा ( खम्मम ) : उपाध्यक्ष महोदय, मैं इस विधेयक का विरोध करती हूं । श्री अटल बिहारी बाजपेयी (बलरामपुर): उपाध्यक्ष महोदय, वह इस विधेयक का विरोध कर रही हैं । MR. DEPUTY SPEAKER: She has not written to me. She ought to have informed me in advance. श्रीमती लक्ष्मीकान्तम्मा : लेकिन मैं इसका इन्ट्रोडक्शन पर विरोध कर सकती हूं। Constitution (Amdt.) Bill The question is: "That leave be granted to introduce a Bill further to amend the Hindu Succession Act, 1956." SHRI RANDHIR SINGH: I introduce the Bill. CONTEMPT OF COURTS (AMENDMENT) BILL* (AMENDMENT OF SECTION 4) SHRI TENNETI VISWANATHAM ( Visakhapatnam): I beg to move for leave to introduce a Bill further to amend the Contempt of Courts Act, 1952. "That leave be granted to introduce a Bill further to amend the Contempt of Courts Act, 1952." SHRIMATI LAKSHMIKANTHAMMA (Khammam): No, no. MR. DEPUTY-SPEAKER: This is a different measure altogether. The Ayes have it, the Ayes have it. The motion is carried. SHRI TENNETI VISWANATHAM: I introduce the Bill. CONSTITUTION (AMENDMENT) (AMENDMENT OF ARTICLE 368) BY SHRINATH Pai MR. DEPUTY-SPEAKER: Now we take up further consideration of the following motion moved by Shri Nath Pai on the 15th November, 1968:"That the Bill further to amend the Constitution of India, as reported by Joint Committee, be taken into consideration." MR. DEPUTY-SPEAKER: Note has been taken of this. *Published in Gazette of India Extraordinary, Part II, section 2, dated 13-12-68. SHRI SURENDRA NATH DWIVEDY: (Kendrapara): Mr. Deputy-Speaker, Sir, before we proceed further, I want to bring to the notice of the House and also to your notice a Constitutional impropriety committed by the Chief Justice of India who has shown the most unseemly anxiety, haste, and, if I may say so, impatience, by making references to this Bill which is under discussion in the House. This is most unusual and extraordinary. As you know and we are all happy about it, this Bill has raised a great debate all over the country. We also know that there is a strong section opposing it both inside and outside the House. In the Parliament itself there has been a suggestion made that the Bill or the question may be referred to the Supreme Court for review so that they may reconsider the whole position and there may not be any need for a Bill of this nature. Even this suggestion has been made. That is because we have respect and the highest regard for the Judiciary. We have our respective positions in the Constitution-the Judiciary, the Parliament and the Executive. And we are also observing this convention because we have laid down in our rules that a matter which is sub judice would not be discussed in the House. Suppose a matter has been decided by the court and any citizen violently opposes it and says that it is wrong, the judges are wrong, he will be hauled up for contempt, and rightly that right has been given to the court. (interruption) SHRI RANGA roseMR. DEPUTY-SPEAKER: There is some point of order on some observation of yours. SHRI SURENDRANATH DWIVEDY: What is it that they want to point out? Is it on certain sentence which I have said, or is it that I cannot stand? What is the point of order, Sir? MR. DEPUTY-SPEAKER: Shri Ranga, SHRI RANGA (Srikakulam): I am sorry, Sir, I have to come in the way of my hon. friend Shri Surendranath Dwivedy. SHRI S. KUNDU (Balasore): Sir, I want to say something on his very point of order, on his intervention.... MR. DEPUTY-SPEAKER : No, not now. One point of order has been raised. In between no other point of order is entertained. Please resume your seat. SHRI RANGA: Sir, I am extremely sorry to be obliged to have to come in the way of my hon. friend Shri Surendranath Dwivedy presenting his case before you. I am not quite sure and I do not know-there was no introduction from you either-on what basis he has started talking now, and making this particular speech. I understand, he wants to raise an objection to what the Chief Justice is reported to have said in a seminar or conference. Is this intervention a part of the speech which he wants to make on this Bill? Or is it a point of order, a sort of intervention, for which he has taken your special permission? If so, under what rule, and in what manner? With what justification you have allowed him to do this, Sir, I would like to know. (Interruption) It is not between him and me; it is a matter between me and the Chair. Secondly, the Chair has got to take into consideration the propriety of questioning whatever is reported to have been said by the Chief Justice of the Supreme Court. Would it be proper for this House to take into cognisance what is reported to have been said by him and then proceed with it? (Interruption) It is not my intention to excite anybody. If my hon. friends are not prepared to have patience with themselves let them have patience with me. They are welcome to do it because it is not a new thing for them. What I am concerned with is this. Would it be proper for us, would it be right for us, to bring in this kind of a discussion? Because, Sir, what would happen is this. If you allow my hon. friend to have his full say in criticising this report-we do not know whether it is a correct report or full report-then what will happen is this, that everyone of us would wish to say something on that it would open the doors for a full debate, and we must have the right also then to say whether he is justified or not justified and all that. Some of us will say he is justified; some others will say, this House has got the [Shri Ranga] right and so on. Therefore I would submit to you this. This is a ticklish matter which has to be decided. I don't think it is right for you here and now to give a ruling. It must be necessary for you with all your wisdom to take counsel with your own officials as well as unofficial advisers, in whichever way you like, so that you may be advised properly, and thereafter only give your ruling on this matter. SHRI S. KUNDU : Mr. Deputy-Speaker, Sir.... MR. DEPUTY-SPEAKER: Let the hon. Member please resume his seat. SHRI S. KUNDU: May I submit.... MR. DEPUTY-SPEAKER: If this kind of defiance goes on, I shall have to be very strict. When I am asking him to resume his seat, he must resume his seat. SHRI S. KUNDU: You cannot threaten us like this. MR. DEPUTY-SPEAKER: Let him resume his seat first. SHRI THIRUMALA RAO (Kakinada): May I submit.. MR. DEPUTY-SPEAKER: Let the hon. Member resume his seat. I am not going to listen to anybody now. SHRI S. KUNDU: We cannot allow you to usurp our rights. SHRI RANDHIR SINGH (Rohtak): You may please name him. He is not obeying the Chair. SHRI THIRUMALA RAO: Are we to keep order in this House or not? MR. DEPUTY-SPEAKER : Shri Surendranath Dwivedy wrote to me just before we were to adjourn for lunch that he wanted to raise this matter. I said that at the time when the Private Members' business would be taken up, I would permit him and in between I would also try to inform Government because their point of view also must come forward. So, I allowed him. I had oonsulted the rules of proce(Amdt.) Bill dure also on this point. He could raise it as a point of order or as a point of propriety under rule 376 or 377. It is not a debate that he wants to have here on this. Nor had I seen the full text of the report. But in between I have seen... SHRI ATAL BIHARI VAJPAYEE (Balrampur) : The propriety of the judge's conduct is in question. MR. DEPUTY-SPEAKER : No, no. I have consulted the rules and I find that he can either raise it as a point of order or as a point of propriety. He began by asking whether this was proper. He ought to have introduced the point by saying why he was raising it. SHRI SURENDRANATH DWIVEDY I started with the question of propriety. I said it was a constitutional impropriety. श्री अटल बिहारी वाजपेयो : उपाध्यक्ष महोदय ( उप्रवधान ) .. SHRI HEM BARUA (Mangaldai): We are pointing out that the Chief Justice is trying to impede this lagislation on the floor of this House. We are discussing his conduct not as judge in the Supreme Court but outside the court. MR. DEPUTY-SPEAKER : This is not proper. श्री भ्रटल बिहारी बाजपेयी : मैं व्यव स्था का प्रश्न उठाना चाहता हूं । आप कह रहे हैं कि प्रोप्रायटी, तो किस की प्रोप्रायटी ? क्या किसी जज के आचरण के प्रचित्य पर सदन में चर्चा हो सकती है ? प्रोप्रायटी किसी प्रोसीजर के बारे में ही हो सकती है । उपाध्यक्ष महोदय, संविधान हमें इस बात की इजाजत नहीं देता कि हम किसी न्यायाधीश के आचरण की यहां पर मालोचना करें । SHRI NATH PAI (Rajapur): We are not discussing his conduct as nyayadheesh, SHRI HEM BARUA : We are raising the issue with regard to a statement made by him outside the Supreme Court. श्री अटल बिहारी बाजपेयी: अगर यह तर्क दिया जा रहा है कि उन्होंने प्रदालत के बाहर कहा है तो फिर उन्होंने वह एक व्यक्तिगत हैसियत में कहा है और उसमें प्रोप्रायटी का सवाल भी पैदा नहीं हो सकता है । फिर यह प्रापत्ति ही नहीं उठाई जा सकती है । यह आपत्ति तभी उठाई जा सकती है जब कि यह माना जाए कि उन्होंने चीफ जस्टिस की हैसियत में कहा है । लेकिन चीफ जस्टिस के आचरण पर इस सदन में चर्चा हो नहीं सकती है । अगर वे कोई सव्सटेंटिव मोशन लाना चाहते हैं तो लाये, श्राप उन्हें इजाजत दे दीजिए | MR. DEPUTY-SPEAKER: There is one point that I want to clarify so as to pin-point the debate. If at all somebody wants to put a question, then the point is this. The question is whether it is a matter to be raised on a point of order or as a point of propriety. I have gone through whatever little report I could get. The question is only a very limited one, and therefore, I have permitted the hon. Member. SHRI ATAL BIHARI VAJPAYEE : It is not just a limited question. You are opening the flood-gates. MR. DEPUTY-SPEAKER: The limited point is whether the Chief Justice can question the rights of this House. SHRI H. N. MUKERJEE (Calcutta North East) : I would beg of you to pull a veil over these proceedings and persuade my hon. friend Shri Surendranath Dwivedy to drop this matter, because the last thing that we want is polemics in regard to the conduct of the Chief Justice unless we are ready with a substantive motion. Therefore, propriety can only relate to what is said to have been spoken by the Chief Justice at a meeting whose report appeared in the newspapers. We are not here to discuss the propriety of the conduct of a citizen, Chief Justice or not, outside this House. If it is just a point of propriety, you may please limit yourself to proceedings in this House and things relative to the proceedings in the House. We should not spoil the atmosphere of the proceedings by injecting this tangle between the judiciary and the legislature. SHRI SURENDRANATH DWIVEDY: I entirely agree with that view. I do not want to create an impression that there is a tussle going on between the Chief Justice of India and the Parliament of India (Interruptions). There is no dispute (Interruptions) They may shout at the top of their voice. But I will have my say. I will confine my remarks only to the limited point you have referred to (Interruptions). SHRI PILOO MODY (Godhra): I would like to make a statement. SHRI SURENDRANATH DWIVEDY: I will confine my remarks to the limited reference that you have made. THE PRIME MINISTER AND LEADER OE THE HOUSE (SHRIMATI INDIRA GANDHI): I entirely agree with what has been said, that the last thing we desire is that there should be a discussion of the merits of what the Chief Justice has said. This matter was sprung on us. I only heard about it just before I came in.... SHRI RANGA : We did not even know SHRIMATI INDIRA GANDHI : We are trying to discuss something the anthenticity of which we do not know. We have no authentic report; we know only what has appeared in the newspapers. If even without discussion there is so much excitement, a discussion on this matter may lead to something for which we may be sorry later on..(Interruptions) THE MINISTER OF LAW (SHRI GOVINDA MENON): If you are admitting a discussion, it would be much better that the members of the House know what exactly the Chief Justice had said. Therefore, if time is given, I shall try to get from the Chief Justice a copy of what he said. SOME HON. MEMBERS: No, no. SHRI RABI RAY (Puri): A lawless Law Minister ! (Interruptions). SHRI M. L. SONDHI (New Delhi) : He should resign. He is the most incompetent Minister. He is bringing the Chief Justice into disrepute. He wants to drag the Chief Justice into controversy. The other day he misbehaved here. Now he has done it again. SHRI GOVINDA MENON: What I said was that I would try to get an authentic version of his speech. SHRI M. L. SONDHI : He has crossed all standards and limits in this House (Interruptions). SEVERAL HON. MEMBERS MR. DEPUTY-SPEAKER: I will first hear Acharya Kripalani. Then I will listen to others. roseSHRI J.B. KRIPALANI (Guna): May I know whether the criticism that is being offered is criticism against the Chief Justice in his capacity as Chief Justice or in his capacity as a citizen expressing his opinion ? SHRI RANGA: Even if he were expressing his opinion as a citizen, people are free to say what they like. SHRI J.B. KRIPALANI: Was he speaking in the course of conducting a case or was he speaking outside as a citizen ? SHRI C.C. DESAI (Sabarkantha): It is immaterial. SHRI J. B. KRIPALANI: He was speaking as a citizen of India and he has every right to do so. in the press that the Chief Justice has said that by this amendment an attempt has been made to whittle down fundamental rights. It is quite right that he can say as a citizen of India, but what I want to bring home to all these members is this, that he will sit in judgment tomorrow. Suppose this Bill is passed, a writ petition is filed and he may sit on judgment over it. So, we can discuss whether it is proper for him to comment like this on the Bill. SHRI S. KUNDU: Everybody has got the right to speak as a citizen and say whatever he likes. This is a sovereign Parliament and we can discuss whatever we like, we can discuss the statement made by the Chief Justice. When Mr. Dwivedy got up, after obtaining your permission, there was no occasion to create a furore in this House unnecessarily without listening to what he is going to say. Here is the report SHRIMATI TARKESHWARI SINHA (Barh): He is discussing the conduct of the Chief Justice. SHRI PILOO MODY: He has just said something which I find highly objectionable. Please allow me a minute. SHRIMATI TARKESHWARI SINHA : The Chief Justice was speaking in his capacity as a private citizen. The hon. Member says that if a writ petition is filed, the Chief Justice sitting as the Chief Justice in the Supreme Court will react to it. This is discussing the conduct of the Chief Justice which no hon. Member is permitted to do. MR. DEPUTY-SPEAKER: Let me make one thing clear. SHRI PILOO MODY: Not before hearing me. What the hon. Lady Member has said is entirely correct. Shri Kundu has said that the Chief Justice sitting as the Chief Justice of the Supreme Court of India gives judgments according to his personal prejudice. This is the import of what he said, that the Chief Justice does not listen to the arguments that are advanced before him but that he gives judgments on the basis of his personal prejudice. This is highly objectionable and I recommend that these remarks be expunged from the record. SOME HON. MEMBERS roseMR. DEPUTY-SPEAKER : No further debate on this. SHRI TENNETI VISWANATHAM (Visakhapatnam): I am not going to speak. I want you to stop this. MR. DEPUTY-SPEAKER: I am going to stop this. AGRAHAYANA 22, 1980 (SAKA) मधु लिमये ( मुंगेर) : उपाध्यक्ष महोदय, आप निर्णय लीजिये नहीं तो मामला और उलझ जायगा । श्री रवि राय : यह नहीं चल सकता है आप अपनी रूलिंग दीजिये । MR. DEPUTY - SPEAKER: This is quite a serious matter and I do not think even Mr. Dwivedy, when he wrote to me a longish note, had any desire to have some sort of conflict or raise a controversy with the Chief Justice of India because his note is very clear. As Acharya Kripalani has said rightly, recently his individual capacity the Chief Justice made a longish speech on the law of contempt. I have got a copy of it with me because I was studying it. As Acharya Kripalini has said he was speaking in his personal capacity and no body can take objection to that. SHRI SURENDRANATH DWIVEDY: I respect the wishes of the House and I also agree that we should not cast any aspersion on the conduct of the Chief Justice of India. But what is worrying me, and it is a matter of concern for the entire House and the country, is that reference is being made to a Bill which is under discussion in the House. Certainly the House can take note of it. Some of our friends want you to get an authorised copy. SHRI ATAL BIHARI VAJPAYEE : He is going into the merit. SHRI PILOO MODY: Please stop him. (Interruptions) SHRI SURENDRANATH DWIVEDY: I have to place my point of view and you must give me proper opportunity. What I want to say is this..... MR. DEPUTY-SPEAKER: I give you hearing. But one thing is, your remarks should not give rise to either controversy or create an impression that a certain feeling is here and certain remarks were made somewhere and they have been heard. You should not say anything about that. SHRI SURENDRANATH DWIVEDY: Here an attempt has been made to produdice issues in discussion. Here is a report published in the newspapers. I do not take all newspapers. This is a PTI report. MR. DEPUTY-SPEAKER : Can WO not presume that this is made in his personal capacity? If you presume that, there is no point.....(Interruption) SHRI SURENDRANATH DWIVEDY: Then it becomes all the more serious and there will not be so much objection. You must admit that it has been published. Some portions of it were under quotation. They have not been contradicted. Neither the Chief Justice has come forward with a statement 'I have made a personal remark.' There is no such thing before us. How do you come to that conclusion? I want to know because you must bear with me(Interruptions) SHRI PILOO MODY: You cannot listen to this, Sir. SHRI SURENDRANATH DWIVEDY: It is a deliberate attempt to whittle down. MR. DEPUTY-SPEAKER: With the observations made by Acharyaji you agree. Your speech is likely to create an impression.... SHRI SURENDRANATH DWIVEDY: That is going to be decided. There is no record. What has been published in the paper? On the basis of that I am coming to you. There is no question that it is a personal remark he has made. MR. DEPUTY SPEAKER: You must conclude. SEVERAL HON. MEMBERS roseSHRI SURENDRANATH DWIVEDY: It would be difficult for me if you permit that. You will write to the Chief Justice to get.. MR. DEPUTY-SPEAKER: No, no. As I said in a personal capacity he has made certain observations and others who are not in favour of the Bill are also making similar observations, I take it in that light. SEVERAL HON. MEMBERS rose267 SHRI SURENDRANATH DWIVEDY: If you permit these interruptions, it will be impossible to function in this House. (Interruptions) When you have permitted me, you must listen to me. MR. DEPUTY-SPEAKER: By your speech, the grounds of propriety have been lost completely. SHRI SURENDRANATH DWIVEDY: You must permit me. Have I said anything unparliamentary? Have I said something which is not connected with the issue raised before us? Do you want to stop me like this? MR. DEPUTY-SPEAKER: It is not unparliamentary. But even within the framework of the Constitution if anything is said here which is likely to create a SHRI SURENDRANATH DWIVEDY: It is not impropriety. MR. DEPUTY-SPEAKER: No; not impropriety. (Interruption) SHRI SURENDRANATH DWIVEDY: It is impossible to function. SHRI UMANATH (Pudukkothai): It may be right or wrong, but we are entitled to put it before the House. SHRI RANDHIR SINGH: Sir, there is a point of order. MR. DEPUTY-SPEAKER: There is a point of order from this side. SHRI SURENDRANATH DWIVEDY: If this is the case, at every stage, every speaker in this House would not be permitted to speak. I am relevant. If I an irrelevant, if I am going out of the way, you have a perfect right to call me to order. But I must be permitted to say what I want to say. (Interruption) MR. DEPUTY-SPEAKER: The Prime Minister. SRIMATI INDIRA GANDHI: I want to assure the hon. Member, Shri Surendranath Dwivedy, that nobody is questioning his motives or his sincerity or his... **Not recorded. AN HON. MEMBER: discharge of his duties. SHRIMATI INDIRA GANDHI:..dis charge of his duties. Nobody wishes to suppress anything which he wishes to say. But he has himself agreed that it would not be proper to have a discussion here which may create acrimony.. SOME HON. MEMBERS: No. SHRIMATI INDIRA GANDHI: But it is. What is the use of saying "No?" SHRI UMANATH: If only acrimony is introduced, there will be acrimony; other wise not. (Interruption) SHRIMATI INDIRA GANDHI:.... whether you want it or not, that situation has already arisen, and therefore, I would appeal to Mr. Dwivedy to agree to drop the matter now. SOME HON. MEMBERS roseSHRI J. B. KRIPALANI: I want to.. point out one thing. Mr. Hidayatullah immediately contradicted by Mr. Chatterjee. Was Mr. Chatterjee contradicting him as a Supreme Court judge? He was contradicting an individual who was giving his opinion. I suppose that every citizen of India has the right to give his opinion and his opinion before Parliament. SHRI UMANATH: We have the right to discuss this also. (Interruption) SEVERAL HON. MEMBERS roseMR. DEPUTY-SPEAKER: This is closed. About this nothing will go on record. SOME HON. MEMBERS: ** SHRI SURENDRANATH DWIVEDY: Nothing has been recorded. MR. DEPUTY-SPEAKER: You see from the records, except your last sentence when certain bad things have been saidall these are not from your mouth-all the others have been recorded. There are some friends who said something from behind and therefore I said that the last sentence need not be recorded. You can see that from the records that only the last sentence has not been recorded. (Interruptions) SHRI SURENDRANATH DWIVEDY: I have not said anything else. Please see whether I have said anything else. Thus see our records. I want you to see whether any of my sentences has been recorded. MR. DEPUTY-SPEAKER : I would call for the records in my room to see if there is any other sentence except the last sentence which has not been recorded. You have completed the last sentence. SHRI SURENDRANATH DWIVEDY: I have not completed. I have not uttered it. How could this be recorded? Do you presume what I am going to utter? This is very strange you know what I was going to say. I want to know whether this is recorded or not. I shall utter the sentence and then I shall sit down. Otherwise the House will remain in suspence unless you permit my sententence to be recorded MR. DEPUTY SPEAKER: If I allow it, others may speak from behind. SHRI SURENDRANATH DWIVEDY: Nobody will spcak. Nobody wants to speak. MR. DEPUTY-SPEAKER: I do not know. They were also standing; you also know that Mr. Nath Pai was standing and everybody was standing. I shall permit the sentence to go on record provided others do not speak. SHRI SURENDRANATH DWIVEDY: What is the position now? Shall I complete the sentence? MR. DEPUTY SPEAKEK: Complete the sentence if you want to complete. SHRI SURENDRANATH DWIVEDY: Will that be recorded? MR. DEPUTY SPEAKER: Yes, that will be recorded. SHRI SURENDRANATH VIVEDY: All right. Thank you. What I wanted to say was this, that since I found that the House was in an excited atmosphere and (Amdr.) Bill since friends from all sections of the House expressed a desire that we should not take up the question at the moment, I respected the wishes of all sections of the House-I also know the implications because it was hardly my desire to do thatand therefore, I drop this matter for the present. SHRI NATH PAI (Rajapur): Mr. Deputy Speaker, Sir, in order to remove any misunderstanding, let me explain to you and through you to the House, what you had written to him. Mr. Dwivedy has not been getting a fair deal from you. Let me read out to you what you wrote to him. It was on that authority given by you that he was trying to speak. If you are not going to allow us to speak, we shall also play that game. (Interruptions) AN HON. MEMBER: He is a heart patient. Let him speak. SHRI NATH PAI: Let my heart go to hell. You cannot pull our legs like this. I want to finish this sentence. You wrote to Shri Dwivedy in your own handwriting this letter:"Riase it"that means, raise the alleged reference to legislation in Parliament by the Chief Justice. "Raise it when we take up Nath Pais Bill. In the mean time I shall keep Minister informed." The Leader of the House and the Law Minister should know that since the matter was very important, with your concent, with your permission, with your knowledge he sought to raise it. You gave him permission under rule 377. Nobody can say that it was without your permission. We owe it to you that Shri Dwivedy was allowed to complete his submission. When he was about to refer to it, he was interrupted. At no stage had he cast any aspersion on the Supreme Court Chief Justice. He wanted to refer to it with the permission of the Chair. Now that you have made an appeal, we want to drop it. So far as shouting is concerned, whenever Shri Ranga raises, as a senior man,
english
The selected cartoons appeared first in other publications, either in print or online, or on social media, and are credited appropriately. In today’s featured cartoon, cartoonist Waiyan Taunggyi illustrates ASEAN’s five-point consensus on the military coup in Myanmar calling for an immediate halt to violence in the country. Brazilian cartoonist Carlos Latuff illustrates B’Tselem’s and Human Rights Watch’s documentation of Israeli “apartheid and persecution” of Palestinians. Dutch cartoonist Iman Rezaee takes a swipe at European political leaders for their policies towards migrants and refugees, after 130 migrants were feared drowned as a boat capsized in the Mediterranean Sea. Christian Adams takes a dig at the UK’s Boris Johnson government for the “Wallpapergate” corruption scandal. Peter Brookes on the resignation of Northern Ireland’s first minister, Arlene Foster, from the Democratic Unionist Party (DUP).
english
The body of a 20-year-old man was found charred on Wednesday in a fire that broke out at a godown in Agra on Tuesday. The body was identified by the man’s parents, but the police have retained the DNA while sending the body for an autopsy. The godown, in Chipitola area within limits of Rakabganj police station of Agra, caught fire on Tuesday afternoon. The fire brigade reached the spot and could douse the flames after hours of effort. “The deceased was identified as Krishna (20) a resident of locality within Tajganj police station of Agra city. The body was traced on Wednesday morning,” said deputy commissioner police (DCP) Agra Vikas Kumar. There were drums of chemicals in the godown which caught fire.
english
<reponame>cognitedata/cognite-sdk-js // Copyright 2021 Cognite AS import { ItemsResponse } from '@cognite/sdk'; import { BaseResourceAPI, CogniteInternalId } from '@cognite/sdk-core'; import { FunctionSchedule, FunctionScheduleCreate, FunctionSchedulesFilter, } from '../../types'; export class FunctionSchedules extends BaseResourceAPI<FunctionSchedule> { public retrieve = (ids: CogniteInternalId[], ignoreUnknownIds?: boolean) => { return this.retrieveEndpoint(ids.map(id => ({ id })), { params: ignoreUnknownIds, }); }; public list = async (filter?: FunctionSchedulesFilter, limit?: number) => { const response = await this.post<ItemsResponse<Function>>( this.listPostUrl, { data: { filter, limit }, } ); return response.data; }; public create = async (items: FunctionScheduleCreate[]) => { return this.createEndpoint(items); }; public delete = async (ids: CogniteInternalId[]) => { return this.deleteEndpoint(ids.map(id => ({ id }))); }; public retrieveInputData = async (id: CogniteInternalId) => { const response = await this.post<{ id: CogniteInternalId; data: object }>( this.url(`${id}/input_data`) ); return response.data; }; }
typescript
Mangaluru: The Department of General Surgery, Father Muller Medical College, conducted Guest Lecture on 23rd March 2019 (Saturday) at 3. 00 – 4. 30 p. m. at Hospital Conference Hall. The programme began with prayer song. Dr. Leo Francis Tauro, Professor & HOD, Department of Surgery, welcomed the gathering. Dr. Ashwin Alva, Consultant Surgical Gastroenterologist, A. J. Institute of Medical Sciences, Mangaluru delivered a Guest Lecture on “Recent advances in Management of carcinoma stomach”. Dr. Erel A. I. Diaz, Professor, Department of Surgery and Dr. Ganesh M. K. , Consultant Surgical Gastroenterologist, Father Muller Medical College moderated the session. Dr. Rajeshwara K V, Associate Professor, Department of Surgery proposed the vote of thanks. The programme was compered by Dr. Sriranjini K S, 2nd year Postgraduate Resident. All Staff members and postgraduates from the Department of Surgery were present during the Guest Lecture. Total 40 delegates attended the guest lecture.
english
{ "id": "teamleader", "name": "teamleader", "version": "1.0.2", "license": "MIT", "config": { "serviceURL": "https://app.teamleader.eu/?gotologin", "hasNotificationSound": true } }
json
{ "name":"feed-tables", "author": "<NAME> <<EMAIL>>", "version": "0.1.3", "description": "A lightweight parser for Google Spreadsheets tables in cells or list feed JSON data formats.", "keywords": ["Google Spreadsheets", "server", "client", "Atom feed"], "directories": { "lib": "lib" }, "main": "lib/feed-tables" }
json
BCCI has reviewed its pensions for its former players. The First-Class players will now earn ₹30,000 per month, while the Test players will get ₹60,000 per month. Sadhguru has embarked on a 30000 km, the 27-nation voyage as part of his Conscious Planet movement to Save Soil. Of course, you may not be able to use these laptops for heavy-duty gaming, but as far as basic home and office use are concerned, these will be money well spent. With the rise of complex camera sensor technology, smartphones have been everyone’s go-to device for clicking photos. They are able to deliver sharp, detailed and crisp shots whenever you want them and wherever you want them. You have a large screen to analyse and frame the shot before you click; and edit and upload your photos right from there to all your social media accounts. Simple, easy and hassle-free, it solves common man’s camera problems to the pretty much the same degree digital sensors did for film-cameras. When one has to decide a budget and a major task to buy a new smartphone, it does eat up an awful lot of time usually. Here is a list of 10 value for money smartphones that one can go through before buying a new phone.
english
Describing the arrest of Karti Chidambaram as “political persecution” of his father and former Minister P. Chidambaram and his family, the Congress on Wednesday accused the CBI of being “a captive puppet” of the Modi government to carry out political vendetta against opponents. The former Finance Minister, who landed in London this morning to deliver a lecture barely a couple of hours after his son was detained by the CBI, has cut short his visit and is on his way back to New Delhi. The party, however, backed Mr. Chidambaram and his son, and alleged that the move was an attempt by the government to divert attention from financial scams of more than ₹31,000 crore “exposed” in the past 10 days. “Classical diversionary tactic to hide scams and colossal corruption that is being exposed on a daily basis, be it Nirav Modi, be it Mehul Choksi, be it Rotomac or Dwarkadas jewellers. Prime Minister Modi is yet to make the transition from maun (silent) Modi to bol (speak) Modi. The government’s mask of being a crusader against corruption lies in a shambles,” said Congress’s communications head Randeep Surjewala at a party briefing. The case against Karti Chidamabaram relates to allegations of bribery to help a media company get foreign investment clearance when his father was the Finance Minister, in May 2007. “At the relevant time, the FIPB [Foreign Investment Promotion Board] was chaired by D. Subbarao, an economist with impeccable credentials, who later became the Governor of Reserve Bank of India. This collective decision of the FIPB is submitted to the Finance Minister for approval, and he grants approval in normal course. Till date, the CBI has not questioned either the Chairman or any member of the FIPB, nor any motives have been attributed to any individual granting the permission,” Mr. Surjewala said. He said the investigating agency had examined a Joint Secretary-level officer, who had “unequivocally stated that the FIPB approval was given without any influence”. “The Congress will not be deterred by unleashing of vendetta against Mr. P. Chidamabaram and his family. We will continue to bring out the truth. We will continue to bring out cases of corruption,” Mr. Surjewala said. Senior lawyer and Congress leader Kapil Sibal, who had represented Karti in the Supreme Court earlier, called his arrest “malafide” while Abhishek Manu Singhvi tweeted about double standards. “Fantastic double standards. Amazing selectivity. Nirav; Lalit and Mallya not stopped from fleeing; Karti arrested on arrival, returning after repeated foreign trips. Few lakhs become 80 crore in few months in Jai Ho case, no raid no arrest,” he said.
english
The International Cricket Council (ICC) is reportedly revisiting a couple of crucial clauses in the playing conditions for the World Test Championship (WTC) final between India squad for WTC final and New Zealand next month as per WTC final schedule. Weeks ahead of the summit match, the world body is unsure about its original plan to declare both teams "joint winners" in case of a draw and its "reserve day" to minimize the impact of bad weather. According to a report in the Times of India, the 'joint winners' plan isn't sitting well with the officials and they are set to discuss an approach to maximize the chances for a result. "The idea of having joint winners also doesn't sit very well given it's the first time a WTC final is being played. So, one has to have maximum options open to get a result out of the match. The ICC committee is working on it and it should be out this week," an ICC source told TOI. The WTC final between India and New Zealand squad for WTC final will be played on June 18-22 at the Hampshire Bowl in Southampton. June 23 was kept as a reserve day to make up for any hours lost due to adverse weather conditions in the first five days. "The idea was to ensure that the match is played out in the 30 hours in the first five days. And the reserve day would come into play only if a total of 30 hours were not played in the first five days. That would have meant that the result had a lesser chance of being influenced by weather," the source explained. However, the ICC has now removed this rider from its official website. It is learned that there's some ambiguity over the hours lost due to slow overrates and the plan needs some reconsideration before the match. There are also doubts over the second edition of the WTC. The ICC had originally announced that the inaugural tournament (2019-21) will be backed up by a second cycle in 2021-23. The five-Test rubber between India and England was supposed to be the first series in the new edition. Also see the latest updates on WTC final live score. However, an official announcement is yet to come. Moreover, the new ICC chairman Greg Barclay made his skepticism about the WTC public last year by saying the tournament hasn't achieved what it intended to, fuelling more speculation over its future. All of this will be brought to the table in an upcoming ICC meeting on June 1.
english
package com.w.proandroid.update; import android.app.Dialog; import android.content.Context; public class UpdateAPKChoiceDialog { private Context mContext; private Dialog mUDialog = null; private UpdateApk updateApk; private boolean mShowLoading = false; public UpdateAPKChoiceDialog(Context mContext, boolean mShowLoading) { this.mContext = mContext; this.mShowLoading = mShowLoading; } }
java
<reponame>33kk/uso-archive<filename>data/styles/50131.json { "id": 50131, "info": { "name": "Google+: NOT highlighted Google \"+1\" buttons", "description": "NOT highlighted Google \"+1\" buttons on Google+ and Google search page. \r\n\r\nThe Google \"+1\" buttons of RED background was attracted to my mouse click so often. This style turns it to BLACK background.", "additionalInfo": null, "format": "uso", "category": "google", "createdAt": "2011-07-01T15:33:04.000Z", "updatedAt": "2011-07-01T15:33:04.000Z", "license": "NO-REDISTRIBUTION", "author": { "id": 3650, "name": "planetoid", "paypalEmail": "<EMAIL>" } }, "stats": { "installs": { "total": 160, "weekly": 0 } }, "screenshots": { "main": { "name": "50131_after.png", "archived": false } }, "discussions": { "stats": { "discussionsCount": 0, "commentsCount": 0 }, "data": [] }, "style": { "css": "@namespace url(http://www.w3.org/1999/xhtml);\r\n\r\n@-moz-document domain(\"plus.google.com\"), domain(google.com), domain(encrypted.google.com) {\r\n\r\n\r\nspan#gbi1{\r\n background-color: #2D2D2D !important;\r\n }\r\n\r\n}\r\n\r\n" } }
json
from django.shortcuts import render # Create your views here. tasks = ['foo', 'bar', 'baz'] def index(request): return render(request, 'tasks/index.html', {'tasks': tasks})
python
Hrithik Roshan’s Mohenjo Daro is set in the Indus Valley civilisation, something we have all studied in our middle school history textbooks. Courtesy Ashutosh Gowariker, you will get a repackaged view of all those bits and pieces of historical details in his film, Mohenjo Daro. Be it the seals, the details of internal and international trade, perpendicular streets in a highly sophisticated city, a multitude of professions or the exquisite weights and measures system, the great bath, priest kings, Gowariker has meticulously incorporated them all in his Hrithik, Pooja Hegde starrer. But in the process of recreating a prehistoric period for a feature film, Gowariker has made history appear almost comical. Half way through the film, neither does it manage to arouse historical curiosity nor is the romance and drama gripping enough to be called a great piece of cinematic art. However the film’s appeal lies in the director ‘s imaginative capabilities. Gowariker makes Mohenjo Daro appear like what a city like Mumbai or Delhi would look like to someone coming from a village for the first time. The film might definitely not be Ashutosh’s best, but you have to give him credit for stimulating the imagination. Where the film fails to work in the acting department. In fact, in some instances, it almost appears amateur. The script is pretty mundane too. Serious history lovers may find parts of Mohenjo Daro amusing. Ardent film lovers will find it tedious and boring. Watch: Hrithik Roshan’s Mohenjo Daro trailer. The only two reasons you might want to watch the film post intermission is to get some humour out of history or to drool over the Greek god like looks of Hrithik Roshan. Click for more updates and latest Bollywood news along with Entertainment updates. Also get latest news and top headlines from India and around the world at The Indian Express.
english
<filename>driver_integration_test.go<gh_stars>1-10 // +build integration package main import ( "os" "strings" "testing" "github.com/stretchr/testify/assert" "github.com/stretchr/testify/require" ) // The TestDrivers test has to be executed with // an empty DB that doesn't have a migrations table. // It is recommended to start up the DBs in docker // and delete the containers after test completion. func TestDrivers(t *testing.T) { for name := range drivers { t.Run(name, func(t *testing.T) { testDriver(t, name) }) } } func testDriver(t *testing.T, driverName string) { driverFactory := drivers[driverName] driverNameUpper := strings.ToUpper(driverName) mustGetEnv := func(key string) string { v := os.Getenv(key) if v == "" { t.Fatal("Environment variable not set:", key) } return v } getEnvDefault := func(key, defaultVal string) string { if v := os.Getenv(key); v != "" { return v } return defaultVal } dsn := mustGetEnv(driverNameUpper + "_DSN") table := getEnvDefault(driverNameUpper+"MIGRATIONS_TABLE", "migrations") t.Run("CreateMigrationsTable", func(t *testing.T) { tableExists := func(d Driver) bool { _, err := d.GetForwardMigratedNames() return err == nil } // This test has to be executed as the first test with an empty DB // because these tests are DB-independent and don't execute DB-specific // SQL to manipulate/clean the DB between tests. t.Run("table creation succeeds if not exists", func(t *testing.T) { driver, err := driverFactory(dsn, table) require.NoError(t, err) defer driver.Close() require.False(t, tableExists(driver), "this test must be run with an empty database") err = driver.CreateMigrationsTable() require.NoError(t, err) require.True(t, tableExists(driver)) }) t.Run("table creation succeeds if exists", func(t *testing.T) { driver, err := driverFactory(dsn, table) require.NoError(t, err) defer driver.Close() err = driver.CreateMigrationsTable() require.NoError(t, err) require.True(t, tableExists(driver)) err = driver.CreateMigrationsTable() require.NoError(t, err) require.True(t, tableExists(driver)) }) }) t.Run("GetForwardMigratedNames and SetMigrationState", func(t *testing.T) { driver, err := driverFactory(dsn, table) require.NoError(t, err) defer driver.Close() err = driver.CreateMigrationsTable() require.NoError(t, err) newTestStep := func(migrationName, filename string) *Step { parsed, err := parseFilename(filename, ".fw", ".bw", ".nt", ".sql") if err != nil { panic(err) } return &Step{ Filename: filename, MigrationName: migrationName, ParsedFilename: parsed, } } nameSet := func(names ...string) map[string]struct{} { set := make(map[string]struct{}, len(names)) for _, name := range names { set[name] = struct{}{} } return set } names, err := driver.GetForwardMigratedNames() require.NoError(t, err) assert.Equal(t, nameSet(), names) const noOpQuery = "SELECT 1;" err = driver.ExecuteStep(newTestStep("0001_initial", "0001_initial.fw.sql"), noOpQuery) require.NoError(t, err) names, err = driver.GetForwardMigratedNames() require.NoError(t, err) assert.Equal(t, nameSet("0001_initial"), names) err = driver.ExecuteStep(newTestStep("0002", "0002.fw.sql"), noOpQuery) require.NoError(t, err) names, err = driver.GetForwardMigratedNames() require.NoError(t, err) assert.Equal(t, nameSet("0001_initial", "0002"), names) err = driver.ExecuteStep(newTestStep("0003", "0003.fw.sql"), noOpQuery) require.NoError(t, err) names, err = driver.GetForwardMigratedNames() require.NoError(t, err) assert.Equal(t, nameSet("0001_initial", "0002", "0003"), names) err = driver.ExecuteStep(newTestStep("0002", "0002.bw.sql"), noOpQuery) require.NoError(t, err) names, err = driver.GetForwardMigratedNames() require.NoError(t, err) assert.Equal(t, nameSet("0001_initial", "0003"), names) }) }
go
The Rajasthan Board of Secondary Education (RBSE) is in the process of finalising the criteria for preparing the results for the students of class 10 and 12. The exams were cancelled due to the Covid-19 situation. Reportedly, the board has asked the schools to submit the internal assessment marks of class 10 and 12 students by June 21. As many as 21 lakh students were registered to appear for the class 10 and 12 board exams. The Rajasthan government is yet to constitute a committee for preparing the class 10, 12 results. RBSE has sent a letter to all the district education officers in this regard. The board has reminded the officials that class 10, 12 board examinations had to be cancelled in view of the current pandemic situation. It said that the students have to be promoted directly for which “internal marks are necessary. ” The schools have been asked to fill the marks of students against their roll numbers. In Rajasthan, the maximum marks of each subject in class 10, 12 board examinations is of 100, consisting of 80 marks in theory and 20 marks in internal assessment. Due to the pandemic, most of the schools could not even conduct the half-yearly examination and now the internal marks will be given to the students on the basis of their homework. The RBSE is still finalising the evaluation criteria and no final decision has been taken by the board. The RBSE cancelled the Rajasthan Class 10 and 12 board examinations on June 2, 2021. Earlier, Rajasthan Chief Minister Ashok Gehlot had announced mass promotion without exams for classes 1 to 9 and class 11. After the Central Board of Secondary Education (CBSE), many state boards across the country cancelled both class 10 and 12 exams this year considering the health and safety of students amid the pandemic. Read all the Latest News, Breaking News and Coronavirus News here.
english
# Array.find() and Array.findIndex() ![image](https://user-images.githubusercontent.com/40190772/84579363-630e3d80-adcd-11ea-9abc-f559a99f3d21.png) ![image](https://user-images.githubusercontent.com/40190772/84579403-c1d3b700-adcd-11ea-867c-63f509c4c537.png) ![image](https://user-images.githubusercontent.com/40190772/84579400-bd0f0300-adcd-11ea-8f8c-e22483abf6f7.png)
markdown
<gh_stars>0 /* * CSS for jsPsych experiments. * * This stylesheet provides minimal styling to make jsPsych * experiments look polished without any additional styles. */ @import url("https://kywch.github.io/BubbleView_jsPsych/lib/jspsych-6.1.0/css/jspsych.css"); /* basic text properties */ p { clear: both; -webkit-margin-before: 1vh; -webkit-margin-after: 1vh; } .very-small { font-size: 50%; } .small { font-size: 75%; } .large { font-size: 125%; } .very-large { font-size: 200%; } .block-center { margin: 1em auto; display: block; } .jspsych-display-element input[type="text"] { font-family: 'Open Sans', 'Arial', sans-serif; font-size: 14px; } /* from the experiment factory code */ .centerbox { font-family: 'Open Sans', 'Arial', sans-serif; width: 80vh; height: 60vh; position: absolute; top: 40%; left: 50%; margin-right: -50%; transform: translate(-50%, -50%); } .block-text { width: 100%; height 100vw; text-align: justify; margin: 0 auto; margin-bottom: 1em; font-size: 2.5vh; line-height: 130%; } .center-block-text { width: 100%; height 100vw; text-align: center; margin: 0 auto; margin-bottom: 1em; font-size: 3vh; line-height: 130%; } /* used for large text shown in the center of the screen, like FB or stimuli */ .center-text { text-align: center; font-size: 40px; position: relative; top: 50%; -ms-transform: translateY(-50%); -webkit-transform: translateY(-50%); transform: translateY(-50%); } /* Used for positioning during instructions */ .jspsych-instructions-nav { text-align: center; margin-top: 20px; position: relative; z-index: 1; } .jspsych-instructions-nav p { font-family: 'Roboto'serif; font-size: 20px; line-height: 20px; } /* Buttons */ .jspsych-btn, #jspsych-instructions-next, #jspsych-instructions-back { font-size: 22px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; padding: 12px 20px 12px 20px; color: white; background-color: cornflowerblue; cursor: pointer; line-height: 1.4; text-align: center; white-space: nowrap; vertical-align: middle; background-image: none; border: 1px solid transparent; border-radius: 4px; } #jspsych-instructions-next, #jspsych-instructions-back { width: 250px; } #jspsych-instructions-next, #jspsych-instructions-back { padding: 12px 40px 12px 40px; } .jspsych-btn:hover, #jspsych-instructions-next:hover, #jspsych-instructions-back:hover { border-color: #999; background-color: darkblue; } /* instruction-related images */ img.resize { max-height: 600px; display: block; margin-left: auto; margin-right: auto; object-fit: contain; }
css
Anand, it’s been like what? 13 years of our dosti!! And I guess 5years of travelling together from that first Triund trek to this latest road trip in Coorg !! But bhai main plan ka kya hua? Kya hua tera Vaada?? India tour ka.
english
Editor: Several British soldiers were overcome by the heat on Saturday as they turned out in woolen tunics and bearskin hats to salute Prince William. Princess Charlotte who turns 8 years old on Tuesday sported a big toothy smile in pictures that her parents Kate Middleton and Prince William posted on the royal Instagram handle. Popular series "The Crown's" versions of Prince William and Kate Middleton have arrived. Meghan Markle and Prince Harry invited members of the royal family to their daughter Princess Lilibet's christening. Prince William and Kate Middleton will attend the 2023 BAFTA awards on February 19 after skipping the ceremony for two consecutive years. New photos of 'The Crown' season 5 have been released, featuring a brand new cast. A new book reveals the shocking reason Prince Harry ignored his brother Prince William in his reconciliation efforts. Why Prince Harry did not wear his military uniform? Netizens have been expressing their opinions on Prince Harry not being allowed to wear his military uniform. This is how Akshay Oberoi prepped up for 'Fighter' Editor: KMC-02, UttarDhoka,
english
<filename>src/server/models/LeaveType.js class leaveType{ constructor(obj){ this.document = { _type : 'Leavetype' }; if(obj){ this.id = obj.hlt_id; this.leaveName = obj.hlt_leave_name; this.type = obj.hlt_type; this.empId = obj.hlt_emp_id ; this.maxLeave = obj.hlt_max_leave; this.designationId = obj.hlt_designation_id; this.createdBy = obj.hlt_created_by; this.createdAt = obj.hlt_created_at; this.updatedBy = obj.hlt_updated_by; this.updatedAt = obj.hlt_updated_at; this.isDeleted = obj.hlt_is_deleted; } } set id(value){ this.document.hlt_id = value; } get id() { return this.document.hlt_id; } set empId(value){ this.document.hlt_emp_id = value; } get empId() { return this.document.hlt_emp_id; } set type(value){ this.document.hlt_type = value; } get type() { return this.document.hlt_type; } set leaveName(value){ this.document.hlt_leave_name = value; } get leaveName() { return this.document.hlt_leave_name; } set maxLeave(value){ this.document.hlt_max_leave = value; } get maxLeave() { return this.document.hlt_max_leave; } set designationId(value){ this.document.hlt_designation_id = value; } get designationId() { return this.document.hlt_designation_id; } set createdAt(value) { this.document.hlt_created_at = value; } get createdAt() { return this.document.hlt_created_at; } set createdBy(value) { this.document.hlt_created_by = value; } get createdBy() { return this.document.hlt_created_by; } set updatedBy(value) { this.document.hlt_updated_by = value; } get updatedBy() { return this.document.hlt_updated_by; } set updatedAt(value) { this.document.hlt_updated_at = value; } get updatedAt() { return this.document.hlt_updated_at; } set isDeleted(value) { this.document.hlt_is_deleted = value; } get isDeleted() { return this.document.hlt_is_deleted; } static get(filter, join, sort, offset, limit) { var promise = new Promise((resolve, reject) => { //Fetch from DB global.leaveTypeDBService.get(filter, join, sort, offset, limit).then( (res) => { resolve(res); sd }, (err) => { reject(err); } ); }); return promise; } save() { let record = this.document; delete record._type; var promise = new Promise((resolve, reject) => { //Insert into DB global.leaveTypeDBService.insert(record).then((res) => { resolve(res); }, (err) => { reject(err); }); }); return promise; } update(filter, updatedBy) { let record = this.document; delete record._type; var dataToBeUpdt = _getDataToBeUpdt(record); var promise = new Promise((resolve, reject) => { //Fetch from DB global.leaveTypeDBService.update(dataToBeUpdt, filter).then( (res) => { resolve(res); }, (err) => { reject(err); } ); }); return promise; } static delete(empId, updatedBy) { var promise = new Promise((resolve, reject) => { var dataToBeUpdt = { emp_is_deleted: true }; var filter = { id: empId }; //Update DB global.leaveTypeDBService.update(dataToBeUpdt, filter, updatedBy).then( (res) => { resolve(res); }, (err) => { err.message = 'Error in deleting employee.'; reject(err); } ); }); return promise; } } module.exports = leaveType; function _getDataToBeUpdt(obj) { for (var propName in obj) { if (obj[propName] === null || obj[propName] === undefined) { delete obj[propName]; } } delete obj.emp_created_by; delete obj.emp_created_at; return obj; }
javascript
'use strict'; var utils = require('../utils/writer.js'); var ComentariosController = require('../service/ComentariosControllerService'); module.exports.createComentario = function createComentario( req, res, next, body, ) { ComentariosController.createComentario(body) .then(function (response) { utils.writeJson(res, response); }) .catch(function (response) { utils.writeJson(res, response); }); }; module.exports.deleteComentario = function deleteComentario( req, res, next, id, ) { ComentariosController.deleteComentario(id) .then(function (response) { utils.writeJson(res, response); }) .catch(function (response) { utils.writeJson(res, response); }); }; module.exports.retrieveComentarios = function retrieveComentarios( req, res, next, type, id, ) { ComentariosController.retrieveComentarios(type, id) .then(function (response) { utils.writeJson(res, response); }) .catch(function (response) { utils.writeJson(res, response); }); };
javascript
{ "id": 1892, "name": "Google - Remove Footer from Personalized Homepage", "description": "Removes the Footer from your Google Personalized Homepage", "user": { "id": 1998, "name": "madman", "email": "<PASSWORD>", "paypal_email": null, "homepage": null, "about": null, "license": null }, "updated": "2007-03-02T12:16:43.000Z", "weekly_install_count": 0, "total_install_count": 4367, "rating": null, "after_screenshot_name": "https://userstyles.org/auto_style_screenshots/1892-after.png?r=1588406924", "obsoleting_style_id": null, "obsoleting_style_name": null, "obsolete": 0, "admin_delete_reason_id": null, "obsoletion_message": null, "screenshots": null, "license": null, "created": "2007-03-02T12:16:43.000Z", "category": "site", "raw_subcategory": "google", "subcategory": "google", "additional_info": null, "style_tags": [], "css": "@namespace url(http://www.w3.org/1999/xhtml);\r\n\r\n@-moz-document url-prefix(\"http://www.google\")\r\n{\r\n #footer_separator { display: none; }\r\n #footer_promos { display: none; }\r\n #footer { display: none; }\r\n}", "discussions": [ { "id": 5177, "name": "I personally believe that the bottom Footer is uno", "rating": 3, "created": "2007-04-06T13:28:39.000Z", "author_name": "Zathman", "author_id": 467 }, { "id": 6760, "name": "Just what I wanted. Thanks!", "rating": 3, "created": "2007-10-30T15:14:48.000Z", "author_name": "s@ndman", "author_id": 1819 } ], "discussionsCount": 2, "commentsCount": 2, "userjs_url": "/styles/userjs/1892/google-remove-footer-from-personalized-homepage.user.js", "style_settings": [] }
json
<filename>linux-distro/package/nuxleus/Source/Vendor/Microsoft/IronPython-2.0.1/Lib/headstock/example/microblog/microblog/web/profiletool.py<gh_stars>1-10 # -*- coding: utf-8 -*- import cherrypy from microblog.web import Microblog, MICROBLOG_SESSION_PROFILE def _profile_required(): profile = cherrypy.session.get(MICROBLOG_SESSION_PROFILE, None) if not profile: raise cherrypy.HTTPRedirect('/signin') cherrypy.request.microblog = Microblog() cherrypy.request.microblog.profile = profile cherrypy.tools.profile_required = cherrypy.Tool('before_request_body', _profile_required, priority=70)
python
<reponame>33kk/uso-archive { "id": 16844, "info": { "name": "Digg Comment digg/bury viewer", "description": "This style reveals the number of diggs and buries for each comment.", "additionalInfo": null, "format": "uso", "category": "digg", "createdAt": "2009-04-08T22:20:47.000Z", "updatedAt": "2009-04-08T22:20:47.000Z", "license": "NO-REDISTRIBUTION", "author": { "id": 1071, "name": "Ignofibininious" } }, "stats": { "installs": { "total": 245, "weekly": 0 } }, "screenshots": { "main": { "name": "16844_after.png", "archived": false } }, "discussions": { "stats": { "discussionsCount": 0, "commentsCount": 0 }, "data": [] }, "style": { "css": "@namespace url(http://www.w3.org/1999/xhtml);\r\n@-moz-document domain(\"digg.com\") {\r\n.c-diggs-count{\r\ndisplay:inline !important;\r\n}\r\n.c-diggs > a.c-diggs-count:before\r\n{\r\ncontent: \"(\"\r\n}\r\n.c-diggs > a.c-diggs-count:after\r\n{\r\ncontent: \") diggs\"\r\n}\r\n.c-diggs > a:first-child\r\n{\r\nvisibility:visible !important;\r\nfont-size:0px !important\r\n/*Doing this with font size, since \r\ndisplay:hidden causes problems\r\n when trying to keep the total digg\r\ncount visible */\r\n}\r\n.c-diggs > a:first-child > em\r\n{\r\nvisibility:visible !important;\r\nfont-size:8pt !important\r\n}\r\n.c-diggs > a:first-child:before\r\n{\r\ncontent: \"\"\r\n}\r\n.c-diggs > a:first-child:after\r\n{\r\ncontent: \"\"\r\n}\r\n}\r\n" } }
json
/* * The MIT License (MIT) * * Copyright (c) 2018 HackerOne Inc and individual contributors * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. * */ import React from "react"; import PropTypes from "prop-types"; import classNames from "classnames"; import { addMonths, cloneDate, formatDate, getStartOfMonth, isAfter, isSameMonth, isSameYear, isBefore } from "./date_utils"; import { EuiFocusTrap } from '../../../focus_trap'; import { EuiScreenReaderOnly } from '../../../accessibility'; function generateMonthYears(minDate, maxDate) { const list = []; const currDate = getStartOfMonth(cloneDate(minDate)); const lastDate = getStartOfMonth(cloneDate(maxDate)); while (!isAfter(currDate, lastDate)) { list.push(cloneDate(currDate)); addMonths(currDate, 1); } return list; } export default class MonthYearDropdownOptions extends React.Component { static propTypes = { minDate: PropTypes.object.isRequired, maxDate: PropTypes.object.isRequired, onCancel: PropTypes.func.isRequired, onChange: PropTypes.func.isRequired, scrollableMonthYearDropdown: PropTypes.bool, date: PropTypes.object.isRequired, dateFormat: PropTypes.string.isRequired, accessibleMode: PropTypes.bool }; constructor(props) { super(props); this.state = { monthYearsList: generateMonthYears( this.props.minDate, this.props.maxDate ), preSelection: getStartOfMonth(cloneDate(this.props.date)), readInstructions: false }; } componentDidMount() { if (this.preSelectionDiv) { this.preSelectionDiv.scrollIntoView({ behavior: "instant", block: "nearest", inline: "nearest" }); } } componentDidUpdate(prevProps, prevState) { if (this.preSelectionDiv) { this.preSelectionDiv.scrollIntoView({ behavior: "instant", block: "nearest", inline: "nearest" }); } } renderOptions = () => { return this.state.monthYearsList.map(monthYear => { const monthYearPoint = monthYear.valueOf(); const isSameMonthYear = isSameYear(this.props.date, monthYear) && isSameMonth(this.props.date, monthYear); const isPreselectionSameMonthYear = isSameYear(this.state.preSelection, monthYear) && isSameMonth(this.state.preSelection, monthYear); return ( <div className={classNames("react-datepicker__month-year-option", { "--selected_month-year": isSameMonthYear, "react-datepicker__month-year-option--preselected": this.props.accessibleMode && isPreselectionSameMonthYear })} key={monthYearPoint} ref={div => { if (this.props.accessibleMode && isPreselectionSameMonthYear) { this.preSelectionDiv = div; } }} onClick={this.onChange.bind(this, monthYearPoint)} > {isSameMonthYear ? ( <span className="react-datepicker__month-year-option--selected"> ✓ </span> ) : ( "" )} {formatDate(monthYear, this.props.dateFormat)} </div> ); }); }; onFocus = () => { if (this.props.accessibleMode) { this.setState({ readInstructions: true }); } }; onChange = monthYear => this.props.onChange(monthYear); handleClickOutside = () => { this.props.onCancel(); }; onInputKeyDown = event => { const eventKey = event.key; let newSelection; switch (eventKey) { case "ArrowUp": event.preventDefault(); event.stopPropagation(); newSelection = addMonths(cloneDate(this.state.preSelection), -1); break; case "ArrowDown": event.preventDefault(); event.stopPropagation(); newSelection = addMonths(cloneDate(this.state.preSelection), 1); break; case "Escape": event.preventDefault(); event.stopPropagation(); this.props.onCancel(); break; case " ": case "Enter": event.preventDefault(); event.stopPropagation(); this.props.onChange(this.state.preSelection.valueOf()); break; } if (newSelection) { const minMonthYear = this.state.monthYearsList[0]; const maxMonthYear = this.state.monthYearsList[ this.state.monthYearsList.length - 1 ]; if (isBefore(newSelection, minMonthYear)) newSelection = maxMonthYear; if (isAfter(newSelection, maxMonthYear)) newSelection = minMonthYear; this.setState({ preSelection: newSelection }); } }; render() { let dropdownClass = classNames({ "react-datepicker__month-year-dropdown": true, "react-datepicker__month-year-dropdown--scrollable": this.props .scrollableMonthYearDropdown }); let screenReaderInstructions; if (this.state.readInstructions) { screenReaderInstructions = ( <p aria-live> You are focused on a month / year selector menu. Use the up and down arrows to select a month / year combination, then hit enter to confirm your selection. {formatDate(this.state.preSelection, this.props.dateFormat)} is the currently focused month / year. </p> ); } return this.props.accessibleMode ? ( <EuiFocusTrap onClickOutside={this.handleClickOutside}> <div className={dropdownClass} tabIndex="0" onKeyDown={this.onInputKeyDown} onFocus={this.onFocus} > <EuiScreenReaderOnly> <span>{screenReaderInstructions}</span> </EuiScreenReaderOnly> {this.renderOptions()} </div> </EuiFocusTrap> ) : ( <div className={dropdownClass}>{this.renderOptions()}</div> ); return <div className={dropdownClass}>{this.renderOptions()}</div>; } }
javascript
<reponame>patomation/react-ui-components<gh_stars>0 import { createIcon } from './createIcon/index' export const Block = createIcon({ name: 'Block', path: 'M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zM4 12c0-4.42 3.58-8 8-8 1.85 0 3.55.63 4.9 1.69L5.69 16.9C4.63 15.55 4 13.85 4 12zm8 8c-1.85 0-3.55-.63-4.9-1.69L18.31 7.1C19.37 8.45 20 10.15 20 12c0 4.42-3.58 8-8 8z', size: '24' })
typescript
package buildsqlx import ( "fmt" "os" "testing" _ "github.com/lib/pq" "github.com/stretchr/testify/assert" ) const ( TestTable = "test" PostsTable = "posts" UsersTable = "users" TestUserName = "Dead Beaf" ) var ( dbConnInfo = fmt.Sprintf("host=%s port=%d user=%s "+ "password=%s dbname=%s sslmode=disable", "localhost", 5432, "postgres", "postgres", "postgres") dataMap = map[string]interface{}{"foo": "foo foo foo", "bar": "bar bar bar", "baz": int64(123)} db = NewDb(NewConnection("postgres", dbConnInfo)) ) func TestMain(m *testing.M) { _, err := db.Sql().Exec("create table if not exists users (id serial primary key, name varchar(128) not null, points integer)") if err != nil { panic(err) } _, err = db.Sql().Exec("create table if not exists posts (id serial primary key, title varchar(128) not null, post text, user_id integer, created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW())") if err != nil { panic(err) } _, err = db.Sql().Exec("create table if not exists test (id serial primary key, foo varchar(128) not null, bar varchar(128) not null, baz integer)") if err != nil { panic(err) } os.Exit(m.Run()) } func TestSelectAndLimit(t *testing.T) { db.Truncate(TestTable) db.Table(TestTable).Insert(dataMap) qDb := db.Table(TestTable).Select("foo", "bar") res, err := qDb.AddSelect("baz").Limit(15).Get() assert.NoError(t, err) for k, mapVal := range dataMap { for _, v := range res { assert.Equal(t, v[k], mapVal) } } db.Truncate(TestTable) } func TestInsert(t *testing.T) { db.Truncate(TestTable) err := db.Table(TestTable).Insert(dataMap) assert.NoError(t, err) res, err := db.Table(TestTable).Select("foo", "bar", "baz").Get() assert.NoError(t, err) for k, mapVal := range dataMap { for _, v := range res { assert.Equal(t, v[k], mapVal) } } db.Truncate(TestTable) } var batchData = []map[string]interface{}{ 0: {"foo": "foo foo foo", "bar": "bar bar bar", "baz": int64(123)}, 1: {"foo": "foo foo foo foo", "bar": "bar bar bar bar", "baz": int64(1234)}, 2: {"foo": "foo foo foo foo foo", "bar": "bar bar bar bar bar", "baz": int64(12345)}, } func TestInsertBatchSelectMultiple(t *testing.T) { db.Truncate(TestTable) err := db.Table(TestTable).InsertBatch(batchData) assert.NoError(t, err) res, err := db.Table(TestTable).Select("foo", "bar", "baz").OrderBy("foo", "ASC").Get() assert.NoError(t, err) for mapKey, mapVal := range batchData { for k, mV := range mapVal { assert.Equal(t, res[mapKey][k], mV) } } db.Truncate(TestTable) } func TestWhereOnly(t *testing.T) { var cmp = "foo foo foo" db.Truncate(TestTable) err := db.Table(TestTable).InsertBatch(batchData) assert.NoError(t, err) res, err := db.Table(TestTable).Select("foo", "bar", "baz").Where("foo", "=", cmp).Get() assert.NoError(t, err) assert.Equal(t, res[0]["foo"], cmp) db.Truncate(TestTable) } func TestWhereAndOr(t *testing.T) { var cmp = "foo foo foo" db.Truncate(TestTable) err := db.Table(TestTable).InsertBatch(batchData) assert.NoError(t, err) res, err := db.Table(TestTable).Select("foo", "bar", "baz").Where("foo", "=", cmp).AndWhere("bar", "!=", "foo").OrWhere("baz", "=", 123).Get() assert.NoError(t, err) assert.Equal(t, res[0]["foo"], cmp) db.Truncate(TestTable) } //var users = `create table users (id serial primary key, name varchar(128) not null, points integer)` // //var posts = `create table posts (id serial primary key, title varchar(128) not null, post text, user_id integer, created_at TIMESTAMPTZ NOT NULL DEFAULT NOW(), updated_at TIMESTAMPTZ NOT NULL DEFAULT NOW())` var batchUsers = []map[string]interface{}{ 0: {"id": int64(1), "name": "<NAME>", "points": int64(123)}, 1: {"id": int64(2), "name": "<NAME>", "points": int64(1234)}, 2: {"id": int64(3), "name": "<NAME>", "points": int64(12345)}, 3: {"id": int64(4), "name": "<NAME>", "points": int64(12345)}, } var batchPosts = []map[string]interface{}{ 0: {"id": int64(1), "title": "Lorem ipsum dolor sit amet,", "post": "Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.", "user_id": int64(1), "updated_at": "2086-09-09 18:27:40"}, 1: {"id": int64(2), "title": "Sed ut perspiciatis unde omnis iste natus", "post": "Sed ut perspiciatis unde omnis iste natus error sit voluptatem accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto beatae vitae dicta sunt explicabo.", "user_id": int64(2), "updated_at": "2087-09-09 18:27:40"}, 2: {"id": int64(3), "title": "Ut enim ad minima veniam", "post": "Ut enim ad minima veniam, quis nostrum exercitationem ullam corporis suscipit laboriosam, nisi ut aliquid ex ea commodi consequatur?", "user_id": int64(3), "updated_at": "2088-09-09 18:27:40"}, 3: {"id": int64(4), "title": "Lorem ipsum dolor sit amet,", "post": nil, "user_id": nil, "updated_at": "2086-09-09 18:27:40"}, } func TestJoins(t *testing.T) { db.Truncate(UsersTable) db.Truncate(PostsTable) var posts []map[string]interface{} for _, v := range batchUsers { id, err := db.Table(UsersTable).InsertGetId(v) assert.NoError(t, err) posts = append(posts, map[string]interface{}{ "title": "ttl", "post": "foo bar baz", "user_id": id, }) } err := db.Table(PostsTable).InsertBatch(posts) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name", "post", "user_id").LeftJoin("posts", "users.id", "=", "posts.user_id").Get() assert.NoError(t, err) for k, val := range res { assert.Equal(t, val["name"], batchUsers[k]["name"]) assert.Equal(t, val["user_id"], batchUsers[k]["id"]) } db.Truncate(UsersTable) db.Truncate(PostsTable) } var rowsToUpdate = []struct { insert map[string]interface{} update map[string]interface{} }{ {map[string]interface{}{"foo": "foo foo foo", "bar": "bar bar bar", "baz": 123}, map[string]interface{}{"foo": "foo changed"}}, } func TestUpdate(t *testing.T) { db.Truncate(TestTable) for _, obj := range rowsToUpdate { err := db.Table(TestTable).Insert(obj.insert) assert.NoError(t, err) rows, err := db.Table(TestTable).Where("foo", "=", "foo foo foo").Update(obj.update) assert.NoError(t, err) assert.GreaterOrEqual(t, rows, int64(1)) res, err := db.Table(TestTable).Select("foo").Where("foo", "=", obj.update["foo"]).Get() assert.NoError(t, err) assert.Equal(t, obj.update["foo"], res[0]["foo"]) } db.Truncate(TestTable) } var rowsToDelete = []struct { insert map[string]interface{} where map[string]interface{} }{ {map[string]interface{}{"foo": "foo foo foo", "bar": "bar bar bar", "baz": 123}, map[string]interface{}{"bar": 123}}, } func TestDelete(t *testing.T) { db.Truncate(TestTable) for _, obj := range rowsToDelete { err := db.Table(TestTable).Insert(obj.insert) assert.NoError(t, err) rows, err := db.Table(TestTable).Where("baz", "=", obj.where["bar"]).Delete() assert.NoError(t, err) assert.GreaterOrEqual(t, rows, int64(1)) } } var incrDecr = []struct { insert map[string]interface{} incr uint64 incrRes uint64 decr uint64 decrRes uint64 }{ {map[string]interface{}{"foo": "foo foo foo", "bar": "bar bar bar", "baz": 1}, 3, 4, 1, 3}, } func TestDB_Increment_Decrement(t *testing.T) { db.Truncate(TestTable) for _, obj := range incrDecr { err := db.Table(TestTable).Insert(obj.insert) assert.NoError(t, err) db.Table(TestTable).Increment("baz", obj.incr) res, err := db.Table(TestTable).Select("baz").Where("baz", "=", obj.incrRes).Get() assert.NoError(t, err) assert.GreaterOrEqual(t, len(res), 1) assert.Equal(t, res[0]["baz"], int64(obj.incrRes)) db.Table(TestTable).Decrement("baz", obj.decr) res, err = db.Table(TestTable).Select("baz").Where("baz", "=", obj.decrRes).Get() assert.NoError(t, err) assert.GreaterOrEqual(t, len(res), 1) assert.Equal(t, res[0]["baz"], int64(obj.decrRes)) } db.Truncate(TestTable) } var rowsToReplace = []struct { insert map[string]interface{} conflict string replace map[string]interface{} }{ {map[string]interface{}{"id": 1, "foo": "foo foo foo", "bar": "bar bar bar", "baz": 123}, "id", map[string]interface{}{"id": 1, "foo": "baz baz baz", "bar": "bar bar bar", "baz": 123}}, } func TestDB_Replace(t *testing.T) { db.Truncate(TestTable) for _, obj := range rowsToReplace { _, err := db.Table(TestTable).Replace(obj.insert, obj.conflict) assert.NoError(t, err) rows, err := db.Table(TestTable).Replace(obj.replace, obj.conflict) assert.NoError(t, err) assert.GreaterOrEqual(t, rows, int64(1)) res, err := db.Table(TestTable).Select("foo").Where("baz", "=", obj.replace["baz"]).Get() assert.NoError(t, err) assert.GreaterOrEqual(t, len(res), 1) assert.Equal(t, res[0]["foo"], obj.replace["foo"]) } db.Truncate(TestTable) } var userForUnion = map[string]interface{}{"id": int64(1), "name": "<NAME>", "points": int64(123)} func TestDB_Union(t *testing.T) { db.Truncate(TestTable) db.Truncate(UsersTable) err := db.Table(TestTable).Insert(dataMap) assert.NoError(t, err) err = db.Table(UsersTable).Insert(userForUnion) assert.NoError(t, err) union := db.Table(TestTable).Select("bar", "baz").Union() res, err := union.Table(UsersTable).Select("name", "points").Get() assert.NoError(t, err) for _, v := range res { assert.Equal(t, v["points"], userForUnion["points"]) } db.Truncate(UsersTable) db.Truncate(TestTable) } func TestDB_InTransaction(t *testing.T) { err := db.InTransaction(func() (interface{}, error) { db.Truncate(TestTable) err := db.Table(TestTable).Insert(dataMap) db.Truncate(TestTable) return 1, err }) assert.NoError(t, err) } func TestDB_HasTable(t *testing.T) { tblExists, err := db.HasTable("public", PostsTable) assert.NoError(t, err) assert.True(t, tblExists) } func TestDB_HasColumns(t *testing.T) { colsExists, err := db.HasColumns("public", PostsTable, "title", "user_id") assert.NoError(t, err) assert.True(t, colsExists) } func TestDB_First(t *testing.T) { db.Truncate(TestTable) err := db.Table(TestTable).Insert(dataMap) assert.NoError(t, err) // write concurrent row to order and get the only 1st db.Table(TestTable).Insert(map[string]interface{}{"foo": "foo foo foo 2", "bar": "bar bar bar 2", "baz": int64(1234)}) res, err := db.Table(TestTable).Select("baz").OrderBy("baz", "desc").OrderBy("foo", "desc").First() assert.NoError(t, err) assert.Equal(t, res["baz"], int64(1234)) _, err = db.Table(TestTable).Select("baz").OrderBy("baz", "desc").OrderBy("fo", "desc").First() assert.Error(t, err) db.Truncate(TestTable) } func TestDB_Find(t *testing.T) { db.Truncate(TestTable) id, err := db.Table(TestTable).InsertGetId(dataMap) assert.NoError(t, err) res, err := db.Table(TestTable).Find(id) assert.NoError(t, err) assert.Equal(t, res["id"], int64(id)) db.Truncate(TestTable) } func TestDB_WhereExists(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, er := db.Table(UsersTable).Select("name").WhereExists( db.Table(UsersTable).Select("name").Where("points", ">=", int64(12345)), ).First() assert.NoError(t, er) assert.Equal(t, TestUserName, res["name"]) db.Truncate(UsersTable) } func TestDB_WhereNotExists(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, er := db.Table(UsersTable).Select("name").WhereNotExists( db.Table(UsersTable).Select("name").Where("points", ">=", int64(12345)), ).First() assert.NoError(t, er) assert.Equal(t, TestUserName, res["name"]) db.Truncate(UsersTable) } func TestDB_Value(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).OrderBy("points", "desc").Value("name") assert.NoError(t, err) assert.Equal(t, TestUserName, res) _, err = db.Table(UsersTable).OrderBy("poin", "desc").Value("name") assert.Error(t, err) db.Truncate(UsersTable) } func TestDB_Pluck(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Pluck("name") assert.NoError(t, err) for k, v := range res { resVal := v.(string) assert.Equal(t, batchUsers[k]["name"], resVal) } _, err = db.Table("nonexistent").Pluck("name") assert.Error(t, err) db.Truncate(UsersTable) } func TestDB_PluckMap(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).PluckMap("name", "points") assert.NoError(t, err) for k, m := range res { for key, value := range m { keyVal := key.(string) valueVal := value.(int64) assert.Equal(t, batchUsers[k]["name"], keyVal) assert.Equal(t, batchUsers[k]["points"], valueVal) } } _, err = db.Table("nonexistent").PluckMap("name", "points") assert.Error(t, err) db.Truncate(UsersTable) } func TestDB_Exists(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) prepared := db.Table(UsersTable).Select("name").Where("points", ">=", int64(12345)) exists, err := prepared.Exists() assert.NoError(t, err) doesntEx, err := prepared.DoesntExists() assert.NoError(t, err) assert.True(t, exists, "The record must exist at this state of db data") assert.False(t, doesntEx, "The record must exist at this state of db data") db.Truncate(UsersTable) } func TestDB_Count(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) cnt, err := db.Table(UsersTable).Count() assert.NoError(t, err) assert.Equalf(t, int64(len(batchUsers)), cnt, "want: %d, got: %d", len(batchUsers), cnt) db.Truncate(UsersTable) } func TestDB_Avg(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) avg, err := db.Table(UsersTable).Avg("points") assert.NoError(t, err) var cntBatch float64 for _, v := range batchUsers { cntBatch += float64(v["points"].(int64)) / float64(len(batchUsers)) } assert.Equalf(t, cntBatch, avg, "want: %d, got: %d", cntBatch, avg) db.Truncate(UsersTable) } func TestDB_MinMax(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) mn, err := db.Table(UsersTable).Min("points") assert.NoError(t, err) mx, err := db.Table(UsersTable).Max("points") assert.NoError(t, err) var max float64 var min = float64(123456) for _, v := range batchUsers { val := float64(v["points"].(int64)) if val > max { max = val } if val < min { min = val } } assert.Equalf(t, mn, min, "want: %d, got: %d", mn, min) assert.Equalf(t, mx, max, "want: %d, got: %d", mx, max) db.Truncate(UsersTable) } func TestDB_Sum(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) sum, err := db.Table(UsersTable).Sum("points") assert.NoError(t, err) var cntBatch float64 for _, v := range batchUsers { cntBatch += float64(v["points"].(int64)) } assert.Equalf(t, cntBatch, sum, "want: %d, got: %d", cntBatch, sum) db.Truncate(UsersTable) } func TestDB_GroupByHaving(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("points").GroupBy("points").Having("points", ">=", 123).Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)-1) db.Truncate(UsersTable) } func TestDB_HavingRaw(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("points").GroupBy("points").HavingRaw("points > 123").AndHavingRaw("points < 12345").OrHavingRaw("points = 0").Get() assert.NoError(t, err) assert.Equal(t, len(batchUsers)-3, len(res)) db.Truncate(UsersTable) } func TestDB_AllJoins(t *testing.T) { db.Truncate(PostsTable) db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) err = db.Table(PostsTable).InsertBatch(batchPosts) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name", "post", "user_id").InnerJoin(PostsTable, "users.id", "=", "posts.user_id").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchPosts)-1) res, err = db.Table(PostsTable).Select("name", "post", "user_id").RightJoin(UsersTable, "posts.user_id", "=", "users.id").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) res, err = db.Table(UsersTable).Select("name", "post", "user_id").FullJoin(PostsTable, "users.id", "=", "posts.user_id").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)+1) res, err = db.Table(UsersTable).Select("name", "post", "user_id").FullJoin(PostsTable, "users.id", "=", "posts.user_id").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)+1) // note InRandomOrder check res, err = db.Table(UsersTable).Select("name", "post", "user_id").FullJoin(PostsTable, "users.id", "=", "posts.user_id").InRandomOrder().Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)+1) db.Truncate(PostsTable) db.Truncate(UsersTable) } func TestDB_OrderByRaw(t *testing.T) { db.Truncate(PostsTable) err := db.Table(PostsTable).InsertBatch(batchPosts) assert.NoError(t, err) res, err := db.Table(PostsTable).Select("title").OrderByRaw("updated_at - created_at DESC").First() assert.NoError(t, err) assert.Equal(t, batchPosts[2]["title"], res["title"]) db.Truncate(PostsTable) } func TestDB_SelectRaw(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).SelectRaw("SUM(points) as pts").First() assert.NoError(t, err) var sum int64 for _, v := range batchUsers { sum += v["points"].(int64) } assert.Equal(t, sum, res["pts"]) db.Truncate(UsersTable) } func TestDB_AndWhereBetween(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").WhereBetween("points", 1233, 12345).OrWhereBetween("points", 123456, 67891023).AndWhereNotBetween("points", 12, 23).First() assert.NoError(t, err) assert.Equal(t, "<NAME>", res["name"]) res, err = db.Table(UsersTable).Select("name").WhereNotBetween("points", 12, 123).AndWhereBetween("points", 1233, 12345).OrWhereNotBetween("points", 12, 23).First() assert.NoError(t, err) assert.Equal(t, "<NAME>", res["name"]) db.Truncate(UsersTable) } func TestDB_WhereRaw(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").WhereRaw("LENGTH(name) > 15").OrWhereRaw("points > 1234").Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) cnt, err := db.Table(UsersTable).WhereRaw("points > 123").AndWhereRaw("points < 12345").Count() assert.NoError(t, err) assert.Equal(t, cnt, int64(1)) db.Truncate(UsersTable) } func TestDB_Offset(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Offset(2).Limit(10).Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) db.Truncate(UsersTable) } func TestDB_Rename(t *testing.T) { tbl := "tbl1" tbl2 := "tbl2" db.Drop(tbl) db.Drop(tbl2) _, err := db.Schema(tbl, func(table *Table) { table.Increments("id") }) assert.NoError(t, err) _, err = db.Rename(tbl, tbl2) assert.NoError(t, err) exists, err := db.HasTable("public", tbl2) assert.NoError(t, err) assert.True(t, exists) } func TestDB_WhereIn(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").WhereIn("points", []int64{123, 1234}).OrWhereIn("id", []int64{1, 2}).Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) res, err = db.Table(UsersTable).Select("name").WhereIn("points", []int64{123, 1234}).AndWhereIn("id", []int64{1, 2}).Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) db.Truncate(UsersTable) } func TestDB_WhereNotIn(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").WhereNotIn("points", []int64{123, 1234}).OrWhereNotIn("id", []int64{1, 2}).Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) res, err = db.Table(UsersTable).Select("name").WhereNotIn("points", []int64{123, 1234}).AndWhereNotIn("id", []int64{1, 2}).Get() assert.NoError(t, err) assert.Equal(t, len(res), 2) db.Truncate(UsersTable) } func TestDB_WhereNull(t *testing.T) { db.Truncate(PostsTable) err := db.Table(PostsTable).InsertBatch(batchPosts) assert.NoError(t, err) res, err := db.Table(PostsTable).Select("title").WhereNull("post").AndWhereNull("user_id").Get() db.Dump() assert.NoError(t, err) assert.Equal(t, len(res), 1) res, err = db.Table(PostsTable).Select("title").WhereNull("post").OrWhereNull("user_id").Get() assert.NoError(t, err) assert.Equal(t, len(res), 1) db.Truncate(PostsTable) } func TestDB_WhereNotNull(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").WhereNotNull("points").AndWhereNotNull("name").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) res, err = db.Table(UsersTable).Select("name").WhereNotNull("points").OrWhereNotNull("name").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) db.Truncate(UsersTable) } func TestDB_LockForUpdate(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").LockForUpdate().Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) db.Truncate(UsersTable) } func TestDB_UnionAll(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").UnionAll().Table(UsersTable).Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) db.Truncate(UsersTable) } func TestDB_FullOuterJoin(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) res, err := db.Table(UsersTable).Select("name").FullOuterJoin(PostsTable, "users.id", "=", "posts.user_id").Get() assert.NoError(t, err) assert.Equal(t, len(res), len(batchUsers)) db.Truncate(UsersTable) } func TestDB_Chunk(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) var sumOfPoints int64 err = db.Table(UsersTable).Select("name", "points").Chunk(2, func(users []map[string]interface{}) bool { for _, m := range users { if val, ok := m["points"]; ok { sumOfPoints += val.(int64) } } return true }) assert.NoError(t, err) var initialSum int64 for _, mm := range batchUsers { if val, ok := mm["points"]; ok { initialSum += val.(int64) } } assert.Equal(t, sumOfPoints, initialSum) db.Truncate(UsersTable) } func TestDB_ChunkFalse(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) var sumOfPoints int64 err = db.Table(UsersTable).Select("name", "points").Chunk(2, func(users []map[string]interface{}) bool { for _, m := range users { if sumOfPoints > 0 { return false } if val, ok := m["points"]; ok { sumOfPoints += val.(int64) } } return true }) assert.NoError(t, err) assert.Equal(t, sumOfPoints, batchUsers[0]["points"].(int64)) db.Truncate(UsersTable) } func TestDB_ChunkLessThenAmount(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) var sumOfPoints int64 err = db.Table(UsersTable).Select("name", "points").Chunk(int64(len(batchUsers)+1), func(users []map[string]interface{}) bool { for _, m := range users { if val, ok := m["points"]; ok { sumOfPoints += val.(int64) } } return true }) assert.NoError(t, err) assert.Greater(t, sumOfPoints, int64(0)) db.Truncate(UsersTable) } func TestDB_ChunkLessThenZeroErr(t *testing.T) { db.Truncate(UsersTable) err := db.Table(UsersTable).InsertBatch(batchUsers) assert.NoError(t, err) var sumOfPoints int64 err = db.Table(UsersTable).Select("name", "points").Chunk(int64(-1), func(users []map[string]interface{}) bool { for _, m := range users { if val, ok := m["points"]; ok { sumOfPoints += val.(int64) } } return true }) assert.Errorf(t, err, "chunk can't be <= 0, your chunk is: -1") db.Truncate(UsersTable) } func TestDB_ChunkBuilderTableErr(t *testing.T) { db.Truncate(UsersTable) // reset prev set up table as we don't want to use Table to produce err db.Builder.table = "" err := db.InsertBatch(batchUsers) assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Select("foo", "bar", "baz").Get() assert.Errorf(t, err, errTableCallBeforeOp) err = db.Insert(dataMap) assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.InsertGetId(dataMap) assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Update(dataMap) assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Delete() assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Replace(dataMap, "id") assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Increment("clmn", 123) assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Exists() assert.Errorf(t, err, errTableCallBeforeOp) _, err = db.Table("nonexistent").Update(dataMap) assert.Error(t, err) _, err = db.Table("nonexistent").Delete() assert.Error(t, err) _, err = db.Table("nonexistent").Increment("clmn", 123) assert.Error(t, err) _, err = db.Table("nonexistent").Replace(dataMap, "id") assert.Error(t, err) db.Truncate(UsersTable) } func TestDB_FirsNoRecordsErr(t *testing.T) { db.Truncate(TestTable) _, err := db.Table(TestTable).Select("baz").OrderBy("baz", "desc").OrderBy("foo", "desc").First() assert.Errorf(t, err, "no records were produced by query: %s") db.Truncate(TestTable) }
go
import request from '@/utils/request'; export async function fakeAccountLogin(params) { return request('/api/login/account', { method: 'POST', data: params, }); } export async function getFakeCaptcha(mobile) { return request(`/api/login/captcha?mobile=${mobile}`); }
javascript
{ "name": "chematics", "version": "1.0.2", "description": "Util of handy schematics", "scripts": { "build": "tsc -p tsconfig.json", "build:watch": "tsc -p tsconfig.json --watch" }, "keywords": [ "schematics", "ng", "ng generate", "login" ], "author": "<NAME>", "license": "MIT", "schematics": "./src/collection.json", "dependencies": { "@angular-devkit/core": "^11.0.7", "@angular-devkit/schematics": "^11.0.7", "@angular-devkit/schematics-cli": "^0.901.15", "@schematics/angular": "^9.1.0", "schematics-utilities": "^2.0.2", "typescript": "~4.0.2" }, "devDependencies": { "@types/jasmine": "~3.5.0", "@types/node": "^12.11.1", "jasmine": "^3.5.0" }, "repository": { "type": "git", "url": "git+https://github.com/cardiosMircem/schematics-ms.git" }, "bugs": { "url": "https://github.com/cardiosMircem/schematics-ms/issues" }, "homepage": "https://github.com/cardiosMircem/schematics-ms#readme" }
json
Yastika Bhatia has named star batter Smriti Mandhana as her favourite player. The first day of the one-off Test against England turned memorable for Indian cricket, specially women's cricket, as the team made its way into record books. Mumbai Indians thrashed Delhi Captials by eight wickets to secure their third win on the trot in the Women's Premier League in Mumbai on Thursday. India vs West Indies, Women's World Cup 2023: Smriti Mandhana, who missed the tournament opener against Pakistan due to a finger injury, has not been declared match-fit yet.
english
Rauwe Shara Jahan song is a Bhojpuri devotional song from the Durga Sharanam released on 2017. Music of Rauwe Shara Jahan song is composed by Ajay Tripathi. Rauwe Shara Jahan was sung by Samresh Choubey. Download Rauwe Shara Jahan song from Durga Sharanam on Raaga.com.
english
Last week, Buffalo Niagara International Airport announced it was nixing plans to open a Chick-fil-A at one of its terminals after a lawmaker accused it of discrimination. Make no mistake, the City Council is not protecting the LGBTQ community against persecution; rather they are persecuting Chick-fil-A for backing Christian-oriented youth and education causes. No one has ever been denied service at Chick-fil-A because of their sexual orientation or any other characteristic that defines them. But Chick-fil-A is being kicked out of the San Antonio airport because of the company’s support for Christian kids. This may seem like a local problem, but it isn’t and it won’t stay that way. Other, equal parts ambitious and dishonest, politicians will take note, and, in an effort to cater to the fringe, anti-Christian crowd, will try to follow San Antonio’s shameful lead. Whether you’re a church-going Christian, an LGBTQ activist or both, what San Antonio’s City Council has done should disgust you. If people of conscience will raise their voices and callout elected leaders who pander and feign outrage in order to appeal to those who just don’t like Christians, we might be able to shame those who see division as their path to increased power. No company should be denied an opportunity to serve their customers because its foundation supports a particular faith group. There are real disagreements in this country that are worth debating, discussing, and – God willing – resolving. America doesn’t need politicians manufacturing outrage to appeal to those who hate Christians or any other group. So when this issue comes to a city council near you, join hands and speak up. Because we’re all God’s children, we’re all Americans, and we all deserve the chance to buy a really good chicken sandwich.
english
Amala Paul has made heads turn by appearing in the nude in the teaser of her upcoming movie 'Aadai' directed by Rathnakumar of 'Meyaatha Maan' fame. The film bats for the freedom of expression of women and costars Sri Ranjani, VJ Ramya and Vivek Prasanna. As expected meme creators have come up with a Vadivelu version of the 'Aadai' teaser and the director Rathnakumar himself has posted it on his social media page commenting "Nowadays there is Vadivelu version for every content. 'Aadai' is not a exception. This is hilarious and i couldn't resist myself from sharing. Since the movie gonna talk abt freedom . I respect this "Freedom of speech". Sorry Amala". Follow us on Google News and stay updated with the latest!
english
<filename>DiscoverDish/form/api_keys.json { "yelp": "<KEY>", "google_maps": "<KEY>" }
json
<gh_stars>100-1000 from django.urls import path from . import views urlpatterns = [ path('', views.index, name='api-home'), path('tutorials/', views.tutorials), path('tutorials/<str:tags>/', views.tutorial_tag), path('tutorials/<str:tags>/<str:category>/', views.tutorial_tag_category), path('tags/', views.tags), path('latest/', views.latest), ]
python
Arlo Training Event Software is a free software for Android, that makes part of the category 'Business & Productivity'. Spark.Live - Live Video Classes And Consultations is a free app for Android, belonging to the category 'Lifestyle'. Cadence - Event Experiences is a free software for Android, belonging to the category 'Lifestyle'.
english
<reponame>osherdp/assisted-ui-lib import React from 'react'; import { Alert, AlertVariant, List, ListComponent, ListItem } from '@patternfly/react-core'; import { Link } from 'react-router-dom'; const NoAgentsAlert = () => ( <Alert variant={AlertVariant.warning} title="No available hosts were found" isInline> The cluster can not be installed yet because there are no available hosts found. To continue: <br /> <List component={ListComponent.ol}> <ListItem> Add hosts to an <Link to="/multicloud/infra-environments">infrastructure environment</Link> </ListItem> <ListItem> Continue configuration by editing this cluster and utilize the newly added hosts </ListItem> </List> </Alert> ); export default NoAgentsAlert;
typescript
{"topic_44": {"num_tags": 1, "name": "topic_44", "full_name": "topic_44", "num_included_tokens": 1}, "topic_19": {"num_tags": 1, "name": "topic_19", "full_name": "topic_19", "num_included_tokens": 1}, "topic_53": {"num_tags": 43, "name": "topic_53", "full_name": "topic_53", "num_included_tokens": 43}, "topic_52": {"num_tags": 24, "name": "topic_52", "full_name": "topic_52", "num_included_tokens": 24}, "topic_51": {"num_tags": 2, "name": "topic_51", "full_name": "topic_51", "num_included_tokens": 2}, "topic_36": {"num_tags": 10, "name": "topic_36", "full_name": "topic_36", "num_included_tokens": 10}, "topic_12": {"num_tags": 31, "name": "topic_12", "full_name": "topic_12", "num_included_tokens": 31}, "topic_22": {"num_tags": 3, "name": "topic_22", "full_name": "topic_22", "num_included_tokens": 3}, "topic_16": {"num_tags": 14, "name": "topic_16", "full_name": "topic_16", "num_included_tokens": 14}, "topic_58": {"num_tags": 1, "name": "topic_58", "full_name": "topic_58", "num_included_tokens": 1}, "topic_5": {"num_tags": 17, "name": "topic_5", "full_name": "topic_5", "num_included_tokens": 17}, "topic_79": {"num_tags": 19, "name": "topic_79", "full_name": "topic_79", "num_included_tokens": 19}, "topic_75": {"num_tags": 1, "name": "topic_75", "full_name": "topic_75", "num_included_tokens": 1}, "topic_60": {"num_tags": 6, "name": "topic_60", "full_name": "topic_60", "num_included_tokens": 6}, "topic_98": {"num_tags": 9, "name": "topic_98", "full_name": "topic_98", "num_included_tokens": 9}}
json
import subprocess import sys def install(package): subprocess.check_call([sys.executable, "-m", "pip", "install", bs4]) import requests from bs4 import BeautifulSoup with open('simple.html') as html_file: # parses html file soup = BeautifulSoup(html_file, 'lxml') # # # print(soup.prettify()) # prints out all the html code indented (indented because of prettify method) # to get FIRST information from a tag --> access it like an attribute # e.g. if you wanted to grab the FIRST title from the html then access it like an attribute # match = soup.title.text # print(match) # if you want to find a specific tag that IS NOT necessarily the FIRST of its kind in the code then use the 'find' method # e.g. if you want to grab the div tag that has a class of footer then use the 'find' method and pass in some arguments individualArticle = soup.find('div', class_='article') print(individualArticle.text) print() for article in soup.find_all('div', class_='article'): headline = article.h2.a.text print(headline) summary = article.p.text print(summary) print() # res = requests.get('https://github.com') # # soup = bs4.BeautifulSoup(res.txt, 'lxml') # # type(soup)
python
Face unlock was first introduced in 2011 in the Nexus series and since then it has made its way into the entry-level smartphone market. Right now, almost any smartphone you pick supports face unlock, which is why finding a smartphone with a good facial recognition system at an affordable price, along with useful features, is quite a task! Don’t just be blinded by the face unlock functionality – make sure you also look at features like storage, processor and battery life for an all-round experience. To help you find the right smartphone, here’s a list of some of the best smartphones on Amazon with the face unlock feature. Note that these smartphones have been curated based on their listed features. Redmi’s A lineup is one of the most popular entry-level feature-packed smartphones, earning them the reputation for providing bang for the buck. This time with the Redmi 8A, they have introduced the AI face unlock feature on the front 8MP camera to protect your device from unauthorised access. They have also included a 13+2MP rear dual camera setup to help you click good quality images. The Qualcomm Snapdragon 439 processor along with 2GB RAM and 32GB internal memory provides a decent entry-level performance when handling daily tasks. Redmi claims that the 5000mAh battery is capable of delivering 653 hours of standby time, according to the brand. The brand also claims that it can be charged quickly, thanks to the 18W fast charging. The 6.22-inch display has a resolution of 1520 x 720 pixels making it a decent device to watch your media. If you’re looking for an entry-level Vivo smartphone with face unlock, then do check this one out. The Vivo Y91i has a MediaTek Helio P22 processor that’s coupled with a 2GB RAM under its hood to handle all the basic everyday tasks that you throw at it. The 32GB ROM can be used to store all those quality pictures and videos that you shoot using the 13MP rear camera or 5MP front camera present on the device. Vivo has packed the device with a 4030mAh battery to power up its hardware and the 6.22-inch HD+ screen for hours. The smartphone weighs only 164g and is 8mm thick, making it one of the slimmest and lightest smartphones in its price range. OPPO is one of those brands that give many others a run for their money, thanks to the features and quality they bring to the table, and the OPPO A12 is a case in point. The 6.2-inch HD+ display has a water-drop notch that houses a 5MP front camera for selfies, video calling and enhanced security (via the face recognition feature). At the back, there’s a fingerprint camera and 13+2MP dual rear camera setup along with a single LED flash. The MediaTek Helio P35 processor, 3GB of RAM and 32GB storage are powered by a 4230mAh battery that has a standby time of 450 hours as claimed by OPPO. The triple slot supports two sim cards and a memory card so you can expand your memory up to 256GB by merely popping in a microSD card in the slot. Get your hands on this OPPO smartphone and that too without bringing out the big bucks. The Redmi 9 Prime just borders on the entry-level smartphone category and provides some features that you can’t even find on mid-range smartphones. The most prominent thing about this smartphone is its 13MP quad-camera setup at the back that provides you with some flexibility while clicking pictures. The front 8MP camera sensor is suitable for clicking selfies, attending video calls and adding an enhanced layer of security through the face unlock feature. Redmi has packed the device with a MediaTek Helio G80 processor, 4GB RAM and 64GB storage. To power all that up, there’s a 5020mAh battery with support for 18W fast charging. The 6.53-inch display has a resolution of 2340 x 1080 pixels resulting in a pixel density of 394ppi.
english
British GP Free Practice Live: Formula One returns to action following a short break for a special British GP which will see a very special race with a 100km sprint race on Saturday afternoon to decide the grid positions for Sunday's race. In order to decide the grid position for Saturday's sprint race, the qualifyings will take place on Friday; providing fans a complete action-packed weekend. The Free practice sessions were limited to two, with each happening on Friday and Saturday on the morning of the Qualifying and Sprint Race respectively. This is first of the three such races as part of FIA's plan to spice up the F1 season. When is F1 British Grand Prix 2021 Qualifying? F1 British Grand Prix 2021 Qualifying will take place on Friday July 16. What are the timings of F1 British Grand Prix 2021 Free Practice? F1 Austrian Grand Prix 2021 Free Practice will start atat 10:30 PM IST before the FP 1 at 7 PM IST. Where is F1 British Grand Prix 2021 Qualifying? F1 British Grand Prix 2021 Qualifying will take place at Silverstone Circuit, Northamptonshire (UK). Which TV channel will broadcast F1 British Grand Prix 2021 Qualifying? F1 British Grand Prix 2021 Qualifying will be telecasted on Star Sports Select SD/HD. Where can you live stream F1 British Grand Prix 2021 Qualifying Free Practice? F1 British Grand Prix 2021 Qualifying will live stream on Disney+Hotstar in India.
english
<gh_stars>0 .postContainer { width: 80%; min-height: 100vh; margin: 2% auto; border: 1px solid #ffffff; -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.486); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.486); padding: 5%; color: #464646; } .toolsOptions { width: 100%; height: 40px; background: orange; padding: 0 10%; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .toolsOptions a, .toolsOptions span { width: 15%; height: 70%; border-radius: 25px; margin-right: 2%; text-transform: capitalize; color: #ffffff; -webkit-box-shadow: 1px 1px 5px black; box-shadow: 1px 1px 5px black; cursor: pointer; } .toolsOptions a i, .toolsOptions span i { font-size: 15px; margin-right: 1%; } .toolsOptions a { background: greenyellow; } .toolsOptions span { background: red; } .notificationBox { width: 80%; height: 3vw; background: rgba(255, 166, 0, 0.466); border: 3px solid orange; border-radius: 5px; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-pack: center; -ms-flex-pack: center; justify-content: center; -webkit-box-align: center; -ms-flex-align: center; align-items: center; text-transform: capitalize; margin: 5% auto; } .notificationBox i { margin-right: 1%; } .headding { text-transform: capitalize; } .headding img { height: 25px; width: auto; margin-right: 1%; } .bottomBorder { width: 60%; height: 3px; background: #4e4e4e; margin-top: 1%; } .bottomBorder div { width: 10%; height: 5px; background: orange; margin-left: 2%; } .shortdes { margin-top: 3%; text-transform: capitalize; } .titleImage { width: 100%; height: 30vw; margin-top: 3%; border-radius: 5px; } .likeBox { width: 100%; height: 40px; margin-top: 2%; display: -webkit-box; display: -ms-flexbox; display: flex; } .likeBox a { width: 20%; height: 100%; border-radius: 25px; margin-right: 3%; border: 2px solid #5a5a5a; color: #363636; text-transform: capitalize; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.452); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.452); } .likeBox a i { font-size: 20px; margin-right: 2%; } #likebtn { border: 2px solid #24a0ed; color: #24a0ed; -webkit-transition: all 0.2s ease-in-out; transition: all 0.2s ease-in-out; -webkit-box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.452); box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.452); } #likebtn:hover { background: #24a0ed; color: #ffffff; border: 2px solid #24a0ed; -webkit-box-shadow: none; box-shadow: none; } .liked { background: #24a0ed !important; color: #ffffff !important; border: 2px solid #24a0ed !important; -webkit-box-shadow: none !important; box-shadow: none !important; } .paracontainer { width: 100%; min-height: 50vh; margin-top: 3%; font-size: 20px; } .paracontainer a { color: black; font-weight: 700; border-bottom: 2px solid black; } .commentBox { width: 100%; min-height: 20vw; margin-top: 3%; } .commentTitle { width: 100%; height: 2vw; font-size: 20px; text-transform: capitalize; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-align: center; -ms-flex-align: center; align-items: center; } .addComment { width: 100%; height: 23vw; margin-top: 3%; } .addComment textarea { display: block; width: 50%; height: 60%; margin-top: 2%; border: none; border: 2px solid #5a5a5a; border-radius: 5px; resize: none; margin-bottom: 3%; padding: 2%; } .addComment button { width: 20%; height: 3vw; text-transform: capitalize; border: 2px solid #5a5a5a; color: #5a5a5a; font-weight: 700; } .comments { width: 100%; min-height: 8vw; margin-top: 3%; padding-left: 5%; text-transform: capitalize; } .comments strong { font-size: 20px; } .comments p { margin-top: 1%; margin-bottom: 3%; padding-left: 2%; } @media only screen and (max-width: 600px) { .toolsOptions { width: 100%; padding: 0 5%; } .toolsOptions a, .toolsOptions span { width: 40%; font-weight: 700; } .postContainer { width: 95%; } .headding { font-size: 20px; } .bottomBorder { margin-bottom: 10%; } .titleImage { height: 40vw; } .likeBox { -webkit-box-pack: justify; -ms-flex-pack: justify; justify-content: space-between; } .likeBox a { width: 40%; height: 8vw; } .paracontainer { font-size: 15px; } .paracontainer img { display: block; max-width: 100vw; max-height: 100vw; } .addComment { height: 70vw; } .addComment textarea { width: 100%; } .addComment button { width: 50%; height: 10vw; } .comments { margin: 5% 0; } .comments strong { font-size: 18px; } .comments p { font-size: 13px; } } /*# sourceMappingURL=showSingalPost.css.map */
css
<gh_stars>0 import pickle import numpy as np import pandas as pd import matplotlib import matplotlib.pyplot as plt from pylab import * import seaborn as sns sns.set() sns.set_style("whitegrid") flatui = ['#009ADE','#FF1F5B'] sns.set_palette(flatui) # black edges around all figures rc('axes', linewidth=1, edgecolor='black') # Acceptance Rate with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/acc_rate_NSE-CSC.pkl', 'rb') as f: y1 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/acc_rate_baseline.pkl', 'rb') as f: y2 = pickle.load(f) plt.figure(1) plt.plot(list(y1.keys()), list(y1.values()),label ='NSE-CSC',linestyle='-',linewidth=3) plt.plot(list(y2.keys()), list(y2.values()),label ='baseline',linestyle='--',linewidth=3) plt.xlabel('number of requests',fontsize=16) plt.ylabel('acceptance rate (%)',fontsize=16) plt.legend(loc='lower left',prop={'size': 16}, edgecolor='black') plt.xlim(left=0, right = len(list(y1.keys()))) plt.ylim(bottom=50, top=100.5) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/acceptance_rate.png') # hops per edge with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/hops_NSE-CSC.pkl', 'rb') as f: hops1 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/hops_baseline.pkl', 'rb') as f: hops2 = pickle.load(f) plt.figure(2) same_server_1 = 100 * sum([1 for x in hops1 if x==0]) / len(hops1) same_rack_1 = 100 * sum([1 for x in hops1 if x==2]) / len(hops1) different_rack_1 = 100 * sum([1 for x in hops1 if x==4]) /len(hops1) same_server_2 = 100 * sum([1 for x in hops2 if x==0]) / len(hops2) same_rack_2 = 100 * sum([1 for x in hops2 if x==2]) / len(hops2) different_rack_2 = 100 * sum([1 for x in hops2 if x==4]) / len(hops2) # set width of bar barWidth = 0.25 # set height of bar bars1 = [same_server_1, same_rack_1, different_rack_1] bars2 = [same_server_2, same_rack_2, different_rack_2] # Set position of bar on X axis r1 = np.arange(len(bars1)) r2 = [x + barWidth for x in r1] # Make the plot plt.bar(r1, bars1, width=barWidth, edgecolor='black', label='NSE-CSC') plt.bar(r2, bars2, width=barWidth, edgecolor='black', label='baseline', hatch='/') # Add xticks on the middle of the group bars #plt.xlabel('group', fontweight='bold') plt.ylabel('adjacent VNF pairs (%)',fontsize=16) plt.xticks([r + barWidth/2 for r in range(len(bars1))], ['same server', 'same rack', 'different racks'], fontsize=16) # Create legend & Show graphic plt.legend(loc='upper right',prop={'size': 16},edgecolor='black') plt.ylim(top=100) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/hop_count.png') # CPU utilization with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/cpu_NSE-CSC.pkl', 'rb') as f: y1 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/cpu_baseline.pkl', 'rb') as f: y2 = pickle.load(f) plt.figure(3) plt.plot(list(y1.keys()), list(y1.values()),label ='NSE-CSC',linestyle='-',linewidth=3) plt.plot(list(y2.keys()), list(y2.values()),label ='baseline',linestyle='--',linewidth=3) plt.xlabel('time intervals',fontsize=16) plt.ylabel('CPU utilization (%)',fontsize=16) plt.legend(loc='lower right',prop={'size': 16},edgecolor='black') plt.xlim(left=0, right=600) plt.ylim(bottom=0, top=100) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/cpu.png') # inter-rack traffic with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/inter_rack_NSE-CSC.pkl', 'rb') as f: y1 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/inter_rack_baseline.pkl', 'rb') as f: y2 = pickle.load(f) plt.figure(4) plt.plot(list(y1.keys()), list(y1.values()),label ='NSE-CSC',linestyle='-',linewidth=3) plt.plot(list(y2.keys()), list(y2.values()),label ='baseline',linestyle='--',linewidth=3) plt.xlabel('time intervals',fontsize=16) plt.ylabel('inter-rack relative to total traffic (%)',fontsize=16) plt.legend(loc='upper right',prop={'size': 16},edgecolor='black') plt.xlim(left=0, right=600) plt.ylim(bottom=0, top=100) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/inter_rack.png') # hops per edge w.r.t. CSC-engaged and non CSC-engaged links with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/consuming_edges_hops_NSE-CSC.pkl', 'rb') as f: y1 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/providing_edges_hops_NSE-CSC.pkl', 'rb') as f: y2 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/consuming_edges_hops_baseline.pkl', 'rb') as f: y3 = pickle.load(f) with open('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/data/providing_edges_hops_baseline.pkl', 'rb') as f: y4 = pickle.load(f) y1 = np.asarray(y1) y1 = np.sort(y1) p1 = 1. * np.arange(len(y1)) / (len(y1) - 1) y2 = np.asarray(y2) y2 = np.sort(y2) p2 = 1. * np.arange(len(y2)) / (len(y2) - 1) y3 = np.asarray(y3) y3 = np.sort(y3) p3 = 1. * np.arange(len(y3)) / (len(y3) - 1) y4 = np.asarray(y4) y4 = np.sort(y4) p4 = 1. * np.arange(len(y4)) / (len(y4) - 1) plt.figure(5) plt.ylabel('probability',fontsize=16) plt.xlabel('hop count for non CSC adjacent VNFs', fontsize=16) plt.plot(y1, p1, linewidth=3, label='NSE-CSC') plt.plot(y3, p3, linewidth=3, linestyle='--', label='baseline') plt.legend(loc='upper left',prop={'size': 16},edgecolor='black') plt.xlim(left=-0.03, right=4.03) #plt.xticks([0,2,4],('0 (same server)', '2 (same rack)', '4 (different racks)'), rotation=15) plt.xticks([0,2,4]) plt.ylim(bottom=0, top=1.00) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/hop_count_non-CSC.png') plt.figure(6) plt.ylabel('probability',fontsize=16) plt.xlabel('hop count for CSC adjacent VNFs', fontsize=16) plt.plot(y2, p2, linewidth=3, label='NSE-CSC') plt.plot(y4, p4, linewidth=3, linestyle='--', label='baseline') plt.legend(loc='upper left',prop={'size': 16},edgecolor='black') plt.xlim(left=-0.03, right=4.03) plt.xticks([0,2,4]) plt.ylim(bottom=0, top=1.00) plt.tight_layout() plt.savefig('C:/Users/angel/Desktop/open projects/3. NSE-CSC/code/results/hop_count_CSC.png')
python
// Copyright (c) 2018 Chef Software Inc. and/or applicable contributors // // 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. package broker import osb "github.com/pmorie/go-open-service-broker-client/v2" func boolPtr(b bool) *bool { return &b } func nginxService() osb.Service { return osb.Service{ Name: "nginx-habitat", ID: "1ac7de1d-d89a-41c7-b9a8-744f9256e375", Description: "Nginx packaged with Habitat", Bindable: false, PlanUpdatable: boolPtr(false), Metadata: map[string]interface{}{ "displayName": "Habitat Nginx service", "imageUrl": "https://avatars2.githubusercontent.com/u/19862012?s=200&v=4", }, Plans: []osb.Plan{ { Name: "default", ID: "86064792-7ea2-467b-af93-ac9694d96d5b", Description: "The default plan for the Nginx Habitat service", Free: boolPtr(true), Schemas: &osb.Schemas{ ServiceInstance: &osb.ServiceInstanceSchema{ Create: &osb.InputParametersSchema{ Parameters: map[string]interface{}{ "$schema": "http://json-schema.org/draft-04/schema", "type": "object", "title": "Parameters", "properties": map[string]interface{}{ "name": map[string]interface{}{ "title": "Some Name", "type": "string", "maxLength": 63, "default": "My Name", }, "color": map[string]interface{}{ "title": "Color", "type": "string", "default": "Clear", "enum": []string{ "Clear", "Beige", "Grey", }, }, "group": map[string]interface{}{ "title": "Group", "type": "string", "default": "default", }, "topology": map[string]interface{}{ "title": "Topology", "type": "string", "default": "standalone", "enum": []string{ "standalone", "leader", }, }, "count": map[string]interface{}{ "title": "Count", "type": "int", "default": "1", }, }, }, }, }, }, }, }, } } func redisService() osb.Service { return osb.Service{ Name: "redis-habitat", ID: "50e86479-4c66-4236-88fb-a1e61b4c9448", Description: "Redis packaged with Habitat", Bindable: true, PlanUpdatable: boolPtr(false), Metadata: map[string]interface{}{ "displayName": "Habitat Redis service", "imageUrl": "https://avatars2.githubusercontent.com/u/19862012?s=200&v=4", }, Plans: []osb.Plan{ { Name: "default", ID: "002341cf-f895-49f4-ba04-bb70291b895c", Description: "The default plan for the Redis Habitat service", Free: boolPtr(true), Schemas: &osb.Schemas{ ServiceInstance: &osb.ServiceInstanceSchema{ Create: &osb.InputParametersSchema{ Parameters: map[string]interface{}{ "$schema": "http://json-schema.org/draft-04/schema", "type": "object", "title": "Parameters", "properties": map[string]interface{}{ "name": map[string]interface{}{ "title": "Some Name", "type": "string", "maxLength": 63, "default": "My Name", }, "color": map[string]interface{}{ "title": "Color", "type": "string", "default": "Clear", "enum": []string{ "Clear", "Beige", "Grey", }, }, "group": map[string]interface{}{ "title": "Group", "type": "string", "default": "default", }, "topology": map[string]interface{}{ "title": "Topology", "type": "string", "default": "standalone", "enum": []string{ "standalone", "leader", }, }, "count": map[string]interface{}{ "title": "Count", "type": "int", "default": "1", }, }, }, }, }, }, }, }, } }
go
<reponame>wrafab/barnesja <html> <title> Rotation 9 </title> <style> h1 {font-family:arial; font-size:300%;text-align:center; background-color:maroon; color:white; } h2 {font-family:arial; font-size:150%;text-align:center;} h3 {font-family:arial; font-size:100%;text-align:center;} a {position:fixed; background-color:white} </style> <a href="index.html">Home</a> <body style="background-color: #7cf4ea;"> <h1> Rotation 9 </h1> <h2> Raspberry Pi </h2> <h3> This rotation we learned about Raspberry Pi, an enthusiast style computer that is incredibly cheap and easy to program with. In class, we prgrammed a stop light to cycle through, and we also </h3> <h3> made an 8x8 led board spell out our name. I did not have that much trouble, because it was easy to make conclusions on how to code when it was not explicitly laid out for us. I ran into some trouble </h3> <h3> with misspelled words, but those mistakes were easily ironed out. The pictures of the setup and some code are below. </h3> <center><img src="pi_opt.jpg" style="550px"><img src="pi1_opt.jpg" style="550px"><img src="pi2_opt.jpg" style="550px"><img src="pi3_opt.jpg" style="550px"></center> <html>
html
Catch live streaming from Day Two of the third Test between West Indies and New Zealand here. Sulieman Benn’s five-wicket haul gave the West Indies the initiative as New Zealand were dismissed for 293 on the opening day of the third Test at Kensington Oval in Barbados on Thursday. With the series locked at 1-1 ahead of this potential decider, the home side closed the day at 32 without loss in reply. Continuing to carry a heavy bowling workload during this series, the tall left-arm spinner finished with figures of five for 93 off 26. 2 overs to restrict the Black Caps on a pitch that seems set to produce an outright result. On the opening day of the 50th Test match to be played at the iconic venue, Benn got excellent support from fellow Barbadian Kemar Roach, the fast bowler claiming four for 61, reported AFP. All-rounder Jimmy Neesham topscored with 78 but his dismissal via the run out typified another day for the tourists when they failed to make the most of encouraging positions. Key batsmen Kane Williamson and Ross Taylor, together with Mark Craig lower down the order all got into the 40’s but were unable to build the sort of innings that would have made Brendon McCullum more comfortable with his decision to bat first on winning the toss. The free live streaming of cricket matches is rapidly becoming a new rage in the online media and is catching up with lot of cricket fans. Catching the free live streaming of cricket matches on the internet, and watching this online is a safe bet if one is not near the television. The final Test of the West Indies and New Zealand series is being telecast live on Ten Cricket.
english
Father's Name: Shri Natarajan R. Mother's Name: Shrimati Usha N. Spouse Name: Shrimati R. PoongkodiDAUGHTERS: Present Address: Disclaimer: The Member List and Member Profile published in this page is sourced from the https://sansad.in/rs (Rajya Sabha Website). In case of any discrepancy kindly contact https://sansad.in/rs/contactUs.
english
About Priyadarshan / Who is Priyadarshan ? Priyadarshan is a very practical person and equally capable. Priyadarshan is very tidy by nature, Priyadarshan love order and are methodical. It is even possible that these qualities are too highly developed in Priyadarshan and it may be that while attending to minute details, Priyadarshan lose some of the larger opportunities of life.Priyadarshan is sensitive and generous. Were Priyadarshan to hear of a case of want or somebody in dire distress, it is unthinkable that Priyadarshan would pass by and not hold out a helping hand.Priyadarshan is a hesitant person. Though Priyadarshan have the qualities for making Priyadarshan's way in the world and it is within Priyadarshan's powers to climb high up the ladder of success, the necessary qualities to carry Priyadarshan through and while Priyadarshan is wondering some more pushing but less well-equipped person steps into Priyadarshan's place. Therefore do not think much of Priyadarshan's mythical limitations. Take it for granted that Priyadarshan will succeed and Priyadarshan will.Priyadarshan is calculative and realistic. Priyadarshan always want to achieve something. There is some deep desire burning in Priyadarshan's heart to achieve something. This makes Priyadarshan restless at times. However, Priyadarshan will always have proud on Priyadarshan's achievements. Priyadarshan have the ability to seeing through anything or anyone, so it is very difficult to hide anything from Priyadarshan This clarity of insight assists in the overcoming of opposition and the achievement of satisfaction. Priyadarshan have a quick grasp of any situation and the ability to solve any problem, for Priyadarshan go directly to the point. Priyadarshan's co-workers serve as an inspiration for Priyadarshan's success. Thus, Priyadarshan can rely on others to give Priyadarshan the inspirational spirit Priyadarshan need to pursue goals.
english
siteControllers.controller('AlienListController', function ($scope) { $scope.aliens = [ { 'name': '<NAME>', 'power': 'kind of op' }, { 'name': '<NAME>', 'power': 'really OP' }, { 'name': '<NAME>', 'power': 'broken' }, ]; $scope.alienListOrder = '+name'; });
javascript
When Uber CEO Travis Kalanick muses about the goals of his ride-hailing company, now valued at close to $51 billion, he talks about grandiose visions like making transportation "as reliable as running water" and "the perpetual trip, the trip that never ends." Now, Uber has taken a step closer toward achieving a smaller scale version of that vision. Starting this week in the San Francisco Bay Area, the company is launching Driver Destinations, a new feature that lets drivers tell the app where they're heading and pick up passengers on the way. The idea is that if drivers live a few miles away from the city proper, they can still pick up fares when commuting into city or heading back home. "Drivers mentioned that they have this need where they're driving around town, and they'd be happy to pick up an extra rider along the way—but they need to go somewhere," Maya Choksi, senior product manager for Uber's driver app, tells WIRED. "We started with that kernel of inspiration and basically built an experience around that." Driver Destinations is the latest addition to Uber's new driver app, which, as we've written, offers an interesting case study in maintaining a commitment to simplicity without sacrificing utility in an increasingly complex business. These days, Uber has greater ambitions than just bringing passengers from Point A to Point B. It also wants to shuttle packages, couches, kittens, and lunches around town, and its unique logistics means it can essentially flip a switch and activate a whole range of applications other than just passenger rides. According to Choksi, the Driver Destinations feature works for any kind of Uber trip, whether the driver is using uberPOOL, uberX, or any other ride option. The app pulses orange instead of blue in the special mode, and matches drivers to passengers along the direction of the driver's destination. It also automatically filters passenger requests for trips, making sure they're only coming in from riders along the way. Driver Destinations will be tested over the next few weeks in the Bay Area, and Uber says it will bring the new feature to other large markets around the world "as quickly as possible"—but it has no specific details to share on which markets it's bringing the feature to next or when. Meanwhile, Lyft, Uber's biggest competitor in the US, launched a similar feature about a year ago, which is now live in San Francisco, Los Angeles, Austin, Boston, Washington, D.C. and New York. So for drivers on both platforms in the Bay Area, at least, commutes are positioned to become more than wasted time.
english
<filename>framework/orchestrator/src/main/java/org/intueri/orchestrator/validation/IntueriValidationAPI.java /** * Copyright (C) 2019 <NAME> <<EMAIL>> * * This software may be modified and distributed under the terms * of the MIT license. See the LICENSE file for details. */ package org.intueri.orchestrator.validation; import org.intueri.exception.IntueriValidationException; public interface IntueriValidationAPI { /** * Checks whether given element is valid json and conforms to schema. Does NOT! check schema for validity. * @param element to be validated * @return true if rule is valid json and conforms to schema */ boolean validate(String element) throws IntueriValidationException; /** * Checks whether given schema is valid JSON. Only checks Syntax and not Semantic! * @param schema to be validated * @return true if schema is valid json */ // boolean validateSchema(String schema); }
java
With the high-decibel political drama in Maharashtra is coming to an end, the next round of fighting will be for the Shiv Sena's party symbol, as Eknath Shinde and Uddhav Thackeray claim their respective factions is the real Shiv Sena. By Aishwarya Paliwal: The high-decibel political drama in Maharashtra is coming to an end, with Eknath Shinde taking oath as the new chief minister of the state on Thursday evening. While it is clear who is in power in Maharashtra, the question remains: Who is the real Shiv Sena? Both Eknath Shinde and former CM Uddhav Thackeray have called their respective factions the real Shiv Sena. Both are asserting that they will carry forward the legacy of party founder Balasaheb Thackeray. READ | Uddhav, Raj and now Eknath Shinde - who will win the battle for Balasaheb’s legacy? While political wrinkles in Maharashtra have been ironed out, the battle will now shift to the Election Commission. The next round of fighting will be for the Shiv Sena's bow and arrow party symbol and it will be the Election Commission that will determine who gets the symbol. Reports are suggesting that Eknath Shinde's camp is preparing to claim the party's election symbol. The Uddhav Thackeray faction, however, will obviously not give up without a fight. For either camp it will be an uphill task. The 'real Shiv Sena' will have to have majority support from all office-bearers in the party, state legislators, and Members of Parliament. Just having a large number of MLAs on one's side is not enough for it to be recognized as the party. READ | Maharashtra crisis: Shinde-led rebel camp seeks recognition for new party called Shiv Sena (Balasaheb) To begin with, it is important to note that parties need to approach the Election Commission for allotment of symbol or to stake claim on an existing one. In case of the latter, the commission takes a decision based on the support of party lawmakers and office-bearers for each faction. In Shiv Sena's case, the new faction (Shinde camp) will not be recognised as a separate party immediately. The anti-defection law protects the rebel legislators as long as they merge with another party or form a new party. Once parties approach the commission, then EC takes decision based on the Election Symbols (Reservation and Allotment) Order, 1968. It states: "When the Commission is satisfied that there are rival sections or groups of a recognised political party, each of whom claims to be that party the Commission may, after taking into account all the available facts and circumstances of the case and hearing (their) representatives and other persons as desire to be heard, decide that one such rival section or group or none of such rival sections or groups is that recognised political party and the decision of the Commission shall be binding on all such rival sections or groups. " The common notion that having 2/3rd MLAs is enough to be recognized as the party is not enough. The 'real Shiv Sena' will have to prove majority support from all office-bearers in the party, legislators, and Members of Parliament in order to be allotted the symbol. According to former secretary general of Lok Sabha, PDT Achary, "The ECI has to decide which faction is the real party and after hearing both the parties in detail and evidence submitted before it before deciding on the allocation of the symbol. " Fights over symbols are decades old and have cropped time and again. In most of the disputes that reached the Election Commission, a clear majority of party delegates, office bearers, MPs and MLAs supported one of the factions. Whenever the EC could not test the strength of rival groups based on support within the party organisation, it fell back on testing the majority only among elected MPs and MLAs. - When two factions stake claim to the same symbol -- the EC first examines the support each faction enjoys, both within the party's organisation and its legislature wing. - Then it moves to identify top office bearers and decision-making bodies within the political party and proceeds to know how many of its members or office-bearers back which faction. - After that the commission moves to counting the number of lawmakers and legislators in each camp. Taking all the above into consideration, the EC can rule in favour of either faction or neither of them. The commission can also freeze the party's symbol and ask the two factions to register with new names and symbols. In case polls are around the corner, it can ask factions to pick a temporary symbol. If the factions decide to unite in the future and seek the original symbol back, the EC is empowered to rule on the merger and could decide to restore the symbol to the unified party. On some occasions the Election Commission has also frozen party symbols. 1964 - CPI (M): The oldest case dates back to 1964 that of the CPI. A breakaway group approached the ECI in December 1964 urging it to recognise them as CPI (Marxist). This faction provided ECI with a list of MPs and MLAs of Andhra Pradesh, Kerala and West Bengal who supported them. The ECI recognised the faction as CPI (M) after it found that the votes secured by the MPs and MLAs supporting the breakaway group added up to more than 4% in the 3 states. 1968 - CONGRESS: One of the most high-profile symbol cases was that of the Congress. Indira Gandhi's tensions with a rival group within the party came to a head on May 3, 1969. Indira Gandhi was expelled from the Congress and the party split into two. The old Congress (O) was led by Nijalingappa and the "new" Congress (J) was led by Indira. The "old" Congress was assigned the party symbol of a pair of bullocks carrying a yoke by the election commission, while the breakaway faction was given the symbol of a cow with its calf. The commission recognised both the Congress (O) as well as the breakaway faction whose president was Jagjivan Ram. The Congress (O) had a substantial presence in some states and satisfied the criteria fixed for recognition of parties under Paras 6 and 7 of the Symbols Order. 2017 - AIADMK: In 2017, after the death of former Chief Minister, J Jayalalithaa, a battle broke out between O Panneerselvam and VK Sasikala factions, with both staking claim to the party symbol. After hearing both the parties the Election Commission issued an interim order freezing the 'two leaves' election symbol of AIADMK. ECI's order meant that both the rival camps could use the party symbol or its name for then-upcoming prestigious R K Nagar assembly bypoll. Later, the commission allotted the AIADMK's "two leaves" symbol to the Panneerselvam-Palaniswami combine, after they proved that they enjoyed a majority in the party's legislative and organisational wings. 2021 - LJP: After the passing away of former Union minister Ram Vilas Paswan in 2020, a fight to control the party (Lok Janshankti Party) broke out between Chirag Paswan and his uncle Pashupati Kumar Paras. Chirag Paswan wrote to the Election Commission to claim that the party's 'bungalow' election symbol in 2021 before the bypolls to Bihar's Kusheshwar Asthan (Darbhanga) and Tarapur (Munger) assembly seats. The commission froze the election symbol of the Lok Janshakti Party (LJP), and prevented either of the two factions of the party from fighting on it. The EC allotted a helicopter symbol to Chirag Paswan's Lok Janshakti Party (Ram Vilas) and a sewing machine symbol to the Pashupati Paras-led faction, the Rashtriya Lok Janshakti Party. So what happens in the case of Shiv Sena? We will have to wait and watch. Sources in Election Commission have told India Today TV that neither of the Sena factions has yet approached the body staking claiming to iconic bow and arrow symbol.
english
Testosterone, the male reproductive hormone not only impacts sperm production in men but also plays an important role in overall well-being. Testosterone in women is considerably lower and is produced in their ovaries. During adolescence, testosterone levels are high and they start declining between 30 and 50 years of age. In addition to this, there are various other factors like nutrition, lifestyle, stress, etc. that impact testosterone levels. Maintaining healthy testosterone levels is imperative for the growth of muscle mass, red blood cell production, healthy weight management, and above all, sperm production and adequate sex drive. If managing testosterone levels is the issue, then follow some simple guidelines. Stay away from foods that decrease testosterone, include exercise and relaxation techniques in your daily routine, and experience the change. You will no longer complain of fatigue, low sex drive, lack of focus, or inability to enjoy family time. Which are the Foods That Decrease Testosterone? Testosterone in men influences sperm production. Low testosterone levels in men lead to a decline in sperm production that has a direct impact on their fertility. It can also affect their sex drive and may result in erectile dysfunction as well. In women, however, testosterone does not interfere with their fertility as they require very low levels of testosterone to maintain good health as it promotes bone mass, growth and maintenance. Given below is a list of foods that you should avoid in your diet to maintain healthy testosterone levels: Studies have shown that full-fat dairy products contribute greatly to low testosterone levels. Follicle-stimulating hormones (FSH) and Luteinizing hormone (LH) aid your testes to synthesise testosterone. Gonadotropin-releasing hormones (GnRH) are needed for the release of FSH and LH. Oestrogen and progesterone present in cow’s milk inhibit GnRH which results in the decline of testosterone production. A 2010 study has supported this finding. Soybean meal forms a major portion of animal feed which increases the likelihood of cow’s milk containing higher quantities of oestrogen. If you still need to include dairy products in your diet, then you can go for low-fat or skimmed milk fortified with Vitamin D which is good for testosterone production. Licorice root is a sweetener that is used in candies and beverages. Besides, it is also used to treat chronic pains and lasting coughs. Studies have shown that liquorice root influences hormonal levels especially, testosterone levels. It is found to reduce testosterone levels both in men and women. Soy and soy products are rich sources of high-quality protein and contain all the essential amino acids. It is one of the plant-based foods that provide quality protein similar to animal foods. Though you can derive various health benefits from soy and soy products, consumption of soy products like tofu, edamame, miso, and soy milk can negatively impact testosterone levels. Soy and soy products contain isoflavones in high quantities which are similar to the female hormone, oestrogen. Soy products activate oestrogen receptors and result in a decrease in testosterone levels. They also contain phytoestrogens that function similarly to oestrogen and affect hormonal levels, including testosterone. Low testosterone levels in men impact sexual function, sperm production, muscle growth and strength, and body physique. Soy products also contain polyunsaturated fats, which on regular consumption, can lower testosterone levels. However, more research is required to confirm the findings. Peppermint and spearmint are found in chocolates, toothpaste, medicines, etc. Constant ingestion of mint has been found to reduce testosterone levels. Studies have shown that mint, more particularly, spearmint, causes free radical damage to testis cells by sparking oxidative stress. This damage, in turn, reduces the production of the follicle-stimulating and luteinising hormones that play a key role in sperm production. Eliminate this product from your diet which is one of the foods that decrease testosterone levels as a preventive measure. Flaxseeds are a powerhouse of vitamins, minerals, fibre, and healthy fats. They are also rich in omega-3 fatty acids which are known to provide an array of health benefits. But it also contains omega-6 which causes a decline in testosterone levels which is not so healthy for men. Flaxseeds also contain high amounts of lignans, plant compounds, that bind to testosterone and get them excreted from the body. Studies have shown that a decrease in testosterone levels in men and women is linked to the regular consumption of flaxseeds. While a glass of wine with dinner is considered a healthy inclusion, overdoing alcohol consumption can affect testosterone levels. Sertoli cells aid the production of sperm. Excessive alcohol consumption inhibits the functioning of these cells and reduces the production of sperm. It also reduces the release of FSH and LSH, the reproductive hormones. In all, it affects male fertility. Regular consumption of alcohol increases the production of oestrogen, the female hormone, which works inversely to testosterone. As a result, a decrease in male fertility, sex drive, etc. can occur. There are mixed results in the studies conducted on the effect of alcohol on testosterone levels. Some studies have indicated depletion in testosterone levels while other studies have indicated an increase in testosterone levels. However, more research is required to ascertain the dosage of alcohol that can affect testosterone levels in humans. Some processed foods contain trans-fats in addition to being high in calories, sodium, and added sugar. Various ill effects like heart issues, inflammation, and type 2 diabetes are a contribution of trans-fats which are unhealthy fats. Studies have indicated that the intake of trans-fats results in a decline in testosterone levels. A comparative study between men who consumed trans-fats and the ones who did not show a decline in testosterone levels of up to 15% and up to 37% in sperm count as well as a decrease in testicular volume in men who consumed trans-fats. A decrease in testicular volume adversely affected the testicular function. Nuts are wholesome foods that provide an array of health benefits. However, studies have shown that several nuts like almonds, walnuts, and pistachios reduce testosterone levels. They increase the production of sex hormone-binding globulin which reduces testosterone levels. It also binds with testosterone, lowers its secretion and inhibits its functions. Nuts are a rich source of phytosterols that aids heart health. However, phytosterols reduce the production of testosterone. In addition, nuts have high PUFA content which is also responsible for lowering testosterone levels. Nuts also contain a variety of fats. The intake of nuts in moderation will not harm you. Consumption of vegetable oils can result in multiple health issues and lowering the production of testosterone is one of them. Refined vegetable oils contain high polyunsaturated fatty acids that lower testosterone levels. Vegetable oils also stimulate the production of free radicals that cause oxidative damage to cells. Diseases like obesity, diabetes, and heart issues are all linked to free radical cell damage. Testosterone synthesis is affected by diabetes and obesity. Also, vegetable oils contain omega-3 fatty and omega-6 fatty acids. Omega-3 provides an array of health benefits whereas omega-6 impairs the function of the testes. They also minimise testosterone synthesis. These factors make the consumption of vegetable oil unhealthy for testosterone levels. Testosterone is the prime reproductive male hormone. Various factors contribute to a decline in testosterone levels. Low testosterone levels can have serious repercussions like low sperm count, a decline in muscle mass and strength, and a lack of sex drive. A decline in testosterone levels can lead to infertility in men. All these issues can be averted through dietary and lifestyle changes. Eliminate the foods that decrease testosterone levels and substitute them with foods that boost testosterone levels in your diet, include regular exercise in your daily routine as well as incorporate a healthy lifestyle to maintain your testosterone levels in a healthy range. Q. Do eggs decrease testosterone levels? No. Omega-3, protein, vitamin D, and cholesterol aid in increasing testosterone levels. Eggs, especially egg yolks are rich sources of all these nutrients that influence the production of testosterone. There is no specification as to how many eggs should be consumed in a day. But including eggs in your diet will promote testosterone production and help maintain healthy testosterone levels. Q. Do bananas lower testosterone levels? No. On the contrary, bananas are loaded with vitamins and minerals including magnesium which boosts the production of testosterone. You will be depriving yourself of all these essential vitamins and minerals that aid in testosterone production if you exclude bananas from your diet.
english
package org.penemunxt.communication; public interface INXTCommunicationDataFactories { public INXTCommunicationDataFactory getDataInFactory(); public INXTCommunicationDataFactory getDataOutFactory(); }
java
from django.shortcuts import render from django.http import HttpResponse from .models import Listing import requests import json # Create your views here. def index(request): listings = Listing.objects.all() context = { 'listings' : listings } return render(request, 'listings/listings.html', context) def listing(request,listing_id): return render(request, 'listings/listing.html') def search(request): return render(request, 'listings/search.html')
python
<reponame>XPRIZE/glexp-usage-standardization {"946891785064":{"type":"book open","bookName":"Epic%20Quest","subjectName":"school","fName":"users/<KEY>"}}
json
package service.handler; import java.io.DataInputStream; import java.io.DataOutputStream; import java.io.File; import java.io.IOException; import java.net.DatagramPacket; import java.net.Socket; import java.security.SignatureException; import java.security.interfaces.RSAPublicKey; import java.util.Arrays; import java.util.Map; import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.locks.ReentrantLock; import java.util.logging.Level; import java.util.logging.Logger; import message.intuitive_bidding.*; import service.Config; import service.HashingChainTable; import service.Key; import service.KeyManager; import utility.Utils; /** * * @author Scott */ public class IntuitiveBiddingHandler extends ConnectionHandler { public static final File ATTESTATION; public static final Logger LOGGER; private static final Map<Integer, Integer> PRICE_TABLE; private static final HashingChainTable HASHING_CHAIN_TABLE; private static final ReentrantLock LOCK; static { ATTESTATION = new File(Config.ATTESTATION_DIR_PATH + "/service-provider/intuitive-bidding"); LOGGER = Logger.getLogger(BiddingHandler.class.getName()); PRICE_TABLE = new ConcurrentHashMap<>(); HASHING_CHAIN_TABLE = new HashingChainTable(); LOCK = new ReentrantLock(); } public IntuitiveBiddingHandler(DatagramPacket datagramPacket, Key key) { super(datagramPacket, key); } @Override protected void handle(DataOutputStream out, DataInputStream in) throws SignatureException, IllegalAccessException { throw new UnsupportedOperationException("Not supported yet."); } @Override protected void handle(DatagramPacket datagramPacket) throws SignatureException { KeyManager keyManager = KeyManager.getInstance(); RSAPublicKey clientPubKey = (RSAPublicKey) keyManager.getPublicKey(Key.CLIENT); byte[] reqBytes = Arrays.copyOf(datagramPacket.getData(), datagramPacket.getLength()); Request req = new Request(new String(reqBytes), clientPubKey); String chainHash = null; LOCK.lock(); try { String itemId = req.getItemId().toString(); System.out.format("received: itemId=%2d, userId=%s, price=%s\n", req.getItemId(), req.getUserId(), req.getPrice()); chainHash = HASHING_CHAIN_TABLE.getLastChainHash(itemId); HASHING_CHAIN_TABLE.chain(itemId, Utils.digest(req.toString())); } finally { LOCK.unlock(); } int currentPrice = PRICE_TABLE.getOrDefault(req.getItemId(), 0); int bidderPrice = Integer.decode(req.getPrice()); boolean bidSuccess = bidderPrice > currentPrice; if (bidSuccess) { PRICE_TABLE.put(req.getItemId(), bidderPrice); } System.out.format("decrypted price: %d, now highest price is %d\n", bidderPrice, Math.max(bidderPrice, currentPrice)); Acknowledgement ack = new Acknowledgement(chainHash, bidSuccess, req); ack.sign(keyPair, keyInfo); try (Socket s = new Socket(datagramPacket.getAddress(), req.getPort()); DataOutputStream out = new DataOutputStream(s.getOutputStream()); DataInputStream in = new DataInputStream(s.getInputStream())) { Utils.send(out, ack.toString()); } catch (IOException ex) { LOGGER.log(Level.SEVERE, null, ex); } } }
java
As I've said before: No one's ever "here" anymore. Everyone's always "there," sucked away from their immediate surroundings by one of those ubiquitous handheld Internet devices that overpower our attention like some other-world wizard. I'd like to think that her screen activity was of critical importance because, get this: She couldn't swim! But alas -- and this is complete fabrication (and stereotype) on my part -- at the time she stepped into thin air, she was probably reading something along the lines of "OMG! I can't believe Miley's new hairdo!" Once she hit the Australian water, maybe she found a page that explains how to float on one's back, because that's what the non-swimmer was doing when police yanked her into a speedboat about 20 minutes later, alive and well. She was still holding onto her phone. More Facebook and social media obsessions:
english
VIKRAMA SAMVAT :No record of the early period dated in the Virkama Samvat has so far been discovered. But the Samvat 811 used in the fragmentary stone inscription of Ranakeshari at Govindapur in the Nayagarh Sub-division can be reckoned as Vikrama Samvat on astronomical grounds, because Magha Shukla, Ekadashi fell on Wednesday, when the Vikrama Samvat 811 was current. It cannot be taken as Saka Era as it was unknown in Orissa before the 11th century. This solitary use of the Vikrama Samvat was due to the influence of the Maukharis of Magadha (who introduced this era in some of their records) with whom Rana Kesari, the younger brother of Mahashivagupta Balarjuna was connected by matrimonial alliance. BHAUMA SAMVAT :The rulers of the Bhauma dynasty, who were very powerful and ruled over a territory extending from the Mahendra mountain in the south to the Ganga in the north dated their grants in an Era, which was simply called. Samvat. The earliest Samvat so far known as Samvat 54 and last Samvat is 198. Though it does not bear the name of the dynasty like the contemporary Ganga Era, stiil it has been accepted by the scholars as an Era introduced by the Bhauma sovereign rulers. This was not only used by the Bhaumas, but also by their vassal chieftains like the Bhanja and the Nanda kings that ruled in the hilly tracts of Orissa and the Gangas of Shvetaka (Chikiti area) in Ganjam. The last year of this Era is 198, which is found in the two grants of Shatru Bhanja. In almost all the grants of the Bhauma family,the years of this era have been expressed in numerical symbols, whereas in the few latest records dated in this era we find the use of decimal figures. The initial year of this era which has been tentatively accepted as 736 A. D. may be pushed back by some years. SHAKA ERA :Shaka Era which has been used through out Orissa for the last few centuries, and has been recently accepted as the National Era of Free India was unknown in this State before the eleveth century. One of the earliest known inscriptions where the Shaka year is used in the Mandasa grants of Ananta Varman "Sriman Ananta Varma Devasya rajye Shakabda Nava shataka sapta rasa mata" (28). This term has been interpreted as 913 Shaka year by. some scholars and 976 by others, of which the second seems more plausible. From the time of Vajrahasta Deva (1038-1070 A. D.) the dating of records in the Shaka year became a common feature. Another important innovation which was introduced in the epigraphic records of the Gangas from the eleventh century is the use of different terms in place of numerical figures. The following verse recording the exact time of coronation of Vajrahasta Deva as found up till now in seven copper plate grants issued during his reign is important as it mentions the 'lagna' along with the solar month, the lunar tithi and the Shaka year expressed in words, e. g. "वियतुनिधिसंख्यां याति शाकाव्दसंघे दिनकर वृषभस्थे रोहिणीभे सुलग्ने धनुपिच सितपक्षे सूर्यवारे तृतीया yfa uncuftát cfug` disfufaæa: 11 The Shaka year in the above verse is Viyat (O), Ritu (6) Nidhi (9) or 960 calculated from right to left according to the rule. This is perhaps the earliest mention of the Shaka year as well as of the "Lagna" in an epigraphic record of this period. In a record of the same king we find (30) "Aja Giri NidhiSakabdare" where the word 'Aja' is used for the one, giri' neans 7 and 'Nidhi' means 9 (nine). According to the rule of calculation of figures from right to left the term means 971 Shaka year. In another grant of the same ruler Kara Muni Nidhi Shakabda (31) has been used instead of 982 Shaka year. This mode of expressing the authors of the figures by means of words also became very popular with works on Jyotisha during the succeeding centuries. YUGÄBDA :Up till now the earliest use of Yugabda has been found in a single royal grant e. g., the Polasara plates of Arkeshvaradeva (32), who was a chieftain of the Hingulakataka or Hinjilikatu in Ganjam. This was issued in Yugabda 4248 or 4348 which corresponds to 1147 or 1247 A. D. The earliest work of Orissa. so far known in which both 'Shakabda ' and Yugabda have been used in the 'Bhasvati' by Shatananda Acharya of Purushottama or Puri. In the first verse he has used the Shaka era, e. g. 'नत्वा मुरारे श्चरणारविन्दं gítategaiaz gfa afuz: ai urzaat fnatgarGATE शाके विहोने शशिपक्षकैः ।” This work was begun in Shaka year Shashi (1), Paksha (2), Kha (0) Eka (1) or 1021, which corresponds to 1099 A. D. The time of its completion is calculated in Yugabda in the last verse of this work, e. g., 'खखाश्विवेदे प्रमिते युगादे दिव्योक्तितः श्रीपुरुषोत्तमस्थः श्रीमान् शतानन्द इतीदमाह सरस्वतीशङ्करयो स्तनुजः || Thus the time of completion was Yugabda Kha (0) Ashvi (2) and Veda (4) or 4200 Yuga year, the corresponding year of which in the Christiar era is 1099 A. D. (33), The Kaliyuga year is still universally used in the horoscopes written through out Orissa. ANKA SRĀHI : The regnal years of the rulers of Orissa were being calculated in Anka Shrahi method in which the numbers 1 and 6 & all numbers ending with (6) and (0) except 10 were omitted at the time of calculatian. Thus if the Anka year is 50 the actual regnal years will be (41) as the numbers 1, 6, 16, 20, 26, 30, 36, 40, 46 will not be counted. Notable feature of this is the counting of the Anka year always from Bhadra, Shukla Dvadashi of the lunar year, which is called 'Sunia'. But in case of coronation of a king on some day before the 'Sunia' day Bhadra Shukla Dwadashi" his second Anka will be counted from that date preceding the 'Sunia' of the year and his third Anka will be reckoned from the 'Sunia' day of the year. Consequently it may so happen that in a lunar year
english
/* ==UserStyle== @name AnonIB Fresh @namespace USO Archive @author aka hateradio @description `Note: After the change to a new image board type, I'm not sure if this theme will work anymore.A complete overhaul of the AnonIB style, suited for almost any board!Fixed bug that wouldn't show images.` @version 20090102.2.36 @license NO-REDISTRIBUTION @preprocessor uso ==/UserStyle== */ @namespace url(http://www.w3.org/1999/xhtml); @-moz-document domain("anonib.com") { /* MISC */ /* Made by HofR 2008 */ /* Cascading Style Sheet */ div center { display: none; } div[style$="black;"] { border: 0px !important; } div[style$="black;"] center { display: block } td[width="140"], td[width="140"] + td { display: none; } hr { border: 1px dotted #999999 } .firstimg { margin-right: 6px !important; } html, body, #boardbg { background: #E1E1DB !important; font-size: 13px; } .boxy { background: transparent !important; border: 0 !important; } .bigboxy, .imgboxy, .greenboxy, #text { border: 1px solid #AAA !important; background: #cccdc3 !important; } #text { -moz-border-radius-topleft: 0px !important; } .cutrep, .cutthreadpost { width: 650px !important; } #indexbox { display: inline !important; margin: 5px !important; } .hideThreadIcon { padding:6px; float: right; font-family: "Courier New", Courier, monospace; } #threadpostarea { border: 1px solid #d1d1c9 !important; background: #d1d1c9 !important; -moz-border-radius-topleft: 8px; -moz-border-radius-topright: 8px; } #postarea { border: 1px solid #d1d1c9 !important; -moz-border-radius-bottomleft: 8px; -moz-border-radius-bottomright: 8px; height: 230px !important } #subarea, #returnbar { background: #cccdc3 !important; -moz-border-radius-bottomleft: 8px; -moz-border-radius-bottomright: 8px; border: 0 !important; font-size: 14px; text-align: center } #subarea { display: block !important; margin-bottom: 12px } #indexbox, #linkShowHide { background: #E1E1DB !important; border: 0 !important; } #boxy { border: 0 !important; font-size: 13px } /* BOARDS */ body[class^="bodyBoard"] > div > div { -moz-border-radius:0px; } body > div > div, .replycopy { background: #cccdc3 !important; -moz-border-radius:5px; padding: 4px !important; font-size: 12px } body > div > div[id^="t"] { -moz-border-radius:5px !important; } #subarea { display: block !important; margin-bottom: 12px } body > div > div:after { content: ""; display: block; height: 4px; clear: both; } /* IMG LINKS */ .imgbox a:link img, .imgbox a:visited img, .firstimg a:link img, .firstimg a:visited img { -moz-border-radius:2px; border: 4px solid #888 !important; padding: 0px; margin-top:4px; } .imgbox a:hover img, .imgbox a:visited:hover img, .firstimg a:hover img, .firstimg a:visited:hover img { border: 4px solid #62A8AF !important; padding: 0px; margin-top:4px; } /* BODY / TEXT / LINK */ body { font-family: Arial, Verdana, Helvetica; background: #E1E1DB !important; color: #232323 } .filesizemain { font-family: "Courier New", Courier, monospace; font-size: 12px } .reply, .theText, .imgboxy, .bigboxy, .greenboxy, .rules { font-size: 12px; } #treplytext { font-size: 12px; padding-bottom: 4px; } a:link, a:visited { color:#006699 !important; text-decoration: none; } #boxy a:hover, #boxy a:visited:hover, a:hover, a:visited:hover { color:#D1213C !important; } #boxy a:hover, #boxy a:visited:hover { background: transparent !important; } .postername { color: #4B8F08 !important } .threadtitle { color: #555 !important } /* NEW COLOR */ #indexbox, #returnbar, #postarea, #threadpostarea, #threadpostareatop, .reply, #nothread, #linkShowHide { background: #d1d1c9 !important; } form .postinput .cbox { background-color:#EFEFEF !important; } form .postblock, td.postinput, form .postblock { background:#EFEFEF !important; border: 1px solid #EFEFEF !important } form input, form textarea, form select { background: #CCCCCC !important; color: #333 !important; border: 1px solid #666666 !important; } /* END */ }
css
<filename>app/alerts.service.ts import {Injectable} from '@angular/core'; import {AlertComponent} from 'ng2-bootstrap/ng2-bootstrap'; @Injectable() export class Alerts { public alerts: Array<Object> = []; public showAlert(msg:string): void { // ng2-bootstrap bug: will only display initial object, once dismissed will not display again // work-around: create array and continually push/splice to keep array.length==1 this.alerts.push({ msg: msg, type: 'warning' }); this.alerts.splice(0, this.alerts.length - 1); } };
typescript
Mangalore: Shekar P. , a research student of St Aloysius Advanced Research Centre, Mangalore has been awarded Ph. D. in Economics for his thesis “New Technology and Labour Utilisation in Agriculture: An Empirical Study in Ramanagara District in Karnataka State” by Tumkur University. He was successfully guided by Dr Norbert Lobo, Head of the Department of Economics, St Aloysius College (Autonomous), Mangalore.
english
- 51 min ago 5 Best Microwave Ovens For Your Kitchen: Deals To Consider As Amazon Sale 2023 Is Nearing! - Movies Mammootty And Yusuff Ali's Epic London Encounter Sets Social Media Ablaze! - Travel Have you been to Vishveshwaraya Falls in Mandya yet? If not, this is the best time! Woman Forgot Her Baby And The Plane Was Forced To Fly Back! What is the worst thing that can happen to you when you fly? Boarding a flight with kids can be a tedious job, but what happens if you forget your child itself before boarding the flight? Sounds crazy right? But this is what happened in this case where a woman realised that she had left her child at the airport and insisted that the flight go back to the airport as she wanted to be reunited with her child! The Woman Realised Mid-air She Forgot Her Child! This bizarre incident of a woman forgetting her child happened in the flight from Jeddah in Saudi Arabia to Kuala Lumpur in Malaysia. A video of the audio recording of the baffled air control operators speaking in the Arabic language was released where the air control operators were heard asking the pilot for a reason for their return. The airport staff were trying to establish the protocol for such a scenario. The air traffic staff insisted the pilot confirm the story, to which the pilot replied, "We told you, a passenger left her baby in the terminal and refuses to continue the flight. " The Flight Flew Back! After the confirmation, the plane was guided to return to King Abdul Aziz International Airport where the mum was able to reunite with her child. - pulse\"Reckless Driver\" Who Struck Cars In Walmart Parking Lot Is - A Dog! - pulseBritish Man Catches Goldfish World's Largest Goldfish Weighing 30 Kilos; Pics! - pulseMeet Kimiko Nishimoto, The Insta-Granny Whose Photoshop Skills Are Outta This World; Pics! - pulseDid You Know That Your Financial Status Affects Your Sleep?
english
<filename>main.py from sudoku import Sudoku def main(): s = Sudoku.parse( ''' ------------- | |2 | | | | 6 |4 3| | | 5| 7 | ------------- | 7 | 2|8 | |51 | 4|9 | | 9| 3| | ------------- | | 9| | | 2| | 98| | 83|1 |2 | ------------- ''' ) print(s) print(s.solve()) if __name__ == '__main__': main()
python
# Generated from JavaLexer.g4 by ANTLR 4.9.3 from antlr4 import * from io import StringIO import sys if sys.version_info[1] > 5: from typing import TextIO else: from typing.io import TextIO def serializedATN(): with StringIO() as buf: buf.write("\3\u608b\ua72a\u8133\ub9ed\u417c\u3be7\u7786\u5964\2\u0082") buf.write("\u045a\b\1\4\2\t\2\4\3\t\3\4\4\t\4\4\5\t\5\4\6\t\6\4\7") buf.write("\t\7\4\b\t\b\4\t\t\t\4\n\t\n\4\13\t\13\4\f\t\f\4\r\t\r") buf.write("\4\16\t\16\4\17\t\17\4\20\t\20\4\21\t\21\4\22\t\22\4\23") buf.write("\t\23\4\24\t\24\4\25\t\25\4\26\t\26\4\27\t\27\4\30\t\30") buf.write("\4\31\t\31\4\32\t\32\4\33\t\33\4\34\t\34\4\35\t\35\4\36") buf.write("\t\36\4\37\t\37\4 \t \4!\t!\4\"\t\"\4#\t#\4$\t$\4%\t%") buf.write("\4&\t&\4\'\t\'\4(\t(\4)\t)\4*\t*\4+\t+\4,\t,\4-\t-\4.") buf.write("\t.\4/\t/\4\60\t\60\4\61\t\61\4\62\t\62\4\63\t\63\4\64") buf.write("\t\64\4\65\t\65\4\66\t\66\4\67\t\67\48\t8\49\t9\4:\t:") buf.write("\4;\t;\4<\t<\4=\t=\4>\t>\4?\t?\4@\t@\4A\tA\4B\tB\4C\t") buf.write("C\4D\tD\4E\tE\4F\tF\4G\tG\4H\tH\4I\tI\4J\tJ\4K\tK\4L\t") buf.write("L\4M\tM\4N\tN\4O\tO\4P\tP\4Q\tQ\4R\tR\4S\tS\4T\tT\4U\t") buf.write("U\4V\tV\4W\tW\4X\tX\4Y\tY\4Z\tZ\4[\t[\4\\\t\\\4]\t]\4") buf.write("^\t^\4_\t_\4`\t`\4a\ta\4b\tb\4c\tc\4d\td\4e\te\4f\tf\4") buf.write("g\tg\4h\th\4i\ti\4j\tj\4k\tk\4l\tl\4m\tm\4n\tn\4o\to\4") buf.write("p\tp\4q\tq\4r\tr\4s\ts\4t\tt\4u\tu\4v\tv\4w\tw\4x\tx\4") buf.write("y\ty\4z\tz\4{\t{\4|\t|\4}\t}\4~\t~\4\177\t\177\4\u0080") buf.write("\t\u0080\4\u0081\t\u0081\4\u0082\t\u0082\4\u0083\t\u0083") buf.write("\4\u0084\t\u0084\4\u0085\t\u0085\4\u0086\t\u0086\4\u0087") buf.write("\t\u0087\4\u0088\t\u0088\3\2\3\2\3\2\3\2\3\2\3\2\3\2\3") buf.write("\2\3\2\3\3\3\3\3\3\3\3\3\3\3\3\3\3\3\4\3\4\3\4\3\4\3\4") buf.write("\3\4\3\4\3\4\3\5\3\5\3\5\3\5\3\5\3\5\3\6\3\6\3\6\3\6\3") buf.write("\6\3\7\3\7\3\7\3\7\3\7\3\b\3\b\3\b\3\b\3\b\3\b\3\t\3\t") buf.write("\3\t\3\t\3\t\3\n\3\n\3\n\3\n\3\n\3\n\3\13\3\13\3\13\3") buf.write("\13\3\13\3\13\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\f\3\r") buf.write("\3\r\3\r\3\r\3\r\3\r\3\r\3\r\3\16\3\16\3\16\3\17\3\17") buf.write("\3\17\3\17\3\17\3\17\3\17\3\20\3\20\3\20\3\20\3\20\3\21") buf.write("\3\21\3\21\3\21\3\21\3\22\3\22\3\22\3\22\3\22\3\22\3\22") buf.write("\3\22\3\23\3\23\3\23\3\23\3\23\3\23\3\24\3\24\3\24\3\24") buf.write("\3\24\3\24\3\24\3\24\3\25\3\25\3\25\3\25\3\25\3\25\3\26") buf.write("\3\26\3\26\3\26\3\27\3\27\3\27\3\30\3\30\3\30\3\30\3\30") buf.write("\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31\3\31") buf.write("\3\32\3\32\3\32\3\32\3\32\3\32\3\32\3\33\3\33\3\33\3\33") buf.write("\3\33\3\33\3\33\3\33\3\33\3\33\3\33\3\34\3\34\3\34\3\34") buf.write("\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\35\3\36") buf.write("\3\36\3\36\3\36\3\36\3\37\3\37\3\37\3\37\3\37\3\37\3\37") buf.write("\3 \3 \3 \3 \3!\3!\3!\3!\3!\3!\3!\3!\3\"\3\"\3\"\3\"\3") buf.write("\"\3\"\3\"\3\"\3#\3#\3#\3#\3#\3#\3#\3#\3#\3#\3$\3$\3$") buf.write("\3$\3$\3$\3$\3%\3%\3%\3%\3%\3%\3%\3&\3&\3&\3&\3&\3&\3") buf.write("\'\3\'\3\'\3\'\3\'\3\'\3\'\3(\3(\3(\3(\3(\3(\3(\3(\3(") buf.write("\3)\3)\3)\3)\3)\3)\3*\3*\3*\3*\3*\3*\3*\3+\3+\3+\3+\3") buf.write("+\3+\3+\3+\3+\3+\3+\3+\3+\3,\3,\3,\3,\3,\3-\3-\3-\3-\3") buf.write("-\3-\3.\3.\3.\3.\3.\3.\3.\3/\3/\3/\3/\3/\3/\3/\3/\3/\3") buf.write("/\3\60\3\60\3\60\3\60\3\61\3\61\3\61\3\61\3\61\3\62\3") buf.write("\62\3\62\3\62\3\62\3\62\3\62\3\62\3\62\3\63\3\63\3\63") buf.write("\3\63\3\63\3\63\3\64\3\64\3\64\3\64\3\64\3\64\3\64\3\65") buf.write("\3\65\3\65\3\65\3\65\3\66\3\66\3\66\3\66\3\66\3\66\3\66") buf.write("\3\66\3\66\3\67\3\67\3\67\3\67\3\67\3\67\3\67\3\67\38") buf.write("\38\38\38\38\38\39\39\39\3:\3:\3:\3:\3:\3;\3;\3;\3;\3") buf.write(";\3;\3;\3;\3;\3<\3<\3<\3<\3<\3=\3=\3=\3=\3=\3=\3=\3=\3") buf.write("=\3=\3=\3>\3>\3>\3>\3?\3?\3?\3?\3?\3?\3@\3@\3@\3@\3@\3") buf.write("@\3@\3A\3A\3A\3A\3A\3A\3A\3B\3B\3B\3B\3B\3B\3B\3B\3C\3") buf.write("C\3C\3C\3C\3C\3C\3C\3C\3C\3C\3D\3D\3D\5D\u02d7\nD\3D\6") buf.write("D\u02da\nD\rD\16D\u02db\3D\5D\u02df\nD\5D\u02e1\nD\3D") buf.write("\5D\u02e4\nD\3E\3E\3E\3E\7E\u02ea\nE\fE\16E\u02ed\13E") buf.write("\3E\5E\u02f0\nE\3E\5E\u02f3\nE\3F\3F\7F\u02f7\nF\fF\16") buf.write("F\u02fa\13F\3F\3F\7F\u02fe\nF\fF\16F\u0301\13F\3F\5F\u0304") buf.write("\nF\3F\5F\u0307\nF\3G\3G\3G\3G\7G\u030d\nG\fG\16G\u0310") buf.write("\13G\3G\5G\u0313\nG\3G\5G\u0316\nG\3H\3H\3H\5H\u031b\n") buf.write("H\3H\3H\5H\u031f\nH\3H\5H\u0322\nH\3H\5H\u0325\nH\3H\3") buf.write("H\3H\5H\u032a\nH\3H\5H\u032d\nH\5H\u032f\nH\3I\3I\3I\3") buf.write("I\5I\u0335\nI\3I\5I\u0338\nI\3I\3I\5I\u033c\nI\3I\3I\5") buf.write("I\u0340\nI\3I\3I\5I\u0344\nI\3J\3J\3J\3J\3J\3J\3J\3J\3") buf.write("J\5J\u034f\nJ\3K\3K\3K\5K\u0354\nK\3K\3K\3L\3L\3L\7L\u035b") buf.write("\nL\fL\16L\u035e\13L\3L\3L\3M\3M\3M\3M\3M\7M\u0367\nM") buf.write("\fM\16M\u036a\13M\3M\3M\3M\7M\u036f\nM\fM\16M\u0372\13") buf.write("M\3M\3M\3M\3M\3N\3N\3N\3N\3N\3O\3O\3P\3P\3Q\3Q\3R\3R\3") buf.write("S\3S\3T\3T\3U\3U\3V\3V\3W\3W\3X\3X\3Y\3Y\3Z\3Z\3[\3[\3") buf.write("\\\3\\\3]\3]\3^\3^\3_\3_\3_\3`\3`\3`\3a\3a\3a\3b\3b\3") buf.write("b\3c\3c\3c\3d\3d\3d\3e\3e\3e\3f\3f\3f\3g\3g\3h\3h\3i\3") buf.write("i\3j\3j\3k\3k\3l\3l\3m\3m\3n\3n\3o\3o\3o\3p\3p\3p\3q\3") buf.write("q\3q\3r\3r\3r\3s\3s\3s\3t\3t\3t\3u\3u\3u\3v\3v\3v\3w\3") buf.write("w\3w\3w\3x\3x\3x\3x\3y\3y\3y\3y\3y\3z\3z\3z\3{\3{\3{\3") buf.write("|\3|\3}\3}\3}\3}\3~\6~\u03f7\n~\r~\16~\u03f8\3~\3~\3\177") buf.write("\3\177\3\177\3\177\7\177\u0401\n\177\f\177\16\177\u0404") buf.write("\13\177\3\177\3\177\3\177\3\177\3\177\3\u0080\3\u0080") buf.write("\3\u0080\3\u0080\7\u0080\u040f\n\u0080\f\u0080\16\u0080") buf.write("\u0412\13\u0080\3\u0080\3\u0080\3\u0081\3\u0081\7\u0081") buf.write("\u0418\n\u0081\f\u0081\16\u0081\u041b\13\u0081\3\u0082") buf.write("\3\u0082\5\u0082\u041f\n\u0082\3\u0082\3\u0082\3\u0083") buf.write("\3\u0083\3\u0083\3\u0083\5\u0083\u0427\n\u0083\3\u0083") buf.write("\5\u0083\u042a\n\u0083\3\u0083\3\u0083\3\u0083\6\u0083") buf.write("\u042f\n\u0083\r\u0083\16\u0083\u0430\3\u0083\3\u0083") buf.write("\3\u0083\3\u0083\3\u0083\5\u0083\u0438\n\u0083\3\u0084") buf.write("\3\u0084\3\u0084\7\u0084\u043d\n\u0084\f\u0084\16\u0084") buf.write("\u0440\13\u0084\3\u0084\5\u0084\u0443\n\u0084\3\u0085") buf.write("\3\u0085\3\u0086\3\u0086\7\u0086\u0449\n\u0086\f\u0086") buf.write("\16\u0086\u044c\13\u0086\3\u0086\5\u0086\u044f\n\u0086") buf.write("\3\u0087\3\u0087\5\u0087\u0453\n\u0087\3\u0088\3\u0088") buf.write("\3\u0088\3\u0088\5\u0088\u0459\n\u0088\4\u0370\u0402\2") buf.write("\u0089\3\3\5\4\7\5\t\6\13\7\r\b\17\t\21\n\23\13\25\f\27") buf.write("\r\31\16\33\17\35\20\37\21!\22#\23%\24\'\25)\26+\27-\30") buf.write("/\31\61\32\63\33\65\34\67\359\36;\37= ?!A\"C#E$G%I&K\'") buf.write("M(O)Q*S+U,W-Y.[/]\60_\61a\62c\63e\64g\65i\66k\67m8o9q") buf.write(":s;u<w=y>{?}@\177A\u0081B\u0083C\u0085D\u0087E\u0089F") buf.write("\u008bG\u008dH\u008fI\u0091J\u0093K\u0095L\u0097M\u0099") buf.write("N\u009bO\u009dP\u009fQ\u00a1R\u00a3S\u00a5T\u00a7U\u00a9") buf.write("V\u00abW\u00adX\u00afY\u00b1Z\u00b3[\u00b5\\\u00b7]\u00b9") buf.write("^\u00bb_\u00bd`\u00bfa\u00c1b\u00c3c\u00c5d\u00c7e\u00c9") buf.write("f\u00cbg\u00cdh\u00cfi\u00d1j\u00d3k\u00d5l\u00d7m\u00d9") buf.write("n\u00dbo\u00ddp\u00dfq\u00e1r\u00e3s\u00e5t\u00e7u\u00e9") buf.write("v\u00ebw\u00edx\u00efy\u00f1z\u00f3{\u00f5|\u00f7}\u00f9") buf.write("~\u00fb\177\u00fd\u0080\u00ff\u0081\u0101\u0082\u0103") buf.write("\2\u0105\2\u0107\2\u0109\2\u010b\2\u010d\2\u010f\2\3\2") buf.write("\35\3\2\63;\4\2NNnn\4\2ZZzz\5\2\62;CHch\6\2\62;CHaach") buf.write("\3\2\629\4\2\629aa\4\2DDdd\3\2\62\63\4\2\62\63aa\6\2F") buf.write("FHHffhh\4\2RRrr\4\2--//\6\2\f\f\17\17))^^\6\2\f\f\17\17") buf.write("$$^^\4\2\13\13\"\"\4\2\f\f\17\17\5\2\13\f\16\17\"\"\4") buf.write("\2GGgg\n\2$$))^^ddhhppttvv\3\2\62\65\3\2\62;\4\2\62;a") buf.write("a\6\2&&C\\aac|\4\2\2\u0081\ud802\udc01\3\2\ud802\udc01") buf.write("\3\2\udc02\ue001\2\u0486\2\3\3\2\2\2\2\5\3\2\2\2\2\7\3") buf.write("\2\2\2\2\t\3\2\2\2\2\13\3\2\2\2\2\r\3\2\2\2\2\17\3\2\2") buf.write("\2\2\21\3\2\2\2\2\23\3\2\2\2\2\25\3\2\2\2\2\27\3\2\2\2") buf.write("\2\31\3\2\2\2\2\33\3\2\2\2\2\35\3\2\2\2\2\37\3\2\2\2\2") buf.write("!\3\2\2\2\2#\3\2\2\2\2%\3\2\2\2\2\'\3\2\2\2\2)\3\2\2\2") buf.write("\2+\3\2\2\2\2-\3\2\2\2\2/\3\2\2\2\2\61\3\2\2\2\2\63\3") buf.write("\2\2\2\2\65\3\2\2\2\2\67\3\2\2\2\29\3\2\2\2\2;\3\2\2\2") buf.write("\2=\3\2\2\2\2?\3\2\2\2\2A\3\2\2\2\2C\3\2\2\2\2E\3\2\2") buf.write("\2\2G\3\2\2\2\2I\3\2\2\2\2K\3\2\2\2\2M\3\2\2\2\2O\3\2") buf.write("\2\2\2Q\3\2\2\2\2S\3\2\2\2\2U\3\2\2\2\2W\3\2\2\2\2Y\3") buf.write("\2\2\2\2[\3\2\2\2\2]\3\2\2\2\2_\3\2\2\2\2a\3\2\2\2\2c") buf.write("\3\2\2\2\2e\3\2\2\2\2g\3\2\2\2\2i\3\2\2\2\2k\3\2\2\2\2") buf.write("m\3\2\2\2\2o\3\2\2\2\2q\3\2\2\2\2s\3\2\2\2\2u\3\2\2\2") buf.write("\2w\3\2\2\2\2y\3\2\2\2\2{\3\2\2\2\2}\3\2\2\2\2\177\3\2") buf.write("\2\2\2\u0081\3\2\2\2\2\u0083\3\2\2\2\2\u0085\3\2\2\2\2") buf.write("\u0087\3\2\2\2\2\u0089\3\2\2\2\2\u008b\3\2\2\2\2\u008d") buf.write("\3\2\2\2\2\u008f\3\2\2\2\2\u0091\3\2\2\2\2\u0093\3\2\2") buf.write("\2\2\u0095\3\2\2\2\2\u0097\3\2\2\2\2\u0099\3\2\2\2\2\u009b") buf.write("\3\2\2\2\2\u009d\3\2\2\2\2\u009f\3\2\2\2\2\u00a1\3\2\2") buf.write("\2\2\u00a3\3\2\2\2\2\u00a5\3\2\2\2\2\u00a7\3\2\2\2\2\u00a9") buf.write("\3\2\2\2\2\u00ab\3\2\2\2\2\u00ad\3\2\2\2\2\u00af\3\2\2") buf.write("\2\2\u00b1\3\2\2\2\2\u00b3\3\2\2\2\2\u00b5\3\2\2\2\2\u00b7") buf.write("\3\2\2\2\2\u00b9\3\2\2\2\2\u00bb\3\2\2\2\2\u00bd\3\2\2") buf.write("\2\2\u00bf\3\2\2\2\2\u00c1\3\2\2\2\2\u00c3\3\2\2\2\2\u00c5") buf.write("\3\2\2\2\2\u00c7\3\2\2\2\2\u00c9\3\2\2\2\2\u00cb\3\2\2") buf.write("\2\2\u00cd\3\2\2\2\2\u00cf\3\2\2\2\2\u00d1\3\2\2\2\2\u00d3") buf.write("\3\2\2\2\2\u00d5\3\2\2\2\2\u00d7\3\2\2\2\2\u00d9\3\2\2") buf.write("\2\2\u00db\3\2\2\2\2\u00dd\3\2\2\2\2\u00df\3\2\2\2\2\u00e1") buf.write("\3\2\2\2\2\u00e3\3\2\2\2\2\u00e5\3\2\2\2\2\u00e7\3\2\2") buf.write("\2\2\u00e9\3\2\2\2\2\u00eb\3\2\2\2\2\u00ed\3\2\2\2\2\u00ef") buf.write("\3\2\2\2\2\u00f1\3\2\2\2\2\u00f3\3\2\2\2\2\u00f5\3\2\2") buf.write("\2\2\u00f7\3\2\2\2\2\u00f9\3\2\2\2\2\u00fb\3\2\2\2\2\u00fd") buf.write("\3\2\2\2\2\u00ff\3\2\2\2\2\u0101\3\2\2\2\3\u0111\3\2\2") buf.write("\2\5\u011a\3\2\2\2\7\u0121\3\2\2\2\t\u0129\3\2\2\2\13") buf.write("\u012f\3\2\2\2\r\u0134\3\2\2\2\17\u0139\3\2\2\2\21\u013f") buf.write("\3\2\2\2\23\u0144\3\2\2\2\25\u014a\3\2\2\2\27\u0150\3") buf.write("\2\2\2\31\u0159\3\2\2\2\33\u0161\3\2\2\2\35\u0164\3\2") buf.write("\2\2\37\u016b\3\2\2\2!\u0170\3\2\2\2#\u0175\3\2\2\2%\u017d") buf.write("\3\2\2\2\'\u0183\3\2\2\2)\u018b\3\2\2\2+\u0191\3\2\2\2") buf.write("-\u0195\3\2\2\2/\u0198\3\2\2\2\61\u019d\3\2\2\2\63\u01a8") buf.write("\3\2\2\2\65\u01af\3\2\2\2\67\u01ba\3\2\2\29\u01be\3\2") buf.write("\2\2;\u01c8\3\2\2\2=\u01cd\3\2\2\2?\u01d4\3\2\2\2A\u01d8") buf.write("\3\2\2\2C\u01e0\3\2\2\2E\u01e8\3\2\2\2G\u01f2\3\2\2\2") buf.write("I\u01f9\3\2\2\2K\u0200\3\2\2\2M\u0206\3\2\2\2O\u020d\3") buf.write("\2\2\2Q\u0216\3\2\2\2S\u021c\3\2\2\2U\u0223\3\2\2\2W\u0230") buf.write("\3\2\2\2Y\u0235\3\2\2\2[\u023b\3\2\2\2]\u0242\3\2\2\2") buf.write("_\u024c\3\2\2\2a\u0250\3\2\2\2c\u0255\3\2\2\2e\u025e\3") buf.write("\2\2\2g\u0264\3\2\2\2i\u026b\3\2\2\2k\u0270\3\2\2\2m\u0279") buf.write("\3\2\2\2o\u0281\3\2\2\2q\u0287\3\2\2\2s\u028a\3\2\2\2") buf.write("u\u028f\3\2\2\2w\u0298\3\2\2\2y\u029d\3\2\2\2{\u02a8\3") buf.write("\2\2\2}\u02ac\3\2\2\2\177\u02b2\3\2\2\2\u0081\u02b9\3") buf.write("\2\2\2\u0083\u02c0\3\2\2\2\u0085\u02c8\3\2\2\2\u0087\u02e0") buf.write("\3\2\2\2\u0089\u02e5\3\2\2\2\u008b\u02f4\3\2\2\2\u008d") buf.write("\u0308\3\2\2\2\u008f\u032e\3\2\2\2\u0091\u0330\3\2\2\2") buf.write("\u0093\u034e\3\2\2\2\u0095\u0350\3\2\2\2\u0097\u0357\3") buf.write("\2\2\2\u0099\u0361\3\2\2\2\u009b\u0377\3\2\2\2\u009d\u037c") buf.write("\3\2\2\2\u009f\u037e\3\2\2\2\u00a1\u0380\3\2\2\2\u00a3") buf.write("\u0382\3\2\2\2\u00a5\u0384\3\2\2\2\u00a7\u0386\3\2\2\2") buf.write("\u00a9\u0388\3\2\2\2\u00ab\u038a\3\2\2\2\u00ad\u038c\3") buf.write("\2\2\2\u00af\u038e\3\2\2\2\u00b1\u0390\3\2\2\2\u00b3\u0392") buf.write("\3\2\2\2\u00b5\u0394\3\2\2\2\u00b7\u0396\3\2\2\2\u00b9") buf.write("\u0398\3\2\2\2\u00bb\u039a\3\2\2\2\u00bd\u039c\3\2\2\2") buf.write("\u00bf\u039f\3\2\2\2\u00c1\u03a2\3\2\2\2\u00c3\u03a5\3") buf.write("\2\2\2\u00c5\u03a8\3\2\2\2\u00c7\u03ab\3\2\2\2\u00c9\u03ae") buf.write("\3\2\2\2\u00cb\u03b1\3\2\2\2\u00cd\u03b4\3\2\2\2\u00cf") buf.write("\u03b6\3\2\2\2\u00d1\u03b8\3\2\2\2\u00d3\u03ba\3\2\2\2") buf.write("\u00d5\u03bc\3\2\2\2\u00d7\u03be\3\2\2\2\u00d9\u03c0\3") buf.write("\2\2\2\u00db\u03c2\3\2\2\2\u00dd\u03c4\3\2\2\2\u00df\u03c7") buf.write("\3\2\2\2\u00e1\u03ca\3\2\2\2\u00e3\u03cd\3\2\2\2\u00e5") buf.write("\u03d0\3\2\2\2\u00e7\u03d3\3\2\2\2\u00e9\u03d6\3\2\2\2") buf.write("\u00eb\u03d9\3\2\2\2\u00ed\u03dc\3\2\2\2\u00ef\u03e0\3") buf.write("\2\2\2\u00f1\u03e4\3\2\2\2\u00f3\u03e9\3\2\2\2\u00f5\u03ec") buf.write("\3\2\2\2\u00f7\u03ef\3\2\2\2\u00f9\u03f1\3\2\2\2\u00fb") buf.write("\u03f6\3\2\2\2\u00fd\u03fc\3\2\2\2\u00ff\u040a\3\2\2\2") buf.write("\u0101\u0415\3\2\2\2\u0103\u041c\3\2\2\2\u0105\u0437\3") buf.write("\2\2\2\u0107\u0439\3\2\2\2\u0109\u0444\3\2\2\2\u010b\u0446") buf.write("\3\2\2\2\u010d\u0452\3\2\2\2\u010f\u0458\3\2\2\2\u0111") buf.write("\u0112\7c\2\2\u0112\u0113\7d\2\2\u0113\u0114\7u\2\2\u0114") buf.write("\u0115\7v\2\2\u0115\u0116\7t\2\2\u0116\u0117\7c\2\2\u0117") buf.write("\u0118\7e\2\2\u0118\u0119\7v\2\2\u0119\4\3\2\2\2\u011a") buf.write("\u011b\7c\2\2\u011b\u011c\7u\2\2\u011c\u011d\7u\2\2\u011d") buf.write("\u011e\7g\2\2\u011e\u011f\7t\2\2\u011f\u0120\7v\2\2\u0120") buf.write("\6\3\2\2\2\u0121\u0122\7d\2\2\u0122\u0123\7q\2\2\u0123") buf.write("\u0124\7q\2\2\u0124\u0125\7n\2\2\u0125\u0126\7g\2\2\u0126") buf.write("\u0127\7c\2\2\u0127\u0128\7p\2\2\u0128\b\3\2\2\2\u0129") buf.write("\u012a\7d\2\2\u012a\u012b\7t\2\2\u012b\u012c\7g\2\2\u012c") buf.write("\u012d\7c\2\2\u012d\u012e\7m\2\2\u012e\n\3\2\2\2\u012f") buf.write("\u0130\7d\2\2\u0130\u0131\7{\2\2\u0131\u0132\7v\2\2\u0132") buf.write("\u0133\7g\2\2\u0133\f\3\2\2\2\u0134\u0135\7e\2\2\u0135") buf.write("\u0136\7c\2\2\u0136\u0137\7u\2\2\u0137\u0138\7g\2\2\u0138") buf.write("\16\3\2\2\2\u0139\u013a\7e\2\2\u013a\u013b\7c\2\2\u013b") buf.write("\u013c\7v\2\2\u013c\u013d\7e\2\2\u013d\u013e\7j\2\2\u013e") buf.write("\20\3\2\2\2\u013f\u0140\7e\2\2\u0140\u0141\7j\2\2\u0141") buf.write("\u0142\7c\2\2\u0142\u0143\7t\2\2\u0143\22\3\2\2\2\u0144") buf.write("\u0145\7e\2\2\u0145\u0146\7n\2\2\u0146\u0147\7c\2\2\u0147") buf.write("\u0148\7u\2\2\u0148\u0149\7u\2\2\u0149\24\3\2\2\2\u014a") buf.write("\u014b\7e\2\2\u014b\u014c\7q\2\2\u014c\u014d\7p\2\2\u014d") buf.write("\u014e\7u\2\2\u014e\u014f\7v\2\2\u014f\26\3\2\2\2\u0150") buf.write("\u0151\7e\2\2\u0151\u0152\7q\2\2\u0152\u0153\7p\2\2\u0153") buf.write("\u0154\7v\2\2\u0154\u0155\7k\2\2\u0155\u0156\7p\2\2\u0156") buf.write("\u0157\7w\2\2\u0157\u0158\7g\2\2\u0158\30\3\2\2\2\u0159") buf.write("\u015a\7f\2\2\u015a\u015b\7g\2\2\u015b\u015c\7h\2\2\u015c") buf.write("\u015d\7c\2\2\u015d\u015e\7w\2\2\u015e\u015f\7n\2\2\u015f") buf.write("\u0160\7v\2\2\u0160\32\3\2\2\2\u0161\u0162\7f\2\2\u0162") buf.write("\u0163\7q\2\2\u0163\34\3\2\2\2\u0164\u0165\7f\2\2\u0165") buf.write("\u0166\7q\2\2\u0166\u0167\7w\2\2\u0167\u0168\7d\2\2\u0168") buf.write("\u0169\7n\2\2\u0169\u016a\7g\2\2\u016a\36\3\2\2\2\u016b") buf.write("\u016c\7g\2\2\u016c\u016d\7n\2\2\u016d\u016e\7u\2\2\u016e") buf.write("\u016f\7g\2\2\u016f \3\2\2\2\u0170\u0171\7g\2\2\u0171") buf.write("\u0172\7p\2\2\u0172\u0173\7w\2\2\u0173\u0174\7o\2\2\u0174") buf.write("\"\3\2\2\2\u0175\u0176\7g\2\2\u0176\u0177\7z\2\2\u0177") buf.write("\u0178\7v\2\2\u0178\u0179\7g\2\2\u0179\u017a\7p\2\2\u017a") buf.write("\u017b\7f\2\2\u017b\u017c\7u\2\2\u017c$\3\2\2\2\u017d") buf.write("\u017e\7h\2\2\u017e\u017f\7k\2\2\u017f\u0180\7p\2\2\u0180") buf.write("\u0181\7c\2\2\u0181\u0182\7n\2\2\u0182&\3\2\2\2\u0183") buf.write("\u0184\7h\2\2\u0184\u0185\7k\2\2\u0185\u0186\7p\2\2\u0186") buf.write("\u0187\7c\2\2\u0187\u0188\7n\2\2\u0188\u0189\7n\2\2\u0189") buf.write("\u018a\7{\2\2\u018a(\3\2\2\2\u018b\u018c\7h\2\2\u018c") buf.write("\u018d\7n\2\2\u018d\u018e\7q\2\2\u018e\u018f\7c\2\2\u018f") buf.write("\u0190\7v\2\2\u0190*\3\2\2\2\u0191\u0192\7h\2\2\u0192") buf.write("\u0193\7q\2\2\u0193\u0194\7t\2\2\u0194,\3\2\2\2\u0195") buf.write("\u0196\7k\2\2\u0196\u0197\7h\2\2\u0197.\3\2\2\2\u0198") buf.write("\u0199\7i\2\2\u0199\u019a\7q\2\2\u019a\u019b\7v\2\2\u019b") buf.write("\u019c\7q\2\2\u019c\60\3\2\2\2\u019d\u019e\7k\2\2\u019e") buf.write("\u019f\7o\2\2\u019f\u01a0\7r\2\2\u01a0\u01a1\7n\2\2\u01a1") buf.write("\u01a2\7g\2\2\u01a2\u01a3\7o\2\2\u01a3\u01a4\7g\2\2\u01a4") buf.write("\u01a5\7p\2\2\u01a5\u01a6\7v\2\2\u01a6\u01a7\7u\2\2\u01a7") buf.write("\62\3\2\2\2\u01a8\u01a9\7k\2\2\u01a9\u01aa\7o\2\2\u01aa") buf.write("\u01ab\7r\2\2\u01ab\u01ac\7q\2\2\u01ac\u01ad\7t\2\2\u01ad") buf.write("\u01ae\7v\2\2\u01ae\64\3\2\2\2\u01af\u01b0\7k\2\2\u01b0") buf.write("\u01b1\7p\2\2\u01b1\u01b2\7u\2\2\u01b2\u01b3\7v\2\2\u01b3") buf.write("\u01b4\7c\2\2\u01b4\u01b5\7p\2\2\u01b5\u01b6\7e\2\2\u01b6") buf.write("\u01b7\7g\2\2\u01b7\u01b8\7q\2\2\u01b8\u01b9\7h\2\2\u01b9") buf.write("\66\3\2\2\2\u01ba\u01bb\7k\2\2\u01bb\u01bc\7p\2\2\u01bc") buf.write("\u01bd\7v\2\2\u01bd8\3\2\2\2\u01be\u01bf\7k\2\2\u01bf") buf.write("\u01c0\7p\2\2\u01c0\u01c1\7v\2\2\u01c1\u01c2\7g\2\2\u01c2") buf.write("\u01c3\7t\2\2\u01c3\u01c4\7h\2\2\u01c4\u01c5\7c\2\2\u01c5") buf.write("\u01c6\7e\2\2\u01c6\u01c7\7g\2\2\u01c7:\3\2\2\2\u01c8") buf.write("\u01c9\7n\2\2\u01c9\u01ca\7q\2\2\u01ca\u01cb\7p\2\2\u01cb") buf.write("\u01cc\7i\2\2\u01cc<\3\2\2\2\u01cd\u01ce\7p\2\2\u01ce") buf.write("\u01cf\7c\2\2\u01cf\u01d0\7v\2\2\u01d0\u01d1\7k\2\2\u01d1") buf.write("\u01d2\7x\2\2\u01d2\u01d3\7g\2\2\u01d3>\3\2\2\2\u01d4") buf.write("\u01d5\7p\2\2\u01d5\u01d6\7g\2\2\u01d6\u01d7\7y\2\2\u01d7") buf.write("@\3\2\2\2\u01d8\u01d9\7r\2\2\u01d9\u01da\7c\2\2\u01da") buf.write("\u01db\7e\2\2\u01db\u01dc\7m\2\2\u01dc\u01dd\7c\2\2\u01dd") buf.write("\u01de\7i\2\2\u01de\u01df\7g\2\2\u01dfB\3\2\2\2\u01e0") buf.write("\u01e1\7r\2\2\u01e1\u01e2\7t\2\2\u01e2\u01e3\7k\2\2\u01e3") buf.write("\u01e4\7x\2\2\u01e4\u01e5\7c\2\2\u01e5\u01e6\7v\2\2\u01e6") buf.write("\u01e7\7g\2\2\u01e7D\3\2\2\2\u01e8\u01e9\7r\2\2\u01e9") buf.write("\u01ea\7t\2\2\u01ea\u01eb\7q\2\2\u01eb\u01ec\7v\2\2\u01ec") buf.write("\u01ed\7g\2\2\u01ed\u01ee\7e\2\2\u01ee\u01ef\7v\2\2\u01ef") buf.write("\u01f0\7g\2\2\u01f0\u01f1\7f\2\2\u01f1F\3\2\2\2\u01f2") buf.write("\u01f3\7r\2\2\u01f3\u01f4\7w\2\2\u01f4\u01f5\7d\2\2\u01f5") buf.write("\u01f6\7n\2\2\u01f6\u01f7\7k\2\2\u01f7\u01f8\7e\2\2\u01f8") buf.write("H\3\2\2\2\u01f9\u01fa\7t\2\2\u01fa\u01fb\7g\2\2\u01fb") buf.write("\u01fc\7v\2\2\u01fc\u01fd\7w\2\2\u01fd\u01fe\7t\2\2\u01fe") buf.write("\u01ff\7p\2\2\u01ffJ\3\2\2\2\u0200\u0201\7u\2\2\u0201") buf.write("\u0202\7j\2\2\u0202\u0203\7q\2\2\u0203\u0204\7t\2\2\u0204") buf.write("\u0205\7v\2\2\u0205L\3\2\2\2\u0206\u0207\7u\2\2\u0207") buf.write("\u0208\7v\2\2\u0208\u0209\7c\2\2\u0209\u020a\7v\2\2\u020a") buf.write("\u020b\7k\2\2\u020b\u020c\7e\2\2\u020cN\3\2\2\2\u020d") buf.write("\u020e\7u\2\2\u020e\u020f\7v\2\2\u020f\u0210\7t\2\2\u0210") buf.write("\u0211\7k\2\2\u0211\u0212\7e\2\2\u0212\u0213\7v\2\2\u0213") buf.write("\u0214\7h\2\2\u0214\u0215\7r\2\2\u0215P\3\2\2\2\u0216") buf.write("\u0217\7u\2\2\u0217\u0218\7w\2\2\u0218\u0219\7r\2\2\u0219") buf.write("\u021a\7g\2\2\u021a\u021b\7t\2\2\u021bR\3\2\2\2\u021c") buf.write("\u021d\7u\2\2\u021d\u021e\7y\2\2\u021e\u021f\7k\2\2\u021f") buf.write("\u0220\7v\2\2\u0220\u0221\7e\2\2\u0221\u0222\7j\2\2\u0222") buf.write("T\3\2\2\2\u0223\u0224\7u\2\2\u0224\u0225\7{\2\2\u0225") buf.write("\u0226\7p\2\2\u0226\u0227\7e\2\2\u0227\u0228\7j\2\2\u0228") buf.write("\u0229\7t\2\2\u0229\u022a\7q\2\2\u022a\u022b\7p\2\2\u022b") buf.write("\u022c\7k\2\2\u022c\u022d\7|\2\2\u022d\u022e\7g\2\2\u022e") buf.write("\u022f\7f\2\2\u022fV\3\2\2\2\u0230\u0231\7v\2\2\u0231") buf.write("\u0232\7j\2\2\u0232\u0233\7k\2\2\u0233\u0234\7u\2\2\u0234") buf.write("X\3\2\2\2\u0235\u0236\7v\2\2\u0236\u0237\7j\2\2\u0237") buf.write("\u0238\7t\2\2\u0238\u0239\7q\2\2\u0239\u023a\7y\2\2\u023a") buf.write("Z\3\2\2\2\u023b\u023c\7v\2\2\u023c\u023d\7j\2\2\u023d") buf.write("\u023e\7t\2\2\u023e\u023f\7q\2\2\u023f\u0240\7y\2\2\u0240") buf.write("\u0241\7u\2\2\u0241\\\3\2\2\2\u0242\u0243\7v\2\2\u0243") buf.write("\u0244\7t\2\2\u0244\u0245\7c\2\2\u0245\u0246\7p\2\2\u0246") buf.write("\u0247\7u\2\2\u0247\u0248\7k\2\2\u0248\u0249\7g\2\2\u0249") buf.write("\u024a\7p\2\2\u024a\u024b\7v\2\2\u024b^\3\2\2\2\u024c") buf.write("\u024d\7v\2\2\u024d\u024e\7t\2\2\u024e\u024f\7{\2\2\u024f") buf.write("`\3\2\2\2\u0250\u0251\7x\2\2\u0251\u0252\7q\2\2\u0252") buf.write("\u0253\7k\2\2\u0253\u0254\7f\2\2\u0254b\3\2\2\2\u0255") buf.write("\u0256\7x\2\2\u0256\u0257\7q\2\2\u0257\u0258\7n\2\2\u0258") buf.write("\u0259\7c\2\2\u0259\u025a\7v\2\2\u025a\u025b\7k\2\2\u025b") buf.write("\u025c\7n\2\2\u025c\u025d\7g\2\2\u025dd\3\2\2\2\u025e") buf.write("\u025f\7y\2\2\u025f\u0260\7j\2\2\u0260\u0261\7k\2\2\u0261") buf.write("\u0262\7n\2\2\u0262\u0263\7g\2\2\u0263f\3\2\2\2\u0264") buf.write("\u0265\7o\2\2\u0265\u0266\7q\2\2\u0266\u0267\7f\2\2\u0267") buf.write("\u0268\7w\2\2\u0268\u0269\7n\2\2\u0269\u026a\7g\2\2\u026a") buf.write("h\3\2\2\2\u026b\u026c\7q\2\2\u026c\u026d\7r\2\2\u026d") buf.write("\u026e\7g\2\2\u026e\u026f\7p\2\2\u026fj\3\2\2\2\u0270") buf.write("\u0271\7t\2\2\u0271\u0272\7g\2\2\u0272\u0273\7s\2\2\u0273") buf.write("\u0274\7w\2\2\u0274\u0275\7k\2\2\u0275\u0276\7t\2\2\u0276") buf.write("\u0277\7g\2\2\u0277\u0278\7u\2\2\u0278l\3\2\2\2\u0279") buf.write("\u027a\7g\2\2\u027a\u027b\7z\2\2\u027b\u027c\7r\2\2\u027c") buf.write("\u027d\7q\2\2\u027d\u027e\7t\2\2\u027e\u027f\7v\2\2\u027f") buf.write("\u0280\7u\2\2\u0280n\3\2\2\2\u0281\u0282\7q\2\2\u0282") buf.write("\u0283\7r\2\2\u0283\u0284\7g\2\2\u0284\u0285\7p\2\2\u0285") buf.write("\u0286\7u\2\2\u0286p\3\2\2\2\u0287\u0288\7v\2\2\u0288") buf.write("\u0289\7q\2\2\u0289r\3\2\2\2\u028a\u028b\7w\2\2\u028b") buf.write("\u028c\7u\2\2\u028c\u028d\7g\2\2\u028d\u028e\7u\2\2\u028e") buf.write("t\3\2\2\2\u028f\u0290\7r\2\2\u0290\u0291\7t\2\2\u0291") buf.write("\u0292\7q\2\2\u0292\u0293\7x\2\2\u0293\u0294\7k\2\2\u0294") buf.write("\u0295\7f\2\2\u0295\u0296\7g\2\2\u0296\u0297\7u\2\2\u0297") buf.write("v\3\2\2\2\u0298\u0299\7y\2\2\u0299\u029a\7k\2\2\u029a") buf.write("\u029b\7v\2\2\u029b\u029c\7j\2\2\u029cx\3\2\2\2\u029d") buf.write("\u029e\7v\2\2\u029e\u029f\7t\2\2\u029f\u02a0\7c\2\2\u02a0") buf.write("\u02a1\7p\2\2\u02a1\u02a2\7u\2\2\u02a2\u02a3\7k\2\2\u02a3") buf.write("\u02a4\7v\2\2\u02a4\u02a5\7k\2\2\u02a5\u02a6\7x\2\2\u02a6") buf.write("\u02a7\7g\2\2\u02a7z\3\2\2\2\u02a8\u02a9\7x\2\2\u02a9") buf.write("\u02aa\7c\2\2\u02aa\u02ab\7t\2\2\u02ab|\3\2\2\2\u02ac") buf.write("\u02ad\7{\2\2\u02ad\u02ae\7k\2\2\u02ae\u02af\7g\2\2\u02af") buf.write("\u02b0\7n\2\2\u02b0\u02b1\7f\2\2\u02b1~\3\2\2\2\u02b2") buf.write("\u02b3\7t\2\2\u02b3\u02b4\7g\2\2\u02b4\u02b5\7e\2\2\u02b5") buf.write("\u02b6\7q\2\2\u02b6\u02b7\7t\2\2\u02b7\u02b8\7f\2\2\u02b8") buf.write("\u0080\3\2\2\2\u02b9\u02ba\7u\2\2\u02ba\u02bb\7g\2\2\u02bb") buf.write("\u02bc\7c\2\2\u02bc\u02bd\7n\2\2\u02bd\u02be\7g\2\2\u02be") buf.write("\u02bf\7f\2\2\u02bf\u0082\3\2\2\2\u02c0\u02c1\7r\2\2\u02c1") buf.write("\u02c2\7g\2\2\u02c2\u02c3\7t\2\2\u02c3\u02c4\7o\2\2\u02c4") buf.write("\u02c5\7k\2\2\u02c5\u02c6\7v\2\2\u02c6\u02c7\7u\2\2\u02c7") buf.write("\u0084\3\2\2\2\u02c8\u02c9\7p\2\2\u02c9\u02ca\7q\2\2\u02ca") buf.write("\u02cb\7p\2\2\u02cb\u02cc\7/\2\2\u02cc\u02cd\7u\2\2\u02cd") buf.write("\u02ce\7g\2\2\u02ce\u02cf\7c\2\2\u02cf\u02d0\7n\2\2\u02d0") buf.write("\u02d1\7g\2\2\u02d1\u02d2\7f\2\2\u02d2\u0086\3\2\2\2\u02d3") buf.write("\u02e1\7\62\2\2\u02d4\u02de\t\2\2\2\u02d5\u02d7\5\u010b") buf.write("\u0086\2\u02d6\u02d5\3\2\2\2\u02d6\u02d7\3\2\2\2\u02d7") buf.write("\u02df\3\2\2\2\u02d8\u02da\7a\2\2\u02d9\u02d8\3\2\2\2") buf.write("\u02da\u02db\3\2\2\2\u02db\u02d9\3\2\2\2\u02db\u02dc\3") buf.write("\2\2\2\u02dc\u02dd\3\2\2\2\u02dd\u02df\5\u010b\u0086\2") buf.write("\u02de\u02d6\3\2\2\2\u02de\u02d9\3\2\2\2\u02df\u02e1\3") buf.write("\2\2\2\u02e0\u02d3\3\2\2\2\u02e0\u02d4\3\2\2\2\u02e1\u02e3") buf.write("\3\2\2\2\u02e2\u02e4\t\3\2\2\u02e3\u02e2\3\2\2\2\u02e3") buf.write("\u02e4\3\2\2\2\u02e4\u0088\3\2\2\2\u02e5\u02e6\7\62\2") buf.write("\2\u02e6\u02e7\t\4\2\2\u02e7\u02ef\t\5\2\2\u02e8\u02ea") buf.write("\t\6\2\2\u02e9\u02e8\3\2\2\2\u02ea\u02ed\3\2\2\2\u02eb") buf.write("\u02e9\3\2\2\2\u02eb\u02ec\3\2\2\2\u02ec\u02ee\3\2\2\2") buf.write("\u02ed\u02eb\3\2\2\2\u02ee\u02f0\t\5\2\2\u02ef\u02eb\3") buf.write("\2\2\2\u02ef\u02f0\3\2\2\2\u02f0\u02f2\3\2\2\2\u02f1\u02f3") buf.write("\t\3\2\2\u02f2\u02f1\3\2\2\2\u02f2\u02f3\3\2\2\2\u02f3") buf.write("\u008a\3\2\2\2\u02f4\u02f8\7\62\2\2\u02f5\u02f7\7a\2\2") buf.write("\u02f6\u02f5\3\2\2\2\u02f7\u02fa\3\2\2\2\u02f8\u02f6\3") buf.write("\2\2\2\u02f8\u02f9\3\2\2\2\u02f9\u02fb\3\2\2\2\u02fa\u02f8") buf.write("\3\2\2\2\u02fb\u0303\t\7\2\2\u02fc\u02fe\t\b\2\2\u02fd") buf.write("\u02fc\3\2\2\2\u02fe\u0301\3\2\2\2\u02ff\u02fd\3\2\2\2") buf.write("\u02ff\u0300\3\2\2\2\u0300\u0302\3\2\2\2\u0301\u02ff\3") buf.write("\2\2\2\u0302\u0304\t\7\2\2\u0303\u02ff\3\2\2\2\u0303\u0304") buf.write("\3\2\2\2\u0304\u0306\3\2\2\2\u0305\u0307\t\3\2\2\u0306") buf.write("\u0305\3\2\2\2\u0306\u0307\3\2\2\2\u0307\u008c\3\2\2\2") buf.write("\u0308\u0309\7\62\2\2\u0309\u030a\t\t\2\2\u030a\u0312") buf.write("\t\n\2\2\u030b\u030d\t\13\2\2\u030c\u030b\3\2\2\2\u030d") buf.write("\u0310\3\2\2\2\u030e\u030c\3\2\2\2\u030e\u030f\3\2\2\2") buf.write("\u030f\u0311\3\2\2\2\u0310\u030e\3\2\2\2\u0311\u0313\t") buf.write("\n\2\2\u0312\u030e\3\2\2\2\u0312\u0313\3\2\2\2\u0313\u0315") buf.write("\3\2\2\2\u0314\u0316\t\3\2\2\u0315\u0314\3\2\2\2\u0315") buf.write("\u0316\3\2\2\2\u0316\u008e\3\2\2\2\u0317\u0318\5\u010b") buf.write("\u0086\2\u0318\u031a\7\60\2\2\u0319\u031b\5\u010b\u0086") buf.write("\2\u031a\u0319\3\2\2\2\u031a\u031b\3\2\2\2\u031b\u031f") buf.write("\3\2\2\2\u031c\u031d\7\60\2\2\u031d\u031f\5\u010b\u0086") buf.write("\2\u031e\u0317\3\2\2\2\u031e\u031c\3\2\2\2\u031f\u0321") buf.write("\3\2\2\2\u0320\u0322\5\u0103\u0082\2\u0321\u0320\3\2\2") buf.write("\2\u0321\u0322\3\2\2\2\u0322\u0324\3\2\2\2\u0323\u0325") buf.write("\t\f\2\2\u0324\u0323\3\2\2\2\u0324\u0325\3\2\2\2\u0325") buf.write("\u032f\3\2\2\2\u0326\u032c\5\u010b\u0086\2\u0327\u0329") buf.write("\5\u0103\u0082\2\u0328\u032a\t\f\2\2\u0329\u0328\3\2\2") buf.write("\2\u0329\u032a\3\2\2\2\u032a\u032d\3\2\2\2\u032b\u032d") buf.write("\t\f\2\2\u032c\u0327\3\2\2\2\u032c\u032b\3\2\2\2\u032d") buf.write("\u032f\3\2\2\2\u032e\u031e\3\2\2\2\u032e\u0326\3\2\2\2") buf.write("\u032f\u0090\3\2\2\2\u0330\u0331\7\62\2\2\u0331\u033b") buf.write("\t\4\2\2\u0332\u0334\5\u0107\u0084\2\u0333\u0335\7\60") buf.write("\2\2\u0334\u0333\3\2\2\2\u0334\u0335\3\2\2\2\u0335\u033c") buf.write("\3\2\2\2\u0336\u0338\5\u0107\u0084\2\u0337\u0336\3\2\2") buf.write("\2\u0337\u0338\3\2\2\2\u0338\u0339\3\2\2\2\u0339\u033a") buf.write("\7\60\2\2\u033a\u033c\5\u0107\u0084\2\u033b\u0332\3\2") buf.write("\2\2\u033b\u0337\3\2\2\2\u033c\u033d\3\2\2\2\u033d\u033f") buf.write("\t\r\2\2\u033e\u0340\t\16\2\2\u033f\u033e\3\2\2\2\u033f") buf.write("\u0340\3\2\2\2\u0340\u0341\3\2\2\2\u0341\u0343\5\u010b") buf.write("\u0086\2\u0342\u0344\t\f\2\2\u0343\u0342\3\2\2\2\u0343") buf.write("\u0344\3\2\2\2\u0344\u0092\3\2\2\2\u0345\u0346\7v\2\2") buf.write("\u0346\u0347\7t\2\2\u0347\u0348\7w\2\2\u0348\u034f\7g") buf.write("\2\2\u0349\u034a\7h\2\2\u034a\u034b\7c\2\2\u034b\u034c") buf.write("\7n\2\2\u034c\u034d\7u\2\2\u034d\u034f\7g\2\2\u034e\u0345") buf.write("\3\2\2\2\u034e\u0349\3\2\2\2\u034f\u0094\3\2\2\2\u0350") buf.write("\u0353\7)\2\2\u0351\u0354\n\17\2\2\u0352\u0354\5\u0105") buf.write("\u0083\2\u0353\u0351\3\2\2\2\u0353\u0352\3\2\2\2\u0354") buf.write("\u0355\3\2\2\2\u0355\u0356\7)\2\2\u0356\u0096\3\2\2\2") buf.write("\u0357\u035c\7$\2\2\u0358\u035b\n\20\2\2\u0359\u035b\5") buf.write("\u0105\u0083\2\u035a\u0358\3\2\2\2\u035a\u0359\3\2\2\2") buf.write("\u035b\u035e\3\2\2\2\u035c\u035a\3\2\2\2\u035c\u035d\3") buf.write("\2\2\2\u035d\u035f\3\2\2\2\u035e\u035c\3\2\2\2\u035f\u0360") buf.write("\7$\2\2\u0360\u0098\3\2\2\2\u0361\u0362\7$\2\2\u0362\u0363") buf.write("\7$\2\2\u0363\u0364\7$\2\2\u0364\u0368\3\2\2\2\u0365\u0367") buf.write("\t\21\2\2\u0366\u0365\3\2\2\2\u0367\u036a\3\2\2\2\u0368") buf.write("\u0366\3\2\2\2\u0368\u0369\3\2\2\2\u0369\u036b\3\2\2\2") buf.write("\u036a\u0368\3\2\2\2\u036b\u0370\t\22\2\2\u036c\u036f") buf.write("\13\2\2\2\u036d\u036f\5\u0105\u0083\2\u036e\u036c\3\2") buf.write("\2\2\u036e\u036d\3\2\2\2\u036f\u0372\3\2\2\2\u0370\u0371") buf.write("\3\2\2\2\u0370\u036e\3\2\2\2\u0371\u0373\3\2\2\2\u0372") buf.write("\u0370\3\2\2\2\u0373\u0374\7$\2\2\u0374\u0375\7$\2\2\u0375") buf.write("\u0376\7$\2\2\u0376\u009a\3\2\2\2\u0377\u0378\7p\2\2\u0378") buf.write("\u0379\7w\2\2\u0379\u037a\7n\2\2\u037a\u037b\7n\2\2\u037b") buf.write("\u009c\3\2\2\2\u037c\u037d\7*\2\2\u037d\u009e\3\2\2\2") buf.write("\u037e\u037f\7+\2\2\u037f\u00a0\3\2\2\2\u0380\u0381\7") buf.write("}\2\2\u0381\u00a2\3\2\2\2\u0382\u0383\7\177\2\2\u0383") buf.write("\u00a4\3\2\2\2\u0384\u0385\7]\2\2\u0385\u00a6\3\2\2\2") buf.write("\u0386\u0387\7_\2\2\u0387\u00a8\3\2\2\2\u0388\u0389\7") buf.write("=\2\2\u0389\u00aa\3\2\2\2\u038a\u038b\7.\2\2\u038b\u00ac") buf.write("\3\2\2\2\u038c\u038d\7\60\2\2\u038d\u00ae\3\2\2\2\u038e") buf.write("\u038f\7?\2\2\u038f\u00b0\3\2\2\2\u0390\u0391\7@\2\2\u0391") buf.write("\u00b2\3\2\2\2\u0392\u0393\7>\2\2\u0393\u00b4\3\2\2\2") buf.write("\u0394\u0395\7#\2\2\u0395\u00b6\3\2\2\2\u0396\u0397\7") buf.write("\u0080\2\2\u0397\u00b8\3\2\2\2\u0398\u0399\7A\2\2\u0399") buf.write("\u00ba\3\2\2\2\u039a\u039b\7<\2\2\u039b\u00bc\3\2\2\2") buf.write("\u039c\u039d\7?\2\2\u039d\u039e\7?\2\2\u039e\u00be\3\2") buf.write("\2\2\u039f\u03a0\7>\2\2\u03a0\u03a1\7?\2\2\u03a1\u00c0") buf.write("\3\2\2\2\u03a2\u03a3\7@\2\2\u03a3\u03a4\7?\2\2\u03a4\u00c2") buf.write("\3\2\2\2\u03a5\u03a6\7#\2\2\u03a6\u03a7\7?\2\2\u03a7\u00c4") buf.write("\3\2\2\2\u03a8\u03a9\7(\2\2\u03a9\u03aa\7(\2\2\u03aa\u00c6") buf.write("\3\2\2\2\u03ab\u03ac\7~\2\2\u03ac\u03ad\7~\2\2\u03ad\u00c8") buf.write("\3\2\2\2\u03ae\u03af\7-\2\2\u03af\u03b0\7-\2\2\u03b0\u00ca") buf.write("\3\2\2\2\u03b1\u03b2\7/\2\2\u03b2\u03b3\7/\2\2\u03b3\u00cc") buf.write("\3\2\2\2\u03b4\u03b5\7-\2\2\u03b5\u00ce\3\2\2\2\u03b6") buf.write("\u03b7\7/\2\2\u03b7\u00d0\3\2\2\2\u03b8\u03b9\7,\2\2\u03b9") buf.write("\u00d2\3\2\2\2\u03ba\u03bb\7\61\2\2\u03bb\u00d4\3\2\2") buf.write("\2\u03bc\u03bd\7(\2\2\u03bd\u00d6\3\2\2\2\u03be\u03bf") buf.write("\7~\2\2\u03bf\u00d8\3\2\2\2\u03c0\u03c1\7`\2\2\u03c1\u00da") buf.write("\3\2\2\2\u03c2\u03c3\7\'\2\2\u03c3\u00dc\3\2\2\2\u03c4") buf.write("\u03c5\7-\2\2\u03c5\u03c6\7?\2\2\u03c6\u00de\3\2\2\2\u03c7") buf.write("\u03c8\7/\2\2\u03c8\u03c9\7?\2\2\u03c9\u00e0\3\2\2\2\u03ca") buf.write("\u03cb\7,\2\2\u03cb\u03cc\7?\2\2\u03cc\u00e2\3\2\2\2\u03cd") buf.write("\u03ce\7\61\2\2\u03ce\u03cf\7?\2\2\u03cf\u00e4\3\2\2\2") buf.write("\u03d0\u03d1\7(\2\2\u03d1\u03d2\7?\2\2\u03d2\u00e6\3\2") buf.write("\2\2\u03d3\u03d4\7~\2\2\u03d4\u03d5\7?\2\2\u03d5\u00e8") buf.write("\3\2\2\2\u03d6\u03d7\7`\2\2\u03d7\u03d8\7?\2\2\u03d8\u00ea") buf.write("\3\2\2\2\u03d9\u03da\7\'\2\2\u03da\u03db\7?\2\2\u03db") buf.write("\u00ec\3\2\2\2\u03dc\u03dd\7>\2\2\u03dd\u03de\7>\2\2\u03de") buf.write("\u03df\7?\2\2\u03df\u00ee\3\2\2\2\u03e0\u03e1\7@\2\2\u03e1") buf.write("\u03e2\7@\2\2\u03e2\u03e3\7?\2\2\u03e3\u00f0\3\2\2\2\u03e4") buf.write("\u03e5\7@\2\2\u03e5\u03e6\7@\2\2\u03e6\u03e7\7@\2\2\u03e7") buf.write("\u03e8\7?\2\2\u03e8\u00f2\3\2\2\2\u03e9\u03ea\7/\2\2\u03ea") buf.write("\u03eb\7@\2\2\u03eb\u00f4\3\2\2\2\u03ec\u03ed\7<\2\2\u03ed") buf.write("\u03ee\7<\2\2\u03ee\u00f6\3\2\2\2\u03ef\u03f0\7B\2\2\u03f0") buf.write("\u00f8\3\2\2\2\u03f1\u03f2\7\60\2\2\u03f2\u03f3\7\60\2") buf.write("\2\u03f3\u03f4\7\60\2\2\u03f4\u00fa\3\2\2\2\u03f5\u03f7") buf.write("\t\23\2\2\u03f6\u03f5\3\2\2\2\u03f7\u03f8\3\2\2\2\u03f8") buf.write("\u03f6\3\2\2\2\u03f8\u03f9\3\2\2\2\u03f9\u03fa\3\2\2\2") buf.write("\u03fa\u03fb\b~\2\2\u03fb\u00fc\3\2\2\2\u03fc\u03fd\7") buf.write("\61\2\2\u03fd\u03fe\7,\2\2\u03fe\u0402\3\2\2\2\u03ff\u0401") buf.write("\13\2\2\2\u0400\u03ff\3\2\2\2\u0401\u0404\3\2\2\2\u0402") buf.write("\u0403\3\2\2\2\u0402\u0400\3\2\2\2\u0403\u0405\3\2\2\2") buf.write("\u0404\u0402\3\2\2\2\u0405\u0406\7,\2\2\u0406\u0407\7") buf.write("\61\2\2\u0407\u0408\3\2\2\2\u0408\u0409\b\177\2\2\u0409") buf.write("\u00fe\3\2\2\2\u040a\u040b\7\61\2\2\u040b\u040c\7\61\2") buf.write("\2\u040c\u0410\3\2\2\2\u040d\u040f\n\22\2\2\u040e\u040d") buf.write("\3\2\2\2\u040f\u0412\3\2\2\2\u0410\u040e\3\2\2\2\u0410") buf.write("\u0411\3\2\2\2\u0411\u0413\3\2\2\2\u0412\u0410\3\2\2\2") buf.write("\u0413\u0414\b\u0080\2\2\u0414\u0100\3\2\2\2\u0415\u0419") buf.write("\5\u010f\u0088\2\u0416\u0418\5\u010d\u0087\2\u0417\u0416") buf.write("\3\2\2\2\u0418\u041b\3\2\2\2\u0419\u0417\3\2\2\2\u0419") buf.write("\u041a\3\2\2\2\u041a\u0102\3\2\2\2\u041b\u0419\3\2\2\2") buf.write("\u041c\u041e\t\24\2\2\u041d\u041f\t\16\2\2\u041e\u041d") buf.write("\3\2\2\2\u041e\u041f\3\2\2\2\u041f\u0420\3\2\2\2\u0420") buf.write("\u0421\5\u010b\u0086\2\u0421\u0104\3\2\2\2\u0422\u0423") buf.write("\7^\2\2\u0423\u0438\t\25\2\2\u0424\u0429\7^\2\2\u0425") buf.write("\u0427\t\26\2\2\u0426\u0425\3\2\2\2\u0426\u0427\3\2\2") buf.write("\2\u0427\u0428\3\2\2\2\u0428\u042a\t\7\2\2\u0429\u0426") buf.write("\3\2\2\2\u0429\u042a\3\2\2\2\u042a\u042b\3\2\2\2\u042b") buf.write("\u0438\t\7\2\2\u042c\u042e\7^\2\2\u042d\u042f\7w\2\2\u042e") buf.write("\u042d\3\2\2\2\u042f\u0430\3\2\2\2\u0430\u042e\3\2\2\2") buf.write("\u0430\u0431\3\2\2\2\u0431\u0432\3\2\2\2\u0432\u0433\5") buf.write("\u0109\u0085\2\u0433\u0434\5\u0109\u0085\2\u0434\u0435") buf.write("\5\u0109\u0085\2\u0435\u0436\5\u0109\u0085\2\u0436\u0438") buf.write("\3\2\2\2\u0437\u0422\3\2\2\2\u0437\u0424\3\2\2\2\u0437") buf.write("\u042c\3\2\2\2\u0438\u0106\3\2\2\2\u0439\u0442\5\u0109") buf.write("\u0085\2\u043a\u043d\5\u0109\u0085\2\u043b\u043d\7a\2") buf.write("\2\u043c\u043a\3\2\2\2\u043c\u043b\3\2\2\2\u043d\u0440") buf.write("\3\2\2\2\u043e\u043c\3\2\2\2\u043e\u043f\3\2\2\2\u043f") buf.write("\u0441\3\2\2\2\u0440\u043e\3\2\2\2\u0441\u0443\5\u0109") buf.write("\u0085\2\u0442\u043e\3\2\2\2\u0442\u0443\3\2\2\2\u0443") buf.write("\u0108\3\2\2\2\u0444\u0445\t\5\2\2\u0445\u010a\3\2\2\2") buf.write("\u0446\u044e\t\27\2\2\u0447\u0449\t\30\2\2\u0448\u0447") buf.write("\3\2\2\2\u0449\u044c\3\2\2\2\u044a\u0448\3\2\2\2\u044a") buf.write("\u044b\3\2\2\2\u044b\u044d\3\2\2\2\u044c\u044a\3\2\2\2") buf.write("\u044d\u044f\t\27\2\2\u044e\u044a\3\2\2\2\u044e\u044f") buf.write("\3\2\2\2\u044f\u010c\3\2\2\2\u0450\u0453\5\u010f\u0088") buf.write("\2\u0451\u0453\t\27\2\2\u0452\u0450\3\2\2\2\u0452\u0451") buf.write("\3\2\2\2\u0453\u010e\3\2\2\2\u0454\u0459\t\31\2\2\u0455") buf.write("\u0459\n\32\2\2\u0456\u0457\t\33\2\2\u0457\u0459\t\34") buf.write("\2\2\u0458\u0454\3\2\2\2\u0458\u0455\3\2\2\2\u0458\u0456") buf.write("\3\2\2\2\u0459\u0110\3\2\2\2\65\2\u02d6\u02db\u02de\u02e0") buf.write("\u02e3\u02eb\u02ef\u02f2\u02f8\u02ff\u0303\u0306\u030e") buf.write("\u0312\u0315\u031a\u031e\u0321\u0324\u0329\u032c\u032e") buf.write("\u0334\u0337\u033b\u033f\u0343\u034e\u0353\u035a\u035c") buf.write("\u0368\u036e\u0370\u03f8\u0402\u0410\u0419\u041e\u0426") buf.write("\u0429\u0430\u0437\u043c\u043e\u0442\u044a\u044e\u0452") buf.write("\u0458\3\2\3\2") return buf.getvalue() class JavaLexer(Lexer): atn = ATNDeserializer().deserialize(serializedATN()) decisionsToDFA = [ DFA(ds, i) for i, ds in enumerate(atn.decisionToState) ] ABSTRACT = 1 ASSERT = 2 BOOLEAN = 3 BREAK = 4 BYTE = 5 CASE = 6 CATCH = 7 CHAR = 8 CLASS = 9 CONST = 10 CONTINUE = 11 DEFAULT = 12 DO = 13 DOUBLE = 14 ELSE = 15 ENUM = 16 EXTENDS = 17 FINAL = 18 FINALLY = 19 FLOAT = 20 FOR = 21 IF = 22 GOTO = 23 IMPLEMENTS = 24 IMPORT = 25 INSTANCEOF = 26 INT = 27 INTERFACE = 28 LONG = 29 NATIVE = 30 NEW = 31 PACKAGE = 32 PRIVATE = 33 PROTECTED = 34 PUBLIC = 35 RETURN = 36 SHORT = 37 STATIC = 38 STRICTFP = 39 SUPER = 40 SWITCH = 41 SYNCHRONIZED = 42 THIS = 43 THROW = 44 THROWS = 45 TRANSIENT = 46 TRY = 47 VOID = 48 VOLATILE = 49 WHILE = 50 MODULE = 51 OPEN = 52 REQUIRES = 53 EXPORTS = 54 OPENS = 55 TO = 56 USES = 57 PROVIDES = 58 WITH = 59 TRANSITIVE = 60 VAR = 61 YIELD = 62 RECORD = 63 SEALED = 64 PERMITS = 65 NON_SEALED = 66 DECIMAL_LITERAL = 67 HEX_LITERAL = 68 OCT_LITERAL = 69 BINARY_LITERAL = 70 FLOAT_LITERAL = 71 HEX_FLOAT_LITERAL = 72 BOOL_LITERAL = 73 CHAR_LITERAL = 74 STRING_LITERAL = 75 TEXT_BLOCK = 76 NULL_LITERAL = 77 LPAREN = 78 RPAREN = 79 LBRACE = 80 RBRACE = 81 LBRACK = 82 RBRACK = 83 SEMI = 84 COMMA = 85 DOT = 86 ASSIGN = 87 GT = 88 LT = 89 BANG = 90 TILDE = 91 QUESTION = 92 COLON = 93 EQUAL = 94 LE = 95 GE = 96 NOTEQUAL = 97 AND = 98 OR = 99 INC = 100 DEC = 101 ADD = 102 SUB = 103 MUL = 104 DIV = 105 BITAND = 106 BITOR = 107 CARET = 108 MOD = 109 ADD_ASSIGN = 110 SUB_ASSIGN = 111 MUL_ASSIGN = 112 DIV_ASSIGN = 113 AND_ASSIGN = 114 OR_ASSIGN = 115 XOR_ASSIGN = 116 MOD_ASSIGN = 117 LSHIFT_ASSIGN = 118 RSHIFT_ASSIGN = 119 URSHIFT_ASSIGN = 120 ARROW = 121 COLONCOLON = 122 AT = 123 ELLIPSIS = 124 WS = 125 COMMENT = 126 LINE_COMMENT = 127 IDENTIFIER = 128 channelNames = [ u"DEFAULT_TOKEN_CHANNEL", u"HIDDEN" ] modeNames = [ "DEFAULT_MODE" ] literalNames = [ "<INVALID>", "'abstract'", "'assert'", "'boolean'", "'break'", "'byte'", "'case'", "'catch'", "'char'", "'class'", "'const'", "'continue'", "'default'", "'do'", "'double'", "'else'", "'enum'", "'extends'", "'final'", "'finally'", "'float'", "'for'", "'if'", "'goto'", "'implements'", "'import'", "'instanceof'", "'int'", "'interface'", "'long'", "'native'", "'new'", "'package'", "'private'", "'protected'", "'public'", "'return'", "'short'", "'static'", "'strictfp'", "'super'", "'switch'", "'synchronized'", "'this'", "'throw'", "'throws'", "'transient'", "'try'", "'void'", "'volatile'", "'while'", "'module'", "'open'", "'requires'", "'exports'", "'opens'", "'to'", "'uses'", "'provides'", "'with'", "'transitive'", "'var'", "'yield'", "'record'", "'sealed'", "'permits'", "'non-sealed'", "'null'", "'('", "')'", "'{'", "'}'", "'['", "']'", "';'", "','", "'.'", "'='", "'>'", "'<'", "'!'", "'~'", "'?'", "':'", "'=='", "'<='", "'>='", "'!='", "'&&'", "'||'", "'++'", "'--'", "'+'", "'-'", "'*'", "'/'", "'&'", "'|'", "'^'", "'%'", "'+='", "'-='", "'*='", "'/='", "'&='", "'|='", "'^='", "'%='", "'<<='", "'>>='", "'>>>='", "'->'", "'::'", "'@'", "'...'" ] symbolicNames = [ "<INVALID>", "ABSTRACT", "ASSERT", "BOOLEAN", "BREAK", "BYTE", "CASE", "CATCH", "CHAR", "CLASS", "CONST", "CONTINUE", "DEFAULT", "DO", "DOUBLE", "ELSE", "ENUM", "EXTENDS", "FINAL", "FINALLY", "FLOAT", "FOR", "IF", "GOTO", "IMPLEMENTS", "IMPORT", "INSTANCEOF", "INT", "INTERFACE", "LONG", "NATIVE", "NEW", "PACKAGE", "PRIVATE", "PROTECTED", "PUBLIC", "RETURN", "SHORT", "STATIC", "STRICTFP", "SUPER", "SWITCH", "SYNCHRONIZED", "THIS", "THROW", "THROWS", "TRANSIENT", "TRY", "VOID", "VOLATILE", "WHILE", "MODULE", "OPEN", "REQUIRES", "EXPORTS", "OPENS", "TO", "USES", "PROVIDES", "WITH", "TRANSITIVE", "VAR", "YIELD", "RECORD", "SEALED", "PERMITS", "NON_SEALED", "DECIMAL_LITERAL", "HEX_LITERAL", "OCT_LITERAL", "BINARY_LITERAL", "FLOAT_LITERAL", "HEX_FLOAT_LITERAL", "BOOL_LITERAL", "CHAR_LITERAL", "STRING_LITERAL", "TEXT_BLOCK", "NULL_LITERAL", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK", "SEMI", "COMMA", "DOT", "ASSIGN", "GT", "LT", "BANG", "TILDE", "QUESTION", "COLON", "EQUAL", "LE", "GE", "NOTEQUAL", "AND", "OR", "INC", "DEC", "ADD", "SUB", "MUL", "DIV", "BITAND", "BITOR", "CARET", "MOD", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "DIV_ASSIGN", "AND_ASSIGN", "OR_ASSIGN", "XOR_ASSIGN", "MOD_ASSIGN", "LSHIFT_ASSIGN", "RSHIFT_ASSIGN", "URSHIFT_ASSIGN", "ARROW", "COLONCOLON", "AT", "ELLIPSIS", "WS", "COMMENT", "LINE_COMMENT", "IDENTIFIER" ] ruleNames = [ "ABSTRACT", "ASSERT", "BOOLEAN", "BREAK", "BYTE", "CASE", "CATCH", "CHAR", "CLASS", "CONST", "CONTINUE", "DEFAULT", "DO", "DOUBLE", "ELSE", "ENUM", "EXTENDS", "FINAL", "FINALLY", "FLOAT", "FOR", "IF", "GOTO", "IMPLEMENTS", "IMPORT", "INSTANCEOF", "INT", "INTERFACE", "LONG", "NATIVE", "NEW", "PACKAGE", "PRIVATE", "PROTECTED", "PUBLIC", "RETURN", "SHORT", "STATIC", "STRICTFP", "SUPER", "SWITCH", "SYNCHRONIZED", "THIS", "THROW", "THROWS", "TRANSIENT", "TRY", "VOID", "VOLATILE", "WHILE", "MODULE", "OPEN", "REQUIRES", "EXPORTS", "OPENS", "TO", "USES", "PROVIDES", "WITH", "TRANSITIVE", "VAR", "YIELD", "RECORD", "SEALED", "PERMITS", "NON_SEALED", "DECIMAL_LITERAL", "HEX_LITERAL", "OCT_LITERAL", "BINARY_LITERAL", "FLOAT_LITERAL", "HEX_FLOAT_LITERAL", "BOOL_LITERAL", "CHAR_LITERAL", "STRING_LITERAL", "TEXT_BLOCK", "NULL_LITERAL", "LPAREN", "RPAREN", "LBRACE", "RBRACE", "LBRACK", "RBRACK", "SEMI", "COMMA", "DOT", "ASSIGN", "GT", "LT", "BANG", "TILDE", "QUESTION", "COLON", "EQUAL", "LE", "GE", "NOTEQUAL", "AND", "OR", "INC", "DEC", "ADD", "SUB", "MUL", "DIV", "BITAND", "BITOR", "CARET", "MOD", "ADD_ASSIGN", "SUB_ASSIGN", "MUL_ASSIGN", "DIV_ASSIGN", "AND_ASSIGN", "OR_ASSIGN", "XOR_ASSIGN", "MOD_ASSIGN", "LSHIFT_ASSIGN", "RSHIFT_ASSIGN", "URSHIFT_ASSIGN", "ARROW", "COLONCOLON", "AT", "ELLIPSIS", "WS", "COMMENT", "LINE_COMMENT", "IDENTIFIER", "ExponentPart", "EscapeSequence", "HexDigits", "HexDigit", "Digits", "LetterOrDigit", "Letter" ] grammarFileName = "JavaLexer.g4" def __init__(self, input=None, output:TextIO = sys.stdout): super().__init__(input, output) self.checkVersion("4.9.3") self._interp = LexerATNSimulator(self, self.atn, self.decisionsToDFA, PredictionContextCache()) self._actions = None self._predicates = None
python
# Generated by Django 2.0.1 on 2018-02-17 12:55 from django.db import migrations, models class Migration(migrations.Migration): dependencies = [ ('orders', '0001_initial'), ] operations = [ migrations.RemoveField( model_name='order', name='user', ), migrations.AddField( model_name='order', name='address', field=models.CharField(default='', max_length=512, verbose_name='Address'), ), migrations.AddField( model_name='order', name='email', field=models.EmailField(db_index=True, default='', max_length=254, verbose_name='Customer Email'), ), migrations.AddField( model_name='order', name='full_name', field=models.CharField(default='', max_length=256, verbose_name='Customer Full Name'), ), ]
python
<reponame>DLotts/incubator-rya<gh_stars>10-100 package org.apache.rya.indexing.pcj.storage.accumulo; /* * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you 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. */ import static org.junit.Assert.assertEquals; import java.util.Set; import org.apache.rya.indexing.pcj.storage.PcjMetadata; import org.apache.rya.indexing.pcj.storage.accumulo.PcjTables; import org.apache.rya.indexing.pcj.storage.accumulo.ShiftVarOrderFactory; import org.apache.rya.indexing.pcj.storage.accumulo.VariableOrder; import org.junit.Test; import com.google.common.collect.Sets; /** * Tests the classes and methods of {@link PcjTables}. */ public class PcjTablesTest { @Test public void variableOrder_hashCode() { assertEquals(new VariableOrder("a", "b", "C").hashCode(), new VariableOrder("a", "b", "C").hashCode()); } @Test public void variableOrder_equals() { assertEquals(new VariableOrder("a", "b", "C"), new VariableOrder("a", "b", "C")); } @Test public void variableOrder_fromString() { assertEquals(new VariableOrder("a", "b", "c"), new VariableOrder("a;b;c")); } @Test public void variableORder_toString() { assertEquals("a;b;c", new VariableOrder("a", "b", "c").toString()); } @Test public void pcjMetadata_hashCode() { PcjMetadata meta1 = new PcjMetadata("A SPARQL string.", 5, Sets.newHashSet(new VariableOrder("a", "b", "c"), new VariableOrder("d", "e", "f"))); PcjMetadata meta2 = new PcjMetadata("A SPARQL string.", 5, Sets.newHashSet(new VariableOrder("a", "b", "c"), new VariableOrder("d", "e", "f"))); assertEquals(meta1.hashCode(), meta2.hashCode()); } @Test public void pcjMetadata_equals() { PcjMetadata meta1 = new PcjMetadata("A SPARQL string.", 5, Sets.newHashSet(new VariableOrder("a", "b", "c"), new VariableOrder("d", "e", "f"))); PcjMetadata meta2 = new PcjMetadata("A SPARQL string.", 5, Sets.newHashSet(new VariableOrder("a", "b", "c"), new VariableOrder("d", "e", "f"))); assertEquals(meta1, meta2); } @Test public void shiftVarOrdersFactory() { Set<VariableOrder> expected = Sets.newHashSet( new VariableOrder("a;b;c"), new VariableOrder("b;c;a"), new VariableOrder("c;a;b")); Set<VariableOrder> varOrders = new ShiftVarOrderFactory().makeVarOrders(new VariableOrder("a;b;c")); assertEquals(expected, varOrders); } }
java
One of the 4 senior players to be dropped from the Test team for the upcoming series against Sri Lanka, Wriddhiman Saha has made some major revelations. From revealing that he was asked to consider retirement by Rahul Dravid to explaining the reason behind his absence from Ranji Trophy, Saha has revealed many important inside details. While speaking to ESPNcricinfo, Saha made another big reveal and said that chief selector Chetan Sharma conveyed to him that he would not be considered for selection from "now on". Speaking to the press after the team announcement, Sharma had said that the 4 players have only been dropped for 2 Test matches. But as per Saha, the chief selector told him something different. "Ten-twelve days later, I got a call from Chetan Sharma [chairman of selectors]. He asked me if I was playing Ranji Trophy. I said I hadn't decided yet. Then he went on to tell me what Rahul bhai had said. So I asked him if this decision was for just this series or for the upcoming series against Australia and England too. Then he paused for a couple of seconds and said, "From now on, you will not be considered," he told ESPNcricinfo. "Then I asked him why, is it because of my performance and fitness or is it because of my age? He said fitness and performance were not an issue. "We want to look at new faces and if we bring in a new face, we can't drop him without playing him. " That's why he said "from now on". " Saha's comments have surprised many as the chief selector had said that the door isn't shut on any of the 4 dropped players. But he told something different to Saha. Ajinkya Rahane and Cheteshwar Pujara are part of their respective state teams in the Ranji Trophy while Ishant Sharma, the third senior player to be dropped, will be available from the 2nd game. As for Saha, he isn't expected to play Ranji Trophy. The senior wicketkeeper-batsman will next be seen in action for Gujarat Titans in IPL 2022. Saha has donned 40 Test caps and has 1353 runs in 56 innings. He lost his spot to Rishabh Pant in 2020/21 season. While Rishabh will remain the first-choice wicketkeeper, he will be assisted by KS Bharat going ahead.
english
According to Mark Ogden of The Telegraph, Manchester United are plotting an ambitious January move for Atletico Madrid’s 28-year-old defender, Diego Godin, by activating his release clause of £28. 5m. Louis Van Gaal has shortlisted defenders to bolster his side’s defensive options, with Diego Godin currently leading the list, even though the Uruguyan’s contract with the Spanish champions runs till 2018. Manchester United’s injury crisis has been the talking point of this season so far, where the club has seen the likes of Rafael, Phil Jones, Chris Smalling, Jonny Evans, Luke Shaw and Marcos Rojo sidelined for at least a month. Besides Diego Godin, Borussia Dortmund’s Mats Hummels, Athletic Bilbao’s Aymeric Laporte, Aston Villa’s Ron Vlaar and Real Sociedad’s Inigo Martinez have been identified as Van Gaal’s possible defensive targets. With the Bundesliga’s outfit currently struggling to gain form, it is highly unlikely that Dortmund would consider selling Mats Hummels in January. Ron Vlaar is yet to sign a new contract with Villa and looks more like a realistic target, as he wouldn’t mind joining his former boss at Old Trafford. In case he refuses to sign a new contract. Laporte and Martinez are other defensive options available for Louis Van Gaal. Manchester United currently lack a leader in defense, someone who can manage the young lads like Tyler Blackett and Paddy McNair and Diego Godin is just the man! He is very well known for his consistency, leadership and his composure even in difficult situations as well as his great aerial ability, which can be seen when he scored the crucial header against Barcelona last season which eventually helped Atletico to be crowned champions. With Atletico Madrid currently third in the league and first in Group A of the UEFA Champions League, it will need heck a lot of convincing from Louis Van Gaal, if he’s to convince the 28-year-old to leave the Vincente Caledron.
english
<reponame>imbhargav5/new-website {"browser-polyfill.js":"sha256-NEsPebbNP1wtyEHjZ+7JhJUly8NxT3c8r2aFUrlk104=","browser.js":"sha256-NAnKsP6GPtaY28eKxadIh6mTpXi3YKJjVtwzw9+e7OM="}
json
{ "name": "liq-modal", "version": "1.0.11", "description": "Simple and Easy modal, call the function just one time.", "main": "liq-modal.js", "directories": { "example": "examples" }, "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "dev": "babel ./liq-modal-dev.js -o ./liq-modal.js && uglifyjs ./liq-modal.js -o ./liq-modal.min.js" }, "repository": { "type": "git", "url": "git+https://github.com/adenilson-santos/liq-modal.git" }, "keywords": [ "modal", "liq", "easy", "simple", "liquid", "liquid-modal", "liq-modal", "simple-modal", "javascript" ], "author": "<NAME>", "license": "MIT", "bugs": { "url": "https://github.com/adenilson-santos/liq-modal/issues" }, "homepage": "https://github.com/adenilson-santos/liq-modal#readme", "dependencies": { "@babel/cli": "^7.6.2", "@babel/core": "^7.6.2", "@babel/preset-env": "^7.6.2", "uglify-js": "^3.6.0" } }
json
<gh_stars>0 /* ibm-plex-sans-100 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 100; src: url('./fonts/ibm-plex-sans-v2-latin-100.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Thin'), local('IBMPlexSans-Thin'), url('./fonts/ibm-plex-sans-v2-latin-100.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-100.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-100.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-100.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-100.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-200 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 200; src: url('./fonts/ibm-plex-sans-v2-latin-200.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans ExtraLight'), local('IBMPlexSans-ExtraLight'), url('./fonts/ibm-plex-sans-v2-latin-200.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-200.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-200.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-200.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-200.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-200italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 200; src: url('./fonts/ibm-plex-sans-v2-latin-200italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans ExtraLight Italic'), local('IBMPlexSans-ExtraLightItalic'), url('./fonts/ibm-plex-sans-v2-latin-200italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-200italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-200italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-200italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-200italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-100italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 100; src: url('./fonts/ibm-plex-sans-v2-latin-100italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Thin Italic'), local('IBMPlexSans-ThinItalic'), url('./fonts/ibm-plex-sans-v2-latin-100italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-100italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-100italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-100italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-100italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-300 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 300; src: url('./fonts/ibm-plex-sans-v2-latin-300.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Light'), local('IBMPlexSans-Light'), url('./fonts/ibm-plex-sans-v2-latin-300.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-300.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-300.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-300.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-300.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-300italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 300; src: url('./fonts/ibm-plex-sans-v2-latin-300italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Light Italic'), local('IBMPlexSans-LightItalic'), url('./fonts/ibm-plex-sans-v2-latin-300italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-300italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-300italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-300italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-300italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-regular - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 400; src: url('./fonts/ibm-plex-sans-v2-latin-regular.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans'), local('IBMPlexSans'), url('./fonts/ibm-plex-sans-v2-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-regular.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-regular.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 400; src: url('./fonts/ibm-plex-sans-v2-latin-italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Italic'), local('IBMPlexSans-Italic'), url('./fonts/ibm-plex-sans-v2-latin-italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-500 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 500; src: url('./fonts/ibm-plex-sans-v2-latin-500.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Medium'), local('IBMPlexSans-Medium'), url('./fonts/ibm-plex-sans-v2-latin-500.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-500.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-500.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-500.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-500.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-500italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 500; src: url('./fonts/ibm-plex-sans-v2-latin-500italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Medium Italic'), local('IBMPlexSans-MediumItalic'), url('./fonts/ibm-plex-sans-v2-latin-500italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-500italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-500italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-500italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-500italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-600 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 600; src: url('./fonts/ibm-plex-sans-v2-latin-600.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans SemiBold'), local('IBMPlexSans-SemiBold'), url('./fonts/ibm-plex-sans-v2-latin-600.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-600.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-600.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-600.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-600.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-600italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 600; src: url('./fonts/ibm-plex-sans-v2-latin-600italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans SemiBold Italic'), local('IBMPlexSans-SemiBoldItalic'), url('./fonts/ibm-plex-sans-v2-latin-600italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-600italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-600italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-600italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-600italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-700 - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: normal; font-weight: 700; src: url('./fonts/ibm-plex-sans-v2-latin-700.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Bold'), local('IBMPlexSans-Bold'), url('./fonts/ibm-plex-sans-v2-latin-700.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-700.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-700.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-700.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-700.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ } /* ibm-plex-sans-700italic - latin */ @font-face { font-family: 'IBM Plex Sans'; font-style: italic; font-weight: 700; src: url('./fonts/ibm-plex-sans-v2-latin-700italic.eot'); /* IE9 Compat Modes */ src: local('IBM Plex Sans Bold Italic'), local('IBMPlexSans-BoldItalic'), url('./fonts/ibm-plex-sans-v2-latin-700italic.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */ url('./fonts/ibm-plex-sans-v2-latin-700italic.woff2') format('woff2'), /* Super Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-700italic.woff') format('woff'), /* Modern Browsers */ url('./fonts/ibm-plex-sans-v2-latin-700italic.ttf') format('truetype'), /* Safari, Android, iOS */ url('./fonts/ibm-plex-sans-v2-latin-700italic.svg#IBMPlexSans') format('svg'); /* Legacy iOS */ }
css
Erick "Xeppaa" Bach is a professional Valorant athlete currently playing for Cloud9, a popular North American esports organization and VCT-partnered team. The 22-year-old is known for his incredible clutch potential and expertise with Initiator Agents in Riot Games' tactical first-person shooter. In 2021, Bach switched to Valorant esports by joining Cloud9 Blue's esteemed roster. Interestingly, he had been a part of the same organization's professional CS:GO lineup before this move. With VCT's partnership program, Cloud9 received a chance to build a dreamy Valorant roster featuring promising athletes. Long-standing members, including Xeppaa, leaf, and vanity, were retained. On the other hand, Zellsis and yay were acquired to form the organization's new roster for VCT 2023's pro leagues. Being a support player, Xeppaa has astonished fans with his patience, clutches, and team-oriented intelligent plays. Needless to say, his impressive playstyle is heavily shaped by his in-game settings preferences. To assist gamers in replicating the pro's success, the next section offers Xeppaa's mouse and display settings as well as information regarding his PC setup. As a tactical shooter title, Riot's offering requires players to master mechanical aim as well as develop game sense. Hence, it's often recommended to find the perfect mouse sensitivity to support your playstyle in Valorant. Considering his role on the team, Cloud9's Xeppaa is required to engage in head-on gunfights, as well as help the Duelist take space on a site. Like most esports professionals, he has managed to master mechanical aim in the game. Take a look at Xeppaa’s preferred in-game settings and his PC setup below: Note: This data has been procured from prosettings. net. - Color: White (#FFFFFF) Xeppaa plays on low mouse sensitivity, which ensures accurate crosshair placement and minimal drift. However, low sensitivity can restrict your movement and your ability to flick the mouse while aiming towards enemy activity. Beginners and aspiring athletes can choose to copy Xeppaa's settings to try and yield results similar to those he sees. However, it is recommended to use critical in-game settings like crosshair style and sensitivity according to your preferred playstyle. Xeppaa is an Initiator main and is often seen picking Agents like Fade, KAY/O, and Skye. However, he has also mastered Raze, a Duelist in Valorant, and uses her on particular maps like Haven, Fracture, and Bind.
english
You can manage your notification subscription by clicking on the icon. To Start receiving timely alerts please follow the below steps: Click on the Menu icon of the browser, it opens up a list of options. Click on the “Options ”, it opens up the settings page, Here click on the “Privacy & Security” options listed on the left hand side of the page. Scroll down the page to the “Permission” section . Here click on the “Settings” tab of the Notification option. A pop up will open with all listed sites, select the option “ALLOW“, for the respective site under the status head to allow the notification. Once the changes is done, click on the “Save Changes” option to save the changes. Is the Cricket World Cup under terrorist radar? 'CBI probing if 2G scam threatened country's security' DMK bows: Stalemate ends, Congress has its way! 'Dalai Lama's death will not affect Tibet' Russians party naked to celebrate Putin! Pre-order Nokia E7 at $679 (approx Rs 30,000! ) Apple slashes iPad price in India, Buy Now! Do you want to clear all the notifications from your inbox?
english
<!-- page01.html,v 1.6 2000/03/19 20:09:25 jcej Exp --> <HTML> <HEAD> <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1"> <META NAME="Author" CONTENT="<NAME>"> <TITLE>ACE Tutorial 011</TITLE> </HEAD> <BODY TEXT="#000000" BGCOLOR="#FFFFFF" LINK="#000FFF" VLINK="#FF0F0F"> <CENTER><B><FONT SIZE=+2>ACE Tutorial 011</FONT></B></CENTER> <CENTER><B><FONT SIZE=+2>Passing non-trivial data through an ACE_Message_Queue</FONT></B></CENTER> <P> <HR WIDTH="100%"> <P> In the previous tutorial we learned how to put text into a message queue. While that may be useful, it isn't very exciting or realistic. In most cases you'll need to move complex data structures between your threads. <P> In this tutorial I'll expand the previous by moving not only a text string but also a more complex object. In the next tutorial I'll change things again so that we move the complex object a bit more efficiently. <P> A simple abstract for a simple tutorial: <UL> In this tutorial, we put some data into the blocks of the message queue. We copy the data from a Data object into the block and put it on the queue. The block is then dequeued by the thread which picks it up and processes it. This tutorial is very similar to the previous one with the extra touch being population of the blocks with data. </UL> (Abstract by Kirthika, as always.) <P><HR WIDTH="100%"> <CENTER>[<A HREF="../online-tutorials.html">Tutorial Index</A>] [<A HREF="page02.html">Continue This Tutorial</A>]</CENTER>
html
Hello friends, good Sunday, I woke up at about 4:00 in the morning today. I made breakfast for Sahur. We woke up my wife and had breakfast together. I made two pancakes so I could fast comfortably. I put one on the table with tender and one with spinach. Merhaba arkadaşlar iyi pazarlar, bugün sabaha karşı saat 4 gibi uyandım. Sahur için kahvaltı hazırladim. Eşimi uyandırıp birlikte kahvaltı yaptık. Rahat oruç tutabilmek için iki tane gözleme yaptım. Bir tanesi hassasli bir tanesi ıspanaklı olarak sofraya koydum. It's salty. To finish, I melt it down and put it in my recipes and I don't throw any salt. Last week, I made potato fritters and put tulum cheese in it, and even though I never salted it with potatoes, it was a little salty. Even though I always get the cheese you buy, this time it's salty, and I don't know why it's salty, so I took it without tasting it, so I'll taste it from now on. The sport lasts more than an hour, and while I was waiting for my daughter, I had a little chat with the parents who came. Then I started writing posts. After my daughter left, she played table tennis for a short time. That's how I waited. Walking home from the course center we saw several stores we visited the stores together but didn't get anything. Then we came home, and after I got home, I started to complete my unfinished Hide. See you guys for now.
english
<reponame>TheRakeshPurohit/tamagui import { AnimatePresenceContext, useEntering } from '@tamagui/animate-presence' import { AnimationDriver } from '@tamagui/core' import { useCallback, useContext, useEffect, useMemo } from 'react' import Animated, { WithDecayConfig, WithSpringConfig, WithTimingConfig, runOnJS, useAnimatedStyle, withDecay, withDelay, withRepeat, withSpring, withTiming, } from 'react-native-reanimated' type AnimationsConfig<A extends Object = any> = { [Key in keyof A]: AnimationConfig } type AnimationConfig = | ({ type: 'timing'; loop?: number } & WithTimingConfig) | ({ type: 'spring'; loop?: number } & WithSpringConfig) | ({ type: 'decay'; loop?: number } & WithDecayConfig) // | ({ type: 'transition' } & TransitionProps) const AnimatedView = Animated.View const AnimatedText = Animated.Text AnimatedView['displayName'] = 'AnimatedView' AnimatedText['displayName'] = 'AnimatedText' export function createAnimations<A extends AnimationsConfig>(animations: A): AnimationDriver<A> { return { avoidClasses: true, animations, View: AnimatedView, Text: AnimatedText, useAnimations: (props, helpers) => { const { pseudos, onDidAnimate, delay, getStyle, state, staticConfig } = helpers const [isEntering, safeToUnmount] = useEntering() const presence = useContext(AnimatePresenceContext) const exitStyle = presence?.exitVariant ? staticConfig.variantsParsed?.[presence.exitVariant]?.true || pseudos.exitStyle : pseudos.exitStyle const reanimatedOnDidAnimated = useCallback<NonNullable<typeof onDidAnimate>>( (...args) => { onDidAnimate?.(...args) }, [onDidAnimate] ) const all = getStyle({ isEntering, exitVariant: presence?.exitVariant, enterVariant: presence?.enterVariant, }) const [animatedStyles, nonAnimatedStyle] = [{}, {}] const animatedStyleKey = { transform: true, opacity: true, } for (const key of Object.keys(all)) { if (animatedStyleKey[key]) { animatedStyles[key] = all[key] } else { nonAnimatedStyle[key] = all[key] } } const args = [ JSON.stringify(all), state.mounted, state.hover, state.press, state.pressIn, state.focus, delay, isEntering, onDidAnimate, reanimatedOnDidAnimated, presence?.exitVariant, presence?.enterVariant, ] const animatedStyle = useAnimatedStyle(() => { const style = animatedStyles const final = { transform: [] as any[], } const isExiting = isEntering === false const transition = animations[props.animation] const exitingStyleProps: Record<string, boolean> = {} if (exitStyle) { for (const key of Object.keys(exitStyle)) { exitingStyleProps[key] = true } } for (const key in style) { const value = style[key] const aconf = animationConfig(key, transition) const { animation, config, shouldRepeat, repeatCount, repeatReverse } = aconf const callback: (completed: boolean, value?: any) => void = (completed, recentValue) => { runOnJS(reanimatedOnDidAnimated)(key, completed, recentValue, { attemptedValue: value, }) if (isExiting) { exitingStyleProps[key] = false const areStylesExiting = Object.values(exitingStyleProps).some(Boolean) // if this is true, then we've finished our exit animations if (!areStylesExiting) { if (safeToUnmount) { runOnJS(safeToUnmount)() } } } } let { delayMs = null } = animationDelay(key, transition, delay) if (key === 'transform') { if (!Array.isArray(value)) { console.error(`Invalid transform value. Needs to be an array.`) continue } for (const transformObject of value) { const key = Object.keys(transformObject)[0] const transformValue = transformObject[key] let finalValue = animation(transformValue, config, callback) if (shouldRepeat) { finalValue = withRepeat(finalValue, repeatCount, repeatReverse) } final['transform'].push({ [key]: finalValue, }) } continue } if (typeof value === 'object') { // shadows final[key] = {} for (const innerStyleKey of Object.keys(value || {})) { let finalValue = animation(value, config, callback) if (shouldRepeat) { finalValue = withRepeat(finalValue, repeatCount, repeatReverse) } if (delayMs != null) { final[key][innerStyleKey] = withDelay(delayMs, finalValue) } else { final[key][innerStyleKey] = finalValue } } continue } let finalValue = animation(value, config, callback) if (shouldRepeat) { finalValue = withRepeat(finalValue, repeatCount, repeatReverse) } if (delayMs != null && typeof delayMs === 'number') { final[key] = withDelay(delayMs, finalValue) } else { final[key] = finalValue } // end for (key in mergedStyles) } if (process.env.NODE_ENV === 'development' && props['debug']) { console.log('animation style', final) } return final }, args) return useMemo(() => { return { style: [nonAnimatedStyle, animatedStyle], } }, args) }, } } function animationDelay( key: string, transition: AnimationConfig | undefined, defaultDelay?: number ) { 'worklet' if ( !transition || !transition[key] || transition[key].delayMs === undefined || transition[key].delayMs === null ) { return { delayMs: null, } } return { delayMs: transition[key].delayMs as TransitionConfig['delay'], } } type TransitionConfigWithoutRepeats = ( | ({ type?: 'spring' } & WithSpringConfig) | ({ type: 'timing' } & WithTimingConfig) | ({ type: 'decay' } & WithDecayConfig) ) & { delay?: number } type TransitionConfig = TransitionConfigWithoutRepeats & { /** * Number of times this animation should repeat. To make it infinite, use the `loop` boolean. * * Default: `0` * * It's worth noting that this value isn't *exactly* a `repeat`. Instead, it uses Reanimated's `withRepeat` function under the hood, which repeats back to the **previous value**. If you want a repeated animation, I recommend setting it to `true` from the start, and make sure you have a `from` value. * * As a result, this value cannot be reliably changed on the fly. If you would like animations to repeat based on the `from` value, `repeat` must be a number when the component initializes. You can set it to `0` to stop it, but you won't be able to start it again. You might be better off using the sequence array API if you need to update its repetitiveness on the fly. */ repeat?: number /** * Setting this to `true` is the same as `repeat: Infinity` * * Default: `false` * * Note: this value cannot be set on the fly. If you would like animations to repeat based on the `from` value, it must be `true` when the component initializes. You can set it to `false` to stop it, but you won't be able to start it again. You might be better off using the sequence array API if you need to update its repetitiveness on the fly. */ loop?: boolean /** * Whether or not the animation repetition should alternate in direction. * * By default, this is `true`. * * If `false`, any animations with `loop` or `repeat` will not go back and forth. Instead, they will go from 0 -> 1, and again from 0 -> 1. * * If `true`, then animations will go 0 -> 1 -> 0. * * Setting this to `true` is like setting `animationDirection: alternate` in CSS. */ repeatReverse?: boolean } const isColor = (styleKey: string) => { 'worklet' return [ 'backgroundColor', 'borderBottomColor', 'borderColor', 'borderEndColor', 'borderLeftColor', 'borderRightColor', 'borderStartColor', 'borderTopColor', 'color', ].includes(styleKey) } function animationConfig<Animate>(styleProp: string, transition: AnimationConfig | undefined) { 'worklet' const key = styleProp let repeatCount = 0 let repeatReverse = true let animationType: Required<TransitionConfig>['type'] = 'spring' if (isColor(key) || key === 'opacity') { animationType = 'timing' } if (!transition) { return {} } // say that we're looking at `width` // first, check if we have transition.width.type if (transition[key]?.type) { animationType = transition[key]?.type } else if (transition.type) { // otherwise, fallback to transition.type animationType = transition.type } const loop = transition[key]?.loop || transition.loop || null if (loop != null) { repeatCount = loop ? -1 : 0 } // if (transition[key]?.repeat != null) { // repeatCount = transition[key]?.repeat // } else if (transition?.repeat != null) { // repeatCount = transition.repeat // } // if (transition[key]?.repeatReverse != null) { // repeatReverse = transition[key]?.repeatReverse // } else if (transition?.repeatReverse != null) { // repeatReverse = transition.repeatReverse // } let config = {} // so sad, but fix it later :( let animation: any if (animationType === 'timing') { const duration = (transition[key] as WithTimingConfig)?.duration ?? (transition as WithTimingConfig)?.duration const easing = (transition[key] as WithTimingConfig)?.easing ?? (transition as WithTimingConfig)?.easing if (easing) { config['easing'] = easing } if (duration != null) { config['duration'] = duration } animation = withTiming } else if (animationType === 'spring') { animation = withSpring config = {} as WithSpringConfig configKeys.forEach((configKey) => { 'worklet' const styleSpecificConfig = transition?.[key]?.[configKey] const transitionConfigForKey = transition?.[configKey] if (styleSpecificConfig != null) { config[configKey] = styleSpecificConfig } else if (transitionConfigForKey != null) { config[configKey] = transitionConfigForKey } }) } else if (animationType === 'decay') { animation = withDecay config = { velocity: 2, deceleration: 2, } const configKeys: (keyof WithDecayConfig)[] = [ 'clamp', 'velocity', 'deceleration', 'velocityFactor', ] configKeys.forEach((configKey) => { 'worklet' // is this necessary ^ don't think so...? const styleSpecificConfig = transition?.[key]?.[configKey] const transitionConfigForKey = transition?.[configKey] if (styleSpecificConfig != null) { config[configKey] = styleSpecificConfig } else if (transitionConfigForKey != null) { config[configKey] = transitionConfigForKey } }) } return { animation, config, repeatReverse, repeatCount, shouldRepeat: !!repeatCount, } } const configKeys: (keyof WithSpringConfig)[] = [ 'damping', 'mass', 'overshootClamping', 'restDisplacementThreshold', 'restSpeedThreshold', 'stiffness', 'velocity', ]
typescript
New Delhi: Mahendra Singh Dhoni is one of the most renowned cricketing icons in the world and arguably the best captain to bless the game of cricket. He is also the only skipper in cricketing history to win all three major ICC trophies including 50-over World Cup, T20 World Cup, and the Champion’s trophy. Dhoni has retired from all forms of International Cricket but still plays and leads one of the most successful IPL franchises Chennai Super Kings. He is one of the most loved cricketing icons and his fanbase is filled with devotees, who are always praising Dhoni’s intelligence, smartness, and humor, on and off the sporting field. One such example of Dhoni’s smart humor is getting viral on the internet. It is a clip from his interview with star-host Mandira Bedi. The crowd alongside Mandira Bedi burst into laughter from Dhoni’s response. The clip is now going viral on the internet with fans sharing and laughing over the smart and hilarious response from their favorite cricketer. Dhoni’s upcoming season with Chennai Super Kings could also be the final time we see the star icon playing on a cricketing field in a competition of this level. He has not made any clear statements about his IPL retirement plans but fans want to enjoy every moment with their icon.
english
{ "name": "aurelia-time", "main": "dist/amd/aurelia-time.d.ts", "dependencies": { "aurelia-binding": "github:aurelia/binding", "aurelia-bootstrapper": "github:aurelia/bootstrapper", "aurelia-dependency-injection": "github:aurelia/dependency-injection", "aurelia-event-aggregator": "github:aurelia/event-aggregator", "aurelia-fetch-client": "github:aurelia/fetch-client", "aurelia-framework": "github:aurelia/framework", "aurelia-history": "github:aurelia/history", "aurelia-history-browser": "github:aurelia/history-browser", "aurelia-loader": "github:aurelia/loader", "aurelia-logging": "github:aurelia/logging", "aurelia-logging-console": "github:aurelia/logging-console", "aurelia-metadata": "github:aurelia/metadata", "aurelia-pal": "github:aurelia/pal", "aurelia-pal-browser": "github:aurelia/pal-browser", "aurelia-path": "github:aurelia/path", "aurelia-polyfills": "github:aurelia/polyfills", "aurelia-route-recognizer": "github:aurelia/route-recognizer", "aurelia-router": "github:aurelia/router", "aurelia-task-queue": "github:aurelia/task-queue", "aurelia-templating": "github:aurelia/templating", "aurelia-templating-binding": "github:aurelia/templating-binding", "aurelia-templating-resources": "github:aurelia/templating-resources", "aurelia-templating-router": "github:aurelia/templating-router" }, "globalDevDependencies": { }, "globalDependencies": { } }
json
oil is slipperier than usual. why? it is oil that drives the world. at least for now, a major component of prices in most national economies is the cost of energy. most countries’ energy sources are fossil fuels. they need to keep a very close eye on the price of oil because it can make or mar their finances. governments subsidize fuel prices for citizens but that only means part of the bill is paid by someone else, often taxpayers. India is a classic example. petrol has crossed ₹100 per litre in most Indian cities. the base retail price of the fuel at the pump is less than ₹40 per litre in Delhi where the fuel is among the cheapest in the country. the base price is a function of the actual price at which crude oil producers supply to the international market, the margins of refiners and the cost of transport. the rest are state and central levies. oil prices had stayed low for a long time and plummeted when the pandemic began. as economies began to recover, the prices began to swing. it has gone from $76 per barrel to $73 per barrel to $67 per barrel and then to ~$70 per barrel, WTI all since July 14. this is not normal. there are two reasons why oil has decided to ride the rollercoaster: the pandemic and the international cartel of oil producers called the Organization of Petroleum Exporting Countries (OPEC). The OPEC are joined in these negotiations by another set of countries who are outside the grouping but act together with the cartel. this expanded group is called OPEC+ and includes other big producers such as Russia, Sudan, Brunei and Mexico. last year, in April, when the world came to a stop, producers stopped pumping oil to adjust for vanishing demand. prices languished at historic lows until economies started opening up. one year later, the game changed. while India battled the deadly second wave, other parts of the world started to open up. people started driving and flying. manufacturers shipped goods across the world with fewer restrictions. while demand increased from April through to July, supply didn’t keep up and so there was a sharp increase in prices. in July, the cartel met to figure out production quotas to keep with demand. but then things changed. two weeks ago, a spat between Saudi Arabia, the de facto leader of the cartel, and the UAE over production quotas spilled out into the public domain. Saudi Arabia wanted to gradually increase production by two million barrels per day and let the new quotas remain until the end of 2022. but the UAE wanted the output curbs to go in April. why? let’s take a step back and analyse how this process works in the first place. the economies of producer nations and the wealth of their elites (read: the rich sheikhs of Arabia and billionaire Russian oligarchs) who control the fields have been weaned on petrodollars for decades. when they decide to raise production, there is a glut in the market and the price drops. when they stop pumping from their wells, the price shoots up. these countries often fight over the quotas as that determines how much money each will make. in 2019 Russia and Saudi Arabia competed with one another to raise production bringing down prices. competitively pumping out crude hurts everyone. now, the UAE is trying to diversify its economy and wants to sell more oil to raise money for investments. after all, the more you produce, the more you earn. but if the UAE broke away and started pumping more oil, others may have followed suit leading to a supply glut crashing prices and hurting everyone. in fact, it dropped $1 almost overnight. the UAE finally decided to agree with its neighbour. Russia, the leader of the non-OPEC producers, agreed as well. prices stabilized immediately. banks have indicated that oil supply will remain tight despite the resolution, which means that the prices will rise. the prices are expected to stabilise only by the first quarter of 2022. add to this the world opening up, oil prices will certainly be caught in the updraft. there is a chance your petrol prices will not let up just yet either.
english
In the case of Virat Kohli, something new was spotted while ongoing�Day 1 of the 4th Test between India and Australia in Ahmedabadat the Narendra Modi Stadium on Thursday. The video emerged during the break between the 22nd and the 23rd over of Australia’s batting. After Kohli had a few bites from the snack, he was also spotted passing on an energy bar to one of the teammates who was also fielding in the slips cordon. Another fan reacted to the video saying, “Ghar par khana nahi milta kya, kamal kar rahe ho yaha par. . Mummy ko bolo khana dedengi Hahah… (Don’t you get food at home, Tell your mummy to prepare food for you). Another one reacted saying, “Punjabi Puttar Needs energy to break Australian partnerships on the field”. Notably, Kohli has failed to amass massive runs in the ongoing series as he has returned scores of 12, 44, 20, 22, and 13 respectively across the three Test matches. Despite this, the batter seems upbeat and never misses a chance to enjoy himself while in the middle of the field.
english
import * as React from 'react'; import * as _ from 'lodash'; import { connect } from 'react-redux'; import { getCampaignByuIdSelector, getDripVariables } from 'app/stores/campaign/campaign.selector'; import { CustomEditor } from '../../shared/editor/editor'; import { editDrips } from '../../stores/campaign/campaign.action'; interface IDrapTabProps { match: any; campaign: Campaign.IColdCampaign; editDrips: (drip: any) => void; variables: any; } interface IDrapTabState { editIndex?: number, showAllMessages: boolean, newDrip: boolean, showDrowDown: boolean, type: 'email' | 'newsletter' } class DripTabUnwrapped extends React.Component<IDrapTabProps, IDrapTabState>{ constructor(props) { super(props) this.state = { showAllMessages: false, newDrip: true, editIndex: -1, showDrowDown: false, type: 'newsletter', } } editDrips = (index) => () => { this.setState({ editIndex: index, newDrip: false }) } createDrip = (type: 'email' | 'newsletter') => () => { // append drip to the campaign const index = this.props.campaign && this.props.campaign.drips ? this.props.campaign.drips.length : 0; this.setState({ newDrip: true, editIndex: index, showDrowDown: false, type }) } onCloseEditor = () => { this.setState({ editIndex: -1, newDrip: false }); } deleteDrip = (drip) => () => { // show model to delete and confirm delete } onSaveEditor = (value) => () => { const { editIndex } = this.state; const { campaign } = this.props; const editDrip: any = campaign.drips[editIndex] || {}; const drip = { dripTitle: editDrip.dripTitle || '', subject: value.subject || '', body: value.text, id: editDrip.id || '', delay: editDrip.delay || 0 } this.props.editDrips({ drip, editIndex }) } showDropDown = () => { this.setState(state => ({ ...state, showDrowDown: true })); } getEmail = (drip: Campaign.IDrip, index) => { return <div className="aec-full-message-w" key={index}> {index === this.state.editIndex ? <CustomEditor editorObject={drip} onCloseEditor={this.onCloseEditor} onSaveEditor={this.onSaveEditor} variables={this.props.variables} type={drip.type} /> : <div className="aec-full-message"> <div className="message-head"> <div className="user-w"> <div className="user-name"> <div className="user-subtitle"> {drip.dripTitle} </div> <div className="user-role"> <b>Subject: </b>{drip.subject} </div> </div> </div> <div className="actions-buttons"> <i className="os-icon os-icon-pencil-2" onClick={this.editDrips(index)} /> <i className="os-icon os-icon-ui-15" onClick={this.deleteDrip(drip)}></i> </div> </div> <div className="message-content" dangerouslySetInnerHTML={{ __html: drip.body ? drip.body.replace(/(<? *script)/gi, 'illegalscript') : '' }}> </div> </div>} </div> } expandAllMessages = () => { this.setState({ showAllMessages: true }) } render() { const { campaign } = this.props; const drips = campaign.drips || []; const { newDrip, editIndex , showDrowDown, type} = this.state; return <div className="ae-content"> <div className="older-pack show-msgs"> { _.map(drips, (drip, index) => { return this.getEmail(drip, index); }) } </div> {newDrip && <div className="aec-full-message-w"> <CustomEditor onCloseEditor={this.onCloseEditor} onSaveEditor={this.onSaveEditor} variables={this.props.variables} type={type} /></div>} {editIndex == -1 && <div className={`${showDrowDown? 'show': ''} dropdown`}><button className="btn btn-primary dropdown-toggle" onClick={this.showDropDown} type="button" id="dropdownMenuButton" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"> <i className="os-icon os-icon-plus"></i> Add Drip </button> <div className={`${showDrowDown? 'show': ''} dropdown-menu`} aria-labelledby="dropdownMenuButton"> <a className="dropdown-item" href="javascript:void(0)" onClick={this.createDrip('email')}>email</a> <a className="dropdown-item" href="javascript:void(0)" onClick={this.createDrip('newsletter')}>News letter</a> </div> </div>} </div> } } const mapDispatchToProps = dispatch => { return { editDrips: (data) => dispatch(editDrips(data)), } } const mapStateToProps = (state) => { return { campaign: getCampaignByuIdSelector(state), variables: getDripVariables(state), } } export const DripTab = connect(mapStateToProps, mapDispatchToProps)(DripTabUnwrapped);
typescript
{ "name": "GraphQl_MongoDB", "version": "1.0.0", "lockfileVersion": 1, "requires": true, "dependencies": { "graphql": { "version": "14.5.8", "resolved": "https://registry.npmjs.org/graphql/-/graphql-14.5.8.tgz", "integrity": "<KEY> "requires": { "iterall": "^1.2.2" } }, "iterall": { "version": "1.2.2", "resolved": "https://registry.npmjs.org/iterall/-/iterall-1.2.2.tgz", "integrity": "<KEY> } } }
json
<filename>src/Resource.java import java.io.File; import java.io.IOException; import java.nio.file.Files; /** * @author <NAME> * Funkadelic Division Multiplexing * ~~Free Your Mind, and Your Packets Will Follow~~ * Indicates a file that we have and are able to send out if requested. */ public class Resource { private String description; private File location; private String mimeType; private ID resourceID; private byte[] fileData; /** * Constructor. Calls other constructor. * @param id The element's ID * @param data A string containing the description, location, and mime type of the resource. */ public Resource (ID id, String data) { this(id,data,data.charAt(0)); } /** * Constructor. Splits the data by the delimiter. If data is split up incorrectly, throws an error. * @param id The element's ID. * @param data A string containing the description, location, and mime type of the resource. * @param delimiter A character meant to differentiate between the different variables contained in data. */ public Resource(ID id, String data, char delimiter) { int loc; int loc2; this.resourceID = id; loc = data.indexOf(delimiter,1); loc2 = data.indexOf(delimiter, loc + 1); mimeType = data.substring(1, loc); location = new File(data.substring(loc + 1, loc2)); description = data.substring(loc2 + 1).trim(); try { fileData = Files.readAllBytes(location.toPath()); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } /** * Returns the resource's description. * @return the resource's description. */ public String getDescription() { return this.description; } /** * Returns the file this resource represents. * @return the file this resource represents. */ public File getLocation() { return this.location; } /** * Returns the resource's mime type. * @return the resource's mime type. */ public String getMimeType() { return this.mimeType; } /** * Returns the resource's ID. * @return the resource's ID. */ public ID getID() { return this.resourceID; } /** * Returns the size of the file the resource represents. * @return the size of the file the resource represents. */ public long getSizeInBytes() { return getLocation().length(); } /** * Checks whether searchString matches anything involving this resource. * @param searchString a string that says something about the resource. * @return true if searchString is included in the description, mime type, resource ID, or location. False otherwise. */ public boolean matches(String searchString) { String otherString; otherString = searchString.toLowerCase().trim(); return description.toLowerCase().contains(otherString) || mimeType.toLowerCase().contains(otherString) || resourceID.toString().toLowerCase().contains(otherString); } public byte[] getBytesForPart(int part) { int start; int end; start = part * (UDPMessage.getMaximumPacketSizeInBytes() - ID.getLengthInBytes() - PartNumbers.getLengthInBytes()); end = start + (UDPMessage.getMaximumPacketSizeInBytes() - ID.getLengthInBytes() - PartNumbers.getLengthInBytes()); return getBytes(start,end); } public byte[] getBytes(int start, int end) { byte[] result; result = new byte[Math.min(end - start, fileData.length - start)]; System.arraycopy(fileData, start, result, 0, result.length); return result; } }
java
Endhiran earlier titled as Robot, is a forthcoming science-fiction Tamil–language film being directed by S. Shankar. Southern superstar Rajnikanth and Aishwarya Bachchan are playing the main lead in which Rajnikanth would be seen in a double role. This film has a huge budget after Aishwarya Bachchan"s Jeans which was directed by S.Shankar. "The film has Rajnikanth playing two roles - scientist and the robot and its name is Endhiran, which is created by him. This film will focus on the situation which forced Rajini to make a robot and then his relationship with it and then the wishes he want the Robot to fulfil." "The film is set in 2200 AD and he is a famous scientist who is in love with Aishwarya. Later on he is given a mission of creating robots but at certain point of time there is a big twist which is the USP of Endhiran. Later on he tries to bring back his creation but realizes that a robot which he had made is very hard and has started falling in love with the girl he loves and then the chase begins among the three and so on." The film formally began on February 15, 2008 in Chennai with the photo shoot but the actual shooting had started in Peru with a song and before New Year. Aishwarya was shooting with Rajnikanth in Chennai and then in Vellore. This film has a budget of 120 crores and it is slated to release on April 14th, 2010.The film will be releasing in Tamil.
english
<reponame>acdgfh/blog<filename>_posts/2015-11-18-github-command.md<gh_stars>1-10 --- layout: post title: "GitHub常用指令" date: 2015-11-18 21:06:05 categories: github excerpt: GitHub常用指令 --- * content {:toc} ## 常用指令 指令 |描述 ------- | --------- $git init |对文件夹进行git初始化 $git checkout --orphan gh-pages |创建一个没有父节点的分支gh-pages(该分支下的文件会生成网页文件) $git add .<br>$git commit -m '备注' |把内容加入本地git库 $git remote add origin https://github.com/username/rponame.git<br>$git push origin gh-pages |把本地内容推送到GITHUB上的库里 $git pull origin gh-pages |push前先将远程repository修改pull下来 $git remote rm origin<br>$git remote add origin https://github.com/username/rponame.git |更改远程repository地址 --- ---
markdown
News that Mozilla could release a suite of privacy focused tools and services to complement its popular Firefox browser sent tongues wagging across the security and privacy industry. Many believe this might be a blessing in disguise as it will help popularize tools like VPN and password manager, offering users more privacy and security. However the surprise announcement throws in more questions that it answers - so what could the news really mean for your internet browsing? Why is Mozilla doing this? Transforming itself into the Office 365 of privacy may well help Firefox remain relevant in an increasingly polarized world where smartphones have long overtaken desktops. According to the most recent Netmarketshare report, Chrome has ring-fenced two-thirds of the desktop browser market with Microsoft Internet Explorer/Edge a very distant number two with under 14 percent. Firefox is third with under 10 percent. Things are even more bleak on mobile where Firefox’s market share is just over one percent, in other words, almost nonexistent. So why the urgency? Well, other than the fact that desktop numbers - where Firefox is most prevalent - are slowly shrinking, November 2020 will see the expiration of contracts with search engine providers for royalties; that’s 17 months from now. The biggest of these is Google, and it is likely that Firefox’s biggest web browser rival is also its biggest benefactor. But for how long? Mozilla is acutely aware of that “concentration of risk” as noted in its latest bi-annual audit report with approximately 93 percent and 94 percent of the organization's royalty revenues derived from these contracts for 2017 and 2016 respectively, with receivables for these contracts representing approximately 75 percent and 79 percent of the outstanding receivables. Spreading risks by not focusing on one revenue stream is what Mozilla seems to be aspiring to, with the view that search money may, perhaps one day, disappear for good. How is Mozilla planning to achieve this? Like Microsoft and Office 365, Mozilla has been building its privacy suite around a core product. Firefox is Mozilla’s equivalent of Microsoft Word in this case, a flagship product that will gel the bundle. Firefox Monitor watches for account breaches, Lockwise will act as password manager, Pocket filters fake news, Firefox Send allows you to share large files securely (but not store them). The caveat being that you need to have a Firefox account to use all of the above and one can argue that additional features - like Office365 - will make Firefox stickier. Beyond the current bunch of features, we know that Firefox is interested in a super private browsing mode (a Tor integration) and is considering VPN and cloud storage as potential extensions of its remit. It already has an agreement with ProtonVPN, and industry sources have told us that Firefox has entertained the idea of white-labelling some of the biggest VPN providers in the market. We believe that it may acquire ProtonVPN altogether; the latter is an offshoot of ProtonMail and is based in Switzerland; ProtonMail - as a secure email service - would be a very nice fit for Thunderbird, Mozilla’s email client and ProtonVPN is a well-rated VPN provider. Then there’s Project Svalbard, which is about securing the future of HaveIbeenPwned, the popular data breach treasure trove that Troy Hunt, its owner, has put on sale. Both Hunt and Mozilla have been very close partners and, Troy Hunt revealed that there has been talks without saying more. However, there could something even bigger in the pipeline. Almost exactly a decade ago, Opera unveiled a bold, forward-thinking feature called Unite. The then CEO of Opera, Jon von Tetzchner, said that it was Web 5.0, a reinvention of the web. In more prosaic terms, it was a (file) server-in-a-browser but was perhaps too far ahead of its time. Could Firefox revive this idea and add a server functionality to all Firefox web browsers, P2P based and versatile in nature? Others have tried this before with, let’s say, mixed results. But Firefox is a much bigger entity with a far more numerous user base and a massive war chest. As a not-for-profit organisation, the organization had total assets of $607 million as of December 31, 2017, a 22 percent increase over 2016. If that rate of growth is sustained, the company will have more than a $1 billion in assets by the end of 2019. Will Mozilla and Firefox succeed? Microsoft and Google have too much to lose by being privacy proponents and this is where Mozilla wants to position itself, while at the same time, reducing its dependency on essentially taking money from its biggest competitor. So far so good but then, there’s Apple and Safari. Like Mozilla, Apple has been quietly positioning itself as a privacy-first company with its popular Safari browser offering features that will appeal to those concerned by tracking and the lack of anonymity on other browsers. Apple also unveiled “Sign in with Apple” at WWDC 2019, one that can even generate random email addresses to further protect your privacy. There’s also the fact that Apple has now one billion active users and nearly 1.5 billion Apple devices. In comparison, Firefox has just over 250 million monthly active users, a number that has decreased by almost 20 percent in two years and is primarily desktop-focused. What does the competition say? "The cybersecurity market is highly competitive, so we'll be very interested in seeing what they offer. However, this is a good sign. It means cybersecurity and privacy are important to people and that consumers will have more tools to choose from. It will also push us even further to keep our products competitive.” argued Daniel Markuson from NordVPN. People use VPNs for different reasons - everything from entertainment to security. Our customer surveys show that about 80 percent of our users chose NordVPN for the security it provides. Depending on what Mozilla's products offer and what kind of promises they make to their users, it's possible that our products may serve different user groups." “Mozilla has a lot of marketing and upsell opportunities as it has a large user base,'' agreed Kaz Par, CEO of VPN provider, Surfshark. “However, VPN users are very demanding. As we see from our users, there’s a wide variety of VPN use cases and whether Mozilla is up for a challenge is yet to be seen. We saw examples in the past of big companies developing their VPN solutions (Facebook Onavo VPN, Opera VPN, etc.),” he continued “ but there has hardly been success stories”. Sunday Yokibaitis from Golden Frog, the company behind VyprVPN went further. “The VPN industry is growing rapidly and we welcome competition. I have a lot of respect for Mozilla and use a combination of Firefox and DuckDuckGo for personal browsing. I have always said that we need an armada of privacy companies, not a few battleships, to help fight the increasing threats to user privacy and the open Internet.” he said. “As one of the first VPN providers in the world, we’ve always been focused on our core mission: to provide people with better privacy, security, and Internet freedom. Over the past 10 years, we have seen many VPN services come and go while we remained focused on growing our business, improving our technology and providing a safer and more secure service for our users.” he went on saying before cautioning, “We have always played an active role in the battle against Internet censorship, whether that means lobbying political leaders to protect net neutrality or teaming up with organizations such as the Electronic Frontier Foundation (EFF) to defend privacy and free speech, we work daily to combat censorship around the world. Sign up to the TechRadar Pro newsletter to get all the top news, opinion, features and guidance your business needs to succeed! Désiré has been musing and writing about technology during a career spanning four decades. He dabbled in website builders and web hosting when DHTML and frames were in vogue and started narrating about the impact of technology on society just before the start of the Y2K hysteria at the turn of the last millennium.
english
<filename>remoting/android/java/src/org/chromium/chromoting/TouchInputStrategy.java<gh_stars>1000+ // Copyright 2015 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. package org.chromium.chromoting; import android.graphics.Matrix; import android.graphics.PointF; import android.view.MotionEvent; import java.util.LinkedList; import java.util.Queue; /** * This class receives local touch input events and forwards them to the remote host. * A queue of MotionEvents is built up and then either transmitted to the remote host if one of its * remote gesture handler methods is called (such as onScroll) or it is cleared if the current * stream of events does not represent a remote gesture. * NOTE: Not all touch gestures are remoted. Touch input and gestures outside the supported ones * (which includes tapping and 2 finger panning) will either affect the local canvas or * will be dropped/ignored. */ public class TouchInputStrategy implements InputStrategyInterface { /** * Contains the maximum number of MotionEvents to store before cancelling the current gesture. * The size is ~3x the largest number of events seen during any remotable gesture sequence. */ private static final int QUEUED_EVENT_THRESHOLD = 50; /** * Contains the set of MotionEvents received for the current gesture candidate. If one of the * gesture handling methods is called, these queued events will be transmitted to the remote * host for injection. The queue has a maximum size determined by |QUEUED_EVENT_THRESHOLD| to * prevent a live memory leak where the queue grows unbounded during a local gesture (such as * someone panning the local canvas continuously for several seconds/minutes). */ private Queue<MotionEvent> mQueuedEvents; /** * Indicates that the events received should be treated as part of an active remote gesture. */ private boolean mInRemoteGesture = false; /** * Indicates whether MotionEvents and gestures should be acted upon or ignored. This flag is * set when we believe that the current sequence of events is not something we should remote. */ private boolean mIgnoreTouchEvents = false; private final RenderData mRenderData; private final InputEventSender mInjector; public TouchInputStrategy(RenderData renderData, InputEventSender injector) { Preconditions.notNull(injector); mRenderData = renderData; mInjector = injector; mQueuedEvents = new LinkedList<MotionEvent>(); mRenderData.drawCursor = false; } @Override public boolean onTap(int button) { if (mQueuedEvents.isEmpty() || mIgnoreTouchEvents) { return false; } switch (button) { case InputStub.BUTTON_LEFT: injectQueuedEvents(); return true; case InputStub.BUTTON_RIGHT: // Using the mouse for right-clicking is consistent across all host platforms. // Right-click gestures are often platform specific and can be tricky to simulate. // Grab the first queued event which should be the initial ACTION_DOWN event. MotionEvent downEvent = mQueuedEvents.peek(); assert downEvent.getActionMasked() == MotionEvent.ACTION_DOWN; mInjector.sendMouseClick(new PointF(downEvent.getX(), downEvent.getY()), InputStub.BUTTON_RIGHT); clearQueuedEvents(); return true; default: // Tap gestures for > 2 fingers are not supported. return false; } } @Override public boolean onPressAndHold(int button) { if (button != InputStub.BUTTON_LEFT || mQueuedEvents.isEmpty() || mIgnoreTouchEvents) { return false; } mInRemoteGesture = true; injectQueuedEvents(); return true; } @Override public void onScroll(float distanceX, float distanceY) { if (mIgnoreTouchEvents || mInRemoteGesture) { return; } mInRemoteGesture = true; injectQueuedEvents(); } @Override public void onMotionEvent(MotionEvent event) { // MotionEvents received are stored in a queue. This queue is added to until one of the // gesture handling methods is called to indicate that a remote gesture is in progress. At // that point, each enqueued MotionEvent is dequeued and transmitted to the remote machine // and the class will now forward all MotionEvents received in real time until the gesture // has been completed. If we receive too many events without having been notified to start // a remote gesture, then the queue is cleared and we will wait until the start of the next // gesture to begin queueing again. int action = event.getActionMasked(); if (mIgnoreTouchEvents && action != MotionEvent.ACTION_DOWN) { return; } else if (mQueuedEvents.size() > QUEUED_EVENT_THRESHOLD) { // Since we maintain a queue of events to replay once the gesture is known, we need to // ensure that we do not continue to queue events when we are reasonably sure that the // user action is not going to be sent to the remote host. mIgnoreTouchEvents = true; clearQueuedEvents(); return; } switch (action) { case MotionEvent.ACTION_DOWN: resetStateData(); mQueuedEvents.add(transformToRemoteCoordinates(event)); break; case MotionEvent.ACTION_POINTER_DOWN: if (mInRemoteGesture) { // Cancel the current gesture if a pointer down action is seen during it. // We do this because a new pointer down means that we are no longer performing // the old gesture. mIgnoreTouchEvents = true; clearQueuedEvents(); } else { mQueuedEvents.add(transformToRemoteCoordinates(event)); } break; case MotionEvent.ACTION_CANCEL: case MotionEvent.ACTION_MOVE: case MotionEvent.ACTION_POINTER_UP: case MotionEvent.ACTION_UP: event = transformToRemoteCoordinates(event); if (mInRemoteGesture) { mInjector.sendTouchEvent(event); event.recycle(); } else { mQueuedEvents.add(event); } break; default: break; } } @Override public void injectCursorMoveEvent(int x, int y) {} @Override public RenderStub.InputFeedbackType getShortPressFeedbackType() { return RenderStub.InputFeedbackType.NONE; } @Override public RenderStub.InputFeedbackType getLongPressFeedbackType() { return RenderStub.InputFeedbackType.LONG_TOUCH_ANIMATION; } @Override public boolean isIndirectInputMode() { return false; } private void injectQueuedEvents() { while (!mQueuedEvents.isEmpty()) { MotionEvent event = mQueuedEvents.remove(); mInjector.sendTouchEvent(event); event.recycle(); } } private void clearQueuedEvents() { while (!mQueuedEvents.isEmpty()) { mQueuedEvents.remove().recycle(); } } // NOTE: MotionEvents generated from this method should be recycled. private MotionEvent transformToRemoteCoordinates(MotionEvent event) { // Use a copy of the original event so the original event can be passed to other // detectors/handlers in an unmodified state. event = MotionEvent.obtain(event); // Transform the event coordinates so they represent the remote screen coordinates // instead of the local touch display. Matrix inverted = new Matrix(); mRenderData.transform.invert(inverted); event.transform(inverted); return event; } private void resetStateData() { clearQueuedEvents(); mInRemoteGesture = false; mIgnoreTouchEvents = false; } }
java
const Features = () => null export default Features
javascript
{"localities": ["Providence, RI", "Friar Station, RI", "Providence College, RI"], "state": "RI", "postal_code": "02918", "locality": "Providence, RI", "lat": null, "region": {"fips": "44", "abbr": "RI", "name": "Rhode Island"}, "city": "Providence", "type": "UNIQUE", "lng": null, "counties": [{"fips": "007", "name": "Providence County"}]}
json
The Women's T20 World Cup 2023 will end tonight with a clash between Australia and South Africa. Defending champions Australia will look to defend their title against the hosts in this year's mega event. Australia have been quite dominant in the tournament. They beat South Africa, Sri Lanka, Bangladesh and New Zealand en route to the final. South Africa, meanwhile, won against New Zealand, Bangladesh and England. They lost group games against Sri Lanka and Australia but performed brilliantly in the other games to make the summit clash. Newlands will play host to the Women's T20 World Cup 2023 final. The conditions at the venue are generally conducive for batting. Both semifinals on the ground were high-scoring affairs. Another run-fest in the mega event at Newlands can be expected. On that note, here are three batters who could score the most runs in the final: #1 Laura Wolvaardt (South Africa) South Africa opener Laura Wolvaardt has played a key role in her team's run to the final. Wolvaardt has aggregated 169 runs in five games at an average of 42. 25 and strike rate close to 100. Wolvaardt has been in top form in recent games. She scored a half-century in the last group game against Bangladesh and followed that up with another half-century against England in the semifinals. Wolvaardt will look to make another big contribution in the Women's T20 World Cup final. #2 Tazman Brits (South Africa) Tazman Brits and Laura Wolvaardt's opening combination has troubled opposition bowling lineups throughtout the competition. Wolvaardt is the tournament's fourth-highest run-getter, while her opening partner Brits is second. Brits has aggregated 176 runs in five innings, smashing 18 fours and three sixes. Like Wolvaardt, Brits has scored half-centuries in her last two innings. She was the Player of the Match in the semifinal against England. It will be interesting to see if she can replicate that performance against the Aussies in the final. #3 Alyssa Healy (Australia) Alyssa Healy is the top run-scorer for Australia in the Women's T20 World Cup 2023. She holds third position in the overall leaderboard with 171 runs in four games. Healy has scored two half-centuries in the competiition, with her best score being 55. The Australian batter has a splendid batting average of 57 in the ongoing mega event. The pitch at Newlands is excellent for batting, which is why the chances of Healy playing another big knock on the grand stage are pretty high.
english
<reponame>akhilrawat001/guide-star-india-scraper-js { "contacts": [], "guideStarURL": "http://www.guidestarindia.org/Summary.aspx?CCReg=7569", "name": "JNANA-DEEP CHARITABLE SCHOOL TRUST", "primaryEmail": "<EMAIL>", "organisationType": [ "Direct Service", "Support" ], "telephone": [ "919448023368" ], "mainAddrress": { "state": "Karnataka", "address": [ "71, Pillamma road", "Kacarakanahalli", "Bangalore", "Bengaluru (Bangalore) Urban", "Karnataka", "560084" ] } }
json
<reponame>gitforharpreet/Responsive-Web-Design-Projects---freecodecamp<gh_stars>0 @import url('https://fonts.googleapis.com/css2?family=Rubik:ital,wght@1,500&display=swap'); body { background-color: wheat; } #header { width: 100%; background-color: #3d2c1c; display: flex; justify-content: space-between; margin: auto; position: fixed; top:0; left:0; z-index: 1; } #main-div { top: 80px; position: absolute; } #vid-div { max-width: 1200px; height: auto; } iframe { width: 550px; height: 400px; } #coffee-type-div1 { width: 1000px; height: auto; margin: 100px; margin-top: 50px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); text-align: left; font-family: arial; background-color: burlywood; align-self: left; } #coffee-type-div2 { width: 1000px; height: auto; margin: 100px; margin-top: 50px; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.1); text-align: left; font-family: arial; background-color: burlywood; } .coffee-type-text-div { width: 60%; height: auto; display: inline-block; margin: auto; } .coffee-type-img-div { display: inline-block; } .coffee-type-img { width: 250px; height: auto; margin-left: 80px; align-self: center; } .coffee-type-text-div p { display: inline-block; text-align: justify; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-size: medium; margin-left: 10px; } .coffee-type-text-div h3 { font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif; text-align: center; font-size: 2em; margin:0px; background-color: darkgoldenrod; } #vid-1 { width: 550px; height: auto; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin: 50px 20px 20px 20px; text-align: center; font-family: arial; background-color: burlywood; display: inline-block; } #vid-2 { width: 550px; height: auto; box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2); margin: 20px 20px auto; text-align: center; font-family: arial; background-color: burlywood; display: inline-block; } .p-comment{ display: block; font-family: Carlibri; font-style: italic; text-align: justify; margin: 10px; } .p-comment-by { font-style: italic; text-align: right; margin: 10px; } h1 { font-family: 'Rubik', 'Times New Roman', Times, serif; color: wheat; flex-grow: 1; margin: 0px; } article { font-family: Tahoma, sans-serif; color: #663300; font-size: 2.5em; display: block; margin-top: 0.67em; margin-bottom: 0px; margin-left: 0; margin-right: 0; font-weight: bold; } #header-img { width: 70px; height: auto; flex-grow: 0; } #nav-bar ul { top: 0; } #nav-bar li { display: inline-block; margin-right: 50px; margin-top: 30px; } .nav-link { font-family: 'Rubik', 'Times New Roman', Times, serif; font-weight: 600; font-size: larger; color: wheat; text-decoration: none; text-align: center; } #nav-bar { flex-grow: 2; } li a:hover { color: darkkhaki; } #franchise-div { width: auto; height: 500px; } .cost-div { max-width: 300px; height: auto; margin: 50px 50px auto; border: 2px solid black; display: inline-block; } .cost-head-div { text-align: center; background-color: black; margin: -19px auto; background-color: #663300; color: wheat; font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; font-weight: 700px; } .cost-details-div { font-family: 'Lucida Sans'; font-size: .9em; margin: auto; } .cost-details-div ul { list-style: disc; } .cost-details-div ul li { margin-top: 30px; } footer { position: fixed; left: 0; bottom: 0; width: 100%; height: 50px; background-color: #3d2c1c; color: burlywood; text-align: center; } #form { margin-top: 10px; } @media screen and (max-width: 600px) { #franchise-div { width: 500px; height: 500px; } #header { font-size: .5em; } }
css
<reponame>luosichengx/myplace<filename>src/main/resources/static/mas_json/2012_cvpr_4713747540739922952.json {"title": "Recognizing proxemics in personal photos.", "fields": ["contextual image classification", "computer vision", "direct method", "proxemics", "pose"], "abstract": "Proxemics is the study of how people interact. We present a computational formulation of visual proxemics by attempting to label each pair of people in an image with a subset of physically based \u201ctouch codes.\u201d A baseline approach would be to first perform pose estimation and then detect the touch codes based on the estimated joint locations. We found that this sequential approach does not perform well because pose estimation step is too unreliable for images of interacting people, due to difficulties with occlusion and limb ambiguities. Instead, we propose a direct approach where we build an articulated model tuned for each touch code. Each such model contains two people, connected in an appropriate manner for the touch code in question. We fit this model to the image and then base classification on the fitting error. Experiments show that this approach significantly outperforms the sequential baseline as well as other related approches.", "citation": "Citations (80)", "year": "2012", "departments": ["University of California, Irvine", "Microsoft", "Microsoft", "University of California, Irvine"], "conf": "cvpr", "authors": ["<NAME>.....http://dblp.org/pers/hd/y/Yang_0007:Yi", "<NAME>.....http://dblp.org/pers/hd/b/Baker:Simon", "<NAME>.....http://dblp.org/pers/hd/k/Kannan:Anitha", "<NAME>an.....http://dblp.org/pers/hd/r/Ramanan:Deva"], "pages": 8}
json
<filename>proteus-spring-dashboard/src/app/pages/dashboard/dashboard.service.ts<gh_stars>1-10 import { Injectable } from '@angular/core'; import { Chart } from '../../chart.interface'; import { RealtimeChart } from '../../realtime-chart'; @Injectable() export class DashboardService { }
typescript
{ "nlscan-plugin-barcodescanner": { "source": { "type": "local", "path": "E:\\Cordova Workspace\\FUJITEC\\NlScanCordova\\node_modules\\nlscan-plugin-barcodescanner" }, "is_top_level": true, "variables": {} } }
json
Redstone has made a lot of things possible in Minecraft. Since its introduction in the 1. 5 update, aptly titled the Redstone Update, the game has never been the same. So many things are possible now, including devices that can make the game much more manageable. Computers, game console emulators, and all kinds of incredible creations can be made. Redstone is also helpful in small capacities, like making an automatic sugar cane farm or a redstone door. Even those small things can be made incredibly impressive with redstone. It's not a complex item to collect, which is helpful given its usefulness. This Minecraft Redditor made excellent use of redstone and somehow made one of the most incredible redstone doors the game has ever seen. Most redstone doors are straightforward. They usually feature a door and just a redstone device. A lever, a pressure plate, or a button will all work perfectly to make a door open when users want. That's true of most redstone devices: the simpler they are, the more common they are because more gamers are willing to make them. Everyone can use a button and a pressure plate, after all. Complicated devices are impressive and rare because few people can pull them off. In fact, most users won't even try. The door that this Minecraft Redditor made falls into the latter category. It's impressive, but it seems nearly incomprehensible. Some people are gifted with redstone, and this person is one of them. Sometimes redstone doors use item frames. Cooler and more difficult ones can utilize an item frame to open the door. If the item is rotated to the correct position, it can trigger pistons that push the door open. This is well beyond that, though. The Redditor removes an item frame before turning around for a moment. They then proceed to walk right through a decorated stone wall. It's almost incomprehensible, but through redstone, anything, apparently including phasing through a wall, is possible. Minecraft gamers stretch the limits of possibility every day. The Minecraft community was enthralled with the post, with many commenters leaving positive thoughts under it. Many picked up on the Lord of the Rings references. The iconic franchise found itself referenced many times in the comments section. Nerds everywhere were fond of this particular post. Others felt the name glow squid was a nice touch. Tons of commenters were just pleased with how awesome the whole thing looked. Several Minecraft players gave it incredibly high praise. The use of the word extremely might be an understatement. Many other gamers were left almost completely speechless. This is one of the most impressive builds seen in a while. Overall, the community has loved this post so far. They've given it an astounding 29 thousand upvotes in just one day at the time of writing.
english
package Ficha6; import java.util.Map; import java.util.List; import java.util.HashMap; import java.util.ArrayList; import java.lang.String; import java.time.LocalDateTime; public class FBFeedMap{ private Map<String,List<FBPost>> feeds; // Construtores public FBFeedMap(){ this.feeds = new HashMap<>(); } public FBFeedMap (Map<String,List<FBPost>> f){ this.feeds = new HashMap<>(); for (Map.Entry<String,List<FBPost>> par : f.entrySet()){ ArrayList<FBPost> aux = new ArrayList<>(); for (FBPost fb : par.getValue()){ aux.add(fb.clone()); } this.feeds.put(par.getKey(), aux); } } public FBFeedMap (FBFeedMap f){ this.feeds = f.feeds; } // Clone public FBFeedMap clone(){ return new FBFeedMap(this); } // A public void addPost (String user, FBPost post){ if (this.feeds.containsKey(user)){ this.feeds.get(user).add(post); } } // B }
java
{ "type": "service_account", "project_id": "crack-fold-339310", "private_key_id": "b872005eb715b500811ca63a13d37f9bdaa83bed", "private_key": "-----<KEY>", "client_email": "<EMAIL>", "client_id": "100800442537963947636", "auth_uri": "https://accounts.google.com/o/oauth2/auth", "token_uri": "https://oauth2.googleapis.com/token", "auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs", "client_x509_cert_url": "https://www.googleapis.com/robot/v1/metadata/x509/mfc-lm38ak3vojrzkiscxf5e0cdqcd%40crack-fold-339310.iam.gserviceaccount.com" }
json