text
stringlengths
1
1.04M
language
stringclasses
25 values
{"template":{"small":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/1.0","medium":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/2.0","large":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/3.0"},"channels":{"lpngaming":{"title":"LPNgaming","channel_id":52328345,"link":"http://twitch.tv/lpngaming","desc":null,"plans":{"$4.99":"7064","$9.99":"27598","$24.99":"27599"},"id":"lpngaming","first_seen":null,"badge":"https://static-cdn.jtvnw.net/badges/v1/0feb06af-9dad-479b-b497-724bda2df8d4/1","badge_starting":"https://static-cdn.jtvnw.net/badges/v1/0feb06af-9dad-479b-b497-724bda2df8d4/3","badge_3m":null,"badge_6m":null,"badge_12m":null,"badge_24m":null,"badges":[{"image_url_1x":"https://static-cdn.jtvnw.net/badges/v1/0feb06af-9dad-479b-b497-724bda2df8d4/1","image_url_2x":"https://static-cdn.jtvnw.net/badges/v1/0feb06af-9dad-479b-b497-724bda2df8d4/2","image_url_4x":"https://static-cdn.jtvnw.net/badges/v1/0feb06af-9dad-479b-b497-724bda2df8d4/3","description":"Subscriber","title":"Subscriber","click_action":"subscribe_to_channel","click_url":""}],"bits_badges":null,"cheermote1":null,"cheermote100":null,"cheermote1000":null,"cheermote5000":null,"cheermote10000":null,"set":7064,"emotes":[{"code":"ph1WHY","image_id":40021,"set":7064},{"code":"ph1POPOFF","image_id":40017,"set":7064}]}}}
json
<gh_stars>10-100 ''' Created 03/20/2014 @authors: <NAME> @summary: parse inchikey and drugbank_id from drugbank.xml then parse inchikey, FDA Preferred Term and UNII from UNIIs records match the results from drugbank and results of parse UNIIs records output terms: FDA Preferred Term, UNII, Drugbank URI output file: PT-UNIIs-Drugbank-03202014.txt ''' from lxml import etree from lxml.etree import XMLParser, parse import os, sys DRUGBANK_XML = "drugbank.xml" UNIIS_RECORDS = "UNIIs 27Jun2014 Records.txt" NS = "{http://www.drugbank.ca}" DRUGBANK_BIO2RDF = "http://bio2rdf.org/drugbank:" DRUGBANK_CA = "http://www.drugbank.ca/drugs/" dict_ickey_dbid = {} ''' data structure of drugbank.xml </drug><drug type="small molecule" created="2005-06-13 07:24:05 -0600" updated="2013-09-16 17:11:29 -0600" version="4.0"> <drugbank-id>DB00641</drugbank-id> <name>Simvastatin</name> <calculated-properties> <property> <kind>InChIKey</kind> <value>InChIKey=RYMZZMVNJRMUDD-HGQWONQESA-N</value> <source>ChemAxon</source> </property> ''' #get mappings of inchikey and drugbank id def parseDbIdAndInChiKey(root): for childDrug in root.iter(tag=NS + "drug"): subId = childDrug.find(NS + "drugbank-id") if subId == None: continue else: drugbankid = subId.text drugbankName = unicode(childDrug.find(NS + "name").text) for subProp in childDrug.iter(NS + "property"): subKind = subProp.find(NS + "kind") if subKind == None: continue elif subKind.text == "InChIKey": subValue = subProp.find(NS + "value") if subValue == None: continue else: #print drugbankid + '\t' + subValue.text[9:] ikey = subValue.text[9:] dict_ickey_dbid [ikey] = (drugbankid,drugbankName) p = XMLParser(huge_tree=True) tree = parse(DRUGBANK_XML,parser=p) root = tree.getroot() parseDbIdAndInChiKey(root) #print dict_ickey_dbid #read mapping file that contains UNII PT INCHIKEY for line in open(UNIIS_RECORDS,'r').readlines(): row = line.split('\t') inchikey = row[4] if len(inchikey) == 0: continue #print "mapping inchikey:" + inchikey if dict_ickey_dbid.has_key(inchikey): drugbankid = dict_ickey_dbid[inchikey][0] drugbankName = dict_ickey_dbid[inchikey][1] output = row[1] +'\t'+ row[0] +'\t'+ drugbankName +'\t'+ DRUGBANK_CA + drugbankid +'\t'+ DRUGBANK_BIO2RDF + drugbankid print output.encode('utf-8').strip()
python
Canelo Alvarez and Jermell Charlo will collide in an epic clash to decide the undisputed super-middleweight champion this weekend. Alvarez will be hoping to defend his super-middleweight crown for a third time, while Charlo is aiming to become only the second male boxer to be an undisputed champion in two weight divisions. Jermell Charlo is currently the undisputed king of the light middleweight division, following his KO win over Brian Castano in May, 2022. According to 'Iron Man', he hopes to face Canelo Alvarez in a rematch of their upcoming bout. Charlo appeared in front of a small group of media members following yesterday's press conference, where he elaborated on the details of the rematch clause and said: "Yes there's a rematch clause in this contract. So that's why I mentioned that in the press conference. I'm looking forward to a rematch, 'cause if forbid I don't win this fight, then of course he moves on to the contract he has to fulfill with PBC." Watch the video below: Jermell Charlo's comments imply that if he defeats Canelo Alvarez, then the Mexican fighter will be granted an immediate rematch, if he would like it. But should 'Iron Man' lose, he will not be awarded the same opportunity. Canelo Alvarez and Jermell Charlo will go head-to-head in a battle between two undisputed kings this weekend. Alvarez will be welcoming 'Iron Man' to the super-middleweight division for the first time, and the Mexican is eager to prove Charlo wrong about the difference in their skillsets. He stated that comments made by Jermell Charlo about the super-middleweight's lack of skills have fueled his motivation for this fight camp. During the final press conference ahead of fight night, Alvarez warned 'Iron Man' that he was out of his depth, and "will learn" about the levels of boxing. Following the conference, Canelo Alvarez joined Luke Thomas and Brian Campbell, where he said: "I don't like being fake. He's calling me out a lot of times, and he's talking s**t about me before, and this and that. And here he is all calm, and this kind of fight motivate myself. Because maybe I have nothing to prove to the people, but I have something to prove to him. He never believed in my skills. Now I have the opportunity to show why I'm one of the best." Watch the video below from 59:05:
english
package com.example.util; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.BeansException; import org.springframework.context.ApplicationContext; import org.springframework.context.ApplicationContextAware; import org.springframework.context.ApplicationEvent; import org.springframework.stereotype.Component; @Component public class SpringUtil implements ApplicationContextAware { private static Logger logger = LoggerFactory.getLogger(SpringUtil.class); private static ApplicationContext applicationContext = null; private static SpringUtil Instance = null; public synchronized static SpringUtil init() { if (Instance == null) { Instance = new SpringUtil(); } return Instance; } @Override public void setApplicationContext(ApplicationContext applicationContext) throws BeansException { SpringUtil.applicationContext = applicationContext; } public synchronized static Object getBean(String beanName) { return applicationContext.getBean(beanName); } /** * 发布消息 */ public static void publish(ApplicationEvent event) { applicationContext.publishEvent(event); logger.info("发布消息完毕"); } }
java
What are the effects of asking for forgiveness from Allah? What are the effects of asking for forgiveness from Allah? And which verse of the holy Qur\'an talks about the effects of asking for forgiveness from Allah? Besides, were the divinely appointed Prophets (A) always in places of worship or did they also enter the battlefield as well? What does this stance of the divinely appointed Prophets (A) say about those who dissuade people from entering the battlefield to defend the truth, justice, righteousness and the rights of the oppressed in the present-day? Additionally, what was the prayer of those who fought alongside the the divinely appointed Prophets (A) of the past? Furthermore, what is the relationship between asking for forgiveness and Divine assistance? And does Allah answer those who truly ask for forgiveness from Him? What is Allah’s answer to them? And finally, is asking for forgiveness limited to personal sins or does it have larger effects? The Leader of the Muslim Ummah, Imam Sayyid Ali Khamenei, sheds light on the effects of asking for forgiveness and its various dimensions. May Allah find it in His divine mercy to forgive us all. Video Tags: Hezbollah Secretary General Sayyed Hasan Nasrallah said on Wednesday that the latest EU decision regarding Hezbollah will only doom to failure, advising the European states to soak their paper in water and drink it, for the Resistance will remain vital and victorious by the will of Allah Almighty. Hezbollah Secretary General Sayyed Hasan NasrallahDuring his speech at the annual Iftar ceremony held by the Women\\\\\\\\\\\\\\\'s Committee of Islamic Resistance Support Association of Hezbollah, Sayyed Nasrallah noted that the resistance has its own presence and influence in the regional equations, and has been always a concern at the Lebanese, Arab, regional and international levels, whether positively or negatively. \\\\\\\\\\\\\\\"A positive interest from those who believe in the resistance, pin their hopes on it and consider it to be a source of pride, and negative interest from those who consider it a source of threat for their occupation and hegemony,\\\\\\\\\\\\\\\" he said. His eminence indicated that the Resistance is not on the margin and there is always attempts to eliminate and crush it, whether militarily, politically, morally or culturally, expressing beliefs that such decisions have no more than psychological effects. \\\\\\\\\\\\\\\"The most important for the Lebanese Resistance is to get the support of its people and to express their will, pride and view in defending their land and their sovereignty.\\\\\\\\\\\\\\\" Sayyed Nasrallah stressed that \\\\\\\\\\\\\\\"Resistance has gained credibility among people in Lebanon and the Arab and Islamic world and in many places of the world due to its sacrifices and steadfastness because it did not back down, retreat or get defeated and also due to its achievements and field victories.\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\"Resistance has changed the game rules and dropped projects and liberated captives, dignity and sovereignty of Lebanon. It also imposed a leading position for Lebanon in the region and will remain a solid fork in the eye of the Zionists and those who want Lebanon to get worse,\\\\\\\\\\\\\\\" his eminence added. Touching on the EU member-states\\\\\\\\\\\\\\\' decision that blacklisted what they dubbed \\\\\\\\\\\\\\\'the military wing\\\\\\\\\\\\\\\' of Hezbollah, Sayyed Nasrallah said that the decision has been announced in the media without issuing a formal statement to unfold its motives, evidence and logic. His eminence noted that the EU official statement will be issued within days, and the party will see then whether it will hold any argument or logic to be discussed, pointing out that the historical course of the European states confirms that their stance is not subjected to any values. Thanking all presidents, leaders, personalities and institutions that rejected the EU decision and condemned it, his eminence stated that the party wasn\\\\\\\\\\\\\\\'t surprised by the decision but the leadership has expected it since the previous period. Iftar 2013Hezbollah Secretary General went on to say that the Zionists have expressed that the decision was the result of diplomatic efforts they exerted, recommending some of those who rejoiced in Lebanon to hide their joy a little bit so they wouldn\\\\\\\\\\\\\\\'t express the same state of happiness as the Israelis. Sayyed Nasrallah reiterated that the EU countries have insulted themselves and their principles, interests and sovereignty when they submitted to the Israelis and Americans, stating that \\\\\\\\\\\\\\\"EU countries should know they are giving legal cover for Israel to launch any war on Lebanon because Israel can claim it is waging war on the terrorists.\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\"These countries make themselves a full partner in the Israeli aggression on Lebanon, on the Resistance and on any target for the resistance in Lebanon.\\\\\\\\\\\\\\\" The Lebanese Resistance leader asked why the military wing of Israeli army wouldn\\\\\\\\\\\\\\\'t be put on the list of terror? While the EU \\\\\\\\\\\\\\\"repeatedly admits that Israel occupies Arab land and does not implement international resolutions since tens of years, and the whole world witnessed the Israeli massacres.\\\\\\\\\\\\\\\" He also voiced that the EU stance is subjected to the interests and pressures, not to the values and principles, where its effects are nothing more than psychological. \\\\\\\\\\\\\\\"In this country, resistance fighters fought the Israeli occupation and have endured a lot of pressure and sacrificed martyrs. Then you come to those who are the sons of this people and say they are terrorists. This is a very bad abuse for the fighters, for their people, and for their successive governments that were supporting the Resistance by their ministerial statements,\\\\\\\\\\\\\\\" he said. \\\\\\\\\\\\\\\"This is bad for Lebanon and the Lebanese government and people and not only for Resistance fighters,\\\\\\\\\\\\\\\" he added, stressing that \\\\\\\\\\\\\\\"this will not undermine our morale.\\\\\\\\\\\\\\\" Addressing the European states, Sayyed Nasrallah said: \\\\\\\\\\\\\\\"We are nationalists even in holidays. You can retake the visas you were granting for us. We do not have money in Europe. We do not have commercial or trade projects in Lebanon or abroad. therefore, this decision has no effects in this regard.\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\"Yesterday, European delegates in Lebanon tried to say that the decision will not affect relations with Lebanon,\\\\\\\\\\\\\\\" recalling that some in the March 14 bloc are working to frustrate the people and descend walls on their hopes. \\\\\\\\\\\\\\\"This decision aims at making us bow, to force us to step back and to be afraid. But I tell you that all you will get is failure and frustration,\\\\\\\\\\\\\\\" his eminence told the European Union. Hezbollah Secretary General Sayyed Hasan NasrallahIn the same context, Hezbollah Secretary General said that those who think that the resistance, which confronted in such days the strongest army in the region over 33 days, will be undermined by a silly decision is either will be subjugated by this decision are either delusional or ignorant. \\\\\\\\\\\\\\\"This decision will not be able to achieve any of its goals and we invite them (EU states) to correct this mistake because it will not lead to result,\\\\\\\\\\\\\\\" he stressed. \\\\\\\\\\\\\\\"Dip it (the decision) in water and drink it,\\\\\\\\\\\\\\\" he added to the EU. Touching on the local situation, Sayyed Nasrallah said that the other camp in Lebanon will not be able to exploit the decision in their domestic political calculations, or to isolate the party and form a cabinet without it. \\\\\\\\\\\\\\\"A government without Hezbollah will not be formed, not because we are eager for it but for other things.\\\\\\\\\\\\\\\" His eminence jokingly suggested that Hezbollah\\\\\\\\\\\\\\\'s ministers in the next government will be of the military wing of the party. \\\\\\\\\\\\\\\"So do not bet on exploiting the decision internally,\\\\\\\\\\\\\\\" he told the Lebanese political rivals. \\\\\\\\\\\\\\\"We call for the formation of a political government that preserve Lebanon and play in the heart of the storms moving around us.\\\\\\\\\\\\\\\" \\\\\\\\\\\\\\\"Resistance will remain and will be victorious by God\\\\\\\\\\\\\\\'s Will,\\\\\\\\\\\\\\\" Hezbollah Secretary General Sayyed Hasan Nasrallah concluded. Ayatollah Sayyid Ali Khamenei narrates and explains a tradition narrated from the 6th divinely appointed Imam, Imam Ja\'far ibn Muhammad al-Sadiq (A), where Imam Sadiq (A) speaks about how \"Oppressing Others Will Haunt You\". What does Imam Sadiq (A) say about the effects for a person when they commit oppression? Is it possible for the effects of one\'s oppression against others to be manifested in one\'s offspring? And in addition, is it possible for the effects of one\'s oppression against others to be manifested in the offspring of one\'s offspring? If the above is possible, then in what manner is this oppression that we commit against others manifest in our offspring or the offspring of our offspring? What verse of the holy Qur\'an does Imam Sadiq (A) bring as evidence to prove the tradition that his eminence (A) stated? Finally, why is it said that \"Oppressing Others Will Haunt You\"? Ayatollah Sayyid Ali Khamenei expounds upon the wise words of the 6th divinely appointed Imam, Imam Ja\'far al-Sadiq (A), where his eminence (A) speaks about how \"Oppressing Others Will Haunt You\". Video Tags: Visit our tutorial archive and network: Visit our tutorial archive and network: Learn how to simply and easily create cartoon versions of any images you want to apply the effects to. Adam is using Adobe illustrator CS4 and combininf a few effects to create a cartoon version of himself to use on the web. Since Adam is ugly this technique will help to make him appear not so ugly, or maybe he will be uglier. Leader of the Islamic Revolution Ayatollah Seyyed Ali Khamenei says Iran will raze Tel Aviv to the ground if Israel launches a military strike against the Islamic Republic. “Israel’s leaders sometimes threaten Iran, but they know that if they do a damn thing, the Islamic Republic will raze Tel Aviv and [the occupied city of] Haifa to the ground,” Ayatollah Khamenei said on Thursday in an address to large crowds of people in the northeastern Iranian city of Mashhad on the occasion of Nowruz (Iranian new year). The Leader pointed out that the enemy seeks to create hurdles through sanctions and threats and downplay Iran’s achievements through propaganda, as its two major strategies against the Iranian nation. “The center of conspiracy and the basis of hostility with the Iranian nation is the US government,” Ayatollah Khamenei noted. The Leader pointed to the effects of the West’s embargoes against Iran over its nuclear energy program, saying, “Besides the negative effects of the sanctions, a highly positive impact also took place and the huge potential of the Iranian nation was activated and the talents of the youths of our country flourished.\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\" “I am not opposed to talks with regard to the nuclear issue, but certain issues must be clarified,” Ayatollah Khamenei said. “Negotiation is an American tactic for deceiving the public opinion and if it is otherwise the Americans should prove it,” the Leader said. Elsewhere in his remarks, Ayatollah Khamenei pointed to Iran’s 11th presidential election in June and called for a high turnout in the poll in a bid to disappoint the enemies and ensure national security. Ground breaking new show exploring the effects of mainstream media on our lives. Ground breaking new show exploring the effects of mainstream media on our lives. This episode explores the effects of violent TV, movies and video games. Filmed & produced by Islamic Pulse. - Is Islam outdated, does it need to move with the times? - Is Islam outdated, does it need to move with the times? Jaffari Community Centre (JCC Live) What are two categories that can be created as regards to the blessings of the Azadari of Imam Husayn (A)? What are two categories that can be created as regards to the blessings of the Azadari of Imam Husayn (A)? What are some individual effects of Azadari and on the individual level, what is the best form of Azadari? Should the Azadari of Imam Husayn (A) have a practical impact on our daily lives? What are some of the societal effects of Azadari and on the societal level, what is the best from of Azadari? What is a measure to gauge what is the best form of Azadari, both on the individual and societal level? And can the individual Azadari and the congregational Azadari replace one another? Finally, \\\"What Is The Best Form of Azadari?\\\" The late Ayatollah Misbah-Yazdi (R) provides us with a profound crash-course on the basics of Azadari, the mourning over Imam Husayn (A), his family members, and his companions who were martyred on the 10th of Muharram, in the year 61 A.H. Video Tags: We haven’t been able to help people to understand this attractive, affectionate, deep, rational concept of getting close to God. We haven’t been able to help people to understand this attractive, affectionate, deep, rational concept of getting close to God. Follow us: The most important feature of a goal is that it should create a fire from within a person. It should give warmth, strengthen, entertain and give direction to a person’s imaginations. This is how a person’s goal should be, otherwise one’s life is useless. [As a poem says,] “Pray over his body although he’s not dead.” A life in which one’s goal doesn’t give warmth and doesn’t answer one’s need for love is a very low level of life. In our life, everything really depends on the goal we choose. Imagine if you let people be free but don’t talk about religion, God’s commands or beliefs. Just tell people, “Live with a goal that warms you, creates a fire and answers your need for love. See where you can find this goal yourself.” They can’t find such a goal even if false propaganda is used. Have you seen that people talk about love and affection? It’s interesting that everyone talks about love, but no one reaches to it. Everyone likes and admires a life filled with love. Instead of using the term “a life with love,” God has designed this in religion in this way that He says, “Set your goal to be getting close to Me.” Getting close to God will light a fire (of love) in one’s heart. Maybe when people talk about a life with love, this is what they mean. And we have worked so poorly and weakly in this regard! The effects of our deeds have sometimes been so repulsive that we haven’t been able to help people to understand this attractive, affectionate, deep, and so rational concept of getting close to God. People do not know religion to be getting close to God. But no deed without having the intention of getting close to God is accepted. Unfortunately, if you introduce religion without the concept of getting close to God, religion will seem awful to people. Those people [who’ve learned this kind of religion] are right to hate it. Perhaps religion without the passionate, attractive meaning of closeness to God has been taught to them. 17. Journalists Jane Akre and Steve Wilson were fired by the Fox News television station they work for after refusing to change their investigative report on Posilac - a Bovine Growth Hormone BGH made by Monsanto. Their research documents potential health and safety problems of drinking milk treated with the synthetic hormone - but threatened with legal action from Monsanto - Fox wants the negative effects played down. The court eventually throws out Akres whistle blower lawsuit after deciding that the media is allowed to lie. he introduction of genetically modified (GM) food and crops has been a disaster. The science of taking genes from one species and inserting them into another was supposed to be a giant leap forward, but instead they pose a serious threat to biodiversity and our own health. In addition, the real reason for their development has not been to end world hunger but to increase the stranglehold multinational biotech companies already have on food production. Genetically modified crops can enter the food chain and threaten biodiveristyWe are told that GM crops will help feed the world's poor but according to the United Nations, we already produce more than enough food to satisfy everyone. And even though consumers have rejected GM foods outright, the biotech companies and the governments that support them are still trying to force their inventions on us, purely for commercial gain. But the long term effects of GM crops have not been properly researched and, by cross-pollinating with non-GM crops and wild plants, they replicate themselves and contaminate the environment with genetic pollution that is impossible to clean up. The simple truth is, we don't need GM technology. Using sustainable and organic farming methods will allow us to repair the damage done by industrial farming, reducing the excessive use of fertiliser, herbicides and other man-made chemicals, and making GM crops redundant. If you want a future free from GM food, help us make sure that companies and governments around the world get the message. A great discussion on the basis progress and effects of the Islamic Revolution in Iran. The program was hosted by br. Zafar Bangash. Panelists were Imam Al Asi and br. Afif Khan. Sony Vegas is an audio video editing software. In this video you will learn how to use keyframes and how they can give awsome animated effects to the video. Supreme Leader of the Islamic Revolution Ayatollah Ali Khamenei said Tuesday that enemies of Iran have failed to divide Iranian authorities. Addressing a large crowd in this holy city, Ayatollah Khamenei said that riots of the last year\\\'s post presidential elections era have insured the Islamic Revolution as it added to the public insight. \\\'The presence of 40 million of Iranians in the last year\\\'s presidential elections has angered enemies of the country and defused their conspiracies,\\\' the Supreme Leader told his well-wishers. The Ayatollah arrived in Qom earlier on Tuesday amid warm and enthusiastic welcome of the local people. Ayatollah Khamenei stressed that enemies have failed to undermine people\\\'s religious sentiments through negative propaganda. \\\'Enemies are seeking an Islam without clerics and without politics as they know how clerics can play an effective role in people\\\'s daily lives and have significant effects on the society and public moves,\\\' said the Ayatollah. The Supreme Leader stressed that Iranians would continue their move towards a brighter future by making more progress and defusing enemies\\\' conspiracies. Enemies do not refer to strong points but they, instead, multiply weak points, if any, in order to disappoint the people, the young generation in particular, and try to portray a dark future for them in order to make them leave the scene\\\' of social and political life, Ayatollah Khamenei said. The Supreme Leader arrived in this holy city Tuesday morning amid the warm and enthusiastic welcome of the local people. Qom is considered as the religious capital of Iran. During the past 32 years, The Islamic Revolution has always enjoyed full support of the Iranian nation which was the key to the pepole\\\'s resistance against enemies\\\' conspiracies, the Ayatollah stressed. The Supreme Leader added, \\\'The strong presence of people is the backbone of the resistance of the Iranian authorities\\\' against pressures exerted by enemies of the Islamic Revolution. The Ayatollah added that currently, the Iranian revolution was recognized worldwide as a religious revolution \\\'since it could never survive the past crises if it lacked a religious nature. The Indus deltaTwo months after the biggest floods in living memory, Declan Walsh, the Guardian's Pakistan correspondent, travels down the Indus river. In the final part of his journey, he reaches the sea at its delta. While the flooding has meant destruction elsewhere, here it means renewal, with fish returning to the area and mangroves being cultivated again. In the third of this four-part series Declan Walsh travels to Sehwan, home to Pakistan's largest Sufi shrine, where the flood waters are draining slowly and illness and malnourishment are rife.
english
{"id":"00023","group":"spam-2","checksum":{"type":"MD5","value":"5bec0fc32cfc42c9cc5c941d94258567"},"text":"From <EMAIL> Wed Jul 3 12:35:34 2002\nReturn-Path: <<EMAIL>>\nDelivered-To: y<EMAIL>.labs.netnoteinc.com\nReceived: from localhost (localhost [127.0.0.1])\n\tby phobos.labs.netnoteinc.com (Postfix on SuSE Linux 8.0 (i386)) with ESMTP id 1D07E14F8FF\n\tfor <jm@localhost>; Wed, 3 Jul 2002 12:32:47 +0100 (IST)\nReceived: from dogma.slashnull.org [212.17.35.15]\n\tby localhost with IMAP (fetchmail-5.9.0)\n\tfor jm@localhost (single-drop); Wed, 03 Jul 2002 12:32:47 +0100 (IST)\nReceived: from mandark.labs.netnoteinc.com ([172.16.58.3]) by\n dogma.slashnull.org (8.11.6/8.11.6) with ESMTP id g47C8T204580 for\n <<EMAIL>>; Tue, 7 May 2002 13:08:29 +0100\nReceived: from server-nt4.mairie-bezons.fr (mailhost.mairie-bezons.fr\n [194.3.113.79]) by mandark.labs.netnoteinc.com (8.11.2/8.11.2) with ESMTP\n id g47C8JD12826 for <<EMAIL>>; Tue, 7 May 2002 13:08:21 +0100\nMessage-Id: <<EMAIL>>\nReceived: from smtp0147.mail.yahoo.com (ip503ca1af.speed.planet.nl\n [80.60.161.175]) by server-nt4.mairie-bezons.fr with SMTP (Microsoft\n Exchange Internet Mail Service Version 5.5.1960.3) id KM70M961;\n Mon, 6 May 2002 22:57:47 +0200\nReply-To: <EMAIL>\nFrom: <EMAIL>\nTo: <EMAIL>\nCc: <EMAIL>, <EMAIL>, <EMAIL>,\n\<EMAIL>, <EMAIL>, <EMAIL>,\n\t<EMAIL>\nSubject: discounted mortgage broker 512517\nMIME-Version: 1.0\nDate: Sat, 23 Jun 2001 13:08:25 -0700\nContent-Type: text/html; charset=\"iso-8859-1\"\n\n<html>\n<p>Mo<!--mommy-->rtgage R<!--dad-->ates are at an all t<!--lilloipops-->ime low. We can find AN<!--south of my-->YONE with ANY CRE<!--stopmom-->DIT (great or horrible)\nthe lowe<!--nine oclock-->st and most competitive rates. Simple takes under 1 m<!--pollutes-->inute.\n<p>\n<a href=http://www.requestedinfo.net/cgi-bin/best_rate_virtual.cgi?code=btinh>TRY NOW</a>\n<p>\n</html>\n512517\n\n\n"}
json
REN vs SIX Match Details, BBL 2020-21: The 18th Match of the Big Bash League (BBL 2020-21) will be played between Melbourne Renegades and Sydney Sixers at the Carrara Oval, Queensland on Tuesday. The match is scheduled to start at 12:40 PM IST. It will be telecasted on Sony Networks. REN vs SIX Match Preview, BBL 2020-21: Melbourne Renegades free fall continues as they faced their third consecutive defeat. In the last game, they were completely outplayed by Sydney Thunder as they were defeated by 129 runs. They will be desperate to put an end to this losing streak. Currently, they are at 6th position on the points table. Meanwhile, the Sydney Sixers have been very impressive so far. They have won three games in a row and would want to carry on this momentum to the upcoming games. Their last game against the Melbourne Stars was a thriller as they clinched victory in the penultimate ball. At halfway stage, they were nowhere but their skipper Daniel Hughes started counter-attacking on the bowlers as he scored 96 runs off just 51 balls. They are currently on the top of the points table. REN vs SIX Weather Report, BBL 2020-21: Weather report suggests that there is a 40 % chance of rainfall on Tuesday. The temperature will hover around 25-26 degrees celsius. REN vs SIX Pitch Report, BBL 2020-21: It’s a good batting surface at Carrara Oval and batsmen should feel at ease in the middle. With the conditions not likely to change much as the match progresses, both teams could look to chase after winning the toss. As per previous stats, we can expect a high scoring game at the Carrara Oval with scores of over 170 being a common occurrence. Average 1st Innings score: Record of chasing teams: REN vs SIX Injury Update, BBL 2020-21: (Will be updated later if any) REN vs SIX Probable XIs, BBL 2020-21: Melbourne Renegades: Shaun Marsh, Aaron Finch (c), Sam Harper (wk), Rilee Rossouw, Beau Webster, Mohammad Nabi, Imad Wasim, Will Sutherland, Kane Richardson, Zak Evans, Peter Hatzoglou. Sydney Sixers: Josh Philippe (wk), Jack Edwards, James Vince, Daniel Hughes (c), Jordan Silk, Daniel Christian, Carlos Brathwaite, Jason Holder, Ben Dwarshuis, Steve OKeefe, Ben Manenti. Bench: Gurinder Sandhu, Jackson Bird, Jake Ball, Lloyd Pope, Thomas Rogers, Justin Avendano, Nicholas Bertus, Lawrence Neil-Smith, Hayden Kerr, Mickey Edwards. REN vs SIX Top picks to Consider for your Dream11 Fantasy Cricket Team: Daniel Hughes, the skipper of Sydney Sixers, is in the form of his life. He is currently the leading run-scorer of the season with 183 runs. In the last game, he played a breathtaking knock of 96 runs in just 51 balls. Daniel Christian, the highly experienced all-rounder for Sydney Sixers, is a must pick player as he can contribute both with the bat and ball. He has picked 4 wickets and scored 85 runs at a very good strike rate. Josh Philippe, the exciting youngster, opens the batting for Sydney Sixers and scores runs within no time. In his first game against Melbourne Renegades, he played a brilliant knock of 95 runs in just 53 balls. Aaron Finch, the captain of Melbourne Renegades, has not produced any impactful performance so far. He has scored 67 runs in 3 games. In the last game, he looked in good touch but couldn’t stay at the crease longer. He will surely look to play a big knock in the upcoming game. Kane Richardson leads the pace attack for Melbourne Renegades. He has been consistent throughout and has Picked 7 wickets in 4 games. REN vs SIX Captain and Vice-Captain Choices, BBL 2020-21: Suggested Playing XI No.1 for REN vs SIX Dream11 Prediction And Fantasy Cricket Tips: Suggested Playing XI No.2 for REN vs SIX Dream11 Prediction And Fantasy Cricket Tips: Batsmen – Daniel Hughes, Jordan Silk, Aaron Finch, Shaun Marsh, Rilee Rossouw (VC) All-rounders – Craig Brathwaite, Daniel Christian (C) REN vs SIX Expert Advice, BBL 2020-21: Steven O’Keefe is bowling very well and is picking wickets at regular intervals. He is a good captaincy choice for grand league teams. Prefer going with a balanced combination for this match, filling in players from all the sections equally. REN vs SIX Probable Winners, BBL 2020-21: Sydney Sixers are the favourites to win this match.
english
Prime Minister Shri Narendra Modi released 8th instalment of financial benefit of Rs 2,06,67,75,66,000 to 9,50,67,601 beneficiary farmers under Pradhan Mantri Kisan Samman Nidhi (PM-KISAN) scheme today via video conferencing. Prime Minister also interacted with farmer beneficiaries during the event. Union Agriculture Minister was also present on the occasion. While interacting with beneficiaries of Pradhan Mantri Kisan Samman Nidhi (PM-KISAN) scheme via video conferencing, Prime Minister appreciated Arvind from Unnao in Uttar Pradesh for providing training to young farmers of his region on organic farming and new farming techniques. He lauded Patrick from Car Nicobar in Andaman and Nicobar Islands for doing large-scale organic farming. He praised the efforts taken by N Vennurama from Anantapur in Andhra Pradesh for guiding more than 170 adivasi farmers of her region. PM appreciated Revistar from Meghalaya for producing spices like Ginger powder, turmeric, cinnamon, etc in the hilly areas of Meghalaya. He also interacted with Khurshid Ahmed from Srinagar, Jammu & Kashmir who cultivates vegetables like capsicum, green chillies and cucumber organically. Speaking on the occasion, the Prime Minister said for the first time, the farmers of West Bengal would be getting the benefit of this scheme. He lauded the efforts of the farmers who have made record produce in food grains and horticulture amidst the difficulties during this pandemic. He said Government is also setting new records in procurement at MSP every year. Paddy procurement at MSP had set new records and now wheat procurement at MSP is also setting new records. He added that so far this year, about 10 percent more wheat has been procured at MSP, compared to last year. So far, about Rs. 58,000 crores for wheat procurement has reached the farmers' account directly. Prime Minister remarked that the Government is constantly trying to provide new solutions and new options in farming. Promoting organic farming is also one of such effort. Organic farming delivers more profit and is now being practiced across the nation by young farmers. He said that now organic farming is being practised on both banks of Ganga and within a radius of about 5 kilometers, so that the Ganga remains clean. Prime Minister stressed that during this COVID-19 pandemic, Kisan Credit Card’s deadline has been extended and instalments can now be renewed by 30 June. He said more than 2 crore Kisan Credit Cards have been issued in recent years. Prime Minister said that this once in a century pandemic is challenging the world, as it is an invisible enemy in front of us. He said the Government is fighting COVID-19 with all its might and ensuring that every government department is working day & night to ease the pain of the nation. Prime Minister remarked that Central Government and all the State Governments together, are making continuous efforts to enable more and more countrymen to get vaccinated at a rapid pace. He said so far, around 18 crore vaccine doses have been given across the country. Free vaccination is being done in government hospitals across the country. Prime Minister urged everyone to register for the vaccine when their turn comes and ensure covid appropriate behaviour at all times. He added that this vaccine is an important means of protection against corona and will reduce the risk of serious illness. Prime Minister said Armed forces are working with full strength to ensure oxygen supply in these tough times. Railways are also running oxygen express trains. The pharma sector of the country is manufacturing and delivering medicines at a large scale. He requested the State Governments to ensure strict laws to counter black marketing of medicines and medical supplies. Prime Minister remarked that India is not a nation that loses hope in tough times and hoped that this challenge would be overcome with strength & dedication. He warned about the spread of COVID-19 in rural areas as well and urged the village panchayats to ensure proper awareness and sanitation in their respective areas.
english
import json from aleph.tests.util import TestCase class DocumentsApiTestCase(TestCase): def setUp(self): super(DocumentsApiTestCase, self).setUp() self.load_fixtures('docs.yaml') def test_index(self): res = self.client.get('/api/1/documents') assert res.status_code == 200, res self.login(is_admin=True) res = self.client.get('/api/1/documents') assert res.status_code == 200, res assert res.json['total'] == 4, res.json fix = '720badc9cfa9a80fc455239f86c56273dc5c8291' res = self.client.get('/api/1/documents?content_hash=%s' % fix) assert res.status_code == 200, res assert res.json['total'] == 1, res.json assert res.json['results'][0]['content_hash'] == fix, res.json def test_view(self): doc_id = 1000 res = self.client.get('/api/1/documents/%s' % doc_id) assert res.status_code == 200, res assert res.json['foreign_id'] == 'test1', res res = self.client.get('/api/1/documents/328984') assert res.status_code == 404, res def test_view_tables(self): doc_id = 1003 res = self.client.get('/api/1/documents/%s/tables/0' % doc_id) assert res.status_code == 200, res assert 'sheet_name' in res.json, res.json res = self.client.get('/api/1/documents/%s/tables/444' % doc_id) assert res.status_code == 404, res def test_view_records(self): res = self.client.get('/api/1/documents/1003/records') assert res.status_code == 200, res assert 'results' in res.json, res.json assert len(res.json['results']) == 10, res.json def test_view_record_by_id(self): doc_id = 1000 res = self.client.get('/api/1/documents/%s/records/1' % doc_id) assert res.status_code == 200, res assert 'banana' in res.json['text'], res assert 'total' not in res.json['text'], res res = self.client.get('/api/1/documents/%s/records/2' % doc_id) assert 'total' in res.json['text'], res res = self.client.get('/api/1/documents/%s/records/2000' % doc_id) assert res.status_code == 404, res def test_records_search(self): res = self.client.get('/api/1/documents/1003/records?q=kwazulu') assert res.status_code == 200, res assert res.json['total'] == 1, res.json def test_view_pdf(self): res = self.client.get('/api/1/documents/1003/pdf') assert res.status_code == 400, res res = self.client.get('/api/1/documents/1000/pdf') assert res.status_code == 404, res def test_view_references(self): doc_id = 1001 res = self.client.get('/api/1/documents/%s/references' % doc_id) assert res.status_code == 403, res self.login(is_admin=True) res = self.client.get('/api/1/documents/%s/references' % doc_id) assert res.status_code == 200, res assert 'results' in res.json, res.json # assert len(res.json['results']) == 2, res.json def test_update_simple(self): url = '/api/1/documents/1000' res = self.client.get(url) assert res.status_code == 200, res data = res.json res = self.client.post(url, data=json.dumps(data), content_type='application/json') assert res.status_code == 403, res.json data['title'] = 'Eaten by a pumpkin' self.login(is_admin=True) res = self.client.post(url, data=json.dumps(data), content_type='application/json') assert res.status_code == 200, res.json assert res.json['title'] == data['title'], res.json def test_update_invalid(self): url = '/api/1/documents/1000' ores = self.client.get(url) self.login(is_admin=True) data = ores.json.copy() data['countries'] = ['xz'] res = self.client.post(url, data=json.dumps(data), content_type='application/json') assert res.status_code == 400, res.json data = ores.json.copy() data['urls'] = ['lalala'] res = self.client.post(url, data=json.dumps(data), content_type='application/json') assert res.status_code == 400, res.json data = ores.json.copy() data['dates'] = ['2011-XX-XX'] res = self.client.post(url, data=json.dumps(data), content_type='application/json') assert res.status_code == 400, res.json
python
{ "id": 7291, "name": "Food (TEST)", "icon": "inv_misc_fork&knife", "description": "Restores 60 health over 30 sec. Combat cancels.", "castTime": "Instant" }
json
<filename>shared-objects/emailList.json { "Details" : { "Name": "KlassiTech Automated Testing Tool", "Created by": "<NAME>" }, "auth1":{ "host": "{smtp.sitename.co.uk}", "user": "{<EMAIL>}", "pass": "{password}" }, "nameList1": "Me <{your email address}>" }
json
<filename>twine/0.0.14.json {"twine.js":"<KEY>,"twine.min.js":"<KEY>}
json
<gh_stars>1-10 import React, { Component } from 'react'; class AppFooter extends Component { render() { return ( <footer className="pt-4 my-md-5 pt-md-5 border-top"> <div className="row"> <div className="col-12 col-md"> <img className="mb-2" src="https://getbootstrap.com/assets/brand/bootstrap-solid.svg" alt="" width="24" height="24" /> <small className="d-block mb-3 text-muted">&copy; 2017-2018</small> </div> <div className="col-6 col-md"> <h5>Features</h5> <ul className="list-unstyled text-small"> <li><a className="text-muted" href="#x">Cool stuff</a></li> <li><a className="text-muted" href="#x">Random feature</a></li> <li><a className="text-muted" href="#x">Team feature</a></li> <li><a className="text-muted" href="#x">Stuff for developers</a></li> <li><a className="text-muted" href="#x">Another one</a></li> <li><a className="text-muted" href="#x">Last time</a></li> </ul> </div> <div className="col-6 col-md"> <h5>Resources</h5> <ul className="list-unstyled text-small"> <li><a className="text-muted" href="#x">Resource</a></li> <li><a className="text-muted" href="#x">Resource name</a></li> <li><a className="text-muted" href="#x">Another resource</a></li> <li><a className="text-muted" href="#x">Final resource</a></li> </ul> </div> <div className="col-6 col-md"> <h5>About</h5> <ul className="list-unstyled text-small"> <li><a className="text-muted" href="#x">Team</a></li> <li><a className="text-muted" href="#x">Locations</a></li> <li><a className="text-muted" href="#x">Privacy</a></li> <li><a className="text-muted" href="#x">Terms</a></li> </ul> </div> </div> </footer> ); } } export default AppFooter;
javascript
.search { width: 100%; position: relative; display: flex; } .searchTerm { width: 100%; border: 3px solid #ac4142; border-right: none; padding: 5px; height: 44px; border-radius: 5px 0 0 5px; outline: none; color: #9DBFAF; font-size: 20px; } .searchTerm:focus { color: #ac4142; } .searchButton { width: 40px; height: 44px; border: 1px solid #ac4142; background: #ac4142; text-align: center; color: #fff; border-radius: 0 5px 5px 0; cursor: pointer; font-size: 20px; } .wrap { width: 50%; position: relative; } .grantList { list-style-type: none; } .grantScore { color: #9DBFAF; font-size: 16px; } footer { font-size: 80%; color: #9DBFAF; margin: 2em 0; }
css
Jill Biden on Saturday heard heartbreaking stories from Ukrainian women and children who fled Russia’s war and found safe haven across the border in Romania, and the American first lady praised the Romanian government and relief organizations for the range of humanitarian aid they are providing to refugees. At a Romanian public school hosting refugee students, Ms Biden saw firsthand the relief efforts to assist some of the 900,000 Ukrainians who have fled to Romania since Russia invaded Ukraine on Feb. 24. Most of those Ukrainians have moved on to other countries, but many — mainly women and children — have remained as the fighting rages. ‘We stand with you," Ms Biden told mothers of some of the students after visiting classrooms where kids ages 5 to 15 attend school. Earlier, Ms Biden received a briefing at the U. S. Embassy on the relief effort. Her visit to Eastern Europe comes as President Joe Biden is pressing Congress to pass an additional $33 billion in security and economic assistance for Ukraine. About 7,000 Ukrainians cross the border and arrive in Romania daily, said Pablo Zapata, the Romanian representative for the U. N. refugee agency. U. N. and other agencies and the Romanian government are providing refugees with a range of services, including food, shelter, education, health and mental health care, and counseling, among other services. Ms Biden asked specifically about the provision of mental health services and whether summer school was available to help refugee students catch up on their education. The first lady is on the second day of a four-day trip to Romania and Slovakia that is designed to showcase U. S. support for Ukrainian refugees. Slovakia also shares a border with Ukraine. Ms Biden was scheduled to spend Sunday, Mother's Day, there meeting with refugees and visiting a border village. Ms Biden met with Romanian first lady Carmen Iohannis over lunch at her private residence. Ms Iohannis, who also accompanied Biden during the school visit, kept her job as an English teacher when her husband took office just like Ms Biden kept hers teaching at a northern Virginia community college. At moments, Ms Biden appeared anguished as she listened to the stories from mothers who told her of their own difficult decisions to flee their homeland. Svitlana Gollyak told Ms Biden that her young daughter had difficulty adapting in the early days of the war but now seems to be turning the corner after arriving in Romania from Kharkiv, Ukraine.
english
All through the tour, Sri Lanka have had Zimbabwe cornered, and games have threatened to follow a familiar, one-sided form. Yet all through the tour, Zimbabwe have found ways of resisting, of stubbornly holding out, and eventually fighting back. Day three at Khettarama saw perhaps their most impressive turnaround yet. Having eked out a 10-run first-innings lead in the morning, Zimbabwe found themselves 23 for 4, then 59 for 5. But for the remainder of the day, the middle order would rally around an adventurous Sikandar Raza, and turn the match in dramatic fashion. Having played definitive hands in Zimbabwe's ODI series, Raza stood on the verge of a vital maiden Test ton, finishing the day on 97 off 158 balls. Peter Moor struck 40 and joined him for a sixth-wicket stand of 86. Malcolm Waller did even better, cracking 57 off 76 deliveries in an unbroken seventh-wicket partnership worth 107. All this means that Zimbabwe now control the Test, and may even have put themselves in a position to pull off the unexpected result of the year. Overturning Sri Lanka in ODIs was surprising enough, but in Tests, the hosts may not have dreamed they would be challenged by the lowest ranked team - one they have consistently thrashed over the past two decades. But with Zimbabwe's lead at 262 their target is already a challenging one. If the score grows by another 100 runs, could become a near-impossible pursuit. Unusually, Sri Lanka have caught well in this Test, but the bowling has been consistently menace-free. Of the 16 Zimbabwe wickets to have fallen, Rangana Herath has claimed nine. For the second half of day three, he seemed the only bowler capable of beating the Zimbabwe batsmen, and had he not run riot in the first session, Sri Lanka's position would have been even bleaker. Dilruwan Perera was not miserly enough for a bowler who isn't taking wickets, Lahiru Kumara's lines have been too wayward, and Suranga Lakmal has been modest in unhelpful conditions. Sri Lanka are also missing the bowling of Asela Gunaratne, whose tweaked hamstring had substantially hampered his running between the wickets, and now has kept him off the field in the second innings. The first 10 balls of Raza's innings defined his approach. First ball, he had picked a single to fine leg. After three further singles off the next five balls, he punched a ball out to the cover sweeper and took two. Though his team was threatening to be all out for 120, Raza took seven off the first 10 balls, and batted as if they were 300 for 5. He favoured the lap sweep and the drive off the spinners, and rarely failed to find gaps when he was looking for them. Perhaps the only real chance in his innings came when he was 31, when he attempted to reverse sweep Herath, but only ended up top-edging the ball. Slip fielder Dimuth Karunaratne - who had already taken two excellent catches in the innings - might have been in a position to make a third take, had he not begun moving squarer in anticipation of where he felt the ball may travel. As it happened, the ball bisected the keeper and slip before skimming away to the third man fence. Raza would hit two more fours in that over to make it Herath's most expensive of the innings. Outside that over, Raza only struck four fours and a six. Waller was more openly aggressive - but only by a little bit - as he hit eight fours, and repeatedly put bowlers under pressure by scoring singles and twos freely as well. His fourth Test fifty had come off just 54 deliveries, before the final overs of the day prompted a slowdown from both batsmen. Beyond Waller, Zimbabwe also have Graeme Cremer and Donald Tiripano, both of whom have first-class centuries to their names. Before Raza came to the crease, Herath had knocked out Zimbabwe's top three in his first four overs, before Perera also took a wicket. By lunch, Sri Lanka had had them by the collar, at 23 for 4. Taking the new ball, Herath needed an over to settle, but the first delivery of his second over was of a higher quality than Regis Chakabva had the ability to handle. Breaking more sharply than any of his deliveries in the first over, the ball missed Chakabva's defensive shot, and hit the top of the off stump. That over would go on to be a wicket-maiden, which Herath's next would be as well. This time, having beaten Tarisai Musakanda's inside edge with a slider, Herath tossed the ball up slightly wider, tempted Musakanda into an expansive drive, and then had him caught sharply by Karunaratne at slip. Herath's next dismissal - in his following over - was perhaps the most controversial wicket of the wicket-filled session. Attempting a big sweep, Hamilton Masakadza was struck in front. There was no doubt the ball would go on to hit the stumps, but perhaps feeling it brushed his glove on the way, Masakadza reviewed the out decision, and there was not enough evidence to overturn the on-field call. All this followed a milestone for Cremer who became the first Zimbabwe captain to take a five-wicket haul. He had taken two of the last three Sri Lanka wickets in the morning, and had helped eke out a 10-run first innings lead. Cremer now will have plenty to defend as Zimbabwe set their sights on a rare victory against a top-eight team.
english
<reponame>pavel-krivanek/Bloc { "commentStamp" : "AliakseiSyrel 11/27/2017 12:56", "super" : "BlAnchorRelativeToAnchor", "category" : "Bloc-Geometry-Anchors", "classinstvars" : [ ], "pools" : [ ], "classvars" : [ ], "instvars" : [ "curvature" ], "name" : "BlPerpendicularAnchor", "type" : "normal" }
json
Christian Pulisic gave the United States the first goal in their match against Iran on Tuesday night. Pulisic came streaking down the middle of the field and met Sergino Dest’s header to put the ball in the back of the net past Iranian goalkeeper Alireza Beiranvand. It was Pulisic’s first goal in the World Cup in his soccer career and it came with a price. Pulisic was down for some time after colliding with Beiranvand in the goal, and was moved off the field so the match could continue. After shaking off the hard collision, he was back on the field and was able to finish the first half without being subbed out. It was enough to give the U. S. a 1-0 lead at halftime. Pulisic would stay out of the lineup in the second half after suffering an abdominal injury on the play. The Americans had nine total shots in the first half against Iran and three were on target. Tim Weah nearly had the second U. S. goal of the match, but he was called for offsides. Both the U. S. and Iran need to win to move on to the next stage. Iran could still get in with a draw but needs help in the Wales-England game. The U. S. is looking to make the knockout stage for the first time since 2014.
english
<gh_stars>0 from datetime import datetime import matplotlib.pyplot as plt import pandas as pd import pvlib latitude = -23.313602 longitude = -46.221382 altitude = 655 tmz = 'America/Sao_Paulo' temperatura = 20 pressao = 94000 agora = datetime.now() dia = agora.today().day mes = agora.today().month ano = agora.today().year hora = agora.today().hour minuto = agora.today().minute segundo = agora.today().second data_inicio = datetime(ano, mes, dia, 0, 0, 0) data_fim = datetime(ano, mes, dia, 23, 59, 59) datas = pd.date_range(start=data_inicio, end=data_fim, freq='1Min', tz=tmz) posicao_sol = pvlib.solarposition.get_solarposition( datas, latitude, longitude, altitude, temperature=temperatura, pressure=pressao ) posicao_sol.plot() dt = pd.DatetimeIndex([agora.isoformat()]) posicao_sol_atual = pvlib.solarposition.get_solarposition( dt, latitude, longitude, altitude, temperature=temperatura, pressure=pressao, tz=tmz) plt.scatter(posicao_sol_atual.index.values[0], posicao_sol_atual['elevation'][0], linewidths=20, c='y') plt.show()
python
Adani Ports, TechM, Chola Finance: Adani Ports & SEZ, Tech Mahindra, Cholamandalam Investment & Finance Company, Procter & Gamble Hygiene & Healthcare, Jindal Steel & Power, Sona BLW Precision Forgings, Kansai Nerolac Paints, Indian Hotels Company and TTK Prestige are among the companies that will announce their December quarter results today. Tata Motors: The homegrown auto major reported a consolidated net loss of Rs 1,451.05 crore for the third quarter ended December 31, 2021, dragged down by the impact of semiconductor shortage on its British arm Jaguar Land Rover. The company had posted a consolidated net profit of Rs 2,941.48 crore in the same period last fiscal. Tata Steel: The steel maker announced winning the bid for acquiring 93.71 per cent stake in Odisha-based Neelachal Ispat Nigam (NINL) for Rs 12,100 crore. Tata Steel CEO and MD TV Narendran had expressed his company's interest in acquiring the 1 million tonne steel asset located near its Kalinganagar steel facility in Odisha. HCL Technologies: The IT major said it has expanded its partnership with Husqvarna Group with a new multi-year IT services contract. The engagement will advance Husqvarna's digital transformation journey by leveraging automation and facilitating an agile and customer-focused workforce, NTPC: The power giant said its arm NTPC Vidyut Vyapar Nigam has acquired a five per cent equity stake in Power Exchange of India. NVVN purchased the stake from NSE Investment Ltd, a co-promoter shareholder of PXIL, on January 31, 2022, according to a statement. Financial details were not disclosed. Indian Oil Corporation: The petroleum refining company reported a 19 per cent growth in third quarter net profit as the rise in refining margins negated the fall in marketing margins. Net profit of Rs 5,860.80 crore in October-December 2021 was 19.2 per cent higher than Rs 4,916.59 crore profit in the same period a year back. Bharti Airtel: The telecom operator announced an agreement to acquire about 25 per cent equity stake in Bengaluru-based technology startup Lavelle Networks. ASM Technologies, a global technology engineering and product development services provider, has done a follow on investment in Lavelle Networks. Hindustan Petroleum Corporation: The oil marketer reported a 63 per cent decline in third quarter net profit as it booked inventory losses. Net profit in October-December of Rs 869 crore compared with Rs 2,355 crore for the same period last year. DLF: The realty major reported a 15 per cent fall in its consolidated net profit to Rs 379.49 crore for the December 2021 quarter, while sales bookings nearly doubled to Rs 2,018 crore on strong demand for its luxury homes. Its net profit had stood at Rs 449 crore in the corresponding quarter last year. Kesoram Industries: The BK Birla Group flagship company said it has repaid Rs 285 crore of its outstanding debt. The company had earlier repaid Rs 55 crore. The remaining outstanding debt is Rs 1,708 crore. Shipping Corporation of India: The disinvestment-bound reported a 136.78 per cent jump in consolidated profit to Rs 311.54 crore for the quarter ended December 31, 2021. The company had posted a consolidated profit of Rs 131.57 crore in the corresponding quarter of the previous financial year. Ajanta Pharma: The drug firm said its consolidated net profit increased by 8.57 per cent to Rs 191.78 crore for the third quarter ended December 2021. The Mumbai-based company had reported a net profit of Rs 176.63 crore in the same period of the previous fiscal. Edelweiss Financial Services: The finacial services player reported a consolidated net profit of Rs 127.4 crore for the December quarter, as against net loss of Rs 135.2 crore in the same period previous year even though its revenue fell during the quarter. Orient Cement: The CK Birla group firm reported an 18.9 per cent decline in its net profit to Rs 43.67 crore for the third quarter ended December 31, 2021. It had posted a net profit of Rs 53.88 crore in the corresponding quarter last year. UCO Bank: The public sector lender eported a multi-fold jump in its net profit at Rs 310.39 crore for the quarter ended December 2021, helped by a modest growth in core interest income and trimming of bad loans ratio. The Kolkata-based lender had posted a net profit of Rs 35.44 crore in the year-ago quarter. Infibeam Avenues: The internet software and services posted an 89 per cent jump in its net profit to Rs 24 crore for the December 2021 quarter, and announced a bonus share issue for shareholders. The company, which had reported a net profit of Rs 13 crore in the year-ago period. Exide Industries: The auto parts and equipment on Monday said its consolidated net profit declined 26 per cent to Rs 178 crore in the third quarter ended December 31, 2021. The company had reported a net profit of Rs 240 crore in the same period of 2020-21. GIC Housing Finance: The mortgage lender reported a 25.5 per cent increase in its standalone net profit at Rs 76.53 crore in the quarter ended December 2021. The company had registered a net profit of Rs 61 crore in the same quarter a year earlier. Sequentially, the net profit was higher by 69 per cent from Rs 45.23 crore in September 2021 quarter. Karur Vysya Bank: The private lender reported a multi-fold rise in net profit at Rs 185.48 crore for the quarter ended December 2021, helped by lower provisioning as the bad loans proportion came down. The bank had registered a net profit of Rs 35 crore in same quarter of the previous year. Geojit Financial Services: The leading brokerage reported a 26 per cent jump in consolidated net profit to Rs 39.7 crore for the December 2021 quarter. The Kochi-headquartered company had posted a net profit of Rs 31.5 crore in the corresponding period last year. Satin Creditcare Network: The microfinance institution reported a profit after tax of Rs 34 crore in the quarter ended December. The company had reported a loss of Rs 80 crore in the year-ago period. Godawari Power and Ispat: Iron ore company reported an over two-fold jump in net profit at Rs 336.87 crore for the quarter ended December 31, 2021. In the year-ago quarter, the company's "net profit from ordinary activities after tax" stood at Rs 166.36 crore. Download The Economic Times News App to get Daily Market Updates & Live Business News. Subscribe to The Economic Times Prime and read the Economic Times ePaper Online.and Sensex Today.
english
<filename>src/test/java/net/canadensys/dataportal/occurrence/AbstractIntegrationTest.java package net.canadensys.dataportal.occurrence; import org.junit.After; import org.junit.Before; import org.openqa.selenium.WebDriver; import org.openqa.selenium.firefox.FirefoxDriver; /** * Abstract integration testing class. * * @author canadensys * */ public abstract class AbstractIntegrationTest { // TODO : read from a config file or set with DI public static final String TESTING_SERVER_URL = "http://localhost:9966/explorer/en/"; public static final String TESTING_SERVER_URL_FR = "http://localhost:9966/explorer/fr/"; public static final String TESTING_SERVER_URL_LEGACY = "http://localhost:9966/explorer/"; protected WebDriver browser; @Before public void setup() { browser = new FirefoxDriver(); } @After public void tearDown() { browser.close(); } }
java
So recently I read a great post Chris wrote on her blog about classes she took. Then Joanna followed it up with her take on the topic here. The same week, a new friend from Timna Tarr's Class asked me how did I learn how to make abstract quilts. It struck me what a big part taking classes has played in my life. When I say big part, I mean life-changing. To be fair though, I've always prioritized education and it's been a passion of mine right from the beginning. So when I discovered quilting why would that be any different. I did take a couple of classes at the beginning on the local level (1995 ish). One was to learn how to needle turn applique and the other to learn how to bind the quilts that were starting to pile up. But from reading Quilter's Newsletter magazine, I knew that there was more to quilting and I wanted to learn it! What else I learned: Rough Edge Applique, Free motion quilting, and you can learn as much from your classmates as your talented teacher. Jeannette DeNicolis Meyer - Design Essentials, 2005 (I think - grin) Jeanette taught me that there was a whole set of design elements I needed to learn and why you apply them to make your composition. She also finally showed me why people like abstract art and what makes good abstract art and not so good abstract art. She taught me the importance of using the right artistic terms when speaking of art. So I started my praise series with this.. What else I learned: That most creative process goes through a rollercoaster of - Wow What a great idea - Oh this is harder than I thought - OMG this SUCKS! What was I thinking? - HolyMoly Did I make that???? Elizabeth Barton, Inspired to Design (2008), Abstract Art Quilt (2013) If I was being honest, Elizabeth has had the biggest impact on my artist career. Her methodical method of making art quilts really resonated with me. I Learned how to take my time and plan at the beginning of a quilt so it will save you some heartache later. I learned how to select a palette and how to edit and critique my work. I've taken several classes with Rosalie, but this is the one where she taught me that there was a lot to be learned from master artists. Once I started studying Klee, I then wanted to learn about all other artists and it started a kinda of art history obsession. What else I learned: When putting together a palette, include all values, saturations, and hues to bring your piece to life. In this class, I learned that I don't like to paint....I mean really don't like to paint. If I was going to take a class for 5 days I want it to have something to do with textile. (and preferably nothing to do with a paintbrush). This is not to disparage this class - it was a great class (for someone who wants to paint!) I also learned that all the design elements I learned up to this point could easily translate into any medium. What else I learned: Research your class thoroughly before signing up. (I honestly thought this was a surface design class!) So those are the classes that had that "Ah-Ha" moment for me. I can absolutely say they were well worth the time, money, and energy. Of course, there are honorable mentions - Jane Dunnewold, Complex Cloth who taught me I didn't want to surface design but I now knew how to if needed ...Judi Warren Blaydon who taught me how to college, and Cynthia Corbin who taught me so many things over the years about composition I didn't include her above because it's hard to narrow it down to a paragraph!
english
import { IExecuteFunctions, } from 'n8n-core'; import { IDataObject, INodeTypeDescription, INodeExecutionData, INodeType, } from 'n8n-workflow'; import { hunterApiRequest, hunterApiRequestAllItems, } from './GenericFunctions'; export class Hunter implements INodeType { description: INodeTypeDescription = { displayName: 'Hunter', name: 'hunter', icon: 'file:hunter.png', group: ['output'], version: 1, subtitle: '={{$parameter["operation"]}}', description: 'Consume Hunter API', defaults: { name: 'Hunter', color: '#ff3807', }, inputs: ['main'], outputs: ['main'], credentials: [ { name: 'hunterApi', required: true, } ], properties: [ { displayName: 'Operation', name: 'operation', type: 'options', options: [ { name: ' Domain Search', value: 'domainSearch', description: 'Get every email address found on the internet using a given domain name, with sources', }, { name: ' Email Finder', value: 'emailFinder', description: 'Generate or retrieve the most likely email address from a domain name, a first name and a last name', }, { name: 'Email Verifier', value: 'emailVerifier', description: 'Verify the deliverability of an email address', }, ], default: 'domainSearch', description: 'operation to consume.', }, { displayName: 'Domain', name: 'domain', type: 'string', displayOptions: { show: { operation: [ 'domainSearch', ], }, }, default: '', required: true, description: 'Domain name from which you want to find the email addresses. For example, "stripe.com".', }, { displayName: 'Only Emails', name: 'onlyEmails', type: 'boolean', displayOptions: { show: { operation: [ 'domainSearch', ], }, }, default: true, description: 'Return only the the found emails.', }, { displayName: 'Return All', name: 'returnAll', type: 'boolean', displayOptions: { show: { operation: [ 'domainSearch', ], }, }, default: false, description: 'If all results should be returned or only up to a given limit.', }, { displayName: 'Limit', name: 'limit', type: 'number', displayOptions: { show: { operation: [ 'domainSearch', ], returnAll: [ false, ], }, }, typeOptions: { minValue: 1, maxValue: 100, }, default: 100, description: 'How many results to return.', }, { displayName: 'Filters', name: 'filters', type: 'collection', placeholder: 'Add Filter', default: {}, displayOptions: { show: { operation: [ 'domainSearch', ], }, }, options: [ { displayName: 'Type', name: 'type', type: 'options', default: '', options: [ { name: 'Personal', value: 'personal', }, { name: 'Generic', value: 'generic', }, ] }, { displayName: 'Seniority', name: 'seniority', type: 'multiOptions', default: [], options: [ { name: 'Junior', value: 'junior', }, { name: 'Senior', value: 'senior', }, { name: 'Executive', value: 'executive', }, ] }, { displayName: 'Department', name: 'department', type: 'multiOptions', default: [], options: [ { name: 'Executive', value: 'executive', }, { name: 'IT', value: 'it', }, { name: 'Finance', value: 'finance', }, { name: 'Management', value: 'management', }, { name: 'Sales', value: 'sales', }, { name: 'Legal', value: 'legal', }, { name: 'Support', value: 'support', }, { name: 'HR', value: 'hr', }, { name: 'Marketing', value: 'marketing', }, { name: 'Communication', value: 'communication', }, ] }, ], }, { displayName: 'Domain', name: 'domain', type: 'string', default: '', displayOptions: { show: { operation: [ 'emailFinder', ], }, }, required: true, description: 'Domain name from which you want to find the email addresses. For example, "stripe.com".', }, { displayName: '<NAME>', name: 'firstname', type: 'string', displayOptions: { show: { operation: [ 'emailFinder', ], }, }, default: '', required: true, description: `The person's first name. It doesn't need to be in lowercase.`, }, { displayName: '<NAME>', name: 'lastname', type: 'string', displayOptions: { show: { operation: [ 'emailFinder', ], }, }, default: '', required: true, description: `The person's last name. It doesn't need to be in lowercase.`, }, { displayName: 'Email', name: 'email', type: 'string', displayOptions: { show: { operation: [ 'emailVerifier', ], }, }, default: '', required: true, description: 'The email address you want to verify.', }, ], }; async execute(this: IExecuteFunctions): Promise<INodeExecutionData[][]> { const items = this.getInputData(); const returnData: IDataObject[] = []; const length = items.length as unknown as number; const qs: IDataObject = {}; let responseData; for (let i = 0; i < length; i++) { const operation = this.getNodeParameter('operation', 0) as string; //https://hunter.io/api-documentation/v2#domain-search if (operation === 'domainSearch') { const returnAll = this.getNodeParameter('returnAll', i) as boolean; const filters = this.getNodeParameter('filters', i) as IDataObject; const domain = this.getNodeParameter('domain', i) as string; const onlyEmails = this.getNodeParameter('onlyEmails', i, false) as boolean; qs.domain = domain; if (filters.type){ qs.type = filters.type; } if (filters.seniority){ qs.seniority = (filters.seniority as string[]).join(','); } if (filters.department){ qs.department = (filters.department as string[]).join(','); } if (returnAll) { responseData = await hunterApiRequestAllItems.call(this, 'data', 'GET', '/domain-search', {}, qs); // Make sure that the company information is there only once and // the emails are combined underneath it. if (onlyEmails === false) { let tempReturnData: IDataObject = {}; for (let i = 0; i < responseData.length; i++) { if (i === 0) { tempReturnData = responseData[i]; continue; } ((tempReturnData as IDataObject).emails as IDataObject[]).push.apply(tempReturnData.emails, responseData[i].emails); } responseData = tempReturnData; } } else { const limit = this.getNodeParameter('limit', i) as number; qs.limit = limit; responseData = await hunterApiRequest.call(this, 'GET', '/domain-search', {}, qs); responseData = responseData.data; } if (onlyEmails === true) { let tempReturnData: IDataObject[] = []; if (Array.isArray(responseData)) { for (const data of responseData) { tempReturnData.push.apply(tempReturnData, data.emails); } } else { tempReturnData = responseData.emails; } responseData = tempReturnData; } } //https://hunter.io/api-documentation/v2#email-finder if (operation === 'emailFinder') { const domain = this.getNodeParameter('domain', i) as string; const firstname = this.getNodeParameter('firstname', i) as string; const lastname = this.getNodeParameter('lastname', i) as string; qs.first_name = firstname; qs.last_name = lastname; qs.domain = domain; responseData = await hunterApiRequest.call(this, 'GET', '/email-finder', {}, qs); responseData = responseData.data; } //https://hunter.io/api-documentation/v2#email-verifier if (operation === 'emailVerifier') { const email = this.getNodeParameter('email', i) as string; qs.email = email; responseData = await hunterApiRequest.call(this, 'GET', '/email-verifier', {}, qs); responseData = responseData.data; } if (Array.isArray(responseData)) { returnData.push.apply(returnData, responseData as IDataObject[]); } else { returnData.push(responseData as IDataObject); } } return [this.helpers.returnJsonArray(returnData)]; } }
typescript
<filename>css/tokens.css :root { --root-breakpoint-2xl: 1440px; --root-breakpoint-3xl: 1800px; --root-breakpoint-lg: 1024px; --root-breakpoint-md: 768px; --root-breakpoint-sm: 640px; --root-breakpoint-xl: 1280px; --root-breakpoint-xs: 480px; --root-color-aqua: #45a57c; --root-color-aqua-dark: #368161; --root-color-black: #000000; --root-color-charcoal: #42484d; --root-color-chocolate: #846550; --root-color-cobalt: #627691; --root-color-cobalt-dark: #495b72; --root-color-consistensea: #3897a8; --root-color-consistensea-dark: #2b7582; --root-color-consistensea-light: #ebf4f6; --root-color-curious-blue: #3380a7; --root-color-ivory: #f7f6f6; --root-color-ivory-dark: #edefef; --root-color-lavender: #908ec7; --root-color-lavender-dark: #7a76bc; --root-color-muave: #9e8f93; --root-color-obsidian: #1c1d20; --root-color-ocean: #6599b3; --root-color-ocean-dark: #4c809a; --root-color-onyx: #202124; --root-color-plum: #977f97; --root-color-plum-dark: #7e677e; --root-color-pumpkin: #dd7936; --root-color-red: #ba4534; --root-color-silver: #cfd8dc; --root-color-sky: #25a0bb; --root-color-white: #ffffff; --root-font-family-montserrat: Montserrat, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"; --theme-border-radius-base: 0.3125rem; --theme-color-accent-1: var(--root-color-aqua); --theme-color-accent-1-dark: var(--root-color-aqua-dark); --theme-color-accent-2: var(--root-color-ocean); --theme-color-accent-2-dark: var(--root-color-ocean-dark); --theme-color-accent-3: var(--root-color-plum); --theme-color-accent-3-dark: var(--root-color-plum-dark); --theme-color-accent-4: var(--root-color-lavender); --theme-color-accent-4-dark: var(--root-color-lavender-dark); --theme-color-black: var(--root-color-black); --theme-color-black-rgb: 0, 0, 0; --theme-color-danger: var(--root-color-red); --theme-color-gray-100: var(--root-color-ivory-dark); --theme-color-gray-200: var(--root-color-silver); --theme-color-gray-50: var(--root-color-ivory); --theme-color-gray-700: var(--root-color-charcoal); --theme-color-gray-800: var(--root-color-onyx); --theme-color-gray-900: var(--root-color-obsidian); --theme-color-heading: var(--root-color-chocolate); --theme-color-info: var(--root-color-consistensea); --theme-color-link: var(--root-color-curious-blue); --theme-color-muted: var(--root-color-muave); --theme-color-primary: var(--root-color-consistensea); --theme-color-primary-dark: var(--root-color-consistensea-dark); --theme-color-primary-light: var(--root-color-consistensea-light); --theme-color-secondary: var(--root-color-white); --theme-color-secondary-dark: var(--root-color-ivory-dark); --theme-color-success: var(--root-color-aqua); --theme-color-warning: var(--root-color-pumpkin); --theme-color-white: var(--root-color-white); --theme-color-white-rgb: 255, 255, 255; --theme-font-family-base: var(--root-font-family-montserrat); --theme-font-size-2xl: 1.5rem; --theme-font-size-2xl-line-height: 2rem; --theme-font-size-3xl: 1.75rem; --theme-font-size-3xl-line-height: 2.25rem; --theme-font-size-4xl: 2.125rem; --theme-font-size-4xl-line-height: 2.625rem; --theme-font-size-base: 1rem; --theme-font-size-base-line-height: 1.75rem; --theme-font-size-lg: 1.125rem; --theme-font-size-lg-line-height: 1.75rem; --theme-font-size-sm: 0.875rem; --theme-font-size-sm-line-height: 1.5rem; --theme-font-size-xl: 1.375rem; --theme-font-size-xl-line-height: 1.875rem; --theme-font-size-xs: 0.875rem; --theme-font-size-xs-line-height: 1.0625rem; --theme-font-weight-bold: 700; --theme-font-weight-light: 400; --theme-font-weight-normal: 500; --theme-font-weight-semibold: 600; --theme-shadow-box-base: 2px 2px 6px rgba(0, 0, 0, 0.1); --theme-shadow-text-base: 0 0 7px rgba(0, 0, 0, 0.55); --theme-transition-duration-base: 150ms; --theme-transition-timing-function-base: cubic-bezier(0.4, 0, 0.2, 1); }
css
package net.famzangl.minecraft.minebot.ai.strategy; import net.famzangl.minecraft.minebot.ai.AIHelper; /** * Same as the run once strategy but this strategy at least takes one tick to execute. * @author <NAME> * */ public abstract class RunOneTickStrategy extends RunOnceStrategy { protected TickResult doSingleRun(AIHelper helper) { this.singleRun(helper); return TickResult.TICK_HANDLED; } }
java
The state government has imposed a partial lockdown until April 30 to contain the spread of a second wave of the Covid. “We have requested that BDB be allowed to function with 20% staff to fulfil export commitments,” Mehta added. Customs is functional as are Mumbai’s special economic zones like MIDC and Seepz . But orders won’t be fulfilled until the consignments move and are processed in BDB, a diamnataire told ET. Another one stated that the diamond bourse should be treated at par with stock exchanges and clearing corporations which have been treated as essential services. India imports around $16 bn worth of rough diamonds and exports $21bn worth of polished ones. While the cutting and polishing happens largely at Surat, the exports happen through Mumbai’s BDB, with over 4000 offices. The Surat centre also remains open. Download The Economic Times News App to get Daily Market Updates & Live Business News. Subscribe to The Economic Times Prime and read the Economic Times ePaper Online.and Sensex Today.
english
England newcomer Tom Curran believes he can bowl even quicker after taking three wickets on his international debut. In time, he was joined by younger brother Sam, currently involved with the second-string England Lions. Many successful Surrey sides have featured sets of brothers, be it the Bedser twins, Alec and Eric, who starred in the club’s run of seven consecutive County Championship titles in the 1950s or the Bicknells, Darren and Martin, who featured in the team that won three Championships at the turn of the century. Tom Curran was called up halfway across the world to England’s senior squad in the Caribbean as cover for the injured Jake Ball in March after impressing in the Lions’ unofficial ‘Tests’ in Sri Lanka. “I was obviously disappointed not to play in the Caribbean, but it was a great experience for me to be around that environment for the first time,” said Curran.
english
Switzerland, neutral during the Second World War, hosted the 1954 World Cup. West Germany returned to the international fold and the Ferenc Puskas-inspired Hungary, who had handed England a historic 6-3 defeat at Wembley prior to the finals, were installed as strong favourites. The 1950 group format was abandoned, with a return to the group system followed by knockout quarter- and semi-finals. The Hungarians demolished a tactically weakened German side 8-3 in the opening round, adding to a 9-0 demolition of South Korea. In the quarter-finals their match with Brazil turned ugly. The Battle of Berne, as the match was later labelled, saw two Brazilians and a Hungarian sent off and continued fighting in the dressing rooms after the match, which Hungary won 4-2. In the final they were to face West Germany again, surely a formality. It was not to be. Hungary were soon 2-0 ahead through Puskas and Zoltan Czibor and seemingly cruising to victory, but they reckoned without the determination of the West Germans who were level within ten minutes. The German winner came five minutes from the end when Helmut Rahn scored his second goal to clinch their first World Cup triumph. Deep-lying centre-forward who played behind Puskas and Sandor Kocsis in the era of the Magic Magyars. Captured the world's attention with three goals against England at Wembley in Hungary's famous 6-3 win in 1953, and all told scored 39 goals in 68 internationals. The high point of his career came when he was over 30 and was known as the Old Man because of his bald patch. He had been a contested choice when first capped in 1945 and it was only in 1952 that he won a regular place. He won a gold medal in the Helsinki Olympics and two years later was the brains in the Hungarian side that everyone expected to win the World Cup. Hidegkuti scored twice in the 8-3 group win over Germany, once in the shameful quarter-final against Brazil, despite having his shorts torn off in the process of shooting, and a brilliant diving header against Uruguay in a classic semi-final. Coached in Italy, Hungary and Poland when his playing days were over. Prolific goal-scoring inside-forward of Hungary's great 1950s side. Scored 75 goals in 68 internationals, including 11 at the 1954 World Cup. Imaginative, good with both feet but, above all, sensational in the air. Known as Golden Head, scored seven hat-tricks for Hungary, including four goals in the 1954 World Cup group game against Germany. Had to spearhead the attack when Puskas was injured during the 1954 World Cup, scoring three against South Korea, four against Germany, two against Brazil and two headers in extra-time against Uruguay in the semi-finals. At the end of the Hungarian uprising in 1956 he was on Honved's South American tour and like many of his team-mates decided not to return. He joined Young Fellows of Switzerland before moving to Barcelona where he played in the 1962 European Cup final they lost 3-2 to Benfica of Portugal, sharing the goals with his old Hungarian team-mate Czibor. Supreme scorer for Hungary with 83 goals in 84 internationals and when most people thought his great days were behind him he embarked on another dazzling career in his 30s for Real Madrid. Short and stocky, he could not shoot with his right foot and headed the ball only when he had to -- but his left foot was something else. Incredible ball control allied to a quick, alert mind made him exploit openings before opponents had even seen them. The power of his left foot became a legend. A likeable personality off the field, the 'Galloping Major' -- as he became known -- was not always a favourite with the Hungarian fans because of his occasionally unsportsmanlike behaviour. Even blamed for Hungary's 1954 World Cup final defeat to Germany because he insisted on playing when he knew he was not fit, having been injured in the group game against Germany. - This was the first tournament to be televised. - Four groups of four teams was the playing format used and FIFA decided for the first time to seed the top two in each group. They were never to meet, therefore each country only played two matches instead of the normal three. - Scotland's first World Cup game ended with a 1-0 defeat by Austria in Group Three. - Hungary registered the highest goals total in a World Cup match when they beat South Korea 9-0 in Zurich. Sandor Kocsis scored three and later hit four goals in an 8-3 demolition of West Germany. - West Germany deliberately fielded a weaker team in the 8-3 group-stage loss to Hungary, saving their strongest team for the play-off against Turkey. The plan worked as they beat the Turks 7-2. - Switzerland caused a sensation almost as great as England's defeat against the USA four years earlier when they eliminated Italy 4-1 in Basle. - Hungary's violent 4-2 quarter-final win over Brazil was the first time in the World Cup that both sides had scored from the penalty spot; Mihaly Lantos for Hungary and Djalma Santos for Brazil. - Before the final against West Germany, Hungary were unbeaten for four years, spanning 32 matches, of which they had won 28. - West Germany recorded the highest goals tally for a winning team, scoring 25 in their six matches. They also conceded the most, 14, which was another record. - Top scorer was Kocsis of Hungary with 11, who became the first player to score over 10 in the tournament. Midfielders: Horst Eckel, Maximilian Morlock, Alfred Pfaff, Fritz Walter (capt)
english
MGT 7 Annual Return Form: MGT 7 is an online or electronic form for enterprises to share particulars of annual returns with the Ministry of corporate affairs. The form is to be filed within 60 days of the company’s annual general meeting (AGM) which must be held on or before September 30. Hence, the due date to file MGT 7 is generally November 29. Importantly, all enterprises are required to file MGT 7 as per Section 11(1) of the Companies (Management and Administration) Rules, 2014 except one person companies (OPCs) and small companies for which MGT-7A form is mandatory. As per the Companies Act, 2013, businesses with paid-up capital not exceeding Rs 4 crore and turnover not exceeding Rs 40 crore are defined as small companies. On the other hand, an OPC is a company set up by a single person who is involved as a member, acting as both a shareholder as well as a director even though the director count can go up to 15. The MGT 7 form seeks particulars as they stood during the end of the particular financial year such as: Here’s how to file MGT 7 form online: - The first part of the form seeks ‘Registration and Other Details’ including: - The second part of the form seeks information about the ‘Principal Business Activities of the Company’: - Main Activity Group Code (activity codes based on NIC-2008 codes), for instance, manufacturing’s main activity group code is C, mining and quarrying’s code is B, trade’s code is G, etc. - The third part of the form requires details pertaining to ‘Particulars of Holding, Subsidiary and Associate Companies (Including Joint Ventures)’: - CIN /FCRN (foreign company registration number) - The fourth part of the form is about ‘Share Capital, Debentures and Other Securities of the Company’: - Securities (other than shares and debentures) - The fifth part of the form is about ‘Turnover and Net Worth of the Company’: - The sixth part is about details ‘Shareholding pattern’: - The eighth part seeks details related to: - Particulars of change in director(s) and key managerial personnel during the year (appointment or cessation or change in designation) - The company secretary can check the filled form, digitally sign it and submit it. The fee for filing MGT 7 is based on the nominal share capital of a company. For 0-1 lakh nominal share capital, the fee is Rs 200; for 1 lakh — 4,99,999 share capital, the fee is Rs 300; 5 lakh to 24,99,999, the fee is Rs 400; 25 lakh to 99,99,999, the fee is Rs 500; and over 1 crore, the fee is Rs 600. In case of delay in submitting the form, the company has to pay 2x of the fee payable if the delay is up to 30 days, if the delay is more than 30 days and up to 60 days, the amount payable is 4x of fee. Likewise, the charges levied are 6x of the fee payable if the delay is 60-90 days, 10x if the delay is 90-180 days and 12x in case of 180-270 days of delay. Moreover, a penalty of Rs 100 per day is levied additionally for the delay in filing the form.
english
[ "HEADER Play Type: Matched | Game T ype: Battlehost | Grand Alliance: Destruction | Allegiance: Bonesplitterz Extra Command P oint Pur chased ( 50pts ) Warclan: Icebone HEADER 160pts ITEM: Wurrgog Prophet Gener al Role: Leader Quantity: 1 Command T rait: Master of the W eird Artefact: Mork’ s Bone y Bitz Spell: Breath of Gorkamorka 100pts ITEM: Savage Big Boss Role: Leader Quantity: 1 80pts ITEM: Wardokk Role: Leader Quantity: 1 Spell: Brutal Beast Spirits 120pts ITEM: Maniak Weirdnob Role: Leader Quantity: 1 Artefact: Kattanak P elt Spell: Gorkamorka 's War Cry HEADER HEADER HEADER 80pts ITEM: Wardokk Role: Leader Quantity: 1 Spell: Kunnin ' Beast Spirits 300pts ITEM: Savage Orruks Role: Battleline Quantity: 30 240pts ITEM: Savage Orruk Arrowboys Role: Battleline Quantity: 20 240pts ITEM: Savage Orruk Arrowboys Role: Battleline Quantity: 20 280pts ITEM: Savage Boarboy Maniaks Role: Battleline Quantity: 10 140pts ITEM: Kunnin’ Rukk Role: Battalion HEADER 0pts/400pts Allies Army deemed invalid by Azyr Roster Builder 100pts ITEM: Savage Big Stabbas Role: Other Quantity: 2 100pts ITEM: Savage Big Stabbas Role: Other Quantity: 2" ]
json
Retired high court judge, justice Dhrub Narayan Upadhyay will be the new Lokayukta of Jharkhand. He retired on August 9, 2016. The announcement is likely to be made within a day or two. The committee headed by chief minister Raghubar Das put the seal on Upadhyay’s name as state ombudsman after a meeting on Sunday. Jharkhand’s acting chief justice PK Mohanty and opposition leader Hemant Soren attended the meeting held at the chief minister’s residential office. The Lokayukta’s post was lying vacant for more than a year following completion of the tenure of Amreshwar Sahay on January 2, 2016. Decks for appointment of Lokayukta were cleared on Sunday. Das had, a day earlier, announced in the state assembly that the Lokayukta would be appointed shortly. The Lokayukta is a quasijudicial body that plays a part in providing clean, transparent and accountable government to the people. It acts as a watchdog to pinpoint wrongdoings of the administration, looks into complaints of victims of corrupt elements and suggests measures to improve the effectiveness and efficiency of the government. Jharkhand Lokayukta Act was incorporated from Bihar following the creation of the new state and enacted in 2001. The office of Jharkhand Lokayukta became functional on December 4, 2004, with former Jharkhand high court judge, justice Laxman Oraon, appointed as the first Lokayukta. After his superannuation in 2009, justice Amareshwar Sahay, a former judge of Jharkhand HC, was appointed to the post.
english
<reponame>macmillaninc/EmuTarkov-ServerMods<gh_stars>1-10 { "Name": "Munición SP13 de 9x21 mm", "ShortName": "SP13", "Description": "Munición con balas trazadoras y perforantes de calibre 9x21 mm.", "casingName": "SP13 9x21 mm" }
json
#AGNET # 該当のチャンネルのID ID_CHANNEL_README = 771383900814573598 #たすきる ID_ROLE_TSKL = 671354476044615680 #たすきる用ちゃんねるID(とつかんり) ID_TSKILL = 624668843444273164 #とつ予定(とつかんり) ID_totu = 739498595329376487 #とつ予定じゃり ID_totu2 = 750321508219355227 #さーばーID ID_SRV = 539773033724772362 #agnet ID_agnet = 549971775828656168 ID_alist = 750236871967244379 #RKME #たすきる用ちゃんねるID ID_Channel_RKME = 795869377882226708 #さーばーID ID_SRV_RKME = 795355793524129823
python
<filename>public/css/accordians/style.css<gh_stars>0 @charset "utf-8"; /* CSS Document */ .accordions .border-semi-round{ border-radius: 10px !important; } .accordions .border-round { border-radius: 50px !important; } .accordions .border-top-round { border-top-left-radius: 10px !important; border-top-right-radius: 10px !important; } .accordions .border-bottom-round { border-bottom-left-radius: 10px !important; border-bottom-right-radius: 10px !important; } .accordions .border-flat { border-radius: 0px !important; } .accordions .border-none { border: none !important; } .accordions .border-1px { border: 1px solid #999 !important; } .accordions .border-2px { border: 2px solid #999 !important; } .accordions .border-3px { border: 3px solid #999 !important; } .accordions .shadow-bottom { box-shadow: 0 3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .shadow-top { box-shadow: 0 -3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .shadow-bottom-right { box-shadow: 3px 3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .shadow-bottom-left { box-shadow: -3px 3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .shadow-top-right { box-shadow: 3px -3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .shadow-top-left { box-shadow: -3px -3px 4px -1px rgba(0, 0, 0, 0.29); } .accordions .border-bottom { border-bottom: 2px solid #b3b3b3 !important; } .accordions .border-top { border-top: 2px solid #b3b3b3 !important; } .accordions .border-bottom-right { border-bottom: 3px solid #b3b3b3 !important; border-right: 3px solid #b3b3b3 !important; } .accordions .border-bottom-left { border-bottom: 3px solid #b3b3b3 !important; border-left: 3px solid #b3b3b3 !important; } .accordions .border-top-right { border-top: 3px solid #b3b3b3 !important; border-right: 3px solid #b3b3b3 !important; } .accordions .border-top-left { border-top: 3px solid #b3b3b3 !important; border-left: 3px solid #b3b3b3 !important; }
css
Abu Dhabi: On day two of his visit to the UAE, Indian Prime Minister Narendra Modi on Monday visited Masdar city and took a round of the zero carbon planned city. about the city and took keen interest as he went around. Masdar City relies on solar energy and other renewable energy sources. It is situated 17 km from Abu Dhabi.
english
<reponame>33kk/uso-archive { "id": 26350, "name": "Google - Norooz Logo", "description": "Change the google logo to a \"haft-sin\" for iranian new year.\r\nلوگوی گوگل را به صورت دائمی به تصویر یک هفت سین تغییر دهید", "user": { "id": 44621, "name": "miladbashiri", "email": "redacted", "paypal_email": null, "homepage": null, "about": null, "license": null }, "updated": "2011-04-22T00:52:03.000Z", "weekly_install_count": 0, "total_install_count": 725, "rating": null, "after_screenshot_name": "https://userstyles.org/style_screenshots/26350_after.png?r=1610093372", "obsoleting_style_id": null, "obsoleting_style_name": null, "obsolete": 0, "admin_delete_reason_id": null, "obsoletion_message": null, "screenshots": null, "license": null, "created": "2010-03-18T11:31:57.000Z", "category": "site", "raw_subcategory": "google", "subcategory": "google", "additional_info": null, "style_tags": [], "css": "/* author : <NAME> */\r\n@-moz-document\r\n domain(\"google.com\"){\r\nimg[id$=\"hplogo\"]{\r\n\tbackground: url(\"http://www.google.com/intl/fa/logos/persian_newyear06.gif\") top right no-repeat;\r\n margin-top: 6% !important;\r\n width: 0 !important;\r\n height: 110px !important;\r\n padding-left: 300px !important;\r\n\r\n}\r\n}", "discussions": [], "discussionsCount": 0, "commentsCount": 0, "userjs_url": "/styles/userjs/26350/google-norooz-logo.user.js", "style_settings": [] }
json
<gh_stars>0 :root {} *, *::before, *::after { box-sizing: border-box; } body { margin: 0; padding: 0; font-family:'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue', sans-serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; background-color: #334; color: #bbc; line-height: 2; } #root { min-height: 100vh; display: flex; flex-direction: column; } header, footer { /*background-color: lightcoral;*/ background-color: #16191f; color: #bbc; padding: 2rem; display: flex; align-items: center; filter: drop-shadow(0 0 6px rgba(0, 0, 0, 0.1)); flex-direction: column; } header { position: fixed; width: 100vw; z-index: 1; } @media (min-width: 768px) { header { flex-direction: row; justify-content: space-between; } } .header-links { display: flex; gap: 1rem; justify-content: center; align-items: center; } .header-links a { filter: opacity(0.5); transition: filter 250ms; } .header-links a:hover { filter: opacity(1.0); } footer { justify-content: center; font-family: monospace; } main { flex: 1; max-width: 1080px; margin: auto; margin-top: 12rem; padding: 1.5rem; width: calc(100% - 3rem); } @media (min-width: 768px) { main { margin-top: 8rem; padding: 2rem; width: calc(100% - 4rem); } } section { margin: 0 0 4rem 0; } h1, h2, h3, h4, h5, h6 { letter-spacing: 1px; margin: 0; padding: 1rem 0; } h1 { font-size: clamp(14pt, -0.8750rem + 3vw, 24pt); color: #478; } h2 { text-transform: uppercase; border-bottom: 2px solid #bbc; } h3 { } h3 code { padding: 0.5rem; } h4 { border-bottom: 4px dotted #bbbbcc66; } h5 { font-size: 150%; line-height: 1; text-align: right; color: #bbbbcc66; /*transition: color 250ms;*/ } .row:hover h5 { color: #bbbbcccc; } button { padding: 0.5rem; text-transform: uppercase; } .grid { margin: 2rem 0; } .row { margin: 2rem 0; } .column { padding: 1rem; } .column.description { display: flex; flex-direction: row; justify-content: space-between; align-items: center; gap: 1rem; padding: 1rem; } .row .column.description h5 { text-shadow: 0 0 0 #bbbbcc66; transition: color 250ms, text-shadow 500ms; } .row:hover .column.description h5 { text-shadow: 0 0 0.5rem #bbbbcc66; } @media (min-width: 768px) { .column.description { align-items: flex-end; flex-direction: column; justify-content: space-between; } } .column.code { } pre, code { background-color: #222; color: #eee; } pre { display: flex; align-items: center; line-height: 2.0; padding: 0.5rem; overflow-x: auto; margin: 1rem 0; border: 5px solid #478; border-radius: 0.75rem; filter: opacity(0.5); transition: filter 500ms; } pre.column { margin: 0; } pre::selection { background-color: #44778866; color: #eee; } .grid:hover pre { filter: opacity(1.0); } pre:hover { filter: opacity(1.0); } code { filter: opacity(0.75); padding: 0.5rem 0.33rem; margin: 0 0.1rem; border-radius: 0.33rem; border: 1px solid #478; } button { background-color: #478; border: 0; border-radius: 0.4rem; padding: 0.75rem 1rem; cursor: pointer; font-weight: bold; color: white; filter: drop-shadow(0 0 3px rgba(0, 0, 0, 0.2)) brightness(0.8); transform: scale(1.0); transition: filter 250ms, transform 150ms; } button:hover { filter: drop-shadow(0 0 8px rgba(0, 0, 0, 0.2)) brightness(1.0); transform: scale(1.05); }
css
We observed yet another World Environment Day, and perhaps it is time to seriously evaluate if our actions on the ground match our grand pledges, in summits and seminars, to protect the country from the threat of climate change and further environmental degradation. It is alarming that the state of our forests have increasingly deteriorated since independence; in 1971, 16 percent of our land consisted of forests, but now forests constitute only 6-7 percent of the total land, according to environment activists. The 1994 Master Plan set a target to forest about 20 percent of the country's land by 2015, which we fell woefully short of. The fact that the plan had to be revised down to 15 percent by 2021 highlights our failure to prioritise environmental concerns. Meanwhile, we seem oblivious of the active pollution of our rivers and forests through unaccounted industrialisation. As reported in our paper yesterday, the Karnaphuli river reeks of chemical pollutants as effluent from the paper mill is dumped untreated into the river. The Buriganga, too, is beyond recognition due to years of encroachment. The threat to Bangladesh due to climate change is well documented. It is considered to be among the most vulnerable countries. But consistent failure of the state to acknowledge and address issues of river encroachment and deforestation, particularly when it comes to development projects, is in stark contrast to what is needed. Development at the expense of irreversible damage is not the only way forward. Our concern for our environment must go beyond words and translate to action.
english
Ranveer Singh-starrer much-awaited film, 83 is all set to release on December 24, 2021, in theatres. The Kabir Khan directorial, which is based on the Indian Cricket Team's glorious victory in the 1983 Cricket World Cup, releasing in five languages - Hindi, Kannada, Malayalam, Telugu and Tamil. The advance bookings have already kickstarted, and fans are excited to witness a beautiful combination of cricket and cinema on the big screen. 83 Box Office Prediction: Will Ranveer Singh's Sports Drama Hit A Sixer At The Box Office? How does it feel to be part of 83? It feels great to be part of 83 movie. I am very humbled and proud to be part of this mega project. It's one of the biggest films of my career till date. I am thankful to the makers, my director, team members and every person involved in the making of this movie. I am really thankful to God and my parents. I am very excited about the release, and I am sure people will love it. How did you come on board to play late cricketer Yashpal Sharma in 83? Initially, when the casting started for the film, I got a call from Mukesh Chhabra Casting Company for the role of Madan Lal. They had prepared a whole skit for the character. They had asked me to match the bowling action with Madan Lal. As I had not played cricket for many years, I practised to bowl like him for two to three days and gave the audition. After 8 to 9 months, I again got a call from the casting company and they told me that Kabir Khan wants to see your batting style. They told me that he wants to cast you for the role of Yashpal Sharma. Then, I arranged a bat and shot a video of my batting style and sent it to them. Fortunately, they liked it and I got a role in 83. Tell us about the process to get into the skin of Yashpal Sharma's character. The process was very difficult, as I was not into the gym and exercise at all. When I came on board and started practising, I started facing difficulty. But I didn't give up and trained hard for the same. The training process was very difficult. It actually challenged the fitness level. Thanks to Balwinder Sandhu sir and physios as they were concentrating on each member of the cast. To match the attitude and batting style of Yashpal sir, I studied his body language from the match videos of the 1983 World Cup. I worked very hard on myself to get into the skin of the character to make it look real on the big screen. I used to observe Yashpal sir a lot. I got a chance to meet him twice. He taught me how he used to hold the bat. Since you were trained by 83 heroes, what special tips did you get from Yashpal Sharma? Yashpal sir taught me self-belief and focus. It is very important to practice and train a lot if you are a sportsperson. He had asked me to follow the instructions during the practice sessions strictly. In the 1983 World Cup, Yashpal Sharma played two great knocks against West Indies and England. He was the second leading run-scorer for India during the tournament. So, are we going to see those iconic innings in the film as well? Yes, definitely! We are going to see all the iconic innings of him, especially the first match against West Indies and the semi-final against England. They are very well shot. Makers have worked very hard to make it look alive the way it would have been if we don't have any idea about it. The scenes look amazing in the film. We have heard a lot of stories of the 1983 world cup victory from our parents. Is there any memorable story that you heard from your loved ones? I have heard many stories. My father always tells me that when India had won the World Cup in 1983, they all had celebrated the moment whole night. My father and uncles had burst crackers and distributed sweets among each other. It was like a big celebration as it was continued for two to three days until the arrival of team India in the country. How did it feel when you shot the iconic victory scene in England? The feeling was surreal. I actually can't express what it was because we shot on the same location at The Lords. It was a great feeling. It makes the film look grand. I don't have words to express because it was way bigger than I thought. I enjoyed the vibes of The Lords. 83 stars have now become an integral part of your life. So, who is the most notorious one of the cast? Dinker Sharma, who is playing Kirti Azad in our team is the most notorious one. He is very good at mimicking everyone in our team and other cricketers. On the other hand, Sahil Khattar is very funny. I am also very notorious but I controlled myself a lot. Saqib Saleem is also a part of the gang. Before Sacred Games 2, you had featured in several projects but didn't get much recognition for your work. So, do you think after 83, you will get more variety of roles in future? Definitely, after 83, the opportunities will grow. I will get to play different roles as they would see the variations in my acting. I always choose different characters. In the future also, I would do a different kinds of roles. Lastly, tell us why people should watch 83 in theatres? It's a very precious and historical moment. We don't have a record of it. We should watch the heroes' stories, who fought hard to get respect on the global level. We have also worked very hard for the film, and fans will definitely enjoy 83 in theatres.
english
Benz Knitting Company, is one of the famous Manufacturers of Cotton Cap, Men's T-Shirt, Kids T-Shirt, Promotional T-Shirt, and so on. Our items are recognized for their high solace, skin-cordiality, and rich looks. We have set up a top-notch framework office that incorporates machines and gear that depend on present-day and trend-setting innovations. We have made a strong business relationship with the business' most figured and dependable merchants. Our organization guarantees that these products are conveniently delivered to our customers. Tremendous industry experience and great market information on our chiefs continually motivate us to produce more upgraded quality and items that oblige the specific customer's requests. Why us? We have consistently put stock in proffering preeminent quality items and to achieve the equivalent, we utilize premium quality texture. We are one of the commended names of the business for the beneath referenced reasons:
english
import { Redis } from 'ioredis'; const shortid = require('shortid'); const MAX_PLAYERS = 6; const setGameStarted = async (redis: Redis, gameId: string) => { await redis.set(`${gameId}-started`, 'true'); return true; }; const getGameStarted = async (redis: Redis, gameId: string) => { const started = await redis.get(`${gameId}-started`); return Boolean(started && started.toString() === 'true'); }; const getPlayers = async (redis: Redis, gameId: string) => redis.lrange(`${gameId}-players`, 0, -1); const getPlayerIndex = async (redis: Redis, gameId: string, playerId: string) => { const players = await getPlayers(redis, gameId); return players.indexOf(playerId); }; const getPlayerId = async (redis: Redis, gameId: string, playerIndex: number) => { const players = await getPlayers(redis, gameId); return players[playerIndex]; }; const playerExists = async (redis: Redis, gameId: string, playerId: string) => { const players = await getPlayers(redis, gameId); if (!players.includes(playerId)) { throw new Error(`Invalid player. Player (${playerId}) does not exist`); } }; const addPlayer = async (redis: Redis, gameId: string, username: string) => { // eslint-disable-next-line prefer-const let [players, gameIsStarted] = await Promise.all([ getPlayers(redis, gameId), getGameStarted(redis, gameId), ]); if (gameIsStarted) { throw new Error('cannot add a new player after the game has begun'); } if (players.includes(username)) { throw new Error('cannot add username. This username already exists'); } if (players.length === MAX_PLAYERS) { throw new Error('Game is already full'); } await redis.rpush(`${gameId}-players`, username); players = await getPlayers(redis, gameId); return players.indexOf(username); }; const createGame = async (redis: Redis) => { const gameId = shortid.generate(); await redis.sadd('games', gameId); return gameId; }; const deleteGame = async (redis: Redis, gameId: string) => { const keys = await redis.keys(`${gameId}*`); // Use pipeline instead of sending // one command each time to improve the // performance. const pipeline = redis.pipeline(); keys.forEach((key) => { pipeline.del(key); }); return pipeline.exec(); }; export { addPlayer, createGame, deleteGame, getGameStarted, getPlayerId, getPlayerIndex, getPlayers, playerExists, setGameStarted, };
typescript
<filename>platform/api/services/discord.js const request = require('request-promise'); module.exports = { api(method, url, body = null) { return request ({ method, url: 'https://discordapp.com/api/v6' + url, headers: { Authorization: 'Bot ' + sails.config.felix.key }, body, json: true, simple: false, resolveWithFullResponse: true }); } };
javascript
<gh_stars>1-10 { "Name": "CBTPiloting", "Enabled": true, "Version": "v0.2", "Description": "Adopts Classic Battletech Tabletop piloting skill checks", "Author": "<NAME>", "Website": "", "Contact": "", "DLL": "CBTPiloting.dll", "Settings": { "PilotStabilityCheck": 0.30 } }
json
Logging off on Friday evening feels very different now. As quarantines and lockdowns force people to stay at home for work and leisure, weekends are being redefined. Work hours seep into leisure, and housework intrudes into the work-from-home hours. When every day feels the same, what is the difference between Sunday and Monday? “Working from home for a few days is so different from what is now week four of distancing,” says Mary Alexander (name changed), a financial analyst in New York who is now working from her parents’ home in the U. S. “Weekends are not particularly sacred in my industry to begin with, but WFH has blurred the lines further. We are all logging in on the weekend a lot more because we are encountering more periods of boredom on Saturdays and Sundays, and even late on week nights,” she adds. The weekend, as we knew it, may no longer be a reality in the new normal, says Anu Prasad, founder-director of Gurugram-headquartered India Leaders for Social Sector. “When you have a business to run from home, time is spent on work-related matters even on weekends. Planning has to be done for the weeks ahead, the team has to be coordinated with… So, your mind space is certainly occupied with work,” she says. Agrees Hyderabad-based Sam M Elangalloor, CEO of Findfacts Innovation Centre, a software development company, adding that he cannot avoid taking client calls even during the weekend. “In the first week of the lockdown, we were preoccupied with logistics of WFH, setting in parameters, setting up Zoom (a video-conferencing service) connections… Since my wife, Dora, is also part of my team, we find ourselves doing double duty at home: the work at home and work for our enterprise. Moreover, all day long, I find myself making frequent trips to the kitchen for a snack,” he says. From his home in Gurugram, Sreeji Gopinathan, who is Chief Information Officer (Global) of Lupin Pharma, says this is a particularly challenging period for his company, but once a system was put in place, the pressure eased. He adds, however, that the idea of weekends being kept apart for leisure and socialising has taken a beating. “But we are coping well with virtual parties and get-togethers,” he explains. The problem, says Anandi (name changed), an entrepreneur and young mother in Thiruvananthapuram, is that after a tiring week, all you want to do is put your legs up and take a break. “Since our domestic help no longer comes to work, weekends have become equally hectic. . . there are hundreds of chores around the house to be done. Earlier, I used to look forward to dressing up and getting together with a bunch of friends during the weekend. Now, it is more about catching up on some ‘me time’ and pending work,” she says. Sheena G Soman, a psychiatrist, emphasises the importance of having a routine that has clear-cut hours for work and leisure. “It is extremely important to take a break, especially for women. With the family at home and no help, it can be challenging for women to work from home and cater to the demands of the household work. Usually, our office or business creates a daily timetable that family members are also aware of. In its absence, we have to create a routine that has clear-cut hours for work and leisure,” she explains. Anagha Wankar, a senior HR person in Pune, admits that demarcating hours for of work and leisure can be a bit of a struggle. “Since going out is ruled out, weekends have meant catching up on reading, actually indulging in my hobby of embroidery and being the quintessential homemaker,” she says. Intuitively, many families are adapting to technology to stay in touch after the confusion and sense of helplessness in the first two weeks. Sam says he and Dora introduced their octogenarian parents to Zoom and had a virtual get-together on Sunday with their son joining in from Bengaluru and daughter from Leeds in the UK. Anu meanwhile, reminds us to stick to those rituals of ‘going to work. ’ “So, I dress up, apply make-up and get ready for work (even at home). I have begun exercising again and have taken up hobbies. The difference is that instead of waiting till the weekend to indulge in my hobbies, I compartmentalise our days into hours to set apart time for them,” she says.
english
Is CBN trying to protect himself from Centre? The AP Chief Minister Chandrababu Naidu has been creating a huge confusion among his cadre and followers. A look at his recent speech will leave everyone in a doubt that he is actually shielding himself with his party and its strength. Chandrababu Naidu graced the National Event of Panchayat Raj in Dwarampudi. Speaking to the people, he stated that for the benefits of the State, he has cut his long-term friendship with BJP and made them his enemies. CBN claimed that the Centre has completely ditched AP and it is not in a mood to consider AP State’s request. So CBN declares that the BJP is posing a threat to him as it might corner him or arrest him in the name of corruption like Cash for Vote or something else. In the state of defense, now Babu is asking his cadre and followers to strengthen the party to clean sweep all the existing 25 MP seats. His plan is to dictate the Centre if he has all the 25 MP seats as he can dictate the PM of this country. Seems Babu has got some hints from his sources close to the Centre. After his backlash from the alliance of NDA, None from BJP are considering CBN as a friend to the party. Also, they are trying to suppress TDP in AP by joining hands with the Opposition YSRCP. It is now a million dollars question as if what BJP does to CBN if it regains power at Centre for the second time. The 2019 general elections are very crucial for TDP and CBN than anyone in the entire state of Andhra Pradesh. Some More Interesting New: Ravi Teja’s next under VI Anand gets a title:
english
package org.apache.struts2.shiro.example.action; import org.apache.shiro.session.Session; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; public class WelcomeAction extends ShiroBaseAction { private static final long serialVersionUID = 1L; private static final Logger log = LogManager.getLogger(WelcomeAction.class); private String username; @Override public String execute() { String result = ERROR; if (isAuthenticated()) { // Retrieve value from session Session session = getShiroUser().getSession(); String value = (String) session.getAttribute("MyUsername"); if (value.equals(username)) { log.info("Retrieved the correct 'username' value [" + value + "] from session"); } printRoles(); printPermissions(); result = SUCCESS; } return result; } public void printRoles() { if (getShiroUser().hasRole("admin")) { log.info("User '" + username + "' has role of 'admin'"); } else { log.info("User '" + username + "' is missing role 'admin'"); } if (getShiroUser().hasRole("schwartz")) { log.info("User '" + username + "' has role of 'schwartz'"); } else { log.info("User '" + username + "' is missing role 'schwartz'"); } if (getShiroUser().hasRole("goodguy")) { log.info("User '" + username + "' has role of 'goodguy'"); } else { log.info("User '" + username + "' is missing role 'goodguy'"); } } public void printPermissions() { if (getShiroUser().isPermitted("lightsaber")) { log.info("User '" + username + "' has 'lightsaber' permission"); } else { log.info("User '" + username + "' is missing permission 'lightsaber'"); } if (getShiroUser().isPermitted("winnebago")) { log.info("User '" + username + "' has 'winnebago' permission"); } else { log.info("User '" + username + "' is missing permission 'winnebago'"); } if (getShiroUser().isPermitted("winnebago:drive:eagle5")) { log.info("User '" + username + "' has 'winnebago:drive:eagle5' permission"); } else { log.info("User '" + username + "' is missing permission 'winnebago:drive:eagle5'"); } } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } }
java
package lesson10.employees; import java.io.*; import java.util.*; import javax.xml.bind.*; /** * Demonstrates serialization and de-serialization to/from XML using JAXB * * @author erelsgl */ public class JaxbDemo { public static void main(String[] args) throws JAXBException { // testEmployee(); // testManager(); testList(); } private static void testEmployee() throws JAXBException { Employee e1 = new Employee("A",100); System.out.println(e1); JAXBContext ctx = JAXBContext.newInstance(Employee.class); Marshaller m = ctx.createMarshaller(); m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); StringWriter sw = new StringWriter(); m.marshal(e1, sw); String e1string = sw.toString(); System.out.println(e1string); Unmarshaller um = ctx.createUnmarshaller(); Employee e2 = (Employee)um.unmarshal(new StringReader(e1string)); System.out.println(e2); System.out.println(e1.toString().equals(e2.toString())); System.out.println(); } private static void testManager() throws JAXBException { Manager m1 = new Manager("M",1000); m1.addToTeam(new Employee("A",100)); m1.addToTeam(new Programmer("B",200)); System.out.println(m1); JAXBContext ctx = JAXBContext.newInstance(Manager.class); Marshaller m = ctx.createMarshaller(); m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); StringWriter sw = new StringWriter(); m.marshal(m1, sw); String m1string = sw.toString(); System.out.println(m1string); Unmarshaller um = ctx.createUnmarshaller(); Employee m2 = (Employee)um.unmarshal(new StringReader(m1string)); System.out.println(m2); System.out.println(m1.toString().equals(m2.toString())); System.out.println(); } private static void testList() throws JAXBException { List<Employee> employees = new ArrayList<>(); Manager m1 = new Manager("M",1000); Employee e1 = new Employee("E",100); Programmer p1 = new Programmer("P",200); m1.addToTeam(e1); m1.addToTeam(p1); Collections.addAll(employees, m1, e1, p1); System.out.println(employees); JAXBContext ctx = JAXBContext.newInstance(Employees.class); Marshaller m = ctx.createMarshaller(); m.setProperty(Marshaller.JAXB_FORMATTED_OUTPUT, true); StringWriter sw = new StringWriter(); //m.marshal(employees, sw); // this causes a runtime exception since ArrayList does not have @XmlRootElement! Employees employees1 = new Employees(); employees1.setEmployees(employees); m.marshal(employees1, sw); String employeesstring = sw.toString(); System.out.println(employeesstring); Unmarshaller um = ctx.createUnmarshaller(); Employees employees2 = (Employees)um.unmarshal(new StringReader(employeesstring)); System.out.println(employees2); System.out.println(employees1.toString().equals(employees2.toString())); // The two statements below show a problem with JAXB. // The same "Programmer" appears twice in employees1: System.out.println( employees1.getEmployees().get(2)== ((Manager)employees1.getEmployees().get(0)).getTeam().get(1)); // ... but in employees2, it is duplicated: System.out.println( employees2.getEmployees().get(2)== ((Manager)employees2.getEmployees().get(0)).getTeam().get(1)); System.out.println(); } }
java
{"place_name": "Stonewall", "state_name": "North Carolina", "state_abbrv": "NC", "lat": "35.1371", "long": "-76.7406"}
json
CM Manohar Lal Khattar Haryana Budget Live Updates: Haryana Chief Minister Manohar Lal Khattar said no fresh tax will be imposed, as he presented the state Budget for the financial year 2023-24 today. Khattar, who also holds the finance portfolio, proposed Rs 1,83,950 crore state budget for the year 2023-24, an increase of 11. 6 per cent over the revised estimates of Rs 1,64,808 crore. Government officials had said that before presenting the Budget, Khattar had held a series of pre-Budget consultation meetings with an aim to ensure that every key suggestion shared by the stakeholders are incorporated. These meetings have been a key of the Khattar government before every Budget for the last three years. With a blueprint of taking Haryana swiftly on a progressive and transformational path, along with uplifting the last mile citizen, Budget 2023-24 will be “growth oriented”, said Haryana Chief Minister Manohar Lal Khattar.
english
I've been taking NOW Foods Saw Palmetto Extract for a few weeks now and I'm impressed with the quality of the ingredients. Saw Palmetto is known to support healthy hair growth and a healthy urinary tract. I've noticed an improvement in my overall well-being since starting this supplement. I highly recommend giving it a try for its benefits on hair and urinary tract health.
english
Vachana Sangeethotsava in memory of Ganayogi Panchakshara Gawai, Suttur Seer Sri Shivarathri Deshikendra Swamiji graces the occasion, Music University VC Dr. Nagesh V. Bettakote inaugurates, Parishat Bengaluru President Prof. Maleyuru Guruswamy presides, Vachana Sangeetha by Hindustani singer from Bengaluru Pt. D. Kumaradas and singer Dr. Sridevi Kulenur; [Endowment donors – Dakshayini Somashekarappa and Mangala Muddumadappa], Sri Rajendra Bhavan, JSS Hospital premises, 5 pm.
english
Tamannaah Bhatia always flaunts her fashionable style and is one of the most glamorous actresses in the Film Industry. She never misses any chance to impress her fans with her style. She is avid on social media and in her recent post, she has posted a video where she can be seen flaunting her glam lifestyle. She captioned the post – “Ready, set, go..”. The star has summed up the post with a few tags that show, she has extended gratitude to the person involved in her style. Have a look at the amazing outfits donned by the diva. Check out the swag here: Talking on the work front, Tamannaah has a handful of projects. She last appeared in the Aha web series '11th Hour' which was released on April 9. She will be seen in “Bole Chudiyan” opposite Nawazuddin Siddiqui, directed by Shamas Nawab Siddiqui. She is also busy making the sequel “F2: Fun and Frustration titled F3 '' and a remake of the Hindi movie "Queen", titled 'That Is Mahalakshmi'.
english
Today we are going to talk about Anti-Tank Guided Weapons (ATGW) Except we are not going to talk about Anti-Tank Guided Weapons (ATGW), instead, we are going to talk about the ability of the joint force to detect, process, disseminate and destroy enemy vehicles from the deep to the close battle. So any discussion of ATGW must seem them as players in a team sport, and we should also see close range unguided systems like NLAW as part of the mix as well. This is what makes it hard to conceptualise, it is complex, but dropping a guided 127mm round from a Type 26 onto an enemy tank is not dissimilar to dropping a Brimstone onto the same tank from a Typhoon, all at distances well beyond land forces. One of the most neglected parts of the ISTAR chain seems to be the I, but that is really where it all starts, together with other means of gathering data, we can then turn this data into information, process it, and then decide what to do, target or not. Unattended sensors, hacking into APNR cameras, satellite imagery, selfies off Facebook, close observation, a submarine taking a peek onshore, the possibilities are endless, but they all contribute to building a picture of what's going on in time and space. Brimstone is clever, all sorts of cunning fox like skulduggery. If we can pack one of these onto GMLRS, then LAND can get into the same fight. Or perhaps use a smart mine launched from the same. (yes, I know) (yes, I know) Separate the guidance from the weapon launcher if you can, distribute weapons that can be fired without reliance on fragile communications link and decision chains, and you have coverage for a number of scenarios. Agility, fire and forget, off firing point guidance, remote systems like smart mines and even dumb mines, all have a part to play in the complex web of weapons, sensors and people.
english
New Delhi: The Union Cabinet on Wednesday approved the signing of Memorandum of Understanding (MoU) in the field of judicial cooperation with the Judicial Service Commission of Maldives. The Union Cabinet chaired by the Prime Minister Narendra Modi has approved the signing of MoU in the field of judicial cooperation between India and the Judicial Service Commission of Maldives. This is the eighth MoU signed between India and other countries in the field of judicial cooperation. This MoU will provide a platform to tap the benefits of Information Technology for court digitisation and can be a potential growth area for the IT companies and start-ups in both the countries. “During the recent years, the close relationship between India and Maldives has intensified multi-dimensionally. With the signing of this agreement on cooperation in the field of law and justice, the good relations between the two countries will receive further impetus. It will not only enable exchange of knowledge and technology in judicial and other legal areas between the two countries but will also further the objectives of ‘neighbourhood first’ policy,” the government said.
english
<filename>functions/views/dmap.css html, body, #map { margin: 0; height: 100%; width: 100%; font-family:'Courier New'; } #id { display: none; } #start { visibility: hidden; font-size: 50px; height: 150px; width: 100%; bottom: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #3db1b8; color: white; border: none; } #start:active { background-color: #359196; } #stop { visibility: hidden; font-size: 50px; height: 150px; width: 100%; bottom: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #55964C; color: white; border: none; } #stop:active { background-color: #498840; } #confirm { visibility: hidden; font-size: 50px; height: 150px; width: 50%; bottom: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #55964C; color: white; border: none; } #confirm.active { background-color: #498840; } #cancel { visibility: hidden; font-size: 50px; height: 150px; margin-left: 50%; width: 50%; bottom: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #d43535; color: white; border: none; } #cancel.active { background-color: #ad2828; } #start_alert { visibility: hidden; font-size: 50px; height: 150px; margin-left: 0%; width: 100%; top: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #d43535; color: white; border: none; } #stop_alert { visibility: hidden; font-size: 50px; height: 150px; margin-left: 0%; width: 100%; top: 0%; font-weight: bold; z-index: 10; float: left; position: absolute; background-color: #ab2020; color: white; border: none; } #credit { color: #303030; padding-top: 1%; font-size: 35px; position: fixed; top: 0px; text-align: center; width: 50%; margin-left: 25%; margin-right: 25%; }
css
# @ui5/webcomponents-react-charts Chart library for ui5-webcomponents-react. ## Usage ### Installation ```bash npm install @ui5/webcomponents-react-charts --save ``` ### Documentation You can find an interactive documentation in our [Storybook](https://sap.github.io/ui5-webcomponents-react/). ## Contribute Please check our [Contribution Guidelines](https://github.com/SAP/ui5-webcomponents-react/blob/master/CONTRIBUTING.md). ## License Please see our [LICENSE](https://github.com/SAP/ui5-webcomponents-react/blob/main/LICENSE) for copyright and license information. Detailed information including third-party components and their licensing/copyright information is available via the [REUSE tool](https://api.reuse.software/info/github.com/SAP/ui5-webcomponents-react).
markdown
Well, it’s a back-to-back game for Bohemian CC, who will be taking on Prague Barbarians Vandals after locking horns with Prague Spartans. Bohemian CC were the table-toppers in the first week of ECN Czech Super Series while Barbarians have managed to be on the top half of the table but failed to get through the eventual hurdle. Bohemian CC has hardly lost a game in this tournament and has been doing exceptionally in the recent past. They are looking continue their winning streak on this Saturday as well. Meanwhile, Prague Barbarians need to be on top of their game while tackling a team like Bohemian CC. Ahead of the clash let’s have a look at the match details, weather report, fantasy tips, predicted teams, and the live streaming details. The second game of the new week between Bohemian CC and Prague Barbarians Vandals set to be played in Scott Page Field, Prague. Unfortunately, the weather report suggests a couple of showers on Saturday. However, it can be at any time in the day. Thus, there are better chances to see a full game between Bohemian and Barbarians. Bohemian CC has got star players in the name of Sajib Bhuyan, Farhad and Jagtap. All of them have been contracted players and are likely to do well. Further, Sardar Khan will be the key player in the bowling section. On the other hand, Prague Barbarians have Sabawoon and Pradeep, who are playing with a brilliant average throughout the tournament. Divyendra Singh and Honey Gori are the crucial players for the team in this game. Team Suggestions: It is once again going to be a paradise for the batsmen. The shorter boundaries and flat wicket will give nothing for the bowlers to work on. However, spinners might get a grip. The match starts at 3:30 PM IST. It will be streamed live on Fan Code and the YouTube channel of European Cricket Network.
english
.panels { overflow: hidden; display: flex; position: relative; z-index: 1; } .panel { flex: 1; cursor: pointer; background-position: center center; background-size: cover; } .panel__content { width: 100%; height: 102%; overflow: hidden; cursor: pointer; background: inherit; } .panel:before, .panel__content:before { content: ' '; display: block; width: 100%; height: 100%; } .panel:before { background: rgba(255, 255, 255, 0.3); position: relative; z-index: 99; opacity: 0; transition: opacity 0.3s linear; } /* The non-CSS Var hover state */ .panel:hover:before, .panel:focus:before { opacity: 1; } .panel:hover .panel__content, .panel:focus .panel__content { position: absolute; top: -1%; left: 0; z-index: 98; } /* If CSS Vars are supported... */ @supports ( (--panel-support: 0) ) { .panel { --i: 0; --percent: calc( ((var(--i) - 1) / var(--items)) * 100 ); } /* A simple LESS loop to set up the CSS vars. Output will be something like .panels--1 { --items: 1; } .panth:nth-child(1) { --i: 1; } .panels--2 { --items: 2; } .panth:nth-child(2) { --i: 2; } ..up to the total number provided. */ .panel:nth-last-child(n + 1), .panel:nth-last-child(n + 1) ~ .panel { --items: 1; } .panel:nth-child( 1) { --i: 1; } .panel:nth-last-child(n + 2), .panel:nth-last-child(n + 2) ~ .panel { --items: 2; } .panel:nth-child( 2) { --i: 2; } .panel:nth-last-child(n + 3), .panel:nth-last-child(n + 3) ~ .panel { --items: 3; } .panel:nth-child( 3) { --i: 3; } .panel:nth-last-child(n + 4), .panel:nth-last-child(n + 4) ~ .panel { --items: 4; } .panel:nth-child( 4) { --i: 4; } .panel:nth-last-child(n + 5), .panel:nth-last-child(n + 5) ~ .panel { --items: 5; } .panel:nth-child( 5) { --i: 5; } .panel:nth-last-child(n + 6), .panel:nth-last-child(n + 6) ~ .panel { --items: 6; } .panel:nth-child( 6) { --i: 6; } .panel:nth-last-child(n + 7), .panel:nth-last-child(n + 7) ~ .panel { --items: 7; } .panel:nth-child( 7) { --i: 7; } .panel__content { position: absolute; top: -1%; left: 0%; z-index: auto; transform: translateX(calc( var(--percent) * 1% )); } .panel__content:before { background: inherit; transform: translateX(-50%) translateX(calc(100% / var(--items) * 0.5 )); } .panel__content, .panel__content:before { transition: transform 0.4s cubic-bezier(0.44, 0, 0, 1); } /* When there's an active hover on the container. This will apply to all panels in the container, unless overridden */ .panels:hover .panel__content { z-index: auto; transform: translateX(0%); } /* Panels after the hovered panel */ .panel:hover ~ .panel .panel__content { transform: translateX(100%); } /* The active panel */ .panel:hover .panel__content, .panel:focus .panel__content { transform: translateX(0%); } .panel:hover .panel__content:before, .panel:focus .panel__content:before { transform: translateX(0%) scale(1.2); } .panel:focus .panel__content, .panel:focus .panel__content:before { transition: none !important; } } /* ////////////////////////////////////// STYLISTIC CHOICES //////////////////////////////////// */ .panels { box-shadow: 0 0 10rem rgba(0, 0, 0, 0.6); height: 40vh; margin: 10vh auto; min-height: 300px; max-height: 700px; } body > .panels:first-child { margin: 15vh auto; height: 65vh; } /* Set up the background images */ .panel:nth-child( 7) { background-image: url( 'https://unsplash.it/1000/1000/?image=777' ); } .panel:nth-child( 6) { background-image: url( 'https://unsplash.it/1000/1000/?image=821' ); } .panel:nth-child( 5) { background-image: url( 'https://unsplash.it/1000/1000/?image=550' ); } .panel:nth-child( 4) { background-image: url( 'https://unsplash.it/1000/1000/?image=342' ); } .panel:nth-child( 3) { background-image: url( 'https://unsplash.it/1000/1000/?image=786' ); } .panel:nth-child( 2) { background-image: url( 'https://unsplash.it/1000/1000/?image=883' ); } .panel:nth-child( 1) { background-image: url( 'https://unsplash.it/1000/1000/?image=760' ); } html { height: 100%; } body { min-height: 100%; } html, body { margin: 0; padding: 0; } body { background: #2F3C4F; } *, *:before, *:after { box-sizing: border-box; }
css
Ransomware attacks like WannaCry and Petya caused major chaos last year, while the likes of Locky and Cerber were less high-profile, but still managed to generate large amounts of income for their criminal creators. 2017 was the year of ransomware, but it could be that the file-encrypting malware has already reached its peak, as an analysis of cybercriminal campaigns appears to show that malicious actors are already dumping ransomware in favour of other forms of cyber-attack. According to an analysis of cybercrime tactics and techniques by researchers at security company Malwarebytes, the final months of 2017 saw cyber-attackers ditch ransomware, either in favour of returning to more stealthy forms of malware like trojans and spyware, or moving onto the likes of cryptocurrency miners and ad-fraud malware. Figures suggest ransomware peaked when it accounted for over 70 percent of exploit and spam drops in June -- the same month as the Petya ransomware attack and shortly after May's WannaCry outbreak. However, since that point, the percentage of ransomware drops has fallen significantly, dropping to under 10 percent of malicious payloads in December. It could be that the high profile of ransomware following the WannaCry incident pushed the malware into the public eye to such an extent that potential victims became more aware of the threat, while making more businesses more likely to back up data. In both cases, some cybercriminals may have found ransomware to be a less effective means of illicitly making money. "In the wake of so many high visibility ransomware attacks, both corporations and individuals are realising the necessity for good backup practices. This alone, even without additional security precautions, effectively deadens the otherwise considerable sting of the threat," Chris Boyd, malware analyst at Malwarebytes, told ZDNet. It's also possible that prominent forms of ransomware -- including Petya and Bad Rabbit -- were poorly coded or just outright designed not to provide decryption keys and sometimes even not to accept payments, so some victims just stopped paying fees. That breach of 'trust' with the 'customer' by some ransomware distributors therefore made it less likely that victims would pay up when hit with other forms of ransomware too. "Breaking that peculiar element of trust with victims -- who are relying on you to keep your word and give files back -- means diminishing returns," said Boyd, adding: "In short, people have wised up to ransomware given the media saturation." So what are cybercriminals turning to now, if they're moving away from ransomware? One option is using malware to mine for cryptocurrencies, with attacks tricking users into installing programs that secretly run in the background of systems in order to acquire cryptocurrency -- be it bitcoin, Monero, or something else. This form of attack causes a massive drain on the resources of the infected system, potentially slowing it down to the point where it could become unusable for anything but the malicious mining. Researchers suggest that 2018 will see a further increase in this form of malware, which could even rope in mobile and IoT devices. "If this craze continues, we are likely going to keep seeing an evolution of drive-by mining tools, new mining platforms, and new forms of malware designed to mine and/or steal cryptocurrency," said the report. However, it'd be foolish to completely discount the risk of ransomware. It's still a valuable means of making money for cyber criminals - as demonstrated by the recent case of a US possible paying $55,000 to hackers after a ransomware attack. There are also families of ransomware like Locky, which have previously appeared to have died off only to return with a vengeance. Meanwhile, hackers are still experimenting with new ways of delivering ransomware. The switch to new digital currencies will make life more difficult, according to one police chief. Ransomware authors are profiting from the rise of the cryptocurrency -- but it's also bringing some unexpected problems for them and other dark web operators.
english
package org.apache.asterix.experiment.builder.config; public interface IUniformHistConfigBuilder extends IAsterixConfigBuilder { @Override default String getAsterixConfig() { return "uniform-hist-configuration.xml"; } }
java
<filename>wherehows-kafka/src/main/java/wherehows/processors/MetadataChangeProcessor.java /** * Copyright 2015 LinkedIn Corp. All rights reserved. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. */ package wherehows.processors; import com.linkedin.events.KafkaAuditHeader; import com.linkedin.events.metadata.ChangeAuditStamp; import com.linkedin.events.metadata.ChangeType; import com.linkedin.events.metadata.DatasetIdentifier; import com.linkedin.events.metadata.MetadataChangeEvent; import lombok.extern.slf4j.Slf4j; import org.apache.avro.generic.IndexedRecord; import org.apache.kafka.clients.producer.KafkaProducer; import wherehows.dao.DaoFactory; import wherehows.dao.table.DatasetComplianceDao; import wherehows.dao.table.DatasetOwnerDao; import wherehows.dao.table.DictDatasetDao; import wherehows.dao.table.FieldDetailDao; import wherehows.models.table.DictDataset; import static wherehows.common.utils.StringUtil.*; @Slf4j public class MetadataChangeProcessor extends KafkaMessageProcessor { private final DictDatasetDao _dictDatasetDao = DAO_FACTORY.getDictDatasetDao(); private final FieldDetailDao _fieldDetailDao = DAO_FACTORY.getDictFieldDetailDao(); private final DatasetOwnerDao _ownerDao = DAO_FACTORY.getDatasteOwnerDao(); private final DatasetComplianceDao _complianceDao = DAO_FACTORY.getDatasetComplianceDao(); private final int _maxDatasetNameLength = 400; public MetadataChangeProcessor(DaoFactory daoFactory, KafkaProducer<String, IndexedRecord> producer) { super(daoFactory, producer); } /** * Process a MetadataChangeEvent record * @param indexedRecord IndexedRecord * @throws Exception */ public void process(IndexedRecord indexedRecord) throws Exception { if (indexedRecord == null || indexedRecord.getClass() != MetadataChangeEvent.class) { throw new IllegalArgumentException("Invalid record"); } log.debug("Processing Metadata Change Event record. "); MetadataChangeEvent record = (MetadataChangeEvent) indexedRecord; final KafkaAuditHeader auditHeader = record.auditHeader; if (auditHeader == null) { log.warn("MetadataChangeEvent without auditHeader, abort process. " + record.toString()); return; } final DatasetIdentifier identifier = record.datasetIdentifier; log.info("MCE: " + identifier + " TS: " + auditHeader.time); // TODO: remove. For debugging only final ChangeAuditStamp changeAuditStamp = record.changeAuditStamp; final ChangeType changeType = changeAuditStamp.type; if (changeType == ChangeType.DELETE) { // TODO: delete dataset log.debug("Dataset Deleted: " + identifier); return; } // check dataset name length to be within limit. Otherwise, save to DB will fail. if (identifier.nativeName.length() > _maxDatasetNameLength) { log.error("Dataset name too long: " + identifier.nativeName.length(), identifier); return; } // create or update dataset DictDataset ds = _dictDatasetDao.insertUpdateDataset(identifier, changeAuditStamp, record.datasetProperty, record.schema, record.deploymentInfo, toStringList(record.tags), record.capacity, record.partitionSpec); // if schema is not null, insert or update schema if (record.schema != null) { _fieldDetailDao.insertUpdateDatasetFields(identifier, ds.getId(), record.datasetProperty, changeAuditStamp, record.schema); } // if owners are not null, insert or update owner if (record.owners != null) { _ownerDao.insertUpdateOwnership(identifier, ds.getId(), changeAuditStamp, record.owners); } // if compliance is not null, insert or update compliance if (record.compliancePolicy != null) { _complianceDao.insertUpdateCompliance(identifier, ds.getId(), changeAuditStamp, record.compliancePolicy); } // if suggested compliance is not null, insert or update suggested compliance if (record.suggestedCompliancePolicy != null) { _complianceDao.insertUpdateSuggestedCompliance(identifier, ds.getId(), changeAuditStamp, record.suggestedCompliancePolicy); } } }
java
/* * 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. */ package org.apache.nifi.processors.email; import org.apache.commons.lang3.ArrayUtils; import org.apache.commons.lang3.StringUtils; import org.apache.commons.mail.util.MimeMessageParser; import org.apache.nifi.annotation.behavior.EventDriven; import org.apache.nifi.annotation.behavior.InputRequirement; import org.apache.nifi.annotation.behavior.InputRequirement.Requirement; import org.apache.nifi.annotation.behavior.SideEffectFree; import org.apache.nifi.annotation.behavior.SupportsBatching; import org.apache.nifi.annotation.behavior.WritesAttribute; import org.apache.nifi.annotation.behavior.WritesAttributes; import org.apache.nifi.annotation.documentation.CapabilityDescription; import org.apache.nifi.annotation.documentation.Tags; import org.apache.nifi.components.PropertyDescriptor; import org.apache.nifi.components.AllowableValue; import org.apache.nifi.flowfile.FlowFile; import org.apache.nifi.logging.ComponentLog; import org.apache.nifi.processor.AbstractProcessor; import org.apache.nifi.processor.ProcessContext; import org.apache.nifi.processor.ProcessSession; import org.apache.nifi.processor.ProcessorInitializationContext; import org.apache.nifi.processor.Relationship; import org.apache.nifi.processor.io.InputStreamCallback; import org.apache.nifi.processor.util.StandardValidators; import org.apache.nifi.stream.io.BufferedInputStream; import javax.mail.Address; import javax.mail.Header; import javax.mail.Message; import javax.mail.MessagingException; import javax.mail.Session; import javax.mail.internet.MimeMessage; import java.io.IOException; import java.io.InputStream; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.Date; import java.util.Enumeration; import java.util.HashMap; import java.util.HashSet; import java.util.List; import java.util.Map; import java.util.Properties; import java.util.Set; @SupportsBatching @EventDriven @SideEffectFree @Tags({"split", "email"}) @InputRequirement(Requirement.INPUT_REQUIRED) @CapabilityDescription("Using the flowfile content as source of data, extract header from an RFC compliant email file adding the relevant attributes to the flowfile. " + "This processor does not perform extensive RFC validation but still requires a bare minimum compliance with RFC 2822") @WritesAttributes({ @WritesAttribute(attribute = "email.headers.bcc.*", description = "Each individual BCC recipient (if available)"), @WritesAttribute(attribute = "email.headers.cc.*", description = "Each individual CC recipient (if available)"), @WritesAttribute(attribute = "email.headers.from.*", description = "Each individual mailbox contained in the From of the Email (array as per RFC-2822)"), @WritesAttribute(attribute = "email.headers.message-id", description = "The value of the Message-ID header (if available)"), @WritesAttribute(attribute = "email.headers.received_date", description = "The Received-Date of the message (if available)"), @WritesAttribute(attribute = "email.headers.sent_date", description = "Date the message was sent"), @WritesAttribute(attribute = "email.headers.subject", description = "Subject of the message (if available)"), @WritesAttribute(attribute = "email.headers.to.*", description = "Each individual TO recipient (if available)"), @WritesAttribute(attribute = "email.attachment_count", description = "Number of attachments of the message" )}) public class ExtractEmailHeaders extends AbstractProcessor { public static final String EMAIL_HEADER_BCC = "email.headers.bcc"; public static final String EMAIL_HEADER_CC = "email.headers.cc"; public static final String EMAIL_HEADER_FROM = "email.headers.from"; public static final String EMAIL_HEADER_MESSAGE_ID = "email.headers.message-id"; public static final String EMAIL_HEADER_RECV_DATE = "email.headers.received_date"; public static final String EMAIL_HEADER_SENT_DATE = "email.headers.sent_date"; public static final String EMAIL_HEADER_SUBJECT = "email.headers.subject"; public static final String EMAIL_HEADER_TO = "email.headers.to"; public static final String EMAIL_ATTACHMENT_COUNT = "email.attachment_count"; public static final PropertyDescriptor CAPTURED_HEADERS = new PropertyDescriptor.Builder() .name("CAPTURED_HEADERS") .displayName("Additional Header List") .description("COLON separated list of additional headers to be extracted from the flowfile content." + "NOTE the header key is case insensitive and will be matched as lower-case." + " Values will respect email contents.") .required(false) .expressionLanguageSupported(false) .addValidator(StandardValidators.NON_EMPTY_VALIDATOR) .defaultValue("x-mailer") .build(); private static final AllowableValue STRICT_ADDRESSING = new AllowableValue("true", "Strict Address Parsing", "Strict email address format will be enforced. FlowFiles will be transfered to the failure relationship if the email address is invalid."); private static final AllowableValue NONSTRICT_ADDRESSING = new AllowableValue("false", "Non-Strict Address Parsing", "Accept emails, even if the address is poorly formed and doesn't strictly comply with RFC Validation."); public static final PropertyDescriptor STRICT_PARSING = new PropertyDescriptor.Builder() .name("STRICT_ADDRESS_PARSING") .displayName("Email Address Parsing") .description("If \"strict\", strict address format parsing rules are applied to mailbox and mailbox list fields, " + "such as \"to\" and \"from\" headers, and FlowFiles with poorly formed addresses will be routed " + "to the failure relationship, similar to messages that fail RFC compliant format validation. " + "If \"non-strict\", the processor will extract the contents of mailbox list headers as comma-separated " + "values without attempting to parse each value as well-formed Internet mailbox addresses. " + "This is optional and defaults to " + STRICT_ADDRESSING.getDisplayName()) .required(false) .defaultValue(STRICT_ADDRESSING.getValue()) .allowableValues(STRICT_ADDRESSING, NONSTRICT_ADDRESSING) .build(); public static final Relationship REL_SUCCESS = new Relationship.Builder() .name("success") .description("Extraction was successful") .build(); public static final Relationship REL_FAILURE = new Relationship.Builder() .name("failure") .description("Flowfiles that could not be parsed as a RFC-2822 compliant message") .build(); private Set<Relationship> relationships; private List<PropertyDescriptor> descriptors; @Override protected void init(final ProcessorInitializationContext context) { final Set<Relationship> relationships = new HashSet<>(); relationships.add(REL_SUCCESS); relationships.add(REL_FAILURE); this.relationships = Collections.unmodifiableSet(relationships); final List<PropertyDescriptor> descriptors = new ArrayList<>(); descriptors.add(CAPTURED_HEADERS); descriptors.add(STRICT_PARSING); this.descriptors = Collections.unmodifiableList(descriptors); } @Override public void onTrigger(final ProcessContext context, final ProcessSession session) { final ComponentLog logger = getLogger(); final List<FlowFile> invalidFlowFilesList = new ArrayList<>(); final List<FlowFile> processedFlowFilesList = new ArrayList<>(); final FlowFile originalFlowFile = session.get(); if (originalFlowFile == null) { return; } final String requireStrictAddresses = context.getProperty(STRICT_PARSING).getValue(); final List<String> capturedHeadersList = Arrays.asList(context.getProperty(CAPTURED_HEADERS).getValue().toLowerCase().split(":")); final Map<String, String> attributes = new HashMap<>(); session.read(originalFlowFile, new InputStreamCallback() { @Override public void process(final InputStream rawIn) throws IOException { try (final InputStream in = new BufferedInputStream(rawIn)) { Properties props = new Properties(); props.put("mail.mime.address.strict", requireStrictAddresses); Session mailSession = Session.getInstance(props); MimeMessage originalMessage = new MimeMessage(mailSession, in); MimeMessageParser parser = new MimeMessageParser(originalMessage).parse(); // RFC-2822 determines that a message must have a "From:" header // if a message lacks the field, it is flagged as invalid Address[] from = originalMessage.getFrom(); if (from == null) { throw new MessagingException("Message failed RFC-2822 validation: No Sender"); } Date sentDate = originalMessage.getSentDate(); if (sentDate == null ) { // Throws MessageException due to lack of minimum required headers throw new MessagingException("Message failed RFC-2822 validation: No Sent Date"); } else if (capturedHeadersList.size() > 0){ Enumeration headers = originalMessage.getAllHeaders(); while (headers.hasMoreElements()) { Header header = (Header) headers.nextElement(); if (StringUtils.isNotEmpty(header.getValue()) && capturedHeadersList.contains(header.getName().toLowerCase())) { attributes.put("email.headers." + header.getName().toLowerCase(), header.getValue()); } } } putAddressListInAttributes(attributes, EMAIL_HEADER_TO, originalMessage.getRecipients(Message.RecipientType.TO)); putAddressListInAttributes(attributes, EMAIL_HEADER_CC, originalMessage.getRecipients(Message.RecipientType.CC)); putAddressListInAttributes(attributes, EMAIL_HEADER_BCC, originalMessage.getRecipients(Message.RecipientType.BCC)); putAddressListInAttributes(attributes, EMAIL_HEADER_FROM, originalMessage.getFrom()); // RFC-2822 specifies "From" as mailbox-list if (StringUtils.isNotEmpty(originalMessage.getMessageID())) { attributes.put(EMAIL_HEADER_MESSAGE_ID, originalMessage.getMessageID()); } if (originalMessage.getReceivedDate() != null) { attributes.put(EMAIL_HEADER_RECV_DATE, originalMessage.getReceivedDate().toString()); } if (originalMessage.getSentDate() != null) { attributes.put(EMAIL_HEADER_SENT_DATE, originalMessage.getSentDate().toString()); } if (StringUtils.isNotEmpty(originalMessage.getSubject())) { attributes.put(EMAIL_HEADER_SUBJECT, originalMessage.getSubject()); } // Zeroes EMAIL_ATTACHMENT_COUNT attributes.put(EMAIL_ATTACHMENT_COUNT, "0"); // But insert correct value if attachments are present if (parser.hasAttachments()) { attributes.put(EMAIL_ATTACHMENT_COUNT, String.valueOf(parser.getAttachmentList().size())); } } catch (Exception e) { // Message is invalid or triggered an error during parsing attributes.clear(); logger.error("Could not parse the flowfile {} as an email, treating as failure", new Object[]{originalFlowFile, e}); invalidFlowFilesList.add(originalFlowFile); } } }); if (attributes.size() > 0) { FlowFile updatedFlowFile = session.putAllAttributes(originalFlowFile, attributes); logger.info("Extracted {} headers into {} file", new Object[]{attributes.size(), updatedFlowFile}); processedFlowFilesList.add(updatedFlowFile); } session.transfer(processedFlowFilesList, REL_SUCCESS); session.transfer(invalidFlowFilesList, REL_FAILURE); } @Override public Set<Relationship> getRelationships() { return this.relationships; } @Override public final List<PropertyDescriptor> getSupportedPropertyDescriptors() { return descriptors; } private static void putAddressListInAttributes( Map<String, String> attributes, final String attributePrefix, Address[] addresses) { if (addresses != null) { for (int count = 0; count < ArrayUtils.getLength(addresses); count++) { attributes.put(attributePrefix + "." + count, addresses[count].toString()); } } } }
java
import * as React from 'react'; import { Data } from './types'; import { scaleLinear } from 'd3-scale'; import { slidingTimeWindowSec } from './utils'; const width = 400; const height = 200; const lineWidth = 2; type Props = { readonly data: Data[] } class CanvasTimeSeries extends React.Component<Props, {}> { private readonly canvasRef = React.createRef<HTMLCanvasElement>(); private readonly scaleY = scaleLinear() .domain([-1, 1]) .range([lineWidth, height - lineWidth]); public componentDidMount() { const canvas = this.canvasRef.current; if (canvas) { const context = canvas.getContext('2d')!; this.paint(context); } } public render() { return <canvas ref={this.canvasRef} width={width} height={height}/>; } private paint(ctx: CanvasRenderingContext2D) { const now = Date.now(); const scaleX = scaleLinear() .domain([now - slidingTimeWindowSec * 1000, now]) .range([0, width]); ctx.clearRect(0, 0, width, height); ctx.beginPath(); ctx.lineWidth = lineWidth; this.props.data.forEach(d => { const x = Math.floor(scaleX(d.timestamp)); const y = Math.floor(this.scaleY(d.value)); if ((x >= 0 && x < width) && (y >= 0 && y < height)) { ctx.lineTo(x, y); } }); ctx.stroke(); window.requestAnimationFrame(() => this.paint(ctx)); } } export default CanvasTimeSeries;
typescript
{ "name": "MGMPay", "version": "0.0.7", "summary": "MGMPay.", "description": "this is MGMPay", "homepage": "https://github.com/githubbiao/MGMPay.git", "license": { "type": "MIT", "file": "FILE_LICENSE" }, "authors": { "migu": "<EMAIL>" }, "platforms": { "ios": "8.0" }, "source": { "git": "https://github.com/githubbiao/MGMPay.git", "tag": "0.0.7" }, "source_files": "MGMPay/Source/**/*.{h,m}", "public_header_files": "MGMPay/Source/**/*.h", "requires_arc": true }
json
<reponame>mowcixo/ontimize-web-ngx-compiled<filename>lib/components/input/percent-input/o-percent-input.module.d.ts<gh_stars>0 export declare class OPercentInputModule { }
typescript
Former India batsman Sachin Tendulkar shared an interesting incident that involved himself along with fellow master batsman from his era Rahul Dravid and retired New Zealand all-rounder Chris Cairns. Tendulkar narrated the incident in an interview with ex-Australian cricketer Max Walker in Melbourne. According to the ‘Master Blaster’, him and Dravid were consistently getting beaten by Cairns’ reverse-swingers during the first Test between India and New Zealand at Mohali. India were in a precarious position during that time, getting bowled out for a paltry 83 in the first innings, before conceding a 132-run lead to the Kiwis. Tendulkar walked up to Dravid during one of the overs, and informed him that he would be holding the bat in the direction of the shiny side of the ball (which is the direction in which the ball would be swinging). So if the shiny side was to the left, Sachin would be holding the bat on the left side, and vice-versa. The move worked well as Dravid began to get the boundaries along. Tendulkar and Dravid went on to share a 229-run partnership for the third wicket, with both scoring their respective centuries. India reached a score of 505 for the loss of three wickets as the match headed for a draw.
english
In a case related to the 2002 post-Godhra train accident riots, the Supreme Court has Teesta Setalvad granted interim protection from arrest till further orders. Further hearing in the matter will be held on July 19. A bench of Justice BR Gavai, Justice AS Bopanna and Justice Dipankar Datta issued a notice to the Gujarat government on Setalvad’s petition challenging the Gujarat High Court order. The bench said, notice should be issued, on which reply should be given by July 19, 2023. Whatever documents the parties want to bring on record, after exchanging them with each other, they should be filed before July 15. The interim order will remain in force till further orders are given. The Gujarat High Court had ordered Sitwad to surrender immediately. Significantly, the Gujarat High Court had rejected Setalvad’s regular bail plea and directed him to surrender immediately in a case of alleged fabrication of evidence to implicate innocent people in the post-Godhra (Gujarat) riots cases. was instructed. It is known that in a special hearing held late night on July 1, the Supreme Court had given protection to Setalvad from arrest and stayed the order of the High Court for a week. The bench, in a late night hearing on July 1, questioned the denial of time to Setalvad to appeal against the High Court order and said that even an ordinary criminal is entitled to some interim relief.
english
The selectors have withdrawn spinner Shahbaz Nadeem and Rahul Chahar from the main squad and added them to the group of standby players meanwhile as expected Axar Patel is set to play in the second Test in Chennai. The development comes on the expected lines as Nadeem had an ordinary outing in the first Test match and it was expected that the youngster might face the axe. After the drubbing at the hands of England in the series opener in Chennai the home team will look to come back hard and draw level when the second match of the four-Test series starts at the same venue from the 13th of February. India have a few selection issues and a few dilemmas before taking the field on Saturday. Should they drop Shahbaz Nadeem who looked lacklustre in the first Test and draft in the fit again Axar Patel? Is there space for the Chinaman Kuldeep Yadav? What about Mohammed Siraj - the highest wicket-taker for India in Australia? Here are some of the key scenarios: Rohit Can Be Dropped? Not Happening! Rohit Sharma has now failed in four consecutive innings at home since making a magnificent debut at the top of the order for India in 2019. He could muster just 6 and 21 against Bangladesh in Indore and Kolkata in 2019 and scored 12 and 6 against England in Chennai. But Rohit is one of India’s best and the potential to do a Sehwag in conditions at home - score big runs at a very high strike rate - which not only demoralizes the bowling attack but also creates time for the Indian bowlers to bowl the opposition twice. Also, Rohit played a good hand opening the innings in tough conditions in Australia. There is some chatter about drafting in Mayank Agarwal. Not happening! Rahane Should Be Dropped. Again Not Happening! Ajinkya Rahane is the only batsman in the top 5 whose position should be under the scanner. Barring his splendid hundred at the MCG Rahane’s returns in Test cricket have been shockingly poor since 2020. From the tour to New Zealand till the end of the series opener against England in Chennai in 2021, Rahane has an aggregate of 360 runs in 7 Tests (14 innings) at an average of 27. 69 with just one hundred (MCG) and no fifty! If we remove the magnificent 112, Rahane has scored just 248 runs in the other 13 innings at a paltry average of 20. 67 with a highest score of 46. India play just 5 specialist batsmen at home and cannot afford to have their number 5 to have a prolonged period of poor returns no matter what he has achieved in the past. And there is a very talented batsman named KL Rahul in the squad warming the bench!
english
The surgical strikes indicated a threshold for Indian response. Kashmir, however, will continue to simmer. On 29 September 2016, Indian Army special forces struck militant positions “along” the Line of Control, in Pakistan-controlled Kashmir. The operations — described as “surgical strikes” in a joint Indian Ministry of External Affairs and Indian Ministry of Defence briefing — were an act of swift retaliation for a deadly attack just eleven days earlier on Indian security forces in Uri, in Kashmir’s Baramulla district, by heavily armed and well-trained attackers affiliated with Pakistan-based Jaish-e-Mohammed. The death toll in Uri was the Indian Army’s highest in decades and, in the aftermath of the Pathankot attack in January 2016 and the Gurdaspur attack in the summer of 2015, the Modi government was driven to respond. One year after India’s “surgical strikes,” what can be said about their long-term resonance and efficacy? First, at the onset of any reflection on these strikes, it’s worth noting that the precise details of what transpired operationally on 29 September along the Line of Control remain murky. Recent reporting, including insight from Lt. General (Retd) D. S. Hooda, has shed considerable detail on the Modi government’s deliberative process, but the tactical outcomes — including death tolls — remain unknown. Nitin A. Gokhale’s new book reports previously unknown details of the operations, including a considerable militant death toll in excess of 70 individuals. Nevertheless, in the immediate aftermath of the strikes, a paroxysm of excited commentary in India and fierce denial in Pakistan made separating the signal from the noise all the more challenging. Still, New Delhi’s decision to communicate the fact of the strikes as it did — with a carefully worded statement from its Director-General of Military Operations (DGMO) — appears now to have struck the right balance. Making clear that the strikes were pre-emptive in nature and based on “very credible and specific information”, the DGMO did not say anything that wouldn’t allow for Pakistan to stave off domestic escalatory pressure. Rawalpindi was able to deny the fact of the strikes — something that would have been infinitely more challenging had Indian government sources leaked video footage or images to the press. Finally, the Indian statement was careful in restricting its scope to the militants themselves, aside from a thinly veiled reference to “those who are trying to support them”. Second, contrary to one strain of analysis that loomed large in the immediate aftermath of the strikes themselves, the Modi government’s decision to apply Indian hard power across the Line of Control did not indicate an end to or modification of India’s posture of “strategic restraint” vis-a-vis Pakistan. Moreover, India’s strategic options against Pakistan more broadly were not recalibrated after the strikes. The joint MEA-MoD briefing last year sought to make this clear by noting the precise and proportional application of military force across the Line of Control; nothing about the strikes risked conventional military escalation. One year on, rather, the lesson of the events of 29 September 2016, should be that the Indian Army continues to have retaliatory space across the Line of Control — options that aren’t available to it across the international border with Pakistan, where the threat of military escalation is real and assured. Extending this further, the surgical strikes should not imply that Indian Army special operators can or should operate regularly across the Line of Control to engage the Pakistani military either pre-emptively or early in a conventional conflict. Third, as recent revelations have made clear, the decision to retaliate after Uri was a calculated risk that took the success of the June 2015 special forces operation across the border with Myanmar into account. During that raid, which was carried out in coordination with the Burmese government—an important difference with the September 2016 strikes—the Modi government not only discovered the deterrent value of retaliatory action, but the subsequent domestic political plaudits made proportional retaliation more likely against Pakistan-based militants as well. Finally, examining the situation along the Line of Control over the past year, it’s less clear now that the strikes succeeded in creating a deterrent effect. Uri, of course, was far from the last attack by armed infiltrators across the Line of Control; Indian security forces in Kashmir continue to face threats from militants backed by the Pakistani military. Of course, no respectable analysts ever claimed that one strike would fundamentally alter the strategic calculus of India’s adversaries in Kashmir, and that was for a good reason. The costs of brinksmanship and perpetual sub-conventional war in Kashmir remain tolerable for Pakistan’s military-intelligence complex. The September 2016 strikes, if anything, indicated a threshold for Indian response. In the meantime, Kashmir will continue to simmer. Also read: What did India’s surgical strike against terrorists in Pakistan achieve?
english
<reponame>rohansaini886/Peer-Programming-Hub-CP-Winter_Camp n=int(input());print(["YES","NO"][all(n%i for i in[4,7,47,477])])
python
package puzzle2.tester; import puzzle2.Utils; /** * Created by bharath on 5/8/17. */ public class TesterBasic extends Tester { public TesterBasic(TesterPolicy policy) { super(policy); } @Override public boolean canWork() { boolean canWork = super.canWork(); if (!deque.isEmpty()) { return canWork && Utils.durationInSecs(deque.peekLast(), policy.getTicker().read()) >= policy.getTimeToCompleteWorkInSecs(); } return canWork; } }
java
Virat Kohli: Virat Kohli hit two half-centuries in the series but his century drought has continued which is a very rare sight considering his phenomenal consistency in limited-overs cricket. Despite not getting the centuries, he hit 56 runs in the first ODI off just 60 balls which was crucial at the moment. He looked like he would get to his century in the second ODI, but perished after scoring 66 off 79 deliveries and luckily, he has been seeing the funny side of it. He was dismissed early for just 7 runs in the third ODI, but it is only a matter of time for the skipper to get back to his usual century mode but his contributions have been valuable in the two games.
english
package com.jdcloud.apigateway.signature; import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.nio.charset.Charset; import java.util.*; import javax.servlet.http.HttpServletRequest; import com.jdcloud.apigateway.signature.algorithm.ISignAlgorithm; import com.jdcloud.apigateway.signature.algorithm.ISignAlgorithm.ApiGatewayAlgorithm; import com.jdcloud.apigateway.signature.algorithm.ISignAlgorithm.StaticSignAlgorithm; import org.apache.commons.lang3.StringUtils; public class Signer { private ISignAlgorithm signAlgorithm; public Signer(ApiGatewayAlgorithm apiGatewayAlgorithm) { signAlgorithm = StaticSignAlgorithm.builder(apiGatewayAlgorithm); } public String sign(String secretKey, String host, String path, String httpMethod, Map<String, String> headers, String queryParameters, String body) { if (StringUtils.isBlank(secretKey) || StringUtils.isBlank(host) || StringUtils.isBlank(path) || StringUtils.isBlank(httpMethod) || headers == null || headers.size() == 0) { throw new RuntimeException("wrong paramters input"); } SignRequest signRequest = new SignRequest(); signRequest.setSecretKey(secretKey); signRequest.setHost(host); signRequest.setPath(path); signRequest.setHttpMethod(httpMethod); signRequest.setHeaders(headers); signRequest.setQueryParametersString(queryParameters); signRequest.setQueryParameters(buildQueryParameters(queryParameters)); signRequest.setBody(body); return signAlgorithm.doSign(signRequest); } public static void main(String[] args) { String secretKey = "secret key"; String host = "192.168.182.82:5888"; String uri = "/test/httpCode"; String method = "GET"; String queryString = "code=200"; String body = "this is body"; Map<String, String> headers = new HashMap<>(); headers.put("x-jdcloud-nonce", "1263de8a-9adf-4626-ade0-f25b608d3a55"); headers.put("x-jdcloud-date", "20181114T085919Z"); headers.put("authorization", "JDCLOUD2-HMAC-SHA256 Credential=<KEY>, SignedHeaders=content-type;x-jdcloud-date;x-jdcloud-nonce, Signature=9b085f63d7fd1583f4fe20356c5770da9dffb51ea66fcdbd45e8a0c8b0a7dbfa"); headers.put("content-type", "application/json"); Signer signer = new Signer(ApiGatewayAlgorithm.SHA256); String signature = signer.sign(secretKey, host, uri, method, headers, queryString, body); System.out.println(signature); } public boolean validate(HttpServletRequest request, String secretKey) { return validate(secretKey, getHost(request), getPath(request), getHttpMethod(request), getHeaders(request), getQueryParameters(request), getBody(request)); } private String getHost(HttpServletRequest request) { return request.getHeader("host"); } private String getPath(HttpServletRequest request) { return request.getRequestURI(); } private String getHttpMethod(HttpServletRequest request) { return request.getMethod(); } private Map<String, String> getHeaders(HttpServletRequest request) { Map<String, String> headers = new HashMap<>(); Enumeration<String> headerNames = request.getHeaderNames(); while (headerNames.hasMoreElements()) { String headerName = (String) headerNames.nextElement(); headers.put(headerName, request.getHeader(headerName)); } return headers; } private Map<String, String[]> getQueryParameters(HttpServletRequest request) { return request.getParameterMap(); } private String getBody(HttpServletRequest request) { StringBuilder sb = new StringBuilder(); InputStream inputStream = null; BufferedReader reader = null; try { inputStream = request.getInputStream(); reader = new BufferedReader(new InputStreamReader(inputStream, Charset.forName("UTF-8"))); String line = ""; while ((line = reader.readLine()) != null) { sb.append(line); } } catch (IOException e) { e.printStackTrace(); } finally { if (inputStream != null) { try { inputStream.close(); } catch (IOException e) { e.printStackTrace(); } } if (reader != null) { try { reader.close(); } catch (IOException e) { e.printStackTrace(); } } } return sb.toString(); } public boolean validate(String secretKey, String host, String path, String httpMethod, Map<String, String> headers, Map<String, String[]> queryParameters, String body) { if (StringUtils.isBlank(secretKey) || StringUtils.isBlank(host) || StringUtils.isBlank(path) || StringUtils.isBlank(httpMethod) || headers == null || headers.size() == 0) { throw new RuntimeException("wrong paramters input");// TODO } SignRequest signRequest = new SignRequest(); signRequest.setSecretKey(secretKey); signRequest.setHost(host); signRequest.setPath(path); signRequest.setHttpMethod(httpMethod); signRequest.setHeaders(headers); signRequest.setQueryParameters(buildQueryParameters(queryParameters)); signRequest.setBody(body); return signAlgorithm.doSign(signRequest).equals(signRequest.getSignature()); } private Map<String, List<String>> buildQueryParameters(String queryParameters) { Map<String, List<String>> queryParametersMaps = new HashMap<>(); if(StringUtils.isNotBlank(queryParameters)) { String[] params = queryParameters.split("&"); for (String param : params) { if (StringUtils.isBlank(param)) continue; String[] kv = param.split("="); if (kv.length != 2) throw new RuntimeException("wrong paramters input"); List<String> values = queryParametersMaps.get(kv[0]); if (values == null) values = new ArrayList<>(); values.add(kv[1]); queryParametersMaps.put(kv[0], values); } } return queryParametersMaps; } private Map<String, List<String>> buildQueryParameters(Map<String, String[]> queryParameters) { Map<String, List<String>> queryParametersMaps = new HashMap<>(); if(queryParameters != null && queryParameters.size() > 0) { for(Map.Entry<String, String[]> entry : queryParameters.entrySet()) { queryParametersMaps.put(entry.getKey(), Arrays.asList(entry.getValue())); } } return queryParametersMaps; } }
java
India's trade minister predicts a rise in agricultural exports in fiscal 2023/24 despite restrictions on wheat, rice, and sugar. The country, the world's second-largest producer of these commodities, restricted exports last year to control rising domestic prices. Despite these restrictions, India expects a $53 billion increase in agri exports this year. India needs to cut its reliance on imported vegetable oils to promote better health outcomes and reduce the import bill, according to a report by the Global Trade Research Initiative (GTRI). India is the world's largest importer of vegetable oils, with imports estimated to double to USD 20.8 billion in 2023-24. The US and EU currently support agriculture by using the latest technology, high tariffs, and massive subsidies to push exports. The Indian government has denied plans to impose a minimum export price (MEP) on all agricultural products, stating that it has no intention to review all agri products from an export perspective. An inter-ministerial committee has recently decided on basmati rice, but the committee's wider mandate does not mean it will recommend MEPs for each agri product. At present export of non-basmati rice is currently banned from India and India is also fighting at the WTO (World Trade Organisation) to protect subsidies to rice and wheat under a public stock holding programme. Moreover, overall exports face a shortfall of about $4-5 billion this year after India curbed exports of wheat, rice and sugar amid rising prices though the growth in exports of other farm commodities will offset the export deficit. The export of agri-commodities, including basmati rice, decreased to 17.93 lakh tonnes in September compared to 27.94 lakh tonnes in August, according to APEDA. Exports of farm items fell to nearly 18 lakh tonnes due to restrictions on rice varieties. The total export of agri-commodities in April-September was 172.27 lakh tonnes. "Both the sectors which we participate in, the agri segment and the construction segment, are showing fairly robust growth. In the agri segment, we did see a little bit of drop in volumes, especially because of the volatility which we saw in the last part of Q2, but that has stabilized. And the last few weeks, we have seen significant pickup in demand in agri. Construction segment has been showing robust growth." The Minimum Support Price (MSP) committee is expected to recommend that futures trading for agri-commodities should not be allowed below the MSP. The committee believes this will encourage more farmers to participate in trading platforms. Additionally, the committee may suggest smaller lot sizes for trading contracts. The committee also wants exchanges to collaborate with Primary Agricultural Credit Societies (PACS) to hedge trading risks and make it easier for farmers to benefit from trading. India has defended its export ban on rice, stating that it is a regulation rather than a restriction and is necessary for the food security of its 1.4 billion people. India reiterated its commitment to ensuring food security in importing countries through exemptions granted upon request. The government has allowed exports of non-basmati rice to Bhutan, UAE, Mauritius, and Singapore. The Indian government has announced plans to integrate 28 new wholesale mandis, or market yards, with the online trading platform eNAM. This will bring the total number of integrated mandis to 1,389. The Agriculture Secretary, Manoj Ahuja, highlighted the importance of providing key information to stakeholders in order to remove information asymmetry. He also emphasized the need to make the entire value chain more efficient and reduce wastage. The Indian government has launched the Unified Portal for Agri-Statistics (UPAg), a digital platform that aims to provide stakeholders with credible and standardized data for informed decision-making in the agriculture sector. The portal, developed by the Ministry of Agriculture, will address challenges related to data governance and offer features such as data standardization, analysis, granular production estimates, and commodity profile reports. "Majorly, prices of wheat and pulses may go up as a result of weak monsoon. On the vegetable side, since they are perishable items, supply will have to be strengthened amid high demand for essential vegetables to prevent prices from hitting the roof." The government's initiative ONDC is providing a huge platform for growth of four key sectors, including financial services, agriculture, manufacturing, and e-commerce retail, a Deloitte report said on Thursday. The Open Network for Digital Commerce (ONDC) is an initiative of the commerce and industry ministry to create a facilitative model to help small retailers take advantage of digital commerce. It was the removal of tomato from burgers in some restaurants by McDonald's which brought back focus on inflation in some agricultural products and their impact on QSR space. While some of the agri commodities are still high, will the festive season demand give the power to these companies to pass it on to consumers will be the key to watch. Gold prices on MCX dipped for the second consecutive day as lower demand and uncertainty regarding the US debt ceiling crisis impacted the precious metal's prospects. The June gold futures traded at Rs 59,893 per 10 grams on the MCX and was down by 0.58% from Monday's closing price. Meanwhile, the July silver futures traded at Rs 72,235 per kg, losing 0.68% at 11 am. The prices for gold in Delhi stood at around Rs 61,500 per 10 grams. Additionally, investment demand for gold continues to slide. Gold futures rose on MCX, driven by a weaker US dollar and ahead of this week's US inflation data. June gold futures were up Rs 198 ($2.64), or 0.33%, at Rs 60,826 ($808.55) per 10 grams at midday, with silver futures for July trading at Rs 77,172 per kg, up Rs 125, or 0.16%. Domestic bullion prices are expected to be influenced by international events this week, including US inflation, consumer sentiment and UK monetary policy. Gold has support at Rs 60,000 and July futures for silver have support at Rs 74,000. Gold and silver futures rose to lifetime highs as the US Federal Reserve hinted at a rate pause after Wednesday's commentary. Silver futures hit a new high of INR78,791 ($1,074) per kg, while gold futures touched another new peak of INR61,845 per 10 grams. Praveen Singh, associate VP of fundamental currencies and commodities at Sharekhan by BNP Paribas, explained that the markets were a "bit buffeted by risk aversion amid a rout in regional US bank shares". Gold futures have gained 11.88% or INR6,528 on a YTD basis, while silver futures are up 12.54% or INR8,700 over the same period. Gold futures on MCX reached an all-time high of Rs 61,490 per 10 grams, boosted by a drop in dollar following the US Federal Reserve's statement that hinted at a halt in interest rate increases. International gold prices also reached an all-time high of $2,081.80 per troy ounce. Experts predict high volatility ahead of the European Central Bank's monetary policy decision and also Friday's non-farm payroll report. The June gold futures ended at Rs 60,296 per 10 grams on Wednesday, down Rs 192 or 0.32%. The prices slipped below the Rs 60,000 mark intraday before settling above the psychologically important level. Meanwhile, May silver futures closed at Rs 75,520, higher by Rs 271 or 0.36%. Gold prices rose as the US dollar index fell below 102, amid concerns of high inflation and the banking crisis in the economy. Gold futures rose 0.44% to INR60,693 ($798) per 10 grams on MCX, whilst silver futures increased 0.31% to INR76,150. Prathamesh Mallya, Assistant Vice President - Research, Non-Agri Commodities and Currencies at Angel One, predicts gold prices will rise towards INR61,020. Praveen Singh, AVP Fundamental Currencies and Commodities Analyst at Sharekhan by BNP Paribas, saw support for gold at $1,975-$2,000, with resistance at $2,032-$2,050. Gold prices have corrected by over 2% or Rs 1,150 from all-time high levels as of Monday's close. The all-time high of MCX gold futures stands at Rs 61,181 per 10 grams. Meanwhile, silver futures last week hit their highest level (Rs 75,175 ) in 32 months on an intraday basis. Price formed a peak in January 2022 and has been forming lower highs thereafter However, the level of 6500 has acted as strong support and the price has bounced off it twice in as many years. Price has formed a lower high and is now testing the support from a trendline. From September to November of 2022 price was seen consolidating in the 26900-23200 range. A trendline resistance was breached in December which indicated a breakout from the consolidation. Since then, the price has risen vertically to scale highs of 35620. Price has given a whopping 45% return since the breakout. Such a rally rarely sustains the upside. In the feed grains segment, maize is the largest crop in India. India’s maize production for the kharif crop of 2022-23 declined by 2.1% year-on-year to 21.31 million MT from the previous year production of 21.95 million MT. To curb inflation, the Securities and Exchange Board of India (Sebi) on December 2021 prohibited exchanges from launching new derivative contracts of Soyabean, mustard seeds, channa, wheat, paddy, moong and crude palm oil. These directions were applicable for one year. US Central bank continued with mega-size rate hikes and gave the message they would do everything to bring the inflation down to within their comfort zone of 2 per cent, even if it leads to a path of a painful recession.
english
The Brihanmumbai Municipal Corporation (BMC) will start launching the girders of the much-anticipated Vidyavihar Railway Over Bridge (ROB) that will pass over the Central line railway tracks during the intervening night of Saturday (May 27) and Sunday (May 28). Owing to the mega block expected due to the work, a few long-distance trains will be running late by 20-30 minutes. The project has been in the pipeline for seven years, since it was officially approved back in 2016 and the work orders were issued in 2018. The current cost of the bridge has been pegged at Rs 178 crore. This ROB will ease the traffic flow between Ghatkopar and Vidyavihar in the eastern suburbs and will provide direct connectivity between Lal Bahadur Shastri Marg (LBS) and Ramkrishna Chemburkar Marg. According to civic officials, the work will begin at 1. 20 am during the intervening night of Saturday and Sunday and is expected to be completed at 4. 20 am. During this period there will be a mega block in the Central line. Bhubaneswar-CSMT Konark Express, Shalimar-LTT Express, and Howrah-CSMT Mail will be short terminated at Thane and Dadar stations due to the block. “One of the key features of this bridge is that the open-web girder that we are going to launch is 99. 34 metres long, making it the longest girder that has been laid over the railway tracks in India. The girder is being constructed with steel and will be laid in a way that there is no external support in between. The approximate weight of the girder is around 1,000 MT,” said an official. The ROB will be 480 metres long and will have two carriageways for vehicular movement as well as footpaths for pedestrians.
english
In line with the state government's vision to make Assam a pollution-free state, Assam Chief Minister Sarbananda Sonowal flagged off 15 electric buses which were introduced under Assam State Transport Corporation in the city. The new buses procured under 'Faster Adoption and Manufacturing of Electric Vehicles' (FAME-1) and introduced as a pilot project will ply from Panbazar to Kamakhya Temple in Guwahati, officials said. "Following the vision of Prime Minister Narendra Modi, Assam government is moving forward to make Assam a pollution-free state," said Sonowal while speaking on the occasion. He said that depending on the success of this pilot project, the government will introduce electric bus services across the state in phases. Stating that the state government is working to transform Guwahati as the gateway to the South-East Asian countries, the Chief Minister said that such a vision to materialise requires a great deal of support from all sections of society. The Chief Minister said that the introduction of the electric vehicles is a small step towards achieving the government's goal of making Assam a pollution-free state and there is a lot to be done in future. He asserted that following Sarkardeva's values people need to work for the conservation of nature through aforestation initiatives. Sonowal stressed on extensive plantation and taking adequate care for each and every sapling planted which will, in turn, help the humankind and wildlife. Minister of Transport Chandra Mohan Patowary while speaking on the occasion said that people of the state must put united efforts to make Assam a pollution-free state. He said that with the introduction of 15 electric buses in Guwahati, the state government laid the foundation for an emission-free transport system in the state. He further said that the government of India launched the FAME scheme last year and Assam was one of the first five states to apply and implement this scheme by procuring these 15 electric buses. He also informed that these buses will have all the modern amenities, security features and most importantly will not release any harmful gas. The Transport Minister also said that his department will soon ink an MoU with a Hungary based company for setting up of an electric bus manufacturing unit in Assam. The state government is likely to introduce 100 additional electric buses under FAME-2 for which necessary process has been started. Out of these buses, 50 buses will ply in Guwahati, 25 each will be pressed into service at Jorhat and Silchar. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - IANS)
english
<filename>static/d/2501019404.json {"data":{"site":{"siteMetadata":{"defaultTitle":"ISE2012: Industrial Programming (산업시스템프로그래밍)s","siteTitleShort":"ISE2012","siteTitle":"ISE2012: Industrial Programming (산업시스템프로그래밍)","siteImage":"/logo.jpg","siteDescription":"Fall 2020 - ISE2012: Industrial Programming (산업시스템프로그래밍)","siteLanguage":"en","siteUrl":"https://justudin.github.io","siteAuthor":"@rocketseat"}}}}
json
Puthoor: The Kerala State Road Transport Corporation has introduced a vestibule bus service in the Thiruvananthapuram-Kottarakkara route. A vestibule bus is an extended bus linking together two sections with pivoting joints for higher passenger capacity, providing it the look of a mini train. Similar to a train, it also has an interconnecting passageway that helps passengers move from one compartment to another. Currently, this is the only vestibule bus in service in Kerala. Starting its service from the Peroorkada depot, the bus comes to Thampanoor before reaching Kottarakkara. At 5:30am and 2pm, the bus has services from Thampanoor to Kottarakkara and on its return leg, leaves at 8am and 5pm. The fare is same as a fast passenger, with a Thampanoor-Kottarakkara ticket being charged Rs 78. The service commenced from September 14. The current route is chosen on an experimental basis, according authorities. Since the coronavirus pandemic is still raging, the earnings from the bus are not on the expected lines, they said. They believe that once pandemic subsides, the earrings will increase. The bus has a seating capacity of 60, including that of the conductor. The drivers have been given special training to control the long bus. The vestibule bus service was first launched in the state in 2011 at Peroorkada. It came as a successor of double-decker buses.
english
<gh_stars>0 /* * [15] 3Sum * * https://leetcode.com/problems/3sum/description/ * * algorithms * Medium (21.79%) * Total Accepted: 314.7K * Total Submissions: 1.4M * Testcase Example: '[-1,0,1,2,-1,-4]' * * Given an array S of n integers, are there elements a, b, c in S such that a * + b + c = 0? Find all unique triplets in the array which gives the sum of * zero. * * Note: The solution set must not contain duplicate triplets. * * * For example, given array S = [-1, 0, 1, 2, -1, -4], * * A solution set is: * [ * ⁠ [-1, 0, 1], * ⁠ [-1, -1, 2] * ] * */ #include <iostream> #include <vector> #include <algorithm> using namespace std; static int x = []() { std::ios::sync_with_stdio(false); cin.tie(NULL); return 0; }(); class Solution { public: vector<vector<int>> threeSum(vector<int> &nums) { vector<vector<int>> set; sort(nums.begin(), nums.end()); int len = nums.size(); for (int i = 0; i < len - 2; ++i) { int j = i + 1, k = len - 1; while (j < k) { int sum = nums[i] + nums[j] + nums[k]; if (sum == 0) { set.push_back({nums[i], nums[j], nums[k]}); ++j; --k; while (j < k && nums[j] == nums[j - 1]) { ++j; } while (j < k && nums[k] == nums[k + 1]) { --k; } } else if (sum < 0) { ++j; } else { --k; } while (i < len - 2 && nums[i + 1] == nums[i]) i++; } } return set; } };
cpp
<filename>_posts/2018-4-1-web-css3-6.md --- layout: post title: 웹 CSS3 실습해보기 6 --- 오늘도 CSS의 고급 활용에서 애니메이션에 대하여 해보려 합니다. ## 동적 변화 CSS3로만으로도 HTML tag 모양의 동적 변화를 가능하게 할 수 있습니다. * 애니메이션 * 전환 * 변환 ## 애니메이션 HTML tag의 모양 변화를 시간 단위로 설정하여 animation 효과를 만들 수 있습니다. 1. @keyframes으로 HTML tag의 시간별 모양 변화 모델을 만듭니다. 1. animation 관련 속성으로 스타일을 작성합니다. 즉, ```css @keyframes text-Ani { 0% { color : blue; } 50% { color : yellow; } 100% { color : red; } } ``` 이렇게 시간대의 변화를 퍼센트로 나타내며 작성하면 ```css span { animation-name : text-Ani; animation-duration : 10s; } ``` 위와 같이 해당 태그에 작성합니다. ```css span { animation-name : text-Ani; animation-duration : 10s; animation-iteration-count : infinite; } ``` infinite 값을 부여하면 무한 반복됩니다. ## 전환 HTML tag에 적용된 CSS3 속성 값의 변화를 서서히 진행시켜 애니메이션 효과를 생성시키는 것을 전환이라고 합니다. ```css span { transition : font-size 10s; } ``` 이런식으로 미리 transition 속성을 줘야 합니다. ## 변환 텍스트나 이미지를 회전, 확대하거나 다양한 모양으로 출력되게 할 수 있습니다. 주로 회전 각도의 단위는 deg이며, 시계방향으로 회전합니다. 예를 들어서, ```css div { transform : rotate(10deg); } ``` 위와 같이 작성하면 우측으로 10도 기울어진 상태로 나옵니다. 크기를 확대하려면 scale을 이용합니다. ```css div { transform : scale(10,5); } ``` 위와 같이 작성하면 x축으로 10배, y축으로 5배 길이가 증가합니다.
markdown
{"word":"arboreous","definition":"1. Having the form, constitution, or habits, of a proper tree, in distinction from a shrub. Loudon. 2. Pertaining to, or growing on, trees; as, arboreous moss. Quincy."}
json
Chastity in Gujarati: What's Gujarati for chastity? If you want to know how to say chastity in Gujarati, you will find the translation here. You can also listen to audio pronunciation to learn how to pronounce chastity in Gujarati and how to read it. We hope this will help you to understand Gujarati better. "Chastity in Gujarati." In Different Languages, https://www.indifferentlanguages.com/words/chastity/gujarati. Accessed 07 Oct 2023. Check out other translations to the Gujarati language:
english
import BigNumber from 'bignumber.js'; import { Operation } from '../Types/Operation'; import { ITransactionRequestPending, GasPriceUtil } from '@ethereum-alarm-clock/lib'; import { ITxPool, ITxPoolTxDetails } from '../TxPool/ITxPool'; interface PendingOpts { type: Operation; checkGasPrice: boolean; minPrice?: BigNumber; } const NETWORK_GAS_PRICE_RATIO = 0.3; export class Pending { private gasPriceUtil: GasPriceUtil; private txPool: ITxPool; constructor(gasPriceUtil: GasPriceUtil, txPool: ITxPool) { this.gasPriceUtil = gasPriceUtil; this.txPool = txPool; } /** * * * @param {ITransactionRequestPending} txRequest Transaction Request object to check. * @param {PendingOpts} opts Options for pending check * @returns {Promise<boolean>} True if a pending transaction to this address exists. * @memberof Pending */ public async hasPending( txRequest: ITransactionRequestPending, opts: PendingOpts ): Promise<boolean> { return this.txPool.running() ? this.hasPendingPool(txRequest, opts) : false; } private async hasPendingPool( txRequest: ITransactionRequestPending, opts: PendingOpts ): Promise<boolean> { const currentGasPrice = await this.gasPriceUtil.networkGasPrice(); return Array.from(this.txPool.pool.values()).some(poolTx => { const hasCorrectAddress = poolTx.to === txRequest.address; const withValidGasPrice = !opts.checkGasPrice || this.hasValidGasPrice(currentGasPrice, poolTx, opts.minPrice); const hasCorrectOperation = poolTx.operation === opts.type; return hasCorrectAddress && withValidGasPrice && hasCorrectOperation; }); } private hasValidGasPrice( networkPrice: BigNumber, transaction: ITxPoolTxDetails, minPrice?: BigNumber ) { const hasMinPrice: boolean = !minPrice || minPrice.lte(transaction.gasPrice); return ( hasMinPrice && networkPrice && networkPrice.times(NETWORK_GAS_PRICE_RATIO).lte(transaction.gasPrice.valueOf()) ); } }
typescript
<reponame>xie-wenjie/AndroidBaseApplicationSourse /* * Copyright (C) 2007 The Android Open Source Project * * 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 com.android.stk; import android.app.ListActivity; import android.content.Context; import android.content.Intent; import android.os.Bundle; import android.os.Handler; import android.os.Message; import android.view.KeyEvent; import android.view.MenuItem; import android.view.View; import android.view.Window; import android.widget.ImageView; import android.widget.ListView; import android.widget.ProgressBar; import android.widget.TextView; import com.android.internal.telephony.gsm.stk.Item; import com.android.internal.telephony.gsm.stk.Menu; import com.android.internal.telephony.gsm.stk.StkLog; /** * ListActivity used for displaying STK menus. These can be SET UP MENU and * SELECT ITEM menus. This activity is started multiple times with different * menu content. * */ public class StkMenuActivity extends ListActivity { private Context mContext; private Menu mStkMenu = null; private int mState = STATE_MAIN; private boolean mAcceptUsersInput = true; private TextView mTitleTextView = null; private ImageView mTitleIconView = null; private ProgressBar mProgressView = null; StkAppService appService = StkAppService.getInstance(); // Internal state values static final int STATE_MAIN = 1; static final int STATE_SECONDARY = 2; // message id for time out private static final int MSG_ID_TIMEOUT = 1; Handler mTimeoutHandler = new Handler() { @Override public void handleMessage(Message msg) { switch(msg.what) { case MSG_ID_TIMEOUT: mAcceptUsersInput = false; sendResponse(StkAppService.RES_ID_TIMEOUT); break; } } }; @Override public void onCreate(Bundle icicle) { super.onCreate(icicle); StkLog.d(this, "onCreate"); // Remove the default title, customized one is used. requestWindowFeature(Window.FEATURE_NO_TITLE); // Set the layout for this activity. setContentView(R.layout.stk_menu_list); mTitleTextView = (TextView) findViewById(R.id.title_text); mTitleIconView = (ImageView) findViewById(R.id.title_icon); mProgressView = (ProgressBar) findViewById(R.id.progress_bar); mContext = getBaseContext(); initFromIntent(getIntent()); mAcceptUsersInput = true; } @Override protected void onNewIntent(Intent intent) { super.onNewIntent(intent); StkLog.d(this, "onNewIntent"); initFromIntent(intent); mAcceptUsersInput = true; } @Override protected void onListItemClick(ListView l, View v, int position, long id) { super.onListItemClick(l, v, position, id); if (!mAcceptUsersInput) { return; } Item item = getSelectedItem(position); if (item == null) { return; } sendResponse(StkAppService.RES_ID_MENU_SELECTION, item.id, false); mAcceptUsersInput = false; mProgressView.setVisibility(View.VISIBLE); mProgressView.setIndeterminate(true); } @Override public boolean onKeyDown(int keyCode, KeyEvent event) { if (!mAcceptUsersInput) { return true; } switch (keyCode) { case KeyEvent.KEYCODE_BACK: switch (mState) { case STATE_SECONDARY: cancelTimeOut(); mAcceptUsersInput = false; sendResponse(StkAppService.RES_ID_BACKWARD); return true; case STATE_MAIN: break; } break; } return super.onKeyDown(keyCode, event); } @Override public void onResume() { super.onResume(); appService.indicateMenuVisibility(true); mStkMenu = appService.getMenu(); if (mStkMenu == null) { finish(); return; } displayMenu(); startTimeOut(); // whenever this activity is resumed after a sub activity was invoked // (Browser, In call screen) switch back to main state and enable // user's input; if (!mAcceptUsersInput) { mState = STATE_MAIN; mAcceptUsersInput = true; } // make sure the progress bar is not shown. mProgressView.setIndeterminate(false); mProgressView.setVisibility(View.GONE); } @Override public void onPause() { super.onPause(); appService.indicateMenuVisibility(false); cancelTimeOut(); } @Override public void onDestroy() { super.onDestroy(); StkLog.d(this, "onDestroy"); } @Override public boolean onCreateOptionsMenu(android.view.Menu menu) { super.onCreateOptionsMenu(menu); menu.add(0, StkApp.MENU_ID_END_SESSION, 1, R.string.menu_end_session); menu.add(0, StkApp.MENU_ID_HELP, 2, R.string.help); return true; } @Override public boolean onPrepareOptionsMenu(android.view.Menu menu) { super.onPrepareOptionsMenu(menu); boolean helpVisible = false; boolean mainVisible = false; if (mState == STATE_SECONDARY) { mainVisible = true; } if (mStkMenu != null) { helpVisible = mStkMenu.helpAvailable; } menu.findItem(StkApp.MENU_ID_END_SESSION).setVisible(mainVisible); menu.findItem(StkApp.MENU_ID_HELP).setVisible(helpVisible); return true; } @Override public boolean onOptionsItemSelected(MenuItem item) { if (!mAcceptUsersInput) { return true; } switch (item.getItemId()) { case StkApp.MENU_ID_END_SESSION: cancelTimeOut(); mAcceptUsersInput = false; // send session end response. sendResponse(StkAppService.RES_ID_END_SESSION); return true; case StkApp.MENU_ID_HELP: cancelTimeOut(); mAcceptUsersInput = false; int position = getSelectedItemPosition(); Item stkItem = getSelectedItem(position); if (stkItem == null) { break; } // send help needed response. sendResponse(StkAppService.RES_ID_MENU_SELECTION, stkItem.id, true); return true; } return super.onOptionsItemSelected(item); } @Override protected void onSaveInstanceState(Bundle outState) { outState.putInt("STATE", mState); outState.putParcelable("MENU", mStkMenu); } @Override protected void onRestoreInstanceState(Bundle savedInstanceState) { mState = savedInstanceState.getInt("STATE"); mStkMenu = savedInstanceState.getParcelable("MENU"); } private void cancelTimeOut() { mTimeoutHandler.removeMessages(MSG_ID_TIMEOUT); } private void startTimeOut() { if (mState == STATE_SECONDARY) { // Reset timeout. cancelTimeOut(); mTimeoutHandler.sendMessageDelayed(mTimeoutHandler .obtainMessage(MSG_ID_TIMEOUT), StkApp.UI_TIMEOUT); } } // Bind list adapter to the items list. private void displayMenu() { if (mStkMenu != null) { // Display title & title icon if (mStkMenu.titleIcon != null) { mTitleIconView.setImageBitmap(mStkMenu.titleIcon); mTitleIconView.setVisibility(View.VISIBLE); } else { mTitleIconView.setVisibility(View.GONE); } if (!mStkMenu.titleIconSelfExplanatory) { mTitleTextView.setVisibility(View.VISIBLE); if (mStkMenu.title == null) { mTitleTextView.setText(R.string.app_name); } else { mTitleTextView.setText(mStkMenu.title); } } else { mTitleTextView.setVisibility(View.INVISIBLE); } // create an array adapter for the menu list StkMenuAdapter adapter = new StkMenuAdapter(this, mStkMenu.items, mStkMenu.itemsIconSelfExplanatory); // Bind menu list to the new adapter. setListAdapter(adapter); // Set default item setSelection(mStkMenu.defaultItem); } } private void initFromIntent(Intent intent) { if (intent != null) { mState = intent.getIntExtra("STATE", STATE_MAIN); } else { finish(); } } private Item getSelectedItem(int position) { Item item = null; if (mStkMenu != null) { try { item = mStkMenu.items.get(position); } catch (IndexOutOfBoundsException e) { if (StkApp.DBG) { StkLog.d(this, "Invalid menu"); } } catch (NullPointerException e) { if (StkApp.DBG) { StkLog.d(this, "Invalid menu"); } } } return item; } private void sendResponse(int resId) { sendResponse(resId, 0, false); } private void sendResponse(int resId, int itemId, boolean help) { Bundle args = new Bundle(); args.putInt(StkAppService.OPCODE, StkAppService.OP_RESPONSE); args.putInt(StkAppService.RES_ID, resId); args.putInt(StkAppService.MENU_SELECTION, itemId); args.putBoolean(StkAppService.HELP, help); mContext.startService(new Intent(mContext, StkAppService.class) .putExtras(args)); } }
java
<reponame>NX1125/minesweeper<gh_stars>0 import React from "react"; import { IMine, Marker } from "../model"; import css from './Mine.module.scss' const debuggingWithHoverEnabled = false; export const Mine: React.FC<IMine> = props => { if (props.revealed) { if (props.isBomb) { return ( <i className="bi bi-star"/> ) } if (props.surrounding > 0) { return ( <span>{props.surrounding}</span> ) } return <span/> } switch (props.marker) { case Marker.FLAG: return ( <i className="bi bi-flag"/> ) case Marker.UNSURE: return ( <span>?</span> ) default: if (debuggingWithHoverEnabled) { const text = props.isBomb ? ( <i className="bi bi-star"/> ) : props.surrounding; return ( <span className={css.DebugMineText}> {text} </span> ) } return <span/> } }
typescript
<reponame>vlomonaco/crlmaze #!/usr/bin/env python # -*- coding: utf-8 -*- ################################################################################ # Copyright (c) 2019. <NAME>, <NAME>, <NAME>, # # <NAME>. All rights reserved. # # See the accompanying LICENSE file for terms. # # # # Date: 27-05-2019 # # Authors: <NAME>, <NAME>, <NAME>, <NAME> # # E-mail: <EMAIL> # # Website: vincenzolomonaco.com # ################################################################################ import random from collections import namedtuple import torch import torch.nn.functional as F from torch import nn from aac_base import AACBase import cuda from builtins import * class BaseModel(AACBase): def __init__(self, cfg): super().__init__(cfg) self.screen_feature_num = 128 self.conv1 = nn.Conv2d(in_channels=cfg['screen_size'][0] * cfg['frame_num'], out_channels=32, kernel_size=(3, 3), stride=(2, 2)) self.conv2 = nn.Conv2d(in_channels=32, out_channels=32, kernel_size=(3, 3), stride=(2, 2)) self.conv3 = nn.Conv2d(in_channels=32, out_channels=32, kernel_size=(3, 3), stride=(1, 1)) self.screen_features1 = nn.Linear(32 * 27 * 37, self.screen_feature_num) self.batch_norm = nn.BatchNorm1d(self.screen_feature_num) layer1_size = 128 self.action1 = nn.Linear(self.screen_feature_num, layer1_size) self.action2 = nn.Linear(layer1_size + cfg['variable_num'], cfg['button_num']) self.batch_norm_action = nn.BatchNorm1d(layer1_size + cfg['variable_num']) self.value1 = nn.Linear(self.screen_feature_num, layer1_size) self.value2 = nn.Linear(layer1_size + cfg['variable_num'], 1) self.batch_norm_value = nn.BatchNorm1d(layer1_size + cfg['variable_num']) self.screens = None self.frame_num = cfg['frame_num'] def forward(self, screen, variables): # cnn screen_features = F.max_pool2d(screen, kernel_size=(2, 2), stride=(2, 2)) screen_features = F.selu(self.conv1(screen_features)) screen_features = F.selu(self.conv2(screen_features)) screen_features = F.selu(self.conv3(screen_features)) screen_features = screen_features.view(screen_features.size(0), -1) # features input = self.screen_features1(screen_features) input = self.batch_norm(input) input = F.selu(input) # action action = F.selu(self.action1(input)) action = torch.cat([action, variables], 1) action = self.batch_norm_action(action) action = self.action2(action) return action, input def transform_input(self, screen, variables): screen_batch = [] if self.frame_num > 1: if self.screens is None: self.screens = [[]] * len(screen) for idx, screens in enumerate(self.screens): if len(screens) >= self.frame_num: screens.pop(0) screens.append(screen[idx]) if len(screens) == 1: for i in range(self.frame_num - 1): screens.append(screen[idx]) screen_batch.append(torch.cat(screens, 0)) screen = torch.stack(screen_batch) screen = cuda.Variable(screen, volatile=not self.training) variables = cuda.Variable(variables / 100, volatile=not self.training) return screen, variables def set_terminal(self, terminal): if self.screens is not None: indexes = torch.nonzero(terminal == 0).squeeze() for idx in range(len(indexes)): self.screens[indexes[idx]] = [] ModelOutput = namedtuple('ModelOutput', ['log_action', 'value']) class AdvantageActorCriticMap(BaseModel): def __init__(self, cfg): super().__init__(cfg) if cfg['base_model'] is not None: # load weights from the base model base_model = torch.load(cfg['base_model']) self.load_state_dict(base_model.state_dict()) del base_model if cuda.USE_CUDA: super().cuda() self.discount = cfg['episode_discount'] self.outputs = [] self.rewards = [] self.discounts = [] def reset(self): self.outputs = [] self.rewards = [] self.discounts = [] def forward(self, screen, variables): action_prob, input = super().forward(screen, variables) if not self.training: _, action = action_prob.max(1, keepdim=True) return action, None # greedy actions if random.random() < 0.1: action = torch.LongTensor(action_prob.size(0), 1).random_(0, action_prob.size(1)) action = cuda.Variable(action) if cuda.USE_CUDA: action = action.cuda() else: _, action = action_prob.max(1, keepdim=True) # value prediction - critic value = F.selu(self.value1(input)) value = torch.cat([value, variables], 1) value = self.batch_norm_value(value) value = self.value2(value) # save output for backpro action_prob = F.log_softmax(action_prob, dim=1) self.outputs.append(ModelOutput(action_prob.gather(-1, action), value)) return action, value def get_action(self, state): action, _ = self.forward(*self.transform_input(state.screen, state.variables)) return action.data def set_reward(self, reward): self.rewards.append(reward * 0.01) # no clone() b/c of * 0.01 def set_terminal(self, terminal): super().set_terminal(terminal) self.discounts.append(self.discount * terminal) def backward(self): # calculate step returns in reverse order rewards = self.rewards rew = torch.stack(self.rewards, dim=0) returns = torch.Tensor(len(rewards) - 1, *self.outputs[-1].value.data.size()) step_return = self.outputs[-1].value.data.cpu() for i in range(len(rewards) - 2, -1, -1): step_return.mul_(self.discounts[i]).add_(rewards[i]) returns[i] = step_return if cuda.USE_CUDA: returns = returns.cuda() # calculate losses policy_loss = 0 value_loss = 0 steps = len(self.outputs) - 1 for i in range(steps): advantage = cuda.Variable(returns[i] - self.outputs[i].value.data) policy_loss += -self.outputs[i].log_action * advantage value_loss += F.smooth_l1_loss(self.outputs[i].value, cuda.Variable(returns[i])) weights_l2 = 0 for param in self.parameters(): weights_l2 += param.norm(2) loss = policy_loss.mean() / steps + value_loss / steps + 0.00001 * weights_l2 ewc = self.ewc_reg.regularize(self.named_parameters()) if cuda.USE_CUDA: ewc = ewc.cuda() loss = loss + ewc loss.backward() # reset state self.reset() # episode average reward, rew size: [40x20x1] ep_rew = torch.mean(torch.sum(rew, dim=0)) * 100 return ep_rew, loss.data[0], ewc.data[0]
python
package queue import ( "sync" "time" "github.com/sirupsen/logrus" ) type DelayQueue struct { delay time.Duration l []interface{} mu *sync.Mutex tr *time.Timer } func NewDelayQueue(delay time.Duration) *DelayQueue { return &DelayQueue{ delay: delay, l: []interface{}{}, mu: &sync.Mutex{}, tr: time.NewTimer(24 * time.Hour), } } func (q *DelayQueue) Push(v interface{}) { q.mu.Lock() q.l = append(q.l, v) q.mu.Unlock() } func (q *DelayQueue) Pop() []interface{} { q.tr.Reset(q.delay) <-q.tr.C l := []interface{}{} q.mu.Lock() for _, v := range q.l { l = append(l, v) } q.l = q.l[0:0] q.mu.Unlock() if len(l) > 0 { logrus.WithFields(logrus.Fields{ "length": len(l), }).Debug("pop delay queue") } return l }
go
The debate whether dairy should be a part of one’s diet has been going on for a while. A lot of people talk about how cutting off dairy completely can cause significant improvement in health. But, is this a myth or a reality? Nutritionist Rujuta Diwekar weighed in on whether this is a wise thing to do. She said in a reel, “No. Not necessarily”, alluding to the various concerns people have when it comes to consuming dairy, specifically health and environmental concerns. “Dairy, milk and milk products remain one of the most nutritious foods that one can add to their diet to ensure adequate supply of nutrients and good diversity of gut bacteria,” she said, adding that there are a lot of cultures that have been having milk and milk products since forever. The expert also urged people to not have milk if they don’t like it or cannot digest it. But, to not switch to different industrialised milks, for it is regular milk and milk products that ensure good gut health. She concluded by saying that if one has PCOS or thyroid, or are pregnant, lactating, they can still continue having dairy and not cut it off totally. Check out her reel here: Dietician Garima Goyal shared her thoughts, too, urging that milk is a nutritious and wholesome food packed with proteins, vitamins and important minerals like calcium. “When we talk about skipping milk and its products, we are cutting off an entire food group from our diet. But the argument of whether to skip dairy completely or not is not as straightforward as it sounds. She said before making a choice to skip dairy it is important to understand your reason for skipping. If your concern is about industrial milk then, locally grown, desi cow’s milk is a much safer option as they are devoid of synthetic hormones and inflammatory proteins. This way, you could also help local farmers from getting bull-dozed by giant industries. If your reasons are intolerance or not liking, then you may very well skip the milk. For more lifestyle news, follow us on Instagram | Twitter | Facebook and don’t miss out on the latest updates!
english
{ "variants": { "": { "model": "rechiseled_compat:block/quark_orange_stained_planks_bricks" } } }
json
/* Document */ import Heml from './Heml' import Head from './Head' import Body from './Body' /* Meta */ import Meta from './Meta' import Subject from './Subject' import Preview from './Preview' import Base from './Base' import Font from './Font' import Style from './Style' /* Table */ import { Table, Tr, Td } from './Table' /* Grid */ import Block from './Block' import Container from './Container' import Row from './Row' import Column from './Column' /* Content */ import { H1, H2, H3, H4, H5, H6, P, Ol, Ul, Li, A } from './Typography' import Hr from './Hr' import Button from './Button' import Img from './Img' export { /* Document */ Heml, Head, Body, /* Meta */ Meta, Subject, Preview, Base, Font, Style, /* Table */ Table, Tr, Td, /* Grid */ Block, Container, Row, Column, /* Content */ H1, H2, H3, H4, H5, H6, P, Ol, Ul, Li, A, Hr, Button, Img }
javascript
program of EPFO at Delhi (South)Regional Office, Dwarka. their grievances but also inviting their suggestions and views. services to the citizen on 24X7 basis harnessing the latest IT tools. members and employers to contribute to the better functioning of the organization. made available on EPFO website. outreach programme to reach out to all its stakeholders including employers. their grievances but also to put forth their constructive suggestions. Also, successfully resolved during the programme.
english
Dasara, starring Natural Star Nani and National Award-winning actress Keerthy Suresh, emerged as one of the super hit movies of 2023. Directed by a debutant, the movie also made a hit debut on OTT. A few days ago, the film’s music director Santhosh Narayanan announced that he would release the OST (Original Soundtrack) of the movie. As promised, he released 42 tracks without any prior announcement. Musicophiles can enjoy listening to the tracks on YouTube and other digital platforms. The film also starred Dheekshith Shetty, Shine Tom Chacko, Sai Kumar, Samuthirakani, Purnaa, Jhansi, and others in key roles. It was produced by Sudhakar Cherukuri under the SLV Cinemas banner. Keep checking this space for more updates. Articles that might interest you:
english
<gh_stars>0 { "name": "chatterbox2", "version": "0.0.0", "scripts": { "build": "tsc && npm run build:copy-assets", "build:copy-assets": "copyfiles src/assets/* src/assets/**/* --up 2 --exclude **/*.ts dist/assets/", "test": "tsc --noEmit", "prestart": "npm run build", "start": "twilio-run --functions-folder dist/functions --assets-folder dist/assets", "predeploy": "npm run build", "deploy": "twilio-run deploy --functions-folder dist/functions --assets-folder dist/assets --runtime node12", "promote": "twilio-run promote --to= --from=dev" }, "dependencies": { "@twilio-labs/serverless-runtime-types": "^1.1.8" }, "devDependencies": { "twilio-run": "^2.9.0", "typescript": "^4.2.3", "copyfiles": "^2.4.1" }, "engines": { "node": "12" } }
json
module.exports = { 'bootstrapper': require('role.bootstrapper'), 'harvester': require('role.harvester'), 'hauler': require('role.hauler'), 'spawner': require('role.spawner'), 'tower': require('role.tower') //'upgrader': require('role.upgrader') };
javascript
<filename>org/docs/patterns/bent/fr.md --- title: Bent body block ---
markdown
<filename>omazingCars.py import time import json from selenium import webdriver from selenium.webdriver.common.by import By from selenium.webdriver.common.action_chains import ActionChains from selenium.webdriver.support import expected_conditions from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.desired_capabilities import DesiredCapabilities from bs4 import BeautifulSoup from fake_useragent import UserAgent import random from selenium.webdriver.common.keys import Keys from selenium.webdriver.common.by import By import re from dbmanager import * DBNAME="omaze.sqlite" def getCarList(): url="https://www.omaze.com/collections/omaze-cars" options = webdriver.ChromeOptions() options.add_argument("--incognito") options.add_argument("--ignore_certificate_errors") #options.add_argument("--headless") driver = webdriver.Chrome(chrome_options=options) driver.get(url) #scroll down and ensure it's all loaded for i in range(5000): time.sleep(.01) driver.execute_script("window.scrollTo(0,"+str(i)+")") #time.sleep(5) #driver.find_element(By.ID, "ozEmailOptinCustomerEmail").click() html = driver.page_source soup = BeautifulSoup(html, 'html.parser') url_list=[] for rawlink in soup.find_all('a'): try: if rawlink.attrs['href'].startswith("/products"): strippedlink = rawlink.attrs['href'].split("https://")[-1] url_list.append("https://www.omaze.com" + strippedlink) except: continue driver.close() return url_list def enterCarContest(url,firstname,lastname,email,address,zip,city,state): options = webdriver.ChromeOptions() options.add_argument("--incognito") options.add_argument("--ignore_certificate_errors") # options.add_argument("--headless") driver = webdriver.Chrome(chrome_options=options) driver.get(url) time.sleep(random.random()*random.randint(3,5)) driver.find_element(By.LINK_TEXT, "Enter without contributing").click() time.sleep(random.random() * random.randint(3, 5)) driver.find_element(By.ID, "country-select").click() dropdown = driver.find_element(By.ID, "country-select") dropdown.find_element(By.XPATH, "//option[. = 'United States']").click() realkeystrokes(driver.find_element(By.NAME, "first_name"),firstname) realkeystrokes(driver.find_element(By.NAME, "last_name"),lastname) realkeystrokes(driver.find_element(By.NAME, "email"),email) realkeystrokes(driver.find_element(By.NAME, "address1"),address) realkeystrokes(driver.find_element(By.NAME, "city"),city) driver.find_element(By.ID, "province-select").click() dropdown = driver.find_element(By.ID, "province-select") dropdown.find_element(By.XPATH, "//option[. = '"+state+"']").click() realkeystrokes(driver.find_element(By.ID, "zip-input"),zip) driver.execute_script("document.getElementById('payment-form').submit()") driver.close() print("Sleeping for the cooldown period...") time.sleep(60+(random.random()*random.randint(15,120))) def realkeystrokes(element,text): time.sleep(random.random()*random.randint(2,4)) element.click() for c in text: time.sleep(random.random()/random.randint(3,5)) element.send_keys(c) def mainfunction(): tableGenerator(DBNAME) firstname=input("First name >") lastname=input("Last name >") email=input("Email address >") address=input("Street address >") city=input("City >") state=input("State (full, no abbreviations)>") zip=input("Zip code >") carurls=getCarList() for url in carurls: while geturlvalue(DBNAME,url) < 3: enterCarContest(url=url,firstname=firstname,lastname=lastname,email=email,address=address,city=city,state=state,zip=zip) updatedb(DBNAME,url) print("Max submissions for "+url+" completed!") mainfunction()
python
Ever since its arrival at the tail end of the 2000s, Minecraft has been on a roll that doesn't seem to be slowing down anytime soon. The game constantly evolves, adapts, and improves according to the times and has not only survived but thrived for all these years. One of the many reasons why players often flock to Minecraft is due to the developers' receptiveness to feedback and communication. Minecraft often introduces major updates with new features and functionality. But in order to ease players into it, the developers put out Snapshots. Snapshots are essentially smaller versions of major future updates for Java Edition that give players a small glimpse of everything new to arrive in Minecraft. This week's Snapshot 21w14a introduces Raw Copper, Raw Iron, and Raw Gold items, amongst other new stuff. To download the latest Snapshot, simply follow the steps given below: - Open the Minecraft Launcher. - Select the "Installations" tab in the top-left corner. - Toggle "Enable Snapshots" to be checked.
english
Chandrayaan-3 Mission on schedule, rover begins moon walk and will conduct experiments over 14 days. Indian Space Research Organisation (ISRO) on Thursday said that Pragyan Rover began its moonwalk on the lunar surface. Taking to X (formerly Twitter), ISRO said, "Chandrayaan-3 Mission. Chandrayaan-3 Rover to MOX, ISTRAC, Moon walk begins!" Taking to X (Former Twitter), ISRO said," Chandrayaan-3 Mission: All activities are on schedule. All systems are normal. Lander Module payloads ILSA, RAMBHA and ChaSTE are turned ON today. Rover mobility operations have commenced. SHAPE payload on the Propulsion Module was turned ON on Sunday." Chandrayaan-3 Rover to MOX, ISTRAC, Moon walk begins! Earlier today ISRO also released the images of the Lander Imager Camera which captured the moon's image just before the touchdown on the lunar surface. "Here is how the Lander Imager Camera captured the moon's image just prior to touchdown," ISRO posted on X. After a 40-day journey into space, the Chandrayaan-3 lander, 'Vikram', touched down on the uncharted lunar South Pole on Wednesday evening, making India the first country to do so. India also became only the fourth nation after the US, Russia and China to successfully conduct a lunar landing mission. The Chandrayaan-3 spacecraft put down the Vikram lander on the lunar surface, tilting to a horizontal position ahead of landing. The spacecraft was launched from the Satish Dhawan Space Centre in Andhra Pradesh’s Sriharikota on July 14. Milestone Alert! Livemint tops charts as the fastest growing news website in the world 🌏 Click here to know more. Unlock a world of Benefits! From insightful newsletters to real-time stock tracking, breaking news and a personalized newsfeed – it's all here, just a click away! Login Now!
english
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. பிடித்ததை செய்யுங்கள்... மன அழுத்தம் குறையும்.. காஜல் அகர்வால் யோசனை ! பாவம் போல முகத்தை வைத்து... கையை முறுக்கி முறுக்கி கதை பேசும் சாக்ஷி அகர்வால் ! இஞ்சி மரப்பா இடுப்பைக்காட்டி... குலுங்கி குலுங்கி ஆட்டம் போட்ட நந்திதா ஸ்வேதா ! முடிச்சிப்போட்ட சட்டையில்... குஷி பட ஜோதிகா போல இடுப்பைக்காட்டும்... தான்யா ரவிச்சந்திரன்! மணப்பெண் உடையில் நித்யா மேனன் கொடுத்த லிப் கிஸ்...யாருக்கு தெரியுமா ? அட "ஈஸ்வரா".... வெயில் நேரத்தில்... தொடை அழகை காட்டி சூடேற்றிய.... சிம்பு பட நடிகை ! தண்ணீருக்கு அடியில்... பிகினியில் அப்படி ஒரு போஸ்... வர்ணிக்கும் ஃபேன்ஸ் ! Do you want to clear all the notifications from your inbox?
english
{"946791863414":{"type":"book open","bookName":"Epic%20Quest","subjectName":"school","fName":"users/<KEY>"},"946791864747":{"type":"st"},"946791864748":{"type":"ss"}}
json