text
stringlengths
1
1.04M
language
stringclasses
25 values
Urfi Javed pairs her barely-there backless top with two pants, netizens ask ‘Yeh kya fashion hai? ' After skipping rope in saree and heels, Urfi Javed teamed up her barely-there top with two pairs of pants. Of course, she has been heavily trolled on social media, once again. Internet sensation Urfi Javed is known for her bold and revealing sartorial choices. Being an avid social media user, she often shares her pictures, flaunting her experimental fashion choices and sometimes, she gets papped in Mumbai. Maintaining her OTT looks, Urfi was snapped today in the city in another bold outfit as she distributed food packages to the paparazzi stationed outside. In the video shared by the paps, she can be seen wearing two pairs of pants in the same colour. She can be seen sporting a barely-there backless top with a plunging neckline, teamed up with two brown coloured pants – one that she is wearing and the other is pinned diagonally with her other pair of pants. If you don’t believe us, scroll down and watch. For the glam, she opted for subtle makeup including kohl-rimmed eyes, green eye-shadow, highlighted cheeks and a dash of lipstick. She accessorised her look with just a pair of earrings and a stylish hairdo. Take a look: Well, as soon as the video surfaced on social media, netizens had a field day. In the comment section, many dropped multiple laughing emojis. Urfi is always criticised for her fashion sense and is trolled not only by netizens, but also by celebrities. DISCLAIMER: The article is a compilation of thoughts posted by netizens and satire doing the rounds on the subject. Ideas expressed do not reflect the view of Times Network. U. S. & U. K. Fight It Out Over Next Nato Chief; Who Will Take The Post? Trudeau Says 'India Is Wrong' After Spate Of 'Khalistan Terror'| Canadian PM Denying K-Patronage? Separate 'VIP Passage' Demand After MLA Stopped On Toll Plaza? | Common Person's Woes Not Important?
english
Mythology, combat, and a heart-wrenching story. Could we possibly have asked more of the next iteration in the God of War franchise? If you ask me, no. But the cultured and infinitely more experienced team at Metro GameCentral would like you to know that the game is a ‘more flawed experience than its predecessor.’ You’ll find the rest of his opinions and more in this exploration of what the critics think of God of War: Ragnarök. The critics, as you’ve seen by the comment above, are not afraid to pull their punches. However, as we’ll point out, not everyone is as critical of the game. In fact, many critics have given the game a solid 8 out of 10. 99% of the critics recognized by OpenCritic recommend the game, and its Top Critic Average is a near-perfect 94. You’ll have to read David Jenkins’ full review to discover how much he actually enjoyed the game. Just like he asserts Kratos’ personality thaws as the the game progresses, so too does Jenkins’ opinion once you delve into his full critique. In short, the game seems to be a massive hit among those who have had a chance to play it ahead of its global console launch on November 8th. In other news, Sony has revealed brand new graphics modes for God of War: Ragnarök on PlayStation 4 and 5.
english
As the social media space in Western markets edges closer to the point of saturation, the Internet’s top firms are tightening their focus on emerging markets where they can continue to grow their user bases, activity and revenues. With a population in excess of 1.3 billion, which makes it the world’s largest country, China is the epitome of that opportunity. As Facebook’s S1 filing noted however, entry into China is hugely complicated. Not only do authorities block Twitter, Facebook (and Google+ for that matter) from its 500 million plus Internet users, it also insists that Web firms manage and remove sensitive content from their platforms. Facebook and China has become a particularly hot topic since the company filed its IPO last week. The public documentation contained no fewer than 9 mentions of ‘China’, which included an admission that the firm may never be able to satisfy the country’s demands. China is a large potential market for Facebook, but users are generally restricted from accessing Facebook from China. We do not know if we will be able to find an approach to managing content and information that will be acceptable to us and to the Chinese government. The social network is blocked in China, however its top executives have always maintained that the country is a market that they would like to explore. During a TV interview last year, Mark Zuckerberg revealed that there was no immediate plan, just yet at least: At some point I think there would be some discussion around what it would take to go [to China], and then we’d at that point have to figure out whether we were willing to do that. His COO Sheryl Sandberg revealed that the company’s attitude to being blocked is somewhat more relaxed than others. Sandberg calling the blocking of the social network the Chinese government’s “choice” as neither of the two denounced the regime and its censorship. Zuckerberg himself is known to have taken a personal interest in China. His girlfriend Priscilla Chan’s family has links there, he has taken up learning Mandarin and is curious about the country, having spent time there during 2010. His visit to China was officially a holiday, but Chinese tech media reported a number of rumours during his time in the country. According to a report from Bloomberg, Zuckerberg met with Baidu (which is loosely an equivalent to Google in China) and Sina (owner of China’s top microblog) as well as Alibaba. Facebook has been tipped to enter China through a partnership, which would help it leverage local market appeal and leave a more experienced and connected firm to manage relationships and concessions with the government. It remains to be seen if and how such a setup would work, and whether such a move would be received negatively by Facebook users outside of China. Given the blacklash against Twitter’s move to support censorship, which is arguably just transparency, Facebook users may resent the company putting its principles aside for a piece of the Chinese pie. Google is the only member of the trio that is legally operational in China, despite of the fact that it relocated its search engine to Hong Kong in 2010. In spite of the move, the company holds the second largest share of revenue within China’s $866 million search market, although it does trail Baidu by almost 60 percent. While it is negotiating the future of its Google Maps service in the country, as discussions with the government remain ongoing, other services in its portfolio have fallen victim to China’s Great Firewall censorship policy. Access to Google+ has been blocked in the country since almost day one, Gmail has had issues, while Android had shaky times when access was blocked or loading sluggishly for many, however the issues were soon fixed. Google has been outspoken in its criticism of China. Aside from relocating its search business to Hong Kong, the company’s executive chairman Eric Schmidt recently labelled its censorship measures as “a truly bad set of laws”. Schmidt called Hong Kong “the other China, which we like”, yet still Google continues to be focused on and running a number of services in China. Given its battling approach, Google+ and other services are unlikely to be opened in China but the company is providing important services there, particularly on mobile, so its position appears to be safe. Twitter has perhaps been the most defiant of the Chinese regime. CEO Dick Costolo famously called the microblogging service “the free wing of the free speech party” but the introduction of a feature to allow censorship has seen him forced to clarify that the move wasn’t a precursor to entering China. Costolo recently labelled China as “not a place that we could operate in”. Yet, Twitter founder Jack Dorsey recently visited the country leading to speculation that it might be trying to launch there. While Dorsey may well have been there in his capacity as founder of Square — the other company that he devotes half of his day to — China’s twiterrati were aflutter trying to ascertain exactly what was behind the trip. Twitter may well have the hardest time establishing itself in China, assuming that it could agree on the necessary compromises in the first place, which is a big ask. Its equivalent microblogging services (Weibos) are thriving in its absence. Weibo services run by Sina and Tencent both have more than 250 million registered accounts each. That suggests that around half of all Internet users in the country are registered to each service. Dorsey himself has lamented Twitter’s exclusion in China for some while. Last year, he claimed that the company wasn’t allowed to compete, as the Weibo services were in sole control of the market there. Twitter’s censorship option would undoubtedly ‘work’ in China, where Sina Weibo’s rumour control team works 24 hour days to ‘unpollute’ content and false rumours in its service. However, with such strong words from two of its key executives, it remains to be seen if a compromise could ever be reached. The fact that Facebook continues to “analyse” China and not rule the market out, makes it arguably more likely to move over there. That’s particularly true when considering the efforts that Mark Zuckerberg has made to network and meet key figures in the country. Yet despite that, Twitter is the closest to being able to make a compromise, thanks to its new option of hiding tweets deemed unsuitable for users in selected countries. Such a prospect flies in the face of its public comments on China and, as we have said before, Twitter isn’t endorsing (or arguably keen on) censoring, it has just opted for a transparent approach. There is no doubt that Google is the best-placed of the three. Though Google+ is blocked in China, the company is operational in the country where its services are generating revenue and its Android mobile operating system is well used. Though Android is being significantly altered by some of China’s tech industry, such as Baidu Yi which replaces Google’s services with Baidu’s. In the case of Twitter and Facebook, even if they were to ‘sell out’ and compromise on censoring their content, there are no guarantees. As a feature article from Reuters suggests, it is entirely possible that Chinese authorities may be completely opposed to either entering the country in any capacity, even in partnership with a local company. If the last month is anything to go by, there is likely to be plenty more speculation and news as the Web’s Western giants continue to size up the potential of China. Get the most important tech news in your inbox each week.
english
SEPTEMBER 3, 1962 Companis (Amend- 5578 ment) Bill [श्रीद० शि० पाटिल ] के डिपाजिट्स रक्खे हैं। उन की रकम को वापस करवाने के लिये कोई कार्रवाई नहीं की गई है । इस विधेयक पर विचार होने के समय में माननीय मंत्री जी का ध्यान इस गम्भीर प्रश्न की ओर आकर्षित करता हं और प्रिफरेंशल पेमेन्ट डिपाजिर्ट्स को देने के लिये विनती करता हूं । कृषि तो एक महत्वपूर्ण धन्धा है, वह प्राइमरी इंडस्ट्री मानी जाती है। किसानों के लिये कामर्शल बैंक में डिपाजिट रखना उन के हित की बात होती है । इसी लिये मैं इस विधेयक का स्वागत करता हूं और जो लक्ष्मी बैंक, अकोला के डिपाजिट्स हैं उन को जल्दी ही वापस करने की विनती गवर्नमेंट से करता हूं । Shri B. R. Bhagat: The few hon. Members who have spoken on this Bill have given full support to this measure. I am grateful to them. The only discordant voice was that of Shri U. M. Trivedi. Although he supported one or two provisions, he strongly objected to the amendments being suggested to this Bill. I am sorry to say that on both these points he has completely misunderstood things and read into them just the opposite of what is intended. As regards the exemption from the Company law proposed so far banking is concerned in respect of the remuneration of the chief executive officers, he has failed to notice that even in the present Act itself, there are other sections dealing with the remuneration of the directors, chief executive officers etc. These two provisions have been added because the company law was amended after the Banking Act and only sometime back. In order to fall in line with that, this is being done. He further fails to take notice of the position that this salutary provision of making exemptions from the Companies Act is because of the fact that in the case of non-banking companies, the remuneration is regulated according to the sections of the Companies Act, but in the case of banking companies, it is regulated by the Reserve Bank of India. The Reserve Bank as a specialised institution has the experience and expertise to determine the renumerations and conditions of service of the officers of banks. That is the reason why exemption is being sought from the Companies Act. He completely fails to take note of that. Then he spoke about foreign banks and said the term 'public interest' was too wide. But here also he does not appreciate the point that there may be some banks which may be indulging in non-banking activities. They may be banks functioning in conformity with all the technical and legal requirements of the situation, and even though in the larger interests of the country, and in the larger public interest, we may think that their activities may be prejudicial to the interests of the country, we are not able to prevent them from indulging in such activities. In order to provide for such a contingency, we have made this provision. I am sorry my hon. friend is not here. But I would urge upon him that this is a very very salutary provision and it should be there and this should be the provision to which he should be least opposed. Then I come to my hon. friend. Shri Prabhat Kar, to whose knowledge of banking I paid a compliment the other day. I still feel that on questions connected with banking, his contributions are very informed and helpful. But in this particular matter, I do not know why he has not been able to appreciate the real value of the amendments suggested. Probably the greater love he has for the bankmen, apart from the banking industry as such, may have detracted from the objectivity which he usually displays because his entire approach he dealt with all the points -was restricted because of his special
english
Despite having some of the biggest names of world cricket in their squad, Mumbai Indians have bowed out from IPL 2018. Though they built a strong side on paper, Kings XI Punjab sits on 7th position at the points table. Delhi Daredevils tried too many things but all went in vain as they sit at the very bottom of the pile and Royal Challengers Bangalore yet again entertained fans but that is all that they did. These four teams have got only themselves to blame as their plans did not work out as they would have wanted them to. Before the next auction arrives, they must have a reject list ready which might feature some big names. Here are four famous overseas cricketers who should not be retained by their respective franchises next year: #4 Aaron Finch (Kings XI Punjab) Aaron Finch has jaw-dropping T20 career numbers but has failed to carry his form in the IPL. Despite knowing that, Kings XI Punjab spent INR 6.2 crores on him, which resulted in just 134 runs in 10 games. With an average of 16.75 and a strike rate of under 135, Finch might be dropped from Punjab's team for next year. The men in red had an amazing start to the tournament but lost the plot in the second half. Their batting has been a concern as except KL Rahul, no batter could step up and take responsibility, something KXIP management would have wanted the Australian to do. #3 Brendon McCullum (Royal Challengers Bangalore) Talking about foreigners Royal Challengers Bangalore should release, Corey Anderson is the first name that comes to our mind. However, the Kiwi was an injury replacement for Nathan Coulter-Nile and amongst their original signings, RCB might consider dropping another Kiwi in Brendon McCullum. While there is no doubt that 'Baz' has had an illustrious T20 career, it is high time to accept that the 36-year-old is not the same that he used to be. In this year's IPL, he scored 127 runs in 6 games at an average of just over 20, something not 'Baz-esque'. Henceforth, Virat Kohli and AB de Villiers had to deal with immense pressure and RCB's hopes of winning the title extinguished one more time. #2 Glenn Maxwell (Delhi Daredevils) What a coincidence that both the groom and the emcee features in this list. Much like his close friend Finch, Glenn Maxwell had a season which he would like to forget. Delhi Daredevils' coach Ricky Ponting had immense faith in him and hence splurged INR 9 crores on him. In return, 'Maxi' has scored only 169 runs. Inconsistency has always been the issue with Maxwell but this year his average stooped to a new low of under 15. Surprisingly, he has done a better job with the ball by picking up 5 wickets at an economy rate of a bit over 8 runs per over, but it seems pretty certain that his name will go into the auction for next year. #1 Kieron Pollard (Mumbai Indians) Mumbai Indians' camp was overjoyed after roping in Kieron Pollard for INR 5.4 crores at the auction, but what followed was nothing less than a horror show. Pollard has not bowled a single over and his batting has been unsatisfactory, to say the least. In 9 games, the big West Indian has scored only 133 runs at an average of under 20 and a strike rate of 133. Except for one knock of 50 runs, Pollard has failed to deliver anything special which is one of the reasons why Mumbai Indians' lower-order failed to capitalize on the good starts their openers have kept on giving. Though he is not as old as McCullum, his form is only going down which might lead to the end of his long partnership with the three-time IPL winning franchise.
english
<reponame>mhaidarh/project-auth-express<gh_stars>1-10 { "name": "project-auth-express", "description": "Project Example: Auth with Express", "repository": "https://github.com/mhaidarh/project-auth-express", "keywords": ["express", "api", "backend"], "image": "heroku/nodejs" }
json
Robbio (Italy): Europe's top rice producer Italy has seen consumption of the staple rise throughout the coronavirus pandemic, putting even pasta in the shade. It's not just popular at home either — China itself has even signed a deal to import Italian rice. The Chinese have their eyes on varieties used to make typical risotto dishes such as medium-grained Carnaroli, Arborio, Roma or Baldo. "It is because our rice is better quality than that cultivated in China," says Stefano Greppi, Pavia province president at Italy's main agricultural union Coldiretti. Himself the owner of a nearby rice farm, Greppi welcomes the recent signing, during the pandemic, of an agreement allowing Italy, which produces more than half of European rice output, to export rice to China. That is a boon for producers in the provinces of Pavia, Lombardy, Vercelli and Novara (both in Piedmont) which account between them for 95 percent of national production. "It's a bit like selling ice cream to the eskimos," quipped daily Il Corriere della Sera the day after the export protocol was signed in April. "The doors of the huge Chinese market are opening to rice (and risotto) cultivated in the countryside around Pavia," added the newspaper, explaining that "native imitations of Italian risotto" already exist in China. Spread over 220,000 hectares (545,000 acres) and cultivated by 4,200 producers in all, Italian rice production totals an annual 1. 5 million tonnes. The country boasts more than 200 varieties in all, each with its own peculiarities. Even so, Europe is a mere lightweight when it comes to global production. It has just 0. 4 percent of the total world output of 500 million tonnes a year, 90 percent of that Asia-based. With the wind in its sails internationally, Italian rice is also making good headway at home. Consumption soared 47 percent during the first six weeks of the coronavirus pandemic — sometimes outstripping demand even for pasta in that period, according to Coldiretti. "During the COVID-19 emergency, people rediscovered rice and also risotto, which has always been a bit snubbed in Italian cuisine," Stefania Buffa, a 27-year-old rice farmer from Robbio in Lombardy, told AFP. Sergio Lombardi, 63, who owns a farm in the same area, explains that "the region can count on water reserves and a constant supply throughout the duration of rice cultivation, which is not possible in many regions of Italy. " Sown in spring, Italian rice is harvested between September and October. Rice was introduced into the country's north in the 12th century by Cistercian monks, who took upon themselves the task of improving what was then unsanitary and wooded terrain prone to malaria outbreaks. The rice crop benefited from the arrival of canals, whose layout Leonardo da Vinci designed. Mechanisation then brought further crop advances. Up until the 1950s and 1960s, people came from the south of Italy, particularly women, dubbed "mondine" or seasonal pruners, to cultivate the Po plain. Their harsh working conditions inspired the famous protest song "Bella ciao" as well as neo-realist films including "Bitter Rice" (Riso Amaro, 1949) notably featuring Silvana Mangano and Vittorio Gassman. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - AFP)
english
<reponame>debashish05/competitive_programming<filename>CodechefCodes/CK87MEDI.cpp //<NAME> #include<bits/stdc++.h> #define ll long long int #define ull unsigned long long int #define loop(k) for(i=0;i<k;++i) #define loop2(k) for(j=0;j<k;++j) #define mod 1000000007 using namespace std; int main() { std::ios::sync_with_stdio(false); cin.tie(NULL); int t=1,i=0,j=0; cin>>t; while(t--){ int n,k; cin>>n>>k; int a[n+k]; loop(n)cin>>a[i]; int m=a[0]; loop(n){ if(m<a[i])m=a[i]; } for(i=n;i<n+k;++i){ ++m; a[i]=m; } sort(a,a+k+n); cout<<a[(n+k)/2]<<"\n"; } return 0; }
cpp
Paris Saint-Germain (PSG) are planning for an eventful summer ahead. Manager Mauricio Pochettino failed to leave a mark in the UEFA Champions League and will be eager to improve his squad ahead of the new season. Meanwhile, Tim Howard has tipped Lionel Messi to move to the MLS. Elsewhere, Barcelona president Joan Laporta has hinted that he wanted Kylian Mbappe to join Real Madrid. On that note, here's a look at the key PSG transfer stories as on 28 May 2022: Former Everton goalkeeper Tim Howard believes Lionel Messi could come to the MLS. The Argentinean continues to be linked with a move to the US, although he still has a year left in his contract with PSG. However, the 34-year-old’s time at the Parc des Princes has not been rosy so far, so a move away cannot be ruled out. Messi has scored just 11 times across competitions in the 2021-22 season. Speaking on the Pat McAfee Show, Howard said that Messi’s arrival in the MLS would take the league to a different level. "The MLS has grown leaps and bounds, and it is very much a top league. What I would say is that we've seen a lot of international superstars come to America. He's (Lionel Messi) going to come. Honestly, I tell you this Pat, it will be like nothing we've ever seen," said Howard. He continued: "This guy, I swear to you, he's a god. I've witnessed it. I've played against him. The fanfare that's going to surround, if he goes to Miami, it will be like since Pele. Honestly, it's crazy if it happens." Howard went on to label Messi and Cristiano Ronaldo as the greatest of all time, saying: "He's the greatest - him and Ronaldo, for me, are the greatest players of all time. It's (the ball) on a string, you can't get it away from him (Messi). Barcelona president Joan Laporta has hinted that he wanted Kylian Mbappe to join Real Madrid. The Frenchman was a step away from signing with Los Blancos but performed a U-turn to remain at PSG. Speaking to L’Esportiu de Catalunya, as relayed by PSG Talk, Laporta said that players are being kidnapped for money. “This distorts the market. Players end up being kidnapped for money. These are the effects of a club having a state behind it. This goes against all the principles of the European Union,” Laporta said. He continued: The Parisians are close to coming to an agreement with Zinedine Zidane, according to journalist Geoffroy Garetier. The Frenchman is the favourite to replace Mauricio Pochettino at the Parc des Princes this summer. Speaking on Late Football Club, as relayed by PSG Talk, Garetier said Zidane could eventually take charge of the Parisians. "An arrival of Zinedine Zidane at PSG ? We will say that it is buzzing with rumours for the moment. I even read that the formalisation of Zidane’s contract at PSG would be for this weekend,” said Garetier. He continued:
english
body{ margin:0; padding:0; background:url('../images/fb-cristho-resto2.jpg'); background-size:cover; background-position:center; background-repeat:no-repeat; background-attachment:fixed; } #login-box{ position:absolute; top:20%; left:50%; transform:translate(-50%,50%); background:rgba(0,0,0,0.5); padding:20px; width:300px; height:150px; box-shadow:0 0 10px 5px black; } #login-box h3{ text-align:center; margin-top:30px; color:white; } #login-box input{ text-align:center; } .login-input{ text-align:center; } .login-img{ width:20px; height:20px; } #avatar{ width:100px; height:100px; border-radius:50%; position:fixed; left:50%; top:0; transform:translate(-50%,-50%); text-align:center; line-height:50px; }
css
Mentor’s Comment: The case study has been take in light of conflict of interest faced by public servants while holding public office. The case involves the following ethical concerns: Personal interests vs abeyance to principles of public life, firmness to government principles vs violating government rules for self gain, upholding personal principles vs comprising them for personal motives, nepotism vs respect to government policies, misuse of public post vs respect for the public office. Further, discuss the various options available to deal with such situations with their merits and demerits and bring balanced conclusion. Model Answer: In the above case, the officer can get personal benefits if he gets the project cleared. However, it is against the policy of the government as it has been emphasizing on forest conservation in the area. Being an upright officer and being true to the public post that he holds, it is not advisable to use his authority to seek some benefits for his son. That would be impeach of public dutyand the defiance to the principles of public life. The ethical conflicts that arise in above case are: - Misuse of public post vs respect for the public office. The various options along with their merits and demerits are discusses as: - Not giving clearance to the project: This option will uphold his image as an upright officer who doesn’t change his principles just merely for seeking some personal benefits. However, not giving clearance to his son’s project, he is risking his son’s career as this project is important for him in order to get him settled. - Granting approval to the project: This would be like impeaching of the government policies and the rules framed by it as it has been emphasizing on forest conservation. A public servant is expected to uphold government policies and not defy them. This will also free him from the tensions related to his son as he would get settled. - Making amendments in the project proposal: This would mean not getting the clearance get done directly but through some indirect means by making certain amendments and changes in the proposal. This way he will be saved from breach of public trust as he would be amending the project to suit the requirements of the government policy. - Getting the clearance done with help from seniors: He may himself not be involved directly in the project, but use his approach and contacts to get the work done. He may tell them that the project is important. As he has always been an upright and honest officer, his seniors and subordinates might favour him for this. But it is also possible that they may not give clearance. - Not being the authority in the project: As the project involves conflict of interest, he may ask somebody else to anlayse it and give approval or rejection. This way the project analysis will be done in a transparent manner and thus justice would be done. Any public officer is expected to consider the interest of public office above his personal interests. The best course of action for the officer is to get himself out of the project as he might face conflict of interest. He should get the project analyses in a transparent manner by someone who doesn’t have personal benefits involved in the project. He should tell his son that he cannot favour the proposal if it is against law as it would be going against the government policies and comprising on the principles which he has upheld throughout all his life.
english
/* * MIT License * * Copyright (c) 2022 MASES s.r.l. * * Permission is hereby granted, free of charge, to any person obtaining a copy * of this software and associated documentation files (the "Software"), to deal * in the Software without restriction, including without limitation the rights * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell * copies of the Software, and to permit persons to whom the Software is * furnished to do so, subject to the following conditions: * * The above copyright notice and this permission notice shall be included in all * copies or substantial portions of the Software. * * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE * SOFTWARE. */ /************************************************************************************** * <auto-generated> * This code was generated from a template using JCOReflector * * Manual changes to this file may cause unexpected behavior in your application. * Manual changes to this file will be overwritten if the code is regenerated. * </auto-generated> *************************************************************************************/ package nettopologysuite.geometries; import org.mases.jcobridge.*; import org.mases.jcobridge.netreflection.*; import java.util.ArrayList; // Import section import nettopologysuite.geometries.Coordinate; import nettopologysuite.algorithm.HCoordinate; /** * The base .NET class managing NetTopologySuite.Geometries.Triangle, NetTopologySuite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1. * <p> * * See: <a href="https://docs.microsoft.com/en-us/dotnet/api/NetTopologySuite.Geometries.Triangle" target="_top">https://docs.microsoft.com/en-us/dotnet/api/NetTopologySuite.Geometries.Triangle</a> */ public class Triangle extends NetObject { /** * Fully assembly qualified name: NetTopologySuite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1 */ public static final String assemblyFullName = "NetTopologySuite, Version=2.0.0.0, Culture=neutral, PublicKeyToken=f580a05016ebada1"; /** * Assembly name: NetTopologySuite */ public static final String assemblyShortName = "NetTopologySuite"; /** * Qualified class name: NetTopologySuite.Geometries.Triangle */ public static final String className = "NetTopologySuite.Geometries.Triangle"; static JCOBridge bridge = JCOBridgeInstance.getInstance(assemblyFullName); /** * The type managed from JCOBridge. See {@link JCType} */ public static JCType classType = createType(); static JCEnum enumInstance = null; JCObject classInstance = null; static JCType createType() { try { String classToCreate = className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); if (JCOReflector.getDebug()) JCOReflector.writeLog("Creating %s", classToCreate); JCType typeCreated = bridge.GetType(classToCreate); if (JCOReflector.getDebug()) JCOReflector.writeLog("Created: %s", (typeCreated != null) ? typeCreated.toString() : "Returned null value"); return typeCreated; } catch (JCException e) { JCOReflector.writeLog(e); return null; } } void addReference(String ref) throws Throwable { try { bridge.AddReference(ref); } catch (JCNativeException jcne) { throw translateException(jcne); } } /** * Internal constructor. Use with caution */ public Triangle(java.lang.Object instance) throws Throwable { super(instance); if (instance instanceof JCObject) { classInstance = (JCObject) instance; } else throw new Exception("Cannot manage object, it is not a JCObject"); } public String getJCOAssemblyName() { return assemblyFullName; } public String getJCOClassName() { return className; } public String getJCOObjectName() { return className + ", " + (JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); } public java.lang.Object getJCOInstance() { return classInstance; } public void setJCOInstance(JCObject instance) { classInstance = instance; super.setJCOInstance(classInstance); } public JCType getJCOType() { return classType; } /** * Try to cast the {@link IJCOBridgeReflected} instance into {@link Triangle}, a cast assert is made to check if types are compatible. * @param from {@link IJCOBridgeReflected} instance to be casted * @return {@link Triangle} instance * @throws java.lang.Throwable in case of error during cast operation */ public static Triangle cast(IJCOBridgeReflected from) throws Throwable { NetType.AssertCast(classType, from); return new Triangle(from.getJCOInstance()); } // Constructors section public Triangle() throws Throwable { } public Triangle(Coordinate p0, Coordinate p1, Coordinate p2) throws Throwable { try { // add reference to assemblyName.dll file addReference(JCOReflector.getUseFullAssemblyName() ? assemblyFullName : assemblyShortName); setJCOInstance((JCObject)classType.NewObject(p0 == null ? null : p0.getJCOInstance(), p1 == null ? null : p1.getJCOInstance(), p2 == null ? null : p2.getJCOInstance())); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Methods section public boolean IsAcute() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (boolean)classInstance.Invoke("IsAcute"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static boolean IsAcute(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (boolean)classType.Invoke("IsAcute", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public double Area() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (double)classInstance.Invoke("Area"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static double Area(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (double)classType.Invoke("Area", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public double Area3D() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (double)classInstance.Invoke("Area3D"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static double Area3D(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (double)classType.Invoke("Area3D", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static double InterpolateZ(Coordinate p, Coordinate v0, Coordinate v1, Coordinate v2) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (double)classType.Invoke("InterpolateZ", p == null ? null : p.getJCOInstance(), v0 == null ? null : v0.getJCOInstance(), v1 == null ? null : v1.getJCOInstance(), v2 == null ? null : v2.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public double InterpolateZ(Coordinate p) throws Throwable, system.ArgumentNullException { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (double)classInstance.Invoke("InterpolateZ", p == null ? null : p.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public double LongestSideLength() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (double)classInstance.Invoke("LongestSideLength"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static double LongestSideLength(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (double)classType.Invoke("LongestSideLength", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public double SignedArea() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { return (double)classInstance.Invoke("SignedArea"); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static double SignedArea(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { return (double)classType.Invoke("SignedArea", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static HCoordinate PerpendicularBisector(Coordinate a, Coordinate b) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objPerpendicularBisector = (JCObject)classType.Invoke("PerpendicularBisector", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance()); return new HCoordinate(objPerpendicularBisector); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static Coordinate AngleBisector(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objAngleBisector = (JCObject)classType.Invoke("AngleBisector", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); return new Coordinate(objAngleBisector); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Coordinate Centroid() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject objCentroid = (JCObject)classInstance.Invoke("Centroid"); return new Coordinate(objCentroid); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static Coordinate Centroid(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objCentroid = (JCObject)classType.Invoke("Centroid", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); return new Coordinate(objCentroid); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Coordinate Circumcentre() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject objCircumcentre = (JCObject)classInstance.Invoke("Circumcentre"); return new Coordinate(objCircumcentre); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static Coordinate Circumcentre(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objCircumcentre = (JCObject)classType.Invoke("Circumcentre", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); return new Coordinate(objCircumcentre); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static Coordinate CircumcentreDD(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objCircumcentreDD = (JCObject)classType.Invoke("CircumcentreDD", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); return new Coordinate(objCircumcentreDD); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Coordinate InCentre() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject objInCentre = (JCObject)classInstance.Invoke("InCentre"); return new Coordinate(objInCentre); } catch (JCNativeException jcne) { throw translateException(jcne); } } public static Coordinate InCentre(Coordinate a, Coordinate b, Coordinate c) throws Throwable { if (classType == null) throw new UnsupportedOperationException("classType is null."); try { JCObject objInCentre = (JCObject)classType.Invoke("InCentre", a == null ? null : a.getJCOInstance(), b == null ? null : b.getJCOInstance(), c == null ? null : c.getJCOInstance()); return new Coordinate(objInCentre); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Properties section public Coordinate getP0() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("P0"); return new Coordinate(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setP0(Coordinate P0) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("P0", P0 == null ? null : P0.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Coordinate getP1() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("P1"); return new Coordinate(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setP1(Coordinate P1) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("P1", P1 == null ? null : P1.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } public Coordinate getP2() throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { JCObject val = (JCObject)classInstance.Get("P2"); return new Coordinate(val); } catch (JCNativeException jcne) { throw translateException(jcne); } } public void setP2(Coordinate P2) throws Throwable { if (classInstance == null) throw new UnsupportedOperationException("classInstance is null."); try { classInstance.Set("P2", P2 == null ? null : P2.getJCOInstance()); } catch (JCNativeException jcne) { throw translateException(jcne); } } // Instance Events section }
java
Written Answers The Deputy Minister of Railways and Transport (Shri Alagesan): (a) Generally there has been an improvement in turn round of wagons on Assam Section of the North-Eastern Railway. Instances of consignments for short distances takW'rillen Answers ing more than a week are exceptional. (b) Yes. Outstanding registerations have slightly increased in spite of comparatively increased loading Jue to increased registrations for Jute and foodgrains.
english
The thought of having knee replacement surgery may seem overwhelming, but simply speaking, you’re just replacing worn out parts with new parts. A common misconception about knee replacement surgery is that the entire joint is removed and then replaced with a new joint. In reality, only the damaged portions of the bones are removed and resurfaced with metal implants and polyethylene (plastic) cushions. Knee replacement is a reliable and reproducible surgical procedure with good long-term outcomes and survivorship; however, there are risks associated with it. Depending on the complexity of the procedure, the operative time may vary, but on average takes one to two hours to complete. Although each surgery is different, below is a simplified summary of what you can expect on the day of a standard knee replacement surgery. 1. Generally, you won’t be able to eat or drink after midnight in preparation for surgery. 2. You’ll typically arrive at the hospital about two hours before your scheduled surgery. During this time, you will review and sign required paperwork. The nurses will take you to your room and get you prepared. 3. A small tube (IV) is inserted into your arm. This tube is used to administer antibiotics and other medication during your surgery. 4. You’ll discuss the options of a spinal or general anesthesia with the anesthetist prior to surgery. The option that’s best for you may be dependent on your medical history and your surgeon’s preference. You’ll be given sedative medication prior to entering the operating room; this often makes it difficult to remember details on the day of surgery. 5. Once you are asleep, a urinary catheter may be inserted, and compression stockings and/or pneumatic sleeves are put on both legs. The urinary catheter is used commonly with spinal anesthetic and may also be used until you have increased mobility. The compression devices are used to reduce the risk of blood clots in the legs, which is one of the most common preventable complications after joint replacement. 6. Your operative leg will be prepped with a sterilizing solution and sterile drapes will be applied. 7. A straight, midline incision will be made over your knee. The kneecap, in the front of the knee, will be moved to the side so your surgeon can see your knee joint. 8. With a total knee replacement, both sides of the joint must be replaced. Depending on your pattern of arthritis and your surgeon’s preference, the kneecap may or may not be replaced. Specialized instruments and guides are used to accomplish this goal. Prior to the placement of the real implants, trial implants are used to see if the knee joint is stable and that you have a full, functional range of motion. In order to accomplish this, the ligaments around the knee often need to be balanced to your new knee joint. 9. Once all bone preparations are completed, the final implants are placed. In many cases, the implants are cemented to the bone, while in others; some components may be pressed into the bone without cement. 10. Following completion of the surgery, the surgical site is closed in layers with absorbable sutures. A sterile bandage is placed and, depending on your surgeon’s preference, a surgical drain maybe placed. 11. You’re then taken to the recovery room, where you will be closely monitored. Most patients spend one to two hours in the recovery room depending on how quickly you awaken from anesthesia. 12. Pain is normal after knee replacement surgery. This will be managed with pain medication. Most surgeons use a combination of treatment options to help manage your pain. This often begins before surgery and continues after surgery. It’s important that you are proactive in your pain management. 13. Once you are fully awake, you’ll go to your hospital room and in most cases, you will be up moving the day of surgery. While every surgery will be tailored to your needs by your surgeon, this gives you an idea of the series of events surrounding a standard procedure. Disclaimer: Zimmer Biomet does not practice medicine and the content of this site is intended for general public interest. The website and its contents do not constitute medical, legal, or any other type of professional advice. Please consult with your physician or other healthcare professional for medical advice and see the ‘Legal Notice’ link. Patient testimonial results discussed on this site are not necessarily typical, indicative, or representative of all recipient patients. Results will vary due to health, weight, activity and other variables. Not all patients are candidates for the products/ procedures mentioned on this website, and only a medical professional can determine the treatment appropriate for your specific condition. Appropriate post-operative activities and pain will differ from patient to patient. Talk to your surgeon about whether joint replacement or other treatment is right for you and the risks associated therewith, including the risks of infection, implant wear, loosening, breakage or failure of implanted materials, any of which can necessitate additional surgery or treatment. For additional information visit www. zimmerbiomet. com. References and/or links herein may take readers to clinical websites and/or materials owned or authored by Zimmer Biomet customers or paid consultants and in no way constitute a referral or endorsement of any particular healthcare provider. Zimmer Biomet is not responsible for the accuracy of content within links and/or references not otherwise owned, controlled, or affiliated with Zimmer Biomet. All content herein is protected by copyright, trademarks and other intellectual property rights, as applicable, owned by or licensed to Zimmer Biomet or its affiliates unless otherwise indicated, and must not be redistributed, duplicated or disclosed, in whole or in part, without the express written consent of Zimmer Biomet. Not all products are approved in all regions. Please check with your local ZB representative for list of approved products. This is a Partnered Post.
english
On August 23, BLACKPINK announced the release of THE GIRLS OST as a digital single via their social media handles. Check details inside! BLACKPINK will release THE GIRLS as a digital single on August 25. THE GIRLS is said to be one of their highly anticipated songs. It is an original soundtrack for their mobile game called BLACKPINK THE GAME. The announcement was made through their official social media channels with a release poster. Primarily it was released as an ost within the game but now it will also be available on all digital platforms for the fans. On August 23, BLACKPINK released the song titled THE GIRLS exclusively for their game called BLACKPINK THE GAME followed by a music video for the same. The music video was exclusively released in the game and had the animated characters of the BLACKPINK members from the game dancing to an amazing choreography. Soon after, fans started speculating whether the song would also be released on digital platforms globally. YG Entertainment announced through BLACKPINK’s official social media handle that THE GIRLS will also be released as a digital single on August 25 at 1 p.m. KST. Fans were delighted to know this. Their agency also shared that Jennie and Rose exclusively took part in the music production for THE GIRLS. BLACKPINK released their mobile game BLACKPINK THE GAME in May 2023. The mobile game is available on all the major app stores for the users to download. The game allows the users to act as BLACKPINK’s producers in the multiverse world. There are various activities that one can perform in the game like solving puzzles, completing the band’s schedule as well and taking important steps and decisions for the band’s career including which songs to release or events to be performed at. The game also permits users to dress their favorite BLACKPINK member characters the way they like and also play mini-games with other users. The game was created in collaboration with TakeOne Company. NET Worth: ~ 41.7 MN USD (RS 345 cr)
english
Don’t Miss Out on the Latest Updates. Subscribe to Our Newsletter Today! IDBI Executive Admit Card 2022 Latest News: Industrial Development Bank of India (IDBI) released the admit card for the post of Executives (On Contract) today, July 02, 2022. Candidates who have applied for the IDBI Recruitment exam can download their hall tickets from the Bank’s official website idbibank. in. Through this recruitment drive, a total of 1544 vacant posts will be filled in the Bank. The Bank will tentatively conduct the online test for Executive posts on July 09, 2022. Out of the total vacancies, 1044 posts are reserved for Executives (on Contract) posts and 500 for Assistant managers, Grade ‘A’ posts. During the Training Period of 9 months – Rs. 2,500/- per month and during the Internship Period of 3 months – Rs. 10,000/- per month. For more details, candidates can check the official website of the Industrial Development Bank of India. For breaking news and live news updates, like us on Facebook or follow us on Twitter and Instagram. Read more on Latest Exams & Results News on India. com.
english
<reponame>omkarshinde221/etherpad "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.default = void 0; var _token = require("./token"); function parseChallenge(buffer) { const challenge = {}; challenge.magic = buffer.slice(0, 8).toString('utf8'); challenge.type = buffer.readInt32LE(8); challenge.domainLen = buffer.readInt16LE(12); challenge.domainMax = buffer.readInt16LE(14); challenge.domainOffset = buffer.readInt32LE(16); challenge.flags = buffer.readInt32LE(20); challenge.nonce = buffer.slice(24, 32); challenge.zeroes = buffer.slice(32, 40); challenge.targetLen = buffer.readInt16LE(40); challenge.targetMax = buffer.readInt16LE(42); challenge.targetOffset = buffer.readInt32LE(44); challenge.oddData = buffer.slice(48, 56); challenge.domain = buffer.slice(56, 56 + challenge.domainLen).toString('ucs2'); challenge.target = buffer.slice(56 + challenge.domainLen, 56 + challenge.domainLen + challenge.targetLen); return challenge; } function sspiParser(parser, _options, callback) { parser.readUsVarByte(buffer => { callback(new _token.SSPIToken(parseChallenge(buffer), buffer)); }); } var _default = sspiParser; exports.default = _default; module.exports = sspiParser;
javascript
{ "name": "companies-house-proxy", "version": "1.0.0", "description": "GOV.UK proxy service built using Hapi / Node", "author": "Department for Environment, Food & Rural Affairs", "license": "SEE LICENSE IN LICENSE", "bugs": { "url": "https://github.com/DEFRA/waste-permits/issues" }, "homepage": "https://github.com/DEFRA/waste-permits#readme", "repository": { "type": "git", "url": "https://github.com/DEFRA/waste-permits.git" }, "engines": { "node": "8.x" }, "main": "server.js", "scripts": {}, "devDependencies": {}, "dependencies": { "dotenv": "^4.0.0", "h2o2": "^7.0.2", "hapi": "^17.2.0", "https-proxy-agent": "^2.1.1", "wreck": "^14.0.2" } }
json
export const consolePrefix = 'SweetAlert2:' /** * Filter the unique values into a new array * @param arr */ export const uniqueArray = (arr) => { const result = [] for (let i = 0; i < arr.length; i++) { if (result.indexOf(arr[i]) === -1) { result.push(arr[i]) } } return result } /** * Convert NodeList to Array * @param nodeList */ export const toArray = (nodeList) => Array.prototype.slice.call(nodeList) /** * Converts `inputOptions` into an array of `[value, label]`s * @param inputOptions */ export const formatInputOptions = (inputOptions) => { const result = [] if (typeof Map !== 'undefined' && inputOptions instanceof Map) { inputOptions.forEach((value, key) => { result.push([key, value]) }) } else { Object.keys(inputOptions).forEach(key => { result.push([key, inputOptions[key]]) }) } return result } /** * Standardise console warnings * @param message */ export const warn = (message) => { console.warn(`${consolePrefix} ${message}`) } /** * Standardise console errors * @param message */ export const error = (message) => { console.error(`${consolePrefix} ${message}`) } /** * Private global state for `warnOnce` * @type {Array} * @private */ const previousWarnOnceMessages = [] /** * Show a console warning, but only if it hasn't already been shown * @param message */ export const warnOnce = (message) => { if (!previousWarnOnceMessages.includes(message)) { previousWarnOnceMessages.push(message) warn(message) } } /** * If `arg` is a function, call it (with no arguments or context) and return the result. * Otherwise, just pass the value through * @param arg */ export const callIfFunction = (arg) => typeof arg === 'function' ? arg() : arg export const isThenable = (arg) => arg && typeof arg === 'object' && typeof arg.then === 'function'
javascript
<gh_stars>0 import {Injectable} from '@angular/core'; import {HttpClient} from '@angular/common/http'; import {MatDialog} from '@angular/material'; import {Observable, throwError} from 'rxjs'; import {REST_API} from '../common/API'; import {ErrorService} from '../utils/error-service'; import {Medication} from '../model/Medication'; @Injectable({ providedIn: 'root' }) export class MedicationService { private baseURL = 'http://localhost:8080/api/medications'; constructor(private http: HttpClient, private dialog: MatDialog) { } getMedications(): Observable<Medication[]> { return this.http.get<Medication[]>(REST_API + 'medications') .catch((e: any) => throwError(ErrorService.handleError(e, this.dialog))); } addMedication(medication: Medication): Observable<Medication> { return this.http.post<any>(REST_API + 'medications', medication) .catch((e: any) => throwError(ErrorService.handleError(e, this.dialog))); } getMedicationById(id: number): Observable<Medication> { return this.http.get<Medication>(`${this.baseURL}/${id}`) .catch((e: any) => throwError(ErrorService.handleError(e, this.dialog))); } updateMedication(id: number, medication: Medication): Observable<Response> { return this.http.put<Response>(`${this.baseURL}/${id}`, medication) .catch((e: any) => throwError(ErrorService.handleError(e, this.dialog))); } deleteMedication(id: number): Observable<Object> { return this.http.delete(`${this.baseURL}/${id}`); } }
typescript
Rahul Dravid, who for the first time in his glorious Test career, posted two sixes in an innings jokingly said the sixes were in preparation for the next edition of Indian Premier League. Rahul Dravid, who for the first time in his glorious Test career, posted two sixes in an innings jokingly said the sixes were in preparation for the next edition of Indian Premier League. “Preparing for the IPL [laughs]. It was just there to hit I guess,”Dravid joked. IPL is a kind of format where you are hitting shots all the time, most of the time. You are practicing hitting for six weeks. Maybe a bit does rub off but for me I find I can play at a good and quick pace when things are going well for me. Dravid scored his 36th Test ton to took India to a position of strength on day one of the second Test against West Indies. The Indian batsman sounded optimistic when over Sachin Tendulkar scoring his 100th century. “He is going to do it one day. Today was just a short ball and he was unfortunate to find the fielder. There was one fielder on the leg-side and he found him. He batted beautifully.
english
**From Dana Majhi blues to alleged sex video of Mayor, this year has been an eventful year in Odisha. Let’s refresh the top 20 news which hogged headlines in Odisha and portrayed Odisha’s hues in the national arena. [Click Here to View More ][](http://bit.ly/2husiQ4) Bhubaneswar : The State unit of (National Students’ Union of India), students’ wing of Congress, on Thursday dropped a bombshell here by releasing MMS clip where its president Itish Pradahan alleged that Bhubaneswar Municipal Corporation (BMC) Mayor Ananta Narayn Jena getting intimate with a lady. [Click Here to View More](http://bit.ly/2hAkMEj) Paradip: Noted businessman and Managing Director of Odisha Stevedores Limited ( OSL)Mahimananda Mishra has been booked in a murder case by Paradip police. [Click Here to View More](http://bit.ly/2eW6Y6l) Bhubaneswar: It seems trouble is mounting for popular Odia actor Papu Pom Pom as an FIR was lodged against him on charges of casting couch allegations by a minor female actor at Mahila police station in the capital city. [Click Here to View More](http://bit.ly/2iaKwtW) Bhubaneswar: Former Supreme Court judge Markandey Katju, who is known for his controversial and hard-hitting views on a wide range of subjects, has done it again and this time on Odisha and its people – Odias. [Click Here to View More](http://bit.ly/2dMsA6L) Bhubaneswar A major fire broke out in the Intensive Care Unit of the Dialysis ward in the first floor of Institute of Medical Sciences (IMS) and Sum Hospital here in the Capital City on Monday evening due to electric short circuit. [Click Here to View More](http://bit.ly/2e1kMjN) [Click Here to View More](http://bit.ly/2iKURxJ) [Click Here to View More](http://bit.ly/2gIRuDB) [Click Here to View More](http://bit.ly/2i4v8wV) [Click Here to View More](http://bit.ly/2eRGlDe)
english
@import "../proto/base.css"; .default { margin-left: 0; margin-right: 0; border: none; padding: 0; }
css
Arunachal reported the highest single-day spike in Covid-19 cases with 394 people tested positive for the infection, pushing the total caseload in the northeastern state to 23,553, a senior health department official said here on Saturday. ITANAGAR: Arunachal reported the highest single-day spike in Covid-19 cases with 394 people tested positive for the infection, pushing the total caseload in the northeastern state to 23,553, a senior health department official said here on Saturday. The death toll in the state rose to 92 with three more people succumbed to the infection, State Surveillance Officer (SSO) Dr Lobsang Jampa said. A 43-year-old woman from Wakro in Lohit district died at the Dedicated Covid Hospital (DCH) Pasighat in East Siang district on Friday due to Covid Pneumonia. She was suffering from hypertension and Asthma, the official said. A Covid-19 positive man from Changlang district died on Friday at Dedicated Covid Health Centre (DCHC) in Jairampur due to cardio respiratory failure, while another 50-year-old man from Chowkham in Namsai district died at his residence on May 17 last due to cardio arrest, the SSO said. The Capital Complex region recorded the maximum number of fresh cases at 84, followed by Changlang (49), Upper Siang (43), Lohit (35), Upper Subansiri (32),Tawang and Lower Dibang Valley with 27 each, Lower Subansiri and Namsai with 20 each, West Kameng (12) and East Siang reported 10 fresh cases. Six new cases were also detected in Papumpare, Dibang Valley (5), four each in Anjaw, Lower Siang and East Kameng, three each in West Siang and Kurung Kumey, two each in Kamle and Leparada and one each in Tirap and Longding district respectively, Dr Jampa said. Of the fresh cases, 359 were detected through rapid antigen tests, 22 through RT-PCR and 13 through TrueNat method, Jampa said adding, 176 people have symptoms. Arunachal Pradesh now has 2,916 active cases. As many as 206 people were cured of the disease on Friday, taking the total number of recoveries in the state to 20,545. The recovery rate among coronavirus patients stands at 87. 22 per cent while the active percentage stands at 12. 38 and the positivity rate at 8. 5 per cent, the official said. The Capital Complex Region - comprising Itanagar, Naharlagun, Nirjuli and Banderdewa areas - has the highest number of active cases at 647, followed by Changlang (278), Lower Subansiri (233), Tawang (227), Lohit (227), Namsai (185), Lower Dibang Valley (185), Upper Subansiri (139) and West Kameng at 130. Altogether, 5,25,589 samples have been tested for Covid-19 in the state so far, including 4,615 on Friday, Jampa said. State Immunisation Officer Dr Dimong Padung said that 3,27,238 people have been inoculated so far in the state since the vaccination drive began in January. Keeping in view the spurt in corona virus cases, the state government has imposed complete lockdown in Anjaw, Dibang Valley, Lower Subansiri and Lohit districts till May 31 next. The Capital Complex Region and Tawang district is already under a complete lockdown until May 31.
english
Chennai, Jan 18 (PTI): India's G Sathish Chandra held top-seeded Russian Grand Master Alexandr Predke to a draw in the first round of the 11th Chennai Open International Grandmaster Chess tournament for Sakthi Group Dr N Mahalingam trophy, here Friday. Satish Chandra matched the Super GM, with an Elo rating of 2620, move for move and hung on for a precious half a point after 77 moves. The resultant position offered little for the Russian as he agreed for a draw with the Indian with a rating of 1665. The rest of the seeds had it easy on the opening day of the tournament, which offers a total prize money of Rs 15 lakh. A total of 286 entries from 15 countries including 20 Grand Masters and 65 titled players have been received for the tourney. Results: 1st round (Indians unless specified): G Sathish Chandra drew with Alexandr Predke (Rus), Levon Pantsulaia (Geo) bt Adireddy Tarun, M S Dharani Kumar lost to Ivan Rozum (Rus), Ivan Popov (Rus) bt Adarsh Tripathi, Evrin Selvam lost to Luka Paichadze (Geo), Aleksej Aleksandro (Blr) bt G Aakash G.
english
Indian tennis star Sania Mirza is currently expecting her first child with her Pakistan cricketer husband Shoaib Malik. With the due getting closer, Sania Mirza took out time to share an adorable picture of herself with husband Shoaib Malik. Sania Mirza posted the picture on her official Twitter account. “Not posing sooooo candid @realshoaibmalik”, she had captioned the image. After posting the image, Indian female wrestler Ritu Phogat and Bollywood actor Sonu Sood complimented the picture of the couple. she is expecting her first child with her husband Shoaib in October. The former doubles World No. 1, who is aiming to be back on the court for the 2020 Tokyo Olympics, had said that she has always lived her life on her own terms and never followed the ‘traditional women route’ in her life.
english
{ "id": "genshin-nft", "symbol": "genshin", "name": "Genshin NFT", "platforms": { "binance-smart-chain": "0xe512a26cccf868ccc6d4f8e9a8729a365c695462" }, "hashing_algorithm": null, "categories": [], "description": { "en": "GENSHIN is not a meme coin. IT\u2019S the Metaverse. A new cryptocurrency birthed by fans & members of the Shiba Inu community. Genshin NFT is named after <NAME>usk\u2019s very own Shiba Inu. GENSHIN is working on three flagship utility projects: an NFT gaming metaverse known as GENSHIN, an NFT and merchandise marketplace known as GenshinSWAP, an NFT IDO marketplace known as GenshinIDO." }, "country_origin": "", "genesis_date": null, "contract_address": "0xe512a26cccf868ccc6d4f8e9a8729a365c695462", "url": "https://www.genshinnft.finance/", "explorers": [ "https://bscscan.com/token/0xe512a26cccf868ccc6d4f8e9a8729a365c695462" ], "twitter": "GenshinNFT", "telegram": "GENSHIN_OFFICIAL" }
json
<gh_stars>1-10 'use strict'; /* global Qt */ var MOUSE_BUTTONS = {}; MOUSE_BUTTONS[Qt.LeftButton] = 0; MOUSE_BUTTONS[Qt.RightButton] = 2; MOUSE_BUTTONS[Qt.MiddleButton] = 1; var KEY_CODES = {}; KEY_CODES[Qt.Key_Alt] = 18; KEY_CODES[Qt.Key_Backspace] = 8; KEY_CODES[Qt.Key_CapsLock] = 20; KEY_CODES[Qt.Key_Control] = 17; KEY_CODES[Qt.Key_Delete] = 46; KEY_CODES[Qt.Key_Down] = 40; KEY_CODES[Qt.Key_End] = 35; KEY_CODES[Qt.Key_Enter] = 13; KEY_CODES[Qt.Key_Escape] = 27; KEY_CODES[Qt.Key_F1] = 112; KEY_CODES[Qt.Key_F10] = 121; KEY_CODES[Qt.Key_F11] = 122; KEY_CODES[Qt.Key_F12] = 123; KEY_CODES[Qt.Key_F2] = 113; KEY_CODES[Qt.Key_F3] = 114; KEY_CODES[Qt.Key_F4] = 115; KEY_CODES[Qt.Key_F5] = 116; KEY_CODES[Qt.Key_F6] = 117; KEY_CODES[Qt.Key_F7] = 118; KEY_CODES[Qt.Key_F8] = 119; KEY_CODES[Qt.Key_F9] = 120; KEY_CODES[Qt.Key_Home] = 36; KEY_CODES[Qt.Key_Insert] = 45; KEY_CODES[Qt.Key_Left] = 37; KEY_CODES[Qt.Key_NumLock] = 144; KEY_CODES[Qt.Key_PageDown] = 34; KEY_CODES[Qt.Key_PageUp] = 33; KEY_CODES[Qt.Key_Right] = 39; KEY_CODES[Qt.Key_ScrollLock] = 145; KEY_CODES[Qt.Key_Shift] = 16; KEY_CODES[Qt.Key_Super_L] = 91; KEY_CODES[Qt.Key_Super_R] = 93; KEY_CODES[Qt.Key_Tab] = 9; KEY_CODES[Qt.Key_Up] = 38; var KEY_NAMES = {}; KEY_NAMES[Qt.Key_Alt] = 'Alt'; KEY_NAMES[Qt.Key_Backspace] = 'Backspace'; KEY_NAMES[Qt.Key_CapsLock] = 'CapsLock'; KEY_NAMES[Qt.Key_Control] = 'Control'; KEY_NAMES[Qt.Key_Delete] = 'Delete'; KEY_NAMES[Qt.Key_Down] = 'Down'; KEY_NAMES[Qt.Key_End] = 'End'; KEY_NAMES[Qt.Key_Enter] = 'Enter'; KEY_NAMES[Qt.Key_Escape] = 'Escape'; KEY_NAMES[Qt.Key_F1] = 'F1'; KEY_NAMES[Qt.Key_F10] = 'F10'; KEY_NAMES[Qt.Key_F11] = 'F11'; KEY_NAMES[Qt.Key_F12] = 'F12'; KEY_NAMES[Qt.Key_F2] = 'F2'; KEY_NAMES[Qt.Key_F3] = 'F3'; KEY_NAMES[Qt.Key_F4] = 'F4'; KEY_NAMES[Qt.Key_F5] = 'F5'; KEY_NAMES[Qt.Key_F6] = 'F6'; KEY_NAMES[Qt.Key_F7] = 'F7'; KEY_NAMES[Qt.Key_F8] = 'F8'; KEY_NAMES[Qt.Key_F9] = 'F9'; KEY_NAMES[Qt.Key_Home] = 'Home'; KEY_NAMES[Qt.Key_Insert] = 'Insert'; KEY_NAMES[Qt.Key_Left] = 'Left'; KEY_NAMES[Qt.Key_NumLock] = 'NumLock'; KEY_NAMES[Qt.Key_PageDown] = 'PageDown'; KEY_NAMES[Qt.Key_PageUp] = 'PageUp'; KEY_NAMES[Qt.Key_Right] = 'Right'; KEY_NAMES[Qt.Key_ScrollLock] = 'ScrollLock'; KEY_NAMES[Qt.Key_Shift] = 'Shift'; KEY_NAMES[Qt.Key_Super_L] = 'Super_L'; KEY_NAMES[Qt.Key_Super_R] = 'Super_R'; KEY_NAMES[Qt.Key_Tab] = 'Tab'; KEY_NAMES[Qt.Key_Up] = 'Up'; function MouseEvent(type, mouse) { this.type = type; this.button = MOUSE_BUTTONS[mouse.button] || 0; this.buttons = mouse.buttons; this.x = mouse.x; this.y = mouse.y; this.clientX = mouse.x; this.clientY = mouse.y; this.pageX = mouse.x; this.pageY = mouse.y; this.altKey = (mouse.modifiers & Qt.AltModifier) > 0; this.ctrlKey = (mouse.modifiers & Qt.ControlModifier) > 0; this.metaKey = (mouse.modifiers & Qt.MetaModifier) > 0; this.shiftKey = (mouse.modifiers & Qt.ShiftModifier) > 0; } var prevX = 0; var prevY = 0; // eslint-disable-next-line no-unused-vars function MouseMoveEvent(mouse) { MouseEvent.call(this, 'mousemove', mouse); this.movementX = mouse.x - prevX; this.movementY = mouse.x - prevY; prevX = mouse.x; prevY = mouse.y; } // eslint-disable-next-line no-unused-vars function MouseWheelEvent(mouse) { MouseEvent.call(this, 'wheel', mouse); this.wheelDeltaX = mouse.angleDelta.x > 0 ? 120 : -120; this.wheelDeltaY = mouse.angleDelta.y > 0 ? 120 : -120; this.wheelDelta = this.wheelDeltaY; this.deltaX = mouse.angleDelta.x > 0 ? 100 : -100; this.deltaY = mouse.angleDelta.y > 0 ? 100 : -100; this.deltaZ = 0; } // eslint-disable-next-line no-unused-vars function KeyEvent(type, event) { this.type = type; this.which = KEY_CODES[event.key] || event.key; this.keyCode = this.which; this.charCode = event.text.charCodeAt(0); this.key = event.text || KEY_NAMES[event.key] || ' '; event.code = ( KEY_NAMES[event.key] || (event.text && ('Key' + event.text)) || 'UNKNOWN' ); this.repeat = event.isAutoRepeat; this.altKey = (event.modifiers & Qt.AltModifier) > 0; this.ctrlKey = (event.modifiers & Qt.ControlModifier) > 0; this.metaKey = (event.modifiers & Qt.MetaModifier) > 0; this.shiftKey = (event.modifiers & Qt.ShiftModifier) > 0; }
javascript
Parth Pratim Kashyap was the highest scorer with 35 while Zuned Shah and Hritik R contributed 19 and 14 respectively. GUWAHATI: WeRNorth East (WeRNE) entered into the final of the 2nd TOPCEM-ASJA All Assam Inter-School/Coaching Centre U-16 Cricket Championships defeating Rhinoland Academy by 7 wickets at the Nehru Stadium here today. Rhinoland, elected to bat, scored 130 losing all the wickets in their 35 overs. Parth Pratim Kashyap was the highest scorer with 35 while Zuned Shah and Hritik R contributed 19 and 14 respectively. For WeRNE, Bhim Chetry picked up 3 wickets for 9 runs in 4 overs. In reply, WeRNE scored 133/3 in 28. 2 overs. Aman Yadav remained not out on 50 while Arman Ali contributed 26. Aman’s 50 came in 46 balls and it included seven boundaries. Partha Kashyap took 2 wickets for Rhinoland. Aman Yadav was declared ‘Man of the Match’ for his match-winning knock. The second semi final will be held tomorrow between River Rine Cricket Coaching Centre and Gurdon Cricket Academy, Nalbari. Also Watch:
english
<gh_stars>0 {"name":"MOVIX TABLET 7,5 MG","harga":" Rp. 108.900/ kemasan","golongan":"http://medicastore.com/image_banner/obat_keras_dan_psikotropika.gif","kandungan":"Meloxicam / Meloksikam.","indikasi":"Terapi simtomatis jangka pendek osteoartritis eksaserbasi akut. Terapi simtomatis jangka panjang artritis reumatoid (poliartritis kronik).","kontraindikasi":"Ulkus lambung aktif. Pendarahan gastrointestinal, pembuluh darah otak, atau lainnya. Insufiensi hati berat.Insufiensi ginjal berat yang tidak didialisis. Penderita dengan gejala asma, polip hidung, angiodema, atau urtikaria jika diberikan asam asetil salisilat atau AINS lain. Hipersensitif terhadap meloksikam atau komponen lain dalam obat ini. Anak dan remaja usia kurang dari 15 tahun. Hamil dan laktasi.","perhatian":"Hati-hati bila memiliki riwayat penyakit gastrointestinal bagian atas dan penderita yang sedang mendapat terapi antihemostatik.pada penderita yang mengalami penurunan aliran darah ke ginjal dan penurunan volume darah, pemberian antiinflamasi nonsteroid dapat menyebabkan gagal ginjal yang akan sembuh bila pengobatan antiinflamasi nonsteroid dihentikan.Hamil dan laktasi.Dapat meningkatkan transaminase serum atau parameter lain dari fungsi hati.Dosis tidak boleh melebihi 7,5 mg untuk penderita dengan gagal ginjal stadium akhir dengan dialisis.","efeksamping":"Saluran cerna: dispepsia, mual, muntah, nyeri perut, konstipasi, kembung, diare, esofagitis, ulkus gastroduodenal, perdarahan gastrointestinal makroskopik, kolitis.Hati: Peningkatan sementara transaminase dan bilirubin.Ginjal: Peningkatan kadar kreatinin dan atau urea serum.Kulit dan mukosa: Pruritis, ruam kulit, stomatitis, urtikaria, fotosensitisasi.Sistem hematologi: anemia, leukopenia, thrombositopenia.Sistem kardiovaskular: edema, peningkatan tekanan darah, palpitasi. Saluran pernafasan: asma akut.Sistem syaraf pusat: kepala terasa ringan, pusing, vertigo, tinitus, mengantuk.","indeksamanwanitahamil":"C: Penelitian pada hewan menunjukkan efek samping pada janin ( teratogenik atau embriosidal atau lainnya) dan belum ada penelitian yang terkendali pada wanita atau penelitian pada wanita dan hewan belum tersedia. Obat seharusnya diberikan bila hanya keuntungan potensial memberikan alasan terhadap bahaya potensial pada janin.","kemasan":"Tablet 7,5 mg x 20's","dosis":"Osteoartritis 7,5 mg per hari, bila diperlukan bisa ditingkatkan menjadi 15 mg per hari.Artritis reumatoid 15 mg per hari, dosis dapat dikurangi hingga 7,5 mg per hari.Penderita gagal ginjal berat dengan dialisis, dosis tidak boleh melebihi 7,5 mg per hari.Dosis maksimal meloksikam yang dianjurkan adalah 15 mg per hari. tablet harus diminum bersama dengan makanan.","penyajian":"Dikonsumsi bersamaan dengan makanan atau tidak","pabrik":"Lapi Laboratories.","id":"9660","category_id":"4"}
json
betafarm.admin_links = function() { var add, bin, init; add = function(el, csrf) { $('#addLinkErrorList').detach(); var parent = el.parent(), grand_parent = parent.parent(), name = parent.find('input[name=link_name]'), name_val = name.val(), url = parent.find('input[name=link_url]'), url_val = url.val(), message = false, loading; if (!message) { message = $('<div class="message">Adding link...</div>').prependTo(grand_parent); } loading = window.setTimeout(function() { loading = false; grand_parent.css('visibility','hidden'); message.css('display','block'); parent.css('display','none'); grand_parent.css('visibility','visible'); }, 500); $.ajax({ type:'POST', url:el.attr('href'), data: { 'name':name_val, 'url':url_val, 'csrfmiddlewaretoken':csrf }, success: function() { if (!loading) { message.css('display','none'); parent.css('display','block'); grand_parent.css('visibility','visible'); } else { window.clearTimeout(loading); } $.ajax({ type:'GET', url:parent.attr('data-list-links'), success : function(data) { $('ul.yourLinks').replaceWith(data); name.val(''); url.val(''); } }); }, error: function(data) { if (!loading) { message.css('display','none'); parent.css('display','block'); grand_parent.css('visibility','visible'); } else { window.clearTimeout(loading); } var response = $.parseJSON(data.responseText), errors = [], $errorList = $('<ul id="addLinkErrorList" class="errorlist"></ul>'); if (response.hasOwnProperty('url')) { errors.push({ 'label': 'URL', 'msg': response.url, 'href': '#id_url' }); } if (response.hasOwnProperty('name')) { errors.push({ 'label': 'Title', 'msg': response.name, 'href': '#id_title' }); } $.each(errors, function(i, e) { var $link = $('<a class="error"></a>').attr('href', e.href) .append(e.label + ": " + e.msg.toString()); $errorList.append($('<li></li>').append($link)); }); $('div.addLink').before($errorList); } }); }; bin = function(el, csrf) { $.ajax({ type:'POST', url: el.attr('href'), data: { 'csrfmiddlewaretoken':csrf }, success: function() { var parent = el.parent(); parent.fadeOut('slow', function() { parent.remove(); }); } }); }; init = function() { $('li.links').bind('click', function(event) { var that = $(event.target), csrf = that.closest('form').find('input[name=csrfmiddlewaretoken]'); if (that.hasClass('delete')) { bin(that, csrf.val()); return false; } if (that.hasClass('add')) { add(that, csrf.val()); return false; } if (that.hasClass('error')) { var input_id = '#' + that.attr('href').split('#')[1]; $(input_id).focus(); return false; } }); }; return { 'init': init }; }();
javascript
<gh_stars>0 <div class="texto"> <h1>La nuez</h1> <div style="text-align:center;"> <img src="/img/lanuez1.jpg"> </div> <p>La <b>nuez es el fruto del nogal</b>, de forma redondeada u ovoide, con una cáscara dura y rugosa de color pardo rojiza. La parte comestible de su interior tiene un sabor dulce particular.</p> <p>Añadir nueces a nuestra dieta mejora el desempeño de tareas que requieren habilidades motoras debido a que mejora la conexión entre neuronas gracias a su contenido en <b>polifenoles</b> y otros <b>antioxidantes</b>.</p> <p>Seguir una dieta mediterránea enriquecida con <b>30 gramos de frutos secos</b>, al menos la mitad de ellos nueces, <b>reduce en un 30 % el riesgo de padecer enfermedades cardiovasculares</b> y, concretamente, disminuye en un 49 % la posibilidad de sufrir un ictus o accidente vascular cerebral.</p> <p>Según estudios recientes, las  nueces y almendras aumentan los niveles de <b>serotonina</b>. Esta sustancia que mejora la transmisión de señales nerviosas, reduce la sensación de hambre, disminuye la concentración de sustancias relacionadas con la inflamación, combate la obesidad abdominal y la hipertensión, mejora la salud cardíaca y nos pone de buen humor.</p> <p>Las nueces, además, son uno de los alimentos vegetales que más <b>ácidos grasos Omega 3</b> contienen en su composición. Contienen además otros nutrientes como <b>proteínas, vitaminas, minerales y antioxidantes.</b></p> <div style="text-align:center;"> <img src="/img/lanuez2.jpg"> </div> <p>Las nueces tienen también un <b>alto contenido de calcio</b>, y por lo tanto nos ayuda a mantener los huesos sanos. Ideales para las personas mayores propensas a sufrir de osteoporosis, y para las mujeres por los cambios hormonales. </p> <p><b>Nutrientes</b> por cada <b>100 gramos</b> de <b>nueces</b>:</p> <table class="table-bordered"> <tr><td>Calorías</td><td>660 Kcal.</td></tr> <tr><td>Proteínas</td><td>15 gr</td></tr> <tr><td>Hidratos de carbono</td><td>12 gr</td></tr> <tr><td>Grasas</td><td>62 gr</td></tr> <tr><td>Fibra</td><td>5,5 gr</td></tr> <tr><td>Vitamina B1</td><td>0,35 mg</td></tr> <tr><td>Vitamina B6</td><td>0,87 mg</td></tr> <tr><td>Vitamina B2</td><td>0,15 mg</td></tr> <tr><td>Vitamina C</td><td>1,3 mg</td></tr> <tr><td>Calcio</td><td>98 mg</td></tr> <tr><td>Hierro</td><td>3 mg</td></tr> <tr><td>Zinc</td><td>3 mg</td></tr> <tr><td>Potasio</td><td>440 mg</td></tr> <tr><td>Fósforo</td><td>330 mg</td></tr> <tr><td>Magnesio</td><td>150 mg</td></tr> </table> <h2>Cómo consumir las nueces</h2> <p>Estos son algunos <b>consejos prácticos</b> a la hora conservar y consumir las nueces para obtener el mayor beneficio posible:</p> <ul> <li><p>Comprarlas en <b>temporada y dentro de su cáscara</b>. Cuando vayamos a comerlas, lo mejor es abrirlas en el momento previo y consumirlas inmediatamente después. Solo de esta manera aprovecharemos sus muchos nutrientes. </p></li> <li><p>Las nueces <b>no deben comerse verdes ni tostadas o calientes</b>, ya que sus ácidos grasos se enrancian y producen elementos tóxicos. </p></li> <li><p>También las nueces <b>rancias deben evitarse</b>. Para saber si una nuez está rancia comprueba su sabor (probándola un poco), ya que es muy diferente. Por otra parte no deben estar amargas ni tener un aspecto envejecido o arrugado. </p></li> <li><p>Un buen momento para <b>consumir nueces es por la mañana</b>, cuando al organismo le hace falta más energía, y podemos hacerlo en el muesli, solas, o añadiéndolas a nuestros platos favoritos como guisos, ensaladas o postres. </p></li> <li><p>En cambio, las nueces están <b>contraindicadas si se padecen piedras en el riñón o la vesícula.</b> </p></li> </ul> <div style="text-align:center;"> <img src="/img/lanuez3.jpg"> </div> <p>Y <b>gastronómicamente</b> hablando, las nueces son un lujo de ingrediente. Deliciosas en ensaladas, maridan a la perfección con quesos, apio, manzanas, uvas y endivias. Con platos de pasta son estupendas. En salsas para carnes es muy interesante incluirlas ya que ayudan a “limpiar” las arterias y amortiguan un poco la ingesta de comidas con alto contenido graso. </p> <p>Son riquísimas con verduras y hortalizas horneadas. Y fundamentales con los típicos cardos con nueces. Por no hablar de la infinidad de dulces que las llevan entre sus ingredientes.</p> </div>
html
Lucknow: Union Home Minister Amit Shah on Tuesday asked Rahul Gandhi, Mamata Banerjee and Akhilesh Yadav to come for a debate on the Citizenship Amendment Act (CAA). “I have come to you for a Jan Jagran Abhiyan in Lucknow. Our government is hardly 8 months old but we are conducting this campaign to dispel the falsities being spread by the opposition against CAA,” Shah said . “Unrest is being caused in the country by the opposition parties. The CAA is not intended to take away the citizenship of anyone. The bill proposes to grant citizenship to persecuted minorities of three neighbouring countries,” he reiterated.
english
<gh_stars>0 /* * Copyright The OpenTelemetry Authors * SPDX-License-Identifier: Apache-2.0 */ package io.opentelemetry.sdk.metrics.internal.state; import io.opentelemetry.api.common.Attributes; import io.opentelemetry.api.metrics.ObservableDoubleMeasurement; import io.opentelemetry.api.metrics.ObservableLongMeasurement; import io.opentelemetry.context.Context; import io.opentelemetry.sdk.common.InstrumentationLibraryInfo; import io.opentelemetry.sdk.internal.ThrottlingLogger; import io.opentelemetry.sdk.metrics.data.AggregationTemporality; import io.opentelemetry.sdk.metrics.data.MetricData; import io.opentelemetry.sdk.metrics.exemplar.ExemplarFilter; import io.opentelemetry.sdk.metrics.internal.aggregator.Aggregator; import io.opentelemetry.sdk.metrics.internal.descriptor.InstrumentDescriptor; import io.opentelemetry.sdk.metrics.internal.descriptor.MetricDescriptor; import io.opentelemetry.sdk.metrics.internal.export.CollectionInfo; import io.opentelemetry.sdk.metrics.internal.view.AttributesProcessor; import io.opentelemetry.sdk.metrics.view.View; import io.opentelemetry.sdk.resources.Resource; import java.util.HashMap; import java.util.Map; import java.util.concurrent.locks.ReentrantLock; import java.util.function.Consumer; import java.util.logging.Level; import java.util.logging.Logger; import javax.annotation.Nullable; /** * Stores aggregated {@link MetricData} for asynchronous instruments. * * <p>This class is internal and is hence not for public use. Its APIs are unstable and can change * at any time. */ public final class AsynchronousMetricStorage<T> implements MetricStorage { private static final ThrottlingLogger logger = new ThrottlingLogger(Logger.getLogger(DeltaMetricStorage.class.getName())); private final MetricDescriptor metricDescriptor; private final ReentrantLock collectLock = new ReentrantLock(); private final AsyncAccumulator<T> asyncAccumulator; private final TemporalMetricStorage<T> storage; private final Runnable metricUpdater; /** Constructs asynchronous metric storage which stores nothing. */ public static MetricStorage empty() { return EmptyMetricStorage.INSTANCE; } /** Constructs storage for {@code double} valued instruments. */ public static <T> MetricStorage doubleAsynchronousAccumulator( View view, InstrumentDescriptor instrument, Consumer<ObservableDoubleMeasurement> metricUpdater) { final MetricDescriptor metricDescriptor = MetricDescriptor.create(view, instrument); Aggregator<T> aggregator = view.getAggregation().createAggregator(instrument, ExemplarFilter.neverSample()); final AsyncAccumulator<T> measurementAccumulator = new AsyncAccumulator<>(instrument); if (Aggregator.empty() == aggregator) { return empty(); } final AttributesProcessor attributesProcessor = view.getAttributesProcessor(); // TODO: Find a way to grab the measurement JUST ONCE for all async metrics. final ObservableDoubleMeasurement result = new ObservableDoubleMeasurement() { @Override public void observe(double value, Attributes attributes) { T accumulation = aggregator.accumulateDoubleMeasurement(value, attributes, Context.current()); if (accumulation != null) { measurementAccumulator.record( attributesProcessor.process(attributes, Context.current()), accumulation); } } @Override public void observe(double value) { observe(value, Attributes.empty()); } }; return new AsynchronousMetricStorage<>( metricDescriptor, aggregator, measurementAccumulator, () -> metricUpdater.accept(result)); } /** Constructs storage for {@code long} valued instruments. */ public static <T> MetricStorage longAsynchronousAccumulator( View view, InstrumentDescriptor instrument, Consumer<ObservableLongMeasurement> metricUpdater) { final MetricDescriptor metricDescriptor = MetricDescriptor.create(view, instrument); Aggregator<T> aggregator = view.getAggregation().createAggregator(instrument, ExemplarFilter.neverSample()); final AsyncAccumulator<T> measurementAccumulator = new AsyncAccumulator<>(instrument); final AttributesProcessor attributesProcessor = view.getAttributesProcessor(); // TODO: Find a way to grab the measurement JUST ONCE for all async metrics. final ObservableLongMeasurement result = new ObservableLongMeasurement() { @Override public void observe(long value, Attributes attributes) { T accumulation = aggregator.accumulateLongMeasurement(value, attributes, Context.current()); if (accumulation != null) { measurementAccumulator.record( attributesProcessor.process(attributes, Context.current()), accumulation); } } @Override public void observe(long value) { observe(value, Attributes.empty()); } }; return new AsynchronousMetricStorage<>( metricDescriptor, aggregator, measurementAccumulator, () -> metricUpdater.accept(result)); } private AsynchronousMetricStorage( MetricDescriptor metricDescriptor, Aggregator<T> aggregator, AsyncAccumulator<T> asyncAccumulator, Runnable metricUpdater) { this.metricDescriptor = metricDescriptor; this.asyncAccumulator = asyncAccumulator; this.metricUpdater = metricUpdater; this.storage = new TemporalMetricStorage<>(aggregator, /* isSynchronous= */ false); } @Override @Nullable public MetricData collectAndReset( CollectionInfo collectionInfo, Resource resource, InstrumentationLibraryInfo instrumentationLibraryInfo, long startEpochNanos, long epochNanos, boolean suppressSynchronousCollection) { AggregationTemporality temporality = TemporalityUtils.resolveTemporality( collectionInfo.getSupportedAggregation(), collectionInfo.getPreferredAggregation()); collectLock.lock(); try { try { metricUpdater.run(); } catch (RuntimeException e) { logger.log( Level.WARNING, "An exception occurred invoking callback for instrument " + getMetricDescriptor().getName() + ".", e); return null; } return storage.buildMetricFor( collectionInfo.getCollector(), resource, instrumentationLibraryInfo, getMetricDescriptor(), temporality, asyncAccumulator.collectAndReset(), startEpochNanos, epochNanos); } finally { collectLock.unlock(); } } @Override public MetricDescriptor getMetricDescriptor() { return metricDescriptor; } /** Helper class to record async measurements on demand. */ private static final class AsyncAccumulator<T> { private final InstrumentDescriptor instrument; private Map<Attributes, T> currentAccumulation = new HashMap<>(); AsyncAccumulator(InstrumentDescriptor instrument) { this.instrument = instrument; } public void record(Attributes attributes, T accumulation) { if (currentAccumulation.size() >= MetricStorageUtils.MAX_ACCUMULATIONS) { logger.log( Level.WARNING, "Instrument " + instrument.getName() + " has exceeded the maximum allowed accumulations (" + MetricStorageUtils.MAX_ACCUMULATIONS + ")."); return; } // TODO: error on metric overwrites currentAccumulation.put(attributes, accumulation); } public Map<Attributes, T> collectAndReset() { Map<Attributes, T> result = currentAccumulation; currentAccumulation = new HashMap<>(); return result; } } }
java
<filename>templates/index.html <!DOCTYPE html> <html lang="en"> <head> <title>Sign Language Alphabet Recognition</title> <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/css/bootstrap.min.css"> <link href="https://fonts.googleapis.com/css?family=Montserrat" rel="stylesheet"> <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.4.1/js/bootstrap.min.js"></script> <style> body { font: 20px Montserrat, sans-serif; line-height: 1.8; color: #f5f6f7; } p {font-size: 16px;} .margin {margin-bottom: 25px;} .bg-1 { background-color: #1abc9c; /* Green */ color: #ffffff; } .bg-2 { background-color: #474e5d; /* Dark Blue */ color: #ffffff; } .bg-3 { background-color: #ffffff; /* White */ color: #555555; } .bg-4 { background-color: #2f2f2f; /* Black Gray */ color: #fff; } .container-fluid { padding-top: 70px; padding-bottom: 70px; } .navbar { padding-top: 15px; padding-bottom: 15px; border: 0; border-radius: 0; margin-bottom: 0; font-size: 12px; letter-spacing: 5px; } .navbar-nav li a:hover { color: #1abc9c !important; } #container-v { overflow-y: hidden; width:100% !important; } .child_con { height: 500px; float: left; margin: 1em; } </style> </head> <body> <!-- Navbar --> <nav class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#myNavbar"> <span class="icon-bar"></span> <span class="icon-bar"></span> <span class="icon-bar"></span> </button> <a class="navbar-brand" href="#">Home</a> </div> <div class="collapse navbar-collapse" id="myNavbar"> <ul class="nav navbar-nav navbar-right"> <li><a href="#about">ABOUT US</a></li> <li><a href="#practice">TRY US</a></li> <li><a href="#details">FIND US</a></li> <li><a href="/practice">Sample video</a></li> </ul> </div> </div> </nav> <!-- First Container --> <div id="about" class="container-fluid bg-1 text-center"> <h3 class="margin">A One Stop Solution for Sign-Language Learning</h3> <img src="{{url_for('static', filename='be-kind.jpg')}}" class="img-responsive img-circle margin" style="display:inline" alt="Bird" width="350" height="350"> <h3>Sign languages facilitate communication using hand signs. Historically there has been some form of sign language all across the globe. This project is a humble effort to help practice sign language alphabets. </h3> </br> <a href="#practice" class="btn btn-default btn-lg"> <span class="glyphicon glyphicon-facetime-video"></span> Practice Signs </a> </div> <!-- Second Container --> <div id="practice" class="container-fluid bg-2 text-center"> <h3 class="margin">A One Stop Solution for Sign-Language Learning</h3> <p> This is a deep learning based sign language classifier. Kindly allow your camera to video stream your hand gestures with a plain background for accurate predictions. Refer to image below and try out different alphabets.</p> <div id="container-v" > <div class="child_con" style="width:40% !important" > <img src="{{ url_for('video_feed') }}" style="width:100% !important"> </div> <div class="child_con" width="58%" > <img src="{{url_for('static', filename='signLanguage.png')}}" height="500px" align="right"> <!-- <img src="./signLanguage.png" >--> </div> </div> </div> <!-- Third Container (Grid) --> <div id="details" class="container-fluid bg-3 text-center"> <h3 class="margin">Where To Find Us?</h3><br> <div class="row"> <div class="col-sm-4" style="padding:0% 5% 0% 4%"> <p> <NAME> ,<NAME>, <NAME> , Computer Vision and Deep Learning enthusiast pursuing btect in computer science</p> <a href="mailto:<EMAIL>">Email Me</a> <img src="{{url_for('static', filename='usc.png')}}" class="img-responsive margin" style="width:100%; height:200px;padding:20px;" alt="Image"> </div> <div class="col-sm-4" style="padding:0% 4% 0% 4%"> <p>This project and installation procedure is available for public on github. Please use the below url to download.</p> <a href="https://github.com/MeghnaUrs/Web-based-Sign-Language-Classifier.git">Clone Me</a> <img src="{{url_for('static', filename='git-hub.png')}}" class="img-responsive margin" style="width:100%;height:200px;" alt="Image"> </div> <div class="col-sm-4" style="padding:0% 4% 0% 5%"> <p>Currently, I am working on launching this project online on Heroku. Kindly come back after few days for the link.</p> <a href="#">Coming Soon</a> <img src="{{url_for('static', filename='heroku.png')}}" class="img-responsive margin" style="width:100%;height:200px;padding:20px;" alt="Image"> </div> </div> </div> <!-- Footer --> <footer class="container-fluid bg-4 text-center"> <p>Bootstrap Theme Made By <a href="https://www.w3schools.com">www.w3schools.com</a></p> </footer> </body> </html>
html
# Copyright (c) Facebook, Inc. and its affiliates. from minihack import MiniHackNavigation from minihack.level_generator import PATH_DAT_DIR from gym.envs import registration from nle.nethack import Command from nle import nethack import os MOVE_ACTIONS = tuple(nethack.CompassDirection) APPLY_ACTIONS = tuple(list(MOVE_ACTIONS) + [Command.PICKUP, Command.APPLY]) class KeyRoomGenerator: def __init__(self, room_size, subroom_size, lit): des_path = os.path.join(PATH_DAT_DIR, "key_and_door_tmp.des") with open(des_path) as f: df = f.read() df = df.replace("RS", str(room_size)) df = df.replace("SS", str(subroom_size)) if not lit: df = df.replace("lit", str("unlit")) self.des_file = df def get_des(self): return self.des_file class MiniHackKeyDoor(MiniHackNavigation): """Environment for "key and door" task.""" def __init__(self, *args, des_file, **kwargs): kwargs["character"] = kwargs.pop("charachter", "rog-hum-cha-mal") kwargs["max_episode_steps"] = kwargs.pop("max_episode_steps", 200) kwargs["actions"] = kwargs.pop("actions", APPLY_ACTIONS) kwargs["autopickup"] = kwargs.pop("autopickup", False) super().__init__(*args, des_file=des_file, **kwargs) def step(self, action: int): # If apply action is chosen if self._actions[action] == Command.APPLY: key_key = self.key_in_inventory("key") # if key is in the inventory if key_key is not None: # Check if there is a closed door nearby dir_key = self.get_object_direction("closed door") if dir_key is not None: # Perform the following NetHack steps self.env.step(Command.APPLY) # press apply self.env.step(ord(key_key)) # choose key from the inv self.env.step(dir_key) # select the door's direction obs, done = self.env.step(ord("y")) # press y obs, done = self._perform_known_steps( obs, done, exceptions=True ) # Make sure the door is open while True: obs, done = self.env.step(dir_key) obs, done = self._perform_known_steps( obs, done, exceptions=True ) if ( self.get_object_direction("closed door", obs) is None ): break obs, reward, done, info = super().step(action) return obs, reward, done, info class MiniHackKeyRoom(MiniHackKeyDoor): def __init__(self, *args, room_size, subroom_size, lit, **kwargs): lev_gen = KeyRoomGenerator(room_size, subroom_size, lit) des_file = lev_gen.get_des() super().__init__(*args, des_file=des_file, **kwargs) class MiniHackKeyRoom5x5Fixed(MiniHackKeyDoor): def __init__(self, *args, **kwargs): super().__init__(*args, des_file="key_and_door.des", **kwargs) class MiniHackKeyRoom5x5(MiniHackKeyRoom): def __init__(self, *args, **kwargs): super().__init__( *args, room_size=5, subroom_size=2, lit=True, **kwargs ) class MiniHackKeyRoom5x5Dark(MiniHackKeyRoom): def __init__(self, *args, **kwargs): super().__init__( *args, room_size=5, subroom_size=2, lit=False, **kwargs ) class MiniHackKeyRoom15x15(MiniHackKeyRoom): def __init__(self, *args, **kwargs): kwargs["max_episode_steps"] = kwargs.pop("max_episode_steps", 400) super().__init__( *args, room_size=15, subroom_size=5, lit=True, **kwargs ) class MiniHackKeyRoom15x15Dark(MiniHackKeyRoom): def __init__(self, *args, **kwargs): kwargs["max_episode_steps"] = kwargs.pop("max_episode_steps", 400) super().__init__( *args, room_size=15, subroom_size=5, lit=False, **kwargs ) registration.register( id="MiniHack-KeyRoom-Fixed-S5-v0", entry_point="minihack.envs.keyroom:MiniHackKeyRoom5x5Fixed", ) registration.register( id="MiniHack-KeyRoom-S5-v0", entry_point="minihack.envs.keyroom:MiniHackKeyRoom5x5", ) registration.register( id="MiniHack-KeyRoom-S15-v0", entry_point="minihack.envs.keyroom:MiniHackKeyRoom15x15", ) registration.register( id="MiniHack-KeyRoom-Dark-S5-v0", entry_point="minihack.envs.keyroom:MiniHackKeyRoom5x5Dark", ) registration.register( id="MiniHack-KeyRoom-Dark-S15-v0", entry_point="minihack.envs.keyroom:MiniHackKeyRoom15x15Dark", )
python
package main // import "gamecenter.mobi/paicode/client/gamepaicore" import ( "os" "fmt" "net/http" _ "github.com/gocraft/web" "github.com/spf13/cobra" clicore "gamecenter.mobi/paicode/client" "github.com/hyperledger/fabric/peerex" gamepaicorecommon "gamecenter.mobi/paicode/client/gamepaicorecommon" ) const defPaicodeName string = "gamepaicore_v01" const defRegion string = "gamepai01" var mainCmd = &cobra.Command{ Use: "gamepai [listeningaddr]", PreRunE: func(cmd *cobra.Command, args []string) error { config := &peerex.GlobalConfig{} //TODO: apply log to file err := config.InitGlobal(true) if err != nil{ return err } err = os.MkdirAll(config.GetPeerFS(), 0777) if err != nil{ return err } gamepaicorecommon.DefClient = clicore.NewClientCore(config) if !offlinemode { conn := peerex.ClientConn{} err := conn.Dialdefault() if err != nil{ return err } gamepaicorecommon.DefClient.PrepareRpc(conn) gamepaicorecommon.DefClient.SetRpcRegion(defRegion) gamepaicorecommon.DefClient.Rpc.Rpcbuilder.ChaincodeName = defPaicodeName restLogger.Infof("Start rpc, chaincode is %s", gamepaicorecommon.DefClient.Rpc.Rpcbuilder.ChaincodeName) }else{ restLogger.Info("Run under off-line mode") } return nil }, Run: func(cmd *cobra.Command, args []string){ if listenaddr == ""{ listenaddr = "localhost:7280" } gamepaicorecommon.DefClient.Accounts.KeyMgr.Load() //defer defClient.Accounts.KeyMgr.Persist() // Initialize the REST service object restLogger.Infof("Initializing the REST service on %s", listenaddr) router := gamepaicorecommon.BuildRouter() err := http.ListenAndServe(listenaddr, router) if err != nil { restLogger.Errorf("ListenAndServe: %s", err) } if gamepaicorecommon.DefClient.IsRpcReady(){ gamepaicorecommon.DefClient.ReleaseRpc() } }, } var exitCmd = &cobra.Command{ Use: "exit", Run: func(cmd *cobra.Command, args []string){ //TODO, call exit API? }, } var restLogger = peerex.InitLogger("gamepaiREST") var debugmode bool = false var offlinemode bool = false var logtostd bool = false var listenaddr string = "" func main() { mainCmd.Flags().BoolVar(&debugmode, "debug", false, "run http server with debug output") mainCmd.Flags().BoolVar(&offlinemode, "offline", false, "not communicate with other peers") mainCmd.Flags().BoolVar(&logtostd, "logtostd", false, "put log to std out") mainCmd.Flags().StringVar(&listenaddr, "listen", "", "set listening addr") mainCmd.AddCommand(exitCmd) err := mainCmd.Execute() if err != nil{ fmt.Println("Command handler error:", err) os.Exit(1) } }
go
The official Wholesale Price Index for 'All Commodities' (Base: 2011-12=100) for the month of May, 2019 rose by 0.2 percent to 121.2 (provisional) from 120.9 (provisional) for the previous month. The annual rate of inflation, based on monthly WPI, stood at 2.45% (provisional) for the month of May,2019 (over May,2018) as compared to 3.07% (provisional) for the previous month and 4.78% during the corresponding month of the previous year. Build up inflation rate in the financial year so far was 1.08% compared to a build up rate of 1.72% in the corresponding period of the previous year. PRIMARY ARTICLES (Weight 22.62%) The index for ‘Food Articles’ group remained unchanged at its previous month level of 150.1. The items which showed decrease during the month are betel leaves (5%), fruits & vegetables (2%) and tea and wheat (1% each). The items which showed increase during the month are fish-marine (7% each), arhar (5%), urad, peas/chawali and bajra (4% each), egg (3% each), masur and moong (2% each) and gram, barley, ragi and fish-inland (1% each). The index for ' Non-Food Articles' group rose by 0.9 percent to 127.8 (provisional) from 126.7 (provisional) for the previous month due to higher price of floriculture and safflower (kardi seed) (6% each), raw rubber, hides (raw) and groundnut seed (4% each), linseed (3%) and raw jute, mesta, fodder, cotton seed, sunflower, raw silk and rape & mustard seed (1% each). However, the price of copra (coconut) (3%), skins (raw), soyabean and coir fibre (2% each) and gingelly seed (sesamum), niger seed and gaur seed (1% each) declined. The index for 'Minerals' group declined by 4.2 percent to 138 (provisional) from 144 (provisional) for the previous month due to lower price of copper concentrate (14%), bauxite (10%) and zinc concentrate, manganese ore and chromite (2% each). However, the price of iron ore (14%), lead concentrate (2%) and limestone (1%) moved up. The index for 'Crude Petroleum & Natural Gas' group rose by 3.5 percent to 92.8 (provisional) from 89.7 (provisional) for the previous month due to higher price of crude petroleum (5%) and natural gas (1%). FUEL & POWER (Weight 13.15%) The index for 'Mineral Oils' group rose by 1 percent to 96.4 (provisional) from 95.4 (provisional) for the previous month due to higher price of naphtha (4%), ATF (3%) and LPG, kerosene, furnace oil and HSD (1% each). MANUFACTURED PRODUCTS (Weight 64.23%) oil, processed tea, maida and sooji (rawa ) (2% each) and palm oil, instant coffee, manufacture of health supplements, manufacture of processed ready to eat food, sunflower oil, rice bran oil, wheat flour (atta) and other meats, preserved/processed (1% each) declined. The index for 'Manufacture Of Beverages' group declined by 0.2 percent to 122.5 (provisional) from 122.7 (provisional) for the previous month due to lower price of aerated drinks/soft drinks (incl. soft drink concentrates), bottled mineral water and spirits (1% each). However, the price of beer, country liquor and rectified spirit (1% each) moved up. The index for 'Manufacture Of Tobacco Products' group declined by 1.6 percent to 152.1 (provisional) from 154.6 (provisional) for the previous month due to lower price of other tobacco products (4%). The index for 'Manufacture Of Textiles' group rose by 0.3 percent to 119.7 (provisional) from 119.4 (provisional) for the previous month due to higher price of manufacture of knitted and crocheted fabrics (3%) and manufacture of cordage, rope, twine and netting and weaving & finishing of textiles (1% each). However, the price of viscose yarn (1%) declined. The index for 'Manufacture Of Wearing Apparel' group rose by 0.5 percent to 139.2 (provisional) from 138.5 (provisional) for the previous month due to higher price of manufacture of wearing apparel (woven), except fur apparel (1%). However, the price of manufacture of knitted and crocheted apparel (1%) declined. The index for 'Manufacture Of Leather And Related Products' group declined by 0.9 percent to 119.7 (provisional) from 120.8 (provisional) for the previous month due to lower price of chrome tanned leather and leather shoe (2% each). However, the price of travel goods, handbags, office bags, etc. (3%) and vegetable tanned leather and waterproof footwear (1% each) moved up. The index for 'Manufacture Of Wood And Of Products Of Wood And Cork ' group rose by 0.5 percent to 134.3 (provisional) from 133.6 (provisional) for the previous month due to higher price of wooden panel and wood cutting, processed/sized (2% each) and lamination wooden sheets/veneer sheets and particle boards (1% each). However, the price of wooden block - compressed or not (3%) declined. The index for 'Manufacture Of Paper And Paper Products' group declined by 0.2 percent to 123.5 (provisional) from 123.7 (provisional) for the previous month due to lower price of newsprint (3%), laminated paper and base paper (2% each) and tissue paper, kraft paper, card board and corrugated paper board (1% each). However, the price of duplex paper and poster paper (1% each) moved up. The index for 'Printing And Reproduction Of Recorded Media ' group rose by 0.5 percent to 148.3 (provisional) from 147.5 (provisional) for the previous month due to higher price of printed labels/posters/calendars (5%). However, the price of sticker plastic (2%) declined. The index for 'Manufacture Of Pharmaceuticals, Medicinal Chemical And Botanical Products' group rose by 0.9 percent to 125.5 (provisional) from 124.4 (provisional) for the previous month due to higher price of anti cancer drugs (25%), anti-retroviral drugs for HIV treatment (4%), vials/ampoule, glass, empty or filled (3%), sulpha drugs and anti inflammatory preparation (2% each) and vaccine for polio and antibiotics & preparations thereof (1% each). However, the price of antipyretic, analgesic, anti-inflammatory formulations (2%) declined. The index for 'Manufacture Of Rubber And Plastics Products' group declined by 1 percent to 109.2 (provisional) from 110.3 (provisional) for the previous month due to lower price of plastic components and rubber components & parts (4% each), plastic box/container, medium & heavy commercial vehicle tyre and elastic webbing (3% each), tractor tyre and rubber moulded goods (2% each) and motor car tyre, PVC fittings & other accessories, polythene film, acrylic/plastic sheet, polyester film (non-metalized), rubber tread, solid rubber tyres/wheels, plastic bag and plastic film (1% each). However, the price of plastic button (5%), tooth brush, plastic furniture, plastic tube (flexible/non-flexible) and polypropylene film (3% each), processed rubber and conveyer belt (fibre based) (2% each) and plastic bottle, plastic tank, rubber cloth/sheet, 2/3 wheeler rubber tube and thermocol (1% each) moved up. The index for 'Manufacture Of Other Non-Metallic Mineral Products' group rose by 1.4 percent to 118.4 (provisional) from 116.8 (provisional) for the previous month due to higher price of slag cement and pozzolana cement (4% each), rod, asbestos corrugated sheet, railway sleeper and stone, chip (1% each). However, the price of ordinary sheet glass, toughened glass, marble slab, non ceramic tiles, lime and calcium carbonate, fibre glass incl. sheet, opthalmic lens and granite (1% each) declined. The index for 'Manufacture Of Basic Metals' group declined by 0.8 percent to 109.7 (provisional) from 110.6 (provisional) for the previous month due to lower price of MS castings, aluminium disk and circles and mild steel (MS) blooms (3% each), sponge iron/direct reduced iron (DRI), aluminium ingot and MS pencil ingots (2% each) and ferrosilicon, hot rolled (HR) coils & sheets, including narrow strip, MS bright bars, aluminium shapes - bars/rods/flats, alloy steel wire rods, aluminium powder, stainless steel coils, strips & sheets, pig iron, GP/GC sheet, ferromanganese, copper shapes - bars/rods/plates/strips and aluminium alloys (1% each). However, the price of ferrochrome (3%), silicomanganese (2%) and steel forgings - rough, stainless steel bars & rods, including flats, alloy steel castings and MS wire rods (1% each) moved up. The index for 'Manufacture Of Fabricated Metal Products, Except Machinery And Equipment' group declined by 0.3 percent to 116.9 (provisional) from 117.2 (provisional) for the previous month due to lower price of sanitary fittings of iron & steel (7%), electrical stamping- laminated or otherwise (4%), boilers (3%) and bolts, screws, nuts & nails of iron & steel, metal cutting tools & accessories, steel structures and cylinders (1% each). However, the price of bracket and steel door (3% each), forged steel rings, hand tools and pressure cooker (2% each) and stainless steel tank, jigs & fixture and steel pipes, tubes & poles (1% each) moved up. The index for 'Manufacture Of Computer, Electronic And Optical Products' group rose by 0.4 percent to 111.4 (provisional) from 111 (provisional) for the previous month due to higher price of electro-diagnostic apparatus, used in medical, surgical, dental or veterinary sciences and meter (non-electrical) (3% each) and capacitors, air conditioner and sunglasses (1% each). However, the price of modems (6%) and electronic printed circuit board (PCB)/micro circuit (2%) declined. The index for 'Manufacture Of Machinery And Equipment' group rose by 0.5 percent to 112.7 (provisional) from 112.1 (provisional) for the previous month due to higher price of deep freezers (9%), drilling machine and pressure vessel and tank for fermentation & other food processing (6% each), injection pump (5%), separator and rice mill machinery (4% each), open end spinning machinery (3%), air or vacuum pump and furnaces & ovens (2% each) and centrifugal pumps, soil preparation & cultivation machinery (other than tractors), air gas compressor including compressor for refrigerator, pharmaceutical machinery, oil pump, hydraulic pump, sewing machines, chemical equipment & system and filtration equipment (1% each). However, the price of conveyors - non-roller type (3%), dumper and moulding machine (2% each) and gasket kit, roller and ball bearings, cranes, manufacture of bearings, gears, gearing and driving elements and excavator (1% each) declined. The index for 'Manufacture Of Motor Vehicles, Trailers And Semi-Trailers' group rose by 0.3 percent to 113.3 (provisional) from 113 (provisional) for the previous month due to higher price of brake pad/brake liner/brake block/brake rubber, others (3%), shock absorbers (2%) and piston ring/piston and compressor, wheels/wheels & parts, body (for commercial motor vehicles), shafts of all kinds, silencer and damper, chain, gear box and parts and engine (1% each). However, the price of axles of motor vehicles (2%) and cylinder liners (1%) declined. The index for 'Manufacture Of Other Transport Equipment' group rose by 1.2 percent to 114.8 (provisional) from 113.4 (provisional) for the previous month due to higher price of motor cycles (2%), wagons (1%). However, the price of bicycles of all types (1%) declined. The index for 'Manufacture Of Furniture' group rose by 0.1 percent to 129.4 (provisional) from 129.3 (provisional) for the previous month due to higher price of wooden furniture and iron/steel furniture (1% each). However, the price of foam and rubber mattress (2%) and steel shutter gate (1%) declined. The index for 'Other Manufacturing' group declined by 0.1 percent to 106.3 (provisional) from 106.4 (provisional) for the previous month due to lower price of silver (1%). However, the price of non mechanical toys and stringed musical instruments (incl. santoor, guitars, etc.) (2% each) and cricket bat, football and plastic moulded-others toys (1% each) moved up. WPI FOOD INDEX (Weight 24.38%) The rate of inflation based on WPI Food Index consisting of ‘Food Articles’ from Primary Articles group and ‘Food Product’ from Manufactured Products group increased from 4.95% in April, 2019 to 5.10% in May, 2019. FINAL INDEX FOR THE MONTH OF MARCH, 2019 (BASE YEAR:2011-12=100) For the month of March, 2019, the final Wholesale Price Index for 'All Commodities' (Base: 2011-12=100) stood at 119.9 as compared to 120 (provisional) and annual rate of inflation based on final index stood at 3.10 percent as compared to 3.18 percent (provisional) respectively as reported on 15.04.2019.
english
Turns out that the spirit of threats has not spared even the school that the victim of Asaram rape case attended. The girl was 16 years old when this heinous crime took place, but there were attempts to prove that she was at least 18 years old, since the nature of punishment is much higher for the rape of minors. The principal of the girl’s school has told some sources that he was under a lot of pressure to fudge the girl’s date of birth in the school records in order to help the 77-year-old self-styled spiritual guru who was convicted today. “I was pressured, threatened… have suffered mentally and physically, I received threatening letters. I was to mention the date of birth as in the records, they wanted it to be manipulated. ” the principal of the school in Shahjahanpur, Uttar Pradesh stated. Asaram has been charged under POCSO – a stringent law to protect children from sexual assaults. Under the law, he faces a maximum punishment of life imprisonment. Asaram had raped the girl after she was taken to his Jodhpur ashram in 2013 on the pretext of exorcism. Over the years, nine people who agreed to testify against him in court were attacked. Three of them died. Several police officials and reporters have too been threatened. As an independent media platform, we do not take advertisements from governments and corporate houses. It is you, our readers, who have supported us on our journey to do honest and unbiased journalism. Please contribute, so that we can continue to do the same in future.
english
<reponame>wall72/XM-Miner /** * Title: <p> * Description: <p> * Copyright: Copyright (c) <p> * Company: <p> * @author * @version 1.0 */ package xmminer.xmlib.xmcompute; import java.io.*; import xmminer.xmlib.xmfileprocess.*; public class CXMSetUVRowNumber { private RandomAccessFile raf; private File linked_list_file; private String linked_list_file_name; private String project; private String arc; private String column; private long file_size; private long set_position; private CXMTransByteValue tbv = new CXMTransByteValue(); private CXMFileInfo cfi = new CXMFileInfo(); public CXMSetUVRowNumber() { } public void setFileStatus(String project_name, String arc_name, String column_name) { project = project_name; arc = arc_name; column = column_name; file_size = 0; set_position = 0; cfi.setFileStatus(project,arc); cfi.setColumnName(column); fileOpen(); } public void close() { try { raf.close(); } catch (Exception foe) { System.out.println("linked_list_file_close_error"); } } private void fileOpen() { try { linked_list_file_name = cfi.getIndexPath() + arc + "_" + cfi.getColumnSequence() + "_uvrn.idx"; linked_list_file = new File(linked_list_file_name); linked_list_file.delete(); raf = new RandomAccessFile(linked_list_file,"rw"); } catch (Exception foe) { System.out.println("linked_list_file_open_error"); } } public byte[] getValuePosition() { try { return tbv.getLongToByte(5, raf.getFilePointer()); } catch (Exception gvpe) { System.out.println("get_value_position_error"); return null; } } public void setValuePosition(byte[] byte_value) { long value_position = tbv.getByteToLong(byte_value); try { raf.seek(value_position); if (file_size > value_position) { int value_number = raf.readInt(); set_position = raf.getFilePointer(); long next_position = raf.readLong(); if (next_position!=0) { setNextPosition(next_position); } } } catch (Exception gvpe) { System.out.println("set_value_position_error"); } } private void setNextPosition(long position) { try { raf.seek(position); if (file_size > position) { int value_number = raf.readInt(); set_position = raf.getFilePointer(); long next_position = raf.readLong(); if (next_position!=0) { setNextPosition(next_position); } } } catch (Exception gvpe) { System.out.println("set_value_position_error"); } } public void setRowNumber(int row_number) { try { long new_position = file_size; if (set_position < file_size) { raf.seek(set_position); raf.writeLong(new_position); } raf.seek(new_position); raf.writeInt(row_number); raf.writeLong(0); file_size = raf.getFilePointer(); set_position = file_size; } catch(Exception srne) { System.out.println("set_row_number_error"); } } }
java
The Infinix Zero 20 has been just been launched in the Indian market for a starting price of Rs 15,999. Among other things of note, the device is marketed as having the very first 60MP OIS-enabled selfie shooter. But is that the only redeeming feature on the Zero 20 or is there more to it than meets the eye? Let’s find out in this detailed review of the smartphone. As far as budget smartphones go, the Infinix Zero 20 gets a lot of things right. It clicks great selfies, has a solid design, a bright display, and acceptable performance. Its low-light capabilities can be a little lacking and the UI is not the cleanest in the segment. However, if these issues don’t register in your buying decision, then the Zero 20 should be a good purchase. The Zero 20 looks classy with its rectangular, slab-like flat design. The phone’s dark matte finish goes well with the polished silver rails and the raised camera housing. As per usual, a USB Type-C port and a speaker grille can be found at the bottom with the addition of a 3. 5mm headphone jack. After having handled the phone for a while I found the construction to be balanced, robust and elegantly done. In short, the Zero 20 should be at the top of your consideration list if you fancy a stylish exterior. Display-wise the device packs in a 6. 7-inch AMOLED panel with 90Hz refresh rate. There’s a dated waterdrop-style notch at the top to house this OIS 60MP selfie camera and the bezels around the panel are not too slim either. In any case, the overall viewing experience provided by the device is decent enough. The colours and brightness levels were to my liking although a slight blue-ish tent can be seen from time to time when the screen is tilted at an angle. There’s also no HDR capability on the panel with OTT content restricted to just HD via the WideVine L1 certification. I also saw the 90Hz refresh rate stutter a bit in heavy apps like YouTube and Facebook. Coming now to the camera setup, the primary shooter is a 108MP sensor supported by a 13MP ultra-wide and 2MP macro sensors. The 60MP OIS selfie camera is the headliner of the device and I tested it out in varied lighting conditions. While clicking pixel-binned 15MP shots by default, the full-resolution 60MP mode can be turned on with a single tap. The images outputted are actually quite rich, and capture substantial facial detail. It also calibrates the exposure behind my face quite well and thanks to OIS, I can still click crisp shots if my hand shakes a bit. The rest of the camera experience was so-so in comparison. I did take some good daylight shots from the main sensor that got the details and colours right but faltered in dynamic range. The same can also be said for the ultra-wide sensor and I appreciated the lack of warping around the edges. However, the low-light images from the phone can leave a bit to be desired. Slightly distant objects in the frame can take multiple attempts to come into focus. Detailing and noise levels are not adjusted properly and there’s an overall softness to most shots. Under the hood, you have a MediaTek Helio G99 SoC which is a reasonably good option to have for budget devices. As far as benchmark numbers are concerned, the phone’s scores are adequate for my needs. There was a bit of lag when operating the UI at times but apart from that, it was smooth sailing. There’s only one variant of the phone which is 8GB RAM along with 128GB of internal storage. The fingerprint sensor on the side works well and I also like the stereo speaker setup implemented on the phone. In terms of connectivity, you only get the standard 4G LTE service as the chipset does not support 5G. Infinix’s XOS 12 skin, based on Android 12, runs on the device and comes with bloatware laden. As for the battery life, the device implements a 4,500mAh cell that can be fast charged at 44W. On PCMark’s battery test, the device gave a result of 10 hours which is pretty average for budget phones. My usage saw about five odd hours of screen time without doing any intensive gaming. The phone can juice up to 100 percent in about an hour with 50 percent filling up in just 20 minutes.
english
# SwiftSyslog SwiftSyslog is a framework that helps you to send logs to remote [Syslog server](https://github.com/pykaso/SyslogSplunkServer) securely. This framework using parts from an awesome [Swift Puree](https://github.com/cookpad/Puree-Swift) log aggregator. **Key features** - TLS secured transport. - API key-based authorization. - Automatically append metadata about your application. - The log output is buffered. Logs are stored in the buffer until it's time to send them. - If a connection error occurred, the transmission automatically retries. ## Installation ### Carthage ``` github "pykaso/SwiftSyslog" ``` ### Swift Package Manager ``` dependencies: [ .package(url: "https://github.com/pykaso/SwiftSyslog", from: "1.0") ] ``` ## Usage Initialize the `Syslogger` object. ```swift let syslogger = Syslogger(host: "syslog-ng.ho.st", port: 6514, useTLS: true, apiKey: "valid-token") ``` Optionally, set detailed info about your app user. ```swift syslogger.userInfo = "myAppUserID" ``` And then, just write some log messages. ```swift syslogger.write(.debug, message: "Hello captain!") ``` ## The message format The outgoing message format is standard [Rfc5424](https://tools.ietf.org/html/rfc5424) message. As described [here](https://github.com/pykaso/SyslogSplunkServer) the message is composed of three parts. The Header and structured data part will be filled automatically by Syslogger. The last part named `message` is the message you send. - **header** (priority, version, timestamp, host, application, pid, message id) - **structured data** - section with square brackets - **message** ``` <priority>VERSION ISOTIMESTAMP HOSTNAME APPLICATION PID MESSAGEID [STRUCTURED-DATA] MESSAGE ``` Any syslog server configured to receive messages in the Rfc5424 format should accept messages from this framework. If your company using Splunk, you could use already configured [Syslog Splunk Server](https://github.com/pykaso/SyslogSplunkServer). If not, look at this [syslog-ng configuration file](https://github.com/pykaso/SyslogSplunkServer/blob/master/docker-image/syslog-ng-config/syslog-ng.conf) to inspire yourself. Message sent by our sample above will look like this: ``` <13>1 2020-04-15T12:25:07.874000+02:00 syslogger-ios;0.1 cz.zonky.ios.benxy.dev/0.1.1100 - - [meta token="valid-token" device="Simulator_iPhone_8" install="4F8A6CE8-4A33-47BC-9467-3E5F57F80C0B"] Hello captain! <priority> - <13> VERSION - 1 ISOTIMESTAMP - 2020-04-15T12:25:07.874000+02:00 HOSTNAME - syslogger-ios;1.0 # sdk identification APPLICATION - cz.zonky.ios.benxy.dev/0.1.1100 # your app bundle id / version PID - - MESSAGEID - - STRUCTURED-DATA - token="valid-token" # api key - device="Simulator_iPhone_8" # device model name - install="4F8A6CE8-4A33-47BC-9467-3E5F57F80C0B" # unique installation ID MESSAGE - Hello captain! ```
markdown
Bollywood’s King Khan Shah Rukh Khan recently celebrated his 52nd birthday on 2 November. The actor rang in his birthday at his residence in Alibaug with friends and family. King Khan was joined by wife Gauri, daughter Suhana and son AbRam along with the who’s who of Bollywood. After wrapping up the private bash, the actor heads back to Mumbai to meet up his fans. Shah Rukh not just chose to spend quality time with his family and friends from B-Town, but the actor also chose to prioritise his fans. Yes, SRK was back to Mannat to meet his fans. He even addressed the media; SRK made it to the press meet held at Taj Lands End, in Mumbai.
english
<gh_stars>0 <!DOCTYPE HTML> <html lang="en"> <head> <title> Music -- You'reMyHome-Royal-1014 </title> <style> .footnote {font-size:8pt; font-family:Courier, System, monospace;} .title {font-size:18pt; font-weight:bold;} .label {font-size:10pt; color:purple;} .artist {font-size:10pt; color:green;} .hdr {font-size:12pt; color:brown; font-weight:bold;} .text {font-size:12pt; line-height:140%;} .lyrics {font-size:14pt; background-color:#FCC9C3;} .call {font-size:14pt; font-weight: bold;} .blue {color:blue;} font {font-family:Tahoma,Arial,Helvetica,sans-serif;} body, p, font {font-family:Arial,Helvetica,Verdana,sans-serif; font-size:10pt;} dd {margin-left:50px;} .nopgbr{page-break-inside:avoid;} .indent30{position:relative;margin-top:0px;margin-bottom:0px;} @media (min-width: 400px) {.text {margin-left:30px;} .indent30 {margin-right:30px;left:30px;}} @media (max-width: 400px) {.text {margin-left:16px;} .indent30 {margin-right:8px;left:8px;}} .t010 {border:0px none; border-spacing:0px;} table.t010 td, th {padding:1px; border:0px solid red;} table.t010 tr {border:0px solid red;} .two_columns { -webkit-columns: 2 300px; -moz-columns: 2 300px; columns: 2 300px; -webkit-column-gap: 4em; -moz-column-gap: 4em; column-gap: 4em; } </style> </head> <body style="color:#000000; background-color:#FFFFFF;"> <div style="border-spacing:0px; display:table; vertical-align:top; width:100%;"> <div style="display:table-cell; vertical-align:top;"> <table class="t010"> <tr> <td> <div class="title"> You're My Home </div> <div> <NAME> 1973 </div> </td> <td> &nbsp;&nbsp; <span class="label"> (Royal 1014) </span> &nbsp;&nbsp; <span class="artist"> <span class="nobr"> <NAME>. </span> </span> </td> </tr> </table> </div> <div style="display:table-cell; width:16px;"> &nbsp; </div> </div> <hr> <div class="nopgbr" style="padding-top:16px;"> <span class="hdr"> OPENER&nbsp;&nbsp;&nbsp; <span style="color:black; font-size:10pt; font-weight:normal;"> Basic - SSD Week 1 </span> </span> <br> <div class="indent30"> <br> <span class="call"> Circle left </span> <br> <span class="lyrics"> When you look into my eyes <br> And you see that crazy gypsy in my soul </span> <br> <span alt="men star right 5/4" class="call"> Men star right </span> inside <br> <span class="call"> Left allemande </span> and <span class="call"> weave the ring </span> <br> <span class="lyrics"> When you touch my weary head and tell me everything's alright </span> <br> You <span class="call"> promenade on home </span> <br> <span class="lyrics"> I never had a place to call my very own <br> But that's alright my love, you're my home </span> <br> <br> </div> </div> <div class="nopgbr" style="padding-top:16px;"> <span class="hdr"> FIGURE&nbsp;&nbsp;&nbsp; <span style="color:black; font-size:10pt; font-weight:normal;"> Mainstream, corner progression </span> </span> <br> <div class="indent30"> <br> <span class="call"> Heads (Sides) </span> <span class="call"> promenade </span> go <span class="call"> halfway </span> <br> <span class="call"> Pass the ocean </span> , <span class="call"> extend </span> <br> <span class="call"> Ladies trade </span> , <span class="call"> swing thru </span> <br> <span class="call"> Boy run </span> right, <span class="call"> bend the line </span> and then <br> <span class="call"> Pass the ocean </span> , <span class="call"> hinge </span> , <span class="call"> scoot back </span> <br> <span class="call"> Swing </span> the corner lady round and <span class="call"> promenade </span> <br> <span class="lyrics"> I never had a place to call my very own <br> But that's alright my love, you're my home </span> <br> <br> </div> </div> <div class="nopgbr" style="padding-top:16px;"> <span class="hdr"> MIDDLE BREAK&nbsp;&nbsp;&nbsp; <span style="color:black; font-size:10pt; font-weight:normal;"> Mainstream </span> </span> <br> <div class="indent30"> <br> <span class="call"> Sides </span> <span class="call"> face grand square </span> <br> <span class="lyrics"> Home can be the Pennsylvania Turnpike <br> Or Indiana's early morning dew <br> High up in the hills of California <br> Home is just another word for you </span> <br> <span class="call"> Circle left </span> <br> <span class="lyrics"> I never had a place to call my very own </span> <br> <span class="call"> Left allemande </span> , <span class="call"> promenade </span> <br> <span class="lyrics"> I'll never be a stranger, I'll never be alone <br> Whenever we're together, you're my home </span> <br> <br> </div> </div> <div class="nopgbr" style="padding-top:16px;"> <span class="hdr"> CLOSER&nbsp;&nbsp;&nbsp; <span style="color:black; font-size:10pt; font-weight:normal;"> Basic - SSD Week 1 </span> </span> <br> <div class="indent30"> <br> <span class="call"> Circle left </span> <br> <span class="lyrics"> If I travel all my life and never stop again <br> I never stop to ever settle down </span> <br> The <span alt="men star right 5/4" class="call"> men star right </span> and you roll it around <br> <span class="call"> Left allemande </span> , <span class="call"> weave the ring </span> <br> <span class="lyrics"> You're my castle, you're my cabin, my instant pleasure dome </span> <br> Meet your girl and <span class="call"> promenade 'em home </span> <br> <span class="lyrics"> I'll never be a stranger, I'll never be alone <br> As long as we're together, you're my home </span> <br> <br> </div> </div> <div class="nopgbr" style="padding-top:16px;"> <span class="hdr"> TAG </span> <br> <div class="indent30"> <br> <span class="lyrics"> As long as we're together <br> You're my home </span> </div> </div> <hr> </body> </html>
html
# 🧪🆙 up-sample-react-app DEMO: <https://hugoo.github.io/up-sample-react-app/> This repo shows you how to use the LUKSO dev tools to interact with the LUKSO blockchain, smart contracts and standards. It is built on top of: - [`@lukso/lsp-factory.js`](https://docs.lukso.tech/tools/lsp-factoryjs/introduction/getting-started) to deploy and configure contracts - [`@erc725/erc725.js`](https://docs.lukso.tech/tools/erc725js/getting-started) to read/fetch/decode ERC725 and LSP data - [`@lukso/lsp-smart-contracts`](https://github.com/lukso-network/lsp-smart-contracts) to get smart contracts ABI You can find the tutorial [here](https://docs.lukso.tech/tools/getting-started). ## Install and start This project was bootstrapped with [Create React App](https://github.com/facebook/create-react-app). In the project directory, you can run: ### `yarn install` To install project's dependencies. ### `yarn start` Runs the app in the development mode.\ Open [http://localhost:3000](http://localhost:3000) to view it in the browser. The page will reload if you make edits.
markdown
<reponame>ubcharron/cortex<filename>vendor/github.com/thanos-io/thanos/pkg/block/metadata/hash.go // Copyright (c) The Thanos Authors. // Licensed under the Apache License 2.0. package metadata import ( "crypto/sha256" "encoding/hex" "fmt" "io" "os" "github.com/go-kit/kit/log" "github.com/pkg/errors" "github.com/thanos-io/thanos/pkg/runutil" ) // HashFunc indicates what type of hash it is. type HashFunc string const ( // SHA256Func shows that SHA256 has been used to generate the hash. SHA256Func HashFunc = "SHA256" // NoneFunc shows that hashes should not be added. Used internally. NoneFunc HashFunc = "" ) // ObjectHash stores the hash of an object in the object storage. type ObjectHash struct { Func HashFunc `json:"hashFunc"` Value string `json:"value"` } // Equal returns true if two hashes are equal. func (oh *ObjectHash) Equal(other *ObjectHash) bool { return oh.Value == other.Value } // CalculateHash calculates the hash of the given type. func CalculateHash(p string, hf HashFunc, logger log.Logger) (ObjectHash, error) { switch hf { case SHA256Func: f, err := os.Open(p) if err != nil { return ObjectHash{}, errors.Wrap(err, "opening file") } defer runutil.CloseWithLogOnErr(logger, f, "closing %s", p) h := sha256.New() if _, err := io.Copy(h, f); err != nil { return ObjectHash{}, errors.Wrap(err, "copying") } return ObjectHash{ Func: SHA256Func, Value: hex.EncodeToString(h.Sum(nil)), }, nil } return ObjectHash{}, fmt.Errorf("hash function %v is not supported", hf) }
go
# <NAME> (@pir_at) aka @ico_TC This is an extract of every tweet that <NAME> tweeted under the account @pir_AT on twitter since Feb 2018. (RT's have been filtered to protect some nice people's reputation by mere association with this toxic man)! ## Linux TM Back in the 1990's Edmund attempted to trademark Linux in Germany. He issued a license agreement to the owner of linux.de beginning a legal dispute, that ended in Edmund being forced to hand over all rights to the Linux community. The final "public-record" of this dispute can be found below in the following archive. <https://www.fitug.de/debate/9709/msg00019.html> [Screenshot found on twitter](/assets/img/fitug.jpg): As with the trail of other legal disputes <NAME> has initiated, even the Linux trademark dispute is very hard to trace (especially in connection with his own name) due to aggressive confidentiality clauses that he has forced good engineers into during settlement. # The Racist Tweets! He is also known as @ico_TC on twitter. --- ![<NAME> - @ico_TC](/assets/img/edmund.png) ![<NAME> - @pir_AT](/assets/img/handle.jpg) ![<NAME> - @pir_AT](/assets/img/connection.png) --- {% for t in tweets %} ### {{ t.handle }} - {{ t.date }} {{ '{% raw %}' }} {{ t.text }} {{ '{% endraw %}' }} --- {% endfor %}
html
At 3 p. m. on Wednesday, TTD will announce the darshan ticket quota for senior citizens and physically challenged people for June. Tirumala: At 3 p. m. on Wednesday, Tirumala Tirupati Devasthanams (TTD) will release the darshan ticket quota for elderly citizens and physically challenged people for June. Due to the COVID pandemic, the TTD has already discontinued darshan services for senior citizens and physically challenged people. TTD said in a news statement issued here on Tuesday that senior citizens and physically challenged people will be given darshan at 3 p. m. every day from June 1. Other devotees are asked to take note of the time set aside for senior citizens and physically challenged people and to work with TTD to provide a hassle-free Lord's darshan. The TTD will also issue the August accommodation quota for advance booking of rooms in Tirumala and Tirupati at 9 a. m. on May 26 (Thursday).
english
263 (60. 4 ov) 237 (52. 3 ov) 331/9 (50. 0 ov) 189 (43. 2 ov) Sethi said that PSL has made PCB financially independent so they will boycott Asia Cup and ODI World Cup if BCCI or ICC try to change Asia Cup venue. Former Pakistan Cricket Board chairman slammed PCB for stripping vice-captaincy from star batter Mohammad Rizwan in the limited overs format. Shahid Afridi feels that Pakistan are ready to welcome the Indian team for the tournament and urged the BCCI to keep aside political tensions and send their side. Former Pakistan pacer Shoaib Akhtar has come up with a solution to the ongoing clash between the Board of Control for Cricket in India (BCCI) and Pakistan Cricket Board (PCB) over the hosting rights of the Asia Cup 2023. Azam Khan is returning to the Pakistan team after more than one and a half years. He has performed exceptionally well in the ongoing PSL and is one of the top scorers. PCB chief Najam Sethi said he will discuss the issue with the government before taking a final call on sending the team to India or not if the Men in Blue don't come to Pakistan for the Asia Cup. Pakistan Cricket Board Chief Najam Sethi has also warned Afghanistan Cricket Board officials about controlling their crowd considering the history. Pakistan veteran cricketer Sohail Tanveer has announced his retirement from all formats of International Cricket. However, he would continue to play franchise and domestic cricket.
english
package rv_msgs; public interface ListenGoal extends org.ros.internal.message.Message { static final java.lang.String _TYPE = "rv_msgs/ListenGoal"; static final java.lang.String _DEFINITION = "# Goal definition\nfloat32 timeout_seconds\nbool wait_for_wake\n"; static final boolean _IS_SERVICE = false; static final boolean _IS_ACTION = true; float getTimeoutSeconds(); void setTimeoutSeconds(float value); boolean getWaitForWake(); void setWaitForWake(boolean value); }
java
<reponame>ikeinyyo/ikeinyyo --- layout: post current: post cover: assets/images/posts/micropost-obtener-todos-los-valores-de-un-enumerado/result.jpg navigation: True title: "[Micropost] Obtener todos los valores de un enumerado" date: 2017-03-12 12:00:00 tags: micropost tech class: post-template subclass: 'post' author: maktub82 --- ¡Hola a todos! Hoy vamos a ver un **Microspost** de cómo obtener todos los valores de un enumerado. > Un **Micropost** es un post pequeño que sirve para tratar cosas sencillas pero que a veces se nos pueden olvidar. Es una forma de tenerlo siempre presente. ## Obtener todos los valores de un enumerado. Obtener todos los valores de un enumerado es bastante sencillo. Lo único que tenemos que hacer es llamar al método estático `Enum.GetValues`, pasándole el tipo de nuestro enumerado. Por último, utilizamos Linq para *castear* todos los valores a nuestro tipo de enumerado. ```csharp Enum.GetValues(typeof(MyEnumType)).Cast<MyEnumType>(); ``` Con esto obtenemos un IEnumerable de nuestro enumerado con todos los valores. ## Ejemplo de uso Un ejemplo muy claro es tener un enumerado en un ComboBox para filtrar. En este caso vamos a ver un enumerado con el tipo de Pokémon. ### ViewModel En el ViewModel tenemos un IEnumerable<PokemonType> que vamos a *bindear* en la vista. Rellenamos el IEnumerable con todos los valores del enumerado. ```csharp private IEnumerable<PokemonType> pokemonTypes; public MainViewModel() { PokemonTypes = Enum.GetValues(typeof(PokemonType)).Cast<PokemonType>(); } public IEnumerable<PokemonType> PokemonTypes { get { return pokemonTypes; } set { pokemonTypes = value; NotifyOfPropertyChange(); } } ``` ### View ```xaml <ComboBox ItemsSource="{Binding PokemonTypes}" SelectedItem="{Binding SelectedType, Mode=TwoWay}" /> ``` ### Resultado Como vemos en el resultado, hemos podido obtener todos los tipos de Pokémon, que son todos los posibles valores del enumerado `PokemonType`. ![Resultado](/assets/images/posts/micropost-obtener-todos-los-valores-de-un-enumerado/result.jpg) > Podéis ver el código de esta aplicación [WIP] en mi [Github](https://github.com/maktub82/pokemon-team-builder). Y hasta aquí el primer Micropost. Espero que os sea útil 😊. ¡Nos vemos en el futuro!
markdown
Alastair Aiken, better known as Ali-A, was added to the Hall of Fame in Fortnite back in May 2022. After creating content for the game for years on end, the developers finally gave him his own Icon Series skin. Despite the controversy surrounding his clickbait content, on a whole, he's still well-respected in the community. Once his Icon Series skin was added to the Item Shop, his popularity skyrocketed yet again in-game. All went well until the final day of 2022, when on December 31, he posted a series of pictures on his Instagram account to celebrate his list of achievements. In an Instagram post, Ali-A posted four pictures showcasing his greatest achievements for 2022, listing them in this particular order. They are: While Ali-A did not post anything obscene, the post seemingly divided the opinion of users. According to a few, the placement of the Fortnite Icon Series skin before the birth of his firstborn child, Theo, was rather odd. One user replied to the original post and said: Despite the original poster stating that this was a joke and asking users not to assume and talk badly about the same, a few made hurtful statements. One user went to the extreme by saying this: Thankfully, not everyone on the internet jumped to conclusions or enjoyed 'trolling' for merely posting pictures. After the post went viral, users with more sound logic began to appear and imparted some wise words. One of them being this: Suffice to say, not all replies were in favor of Ali-A, and offered a mix-and-match of viewpoints and perspectives. Since users were divided in their opinion about the situation, and naturally, replies varied in nature. Here are a few more: While a few users tried to look at things from a logical standpoint, others took to trolling Ali-A in the post. According to many users, his Fortnite Icon Series skin is 'cooler' than his newborn: All things said and considered, while fans are divided on the subject matter, for the most part, it's just people overreacting. Given that none of the pictures were lewd in any way or discredited human life in favor of the Fortnite Icon Series skin, most of the comments were uncalled for. What did Ali-A have to say about the situation? Given that Alastair is no stranger to controversies and drama on the internet, he didn't react to the situation in an out-of-hand manner. Rather than taking to social media to 'fight' trolls and users who badmouthed him, he merely clarified that things were listed in chronological order. Fans who have followed him on social media throughout 2022 can attest to the fact that everything he wrote did happen in that particular order. In fact, a quick visit to his social profile will provide the same proof. All said and done, this is yet another case of the internet taking a molehill and turning it into a mountain for no reason other than "they could." The Battle Bus is heading into Fortnite Chapter 4 Season 4 soon! Check out the final Fortnite item shop today!
english
Kabul, Afghanistan, Oct 20 – European Union officials called Sunday for a ceasefire in Afghanistan, saying the breakdown in US-Taliban talks presented an opportunity to push for a truce, as the US defense secretary made an unexpected visit to Kabul. US President Donald Trump last month declared talks with the insurgents “dead”, citing a Taliban attack that killed an American soldier. Negotiations had been in the final stages for a deal that would have seen the US pull troops from Afghanistan after 18 years in return for various Taliban guarantees. But to the dismay of many Afghans and international observers, the deal included no immediate, comprehensive ceasefire, and rather would supposedly have paved the way for a reduction in violence and later talks between the Taliban and the Afghan government. Roland Kobia, the EU special envoy for Afghanistan, said the talks’ collapse provided a chance to push for a ceasefire which would, in turn, prove a large enough change in Afghanistan for Trump to consider resuming negotiations. “It’s the right moment and the right opportunity to maybe go one step beyond a simple reduction in violence and explore ways in which a ceasefire… will take place,” Kobia told Kabul journalists. In the meantime, violence in Afghanistan continues unabated. On Friday, at least 70 people were killed when a mosque in Nangarhar province was bombed. When asked how the EU, which has only a limited footprint in Afghanistan, could leverage a truce, Kobia suggested that the Taliban might return to power in “one form or another” within months and so would entertain a truce to help normalise future relations with the European bloc. “A ceasefire would be a token, a guarantee of goodwill and good preparation for the normalisation of these relationships,” Kobia said. The Taliban have steadfastly ruled out an immediate ceasefire, but last year downed weapons for a three-day truce. Afghanistan is currently in an uneasy waiting period following the first round of presidential elections on September 28. Results were supposed to be released Saturday but have been indefinitely delayed due to “technical issues”, the Independent Election Commission said. Pierre Mayaudon, head of the EU delegation in Afghanistan, said a delay of a few days to finalise results was legitimate to ensure votes were fairly counted. “But not many more days that again will go into weeks and will possibly raise the perception that something is happening,” he told reporters. US Defense Secretary Mark Esper meanwhile arrived in Kabul on Sunday on an unannounced visit to meet with US troops and Afghan President Ashraf Ghani. “I’m looking… to get a really good feel for what’s happening on the ground in Afghanistan, and to talk what the way ahead may look like as well,” Esper told reporters accompanying him, according to a Pentagon transcript. Currently, the United States has around 14,000 troops in Afghanistan. Esper said that footprint could shrink to about 8,600 with no impact on counterterrorism operations against groups such as the Afghan affiliate of the Islamic State group. Top US Democrat Nancy Pelosi, who is leading an impeachment probe into Trump, also made an unannounced visit to Afghanistan on Sunday as part of a bipartisan congressional delegation. Pelosi, who has been bitterly critical of Trump’s foreign policy, met with Ghani as well as US troops and diplomats. Since Trump ended talks with the Taliban, Zalmay Khalilzad, the US special envoy leading the negotiations, has spoken informally with insurgents in Pakistan, raising the possibility that Washington is seeking to resume discussions.
english
<reponame>atagomes/MoGrid /* * Created on 18/08/2006 * * MD5.java * $Id: MD5.java,v 1.5 2000/08/16 21:37:48 ylafon Exp $ * (c) COPYRIGHT MIT and INRIA, 1996. * * Source: http://dev.w3.org/cvsweb/~checkout~/java/classes/org/w3c/tools/crypt/Md5.java?rev=1.5 */ package martin.mogrid.common.network; import java.io.ByteArrayInputStream; import java.io.File; import java.io.FileInputStream; import java.io.IOException; import java.io.InputStream; import java.io.UnsupportedEncodingException; public class MD5 implements Payload { /** Comment for <code>serialVersionUID</code> */ private static final long serialVersionUID = 5107523649974687913L; private static final int BUFFER_SIZE = 1024; private static final int S11 = 7; private static final int S12 = 12; private static final int S13 = 17; private static final int S14 = 22; private static final int S21 = 5; private static final int S22 = 9; private static final int S23 = 14; private static final int S24 = 20; private static final int S31 = 4; private static final int S32 = 11; private static final int S33 = 16; private static final int S34 = 23; private static final int S41 = 6; private static final int S42 = 10; private static final int S43 = 15; private static final int S44 = 21; private static byte padding[] = { (byte) 0x80, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0, (byte) 0 }; private InputStream in = null; private boolean stringp = false; private int state[] = null; private long count = 0; private byte buffer[] = null; private byte digest[] = null; private static String stringify(byte buf[]) { StringBuffer sb = new StringBuffer(2 * buf.length); for (int i = 0; i < buf.length; i++) { int h = (buf[i] & 0xf0) >> 4; int l = (buf[i] & 0x0f); sb.append(new Character((char) ((h > 9) ? 'a' + h - 10 : '0' + h))); sb.append(new Character((char) ((l > 9) ? 'a' + l - 10 : '0' + l))); } return sb.toString(); } private final int F(int x, int y, int z) { return ((x & y) | ((~x) & z)); } private final int G(int x, int y, int z) { return ((x & z) | (y & (~z))); } private final int H(int x, int y, int z) { return (x ^ y ^ z); } private final int I(int x, int y, int z) { return (y ^ (x | (~z))); } private final int rotate_left(int x, int n) { return ((x << n) | (x >>> (32 - n))); } private final int FF(int a, int b, int c, int d, int x, int s, int ac) { a += (F(b, c, d) + x + ac); a = rotate_left(a, s); a += b; return a; } private final int GG(int a, int b, int c, int d, int x, int s, int ac) { a += (G(b, c, d) + x + ac); a = rotate_left(a, s); a += b; return a; } private final int HH(int a, int b, int c, int d, int x, int s, int ac) { a += (H(b, c, d) + x + ac); a = rotate_left(a, s); a += b; return a; } private final int II(int a, int b, int c, int d, int x, int s, int ac) { a += (I(b, c, d) + x + ac); a = rotate_left(a, s); a += b; return a; } private final void decode(int output[], byte input[], int off, int len) { int i = 0; int j = 0; for (; j < len; i++, j += 4) { output[i] = (((int) (input[off + j] & 0xff)) | (((int) (input[off + j + 1] & 0xff)) << 8) | (((int) (input[off + j + 2] & 0xff)) << 16) | (((int) (input[off + j + 3] & 0xff)) << 24)); } } private final void transform(byte block[], int offset) { int a = state[0]; int b = state[1]; int c = state[2]; int d = state[3]; int x[] = new int[16]; decode(x, block, offset, 64); /* Round 1 */ a = FF(a, b, c, d, x[0], S11, 0xd76aa478); /* 1 */ d = FF(d, a, b, c, x[1], S12, 0xe8c7b756); /* 2 */ c = FF(c, d, a, b, x[2], S13, 0x242070db); /* 3 */ b = FF(b, c, d, a, x[3], S14, 0xc1bdceee); /* 4 */ a = FF(a, b, c, d, x[4], S11, 0xf57c0faf); /* 5 */ d = FF(d, a, b, c, x[5], S12, 0x4787c62a); /* 6 */ c = FF(c, d, a, b, x[6], S13, 0xa8304613); /* 7 */ b = FF(b, c, d, a, x[7], S14, 0xfd469501); /* 8 */ a = FF(a, b, c, d, x[8], S11, 0x698098d8); /* 9 */ d = FF(d, a, b, c, x[9], S12, 0x8b44f7af); /* 10 */ c = FF(c, d, a, b, x[10], S13, 0xffff5bb1); /* 11 */ b = FF(b, c, d, a, x[11], S14, 0x895cd7be); /* 12 */ a = FF(a, b, c, d, x[12], S11, 0x6b901122); /* 13 */ d = FF(d, a, b, c, x[13], S12, 0xfd987193); /* 14 */ c = FF(c, d, a, b, x[14], S13, 0xa679438e); /* 15 */ b = FF(b, c, d, a, x[15], S14, 0x49b40821); /* 16 */ /* Round 2 */ a = GG(a, b, c, d, x[1], S21, 0xf61e2562); /* 17 */ d = GG(d, a, b, c, x[6], S22, 0xc040b340); /* 18 */ c = GG(c, d, a, b, x[11], S23, 0x265e5a51); /* 19 */ b = GG(b, c, d, a, x[0], S24, 0xe9b6c7aa); /* 20 */ a = GG(a, b, c, d, x[5], S21, 0xd62f105d); /* 21 */ d = GG(d, a, b, c, x[10], S22, 0x2441453); /* 22 */ c = GG(c, d, a, b, x[15], S23, 0xd8a1e681); /* 23 */ b = GG(b, c, d, a, x[4], S24, 0xe7d3fbc8); /* 24 */ a = GG(a, b, c, d, x[9], S21, 0x21e1cde6); /* 25 */ d = GG(d, a, b, c, x[14], S22, 0xc33707d6); /* 26 */ c = GG(c, d, a, b, x[3], S23, 0xf4d50d87); /* 27 */ b = GG(b, c, d, a, x[8], S24, 0x455a14ed); /* 28 */ a = GG(a, b, c, d, x[13], S21, 0xa9e3e905); /* 29 */ d = GG(d, a, b, c, x[2], S22, 0xfcefa3f8); /* 30 */ c = GG(c, d, a, b, x[7], S23, 0x676f02d9); /* 31 */ b = GG(b, c, d, a, x[12], S24, 0x8d2a4c8a); /* 32 */ /* Round 3 */ a = HH(a, b, c, d, x[5], S31, 0xfffa3942); /* 33 */ d = HH(d, a, b, c, x[8], S32, 0x8771f681); /* 34 */ c = HH(c, d, a, b, x[11], S33, 0x6d9d6122); /* 35 */ b = HH(b, c, d, a, x[14], S34, 0xfde5380c); /* 36 */ a = HH(a, b, c, d, x[1], S31, 0xa4beea44); /* 37 */ d = HH(d, a, b, c, x[4], S32, 0x4bdecfa9); /* 38 */ c = HH(c, d, a, b, x[7], S33, 0xf6bb4b60); /* 39 */ b = HH(b, c, d, a, x[10], S34, 0xbebfbc70); /* 40 */ a = HH(a, b, c, d, x[13], S31, 0x289b7ec6); /* 41 */ d = HH(d, a, b, c, x[0], S32, 0xeaa127fa); /* 42 */ c = HH(c, d, a, b, x[3], S33, 0xd4ef3085); /* 43 */ b = HH(b, c, d, a, x[6], S34, 0x4881d05); /* 44 */ a = HH(a, b, c, d, x[9], S31, 0xd9d4d039); /* 45 */ d = HH(d, a, b, c, x[12], S32, 0xe6db99e5); /* 46 */ c = HH(c, d, a, b, x[15], S33, 0x1fa27cf8); /* 47 */ b = HH(b, c, d, a, x[2], S34, 0xc4ac5665); /* 48 */ /* Round 4 */ a = II(a, b, c, d, x[0], S41, 0xf4292244); /* 49 */ d = II(d, a, b, c, x[7], S42, 0x432aff97); /* 50 */ c = II(c, d, a, b, x[14], S43, 0xab9423a7); /* 51 */ b = II(b, c, d, a, x[5], S44, 0xfc93a039); /* 52 */ a = II(a, b, c, d, x[12], S41, 0x655b59c3); /* 53 */ d = II(d, a, b, c, x[3], S42, 0x8f0ccc92); /* 54 */ c = II(c, d, a, b, x[10], S43, 0xffeff47d); /* 55 */ b = II(b, c, d, a, x[1], S44, 0x85845dd1); /* 56 */ a = II(a, b, c, d, x[8], S41, 0x6fa87e4f); /* 57 */ d = II(d, a, b, c, x[15], S42, 0xfe2ce6e0); /* 58 */ c = II(c, d, a, b, x[6], S43, 0xa3014314); /* 59 */ b = II(b, c, d, a, x[13], S44, 0x4e0811a1); /* 60 */ a = II(a, b, c, d, x[4], S41, 0xf7537e82); /* 61 */ d = II(d, a, b, c, x[11], S42, 0xbd3af235); /* 62 */ c = II(c, d, a, b, x[2], S43, 0x2ad7d2bb); /* 63 */ b = II(b, c, d, a, x[9], S44, 0xeb86d391); /* 64 */ state[0] += a; state[1] += b; state[2] += c; state[3] += d; } private final void update(byte input[], int len) { int index = ((int) (count >> 3)) & 0x3f; count += (len << 3); int partLen = 64 - index; int i = 0; if (len >= partLen) { System.arraycopy(input, 0, buffer, index, partLen); transform(buffer, 0); for (i = partLen; i + 63 < len; i += 64) transform(input, i); index = 0; } else { i = 0; } System.arraycopy(input, i, buffer, index, len - i); } private byte[] end() { byte bits[] = new byte[8]; for (int i = 0; i < 8; i++) bits[i] = (byte) ((count >>> (i * 8)) & 0xff); int index = ((int) (count >> 3)) & 0x3f; int padlen = (index < 56) ? (56 - index) : (120 - index); update(padding, padlen); update(bits, 8); return encode(state, 16); } // Encode the content.state array into 16 bytes array private byte[] encode(int input[], int len) { byte output[] = new byte[len]; int i = 0; int j = 0; for (; j < len; i++, j += 4) { output[j] = (byte) ((input[i]) & 0xff); output[j + 1] = (byte) ((input[i] >> 8) & 0xff); output[j + 2] = (byte) ((input[i] >> 16) & 0xff); output[j + 3] = (byte) ((input[i] >> 24) & 0xff); } return output; } /** * Get the digest for our input stream. This method constructs the input * stream digest, and return it, as a a String, following the MD5 (rfc1321) * algorithm, * * @return An instance of String, giving the message digest. * @exception IOException * Thrown if the digestifier was unable to read the input * stream. */ public byte[] getDigest() throws IOException { byte buffer[] = new byte[BUFFER_SIZE]; int got = -1; if (digest != null) return digest; while ((got = in.read(buffer)) > 0) update(buffer, got); this.digest = end(); return digest; } /** * Get the digest, for this string digestifier. This method doesn't throw any * IOException, since it knows that the underlying stream ws built from a * String. */ public byte[] processString() { if (!stringp) throw new RuntimeException(this.getClass().getName() + "[processString]" + " not a string."); try { return getDigest(); } catch (IOException ex) { } throw new RuntimeException(this.getClass().getName() + "[processString]" + ": implementation error."); } /** * Get the digest, as a proper string. */ public String getStringDigest() { if (digest == null) throw new RuntimeException(this.getClass().getName() + "[getStringDigest]" + ": called before processing."); return stringify(digest); } /** * Construct a digestifier for the given string. * * @param input * The string to be digestified. * @param encoding * the encoding name used (such as UTF8) */ public MD5(String input, String enc) { byte bytes[] = null; try { bytes = input.getBytes(enc); } catch (UnsupportedEncodingException e) { throw new RuntimeException("no " + enc + " encoding!!!"); } this.stringp = true; this.in = new ByteArrayInputStream(bytes); this.state = new int[4]; this.buffer = new byte[64]; this.count = 0; state[0] = 0x67452301; state[1] = 0xefcdab89; state[2] = 0x98badcfe; state[3] = 0x10325476; } /** * Construct a digestifier for the given string. * * @param input * The string to be digestified. */ public MD5(String input) { this(input, "UTF8"); } /** * Construct a digestifier for the given input stream. * * @param in * The input stream to be digestified. */ public MD5(InputStream in) { this.stringp = false; this.in = in; this.state = new int[4]; this.buffer = new byte[64]; this.count = 0; state[0] = 0x67452301; state[1] = 0xefcdab89; state[2] = 0x98badcfe; state[3] = 0x10325476; } //TEST public static void main(String args[]) throws IOException { if (args.length != 1) { System.out.println("Usage: MD5 <file>"); System.exit(1); } MD5 md5 = new MD5(new FileInputStream(new File(args[0]))); byte b[] = md5.getDigest(); System.out.println(stringify(b)); } }
java
<!DOCTYPE html> <html lang="" xml:lang=""> <head> <meta charset="utf-8" /> <meta http-equiv="X-UA-Compatible" content="IE=edge" /> <title>Chapter 1 Linear morphometrics | Ceramic rim morphology differs significantly between contexts at the Carson site</title> <meta name="description" content="Morphology of ceramic rims." /> <meta name="generator" content="bookdown 0.23 and GitBook 2.6.7" /> <meta property="og:title" content="Chapter 1 Linear morphometrics | Ceramic rim morphology differs significantly between contexts at the Carson site" /> <meta property="og:type" content="book" /> <meta property="og:description" content="Morphology of ceramic rims." /> <meta name="twitter:card" content="summary" /> <meta name="twitter:title" content="Chapter 1 Linear morphometrics | Ceramic rim morphology differs significantly between contexts at the Carson site" /> <meta name="twitter:description" content="Morphology of ceramic rims." /> <meta name="author" content="<NAME>, Jr." /> <meta name="date" content="2021-08-26" /> <meta name="viewport" content="width=device-width, initial-scale=1" /> <meta name="apple-mobile-web-app-capable" content="yes" /> <meta name="apple-mobile-web-app-status-bar-style" content="black" /> <link rel="prev" href="index.html"/> <link rel="next" href="geometric-morphometrics.html"/> <script src="libs/header-attrs-2.10/header-attrs.js"></script> <script src="libs/jquery-3.6.0/jquery-3.6.0.min.js"></script> <link href="libs/gitbook-2.6.7/css/style.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-table.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-bookdown.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-highlight.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-search.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-fontsettings.css" rel="stylesheet" /> <link href="libs/gitbook-2.6.7/css/plugin-clipboard.css" rel="stylesheet" /> <link href="libs/anchor-sections-1.0.1/anchor-sections.css" rel="stylesheet" /> <script src="libs/anchor-sections-1.0.1/anchor-sections.js"></script> <style type="text/css"> pre > code.sourceCode { white-space: pre; position: relative; } pre > code.sourceCode > span { display: inline-block; line-height: 1.25; } pre > code.sourceCode > span:empty { height: 1.2em; } .sourceCode { overflow: visible; } code.sourceCode > span { color: inherit; text-decoration: inherit; } pre.sourceCode { margin: 0; } @media screen { div.sourceCode { overflow: auto; } } @media print { pre > code.sourceCode { white-space: pre-wrap; } pre > code.sourceCode > span { text-indent: -5em; padding-left: 5em; } } pre.numberSource code { counter-reset: source-line 0; } pre.numberSource code > span { position: relative; left: -4em; counter-increment: source-line; } pre.numberSource code > span > a:first-child::before { content: counter(source-line); position: relative; left: -1em; text-align: right; vertical-align: baseline; border: none; display: inline-block; -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; padding: 0 4px; width: 4em; color: #aaaaaa; } pre.numberSource { margin-left: 3em; border-left: 1px solid #aaaaaa; padding-left: 4px; } div.sourceCode { } @media screen { pre > code.sourceCode > span > a:first-child::before { text-decoration: underline; } } code span.al { color: #ff0000; font-weight: bold; } /* Alert */ code span.an { color: #60a0b0; font-weight: bold; font-style: italic; } /* Annotation */ code span.at { color: #7d9029; } /* Attribute */ code span.bn { color: #40a070; } /* BaseN */ code span.bu { } /* BuiltIn */ code span.cf { color: #007020; font-weight: bold; } /* ControlFlow */ code span.ch { color: #4070a0; } /* Char */ code span.cn { color: #880000; } /* Constant */ code span.co { color: #60a0b0; font-style: italic; } /* Comment */ code span.cv { color: #60a0b0; font-weight: bold; font-style: italic; } /* CommentVar */ code span.do { color: #ba2121; font-style: italic; } /* Documentation */ code span.dt { color: #902000; } /* DataType */ code span.dv { color: #40a070; } /* DecVal */ code span.er { color: #ff0000; font-weight: bold; } /* Error */ code span.ex { } /* Extension */ code span.fl { color: #40a070; } /* Float */ code span.fu { color: #06287e; } /* Function */ code span.im { } /* Import */ code span.in { color: #60a0b0; font-weight: bold; font-style: italic; } /* Information */ code span.kw { color: #007020; font-weight: bold; } /* Keyword */ code span.op { color: #666666; } /* Operator */ code span.ot { color: #007020; } /* Other */ code span.pp { color: #bc7a00; } /* Preprocessor */ code span.sc { color: #4070a0; } /* SpecialChar */ code span.ss { color: #bb6688; } /* SpecialString */ code span.st { color: #4070a0; } /* String */ code span.va { color: #19177c; } /* Variable */ code span.vs { color: #4070a0; } /* VerbatimString */ code span.wa { color: #60a0b0; font-weight: bold; font-style: italic; } /* Warning */ </style> <style type="text/css"> /* Used with Pandoc 2.11+ new --citeproc when CSL is used */ div.csl-bib-body { } div.csl-entry { clear: both; } .hanging div.csl-entry { margin-left:2em; text-indent:-2em; } div.csl-left-margin { min-width:2em; float:left; } div.csl-right-inline { margin-left:2em; padding-left:1em; } div.csl-indent { margin-left: 2em; } </style> <link rel="stylesheet" href="style.css" type="text/css" /> </head> <body> <div class="book without-animation with-summary font-size-2 font-family-1" data-basepath="."> <div class="book-summary"> <nav role="navigation"> <ul class="summary"> <li><a href="./">carson.rim</a></li> <li class="divider"></li> <li class="chapter" data-level="" data-path="index.html"><a href="index.html"><i class="fa fa-check"></i>Preface</a> <ul> <li class="chapter" data-level="0.1" data-path="index.html"><a href="index.html#basis-of-inquiry"><i class="fa fa-check"></i><b>0.1</b> Basis of inquiry</a> <ul> <li class="chapter" data-level="0.1.1" data-path="index.html"><a href="index.html#caddo-communities-of-practice"><i class="fa fa-check"></i><b>0.1.1</b> Caddo communities of practice</a></li> <li class="chapter" data-level="0.1.2" data-path="index.html"><a href="index.html#proof-of-concept"><i class="fa fa-check"></i><b>0.1.2</b> Proof of concept</a></li> </ul></li> <li class="chapter" data-level="0.2" data-path="index.html"><a href="index.html#primary-findings"><i class="fa fa-check"></i><b>0.2</b> Primary findings</a></li> <li class="chapter" data-level="0.3" data-path="index.html"><a href="index.html#data-management"><i class="fa fa-check"></i><b>0.3</b> Data management</a></li> <li class="chapter" data-level="0.4" data-path="index.html"><a href="index.html#colophon"><i class="fa fa-check"></i><b>0.4</b> Colophon</a></li> </ul></li> <li class="chapter" data-level="1" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html"><i class="fa fa-check"></i><b>1</b> Linear morphometrics</a> <ul> <li class="chapter" data-level="1.1" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#read-data-and-define-variables"><i class="fa fa-check"></i><b>1.1</b> Read data and define variables</a></li> <li class="chapter" data-level="1.2" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#boxplots-for-variable-by-context"><i class="fa fa-check"></i><b>1.2</b> Boxplots for <em>variable</em> by <em>context</em></a></li> <li class="chapter" data-level="1.3" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#principal-components-analysis"><i class="fa fa-check"></i><b>1.3</b> Principal Components Analysis</a></li> <li class="chapter" data-level="1.4" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#analyses-of-variance-anova-for-variable-context"><i class="fa fa-check"></i><b>1.4</b> Analyses of Variance (ANOVA) for <em>variable</em> ~ <em>context</em></a> <ul> <li class="chapter" data-level="1.4.1" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#lip-length-context"><i class="fa fa-check"></i><b>1.4.1</b> <em>Lip length</em> ~ <em>context</em></a></li> <li class="chapter" data-level="1.4.2" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#wall-thickness-context"><i class="fa fa-check"></i><b>1.4.2</b> <em>Wall thickness</em> ~ <em>context</em></a></li> <li class="chapter" data-level="1.4.3" data-path="linear-morphometrics.html"><a href="linear-morphometrics.html#lip-thickness-context"><i class="fa fa-check"></i><b>1.4.3</b> <em>Lip thickness</em> ~ <em>context</em></a></li> </ul></li> </ul></li> <li class="chapter" data-level="2" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html"><i class="fa fa-check"></i><b>2</b> Geometric morphometrics</a> <ul> <li class="chapter" data-level="2.1" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#load-packages-data"><i class="fa fa-check"></i><b>2.1</b> Load packages + data</a></li> <li class="chapter" data-level="2.2" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#generalised-procrustes-analysis"><i class="fa fa-check"></i><b>2.2</b> Generalised Procrustes Analysis</a></li> <li class="chapter" data-level="2.3" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#boxplot-centroid-size"><i class="fa fa-check"></i><b>2.3</b> Boxplot (centroid size)</a></li> <li class="chapter" data-level="2.4" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#principal-components-analysis-1"><i class="fa fa-check"></i><b>2.4</b> Principal Components Analysis</a> <ul> <li class="chapter" data-level="2.4.1" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#minimamaxima-of-pc12"><i class="fa fa-check"></i><b>2.4.1</b> Minima/maxima of PC1/2</a></li> </ul></li> <li class="chapter" data-level="2.5" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#procrustes-anova-shape-and-size"><i class="fa fa-check"></i><b>2.5</b> Procrustes ANOVA: Shape and size</a></li> <li class="chapter" data-level="2.6" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#allometry"><i class="fa fa-check"></i><b>2.6</b> Allometry</a></li> <li class="chapter" data-level="2.7" data-path="geometric-morphometrics.html"><a href="geometric-morphometrics.html#mean-shapes"><i class="fa fa-check"></i><b>2.7</b> Mean shapes</a></li> </ul></li> <li class="chapter" data-level="" data-path="references.html"><a href="references.html"><i class="fa fa-check"></i>References</a></li> <li class="divider"></li> <li><a href="https://github.com/rstudio/bookdown" target="blank">Published with bookdown</a></li> </ul> </nav> </div> <div class="book-body"> <div class="body-inner"> <div class="book-header" role="navigation"> <h1> <i class="fa fa-circle-o-notch fa-spin"></i><a href="./">Ceramic rim morphology differs significantly between contexts at the Carson site</a> </h1> </div> <div class="page-wrapper" tabindex="-1" role="main"> <div class="page-inner"> <section class="normal" id="section-"> <div id="linear-morphometrics" class="section level1" number="1"> <h1><span class="header-section-number">Chapter 1</span> Linear morphometrics</h1> <div class="sourceCode" id="cb6"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb6-1"><a href="linear-morphometrics.html#cb6-1" aria-hidden="true" tabindex="-1"></a><span class="co"># install required analysis packages</span></span> <span id="cb6-2"><a href="linear-morphometrics.html#cb6-2" aria-hidden="true" tabindex="-1"></a><span class="co">#devtools::install_github(&quot;tidyverse/tidyverse&quot;)</span></span> <span id="cb6-3"><a href="linear-morphometrics.html#cb6-3" aria-hidden="true" tabindex="-1"></a><span class="co">#devtools::install_github(&quot;mlcollyer/RRPP&quot;)</span></span> <span id="cb6-4"><a href="linear-morphometrics.html#cb6-4" aria-hidden="true" tabindex="-1"></a><span class="co">#devtools::install_github(&quot;kassambara/ggpubr&quot;)</span></span> <span id="cb6-5"><a href="linear-morphometrics.html#cb6-5" aria-hidden="true" tabindex="-1"></a><span class="co">#devtools::install_github(&quot;sinhrks/ggfortify&quot;)</span></span> <span id="cb6-6"><a href="linear-morphometrics.html#cb6-6" aria-hidden="true" tabindex="-1"></a><span class="co">#devtools::install_github(&quot;daattali/ggExtra&quot;)</span></span> <span id="cb6-7"><a href="linear-morphometrics.html#cb6-7" aria-hidden="true" tabindex="-1"></a><span class="co"># load libraries</span></span> <span id="cb6-8"><a href="linear-morphometrics.html#cb6-8" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(here)</span></code></pre></div> <pre><code>## here() starts at E:/github/carson.rim</code></pre> <div class="sourceCode" id="cb8"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb8-1"><a href="linear-morphometrics.html#cb8-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(tidyverse)</span></code></pre></div> <pre><code>## -- Attaching packages ------------------------------------------------------------------------- tidyverse 1.3.1 --</code></pre> <pre><code>## v ggplot2 3.3.5 v purrr 0.3.4 ## v tibble 3.1.3 v dplyr 1.0.7 ## v tidyr 1.1.3 v stringr 1.4.0 ## v readr 2.0.1 v forcats 0.5.1</code></pre> <pre><code>## -- Conflicts ---------------------------------------------------------------------------- tidyverse_conflicts() -- ## x dplyr::filter() masks stats::filter() ## x dplyr::lag() masks stats::lag()</code></pre> <div class="sourceCode" id="cb12"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb12-1"><a href="linear-morphometrics.html#cb12-1" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(RRPP)</span> <span id="cb12-2"><a href="linear-morphometrics.html#cb12-2" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(ggpubr)</span> <span id="cb12-3"><a href="linear-morphometrics.html#cb12-3" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(ggfortify)</span> <span id="cb12-4"><a href="linear-morphometrics.html#cb12-4" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(cluster)</span> <span id="cb12-5"><a href="linear-morphometrics.html#cb12-5" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(wesanderson)</span> <span id="cb12-6"><a href="linear-morphometrics.html#cb12-6" aria-hidden="true" tabindex="-1"></a><span class="fu">library</span>(ggExtra)</span></code></pre></div> <div id="read-data-and-define-variables" class="section level2" number="1.1"> <h2><span class="header-section-number">1.1</span> Read data and define variables</h2> <div class="sourceCode" id="cb13"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb13-1"><a href="linear-morphometrics.html#cb13-1" aria-hidden="true" tabindex="-1"></a><span class="co"># read data</span></span> <span id="cb13-2"><a href="linear-morphometrics.html#cb13-2" aria-hidden="true" tabindex="-1"></a>data <span class="ot">&lt;-</span> <span class="fu">read.csv</span>(<span class="st">&quot;qdata.csv&quot;</span>, <span class="at">header =</span> <span class="cn">TRUE</span>, <span class="at">as.is=</span><span class="cn">TRUE</span>)</span> <span id="cb13-3"><a href="linear-morphometrics.html#cb13-3" aria-hidden="true" tabindex="-1"></a></span> <span id="cb13-4"><a href="linear-morphometrics.html#cb13-4" aria-hidden="true" tabindex="-1"></a><span class="co"># define variables</span></span> <span id="cb13-5"><a href="linear-morphometrics.html#cb13-5" aria-hidden="true" tabindex="-1"></a>context <span class="ot">&lt;-</span> data<span class="sc">$</span>context</span> <span id="cb13-6"><a href="linear-morphometrics.html#cb13-6" aria-hidden="true" tabindex="-1"></a>surf.treat <span class="ot">&lt;-</span> data<span class="sc">$</span>surf.treat</span> <span id="cb13-7"><a href="linear-morphometrics.html#cb13-7" aria-hidden="true" tabindex="-1"></a>weight <span class="ot">&lt;-</span> data<span class="sc">$</span>weight</span> <span id="cb13-8"><a href="linear-morphometrics.html#cb13-8" aria-hidden="true" tabindex="-1"></a>lip.len <span class="ot">&lt;-</span> data<span class="sc">$</span>lip.length</span> <span id="cb13-9"><a href="linear-morphometrics.html#cb13-9" aria-hidden="true" tabindex="-1"></a>wall.th <span class="ot">&lt;-</span> data<span class="sc">$</span>wall.thick</span> <span id="cb13-10"><a href="linear-morphometrics.html#cb13-10" aria-hidden="true" tabindex="-1"></a>lip.th <span class="ot">&lt;-</span> data<span class="sc">$</span>lip.thick</span></code></pre></div> </div> <div id="boxplots-for-variable-by-context" class="section level2" number="1.2"> <h2><span class="header-section-number">1.2</span> Boxplots for <em>variable</em> by <em>context</em></h2> <p>Weight is included in the boxplots; however, since sherd weight includes more (sometimes much more) mass than the rim itself, that variable was omitted from the subsequent analysis. The degree to which wall thickness is applicable to this inquiry is debatable; however, it was included for the proof of concept.</p> <div class="sourceCode" id="cb14"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb14-1"><a href="linear-morphometrics.html#cb14-1" aria-hidden="true" tabindex="-1"></a><span class="co"># boxplot of weight ~ context</span></span> <span id="cb14-2"><a href="linear-morphometrics.html#cb14-2" aria-hidden="true" tabindex="-1"></a>contextweight <span class="ot">&lt;-</span> <span class="fu">ggplot</span>(data, <span class="fu">aes</span>(<span class="at">x =</span> context, <span class="at">y =</span> weight, <span class="at">color =</span> context)) <span class="sc">+</span> </span> <span id="cb14-3"><a href="linear-morphometrics.html#cb14-3" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_boxplot</span>() <span class="sc">+</span></span> <span id="cb14-4"><a href="linear-morphometrics.html#cb14-4" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_dotplot</span>(<span class="at">binaxis =</span> <span class="st">&#39;y&#39;</span>,<span class="at">stackdir =</span> <span class="st">&#39;center&#39;</span>,<span class="at">dotsize =</span> <span class="fl">0.3</span>) <span class="sc">+</span></span> <span id="cb14-5"><a href="linear-morphometrics.html#cb14-5" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_colour_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)) <span class="sc">+</span></span> <span id="cb14-6"><a href="linear-morphometrics.html#cb14-6" aria-hidden="true" tabindex="-1"></a> <span class="fu">theme</span>(<span class="at">legend.position =</span> <span class="st">&quot;none&quot;</span>) <span class="sc">+</span></span> <span id="cb14-7"><a href="linear-morphometrics.html#cb14-7" aria-hidden="true" tabindex="-1"></a> <span class="fu">labs</span>(<span class="at">x =</span> <span class="st">&#39;Context&#39;</span>, <span class="at">y =</span> <span class="st">&#39;Weight&#39;</span>)</span> <span id="cb14-8"><a href="linear-morphometrics.html#cb14-8" aria-hidden="true" tabindex="-1"></a></span> <span id="cb14-9"><a href="linear-morphometrics.html#cb14-9" aria-hidden="true" tabindex="-1"></a><span class="co"># boxplot of lip length ~ context</span></span> <span id="cb14-10"><a href="linear-morphometrics.html#cb14-10" aria-hidden="true" tabindex="-1"></a>contextliplen <span class="ot">&lt;-</span> <span class="fu">ggplot</span>(data, <span class="fu">aes</span>(<span class="at">x =</span> context, <span class="at">y =</span> lip.len, <span class="at">color =</span> context)) <span class="sc">+</span> </span> <span id="cb14-11"><a href="linear-morphometrics.html#cb14-11" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_boxplot</span>() <span class="sc">+</span></span> <span id="cb14-12"><a href="linear-morphometrics.html#cb14-12" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_dotplot</span>(<span class="at">binaxis =</span> <span class="st">&#39;y&#39;</span>,<span class="at">stackdir =</span> <span class="st">&#39;center&#39;</span>,<span class="at">dotsize =</span> <span class="fl">0.3</span>) <span class="sc">+</span></span> <span id="cb14-13"><a href="linear-morphometrics.html#cb14-13" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_colour_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)) <span class="sc">+</span></span> <span id="cb14-14"><a href="linear-morphometrics.html#cb14-14" aria-hidden="true" tabindex="-1"></a> <span class="fu">theme</span>(<span class="at">legend.position =</span> <span class="st">&quot;none&quot;</span>) <span class="sc">+</span></span> <span id="cb14-15"><a href="linear-morphometrics.html#cb14-15" aria-hidden="true" tabindex="-1"></a> <span class="fu">labs</span>(<span class="at">x =</span> <span class="st">&#39;Context&#39;</span>, <span class="at">y =</span> <span class="st">&#39;Lip Length&#39;</span>)</span> <span id="cb14-16"><a href="linear-morphometrics.html#cb14-16" aria-hidden="true" tabindex="-1"></a></span> <span id="cb14-17"><a href="linear-morphometrics.html#cb14-17" aria-hidden="true" tabindex="-1"></a><span class="co"># boxplot of wall thickness ~ context</span></span> <span id="cb14-18"><a href="linear-morphometrics.html#cb14-18" aria-hidden="true" tabindex="-1"></a>contextwallth <span class="ot">&lt;-</span> <span class="fu">ggplot</span>(data, <span class="fu">aes</span>(<span class="at">x =</span> context, <span class="at">y =</span> wall.th, <span class="at">color =</span> context)) <span class="sc">+</span> </span> <span id="cb14-19"><a href="linear-morphometrics.html#cb14-19" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_boxplot</span>() <span class="sc">+</span></span> <span id="cb14-20"><a href="linear-morphometrics.html#cb14-20" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_dotplot</span>(<span class="at">binaxis =</span> <span class="st">&#39;y&#39;</span>,<span class="at">stackdir =</span> <span class="st">&#39;center&#39;</span>,<span class="at">dotsize =</span> <span class="fl">0.3</span>) <span class="sc">+</span></span> <span id="cb14-21"><a href="linear-morphometrics.html#cb14-21" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_colour_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)) <span class="sc">+</span></span> <span id="cb14-22"><a href="linear-morphometrics.html#cb14-22" aria-hidden="true" tabindex="-1"></a> <span class="fu">theme</span>(<span class="at">legend.position =</span> <span class="st">&quot;none&quot;</span>) <span class="sc">+</span></span> <span id="cb14-23"><a href="linear-morphometrics.html#cb14-23" aria-hidden="true" tabindex="-1"></a> <span class="fu">labs</span>(<span class="at">x =</span> <span class="st">&#39;Context&#39;</span>, <span class="at">y =</span> <span class="st">&#39;Wall Thickness&#39;</span>)</span> <span id="cb14-24"><a href="linear-morphometrics.html#cb14-24" aria-hidden="true" tabindex="-1"></a></span> <span id="cb14-25"><a href="linear-morphometrics.html#cb14-25" aria-hidden="true" tabindex="-1"></a><span class="co"># boxplot of lip thickness ~ context</span></span> <span id="cb14-26"><a href="linear-morphometrics.html#cb14-26" aria-hidden="true" tabindex="-1"></a>contextlipth <span class="ot">&lt;-</span> <span class="fu">ggplot</span>(data, <span class="fu">aes</span>(<span class="at">x =</span> context, <span class="at">y =</span> lip.th, <span class="at">color =</span> context)) <span class="sc">+</span> </span> <span id="cb14-27"><a href="linear-morphometrics.html#cb14-27" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_boxplot</span>() <span class="sc">+</span></span> <span id="cb14-28"><a href="linear-morphometrics.html#cb14-28" aria-hidden="true" tabindex="-1"></a> <span class="fu">geom_dotplot</span>(<span class="at">binaxis =</span> <span class="st">&#39;y&#39;</span>,<span class="at">stackdir =</span> <span class="st">&#39;center&#39;</span>,<span class="at">dotsize =</span> <span class="fl">0.3</span>) <span class="sc">+</span></span> <span id="cb14-29"><a href="linear-morphometrics.html#cb14-29" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_colour_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)) <span class="sc">+</span></span> <span id="cb14-30"><a href="linear-morphometrics.html#cb14-30" aria-hidden="true" tabindex="-1"></a> <span class="fu">theme</span>(<span class="at">legend.position =</span> <span class="st">&quot;none&quot;</span>) <span class="sc">+</span></span> <span id="cb14-31"><a href="linear-morphometrics.html#cb14-31" aria-hidden="true" tabindex="-1"></a> <span class="fu">labs</span>(<span class="at">x =</span> <span class="st">&#39;Context&#39;</span>, <span class="at">y =</span> <span class="st">&#39;Lip Thickness&#39;</span>)</span> <span id="cb14-32"><a href="linear-morphometrics.html#cb14-32" aria-hidden="true" tabindex="-1"></a></span> <span id="cb14-33"><a href="linear-morphometrics.html#cb14-33" aria-hidden="true" tabindex="-1"></a><span class="co"># render figure</span></span> <span id="cb14-34"><a href="linear-morphometrics.html#cb14-34" aria-hidden="true" tabindex="-1"></a>contextfigure <span class="ot">&lt;-</span> <span class="fu">ggarrange</span>(contextweight, contextliplen, contextwallth, contextlipth,</span> <span id="cb14-35"><a href="linear-morphometrics.html#cb14-35" aria-hidden="true" tabindex="-1"></a> <span class="at">labels =</span> <span class="fu">c</span>(<span class="st">&quot;a&quot;</span>,<span class="st">&quot;b&quot;</span>,<span class="st">&quot;c&quot;</span>,<span class="st">&quot;d&quot;</span>),</span> <span id="cb14-36"><a href="linear-morphometrics.html#cb14-36" aria-hidden="true" tabindex="-1"></a> <span class="at">ncol =</span> <span class="dv">2</span>, <span class="at">nrow =</span> <span class="dv">2</span>)</span></code></pre></div> <pre><code>## Bin width defaults to 1/30 of the range of the data. Pick better value with `binwidth`. ## Bin width defaults to 1/30 of the range of the data. Pick better value with `binwidth`. ## Bin width defaults to 1/30 of the range of the data. Pick better value with `binwidth`. ## Bin width defaults to 1/30 of the range of the data. Pick better value with `binwidth`.</code></pre> <div class="sourceCode" id="cb16"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb16-1"><a href="linear-morphometrics.html#cb16-1" aria-hidden="true" tabindex="-1"></a><span class="co"># plot figure</span></span> <span id="cb16-2"><a href="linear-morphometrics.html#cb16-2" aria-hidden="true" tabindex="-1"></a>contextfigure</span></code></pre></div> <div class="figure"><span style="display:block;" id="fig:boxcontext"></span> <img src="supp_files/figure-html/boxcontext-1.png" alt="Boxplots for weight, lip length, wall thickness, and lip thickness for ceramic rims by context." width="100%" /> <p class="caption"> Figure 1.1: Boxplots for weight, lip length, wall thickness, and lip thickness for ceramic rims by context. </p> </div> </div> <div id="principal-components-analysis" class="section level2" number="1.3"> <h2><span class="header-section-number">1.3</span> Principal Components Analysis</h2> <div class="sourceCode" id="cb17"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb17-1"><a href="linear-morphometrics.html#cb17-1" aria-hidden="true" tabindex="-1"></a><span class="co">#attributes for plot</span></span> <span id="cb17-2"><a href="linear-morphometrics.html#cb17-2" aria-hidden="true" tabindex="-1"></a>df<span class="ot">&lt;-</span>data[<span class="fu">c</span>(<span class="dv">7</span><span class="sc">:</span><span class="dv">9</span>)]</span> <span id="cb17-3"><a href="linear-morphometrics.html#cb17-3" aria-hidden="true" tabindex="-1"></a>pch.gps.gp <span class="ot">&lt;-</span> <span class="fu">c</span>(<span class="dv">15</span>,<span class="dv">16</span>)[<span class="fu">as.factor</span>(context)]</span> <span id="cb17-4"><a href="linear-morphometrics.html#cb17-4" aria-hidden="true" tabindex="-1"></a>col.gps.gp <span class="ot">&lt;-</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)[<span class="fu">as.factor</span>(context)]</span> <span id="cb17-5"><a href="linear-morphometrics.html#cb17-5" aria-hidden="true" tabindex="-1"></a></span> <span id="cb17-6"><a href="linear-morphometrics.html#cb17-6" aria-hidden="true" tabindex="-1"></a><span class="co">#pca</span></span> <span id="cb17-7"><a href="linear-morphometrics.html#cb17-7" aria-hidden="true" tabindex="-1"></a>pca <span class="ot">&lt;-</span> <span class="fu">autoplot</span>(<span class="fu">prcomp</span>(df),</span> <span id="cb17-8"><a href="linear-morphometrics.html#cb17-8" aria-hidden="true" tabindex="-1"></a> <span class="at">data =</span> data,</span> <span id="cb17-9"><a href="linear-morphometrics.html#cb17-9" aria-hidden="true" tabindex="-1"></a> <span class="at">asp =</span> <span class="dv">1</span>,</span> <span id="cb17-10"><a href="linear-morphometrics.html#cb17-10" aria-hidden="true" tabindex="-1"></a> <span class="at">shape =</span> pch.gps.gp,</span> <span id="cb17-11"><a href="linear-morphometrics.html#cb17-11" aria-hidden="true" tabindex="-1"></a> <span class="at">colour =</span> <span class="st">&quot;context&quot;</span>,</span> <span id="cb17-12"><a href="linear-morphometrics.html#cb17-12" aria-hidden="true" tabindex="-1"></a> <span class="at">variance_percentage =</span> <span class="cn">TRUE</span>,</span> <span id="cb17-13"><a href="linear-morphometrics.html#cb17-13" aria-hidden="true" tabindex="-1"></a> <span class="at">loadings =</span> <span class="cn">TRUE</span>, </span> <span id="cb17-14"><a href="linear-morphometrics.html#cb17-14" aria-hidden="true" tabindex="-1"></a> <span class="at">loadings.colour =</span> <span class="st">&#39;blue&#39;</span>,</span> <span id="cb17-15"><a href="linear-morphometrics.html#cb17-15" aria-hidden="true" tabindex="-1"></a> <span class="at">loadings.label =</span> <span class="cn">TRUE</span>,</span> <span id="cb17-16"><a href="linear-morphometrics.html#cb17-16" aria-hidden="true" tabindex="-1"></a> <span class="at">loadings.label.size =</span> <span class="dv">3</span>,</span> <span id="cb17-17"><a href="linear-morphometrics.html#cb17-17" aria-hidden="true" tabindex="-1"></a> <span class="at">frame =</span> <span class="cn">TRUE</span>,</span> <span id="cb17-18"><a href="linear-morphometrics.html#cb17-18" aria-hidden="true" tabindex="-1"></a> <span class="at">frame.type =</span> <span class="st">&#39;t&#39;</span>) <span class="sc">+</span></span> <span id="cb17-19"><a href="linear-morphometrics.html#cb17-19" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_fill_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>)) <span class="sc">+</span></span> <span id="cb17-20"><a href="linear-morphometrics.html#cb17-20" aria-hidden="true" tabindex="-1"></a> <span class="fu">scale_colour_manual</span>(<span class="at">values =</span> <span class="fu">wes_palette</span>(<span class="st">&quot;Moonrise2&quot;</span>))</span> <span id="cb17-21"><a href="linear-morphometrics.html#cb17-21" aria-hidden="true" tabindex="-1"></a></span> <span id="cb17-22"><a href="linear-morphometrics.html#cb17-22" aria-hidden="true" tabindex="-1"></a><span class="fu">ggMarginal</span>(pca, <span class="at">groupColour =</span> <span class="cn">TRUE</span>)</span></code></pre></div> <div class="figure"><span style="display:block;" id="fig:pcacontext"></span> <img src="supp_files/figure-html/pcacontext-1.png" alt="Principal components analysis by context." width="100%" /> <p class="caption"> Figure 1.2: Principal components analysis by context. </p> </div> </div> <div id="analyses-of-variance-anova-for-variable-context" class="section level2" number="1.4"> <h2><span class="header-section-number">1.4</span> Analyses of Variance (ANOVA) for <em>variable</em> ~ <em>context</em></h2> <div id="lip-length-context" class="section level3" number="1.4.1"> <h3><span class="header-section-number">1.4.1</span> <em>Lip length</em> ~ <em>context</em></h3> <div class="sourceCode" id="cb18"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb18-1"><a href="linear-morphometrics.html#cb18-1" aria-hidden="true" tabindex="-1"></a><span class="co"># anova = lip length ~ context</span></span> <span id="cb18-2"><a href="linear-morphometrics.html#cb18-2" aria-hidden="true" tabindex="-1"></a>contextll <span class="ot">&lt;-</span> <span class="fu">lm.rrpp</span>(lip.len <span class="sc">~</span> context, </span> <span id="cb18-3"><a href="linear-morphometrics.html#cb18-3" aria-hidden="true" tabindex="-1"></a> <span class="at">SS.type =</span> <span class="st">&quot;I&quot;</span>, </span> <span id="cb18-4"><a href="linear-morphometrics.html#cb18-4" aria-hidden="true" tabindex="-1"></a> <span class="at">data =</span> data, <span class="at">iter =</span> <span class="dv">9999</span>, </span> <span id="cb18-5"><a href="linear-morphometrics.html#cb18-5" aria-hidden="true" tabindex="-1"></a> <span class="at">print.progress =</span> <span class="cn">FALSE</span>)</span> <span id="cb18-6"><a href="linear-morphometrics.html#cb18-6" aria-hidden="true" tabindex="-1"></a><span class="fu">anova</span>(contextll)</span></code></pre></div> <pre><code>## ## Analysis of Variance, using Residual Randomization ## Permutation procedure: Randomization of null model residuals ## Number of permutations: 10000 ## Estimation method: Ordinary Least Squares ## Sums of Squares and Cross-products: Type I ## Effect sizes (Z) based on F distributions ## ## Df SS MS Rsq F Z Pr(&gt;F) ## context 1 1.211 1.2107 0.00776 0.219 -0.34935 0.6351 ## Residuals 28 154.777 5.5277 0.99224 ## Total 29 155.987 ## ## Call: lm.rrpp(f1 = lip.len ~ context, iter = 9999, SS.type = &quot;I&quot;, data = data, print.progress = FALSE)</code></pre> </div> <div id="wall-thickness-context" class="section level3" number="1.4.2"> <h3><span class="header-section-number">1.4.2</span> <em>Wall thickness</em> ~ <em>context</em></h3> <div class="sourceCode" id="cb20"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb20-1"><a href="linear-morphometrics.html#cb20-1" aria-hidden="true" tabindex="-1"></a><span class="co"># anova = wall thickness ~ context</span></span> <span id="cb20-2"><a href="linear-morphometrics.html#cb20-2" aria-hidden="true" tabindex="-1"></a>contextwth <span class="ot">&lt;-</span> <span class="fu">lm.rrpp</span>(wall.th <span class="sc">~</span> context, </span> <span id="cb20-3"><a href="linear-morphometrics.html#cb20-3" aria-hidden="true" tabindex="-1"></a> <span class="at">SS.type =</span> <span class="st">&quot;I&quot;</span>, </span> <span id="cb20-4"><a href="linear-morphometrics.html#cb20-4" aria-hidden="true" tabindex="-1"></a> <span class="at">data =</span> data, </span> <span id="cb20-5"><a href="linear-morphometrics.html#cb20-5" aria-hidden="true" tabindex="-1"></a> <span class="at">iter =</span> <span class="dv">9999</span>, </span> <span id="cb20-6"><a href="linear-morphometrics.html#cb20-6" aria-hidden="true" tabindex="-1"></a> <span class="at">print.progress =</span> <span class="cn">FALSE</span>)</span> <span id="cb20-7"><a href="linear-morphometrics.html#cb20-7" aria-hidden="true" tabindex="-1"></a><span class="fu">anova</span>(contextwth)</span></code></pre></div> <pre><code>## ## Analysis of Variance, using Residual Randomization ## Permutation procedure: Randomization of null model residuals ## Number of permutations: 10000 ## Estimation method: Ordinary Least Squares ## Sums of Squares and Cross-products: Type I ## Effect sizes (Z) based on F distributions ## ## Df SS MS Rsq F Z Pr(&gt;F) ## context 1 0.575 0.57457 0.00865 0.2443 -0.30361 0.6198 ## Residuals 28 65.863 2.35223 0.99135 ## Total 29 66.437 ## ## Call: lm.rrpp(f1 = wall.th ~ context, iter = 9999, SS.type = &quot;I&quot;, data = data, print.progress = FALSE)</code></pre> </div> <div id="lip-thickness-context" class="section level3" number="1.4.3"> <h3><span class="header-section-number">1.4.3</span> <em>Lip thickness</em> ~ <em>context</em></h3> <div class="sourceCode" id="cb22"><pre class="sourceCode r"><code class="sourceCode r"><span id="cb22-1"><a href="linear-morphometrics.html#cb22-1" aria-hidden="true" tabindex="-1"></a><span class="co"># anova = lip thickness ~ context</span></span> <span id="cb22-2"><a href="linear-morphometrics.html#cb22-2" aria-hidden="true" tabindex="-1"></a>contextlth <span class="ot">&lt;-</span> <span class="fu">lm.rrpp</span>(lip.th <span class="sc">~</span> context, </span> <span id="cb22-3"><a href="linear-morphometrics.html#cb22-3" aria-hidden="true" tabindex="-1"></a> <span class="at">SS.type =</span> <span class="st">&quot;I&quot;</span>, </span> <span id="cb22-4"><a href="linear-morphometrics.html#cb22-4" aria-hidden="true" tabindex="-1"></a> <span class="at">data =</span> data, </span> <span id="cb22-5"><a href="linear-morphometrics.html#cb22-5" aria-hidden="true" tabindex="-1"></a> <span class="at">iter =</span> <span class="dv">9999</span>, </span> <span id="cb22-6"><a href="linear-morphometrics.html#cb22-6" aria-hidden="true" tabindex="-1"></a> <span class="at">print.progress =</span> <span class="cn">FALSE</span>)</span> <span id="cb22-7"><a href="linear-morphometrics.html#cb22-7" aria-hidden="true" tabindex="-1"></a><span class="fu">anova</span>(contextlth)</span></code></pre></div> <pre><code>## ## Analysis of Variance, using Residual Randomization ## Permutation procedure: Randomization of null model residuals ## Number of permutations: 10000 ## Estimation method: Ordinary Least Squares ## Sums of Squares and Cross-products: Type I ## Effect sizes (Z) based on F distributions ## ## Df SS MS Rsq F Z Pr(&gt;F) ## context 1 0.39 0.3903 0.00204 0.0573 -0.93303 0.8098 ## Residuals 28 190.64 6.8086 0.99796 ## Total 29 191.03 ## ## Call: lm.rrpp(f1 = lip.th ~ context, iter = 9999, SS.type = &quot;I&quot;, data = data, print.progress = FALSE)</code></pre> </div> </div> </div> </section> </div> </div> </div> <a href="index.html" class="navigation navigation-prev " aria-label="Previous page"><i class="fa fa-angle-left"></i></a> <a href="geometric-morphometrics.html" class="navigation navigation-next " aria-label="Next page"><i class="fa fa-angle-right"></i></a> </div> </div> <script src="libs/gitbook-2.6.7/js/app.min.js"></script> <script src="libs/gitbook-2.6.7/js/lunr.js"></script> <script src="libs/gitbook-2.6.7/js/clipboard.min.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-search.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-sharing.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-fontsettings.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-bookdown.js"></script> <script src="libs/gitbook-2.6.7/js/jquery.highlight.js"></script> <script src="libs/gitbook-2.6.7/js/plugin-clipboard.js"></script> <script> gitbook.require(["gitbook"], function(gitbook) { gitbook.start({ "sharing": { "github": false, "facebook": true, "twitter": true, "linkedin": false, "weibo": false, "instapaper": false, "vk": false, "whatsapp": false, "all": ["facebook", "twitter", "linkedin", "weibo", "instapaper"] }, "fontsettings": { "theme": "white", "family": "sans", "size": 2 }, "edit": { "link": null, "text": null }, "history": { "link": null, "text": null }, "view": { "link": null, "text": null }, "download": ["supp.pdf", "supp.epub"], "search": { "engine": "lunr", "options": null }, "toc": { "collapse": "subsection" } }); }); </script> </body> </html>
html
Instead of taking back Rohingyas, Myanmar now remains engaged in “persistent campaign” to mislead the international community to avoid its obligations for the “sustained repatriation” and reintegration of the forcibly displaced Rohingya in safety and dignity, says Bangladesh. Dhaka on Wednesday rejected the “baseless accusation, falsification, and misrepresentation of facts” and urged Nay Pyi Taw to stop concocted campaign and concentrate on the fulfillment of its obligations. "Myanmar must act decisively to address the real causes that are preventing the displaced Rohingya from going back voluntarily," said the Ministry of Foreign Affairs' External Publicity Wing. Bangladesh said it is a “matter of utter dismay” to witness such tenacious campaign with fabricated information, misrepresentation of facts, unsubstantiated claims and undue accusations on the part of Myanmar to mislead the international community. Bangladesh is now hosting over 1. 1 million Rohingyas who have fled their homeland in Rakhine State of Myanmar after being persecuted by their own state. Myanmar did not take back a single Rohingya from Bangladesh over the last two years. Two repatriation attempts went unsuccessful as Myanmar “failed to remove trust deficit” among Rohingyas and “lack of conducive environment” in Rakhine State for their return. Bangladesh said Myanmar should seriously consider a comprehensive participation of the international community in creating conducive environment for return as well as in the monitoring of repatriation and reintegration process. "Myanmar should also cooperate with international community to eliminate the culture of impunity for the sake of a durable solution to the protracted problem," the Foreign Ministry said. Bangladesh recently noticed yet another round of such attempts by Myanmar Union Minister for International Cooperation U Kyaw Tin. He resorted to misrepresentation of the whole issue as well as laying unjustified blames on Bangladesh in his effort to refute the well-founded remarks by Bangladesh Foreign Minister on Rohingya crisis at the Preparatory Ministerial Meeting of the 18th Summit of the Non-Aligned Movement on October 23 in Baku, Azerbaijan. In his statement, Tin accused Bangladesh of mischaracterising Rohingya crisis as “religious persecution”, “driving an ethnic group out of the country”, “ethnic cleansing” or “genocide”, among others. In reality, such observations are made by international community based on documented evidence, which bear the unmistakable signs of forcible deportation of a community from its ancestral homeland in Rakhine under atrocity crimes on civilian population, said the Ministry of Foreign Affairs here. The nature and extent of atrocities in 2017 surpassed all previous records, it said. Tin claimed that the crisis is confined only in the northern strip of Rakhine State and people of different faiths are living in harmony in the remaining areas across the country. Bangladesh’s Foreign Ministry pointed out that it is a “well-known fact that continued disenfranchisement of country’s ethnic minorities by successive governments of Myanmar and suppression of their rights and justified demands by force rendered Myanmar as one of the world’s largest homes to Internally Displaced Persons (IDPs) and a leading source of cross-border displacements". A substantial number of forcibly displaced Myanmar nationals of varied ethnic and religious backgrounds are in temporary shelters in different countries for decades and only a few could return and reintegrate in their homeland. Myanmar always portrays Rohingya as ‘illegal-migrants’ from Bangladesh during the colonial era. They have come up with a new claim that there was a massive influx of Bangladeshis to Myanmar during the War of Liberation in 1971. Bangladesh says all these claims are baseless. According to historians, Rohingya is a distinct ethnic community evolved over the centuries through mingling of migrated people of various races and cultures from different parts of the world with the local people in Rakhine. As such, on two previous occasions Myanmar recognised displaced Rohingya in Bangladesh as their lawful residents and repatriated them. After the recent influx, Myanmar signed bilateral instruments with Bangladesh identifying them as “Myanmar residents”. As far as the nationality of Rohingya is concerned, there cannot be any scope for confusion. Attempts to create controversy over their identity at this stage clearly indicate that Myanmar still pursues the policy of exclusion and marginalisation of its ethnic minorities, said the Ministry of Foreign Affairs. It said the Rohingya crisis has been presented as a matter of inter-communal tension and development shortfall in Rakhine State during the speech. In reality, systematic discrimination and persecutions by the state are the root causes of this protracted crisis, as recognised by Kofi Annan Commission and the international community in general, said Bangladesh. What ARSA & Myanmar say? The Myanmar statement blamed ARSA as usual for initiating the crisis and preventing the displaced Rohingya from returning in order to advance their political agenda. "Myanmar should understand that so-called ARSA attack on August 25, 2017 can never justify highly disproportionate military response, widespread human rights abuses, and atrocity crimes on a particular ethnic community," said the Ministry of Foreign Affairs here. Bangladesh reaffirms Myanmar that there are no ARSA activities at Rohingya camps. "It’s not possible to operate terrorist bases anywhere in Bangladesh because of high alertness and effective preventive measures by the security forces in line with ‘zero-tolerance policy’ of the present Government under Prime Minister Sheikh Hasina," the ministry said. Bangladesh has taken adequate measures to ensure that the potential returnees are able to express their views on return without any influence or threat from any quarter. Dhaka said Nay Pyi Taw must refrain from implicating Bangladesh into its internal political and security conundrum and may respond positively to Bangladesh’s offer for a comprehensive cooperation mechanism in the combat of terrorism. "Myanmar government is yet to demonstrate any political will to implement the provisions of bilateral instruments and to address the underlying political, economic, security, and social causes rooted in the problem. " Hollow promises and unsubstantiated claims leaving the root causes unattended will not help convince the prospective returnees, Dhaka said. Inordinate delay in verification of past residency of Rohingya with arbitrary rejection of substantial number of displaced people as “not included in the registered list of household” and excessive focus on technicalities are clear manifestations of their utter reluctance to resolve the crisis through dialogue and negotiation, it added. The claim has been substantiated through their failure to effectively dismantle the IDP camps in Rakhine and resettle the people to the places of their origin or places of their choice, as well as taking back the people sheltered at the international boundary (zero line) as they require no involvement of the government of Bangladesh, said the Ministry of Foreign Affairs. Myanmar often complains against Bangladesh for non-cooperation in repatriation. Such accusation is totally baseless and could be guided by an ulterior motive, Dhaka said. No-one agreed to return on two previous repatriation attempts, as the “Rohingya are not assured of safety, security, and sustainable livelihood” in Rakhine, it said. Bangladesh maintains its principled position of not preventing anyone who intends to return to Myanmar anytime. “It always stands ready to extend all possible cooperation to those who volunteer to return. Sincerity of Bangladesh in facilitating earliest repatriation of Myanmar residents has been unquestionably established through its actions,” said the Ministry of Foreign Affairs here. It said Myanmar’s claim of return of a handful of people out of around 1. 1 million using their personal contact with Myanmar officials does not testify any improvement of the ground reality in Rakhine. A recent comprehensive report on these returnees by Radio Free Asia rather reveals total lack of preparedness on the part of Myanmar, Bangladesh said. What’s the situation in Rakhine State? While Myanmar claims that the situation in the place of return is conducive enough for repatriation, it must allow the international community and representatives of the prospective returnees to visit those places to assess the reality and help the returnees make an informed choice, said Bangladesh. They can also invite international media and UN agencies to justify their claim of creating conducive environment for safe, dignified, and voluntary return in Rakhine. Myanmar usually tries to give a positive impression about the involvement of UN agencies and other partners in Rakhine State, it said. The Ministry of Foreign Affairs said access to Rohingya villages is reportedly still highly restricted for the international community. It said Myanmar persistently denies a meaningful engagement of UN bodies and other partners in creating conducive environment and monitoring of return and reintegration in Rakhine. Unjustifiable accusation on the part of a party, entirely responsible for the protracted crisis, is totally unacceptable, Dhaka said, noting that such venture would undermine Bangladesh’s current efforts to resolve the crisis.
english
ఆ ప్రకారమే మీరీ సంగతులన్నియు జరుగుట చూచునప్పుడు ఆయన సమీపముననే, ద్వారముదగ్గరనే యున్నా డని తెలిసికొనుడి. aa prakaaramē meeree saṅgathulanniyu jaruguṭa choochunappuḍu aayana sameepamunanē, dvaaramudaggaranē yunnaa ḍani telisikonuḍi. Even so, when you see all these things, you know that it is near, right at the door. अंजीर के पेड़ से यह दृष्टान्त सीखो: जब उस की डाली कोमल हो जाती और पत्ते निकलने लगते हैं, तो तुम जान लेते हो, कि ग्रीष्म काल निकट है। அப்படியே இவைகளையெல்லாம் நீங்கள் காணும்போது, அவர் சமீபமாய் வாசலருகே வந்திருக்கிறார் என்று அறியுங்கள். അങ്ങനെ നിങ്ങള് ഇതു ഒക്കെയും കാണുമ്പോള് അവന് അടുക്കെ വാതില്ക്കല് തന്നേ ആയിരിക്കുന്നു എന്നു അറിഞ്ഞുകൊള്വിന് . ಅದರಂತೆಯೇ ನೀವು ಇವುಗಳನ್ನೆಲ್ಲಾ ನೋಡುವಾಗ ಅದು ಸವಿಾಪ ದಲ್ಲಿ ಬಾಗಲುಗಳಲ್ಲಿಯೇ ಇದೆಯೆಂದು ತಿಳು ಕೊಳ್ಳಿರಿ. So likewise ye, when ye shall see all these things, know that it is near, even at the doors.
english
import AddCSV from "./AddCSV"; export default AddCSV;
javascript
The Banaras Hindu University (BHU) has postponed all its entrance examinations owing the extension of the COVID-19 lockdown until May 3rd. The new dates for the entrance exams will be announced in the near future after the lockdown is lifted, reports Indian Express. The university was scheduled to conduct the entrance exams for undergraduate and postgraduate courses on April 26th and May 10th. Moreover the BHU SET exam was scheduled to be conducted on May 1st and all the exams have been postponed. The candidates are advised to go through the official website of BHU, bhu.ac.in, regularly for latest updates regarding the entrance exams and its schedule. The UET exams were scheduled to be conducted in 45 cities and PET exams were scheduled to be conducted in 115 cities, adds the report from Indian Express. The official COVID-19 positive patients figure crossed the 13,300 figure with a death toll of 437 in the country. All the university, school, government recruitment, entrance exams have been put on hold throughout the country until further notice.
english
Feedback (2) China Wholesale Metal Hangers Suppliers – Hanger Supplier New Design Black Color Metal Hanger with Solid Wood Bar – Lipu Detail: If you worry about the closet space are very mess and crowd ? |Item No.: |FOB Port: Each hanger can be hanged for 5 trousers/ ties at same time. Lipu Hometime Household Products Co., Ltd has a professinal QC system. No matter for plastic hangers,metal hangers or wooden hangers,the hangers have to be checked one by one to ensure the quality. Before mass production of clothes hangers,we will make hanger sample and color samples to confirm it; Before shipment,we will check the carton size,weight,quantity,bar code scanning,hanger size,hanger color,cardboard color,cardboard size,logo test etc. 1) We use strong 5-layer thickness of corrugated carton fill with pearls cotton, preventing clothing hangers from shaking and scratching. 2) We pay more attention to the shoulders and hooks.The thickened pearl cotton can reduce the friction between the hangers and protect them. 3) It could meet long time sea way transportation. 3. By Express : We can delivery the small quantity orders or samples by DHL, UPS, TNT, FEDEX, EMS, etc, please kindly inform us the detail address with zip code and contact information, we would check the cost for your reference. Product detail pictures: Related Product Guide: To become the stage of realizing dreams of our employees! To build a happier, more united and extra professional workforce! To reach a mutual advantage of our prospects, suppliers, the society and ourselves for China Wholesale Metal Hangers Suppliers – Hanger Supplier New Design Black Color Metal Hanger with Solid Wood Bar – Lipu , The product will supply to all over the world, such as: Mauritius, London, Hungary, We now have been making our goods for more than 20 years . Mainly do wholesale , so we've the most competitive price , but highest quality. For the past years , we got very good feedbacks , not only because we offer good solutions , but also because of our good after-sale service . We are here waiting for yourself for your inquiry. Sales manager is very enthusiastic and professional, gave us a great concessions and product quality is very good,thank you very much!
english
{"remainingRequest":"/Users/vamsikarri/Desktop/Gathi/Angular/FederatedQuery/node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js??ref--3-1!/Users/vamsikarri/Desktop/Gathi/Angular/FederatedQuery/node_modules/core-js/modules/_meta.js","dependencies":[{"path":"/Users/vamsikarri/Desktop/Gathi/Angular/FederatedQuery/node_modules/core-js/modules/_meta.js","mtime":1529418307520},{"path":"/Users/vamsikarri/Desktop/Gathi/Angular/FederatedQuery/node_modules/cache-loader/dist/cjs.js","mtime":1529418306962},{"path":"/Users/vamsikarri/Desktop/Gathi/Angular/FederatedQuery/node_modules/@angular-devkit/build-optimizer/src/build-optimizer/webpack-loader.js","mtime":1529418304772}],"contextDependencies":[],"result":["var META = require('./_uid')('meta');\nvar isObject = require('./_is-object');\nvar has = require('./_has');\nvar setDesc = require('./_object-dp').f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n return true;\n};\nvar FREEZE = !require('./_fails')(function () {\n return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n setDesc(it, META, { value: {\n i: 'O' + ++id, // object ID\n w: {} // weak collections IDs\n } });\n};\nvar fastKey = function (it, create) {\n // return primitive with prefix\n if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return 'F';\n // not necessary to add metadata\n if (!create) return 'E';\n // add missing metadata\n setMeta(it);\n // return object ID\n } return it[META].i;\n};\nvar getWeak = function (it, create) {\n if (!has(it, META)) {\n // can't set metadata to uncaught frozen object\n if (!isExtensible(it)) return true;\n // not necessary to add metadata\n if (!create) return false;\n // add missing metadata\n setMeta(it);\n // return hash weak collections IDs\n } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n return it;\n};\nvar meta = module.exports = {\n KEY: META,\n NEED: false,\n fastKey: fastKey,\n getWeak: getWeak,\n onFreeze: onFreeze\n};\n",null]}
json
Nani is awaiting the release of Tuck Jagadish which is scheduled to hit the silver screens on 16th April. He joined hands with in-form director, Shiva Nirvana for this film and is pinning high hopes on it. Coming to the topic, we have an exclusive update on Nani’s upcoming project, Ante Sundaraniki, which will have young director, Vivek Athreya at the helm. Apparently, Ante Sundaraniki will mainly bank on peculiar comedy. The comedy track in the film will be on lines of veteran filmmaker Vamsy’s classics. It is said that Vivek Athreya has incorporated Vamsy style of narration and screenplay for Ante Sundaraniki. This should offer a fresh experience to modern-day audiences. Nani is presently busy with Shyam Singha Roy and he will be joining the sets of Ante Sundaraniki very soon. Noted Malayali actress Nazriya Nazim is playing female lead in Ante Sundaraniki and this will her debut straight Telugu film.
english
package algorithms.sort; public class MergeSort { private int[] a = {12,3,56,9,5,11,45,32,2,90,33}; private int[] b = new int[11]; private int loops = 0; public int[] mergeSort(int[] source) { if(source.length == 1) return source; int loop = 0; System.out.println("count:" + source.length + ",loop=" + loop); return merge(null,null); } public int[] merge(int[] left, int[] right) { int[] merge = new int[left.length + right.length]; return merge; } public void merging(int low, int mid, int high) { int l1, l2, i; for(l1 = low, l2 = mid + 1, i = low; l1 <= mid && l2 <= high; i++) { loops++; if(a[l1] <= a[l2]) b[i] = a[l1++]; else b[i] = a[l2++]; } while(l1 <= mid){ b[i++] = a[l1++];loops++; } while(l2 <= high){ b[i++] = a[l2++];loops++; } for(i = low; i <= high; i++){ a[i] = b[i];loops++; } } public void sort(int low, int high) { int mid; if(low < high) { mid = (low + high) / 2; sort(low, mid); sort(mid+1, high); merging(low, mid, high); } else { return; } } public String toString() { String result = "["; for(int i : a) result += i + ","; if(result.length() > 1) result = result.substring(0, result.length() - 1); result += "]"; return result; } public static void main(String[] args) { MergeSort sort = new MergeSort(); System.out.println(sort); sort.sort(0,10); System.out.println("loops="+sort.loops); System.out.println(sort); } }
java
<!DOCTYPE HTML> <!-- Big Picture by HTML5 UP html5up.net | @n33co Free for personal and commercial use under the CCA 3.0 license (html5up.net/license) --> <html> <head> <title>"Step on Cracks"</title> <meta http-equiv="content-type" content="text/html; charset=utf-8" /> <meta name="description" content="" /> <meta name="keywords" content="" /> <!--[if lte IE 8]><script src="css/ie/html5shiv.js"></script><![endif]--> <script src="js/jquery.min.js"></script> <script src="js/jquery.poptrox.min.js"></script> <script src="js/jquery.scrolly.min.js"></script> <script src="js/jquery.scrollex.min.js"></script> <script src="js/skel.min.js"></script> <script src="js/init.js"></script> <noscript> <link rel="stylesheet" href="css/skel.css" /> <link rel="stylesheet" href="css/style.css" /> <link rel="stylesheet" href="css/style-wide.css" /> <link rel="stylesheet" href="css/style-normal.css" /> </noscript> <!--[if lte IE 9]><link rel="stylesheet" href="css/ie/v9.css" /><![endif]--> <!--[if lte IE 8]><link rel="stylesheet" href="css/ie/v8.css" /><![endif]--> </head> <body> <!-- Header --> <header id="header"> <!-- Logo --> <h1 id="logo">The Cracks</h1> <!-- Nav --> <nav id="nav"> <ul> <li><a href="#intro">Intro</a></li> <li><a href="#about">About the Book</a></li> <li><a href="#one">Book Genre</a></li> <li><a href="#two">1940s</a><li> <li><a href="#three">My Thoughts</a></li> <li><a href="#me">About Me</a></li> </ul> </nav> </header> <!-- Intro --> <section id="intro" class="main style1 dark fullscreen"> <div class="content container 75%"> <header> <h2>Hey. I'm Amari.</h2> </header> <p>This is what I read: <a href="https://smile.amazon.com/Stepping-Cracks-Mary-Downing-Hahn/dp/0547076606/ref=tmm_pap_swatch_0?_encoding=UTF8&qid=1574298096&sr=8-1"><span style="color:yellow"><i>Stepping on the Cracks</i></span></a> was wrritte by <NAME>. The main characters are Margaret, Elizabeth, and Gordy, and they are kids in the 1940s. and here is some information I give to you. <p><i><small>#genreproject</small></i></p> <footer> <a href="#about" class="button style2 down">More</a> </footer> </div> </section> <!-- About --> <section id="about" class="main style2 right dark fullscreen"> <div class="content box style2"> <header> <h2>About the Book</h2> </header> <img src="./images/sotc-cover.jpg" style="float:left;width:50%;padding:25px;" alt="Stepping on the Cracks book cover image"> <p align="left">Elizabeth (or Eliza) and Gordy were enemies ever since Kindergarten, but mostly the girls do everyday kid things like getting stuck in tree! There are also mysteries, like a crazy man in the forest. Margaret told her parents about him, but, no mater what she says, they wouldn't believe her. Later in the story, I found out he is Stuart, and he is very sick and could die.</p> </div> <a href="#one" class="button style2 down anchored">Next</a> </section> <!-- One --> <section id="one" class="main style2 left dark fullscreen"> <div class="content box style2"> <header> <h2>Book Genre </h2> </header> <blockquote><small>"'That was before Hitler....The world was different then."</small></blockquote> <h3>Historical Fiction</h3> <img src="./images/1940s-car.png" style="width:50%;padding:15px;" alt="1940s car clipart"> <p>The girls grew up in a time of the Nazis, and many family members and friends were fighting in World War II. Hitler was evil, and Eliza and Margaret said, "Step on a crack. Break Hitler's back."</p> </div> <a href="#two" class="button style2 down anchored">Next</a> </section> <!-- Two --> <section id="two" class="main style2 right dark fullscreen"> <div class="content box style2"> <header> <h2>The 1940s</h2> </header> <img src="./images/soldiers-gif.gif" style="float:left;padding:25px;" alt="wwii soldiers raising the American flag"> <p align="left">There were other ways times back then were different. Cars were expensive in the 1940s, and women didn't fight as soldiers back then. The book does a great job of showing how life was like in those times.</p> </div> <a href="#three" class="button style2 down anchored">Next</a> </section> <!-- Three --> <section id="three" class="main style3 primary"> <div class="content container"> <header> <h2>My Thoughts</h2> <p>The book showed how complicated it was to be a kid in the 1940s, but it's true now, too. For example, Gordy's mean but on the inside he's very caring.</p> </header> <!-- Lightbox Gallery --> <div class="container 75% gallery"> <div class="row 0% images"> <div class="6u"><a href="images/fulls/01.jpg" class="image fit from-left"><img src="images/thumbs/01.jpg" title="The Anonymous Red" alt="" /></a></div> <div class="6u"><a href="images/fulls/02.jpg" class="image fit from-right"><img src="images/thumbs/02.jpg" title="Airchitecture II" alt="" /></a></div> </div> </div> </div> </section> <!-- About Me --> <section id="me" class="main style3 secondary"> <div class="content container"> <header> <h2>About Me</h2> <p>I'm in 5th Grade. I like Sonic, and I like MegaMan, Mario, and Kirby. I also like to hang out with my best friend Tavon. I like to play games, and, when I am drawing, I am actually a very good artist.</p> </header> <div class="box container 75%"> </div> </div> </section> <!-- Footer --> <footer id="footer"> <!-- Menu --> <ul class="menu"> <li>&copy; Amari L.</li><li>Design: <a href="http://html5up.net">HTML5 UP</a></li> </ul> </footer> </body> </html>
html
Fingerprints of seven persons were found at the spot from where a dagger gifted to former prime minister Jawaharlal Nehru by Saudi Arabia was stolen, said sources Wednesday. Police questioned at least 60 people, including employees of Nehru Memorial Museum and Library and labourers engaged in renovation work on a portion of the government-run museum, the sources added. The theft was reported Monday. The dagger was in a glass frame in the gifts gallery, which does not have CCTV cameras. Sources said there were more articles, including a gifted box from Pakistan and a coin from Cambodia, in the same frame but those were intact. The fingerprints were found on broken glass frames and articles not missing from the frame, said a source. The gifts gallery is a few steps from the bedroom where Nehru breathed his last on May 27, 1964. His house was turned into a museum after his death. The museum is in the highly secure Lutyens’ Zone at Teen Murti Marg.
english
<gh_stars>0 import { InstructionParser } from '../parsers/instruction-parser'; import { DataTransferInstructionParser } from '../parsers/data-transfer-instruction-parser'; import { ImmediateInstructionParser } from '../parsers/immediate-instruction-parser'; import { JumpInstructionParser } from '../parsers/jump-instruction-parser'; import { RegisterInstructionParser } from '../parsers/register-instruction-parser'; import { InstructionNotFoundException } from '../exceptions/instruction-not-found-exception'; export class InstructionEncoder { protected parsers: InstructionParser[] = [ new DataTransferInstructionParser(), new ImmediateInstructionParser(), new JumpInstructionParser(), new RegisterInstructionParser() ]; public encode (instruction: string): string { for (const parser of this.parsers) { if (parser.match(instruction)) { return parser.parse(instruction); } } throw new InstructionNotFoundException(instruction); } }
typescript
<gh_stars>0 { "files": { "main.css": "/static/css/main.61153e6d.chunk.css", "main.js": "/static/js/main.e73eac5d.chunk.js", "main.js.map": "/static/js/main.e73eac5d.chunk.js.map", "runtime~main.js": "/static/js/runtime~main.50142108.js", "runtime~main.js.map": "/static/js/runtime~main.50142108.js.map", "static/js/2.0f5333aa.chunk.js": "/static/js/2.0f5333aa.chunk.js", "static/js/2.0f5333aa.chunk.js.map": "/static/js/2.0f5333aa.chunk.js.map", "static/js/3.902e48c2.chunk.js": "/static/js/3.902e48c2.chunk.js", "static/js/3.902e48c2.chunk.js.map": "/static/js/3.902e48c2.chunk.js.map", "static/js/4.98026c78.chunk.js": "/static/js/4.98026c78.chunk.js", "static/js/4.98026c78.chunk.js.map": "/static/js/4.98026c78.chunk.js.map", "index.html": "/index.html", "precache-manifest.7f1371bcc0b7f60f1eaf84da25589808.js": "/precache-manifest.7f1371bcc0b7f60f1eaf84da25589808.js", "service-worker.js": "/service-worker.js", "static/css/main.61153e6d.chunk.css.map": "/static/css/main.61153e6d.chunk.css.map", "static/media/icomoon.css": "/static/media/icomoon.c7a5e0e6.svg", "static/media/newAIServiceBG.png": "/static/media/newAIServiceBG.3665b601.png" } }
json
<reponame>jmussett2005/webpack_materialui import angular from 'angular'; import uiRouter from 'angular-ui-router'; import ngMaterial from 'angular-material' import Common from './common/common'; import Components from './components/components'; import AppComponent from './app.component'; import 'normalize.css'; angular.module('app', [ uiRouter, ngMaterial, Common, Components ]) .config(($stateProvider,$urlRouterProvider, $locationProvider) => { "ngInject"; $locationProvider.html5Mode(true).hashPrefix('!'); $urlRouterProvider.when('/','/main'); $urlRouterProvider.when('/paris','/paris'); $urlRouterProvider.when('/london','/london'); $urlRouterProvider.when('/newyork','/newyork'); $urlRouterProvider.when('/tokio','/tokio'); }) .component('app', AppComponent);
javascript
Actor Anil Kapoor celebrated 30 years of his film Beta, which featured Madhuri Dixit, Anupam Kher and Aruna Irani. Anil took to Instagram and shared a series of photos, where he and Madhuri were seen receiving an award for the movie. He expressed his gratitude for the love that the film received. Beta told the story of a simple man named Raju, who adores his step-mother Laxmi Devi (Aruna Irani) and is unable to see how conniving she really is. Raju marries Saraswati (played by Madhuri Dixit), who realises the schemes that his step-mother has set up for him and struggles to unveil the truth to him. Directed by Indra Kumar, the film was one of the biggest hits of 1992 and won a series of awards. The iconic song Dhak Dhak Karne Laga featured in the film. Fans flooded the video with loving comments, saying that they had seen the blockbuster several times. Others requested Anil and Madhuri to act together again in a new film. Anil and Madhuri starred in several hits of the 90s, and later reunited in the 2019 film, Total Dhamaal. On the work front, Madhuri was last seen in the Netflix web series, The Fame Game.
english
<gh_stars>1-10 """ """ import numpy as np import scipy as sp import pylab as py __all__ = ['LR','NN','CLUSTER','ADAB','DT','KNN','tool' ]
python
{"nom":"Pulversheim","circ":"4ème circonscription","dpt":"Haut-Rhin","inscrits":2430,"abs":1652,"votants":778,"blancs":64,"nuls":18,"exp":696,"res":[{"nuance":"REM","nom":"<NAME>","voix":357},{"nuance":"LR","nom":"<NAME>","voix":339}]}
json
Rating: ( Not yet rated ) Hujjatul Islam Allama Raja Nasir Abbas was interviewed by Shiite News team. Secretary General of MWM, Raja Nasir stated the purpose and goals of the organization. He was also asked by some practical achievements of MWM with regards to Shia/Sunni Unity. This is a voiceover of the interview that could not be recorded. Send MWM_PAK a Message!
english
The Central Bureau of Investigation (CBI) has booked five persons for allegedly posing as Microsoft tech support and siphoning off USD 400,000 (nearly Rs 3. 37 crore) retirement funds of a US citizen. “A case of fraud has been registered against Delhi-based Praful Gupta, Sarita Gupta, Kunal Almadi, Gaurav Pahwa and Kanpur-based Rishabh Dixit on the basis of inputs from the Federal Bureau of Investigation. The CBI conducted searches on their premises in Dilshad Garden and Janakpuri in Delhi, and Kidwai Nagar in Kanpur,” a CBI spokesperson said. “It is alleged that victim Lisa Roth’s laptop was hacked, following which she called a number on the screen and a person feigning affiliation with Microsoft misguided her by informing there were some wire transfers from her account. The imposter advised her to contact Fidelity Investments. When Roth called the number provided by the purported Microsoft employee, she was instructed to transfer money from her Fidelity Investments account to a more secure account,” the FIR said.
english
.app_header { position: absolute; display: flex; justify-content: flex-end; padding: var(--space-x); top: 0; right: 0; } .app_main { padding: 0; } .open { padding-right: 200px; transition: padding-right .2s; } .open .app_navigation { transform: translateX(0); } .app_navigation { right: 0; background-color: pink; width: 200px; height: 100%; position: fixed; transform: translateX(100%); transition: transform linear .2s; } .app__footer { padding: var(--space-x); display: flex; justify-content: space-around; align-content: center; } .app__footer-section {} .app__footer-headline {} .app__footer-content { list-style: none; } .app__footer-item {} .app__footer-link { text-decoration: none; color: currentColor; display: inline-block; } .app__footer-link:after { display:block; content: ''; border-bottom: solid 1px var(--color-accend); transform: scaleX(0); transition: transform 150ms ease-in-out; } .app__footer-link:hover:after { transform: scaleX(1); } .navigation { display: flex; padding: 0; margin: 0; list-style: none; gap: var(--space-m); } .navigation__item { align-self: center; } .navigation__link { text-decoration: none; color: currentColor; display: inline-block; /* margin: 0 var(--space-x); */ } .navigation__link:after { display:block; content: ''; border-bottom: solid 1px var(--color-accend); transform: scaleX(0); transition: transform 150ms ease-in-out; } .navigation__link:hover:after { transform: scaleX(1); }
css
<gh_stars>0 <!DOCTYPE html> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>크흠...</title> <link rel="stylesheet" type="text/css" href="style.css" /> </head> <body> <h1>크흠...</h1> <p>왁자지껄 떠들자</p> <p>작성자: <b>레퀴엠(psycho0525)</b><br /> 작성일: <b>2017-01-17 21:05:00</b></p> <p> <p> <p>다크세이버의 재오픈은 기대하기 힘든걸까요...</p><p> </p><p>처음카페를 보고 가입했을땐 그래도 활동하는분들도 꽤 있고 개발에 힘쓰시는분도 계셔서 한껏 기대를 품었었는데말이죠...</p><p> </p><p>이제는 다들 지치셨는지 시들시들하네요...</p><p> </p><p>M사도 머리가 나쁜게 여기 회원들이 정액제 2~3만원으로도 거의 다한다는 의사가있는분들인데...</p><p> </p><p>똥피스 치워버리고 닥세만오픈해도..</p><p> </p><p>정액제만 100명이라고 쳐도 300...하지만 뭐하고해도 500명이라고 쳐도 1500...물론 홍보를하면 향수생각해서 더올수도있고...부분유료화...경험치 아이템등 부가적인 수입도 만만치않을텐데...</p><p> </p><p>그래도 안하는걸보면...머리가 나쁘거나...혹은</p><p> </p><p>정말로 오랜게임이라 자료가부족하여 오픈을못하거나겠죠...?</p><p> </p><p>근데 후속작인 라피스가 있는데 설마 없겠어요..?</p><p> </p><p>그냥 머리나쁜걸로 하죠...</p> </p> </div> aa</p> <p><b>댓글 6</b><hr /><p><b>Debussy(chekiko18)</b> 2017-01-17 21:17:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_contents">제가 봤을때는 라피스도 운영하기 싫은데 올드유저 때문에 억지로 이어나가는것 같아요 ㅋㅋ 사실 다크세이버도 마찬가지일것 같아요 다시 출시하면 10단까지 그 이후까지도 열심히 해볼 생각은 있지만 너무 오래된 게임이라서 관리하는게 쉬울지.. 관리가 가장 힘들것 같아요 애초에 버그도 무척 많았고 지금 닥세가 있으면 솔직히 치트엔진 같은 프로그램으로 값변경해서 템생성도 할 수 있을것 같고 뭔가 문제가 많을것 같기는 하네요 ㅜ</span> </div> </p><p><b>레퀴엠(psycho0525)</b> 2017-01-17 21:40:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_contents">버그는 기술이 많이 발전한 지금 충분히 막을수있을거라고 생각이드네요...물론 그렇게까지 고급인력이 투입될지는 미지수지만요ㅡㅅㅡ 그냥...게임만하게 해주지...요즘 할만한게임도없고...</span> </div> </p><p><b>Debussy(chekiko18)</b> 2017-01-18 03:21:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_target_name">레퀴엠</span> <span class="u_cbox_contents">뭐 한번에 10단찍기 이런거 아닌이상 버그수리 벽넘어가기 이정도는 있는편이 더 재미있을것 같긴합니다 ㅋㅋ 버그 핵 막는걸 떠나서 진짜 싱글로라도 다시 해보고 싶네요</span> </div> </p><p><b>한겨울(dhsnlal)</b> 2017-01-18 18:40:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_target_name">Debussy</span> <span class="u_cbox_contents">싱글 극공감.... 스팀에다가 패키지로 팔던가 이벤트 형식으로 엠겜에수 팔던가 한번 했으면 좋겟네요 ㅋㅋㅋ</span> </div> </p><p><b>리얼스타(sengjinkim)</b> 2017-01-19 01:16:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_contents">싱글.. 하고싶습니당...ㅠㅠ 에고고</span> </div> </p><p><b>닥세ㅜㅜ(hikdhnim)</b> 2017-01-19 23:19:00<br /> <div class="u_cbox_text_wrap"> <span class="u_cbox_contents">싱글...공감ㅜㅜ..</span> </div> </p></p> </body> </html>
html
{ "<page title>": "2013 New Product Trendy Waterproof Digital Camera Bags And Case For Teenagers - Buy Digital Camera Bags And Case,Digital Camera Bags And Case,Digital Camera Bags And Case Product on Alibaba.com", "fob price": "Get Latest\nPrice", "minorder quantity": "500 Piece/Pieces Pls Contact for Better Price", "payment terms": "L/C,D/A,D/P,T/T,Western Union,MoneyGram", "port": "Guangzhou/Shenzhen", "supply ability": "200000 Piece/Pieces per Month digital camera bags and case" }
json
<reponame>titanium-forks/appcelerator.appc.redis<filename>Gruntfile.js module.exports = function (grunt) { // Project configuration. grunt.initConfig({ appcJs: { src: ['*.js', 'lib/**/*.js', 'models/**/*.js', 'test/**/*.js'] }, mocha_istanbul: { coverage: { src: [ 'test/**/*.js' ], options: { timeout: 30000, ignoreLeaks: false, check: { statements: 90, branches: 70, functions: 90, lines: 90 } } } }, clean: { coverage: ['coverage'], logs: ['logs'], tmp: ['tmp'] } }); // Load grunt plugins for modules grunt.loadNpmTasks('grunt-appc-js'); grunt.loadNpmTasks('grunt-mocha-istanbul'); grunt.loadNpmTasks('grunt-contrib-clean'); // register tasks grunt.registerTask('coverage', ['clean:coverage', 'mocha_istanbul:coverage']); grunt.registerTask('default', ['appcJs', 'test', 'clean']); grunt.registerTask('lint', ['appcJs']); grunt.registerTask('test', ['clean:coverage', 'mocha_istanbul:coverage']); };
javascript
Sergio Ramos insists Spain leaves Russia with its "head held high" after being dumped out of the World Cup by host Russia on Sunday. Igor Akinfeev was Russia's hero after saving penalties from Koke and Iago Aspas as 2010 champion Spain, which dominated possession without creating clear chances, was defeated 4-3 on penalties after the game had finished 1-1. Sergei Ignashevich became the oldest scorer of an own goal in World Cup history when the 38-year-old gave Spain an early lead at the Luzhniki Stadium. Host Russia drew level in the 41st minute, Artem Dzyuba smashing home a penalty after his header was blocked by Gerard Pique's arm in the box. Its spot-kick exit caps a tumultuous campaign for Spain, with head coach Julen Lopetegui having been dramatically sacked on the eve of the tournament and replaced with Fernando Hierro. But Ramos was in mood to admonish his team-mates after their emotional elimination. "We leave with our heads held high," he said, as quoted by Mundo Deportivo. "They played to get to penalties from the start. It was the only way to do us damage. "We hope this isn't the last World Cup for this generation. It's very tough to go out like this, with these players. "I'm proud of them as captain because we put our souls into trying to win out there. We did everything possible."
english
(Cricket West Indies) West Indian batters are known for their power-hitting skills which help them score runs at rapid speeds and Rahkeem Cornwall is no exception to the rule. The West Indian all-rounder showcased his capabilities with the bat in the CPL by smashing a huge maximum over the roof of the stadium. Saint Lucia Kings registered a dominant win over Barbados Royals on Sunday in the Carribean Premier League. They batted first scoring 195/6 while the opposition was skittled out for a paltry total of 105. Nothing was going Barbados’ way but Rahkeem Cornwall, who was one of the few batters to reach double digits for the team, smashed an impressive six which had everyone in awe. Matthew Forde was bowling the third over of the innings and Cornwall was taking strike. The bowler decided to vary his space and bowled a slower delivery to deceive the batter. However, Cornwall was quick to read the delivery and he whacked it square of the wicket. The hit was so huge that it landed on the roof of the stadium. The distance of the shot highlighted its magnitude and Twitterati were quick to praise the West Indian all-rounder for his brilliant power-hitting.
english
<reponame>Akrivus/MoeMagic { "aliases": [ "minecraft:nether_brick_fence", "minecraft:nether_brick_slab", "minecraft:nether_brick_stairs", "minecraft:nether_brick_wall" ] }
json
<filename>src/auto/button_box.rs // This file was generated by gir (https://github.com/gtk-rs/gir @ 8b9d0bb) // from gir-files (https://github.com/gtk-rs/gir-files @ 77d1f70) // DO NOT EDIT use Box; use Buildable; use ButtonBoxStyle; use Container; use Orientable; use Orientation; use Widget; use ffi; use glib; use glib::StaticType; use glib::Value; use glib::object::Downcast; use glib::object::IsA; use glib::signal::SignalHandlerId; use glib::signal::connect; use glib::translate::*; use glib_ffi; use gobject_ffi; use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; use std::ptr; glib_wrapper! { pub struct ButtonBox(Object<ffi::GtkButtonBox, ffi::GtkButtonBoxClass>): Box, Container, Widget, Buildable, Orientable; match fn { get_type => || ffi::gtk_button_box_get_type(), } } impl ButtonBox { pub fn new(orientation: Orientation) -> ButtonBox { assert_initialized_main_thread!(); unsafe { Widget::from_glib_none(ffi::gtk_button_box_new(orientation.to_glib())).downcast_unchecked() } } } pub trait ButtonBoxExt { fn get_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P) -> bool; fn get_child_secondary<P: IsA<Widget>>(&self, child: &P) -> bool; fn get_layout(&self) -> ButtonBoxStyle; fn set_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P, non_homogeneous: bool); fn set_child_secondary<P: IsA<Widget>>(&self, child: &P, is_secondary: bool); fn set_layout(&self, layout_style: ButtonBoxStyle); fn get_property_layout_style(&self) -> ButtonBoxStyle; fn set_property_layout_style(&self, layout_style: ButtonBoxStyle); fn connect_property_layout_style_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId; } impl<O: IsA<ButtonBox> + IsA<glib::object::Object>> ButtonBoxExt for O { fn get_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P) -> bool { unsafe { from_glib(ffi::gtk_button_box_get_child_non_homogeneous(self.to_glib_none().0, child.to_glib_none().0)) } } fn get_child_secondary<P: IsA<Widget>>(&self, child: &P) -> bool { unsafe { from_glib(ffi::gtk_button_box_get_child_secondary(self.to_glib_none().0, child.to_glib_none().0)) } } fn get_layout(&self) -> ButtonBoxStyle { unsafe { from_glib(ffi::gtk_button_box_get_layout(self.to_glib_none().0)) } } fn set_child_non_homogeneous<P: IsA<Widget>>(&self, child: &P, non_homogeneous: bool) { unsafe { ffi::gtk_button_box_set_child_non_homogeneous(self.to_glib_none().0, child.to_glib_none().0, non_homogeneous.to_glib()); } } fn set_child_secondary<P: IsA<Widget>>(&self, child: &P, is_secondary: bool) { unsafe { ffi::gtk_button_box_set_child_secondary(self.to_glib_none().0, child.to_glib_none().0, is_secondary.to_glib()); } } fn set_layout(&self, layout_style: ButtonBoxStyle) { unsafe { ffi::gtk_button_box_set_layout(self.to_glib_none().0, layout_style.to_glib()); } } fn get_property_layout_style(&self) -> ButtonBoxStyle { unsafe { let mut value = Value::from_type(<ButtonBoxStyle as StaticType>::static_type()); gobject_ffi::g_object_get_property(self.to_glib_none().0, "layout-style".to_glib_none().0, value.to_glib_none_mut().0); value.get().unwrap() } } fn set_property_layout_style(&self, layout_style: ButtonBoxStyle) { unsafe { gobject_ffi::g_object_set_property(self.to_glib_none().0, "layout-style".to_glib_none().0, Value::from(&layout_style).to_glib_none().0); } } fn connect_property_layout_style_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { unsafe { let f: Box_<Box_<Fn(&Self) + 'static>> = Box_::new(Box_::new(f)); connect(self.to_glib_none().0, "notify::layout-style", transmute(notify_layout_style_trampoline::<Self> as usize), Box_::into_raw(f) as *mut _) } } } unsafe extern "C" fn notify_layout_style_trampoline<P>(this: *mut ffi::GtkButtonBox, _param_spec: glib_ffi::gpointer, f: glib_ffi::gpointer) where P: IsA<ButtonBox> { let f: &&(Fn(&P) + 'static) = transmute(f); f(&ButtonBox::from_glib_borrow(this).downcast_unchecked()) }
rust
If there is anyone who can keep Stephen A. Smith quiet while having a conversation, it is a Los Angeles-based Rapper called Ice Cube. When asked about the Lakers and their performances this season, rapper and actor Ice Cube spoke frankly and straight from the heart. As a league founder, he knows the hardships of building a league and running it successfully for five seasons. He told the viewers of ‘First Take’ that he did not have fun watching the Lakers play, but he also said the tough times wouldn’t last. He said the Lakers were going to be alright under the new coach and would be back at the top sooner than later. When asked about the Clippers, he called them a derogatory word, to which he did not bat an eye. With those beady eyes and a goatee, he was so sure that the noisy neighbor’s Clippers would not account for much, ever. This may be the first time in a while, that Stephen A. Smith has let his guest for so long without him interfering. With Ice Cube on the call, it looks like finally met his match. He was polished, suave, and understood boundaries. The man is known to be one of the loudest guys in the studio. So loud neighbors do not need to see him, they can hear him over all that traffic. You can make a man walk to the river, but cannot make him drink. Same with Cube, he will never choose the Celtics to win any series. West Coast rappers and Los Angeles Lakers – a love story that goes back decades. O’Shea Jackson Sr. aka Ice Cube is one such high profile name born and brought up in California. He grew up watching the show-time Lakers and Magic Johnson while being born in the era of the 1971-72 Lakers dynasty. With that kind of an influence over him, Ice Cube always made sure he watched Los Angeles Lakers games whenever he could. he was there for the highs and was also there for the lows – a true fan. He, Snoop Dogg, and Jack Nicholson are three big names everyone remembers sitting courtside during most home games. Since starting the Big 3, Cube has been frequenting the Crypto.com arena at a much more leisurely pace. But he still makes sure he catches them on TV and extends his support any way he can. When asked about “who will win the finals” his answer should surprise no Lakers fan. He didn’t just want the Golden State to make a comeback and win – he wanted the Celtics to lose. A true purple and gold supporter cannot watch Banner number 18 to be green and silver – it’s like watching Slytherin win the house cup at the end of the year *shudder*!
english
{ "name": "@zcorefinance/react-native-credit-card-display", "version": "0.3.11", "description": "Credit Card Component for React Native -- Display Only", "main": "lib/commonjs/index", "module": "lib/module/index", "types": "lib/typescript/index.d.ts", "react-native": "src/index", "source": "src/index", "keywords": [ "react-native", "ios", "android" ], "repository": "https://github.com/mosqueiro/react-native-credit-card-display", "author": "<NAME> <<EMAIL>> (https://github.com/SConaway)", "license": "MIT", "bugs": { "url": "https://github.com/mosqueiro/react-native-credit-card-display/issues" }, "homepage": "https://github.com/mosqueiro/react-native-credit-card-display#readme", "publishConfig": { "registry": "https://registry.npmjs.org/" }, "dependencies": { "creditcardutils": "^1.0.0", "react-native-flip-card": "^3.5.6" } }
json
A photo of a signboard which has won the hearts of social media users has gone viral on Twitter. The signboard is of a medical shop and was spotted in Ludhiana, Punjab. While businesses are often opened in the name of sons, this medical shop's signboard proudly reads "Gupta and Daughters". The photo was shared by Twitter user @DrAmankashyap on the microblogging platform. "Gupta nd daughters . . . . Unlike all the shops opened in the name of Sons, a medicine shop in association with “Gupta & Daughters” spotted in Ludhiana. Be the change you want to see in this world," the photo is captioned. Take a look: The photo has received over 3,000 likes with netizens praising Gupta hi. The photo is being widely shared across social media platforms including Facebook and Twitter. One user said, "I was also telling my father to do this before, he denied. But still happy to see this and will show this to my father too. " Another wrote, "Yeh hui na baat! " A third user tweeted, "Breaking the norm, To a gesture warm, Gupta & Daughters instead Of routine Gupta & Sons tread, The new path oblivious to a storm. " Someone commented, "Lovely so much happy to see different name. " A tweet read, "Why go from one extreme to another? Why not 'Gupta and Children's'? " Yet another user said, "This implies the daughters are actively involved in the business + are credited for the same. I'm super impressed! " What do you think about the signboard?
english
{ "id": 8669, "source": "clarke", "verse_id": 18552, "verse_count": 1, "reference": "44:18", "title": "", "html": " <p> <em>He hath shut their eyes \"Their eyes are closed up\"\u2014<\/em>, The Septuagint, Chaldee, and Vulyate, for <span class=\"greek-hebrew\">,\u05d8\u05d7 <\/span> <span class=\"translit\">, tach<\/span>, read <span class=\"greek-hebrew\">,\u05d8\u05d7\u05d5 <\/span> <span class=\"translit\">, tachu<\/span>,. See note on <a class=\"isa\" verses=\"WzE3NzgwXQ==\">Isaiah 6:10<\/a>. <\/p>", "audit": null }
json
After a long association with the Congress party, Scindia switched to the BJP in March 2020. In an embarrassing slip of tongue, BJP leader Jyotiraditya Scindia asked the crowd at a rally to “press the button with the symbol of the hand and vote for Cong...” before correcting himself. Scindia was campaigning in Dabra for his party ahead of the bye-elections in Madhya Pradesh on November 3. Scindia had resigned from the ruling Congress party in Madhya Pradesh in March 2020 and joined the BJP. The resignation of 22 of his fellow legislators led to the need for bye-elections, which will be held in 28 constituencies of the state, NDTV reported. In another viral video, Scindia alleged that former Chief Minister Kamal Nath had called him a “dog”. “Yes, I am a dog, and my owner is the public,” Scindia said at a rally in Sadora, The Times of India reported. The Congress denied the allegation, saying that the word was never used by Kamal Nath.
english
Welcome to The Pavilion. Weddings & Banquets. Meetings & Seminars. Trade Shows & Conventions. FOR MORE INFORMATION CLICK HERE. FOR MORE INFORMATION CLICK HERE. FOR MORE INFORMATION CLICK HERE. FOR MORE INFORMATION CLICK HERE. FOR MORE INFORMATION CLICK HERE. FOR MORE INFORMATION CLICK HERE. This huge facility is the ideal solution for Southern Illinois gatherings, meetings and events. You can have a wedding, anniversary party, class reunion, birthday party, club banquet, trade shows, fundraiser, or any other special event that you plan! The Pavilion will make your event or party memorable. The Pavilion is able to accommodate any size meeting, whether it's for 30 or 300 people. The Pavilion has a flexible floorplan that can accommodate all your meeting requirements. The Pavilion in Marion is the perfect place to spend the most memorable day of your lives. We can accommodate you in style and comfort at our facility. For more information, please call one of our representatives.
english
<reponame>KalilDev/sway-borders # Border Image Samples This folder contains sample border images for anyone's use. A `testing` folder also provides border images which can be used for easier debugging of incorrect border image rendering. Feel free to add your own and make a PR, as long as they aren't _too_ similar to existing samples. Please include a sample image and keep the list in alphabetical order. ## Rounded ![](https://raw.githubusercontent.com/TheAvidDev/sway-borders/master/contrib/borders/rounded/sample.png) ## Rounded and Shadows ![](https://raw.githubusercontent.com/TheAvidDev/sway-borders/master/contrib/borders/rounded_and_shadows/sample.png) ## Shadows ![](https://raw.githubusercontent.com/TheAvidDev/sway-borders/master/contrib/borders/shadows/sample.png) ## Testing ![](https://raw.githubusercontent.com/TheAvidDev/sway-borders/master/contrib/borders/testing/sample.png)
markdown
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE>53_wzc1995.cpp</TITLE> <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script type="text/javascript"> <!-- function ZweiFrames(URL1,F1,URL2,F2) { parent.frames[F1].location.href=URL1; parent.frames[F2].location.href=URL2; } //--> </script> </HEAD> <BODY BGCOLOR="#ffffff"> <HR> <H3><CENTER>53_wzc1995.cpp</CENTER></H3><HR> <PRE> class Solution { private: vector&lt;int&gt; solve(int u, int fa, int n, const vector&lt;vector&lt;int&gt;&gt; &amp;graph, vector&lt;int&gt; &amp;ans, const string &amp;labels) { vector&lt;int&gt; seen(26, 0); <A NAME="0"></A> seen[labels[u] - 'a']++; for (int v : graph[u]) <FONT color="#0000ff"><A HREF="javascript:ZweiFrames('match25-1.html#0',3,'match25-top.html#0',1)"><IMG SRC="forward.gif" ALT="other" BORDER="0" ALIGN="right"></A><B> if (v != fa) { vector&lt;int&gt; ret = solve(v, u, n, graph, ans, labels); for (int i = 0; i &lt; 26; i++) seen[i] += ret[i]; } ans[u] = seen[labels[u] - 'a']; return seen; } public: vector&lt;int&gt; countSubTrees(int n, vector&lt;vector&lt;int&gt;&gt;&amp; edges, string labels) { vector&lt;vector&lt;int&gt;&gt; graph(n); for (const auto &amp;e : edges) { graph[e[0]].push_back(e[1]); graph[e[1]].push_back(e[0]); } vector&lt;int&gt; ans(n); solve(0, -1, n, graph, ans, labels); return ans; } };</B></FONT> </PRE> </BODY> </HTML>
html
# Databricks notebook source <KEY> <KEY> FU<KEY> # COMMAND ---------- IGGFBPPWOLKVGNZERZSMIPXSWYCZIJUGAXZJXLAZBEDF # COMMAND ---------- USRRGJJCMCWCNNKFBHHDYPKWJBHBZOXKJ # COMMAND ---------- <KEY> # COMMAND ---------- UIGNYMSFYFJXLTJKUMABIBDT # COMMAND ---------- <KEY> WID<KEY> <KEY> ZZQSRPVGV<KEY> U<KEY> # COMMAND ---------- RD<KEY> B<KEY> H<KEY> # COMMAND ---------- URKCFECZEGPYRIVU <KEY> <KEY> # COMMAND ---------- <KEY> # COMMAND ---------- PODQTNSUMZDNSKMAQPFXZERBRIRGMYKDYG DXNNRUAIXJJLRDO BSPBJDEKEDWRPWRXRYOMZMJZRSK<KEY> V<KEY>RF<KEY> # COMMAND ---------- <KEY> # COMMAND ---------- <KEY> <KEY> # COMMAND ---------- <KEY> <KEY> # COMMAND ---------- <KEY> <KEY> <KEY> # COMMAND ---------- <KEY> AF<KEY> # COMMAND ---------- <KEY> DB<KEY> # COMMAND ---------- YCG<KEY> <KEY> <KEY> # COMMAND ---------- ZRVAOZRAYN NMEGHRENACAKMPTMCCNTUBFMQZODD
python
{ "$id": "https://example.com/schema.json", "$schema": "http://json-schema.org/draft-07/schema#", "description": "Testing $ref with URL", "type": "object", "properties": { "firstName": { "$ref": "https://raw.githubusercontent.com/coveooss/json-schema-for-humans/master/tests/cases/basic.json#/properties/firstName" } } }
json
class Solution(object): def validMountainArray(self, arr): """ :type arr: List[int] :rtype: bool """ i=0 j=len(arr)-1 while i<j and (arr[i] < arr[i+1]): i+=1 while j>0 and (arr[j-1] > arr[j]): j-=1 return i > 0 and j < len(arr)-1 and i==j
python
<filename>Solutions/SAP/Demo/scenarios/1-ICF_Service_Activated/metadata.json { "Message":"Sample to activate ICF Service Activated rule", "ID":"1", "RunCount":"15", "Replacements":[ { "ReplacementName":"ServiceName", "ReplacementValueScriptBlock":"@(\"PING\",\"INFO\",\"ES\") | Get-Random", "ReplacementValue":"" } ], "Files":[ "ABAPTableDataLog.1" ] }
json
<reponame>mtnekros/WebGIS-Assignment-Project<gh_stars>1-10 // base osm layer var osmLayer =new ol.layer.Tile({ title: 'Base Map', source: new ol.source.OSM(), type: 'base' }) // initializing map object var map = new ol.Map({ target: 'mainMap', layers: [ osmLayer ], view: new ol.View({ center: ol.proj.fromLonLat([84.1240, 28.3949]), zoom: 7 }) }); // bing base map initializing var bingBase = new ol.layer.Tile({ title: 'BingMaps', // same name as variable type: 'base', visible: false, source: new ol.source.BingMaps({ key: '<KEY>', imagerySet: 'AerialWithLabels', maxZoom: 19 }) }); map.addLayer(bingBase); // bingBase map toggling functionalities var bingBaseCheckBox = document.getElementById("bingBaseLayer"); bingBaseCheckBox.addEventListener("change",toggleBaseMap); function toggleBaseMap() { if (bingBaseCheckBox.checked) { bingBase.setVisible(true); osmLayer.setVisible(false); return 1; } else { osmLayer.setVisible(true); bingBase.setVisible(false); return 0; } } // initializing total population layer var populationLayer = new ol.layer.Image({ visible: true, source: new ol.source.ImageWMS({ url: 'http://localhost:8080/geoserver/Nepal/wms', params: {'Layers': 'Nepal:nepal_district'}, serverType: 'geoserver' }) }); // initializing male population layer var malePopulationLayer = new ol.layer.Image({ visible: false, source: new ol.source.ImageWMS({ url: 'http://localhost:8080/geoserver/Nepal/wms', params: {'Layers' : 'Nepal:MalePopulation'}, serverType: 'geoserver' }) }); // initializing female population layer var femalePopulationLayer = new ol.layer.Image({ visible: false, source: new ol.source.ImageWMS({ url: 'http://localhost:8080/geoserver/Nepal/wms', params: {'Layers' : 'Nepal:femalePopulation'}, serverType: 'geoserver' }) }); // initializing administrative layer var administrativeLayer = new ol.layer.Image({ visible: false, source: new ol.source.ImageWMS({ url: 'http://localhost:8080/geoserver/Nepal/wms', params: {'LAYERS': 'Nepal:municipalities-polygon'}, serverType: 'geoserver' }) }); // initializing land cover layer var landCoverLayer = new ol.layer.Image({ visible: false, source: new ol.source.ImageWMS({ url: 'http://localhost:8080/geoserver/Nepal/wms', params: {'LAYERS': 'Nepal:geotiff_coverage'}, serverType: 'geoserver' }) }); // making the list of above layers layers = { 'totalPopLayerLegend':populationLayer, 'malePopulationLayerLegend':malePopulationLayer, 'femalePopulationLayerLegend':femalePopulationLayer, 'administrativeLayerLegend':administrativeLayer, 'landCoverLayerLegend':landCoverLayer }; // adding the layers to map using for loop for (var key in layers) { map.addLayer(layers[key]); } // initializing checkboxes from the document $(function (){ $('.layerCheckBox').change( function() { var legend = $(this).attr('data-legend')// which is also the key for layers dictionary if ($(this).is(':checked')) { layers[legend].setVisible(true); hideAllLegendExcept(legend); } else { layers[legend].setVisible(false); } } ) }); // function to hide all layers function hideAllLegendExcept(legendToShow) { for (var key in layers) { $('#'+key).hide(); } $('#'+legendToShow).slideDown(100); } hideAllLegendExcept("totalPopLayerLegend")
javascript
import Page from './page'; import { expect } from 'chai'; /** * sub page containing specific selectors and methods for a specific page */ class HomePage extends Page { /** * define selectors using getter methods */ get title() { return $("//h1[contains(text(),'Sistema de registro de ventas')]"); } get btnReportGenerate() { return $("//span[contains(text(),'Generar reporte')]"); } get btnSellRegister() { return $("//span[contains(text(),'Registrar Venta')]"); } get btnCheckDebt() { return $("//span[contains(text(),'Consultar deuda')]"); } } export default new HomePage();
javascript
<reponame>hinok/react-cool-portal export default { sm: '@media (min-width: 576px)', md: '@media (min-width: 768px)', lg: '@media (min-width: 992px)', xl: '@media (min-width: 1200px)' };
typescript
import json import os from contextlib import ExitStack from collections import defaultdict os.makedirs("workdata/icc", exist_ok=True) files = defaultdict(dict) with open("workdata/clausified.json", "r") as f: with ExitStack() as stack: for ds in ["eca", "emotion-stimulus", "reman", "gne", "electoral_tweets"]: for split in ["train", "dev", "test"]: files[ds][split] = stack.enter_context( open(f"workdata/icc/{ds}.{split}", "w") ) for line in f: data = json.loads(line) ds = data["dataset"] split = data["split"] for clause in data["clauses"]: text = " ".join(token for token, tag in clause) label = int(bool(set("BI") & {tag for token, tag in clause})) files[ds][split].write(f"{text}\t{label}\n")
python
<reponame>SimpleMessageNotification/smn-http-push-demo /* * Copyright (C) 2018. Huawei Technologies Co., LTD. All rights reserved. * * This program is free software; you can redistribute it and/or modify * it under the terms of Apache License, Version 2.0. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * Apache License, Version 2.0 for more details. */ package com.smn.httppush.demo.response; import java.io.Serializable; /** * 响应结果 * * @author zhangyx * @version 1.0.0 */ public class Response<T> implements Serializable { private static final long serialVersionUID = -4774672312419683890L; /** * 错误码 */ private int errCode = 0; /** * 错误信息 */ private String errMessage = "success"; /** * 无参构造函数 */ public Response() { } /** * 构造成功的Response实例 * * @param data 返回数据 * @param <T> 泛型类型 * @return 成功的响应数据 */ public static <T> Response<T> newSuccess(T data) { Response<T> result = new Response<>(0, "success"); result.data = data; return result; } /** * 构造方法 * * @param errCode 错误码 * @param errMessage 错误信息 */ public Response(int errCode, String errMessage) { this.errCode = errCode; this.errMessage = errMessage; } /** * 返回数据 */ private T data; public int getErrCode() { return errCode; } public void setErrCode(int errCode) { this.errCode = errCode; } public String getErrMessage() { return errMessage; } public void setErrMessage(String errMessage) { this.errMessage = errMessage; } public T getData() { return data; } public void setData(T data) { this.data = data; } }
java
{ "datetime": "14 July 1932", "format": "unknown", "place": "Carlton Elite Hotel, Zurich", "source": "MS. Cornell", "author": "<NAME>", "year": "1932", "recipient": "<NAME>", "text": "Dear Stannie: If that review wishes to reproduce a black and white of one of the ‘lettrines’ you yourself should write to: <NAME> <NAME> et Cie 335 rue S. H<NAME> is summering at Feldkirch with some friends, Hotel zum Loewen. I am here about my eyes. Their state is aggravated owing to my delay in coming, due to one damn worry after another. In fact Vogt fears the eye he could have perhaps saved 20 months ago must go blind. However, I am under observation. Best regards to Nelly and yourself <NAME> is at La Ferme du May S. Jean-Cap Ferrat Alpes Maritimes France.", "lang": "en" }
json
## 1.0.0 Adding description to pubspec as convention requires
markdown