text
stringlengths
1
1.04M
language
stringclasses
25 values
** Those who have registered in our existing website 'www.wbtdc.gov.in' are requested to generate new password using (Forgot Password) option for first time access. All existing booked details will be shown in your user dashboard after successful login. You can Cancel/Preponed/Postponed your booked PNR based on availability. ** Make sure to enter the same Email-Id & Mobile Number which was used for previous booking, to generate new password.
english
<reponame>ngaurav/aadhaar<filename>allaccess/context_processors.py "Helpers to add provider and account access information to the template context." from __future__ import unicode_literals from django.utils.functional import SimpleLazyObject from .compat import APPENGINE from .models import Provider def _get_enabled(): """Wrapped function for filtering enabled providers.""" providers = Provider.objects.all() return [p for p in providers if p.enabled()] def available_providers(request): "Adds the list of enabled providers to the context." if APPENGINE: # Note: AppEngine inequality queries are limited to one property. # See https://developers.google.com/appengine/docs/python/datastore/queries#Python_Restrictions_on_queries # Users have also noted that the exclusion queries don't work # See https://github.com/mlavin/django-all-access/pull/46 # So this is lazily-filtered in Python qs = SimpleLazyObject(lambda: _get_enabled()) else: qs = Provider.objects.filter(consumer_secret__isnull=False, consumer_key__isnull=False) return {'allaccess_providers': qs}
python
Ano ang isang silicone rubber gasket? Ang mga silicone rubber gasket ay mga mekanikal na seal na may mataas na pagganap na may pambihirang pagtutol sa matinding temperatura.Ginagamit ang mga silicone gasket upang maiwasan ang mga pagtagas sa pagitan ng iba't ibang seksyon ng substrate sa isang malawak na hanay ng mga aplikasyon.Sa Martin's Rubber, mayroon kaming mga pasilidad upang gumawa ng karaniwang laki ng gasket at washer, pati na rin ang mga pasadyang bahagi sa bahay, na ang bawat isa ay ginawa mula sa pinakamataas na kalidad na silicone gasket material.Dito, maaari mong tingnan ang amingsilicone rubber gasket data sheetupang makita ang mga katangian ng silicone rubber gasket at mga pagtutukoy ng materyal. Ang mga silicone rubber gasket ay may mahusay na paglaban sa temperatura sa parehong mainit at malamig na kapaligiran.Mayroon din silang mga natatanging katangian ng UV at ozone na ginagawang angkop para sa mga panlabas na aplikasyon.Bilang isang hindi gumagalaw na materyal, ang silicone sa pangkalahatan ay hindi tumutugon sa karamihan ng mga kemikal, na nangangahulugan na ito ay popular para sa paggamit sa mga medikal at pang-industriyang aplikasyon. Sa Martin's Rubber, ang aming mga silicone gasket ay angkop para gamitin bilang mga aircraft gasket.Gumagawa kami ng mga gasket gamit ang mga materyales na nakakatugon sa mga detalye ng Boeing at Airbus FAR/JAR kung saan kinakailangan.Kasama rin sa aming hanay ng silicone gasket ang: Ang isa sa maraming mga pambihirang katangian ng mga gasket sa materyal na silicone ay ang mga ito ay lubhang nababanat at kayang panindigan ang marami sa kanilang mga katangian sa napakataas at mababang temperatura.Ang mga katangian ng mababang temperatura ng isang silicone gasket ay hindi mapapantayan ng anumang iba pang elastomer.Sa katunayan, ang aming mga silicone rubber gasket ay maaaring manatiling flexible sa mga temperatura sa pagitan ng -100°C hanggang +230°C.Ginagawa nitong perpektong materyal ang aming gasket material para sa mga application na nakalantad sa gayong matinding temperatura.
english
----- Can Granting Punishment For Defective Investigation ? ----- Can Granting Punishment For Defective Investigation ? پاک اسٹڈی لائبریری اپنی خدمات کو بہتر کرنے کے لئے نئے سوفٹ وئیر انسٹال کررہی ہے ۔ اس لئے آئندہ کچھ دن آپ کو کچھ صفحات تک رسائی میں مشکلات کا سامنا ہوسکتا ہے ۔ جس کے لئے ہم معذرت خواہ ہیں۔ Pak Study Library is installing new software to improve its services. herefore, in the next few days, you may face difficulties in accessing some pages. sorry for the inconvenience. ----- Can Granting Punishment For Defective Investigation ? ----- Articles Were Substituted Through Eighteenth Amendment ? ----- Articles Were Amended By Seventh Amendment Act Of The Constitution Of 1973 ? ----- Articles Of The Constitution Were Amended Through Eighth Constitution Amendment ? ---- Schedule Of The Anti-Terrorism Act, 1997 Deals With Conventions? ---- Is The Last Section Of The Control Of Narcotics Substances Act, 1997? ---- Is Also Called Little Brain? ---- Covers Human Body? ---- Is The Presiding Court Of A District ? --- Is Empowered By The West Pakistan Civil Courts Ordinance, With Framing Rules For Civil Courts Etc? Xxxi Contains ----- Rules? Xxviii, Of C.P.C. Deals With----------? Both (A) And (B) Wound Is Divided In-------? Woever Commits Offence Under Section 489b, P.P.C. Shall Be Punished With Imprisonment For--------? Witness To Be Examined In Open Court As Provided In----------? O. Xviii, R. 5, O. Xviii, R. 3, O. Xviii, R. 4, Willful Or Negligent Conduct In Respect Of Dogs Is Dealt By Article -----, Of The Police Order, 2002? Both And B. Whoever Without Any Intention To Cause Death Of Or Causes Harm To, A Person, Causes Death Of Such Person Either By Mostake Of Act Or By Mistake Of Fact, Whoever Uses Money Or Other Property For The Purpose Of Terrorism He Committed Offence Under Section ------ Of The Anti-Terrorism Act, 1997? Whoever Uses Government Stamp Fraudulently Or With Intent To Cause Loss To Government He Has Committed Offence Under Section ----- P.P.C? Section 262, P.P.C. Section 263, P.P.C. Section 264, P.P.C. Whoever Uproots One Eyebrow Shall Be Liable To Arsh Equal To--------?
english
Here are the video game mysteries still standing after the 2016 Electronic Entertainment Expo. The 2016 Electronic Entertainment Expo (E3) brought us some fantastic new games, but it also left us with a whole bunch of questions. Here are some of the biggest video game posers we're still pondering as of today. Nintendo was, by far, the biggest mystery of the show. We knew that the Japanese company wouldn't show its upcoming Nintendo NX game console at E3 this year, but we figured we'd get a few exciting new games and a hint or two about the console. Instead, Nintendo's E3 2016 was all about the new Legend of Zelda: Breath of the Wild, an exciting, sprawling open-world adventure that could be the game of the show. But it could also be the Wii U's last hurrah, because Nintendo didn't announce anything else for Wii U owners to look forward to. Perhaps the company's saving its new game ideas for the Nintendo NX instead. But what is the Nintendo NX, anyhow? We still have no real idea. Nintendo's consoles almost always have crazy new tech on board -- perhaps it's jumping into VR? It was one of the biggest surprises of the show. Hideo Kojima, the spurned creator of the Metal Gear Solid games, took the stage to introduce an incredibly bizarre trailer for a game starring Norman Reedus -- perhaps better known as the motorcycle-riding, crossbow-wielding Daryl Dixon on TV's "The Walking Dead." But several days and several Kojima interviews later, we're no closer to understanding what his new PlayStation-exclusive video game -- Death Stranding -- really is. Or any idea why a naked, crying Norman Reedus is holding a baby. Maybe it's supposed to recall those creepy PlayStation 3 ads. Microsoft says it's up to Sony. Sony says it's up to developers. At E3, developers told us to talk to Sony and Microsoft. Nobody has (yet) been willing to go on the record to say the big console manufacturers are actually working together to make it happen, or when. The HTC Vive -- not the Oculus Rift -- is currently the best VR headset you can buy. That may change when the Oculus Touch motion controllers arrive. But that depends on how much those controllers will cost and how long we'll need to wait...and E3 came and went without answers to those questions. Oculus did announce several new games for the Touch controllers, though, and we very much enjoyed using them in Star Trek: Bridge Crew and Wilson's Heart. Microsoft's new Xbox One S game console is 40 percent slimmer, for the same $299. But when it launches this August, you won't be able to actually buy it for that price. Instead, you'll pay $399, £349 or AU$549 for a version with a larger 2TB hard drive. When will the other versions ship? To my knowledge, no journalist has gotten the answer yet. It sure sounded like the Grand Theft Auto, Red Dead Redemption and Max Payne developer would unveil a new game at E3 2016. An earnings release from parent company Take-Two in May said Rockstar would announce "some exciting future projects...soon," and Take-Two CEO Strauss Zelnick told MCV that his company would be at E3 2016 "in a big way." But Rockstar didn't make it to E3 this year. The biggest Take-Two endeavour at this year's show was a giant booth for Mafia 3: The long-awaited final chapter in Kingdom Hearts, the popular Disney-Final Fantasy mashup, was an E3 no-show this year, despite showing off a polished gameplay trailer at E3 2015. This is a game that's been in development for at least three years, in a series that's taking so long to finish that it completely skipped the PlayStation 3 and is moving straight to PS4 and Xbox One. You'd be forgiven for wondering if developer Square Enix is delaying it on purpose, though. At E3 2016, the company emphasized the amusingly named Kingdom Hearts 2.8 Final Chapter Prologue, a game that will reportedly only offer "several hours" of new content...and yet is still "vital to players' understanding of Kingdom Hearts 3," according to our friends at GameSpot. Way to milk it, Square Enix. Seriously: Ubisoft announced the sequel to the cult-classic game eight years ago. Ubisoft's CEO confirmed that it's still in development, but when might it ever come out? Sony and Microsoft did something very unusual at E3 2016 -- they admitted that their rumored next-gen consoles actually do exist. Microsoft's Project Scorpio is coming in 2017 with support for 4K gaming and virtual reality headsets, and Sony's PlayStation Neo (or maybe PlayStation 4K, or perhaps PS4.5 depending who you ask) will similarly offer improved graphics. Neither company offered the slightest hint, however, at what those new consoles might look like at E3, and only offered the most rudimentary idea of what they might offer and when they might actually arrive. Speaking of Project Scorpio, Microsoft didn't explain what kind of VR headset you'll use, or VR content you'll buy, for that console's virtual reality features. Though there were rumors that Facebook and Microsoft might expand their partnership to let you use the Oculus Rift with that next Xbox, no such announcement occurred at E3. Instead, Microsoft name-dropped Fallout 4 as a title gamers could look forward to playing in VR -- a game that's only been confirmed for the HTC Vive so far. Only director David Cage knows the answer to that question. If it helps, he told me that it's got the most branching narratives of any game his studio has ever made -- more than Beyond: Two Souls and more than Heavy Rain.
english
{"examples":[{"translation":"住在大城市是方便的。","first":"Living in the big city is ","last":"."},{"translation":"吃早饭时,做稀粥是很方便的。","first":"Gruel is ","last":" to make in the morning for breakfast."},{"translation":"在你方便的时候我想来看看你。","first":"I'd like to see you whenever it's ","last":"."}],"pronunciation":{"uk":{"phonetic":"kən'viːnjənt","audio":"convenient-uk.mp3"},"us":{"phonetic":"kən'viːnjənt","audio":"convenient-us.mp3"}},"definition":{"en":{"adj":["suited to your comfort or purpose or needs","large and roomy (`convenient' is archaic in this sense)"]},"cn":{"adj":["方便的"]}},"id":1838,"content":"convenient"}
json
html,body{ height: 100%; margin: 0; padding: 0; } body { font-size: large; background-color: whitesmoke; } #main-content { padding: 10px; display: flex; flex-direction: column; /* flex-wrap: wrap; */ align-items: center; } #main-content button { margin: 2px; } .card { padding: 10px; } .card-title { padding-inline: 10px; }
css
The value of the New York Knicks may be shocking to many NBA fans. At the moment, the Knicks are the second most valuable team in the league, just behind the Golden State Warriors. The team hasn't had much success in the past two decades. The last time they appeared in the NBA Finals was in 1999. In fact, the Knicks have missed the playoffs in nine of the past 10 seasons. This article will reveal the current value of the New York Knicks and take a deeper look into everything that makes it up. The article will also compare the team's current value to its value in previous years. The New York Knicks are valued at $6.1 billion in 2022, making them the second most valuable NBA team. Surprisingly, the Knicks are the only team in the top 10 that hasn't achieved much success in the past decade. While the Knicks are far from being the top team in the league, their value comes mostly from their location. Playing in New York City comes with its perks, and these perks are great for the owners. With a TV market size of nearly 7.5 million, the Knickerbockers have the biggest market in the NBA. The second-largest market is Los Angeles (5.7 million), while the third spot is taken by Chicago (3.5 million). On top of this, Madison Square Garden Sports owns both the team and the arena. Due to this, it's not surprising that the value of the Knicks is astronomically high. Here is the historical value of the team, according to Forbes: The value of the New York Knicks has increased by roughly 5% since their last estimation. Since 2014, the team's value has increased by more than 335%, which is incredible. The Golden State Warriors are the most valuable NBA team in 2022. Considering that the Warriors recently won their fourth championship in the past eight years, it's not surprising that they are valued at $7 billion. The Warriors also own their arena. Chase Center, which opened in 2019, is worth more than $1.4 billion alone. Another team from California, the LA Lakers, is near the top of the list. The Lakers are valued at $5.9 billion and are far ahead of the Chicago Bulls ($4.1 billion) and Boston Celtics ($4 billion) who are in the fourth and fifth spot, respectively. How did Michael Jordan's gambling "habit" taint his image?
english
- Kids Nutrition (2-15 Yrs) Pack Size (2) Care plan members get extra discounts, free shipping, rapid delivery, free premium doctor consultation and more. Delivering to: Paytm Wallet: Pay with Paytm Wallet on Tata 1mg for ₹999 or more and get cashback up to Rs. 500 with minimum cashback of Rs. 50. Offer ends 7th October 2023. Baidyanath (Jhansi) Arshkuthar Ras Tablet is an Ayurvedic medicine in tablet form. It is a Ras Aushadhi of Ayurveda. Mercury is known as Rasa in Ayurveda, and medicines prepared using purified mercury, purified Sulphur, bhasma etc. are named as Ras aushadhi (Mercurial Preparations). Para, Parad, Rasa or mercury is a heavy metal that remains liquid at room temperature. It is used in Ayurveda only after proper detoxification as per classical Ayurvedic texts. Parad is used in numerous medicines due to its powerful medicinal properties. It balances Vata, Pitta and Kapha. Ras aushadhi (Parad containing medicine) are fast-acting. They nourish whole body and has tonic, aphrodisiac, rejuvenating, anti-aging, wound-healer, and antimicrobial effect. The combination of mercury with other medicinal ingredients enhances the therapeutic efficacy of medicine due to Yogvahi property of parad. In preparation of Ras aushadhi/medicine first Kajjali is made from purified parad and gandhak. As these medicines contain heavy metals, it is better to take them as prescription drugs. Key Ingredients: Key Benefits: Directions For Use: Use as directed. Safety Information: Key Ingredients: Key Benefits: Directions For Use: Use as directed. Safety Information: A licensed vendor partner from your nearest location will deliver Baidyanath (Jhansi) Arshkuthar Ras Tablet. Once the pharmacy accepts your order, the details of the pharmacy will be shared with you. A licensed vendor partner from your nearest location will deliver Baidyanath (Jhansi) Arshkuthar Ras Tablet. Once the pharmacy accepts your order, the details of the pharmacy will be shared with you.
english
John Cena made his WWE debut in June 2002, answering Kurt Angle's open challenge with an unforgettable show of "Ruthless Aggression. " Over the next twenty years, Cena built an all-time great career, winning two Royal Rumbles and a record five United States and 16 world championships. Prior to his iconic introduction to the WWE Universe, The Champ trained in Ohio Valley Wrestling under head booker Jim Cornette. He was part of a group of superstars that made their WWE bow in 2002 and is widely regarded as one of the greatest classes of company recruits to be called up from the same developmental territory. These superstars changed the industry in many ways, taking different paths to arrive at legendary status. A common debate surrounding this group is who is the greatest WWE Superstar among them. As part of John Cena month, let's rank their two-decade careers in the company based on criteria such as achievements, influence and ability. Let us know what you think in the comments! During his time in OVW, John Cena and Rico Constantino lost the Southern Tag Team championships to Shelton Benjamin and Brock Lesnar. They met again on the main roster, most notably in a tornado tag team encounter on May 15, 2006 where Benjamin won the Intercontinental Championship. The Gold Standard is the only man on this list who has not yet captured a world title, but he has nonetheless had a memorable career. Mostly used as a tag team specialist, the ten-time champion's 244-day reign with the IC title (which Cena never won) in 2004 was the longest of the decade. Benjamin possesses as much ability as the rest of the men on this list, and a late career run in the main event scene would be much deserved. Batista and John Cena have had similar career paths since arriving in WWE twenty years ago. The duo won their first world championships on the same night at WrestleMania 21, having been in the final two of the 2005 Royal Rumble. After rising to the top of the company, both men later pursued Hollywood careers, where they are established stars today. The Animal is a six-time WWE world champion and two-time Royal Rumble winner. He would rank higher on this list had he spent more time in the company as an active competitor. However, his exploits in the movie industry have afforded more opportunities to performers hoping to cross the divide between the two media. Lesnar went on to break The Undertaker's streak and become a 10-time world champion, but his success in the UFC was the main catalyst for his superstardom. Additionally, his trailblazing paved the way for MMA stars such as Ronda Rousey to crossover to WWE. Randy Orton and John Cena's WWE journeys have been entwined for more than a decade. The pair faced each other 22 times on television and premium live events from 2005 to 2017, and have won 30 world championships between them. Cena aside, only Ric Flair has won more world titles than Orton. Nobody has embodied what it means to be a WWE Superstar for the past two decades like John Cena. The 16-time champion led the company through the Ruthless Aggression and PG eras, reinventing himself from a very popular rapper character to the ultimate babyface. He main-evented the highest-grossing WrestleMania in history alongside The Rock, and helped introduce stars such as AJ Styles to the WWE Universe. Away from his stellar in-ring achievements, The Champ's record with merchandise sales, granting Make-A-Wish requests and media appearances set the blueprint for future top stars. Cena earns the top spot on this list by virtue of gaining greater stardom inside WWE than his peers on this list before pursuing his Hollywood career. Twenty years after his first appearance, Cena is a legitimate contender for the company's Mount Rushmore. Poll : Is John Cena the biggest star among the OVW 5?
english
import numpy as np import mfd from matplotlib import pyplot as pl n = 30 xr = np.linspace(0, 2*1.5, int(n*1.5)) yr = np.linspace(0, 2, n) x, y = np.meshgrid(xr, yr) z = np.exp(-x*x-y*y) w = abs(xr[0]-xr[1]) a = mfd.sca(z, w) b = np.load('data.npy') pl.pcolormesh(x, y, (a-b)/a) pl.colorbar() ax = pl.gca() ax.set_aspect('equal') pl.show()
python
New Delhi: Ordering a probe into the the missing key documents related to the Ishrat Jahan case, Home Minister Rajnath Singh on Thursday accused the then UPA government of a flip-flop over the controversial 2004 shootout that killed the alleged Lashkar-e-Taiba woman operative. “Two letters from the then home secretary to the attorney general in 2009 have gone missing. The then attorney general had vetted two affidavits regarding the case. Those are also not available,” Rajnath Singh told the Lok Sabha on Thursday, replying to a brief debate on the controversial June 15, 2004, shootout. He said that the government has launched an “internal inquiry” to find the missing documents “which will bring all the facts out” in the open. Without naming Congress’s P. Chidambaram, Rajnath Singh alleged that affidavits regarding the case were corrected on the intervention of the then home minister and reaffirmed that an investigation has found that the Thane girl was a terrorist — a claim also seconded by American-Pakistani terrorist David Coleman Headley in his deposition. “I am pained to say that there was a flip-flop on Ishrat Jahan case during the previous UPA (United Progressive Alliance) government,” Rajnath Singh said, amid a pandemonium by some opposition members. The minister also accused the previous government of hatching a conspiracy to malign the then Gujarat chief minister Narendra Modi and his government. Rajnath Singh said that government was not relying solely on the testimony of Headley – a Lashkar operative who scouted terror targets before the 2008 Mumbai terror attack. Headley is currently in a US jail from where he was questioned by an Indian magistrate last month through videoconferencing. The Pakistani-American terrorist said he had heard his LeT handlers talk about a girl in India named Ishrat. The controversy over the case flared up again after Headley made the startling claim on February 11 this year about the 2004 Gujarat encounter — the already murky Ishrat Jahan case has become even murkier. Rajnath Singh alleged that the previous government had tried to give a political and communal colour to terrorism in India and reminded the Congress of the “saffron terror” label given to describe acts of violence allegedly committed by Hindu nationalists. He said that the whole world was battling “the menace of terrorism” and “there should not be politics over it”. International online casino Casino Days has published a report sharing their internal data on what types and brands of devices are used to play on the platform by users from the South Asian region. Such aggregate data analyses allow the operator to optimise their website for the brands and models of devices people are actually using. The insights gained through the research also help Casino Days tailor their services based on the better understanding of their clients and their needs. The primary data samples analysed by Casino Days reveal that mobile connections dominate the market in South Asia and are responsible for a whopping 96.6% of gaming sessions, while computers and tablets have negligible shares of 2.9% and 0.5% respectively. The authors of the study point out that historically, playing online casino was exclusively done on computers, and attribute thе major shift to mobile that has unfolded over time to the wide spread of cheaper smartphones and mobile data plans in South Asia. “Some of the reasons behind this massive difference in device type are affordability, technical advantages, as well as cheaper and more obtainable internet plans for mobiles than those for computers,” the researchers comment. Chinese brands Xiaomi and Vivo were used by 21.9% and 20.79% of Casino Days players from South Asia respectively, and together with the positioned in third place with a 18.1% share South Korean brand Samsung dominate the market among real money gamers in the region. Cupertino, California-based Apple is way down in seventh with a user share of just 2.29%, overshadowed by Chinese brands Realme (11.43%), OPPO (11.23%), and OnePlus (4.07%). Huawei is at the very bottom of the chart with a tiny share just below the single percent mark, trailing behind mobile devices by Motorola, Google, and Infinix. The data on actual phone usage provided by Casino Days, even though limited to the gaming parts of the population of South Asia, paints a different picture from global statistics on smartphone shipments by vendors. Apple and Samsung have been sharing the worldwide lead for over a decade, while current regional leader Xiaomi secured their third position globally just a couple of years ago. The shifted market share patterns of the world’s top smartphone brands in South Asia observed by the Casino Days research paper reveal a striking dominance of Android devices at the expense of iOS-powered phones. On the global level, Android enjoys a comfortable lead with a sizable 68.79% share which grows to nearly 79% when we look at the whole continent of Asia. The data on South Asian real money gaming communities suggests that Android’s dominance grows even higher and is north of the 90% mark. Among the major factors behind these figures, the authors of the study point to the relative affordability of and greater availability of Android devices in the region, especially when manufactured locally in countries like India and Vietnam. “And, with influencers and tech reviews putting emphasis on Android devices, the choice of mobile phone brand and OS becomes easy; Android has a much wider range of products and caters to the Asian online casino market in ways that Apple can’t due to technical limitations,” the researchers add. The far better integration achieved by Google Pay compared to its counterpart Apple Pay has also played a crucial role in shaping the existing smartphone market trends.
english
<filename>Intro html css/contacts.html <!DOCTYPE html> <html> <head> <link rel="stylesheet" href="sheets.css"/> </head> <body> <div id="conte"> <h2>Project Plan:</h2> <p> This Project will take a maximum of three weeks to reach its completion. </p> <h2>Week One: </h2> <p> <ul> <li>Database connectivity</li> <li>Technical implementation</li> <li>Code test </li> </ul> </p> <h2>Week Two: </h2> <p> <ul> <li>Design and Implementation</li> <li>Program Design and Coding</li> <li>Logic Implementation</li> <li>Code test </li> </ul> </p> <h2>Week Three: </h2> <p> <ul> <li>Solving Technical errors</li> <li>Solving Logical errors</li> <li>Updating the System if any </li> </ul> </p> </div> </body> </html>
html
The United States has said that its military mission in Afghanistan will conclude on 31st August. The announcement comes amid the ongoing battle between the Afghan commandos and the Taliban for control of a provincial capital since Washington started withdrawing troops from Afghanistan. Afghanistan. The President said, the United States did not go to Afghanistan to nation-build and called upon the countries in the region to step up efforts to bring about a political solution in Afghanistan. He expressed faith in Afghan forces. The US President pledged to continue supporting the Afghan government and security forces. Since the US ramped up its withdrawal, the Taliban have launched a blistering offensive to capture new territory. Afghan President Ashraf Ghani said, the government had the capacity to handle the situation.
english
#include "mtransx1.h" #include "opengl2.h" MTransX1::MTransX1(void) {} MTransX1::MTransX1(MTranslation2 *command){ this->command = command; } MTransX1::~MTransX1(void) {} void MTransX1::display(OpenGL &aOpenGL){ aOpenGL.display(this); } void MTransX1::update(GLubyte aKey){ update2(); } void MTransX1::update(GLint aKey){ update2(); } void MTransX1::update2(void){ command->setDirection(STOP); command->setSpeed(0.0); }
cpp
import numpy as np from scipy.integrate import quad import random import matplotlib.pyplot as plt from matplotlib.patches import Circle # Example for Monte Carlo method. point_in=0 point_out=0 for i in range(10000): x=random.uniform(0,1) y=random.uniform(0,1) if y<=np.sqrt(1-x**2): point_in=point_in+1 else: point_out=point_out+1 pi=4*point_in/(point_out+point_in) print(pi)
python
Relaxed Christmas. Oh, the Christmas holiday! A few days off that are filled with overbuying, cooking, and time spent with friends and relatives. Sometimes, these activities can drive you nuts. Well, Lidl’s commercial depicts the “Cool Uncle” that has everything under control during the Holiday season. Check out this “easy” commercial.
english
body { font-family: "RobotoRegular", sans-serif; color: #333; font-weight: normal; font-size: 16px; min-width: 320px; position: relative; line-height: 1.42857; -webkit-font-smoothing: antialised; } h1 { color: #fff; font-size: 60px; line-height: 56px; font-weight: bold; font-family: "CleanvertisingLight", sans-serif; margin: 0; } section, footer { padding: 58px 0 68px; } section.s_dark h2, section.s_dark h3, section.s_dark p, footer.s_dark h2, footer.s_dark h3, footer.s_dark p { color: #fff; } section h2, footer h2 { color: #003469; font-size: 50px; line-height: 56px; margin-bottom: 50px; font-family: "CleanvertisingLight", sans-serif; text-align: center; margin-top: 0; font-weight: normal; } p strong { font-family: "RobotoBold", sans-serif; font-weight: normal; } body input:focus:required:invalid, body textarea:focus:required:invalid { color: red; -webkit-box-shadow: #9B1818 0 0 0 3px; box-shadow: #9B1818 0 0 0 3px; border-color: #9B1818; } body input:required:valid, body textarea:required:valid { color: green; } .hidden { display: none; } header { min-height: 640px; background-image: url(../img/top_bg.jpg); background-position: top center; background-size: cover; color: #fff; padding-top: 32px; padding-bottom: 40px; } .logo { font-size: 40px; font-family: "RobotoBold", sans-serif; font-weight: bold; } .logo1 { max-width: 250px; } .top_phone, .bottom_phone { text-align: right; } .bottom_phone { text-align: center; margin-top: 50px; color: #9B1818; } .tab_item { display: none; } .tab_item:first-child { display: block; } .top_phone .wrapper .tab, .bottom_phone .wrapper .tab { text-transform: uppercase; cursor: pointer; } .top_phone .wrapper .active, .bottom_phone .wrapper .active { text-decoration: underline; } .top_phone .tab_item, .bottom_phone .tab_item { display: none; font-size: 34px; font-family: "RobotoBold", sans-serif; } .top_header { margin-top: 70px; } .top_header h2 { margin: 10px 0 0; font-family: "CleanvertisingLight", sans-serif; font-size: 36px; } .tabs_header { margin-top: 50px; } .tabs_header ul, .tabs_header li { list-style-type: none; margin: 0; padding: 0; } .tabs_header ul li, .tabs_header li li { padding-left: 30px; position: relative; margin-bottom: 15px; } .tabs_header ul i, .tabs_header li i { position: absolute; left: 0; top: 0; line-height: 25px; color: #6f6a67; } .tabs_header .tabs .tab { display: inline-block; background-color: rgba(255, 255, 255, 0.25); padding: 15px 18px; text-transform: uppercase; cursor: pointer; float: left; font-family: "RobotoBold", sans-serif; -webkit-transition: all 0.25s ease; -moz-transition: all 0.25s ease; -o-transition: all 0.25s ease; transition: all 0.25s ease; } .tabs_header .tabs .tab.active { background-color: rgba(255, 255, 255, 0.6); color: #000; } .tabs_header .tab_content { color: #000; text-transform: uppercase; font-family: "RobotoBold", sans-serif; font-size: 18px; background-color: rgba(255, 255, 255, 0.6); padding: 12px 18px 16px; } .fa-globe, .fa-credit-card, .fa-percent { font-size: 20px; } .button { border: none; cursor: pointer; display: inline-block; line-height: 46px; height: 46px; padding: 0 32px; background-color: #000; text-transform: uppercase; text-align: center; color: #fff; border-radius: 3px; font-size: 16px; font-family: "RobotoRegular", sans-serif; } .button.btn_red { background-color: #9B1818; } .button.btn_green { background-color: #67bc5c; } .button.btn_white { background-color: #fff; color: #000; } .button_wrap { text-align: right; } a.button { color: #fff; text-decoration: none; } .s_tizers { background-color: #c6d8ee; background-image: -webkit-linear-gradient(#c6d8ee, #e8eff7); background-image: -webkit-gradient(linear, left top, left bottom, from(#c6d8ee), to(#e8eff7)); background-image: -o-linear-gradient(#c6d8ee, #e8eff7); background-image: linear-gradient(#c6d8ee, #e8eff7); color: #003469; font-family: "CleanvertisingLight", sans-serif; text-transform: uppercase; padding: 35px 0 0; } .s_tizers span { font-size: 14px; display: block; } .s_tizers strong { font-weight: normal; font-size: 23px; display: block; } .s_tizers .row > div { margin-bottom: 35px; } .tiz_img, .tiz_descr { display: inline-block; vertical-align: bottom; } .tiz_img i { font-size: 70px; line-height: 48px; margin-right: 5px; } .s_tizers .row > div:nth-child(1) i { margin-right: 10px; } .s_tizers .row > div:nth-child(1) strong { font-size: 25px; line-height: 28px; } .s_tizers .row > div:nth-child(1) span { font-size: 20px; line-height: 20px; } .s_tizers .row > div:nth-child(2) strong { font-size: 25px; line-height: 28px; } .s_tizers .row > div:nth-child(2) span { font-size: 16px; line-height: 20px; } .s_tizers .row > div:nth-child(2) i { position: relative; bottom: -5px; } .s_tizers .row > div:nth-child(3) strong { font-size: 22px; line-height: 25px; } .s_tizers .row > div:nth-child(3) span { line-height: 25px; } .s_tizers .row > div:nth-child(4) span { font-size: 13px; line-height: 20px; } .s_tizers .row > div:nth-child(4) strong { line-height: 30px; } .s_tizers .row > div:nth-child(4) i { line-height: 55px; } .profi_left { color: #9B1818; } .profi_left i { font-size: 100px; line-height: 110px; } .profi_right h3 { display: inline-block; margin: 0; color: #9B1818; font-size: 28px; } form { background-color: #F7F7F7; padding: 25px 30px; border: #67bc5c 5px solid; border-radius: 5px; } form h2 { text-transform: uppercase; margin-top: 0; font-family: "RobotoBold", sans-serif; font-size: 22px; color: #333; line-height: 22px; margin-bottom: 30px; } form label { display: block; margin-bottom: 15px; color: #666; font-size: 14px; } form input, form select { display: block; line-height: 40px; height: 40px; border: #D9D9D9 1px solid; -webkit-box-shadow: 0 0 20px rgba(0, 0, 0, 0.06) inset; box-shadow: 0 0 20px rgba(0, 0, 0, 0.06) inset; width: 100%; text-indent: 10px; font-size: 20px; margin-top: 5px; } form input:focus, form select:focus { -webkit-box-shadow: #67bc5c 0 0 0 2px; box-shadow: #67bc5c 0 0 0 2px; border-radius: 3px; border-color: #67bc5c; } form .button_wrap { text-align: center; margin: 30px 0 10px; } .s_review { background-image: url(../img/middle_bg.jpg); background-attachment: fixed; min-height: 500px; background-size: cover; background-color: #412521; } .review_item { color: #fff; text-align: center; } .review_item h4 { font-family: "Times New Roman", serif; font-style: italic; font-size: 22px; font-weight: normal; margin-top: 20px; margin-bottom: 20px; } .review_item p { margin: 30px auto 0; display: inline-block; float: none; font-size: 15px; } .review_item .image_wrap { text-align: center; } .review_item .image_wrap img { width: 165px; height: 165px; display: inline-block; border-radius: 50%; border: #585A5B 10px solid; } .hr { width: 100px; height: 1px; background-color: #CEA380; margin: auto; } .owl-nav div { width: 34px; height: 140px; background-image: url(../img/s_arrows.png); opacity: 06; top: 20px; position: absolute; opacity: 1; } .owl-nav div.owl-next { right: 0; background-position: top right; } .owl-dots { width: 100%; margin-top: 20px; text-align: center; } .owl-dots .owl-dot { width: 14px; height: 14px; background-color: #fff; display: inline-block; margin: 0 4px; border-radius: 50%; opacity: .5; } .owl-dots .owl-dot.active { opacity: .8; } .s_back { background-image: url(../img/red_bg.jpg); background-position: top center; text-align: center; padding: 40px 0; } .s_back h3 { margin-top: 0; text-transform: uppercase; font-weight: normal; font-size: 26px; text-align: center; background-color: rgba(255, 255, 255, 0.13); padding: 10px 0; } .s_back .button { margin: auto; } .s_contacts { padding-bottom: 0; text-align: center; } .s_contacts .wrapper { margin-top: 15px; font-size: 18px; } .s_contacts h2 { color: #000; display: inline-block; vertical-align: middle; margin-bottom: 0; height: 45px; line-height: 45px; } .s_contacts .tabs { display: inline-block; vertical-align: middle; height: 45px; line-height: 45px; margin-left: 20px; } .s_contacts .tabs .tab { float: left; padding: 0 60px; border: #9B1818 5px solid; line-height: 38px; } .s_contacts .tabs .tab:first-child { border-radius: 3px 0 0 3px; } .s_contacts .tabs .tab:last-child { border-radius: 0 3px 3px 0; } .s_contacts .tabs .tab.active { background-color: #9B1818; color: #000; } .map { margin-top: 20px; min-height: 480px; background-color: #E1D6B0; } footer .button_wrap { text-align: center; margin-top: 20px; } footer h2 { color: #000; margin-bottom: 30px; } footer p { font-size: 18px; text-align: center; margin-top: 0; } #hidden_form, #form_back { max-width: 420px; margin: auto; position: relative; } #hidden_form h2, #form_back h2 { text-align: center; font-weight: normal; }
css
<reponame>teddimagg/rsui<filename>src/assets/items/items-json/208.json { "id": 208, "name": "<NAME>", "incomplete": false, "members": true, "tradeable": true, "tradeable_on_ge": false, "stackable": false, "stacked": null, "noted": true, "noteable": true, "linked_id_item": 207, "linked_id_noted": null, "linked_id_placeholder": null, "placeholder": false, "equipable": false, "equipable_by_player": false, "equipable_weapon": false, "cost": 30, "lowalch": 12, "highalch": 18, "weight": 0.007, "buy_limit": null, "quest_item": false, "release_date": "2002-02-27", "duplicate": true, "examine": "It needs cleaning.", "icon": "<KEY>", "wiki_name": "<NAME>", "wiki_url": "https://oldschool.runescape.wiki/w/Grimy_ranarr_weed", "wiki_exchange": null, "equipment": null, "weapon": null }
json
<a name="globalFunction"></a> ## globalFunction(one) ⇒ `number` a global function **Kind**: global function | Param | Type | Description | | ----- | -------- | ----------- | | one | `number` | first param |
markdown
The foreign ministry said the two countries continue to remain in touch through military and diplomatic channels. India on Friday asked China to build on the progress that the two countries had made in Pangong Lake in Ladakh and disengage from other friction areas in the region too. The spokesperson cited a conversation between External Affairs Minister S Jaishankar and his Chinese counterpart Wang Yi, where he said that the prolongation of the conflict was not in the interest of the countries. The foreign ministry spokesperson added that there was a consensus among both the countries to quickly resolve their outstanding matters. Also read: On March 12, India and China had held discussions on how to resolve the remaining matters along the Line of Actual Control in the western sector. The talks were held under the framework of the Working Mechanism for Consultation and Coordination on India-China Border Affairs. Before the meeting, a top United States military commander said in a report that China’s People’s Liberation Army had not yet withdrawn from “several forward positions” it seized following clashes with Indian troops along the Line of Actual Control in Ladakh last year. Border tensions flared up in June after deadly clashes between Indian and Chinese soldiers in Ladakh’s Galwan Valley. Twenty Indian soldiers were killed in the clashes. China identified the casualties on its side only in February, saying that four soldiers died. The talks between the militaries of the two countries began soon after the clashes. However, a breakthrough came only in February this year as Union Defence Minister Rajnath Singh informed Parliament about the disengagement agreement reached between India and China. The disengagement process along Pangong Tso in Ladakh began on February 10, as military commanders began pulling out troops, tanks and artillery from the area in the first step towards full withdrawal. The process has been completed. On February 20, India and China held commander-level talks to discuss pulling back from other areas.
english
{ "foreign_ids": [ ], "item_property": { "desc": "Hati-hati pencuri! Bisa cat dgn pistol atau telur berwarna", "describe": "Hati-hati pencuri! Bisa cat dgn pistol atau telur berwarna", "icon": "*218", "id": 634, "model": "*218", "name": "Kristal orange" }, "mod_desc": { "author": "1011890718", "filename": "OrangeGlass", "uuid": "667f325c-1ff1-11e7-93ae-92361f002671", "version": "1" }, "property": { "anti_explode": 8, "breakable": false, "burn_speed": 0, "catch_fire": 0, "english_name": "OrangeGlass", "hardness": 0.6, "id": 634, "light_src": 0, "move_collide": 1, "slipperiness": 1, "tool_mine_drop1": 0 } }
json
The soldier's son, Bidyadhar Patri, said the Pakistani authorities were supposed to release his father, Anand Patri, in 2007. However, they made a condition to release him as a “civilian”, but Indian authorities refused to accept it. The son of an Indian Army soldier, who reportedly went missing and lodged in a Lahore prison after the India-Pakistan War in 1965, has urged President Droupadi Murmu and Prime Minister Narendra Modi to extradite his father from Islamabad, news agency ANI reported. The soldier's son, Bidyadhar Patri, said the Pakistani authorities were supposed to release his father, Anand Patri, in 2007. However, they made a condition to release him as a “civilian”, but Indian authorities refused to accept it. Bidyadhari, 65, said he came to know about his father in Pakistan’s prison through a publication in 2003. “He did not return after the 1965 war. A publication in 2003 said my father was locked in Lahore jail in Pakistan. Since I came to know that my father is alive, I knocked on every door for help but didn’t get any,” he said. International Human Rights activist Uttam Roy has also confirmed Anand was recruited into the Army from Kolkata and also fought in the 1962 India-China war. "He was recruited from Kolkata into the Indian Army. He also participated in the 1962 India-China war. He fought in the Indo-Pak war in 1965. He has been missing since 1965. We had met chief minister Naveen Patnaik, also met Pranab Mukherjee earlier. If he is alive, he would be nearly 88 years old. He has been in jail for nearly 58 years, if he is alive. The government of India and Odisha should ensure his return and also give financial assistance to his family. If he has died, the Pakistani authorities should give us his death certificate," Roy said. Raising apprehension about his father's death, Bidyadhar further demanded a death certificate from Pakistan authorities, if he died, and called for assigning his father a "martyr" status. The letter with all the details and demands has been submitted to the President's office. Anand Patri was serving as a sepoy in the Bengal Defence Regiment during the Indo-Pakistan war of 1965 when he went missing. His family stays in the Dhamnagar block of Odisha's Bhadrak district.
english
<filename>command.catalog.json { "command":"Catalog", "vendor": { "name":"phpManufaktur", "url":"http://phpmanufaktur.info" }, "name": { "en":"Extensions for the kitFramework", "de":"Erweiterungen für das kitFramework" }, "description": { "en":"Catalog of available extensions for the kitFramework with a brief description and links for further information.", "de":"Katalog mit allen verfügbaren Erweiterungen für das kitFramework mit einer kurzen Beschreibung und Links zu weiterführenden Informationen." }, "info": { "en": { "link":"http://kit2.phpmanufaktur.info" } } }
json
# ![nfcore/nanodemux](docs/images/nfcore-nanodemux_logo.png) [![Build Status](https://travis-ci.com/nf-core/nanodemux.svg?branch=master)](https://travis-ci.com/nf-core/nanodemux) [![Nextflow](https://img.shields.io/badge/nextflow-%E2%89%A50.32.0-brightgreen.svg)](https://www.nextflow.io/) [![install with bioconda](https://img.shields.io/badge/install%20with-bioconda-brightgreen.svg)](http://bioconda.github.io/) [![Docker](https://img.shields.io/docker/automated/nfcore/nanodemux.svg)](https://hub.docker.com/r/nfcore/nanodemux) ## Introduction **nfcore/nanodemux** is a bioinformatics analysis pipeline that can be used to demultiplex, QC and map Nanopore data. The pipeline is built using [Nextflow](https://www.nextflow.io), a workflow tool to run tasks across multiple compute infrastructures in a very portable manner. It comes with docker containers making installation trivial and results highly reproducible. ## Pipeline Summary 1. Basecalling, barcoding and adapter trimming ([`Guppy`](https://nanoporetech.com/nanopore-sequencing-data-analysis); *optional*) * Sequencing QC ([`pycoQC`](https://github.com/a-slide/pycoQC), [`NanoPlot`](https://github.com/wdecoster/NanoPlot)) 2. FastQ QC ([`NanoPlot`](https://github.com/wdecoster/NanoPlot)) 3. Alignment ([`GraphMap`](https://github.com/isovic/graphmap) or [`minimap2`](https://github.com/lh3/minimap2)) * Convert `.sam` to co-ordinate sorted `.bam` and obtain mapping metrics ([`SAMtools`](http://www.htslib.org/doc/samtools.html)) 4. Present QC for alignment results ([`MultiQC`](https://multiqc.info/docs/)) ## Documentation The nf-core/nanodemux pipeline comes with documentation about the pipeline, found in the `docs/` directory: 1. [Installation](https://nf-co.re/usage/installation) 2. Pipeline configuration * [Local installation](https://nf-co.re/usage/local_installation) * [Adding your own system config](https://nf-co.re/usage/adding_own_config) * [Reference genomes](https://nf-co.re/usage/reference_genomes) 3. [Running the pipeline](docs/usage.md) 4. [Output and how to interpret the results](docs/output.md) 5. [Troubleshooting](https://nf-co.re/usage/troubleshooting) ## Credits nf-core/nanodemux was originally written by [<NAME>](https://github.com/csawye01) and [<NAME>](https://github.com/drpatelh) from The Bioinformatics & Biostatistics Group for use at The Francis Crick Institute, London. Many thanks to others who have helped out along the way too, including (but not limited to): [`@crickbabs`](https://github.com/crickbabs) ## Citation <!-- TODO nf-core: Add citation for pipeline after first release. Uncomment lines below and update Zenodo doi. --> <!-- If you use {{ cookiecutter.name }} for your analysis, please cite it using the following doi: [10.5281/zenodo.XXXXXX](https://doi.org/10.5281/zenodo.XXXXXX) --> <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>. **nf-core: Community curated bioinformatics pipelines**. *bioRxiv*. 2019. p. 610741. [doi: 10.1101/610741](https://www.biorxiv.org/content/10.1101/610741v1).
markdown
import React, { Component } from 'react'; import Nav from "./Nav"; import CardGrid from "./CardGrid"; import resources from "./Resources"; import { Route, Switch } from 'react-router-dom'; class App extends Component { constructor(props){ super(props); this.state = { tagList: [], sortedResources: [] }; this.compare = this.compare.bind(this); } compare(a, b) { const nameA = a.name.toLowerCase(); const nameB = b.name.toLowerCase(); let comparison = 0; if (nameA > nameB) { comparison = 1; } else if (nameA < nameB) { comparison = -1; } return comparison; } componentDidMount(){ let freshTagList = []; resources.map(r => ( r.tags.forEach(function(tag){ if(!freshTagList.includes(tag)){freshTagList.push(tag)}; }) )); this.setState({ tagList: freshTagList.sort() }); this.setState({ sortedResources: resources.sort(this.compare) }); } render(){ const getTag = props => { let tag = props.match.params.tag; return <CardGrid {...props} tag={tag} resources={this.state.sortedResources} />; } return ( <div className="u-flex-row"> <Nav tags={this.state.tagList}/> <main> <h1>ReSOURCEd</h1> <p className="main-blurb">A collection of websites, courses, blogs and articles relating to web development, focusing on front end and design. Created and shared by <NAME>, aka FuzzyPumpkin, in hopes of bettering the community.</p> <Switch> <Route exact path="/" render={() => <CardGrid resources={this.state.sortedResources} tag="all"/>} /> <Route exact path='/:tag' render={getTag} /> </Switch> </main> </div> ); } } export default App;
javascript
hr { margin: 2em 1em 1em 1em; } a { color: blue; } a:hover { text-decoration: underline; } img { display: block; margin-top: 2em; max-width: 20%; margin-left: auto; margin-right: auto; } #show-pass-btn { color: black; } .auth-btn { margin-top: 1em; } .login-options { display: flex; flex-wrap: wrap; justify-content: space-between; margin: 1em; }
css
Priyanka and Nick are in Singapore and were seen partying together at a hotspot and the two simply could not keep their eyes off each other. Priyanka Chopra and Nick Jonas may or may not confirm their reported engagement anytime soon, but the couple simply cannot have enough of each other. Priyanka and Nick are in Singapore and were seen partying together at a hotspot and the two simply cannot keep their eyes off each other. Now, videos of Priyanka Chopra cheering on Nick as he performs on stage have surfaced on the internet. PeeCee is in the first row and has the best possible view, of course! Just how adorable are the two together. Priyanka and Nick are the best example of a whirlwind romance in the current era. boyfriend Nick. Priyanka Chopra had also accompanied Nick to his Villamix concert in Brazil last month. If the reports are to be believed, Priyanka Chopra and Nick Jonas have already exchanged the rings and they might be a happily married couple by Nick’s 26th birthday which is in September. The American singer popped the question on Priyanka’s 36th birthday earlier in July. They celebrated the day together in London. Nick even reportedly shut down a Tiffany store in New York to find the perfect rock for his love. Priyanka and Nick, who reportedly dated for two months, were first spotted together at the 2017 Met Gala. The speculation about their relationship brewed after the pair met each other's family. First, Chopra met Jonas' family at his cousin's wedding in New Jersey, after which Nick travelled to India to meet Chopra's mother.
english
As part of the geopolitical relationship between the two sisterly countries, the security situation in Lebanon goes hand in hand with the military escalation in Syria. With continuous rockets being launched across the border and clashes occurring between groups supporting and opposing Syrian President Bashar Assad in Lebanon\'s Tripoli, the Lebanese government no longer acknowledges a full dissociation policy. A senior Afghan official says President Hamid Karzai has rejected a provision of a security pact with the United States just days before the country\'s elders gather to debate it. Media outlets have quoted the official as saying that Karzai has rejected the enter-and-search provision. The question of whether foreign troops will be allowed to search Afghan homes after their combat mission ends next year has long been a sticking point of the Kabul-Washington deal. The final draft will be discussed by the Loya Jirga, an assembly of tribal elders, later this week. Karzai has already announced that if the Loya Jirga does not approve the deal, it will not be signed. Last month, the United States and Afghanistan hammered out a draft deal that allows thousands of U-S troops to stay in the country beyond 2014. Afghan President Hamid Karzai says he\'s willing to delay the signing of a deal with the US, known as the Bilateral Security Agreement, or BSA. Karzai told Afghanistan\'s assembly of elders, called Loya Jirga, that the deal will not be signed by the president until after next year\'s presidential election. This, as the Jirga has met today to discuss the BSA. Under the pact, American troops would be allowed to remain in Afghanistan beyond a 2014 deadline. Kabul has agreed to US military operations under special circumstances and American troops\' immunity from prosecution in Afghanistan. But, ordinary Afghans are angry over raids by American and other foreign troops. And they have held protests against the security deal with the US. After 4 days of discussions, members of the Afghan grand assembly decided to back the Bilateral Security Agreement between Kabul and Washington but it seems President Karzai is not ready to sign the pact, as he has his own conditions. The Afghan leader has once again threatened to reject a planned security pact with the U-S, if Washington continues its drone strikes in the country. Hamid Karzai\'s remarks come in the wake of a new assassination drone attack that killed an Afghan kid in Helmand province. Here\'s a report. Afghan President Hamid Karzai has accused the US of refusing to provide his country with military supplies. Afghan President Hamid Karzai has accused the US of refusing to provide his country with military supplies. He has said in a statement that the move is aimed to put pressure on him to sign a controversial security pact with the US. Washington has denied the allegation, and repeated that, unless the deal is signed promptly, it could withdraw most of American forces from Afghanistan. Relations between Kabul and Washington have deteriorated in recent weeks over President Karzai\'s refual to sign the security pact. The deal allows several thousands of US troops to remain in Afghanistan after a 2014 pullout deadline for foreign forces. Karzai has set several conditions to sign the pact which has been approved by the country\'s grand council, Loya Jirga. These include a stop to raids on Afghan civilian homes, among others. Afghan President Hamid Karzai has accused the U-S of refusing to provide his country with fuel and military supplies. Afghan President Hamid Karzai has accused the U-S of refusing to provide his country with fuel and military supplies. He has said in a statement that the move is aimed to put pressure on him to sign a controversial security pact with the U-S. Washington has denied the allegation, and repeated that, unless the deal is signed promptly, it could withdraw most of American forces from Afghanistan. Relations between Kabul and Washington have deteriorated in recent weeks over President Karzai\'s refual to sign the security pact. The deal allows several thousands of U-S troops to remain in Afghanistan after a 20-14 pullout deadline for foreign forces. Karzai has set several conditions to sign the pact which has been approved by the country\'s grand council, Loya Jirga. These include a stop to raids on Afghan civilian homes, among others. The US and Afghanistan are at loggerheads over a stalled security agreement that President Hamid Karzai has refused to sign despite increasing US pressure. The deal would allow between 12,000 to 14,000 troops, mostly American, to stay in Afghanistan beyond 2014. Under the pact, American forces would be able to enter Afghan homes as part of their operations and enjoy legal immunity, two of the most important sticking points. President Karzai suggests he\'s being bullied into signing an unfair pact. Is Afghanistan best with or without this deal? What would a permanent US stay in the country mean? Pakistan\'s former ambassador to Afghanistan says the signing of the so-called Bilateral Security Agreement between Kabul and Washington will NOT put an end to the war in Afghanistan. The United States has insisted that Afghan President Hamid Karzai must sign a bilateral security deal on the future of US troops in the war-torn country as soon as possible. Iran a victim of hijacking no more. Deputy Commander of Islamic Republic Guards Corps, IRGC, Mohammad Hassan Kazemi, in a press conference said how Iran was the victim of terrorists hijacking and taking Iranian civil airliners to other countries five times between 1983 and early 1984. The criminal acts led to an order by late founder of Iran\\\'s Islamic Revolution, Ayatollah Khoemeini, putting IRGC in charge of security of all domestic and international flights in the through a written order in December 22, 1988. Commander Kazemi, stated that since the creation of the task force 130 total attempts have been neutralized. Russia\'s President Vladimir Putin has ordered security to be stepped up across the nation as a second bombing rocks the southern city of Volgograd. After holding an emergency meeting, Putin issued special instructions for Volgograd which has witnessed two deadly blasts since yesterday. At least 14 people have been killed and over two dozen others wounded in an explosion that ripped through a trolley-bus. The incident follows Sunday\'s bombing at the city\'s main train station which left over a dozen people dead and wounded scores more. There\'s been no claim of responsibility for either of the attacks which come ahead of the Sochi Winter Games scheduled for February. Russian officials have described them as terrorist attacks. The US is mounting its pressure on Afghanistan to sign a bilateral security agreement as soon as possible. But many Afghans believe the pressure is only meant to serve the interests of Washington. They say the presence of foreign forces in their country has already caused more problems for them. In Egypt, supporters of ousted president Mohammad Morsi have once again clashed with security forces. In Egypt, supporters of ousted president Mohammad Morsi have once again clashed with security forces. An anti-government protest rally was held near the defense ministry headquarters in Cairo. Police used tear gas and water cannons to disperse hundreds of pro-Morsi students who had blocked a nearby road. Similar clashes broke out between police and pro-Morsi students in the Nile Delta city of Zakazik. The protesters demand Morsi\'s reinstatement. Egypt has seen deadly protests following Morsi\'s ouster by the military back in July. A group of US lawmakers have warned the Afghan president against a failure to sign a bilateral security deal. A group of US lawmakers have warned the Afghan president against a failure to sign a bilateral security deal. After a meeting with Hamid Karzai in Kabul, a group of American senators, including John McCain and Lindsay Graham, said they expect the agreement to be signed soon. They have also noted that such a failure would pose a threat to Afghanistan and the region. Karzai has so far delayed signing the accord with the United States. The Afghan president says he won\'t sign any agreement that allows continued raids on Afghan homes. Without a signed deal, all U-S and NATO forces would have to withdraw from Afghanistan. The US-led foreign forces are blamed for many civilian deaths in the country. The senators have also warned Karzai about the release of 88 Bagram prisoners in north Kabul. Afghanistan says it\'s found insufficient evidence to continue their detention. But, Washington says the prisoners pose a serious security threat. Iraqi security forces continue operations against al-Qaeda-linked insurgents in the restive west of the country. Iraqi security forces continue operations against al-Qaeda-linked insurgents in the restive west of the country. Reports say some 50 militants of the terrorist group known as the Islamic State of Iraq and the Levant, ISIL, have been killed in Anbar province. Anbar has been the scene of fighting between the Iraqi government forces and the I-S-I-L over the past weeks. The clashes have claimed many lives on both sides. A large number of Iraqi civilians have also been killed in bomb blasts and other terrorist attacks in recent months. The Iraqi government has blamed the attacks on the al-Qaeda-linked group and its regional supporters including Saudi Arabia. Russia and China have skipped a UN Security Council meeting called to discuss a draft resolution that would impose more sanctions on Syria unless the government gives unrestricted access to deliver aid. The resolution was drafted by Australia, Jordan, and Luxembourg. Russia\'s UN envoy, Vitaly Churkin, vowed to veto the proposed measure if necessary, saying that the resolution would increase tension in Syria and disrupt the current humanitarian efforts. The Russian ambassador added that the measure would endanger the Geneva-two negotiations being held in Switzerland.
english
With the Lodha Committee advocating the number of selectors to be restricted to just three, former Indian team skipper and director Ravi Shastri has expressed dissent at the proposal by questioning the thought process behind it. The 54-year old believed that the prevalence of a large cricket-playing population does not allow the selection panel to be limited. Shastri felt, “When I played game, three selectors were enough. But the manner in which interest has grown, the combined number of people who play the game in our country is more than combined population of other cricket playing nations. Australia can have three selectors as they have a population of 17 million (approximate number). Despite Supreme Court repeatedly pulling up BCCI for failing to implement the Lodha panel’s recommendations, the new selection committee which was appointed to succeed Sandeep Patil’s crew still contained five members with former wicket-keeper batsman MSK Prasad at the helm of affairs alongside the likes of Sarandeep Singh, Gagan Khoda, Devang Gandhi and Jatin Paranjpe. Interestingly, the appointments raised eyebrows since another recommendation maintained that only former Test players can be eligible for entry into the selection panel. While Prasad, Sarandeep and Gandhi have represented the country in the longest format, Khoda and Paranjpe do not hold Test caps to their names. Shastri also questioned the three-year cooling off period stipulated by the Lodha committee for BCCI officials by claiming that the new rule may force prospective candidates to veer away from applying for administrative roles within the board. He asked, “Why would I join BCCI if there’s cooling off period? If I have an idea which is constructive and which I can do, I mean you are telling me to go in three years. What would anyone achieve in three years? How do you know the guy coming after me is competent enough. Amidst the ongoing standoff between BCCI and the Supreme Court appointed Lodha panel, the cricketer-turned-commentator called for both parties to resolve their differences in the best interests of Indian cricket.
english
package mams.model.student; import static org.junit.jupiter.api.Assertions.assertFalse; import static org.junit.jupiter.api.Assertions.assertTrue; import org.junit.jupiter.api.Test; import mams.testutil.Assert; public class PrevModsTest { @Test public void constructor_null_throwsNullPointerException() { Assert.assertThrows(NullPointerException.class, () -> new PrevMods(null)); } @Test public void constructor_invalidPrevMods_throwsIllegalArgumentException() { String invalidPrevMods = ""; Assert.assertThrows(IllegalArgumentException.class, () -> new PrevMods(invalidPrevMods)); } @Test public void isValidPrevMods() { // null prevMods Assert.assertThrows(NullPointerException.class, () -> PrevMods.isValidPrevMods(null)); // blank prevMods assertFalse(PrevMods.isValidPrevMods("")); // empty string assertFalse(PrevMods.isValidPrevMods(" ")); // spaces only // missing parts assertFalse(PrevMods.isValidPrevMods("@<EMAIL>.<EMAIL>")); // missing local part assertFalse(PrevMods.isValidPrevMods("peterjackexample.com")); // missing '@' symbol assertFalse(PrevMods.isValidPrevMods("peterjack@")); // missing domain name // invalid parts assertFalse(PrevMods.isValidPrevMods("peterjack@-")); // invalid domain name assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // underscore in domain name assertFalse(PrevMods.isValidPrevMods("peter <EMAIL>")); // spaces in local part assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // spaces in domain name assertFalse(PrevMods.isValidPrevMods(" p<EMAIL>")); // leading space assertFalse(PrevMods.isValidPrevMods("<EMAIL> ")); // trailing space assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // double '@' symbol assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // '@' symbol in local part assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // '@' symbol in domain name assertFalse(PrevMods.isValidPrevMods("<EMAIL>jack@.<EMAIL>")); // domain name starts with a period assertFalse(PrevMods.isValidPrevMods("<EMAIL>.")); // domain name ends with a period assertFalse(PrevMods.isValidPrevMods("<EMAIL>")); // domain name starts with a hyphen assertFalse(PrevMods.isValidPrevMods("<EMAIL>-")); // domain name ends with a hyphen // valid prevMods assertTrue(PrevMods.isValidPrevMods("CS2030, CS1231")); } }
java
import {Component} from '@angular/core'; import {BarChartByTotalMedalsComponent} from './charts/bar-chart/bar-chart-by-total-medals/bar-chart-by-total-medals.component'; @Component({ selector: 'app-root', templateUrl: './app.component.html', styleUrls: ['./app.component.css'] }) export class AppComponent { currentChartComponent: any = BarChartByTotalMedalsComponent; chartChanged(newChartComponent: any) { this.currentChartComponent = newChartComponent; } }
typescript
<reponame>Qqwy/pyton-multiple_indexed_collection<gh_stars>1-10 import pytest @pytest.fixture(autouse=True) def fill_doctests_namespace(doctest_namespace): """ Common classes and objects used in doctests. """ class User(): def __init__(self, name, user_id): self.name = name self.user_id = user_id john = User('John', 1) pete = User('Pete', 2) lara = User('Lara', 3) doctest_namespace['User'] = User doctest_namespace['john'] = john doctest_namespace['pete'] = pete doctest_namespace['lara'] = lara print(doctest_namespace)
python
<reponame>zs-sport/zsport export * from './zsport-admin-user-form-button.factory.impl';
typescript
{"status":200,"data":{"totalSubs":7725,"subsInEachSource":{"feedly":6723,"inoreader":1000,"feedsPub":2},"failedSources":{}},"lastModified":1606878793889}
json
<filename>data/No_mods/Mods/No_Faults/modinfo.json [ { "type": "MOD_INFO", "id": "no_faults", "name": "Perfect Reliability", "authors": [ "mugling" ], "maintainers": [ "mugling" ], "description": "Vehicle parts are perfectly reliable and never spawn with faults or develop them during use", "category": "rebalance", "dependencies": [ "dda" ] }, { "type": "EXTERNAL_OPTION", "name": "NO_FAULTS", "stype": "bool", "value": true } ]
json
Bakery ===== A PHP package mainly developed for Laravel to generate breadcrumbs using routes. (This is for Laravel 4.2. [For Laravel 5+](https://github.com/SUKOHI/Bakery)) Installation ==== Add this package name in composer.json "require": { "sukohi/bakery": "2.*" } Execute composer command. composer update Register the service provider in app.php 'providers' => [ ...Others..., Sukohi\Bakery\BakeryServiceProvider::class, ] Also alias 'aliases' => [ ...Others..., 'Bakery' => Sukohi\Bakery\Facades\Bakery::class ] Usage ==== $params = [ 'home' => 'Home', 'home.area:vancouver' => 'Vancouver', 'home.food:sushi,popular' => 'Popular sushi restaurants', '*' => 'Samurai' ]; foreach(\Bakery::get($params) as $bakery) { if($bakery->isCurrent) { echo $bakery->title; } else { echo link_to($bakery->url, $bakery->title) .' &gt; '; } } About parameter pattern ==== 1. 'route' => 'title' 2. 'route:parameter' => 'title' 3. 'route:parameter1,parameter2' => 'title', 4. '*' => 'Current Page' License ==== This package is licensed under the MIT License. Copyright 2014 <NAME>
markdown
<filename>SnapshotScrapper/test2/results/spaces/rarible.eth/QmZaDdyNoAeMUdMQAuLYo94VkHjUeXAFCFvaAVYuoYFoKk.json {"id": "QmZaDdyNoAeMUdMQAuLYo94VkHjUeXAFCFvaAVYuoYFoKk", "title": "Failed TX warnings - 0.85 ETH lost in gas", "body": "I tried to purchase a nft on rarible, due to an issue with the contract, the transaction failed and ended up burning 0.85 ETH in gas. I also did not receive the nft. While this might be chump change for some, for me it is twice the net amount I made selling art last month. My proposal would be to help others and me affected by such issues on an individual basis to at least help cover for a part of the losses, and implement warnings to prevent such a thing happen to others.\n\nHere is the tx: https://etherscan.io/tx/0x6a2016c75e13b3128d83cc806368ad4f19db86667d96173dbb2131a8f40e6554", "choices": ["Yes", "No"], "start": 1612098000, "end": 1612789200, "snapshot": "11765066", "state": "closed", "author": "0x7A97484F57D98a62B0195D79b9600624744dE59C", "space": {"id": "rarible.eth", "name": "Rarible Protocol DAO"}, "votes": 12, "votes_data": [{"id": "QmaTQHiYcGxE5fARokYU4kG7N1bvTgw4mtjuS8QeJ3KY25", "voter": "0x4a79a5c019cDE85c243f0B00d838b547C114570b", "created": 1612763432, "choice": 2, "space": {"id": "rarible.eth"}}, {"id": "QmZwU6pY6DyYVWVHUzV1YZMTeK4fdbV5kBu3LmTd24aLtw", "voter": "<KEY>", "created": 1612749916, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "0x562a8B5F87fCed0426c98cc2bc4E264495A659B5", "created": 1612665447, "choice": 2, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "<KEY>", "created": 1612664257, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "<KEY>", "created": 1612621148, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "0xd6f64c02c14Ac390bf5f772de6CD590f9412bD1C", "created": 1612615875, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "Qmaty8eocZX4g5SM4ECqY4CVKddzNgGkFQ9TbwMFi65gCV", "voter": "<KEY>", "created": 1612565523, "choice": 2, "space": {"id": "rarible.eth"}}, {"id": "QmbWNnRgg2xt8jN5rSEfMU69qDw25zu2DoQK6RPBkxy49U", "voter": "<KEY>", "created": 1612532779, "choice": 2, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "<KEY>", "created": 1612367255, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "QmYcramuZ2X1hCAFZuP8HaKxAMV3yBYnELMtzv4Mkhq97r", "voter": "<KEY>", "created": 1612223017, "choice": 2, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "<KEY>", "created": 1612217689, "choice": 1, "space": {"id": "rarible.eth"}}, {"id": "<KEY>", "voter": "<KEY>", "created": 1612133557, "choice": 1, "space": {"id": "rarible.eth"}}]}
json
Kakinada, Andhra Pradesh, Feb 23 As the quarter-finals get underway on Thursday at the 13th Hockey India Senior Women National Championship 2023 here with Hockey Jharkhand, Hockey Punjab, Hockey Haryana, Hockey Bengal, Hockey Association of Odisha, Hockey Maharashtra, Hockey Madhya Pradesh and Hockey Karnataka making it to the final eight, aspiring hockey players from Hockey Andaman and Nicobar will leave for their home not disappointed but motivated to return as a stronger unit next year. In only their second outing in this prestigious National Championships, the Islanders were up against strong teams like Hockey Maharashtra, Hockey unit of Tamil Nadu and Le Puducherry Hockey in pool H. Though they could not register a win, the players take home rich experiences from the event which was held on par with international matches. Hockey Andaman & Nicobar made their maiden appearance at the 11th Hockey India Senior Women National Championship, Kolkata last year. Speaking of her experience here, 21-year-old Neelam Binita Kujjur said, "I am so grateful to have gotten this opportunity to play at the National Championships. I come from a very difficult background in Andaman and Nicobar Island where my parents work as daily wagers. But that does not deter my passion for hockey, I want to showcase my talent so that I can get a permanent job and earn a good living for my family. " Neelam has played hockey since 2015 and during this period she has had to face tough times, she even had to drop out of school to ensure her younger sister can be educated. She works as a part-time cashier at a store in Port Blair to support her family but had to quit the job as they wouldn't give her leave to play the Nationals. "I see hockey as an opportunity to create a new career. Many people don't know much about Andaman and Nicobar and through our participation in these Nationals, we want to draw more focus on the Island," she added. Majority of the players come from various small villages across Andaman island such as Diglipur, Mayabundr, Hutbay, Baratang, Bambooflat and Ferrargung. The players train at the Netaji Subhash Chandra Bose Velodrome Hockey Arena in Port Blair. Sashita Bhengra is another player who is adamant about making her dream of playing hockey come true. "My father was a hockey player as well, he used to play for Hockey Jharkhand and has represented them in the National Championships as well but due to circumstances he is now a daily wage worker, supporting our family of four however he can. This is the reason I play hockey, to fulfil my father's dream of playing hockey at the highest level and to start earning enough to support the family. " Sashita has been working part-time as a saleswoman at a new mall in Andaman but she has set her goals to earn a better life and has chosen hockey as the way to do it. "Today, there is so much scope for hockey in the country with players who do well at the domestic level also earning good jobs, that is my first aim. There is more awareness for hockey in the island after the Indian teams did well at the Olympics in Tokyo," she said. Naw Madhu Prith Decosta, the 26-year-old Captain expressed her team's undying spirit and team's eagerness to take their game to the next level. "These Nationals are a great opportunity for us as a team. We want to perform at our best and Hockey India has left no stone unturned in facilitating this, the feel of the National Championships is completely different from the last time, it feels like we are playing in International matches now. We need to capitalize on this opportunity to impress the selectors and make our way to the National Hockey Team," she said. The Captain further highlighted, "Even though we could not win matches here, I know my team won many hearts with several players from other teams and officials taking note of our performance. They are all aware of the challenges we face back home and we are confident that in the coming years, we will perform well at the National Championships. Hockey India is now drawing focus on smaller teams like ours from Union Territories and this chance that they have provided will only help the sport grow in the island with more kids taking it up," she concluded.
english
<gh_stars>1-10 { "id": 25624, "citation_title": "Real Option Exercise: Empirical Evidence", "citation_author": [ "<NAME>00e9caire", "<NAME>", "J\u00e9r\u00f4<NAME>" ], "citation_publication_date": "2019-03-04", "issue_date": "2019-02-28", "revision_date": "None", "topics": [ "Financial Economics", "Corporate Finance" ], "program": [ "Corporate Finance" ], "projects": null, "working_groups": null, "abstract": "\n\nWe study when and why firms exercise real options. Using detailed project-level investment data, we find that the likelihood that a firm exercises a real option is strongly related to peer exercise behavior. Peer exercise decisions are as important in explaining exercise behavior as variables commonly associated with standard real option theories, such as volatility. We identify peer effects using localized exogenous variation in peer project exercise decisions and find evidence consistent with information externalities being important for exercise behavior.\n\n", "acknowledgement": "\nWe thank seminar and conference participants at Babson College, ITAM, USF, Wharton, 2018 Texas Finance Festival, 2018 IDC Finance Conference, 2018 Northeastern University Finance Conference, 2018 European Finance Association Conference, 2019 American Finance Association, as well as <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, <NAME>, and <NAME> for helpful comments. The views expressed herein are those of the authors and do not necessarily reflect the views of the National Bureau of Economic Research.\n\n\n" }
json
{ "MicrosoftAppId": "", "MicrosoftAppPassword": "", "LuisAppId": "9145f9cd-b67d-4d0c-8665-8c8f8c1adc5a", "LuisAPIKey": "0d932fa536b84b5280047a17ed5e8b61", "LuisAPIHostName": "australiaeast.api.cognitive.microsoft.com" }
json
Former Pakistan captain Inzamam-Ul-Haq has advised his former teammate and current Pakistan’s head coach-cum-selector, Misbah-Ul Haq, to step down from one of the two posts. He believes doing so will help Misbah to focus on one role. After Pakistan had a disappointing World Cup 2019, PCB didn’t renew Mickey Arthur‘s contract for head coach and Misbah-ul-Haq was appointed for the role. He also succeeded Inzamam for Pakistan’s chief selector post last year in September. Under Misbah coaching, Pakistan had a miserable end against Sri Lanka at home last year. In the three-match Test series, the visitors whitewashed the Green Army in the three-match T20I series by 3-0. Subsequently, they also failed to register a victory against Australia in the Test and T20I series. However, earlier this year, they came out victorious against Bangladesh at home. Nevertheless, the team’s win ratio is less since Misbah took over the job. As Pakistan is set to play three-match Test and T20I series against England, Inzamam-ul-Haq has suggested Misbah-ul-Haq should resign from one post even if his side wins the away series. He believes that the head coach will be under less pressure and will give his best. “Misbah should step down [from] one of his two positions even if the side wins in England. It will be beneficial for his coaching career as he will be under less pressure and it will help him focus more on his responsibilities,” Inzamam was quoted as saying by The Nation. Interestingly, it is Misbah’s first coaching job at any level although he has captained teams at every level. He has played 75 Tests and 162 ODIs and became the most successful Pakistan Test captain between 2010 and 2017. Meanwhile, after spending 14 days in isolation in Worcester, the Pakistan team arrived in Derby on Monday. They will travel to Manchester on August 1 to play the first Test of the three-match series from 5 August.
english
package model // Topic is an area of discussion. type Topic struct { ID int64 CreatedByID int64 Name string } // NewTopic makes a new Topic. func NewTopic(creatorID int64, name string) Topic { return Topic{ CreatedByID: creatorID, Name: name, } }
go
mod intcode; use std::iter; use vectrix::{vector, Vector2}; use intcode::{parse_program, Computer}; type Vector = Vector2<i64>; fn default_input() -> Vec<i64> { parse_program(include_str!("input/13.txt")) } #[derive(Clone, Copy, PartialEq)] enum Tile { Empty, Wall, Block, Paddle, Ball, } enum Output { Tile(Vector, Tile), Score(i64), } impl Computer { fn next_output(&mut self) -> Option<Output> { let x = self.next()?; let y = self.next()?; let t = self.next()?; Some(if x == -1 && y == 0 { Output::Score(t) } else { let tile = match t { 0 => Tile::Empty, 1 => Tile::Wall, 2 => Tile::Block, 3 => Tile::Paddle, 4 => Tile::Ball, t => panic!("invalid tile `{}`", t), }; let pos = vector![x, y]; Output::Tile(pos, tile) }) } } fn part1(program: Vec<i64>) -> usize { let mut computer = Computer::new(program); iter::from_fn(|| computer.next_output()) .filter(|o| matches!(o, Output::Tile(_, Tile::Block))) .count() } fn part2(mut program: Vec<i64>) -> i64 { program[0] = 2; let mut computer = Computer::new(program); let mut score = 0; let mut paddle = Vector::zero(); while let Some(output) = computer.next_output() { match output { Output::Tile(pos, Tile::Ball) => { computer.input((pos.x - paddle.x).signum()); } Output::Tile(pos, Tile::Paddle) => paddle = pos, Output::Score(value) => score = value, _ => continue, } } score } fn main() { let input = default_input(); let mut run = advent::start(); run.part(|| part1(input.clone())); run.part(|| part2(input.clone())); run.finish(); } #[test] fn default() { let input = default_input(); assert_eq!(part1(input.clone()), 398); assert_eq!(part2(input), 19447); }
rust
[{"namaKab":"MAGELANG","originalFilename":"46.jpg","namaPartai":"PARTAI DEMOKRAT","id":193041,"noUrut":1,"nama":"<NAME>","stringJenisKelamin":"Perempuan"},{"namaKab":"MAGELANG","originalFilename":"SLAMET FOTO.jpg","namaPartai":"PARTAI DEMOKRAT","id":193133,"noUrut":2,"nama":"SLAMET","stringJenisKelamin":"Laki-Laki"},{"namaKab":"MAGELANG","originalFilename":"46jalal.jpg","namaPartai":"PARTAI DEMOKRAT","id":193285,"noUrut":3,"nama":"<NAME>","stringJenisKelamin":"Laki-Laki"},{"namaKab":"MAGELANG","originalFilename":"46.jpg","namaPartai":"PARTAI DEMOKRAT","id":193429,"noUrut":4,"nama":"<NAME>","stringJenisKelamin":"Laki-Laki"},{"namaKab":"MAGELANG","originalFilename":"rodhiyah 46.jpg","namaPartai":"PARTAI DEMOKRAT","id":193637,"noUrut":5,"nama":"RODHIYAH","stringJenisKelamin":"Perempuan"},{"namaKab":"MAGELANG","originalFilename":"46.jpg","namaPartai":"PARTAI DEMOKRAT","id":212301,"noUrut":6,"nama":"<NAME>","stringJenisKelamin":"Laki-Laki"},{"namaKab":"MAGELANG","originalFilename":"46pp.jpg","namaPartai":"PARTAI DEMOKRAT","id":210360,"noUrut":7,"nama":"<NAME>.MK","stringJenisKelamin":"Perempuan"}]
json
package com.bestray.security.controller; import javax.ws.rs.core.MediaType; import javax.ws.rs.core.Response; import javax.ws.rs.core.Response.Status; import javax.ws.rs.ext.ExceptionMapper; import javax.ws.rs.ext.Provider; @Provider public class ExceptionHandler implements ExceptionMapper<RegExceptionHandler> { @Override public Response toResponse(RegExceptionHandler err) { return Response.status(Status.BAD_REQUEST).entity(err.getMessage()).build(); } }
java
In the absence of efficient waste management systems, India is grappling with a mammoth garbage problem. Thousands of tonnes of untreated and unsegregated waste pollute the country’s land, water and air, while serving as toxic foraging grounds for a plethora of wild animals. To highlight this travesty, I and my colleague at the Sanctuary Nature Foundation, Prachi Galange, conceptualised an Instagram project titled #InOurFilth. The project invites photographers from across India to submit images that illustrate the impact of garbage on nation’s wild species. We then curate the submissions and post an image each week on the Instagram handle of Sanctuary Nature Foundation. The project was born in the photo library of the Foundation. Galange, who works as the photo editor and naturalist at the Foundation, and I noticed an alarming number of images that showcase wild animals in heavily polluted surroundings. It was then that we thought of #InOurFilth as a public awareness campaign to draw the link between our everyday consumption and the condition of wild animals that are forced to share space with us. Here are some images of wildlife #InOurFilth. Royal Mess: In the buffer zone of the Tadoba-Andhari Tiger Reserve, a tiger cub picks up a plastic gunny bag. With several tiger reserves in India boasting healthy tiger populations, the question that arises is: where will all of them go? Many tigers have begun foraying into human-dominated landscapes or degraded and insufficiently protected forests, where they must contend with the pressures of sharing space with human communities. This can lead to all manner of conflicts, and, as in this case, tiger cubs chewing on plastic. Credit: Bapat Daksha. Plastic (P)lover: The beautiful, black-masked eye of a Little Ringed Plover is pictured in contrast to a plastic water bottle littered on the Ajay riverbed. By some estimates, a million plastic beverage bottles are sold globally every minute. The majority of these are never recycled and will long outlive the person who purchased them. Credit: Agniswar Ghoshal. Single-use Sins: In Valparai, Tamil Nadu, a lion-tailed macaque rips into a single-use packet filled with curry. This incredible, distinctive species is endemic to small pockets of the Western Ghats. It dwells in the rainforest and primary eats, or should eat, fruit. But with forests getting degraded and fragmented, and with garbage piling up, it is being forced to change its habits. Researchers say that these macaques are spending more time on the ground and having negative interactions with humans – including raiding homes and foraging for human food. Credit: Mohan G. Marmot Task: In remote Ladakh, the face of a Himalayan marmot is obscured as it gathers nesting material that includes discarded plastic bags. A dream destination for most travel enthusiasts, Ladakh has suffered gravely because of unregulated tourism. Just a kilometre from Leh city lies India’s highest landfill, where an estimated 30,000 plastic bottles get dumped in summer months alone. Credit: Prajwal KM. Poison Parcel: We adore our elephant god, but through sheer neglect poison our elephants. In Siliguri, West Bengal, a wild elephant scavenges for food at an unauthorised rubbish heap. She prepares to stuff a plastic bag filled with vegetable peels into her mouth. Once ingested, the plastic can wreak havoc on its body and potentially lead to death. According to Elephant Family, a UK-based NGO, nine of the 13 countries that are home to Asian elephants are amongst the world’s worst managers of plastic waste. Credit: Arijit Mahata. Mouse House: In Kavrem, Goa, an adorable long-tailed tree mouse roosts inside a discarded polythene packet that has been caught on a bush. While this plastic palace may momentarily shield the mouse from the elements, it is a dangerous home. It could suffocate or poison its resident and eventually go on to pollute land or water. Credit: Omkar Dharwadkar. Garbage Ghats: This gorgeous portrait of the elusive brown palm civet or Jerdon’s palm civet is marred by its awful surroundings. It was found foraging through rubbish at an informal garbage dump in the Nilgiris district of Tamil Nadu. This handsome animal is endemic to the forested tracts of the Western Ghats and is listed as Vulnerable on the Red List of the International Union for Conservation of Nature. Known to be nocturnal and arboreal, it is associated with rainforest canopies and the dark of the night. To see one going through garbage in the daytime is tragic. Credit: Tharini JE. Lone Wolf: “Now this is the law of the jungle, as old and as true as the sky/And the wolf that shall keep it may prosper, but the wolf that shall break it must die… The jackal may follow the tiger, but, cub, when thy whiskers are grown/Remember the wolf is a hunter – go forth and get food of thine own,” recites the wolf pack in Rudyard Kipling’s classic ‘The Jungle Book’. But in a grassland in Ahmednagar, Maharashtra, the law of the jungle lies shattered. This handsome male wolf was photographed as it nosed through the garbage at a dumping ground, tearing open plastic bags and gingerly stepping over the rotting, leaking refuse. Credit: Rishikesh Lande. Falcon Footwear: In the vast expanse of the Little Rann of Kutch, a Eurasian Hobby perches upon a lone slipper. While the Little Rann still teems with wildlife, it is increasingly threatened by unnatural changes in upstream hydrology, pressure from the salt industry and the effects of tourism. Credit: Suketukumar Purohit. Trashing Tigers: In Maharashtra’s Tipeshwar Wildlife Sanctuary, a tiger cub picks up a carelessly thrown plastic bottle. Unregulated and uninformed tourism has placed an enormous strain on natural resources. Tourists visiting India’s national parks and sanctuaries don’t realise that they can lighten their footprint just by refusing packaged snacks and beverages, and booking their stay in legitimately eco-conscious homestays and resorts. Credit: Santosh Nimbalkar. Pecking Order: In the rushed and dusty city of Gurugram, two forlorn yellow-wattled lapwings forage in a pile of rubbish. These birds are ground-nesters and it is difficult to imagine the life they have been forced into by human overconsumption and neglect. Credit: Anirban Roy Chowdhury. Daily Diner: For small omnivorous mammals, such as the Indian Tree Shrew, a garbage dump can serve as an all-you-can-eat buffet. They feed on food scraps, including bits of fruits, vegetables and cooked items, as well as on the plethora of insects that are attracted to the site. The availability of food in the dump caused this otherwise timid creature to leave the safety of its natural habitat and even tolerate the presence of other individuals. Proximity to humans can be dangerous for wildlife: they can be attacked by stray dogs or cats, and the garbage often contains unsuitable or contaminated foods, not to mention plastic, as evident from the picture. Credit: Tirth Vaishnav. Poisoned Waters: A checkered keelback catches a meal in a filthy waterbody in Dharwad, Karnataka. That unmissable plastic bottle is just the tip of the iceberg. According to Niti Aayog, the government’s policy think tank, 70% of India’s water is contaminated, with 600 million people facing high to extreme water stress. Credit: Vaidehi Gunjal. The writer is a wildlife conservationist at Sanctuary Nature Foundation.
english
.selectize-control .selectize-input { font-size: 1rem; border-color: #D9D9D9 !important; } .selectize-control .selectize-input input { font-size: 1rem; } .selectize-control .selectize-input:focus, .selectize-control .selectize-input.focus { border-color: #CCCCCC !important; outline: 0; } .selectize-control .selectize-input > div .email { opacity: 0.8; } .selectize-control .selectize-input > div .email:before { content: '<'; } .selectize-control .selectize-input > div .email:after { content: '>'; } .selectize-control .selectize-input > div .name + .email { margin-right: 5px; } .selectize-control.selectize-rtl-select .selectize-input, .selectize-control.selectize-rtl-select .selectize-dropdown-content { text-align: left; } .selectize-control .selectize-dropdown { font-size: 1rem; } .selectize-control .selectize-dropdown .caption { font-size: 12px; display: block; color: #a0a0a0; } .selectize-control .selectize-dropdown .label { font-size: 75%; display: table-row; font-weight: 600; line-height: 1.25; color: #495c68; } .selectize-control .selectize-dropdown .active { background-color: #E0E0E0 !important; color: #424242 !important; } .selectize-control .selectize-dropdown [data-selectable] { padding: 10px 8px; } .selectize-control.repositories::before { -moz-transition: opacity 0.2s; -webkit-transition: opacity 0.2s; -o-transition: opacity 0.2s; transition: opacity 0.2s; content: ' '; z-index: 2; position: absolute; display: block; top: 12px; left: 34px; width: 16px; height: 16px; background: url(../../../../images/icons/spinner.gif); -webkit-background-size: 16px 16px; background-size: 16px 16px; opacity: 0; } .selectize-control.repositories.loading::before { opacity: 0.4; } .selectize-control.repositories .selectize-dropdown div { border-bottom: 1px solid rgba(0, 0, 0, 0.05); } .selectize-control.repositories .selectize-dropdown .by { font-size: 11px; opacity: 0.8; } .selectize-control.repositories .selectize-dropdown .by::before { content: 'by '; } .selectize-control.repositories .selectize-dropdown .name { font-weight: bold; margin-left: 5px; } .selectize-control.repositories .selectize-dropdown .title { display: block; } .selectize-control.repositories .selectize-dropdown .description { font-size: 12px; display: block; color: #a0a0a0; white-space: nowrap; width: 100%; text-overflow: ellipsis; overflow: hidden; } .selectize-control.repositories .selectize-dropdown .meta { list-style: none; margin: 0; padding: 0; font-size: 10px; } .selectize-control.repositories .selectize-dropdown .meta [class^="icon-"] { font-size: 0.8rem; } .selectize-control.repositories .selectize-dropdown .meta [class^="icon-"]:before { margin-left: 8px; } .selectize-control.repositories .selectize-dropdown .meta li { margin: 0; padding: 0; display: inline; margin-left: 10px; } .selectize-control.repositories .selectize-dropdown .meta li span { font-weight: bold; } .selectize-control.movies::before { -moz-transition: opacity 0.2s; -webkit-transition: opacity 0.2s; -o-transition: opacity 0.2s; transition: opacity 0.2s; content: ' '; z-index: 2; position: absolute; display: block; top: 12px; left: 34px; width: 16px; height: 16px; background: url(../../../../images/icons/spinner.gif); -webkit-background-size: 16px 16px; background-size: 16px 16px; opacity: 0; } .selectize-control.movies.loading::before { opacity: 0.4; } .selectize-control.movies .selectize-dropdown [data-selectable] { border-bottom: 1px solid rgba(0, 0, 0, 0.05); height: 60px; position: relative; -webkit-box-sizing: content-box; -moz-box-sizing: content-box; box-sizing: content-box; padding: 10px 60px 10px 10px; } .selectize-control.movies .selectize-dropdown [data-selectable]:last-child { border-bottom: 0 none; } .selectize-control.movies .selectize-dropdown .by { font-size: 11px; opacity: 0.8; } .selectize-control.movies .selectize-dropdown .by ::before { content: 'by '; } .selectize-control.movies .selectize-dropdown .name { font-weight: bold; margin-left: 5px; } .selectize-control.movies .selectize-dropdown .description { font-size: 12px; color: #a0a0a0; } .selectize-control.movies .selectize-dropdown .actors, .selectize-control.movies .selectize-dropdown .description, .selectize-control.movies .selectize-dropdown .title { display: block; white-space: nowrap; width: 100%; overflow: hidden; text-overflow: ellipsis; } .selectize-control.movies .selectize-dropdown .actors { font-size: 10px; color: #a0a0a0; } .selectize-control.movies .selectize-dropdown .actors span { color: #606060; } .selectize-control.movies .selectize-dropdown img { height: 60px; right: 10px; position: absolute; border-radius: 3px; background: rgba(0, 0, 0, 0.04); } .selectize-control.movies .selectize-dropdown .meta { list-style: none; margin: 0; padding: 0; font-size: 10px; } .selectize-control.movies .selectize-dropdown .meta li { margin: 0; padding: 0; display: inline; margin-left: 10px; } .selectize-control.movies .selectize-dropdown .meta li span { font-weight: bold; } .selectize-control.multi .selectize-input.has-items { padding-right: 8px !important; } .selectize-control.multi .selectize-input.has-items.disabled [data-value] { color: #FFFFFF; } .selectize-control.multi .selectize-input [data-value] { background-image: none !important; padding: 3px 6px; background-color: #1E9FF2 !important; border-color: #0c84d1 !important; margin-left: 7px; font-size: 1rem; line-height: 1.5rem; } .selectize-control.plugin-remove_button [data-value] .remove { border-right-color: #0c84d1 !important; }
css
// Redux import {combineReducers, createStore, applyMiddleware} from 'redux'; import thunkMiddleware from 'redux-thunk'; // Reducers import profileReducer from './reducers/profile'; import usersReducer from './reducers/users'; import chatReducer from './reducers/chat'; // Объединим редьюсеры let rootReducer = combineReducers({ profile: profileReducer, users: usersReducer, chat: chatReducer }); // Создадим store c помощью redux let store = createStore(rootReducer, applyMiddleware(thunkMiddleware)); export default store;
typescript
In a social scene that looks like someone spun a roulette wheel, The Zuck, Nas, and mega-rich Silicon Valley investor Ben Horowitz were all in a room for some reason. And it was all Instagrammed. Somehow, the nerd-on-celebrity-gangbang scene—snapped to Instagram by Rap Genius co-founder, Yale Stereotype, and Vyvanse-abuser Mahbod Moghadam—isn't as painful as you'd think. Because if you read the sentence "Mark Zuckerberg, Nas, and Ben Horowitz all hung out one night," it would sound excruciating. What did they talk about? Probably the money Horowitz has sunk into both of their companies. Rich people stuff. Premium hoodies. Warby Parker. But Nas smiled at least once! Probably knowing that his money and fame will remain after all this Internet money crumbles away. Zuck, at least after the fact, wasn't as smiley: in an interview, Moghadam says things went south after Mark's handlers realized his presence had been recorded outside of a hackathon or press event: Zuck gets home and his whole PR crew is calling him every five seconds, and he told us to take it down. We wrote a letter of apology and I feel sorry. But not that sorry, because slightly later in the interview, Moghadam quips "Zuck can suck my dick."
english
A day after Bollywood singer Kanika Kapoor was tested positive, her selfie with Prime Minister Narendra Modi has surfaced on the internet with a claim that it is a recent picture. NewsMobile fact-checked the above picture and found that the picture in circulation is old. On putting the picture through Reverse Image Search, we found that same picture being shared by Kanika Kapoor herself on her verified Twiter handle (@TheKanikakapoor) on September 18, 2018, wishing PM Modi on for his birthday. Hence, this proves that the picture is almost two years old and it was clicked much before Kanika was contracted by Coronavirus.
english
<reponame>shrflaans/cppPlayground /*M /////////////////////////////////////////////////////////////////////////////////////// // // IMPORTANT: READ BEFORE DOWNLOADING, COPYING, INSTALLING OR USING. // // By downloading, copying, installing or using the software you agree to this license. // If you do not agree to this license, do not download, install, // copy or use the software. // // // License Agreement // For Open Source Computer Vision Library // // Copyright (C) 2013, OpenCV Foundation, all rights reserved. // Copyright (C) 2017, Intel Corporation, all rights reserved. // Third party copyrights are property of their respective owners. // // Redistribution and use in source and binary forms, with or without modification, // are permitted provided that the following conditions are met: // // * Redistribution's of source code must retain the above copyright notice, // this list of conditions and the following disclaimer. // // * Redistribution's in binary form must reproduce the above copyright notice, // this list of conditions and the following disclaimer in the documentation // and/or other materials provided with the distribution. // // * The name of the copyright holders may not be used to endorse or promote products // derived from this software without specific prior written permission. // // This software is provided by the copyright holders and contributors "as is" and // any express or implied warranties, including, but not limited to, the implied // warranties of merchantability and fitness for a particular purpose are disclaimed. // In no event shall the Intel Corporation or contributors be liable for any direct, // indirect, incidental, special, exemplary, or consequential damages // (including, but not limited to, procurement of substitute goods or services; // loss of use, data, or profits; or business interruption) however caused // and on any theory of liability, whether in contract, strict liability, // or tort (including negligence or otherwise) arising in any way out of // the use of this software, even if advised of the possibility of such damage. // //M*/ #include "../precomp.hpp" #include <opencv2/dnn/shape_utils.hpp> #include <opencv2/dnn/all_layers.hpp> #include <iostream> #ifdef HAVE_OPENCL #include "opencl_kernels_dnn.hpp" #endif namespace cv { namespace dnn { class ReorgLayerImpl CV_FINAL : public ReorgLayer { int reorgStride; public: ReorgLayerImpl(const LayerParams& params) { setParamsFrom(params); reorgStride = params.get<int>("reorg_stride", 2); CV_Assert(reorgStride > 0); } bool getMemoryShapes(const std::vector<MatShape> &inputs, const int requiredOutputs, std::vector<MatShape> &outputs, std::vector<MatShape> &internals) const CV_OVERRIDE { CV_Assert(inputs.size() > 0); outputs = std::vector<MatShape>(inputs.size(), shape( inputs[0][0], inputs[0][1] * reorgStride * reorgStride, inputs[0][2] / reorgStride, inputs[0][3] / reorgStride)); CV_Assert(outputs[0][0] > 0 && outputs[0][1] > 0 && outputs[0][2] > 0 && outputs[0][3] > 0); CV_Assert(total(outputs[0]) == total(inputs[0])); return false; } #ifdef HAVE_OPENCL bool forward_ocl(InputArrayOfArrays inps, OutputArrayOfArrays outs, OutputArrayOfArrays internals) { std::vector<UMat> inputs; std::vector<UMat> outputs; bool use_half = (inps.depth() == CV_16S); inps.getUMatVector(inputs); outs.getUMatVector(outputs); String buildopt= format("-DDtype=%s ", use_half ? "half" : "float"); for (size_t i = 0; i < inputs.size(); i++) { ocl::Kernel kernel("reorg", ocl::dnn::reorg_oclsrc, buildopt); if (kernel.empty()) return false; UMat& srcBlob = inputs[i]; UMat& dstBlob = outputs[0]; int channels = srcBlob.size[1]; int height = srcBlob.size[2]; int width = srcBlob.size[3]; size_t nthreads = channels * height * width; kernel.set(0, (int)nthreads); kernel.set(1, ocl::KernelArg::PtrReadOnly(srcBlob)); kernel.set(2, (int)channels); kernel.set(3, (int)height); kernel.set(4, (int)width); kernel.set(5, (int)reorgStride); kernel.set(6, ocl::KernelArg::PtrWriteOnly(dstBlob)); if (!kernel.run(1, &nthreads, NULL, false)) return false; } return true; } #endif void forward(InputArrayOfArrays inputs_arr, OutputArrayOfArrays outputs_arr, OutputArrayOfArrays internals_arr) CV_OVERRIDE { CV_TRACE_FUNCTION(); CV_TRACE_ARG_VALUE(name, "name", name.c_str()); CV_OCL_RUN(IS_DNN_OPENCL_TARGET(preferableTarget) && OCL_PERFORMANCE_CHECK(ocl::Device::getDefault().isIntel()), forward_ocl(inputs_arr, outputs_arr, internals_arr)) Layer::forward_fallback(inputs_arr, outputs_arr, internals_arr); } void forward(std::vector<Mat*> &inputs, std::vector<Mat> &outputs, std::vector<Mat> &internals) CV_OVERRIDE { CV_TRACE_FUNCTION(); CV_TRACE_ARG_VALUE(name, "name", name.c_str()); for (size_t i = 0; i < inputs.size(); i++) { Mat srcBlob = *inputs[i]; MatShape inputShape = shape(srcBlob), outShape = shape(outputs[i]); float *dstData = outputs[0].ptr<float>(); const float *srcData = srcBlob.ptr<float>(); int channels = inputShape[1], height = inputShape[2], width = inputShape[3]; int out_c = channels / (reorgStride*reorgStride); for (int k = 0; k < channels; ++k) { for (int j = 0; j < height; ++j) { for (int i = 0; i < width; ++i) { int out_index = i + width*(j + height*k); int c2 = k % out_c; int offset = k / out_c; int w2 = i*reorgStride + offset % reorgStride; int h2 = j*reorgStride + offset / reorgStride; int in_index = w2 + width*reorgStride*(h2 + height*reorgStride*c2); dstData[out_index] = srcData[in_index]; } } } } } virtual int64 getFLOPS(const std::vector<MatShape> &inputs, const std::vector<MatShape> &outputs) const CV_OVERRIDE { (void)outputs; // suppress unused variable warning int64 flops = 0; for(int i = 0; i < inputs.size(); i++) { flops += 21*total(inputs[i]); } return flops; } }; Ptr<ReorgLayer> ReorgLayer::create(const LayerParams& params) { return Ptr<ReorgLayer>(new ReorgLayerImpl(params)); } } // namespace dnn } // namespace cv
cpp
Prime Minister Narendra Modi’s >forthcoming visit to China , beginning May 14, is of considerable interest not only to peoples inhabiting the two countries, but also to leaders and strategic analysts globally. In China, Mr. Modi will be visiting Xian, Beijing and Shanghai over three days, before leaving for Mongolia and South Korea. Mr. Modi’s visit follows Chinese President Xi Jinping’s trip to India in September 2014. There is a great deal hinging on its outcome with China being viewed today as a pivot-state, and India the only nation in the region capable of maintaining the balance in the region. For his part, Mr. Modi has, no doubt, >indicated that trade and economic ties with China would be his main priority. However, there is much more to an Indian Prime Minister’s visit to China than economic relations — unstated though this may be. This visit is again taking place at a time when China has unveiled a new strategic vision, and elements of the strategy conform to Sun Tzu’s principle of “winning without fighting”. It implicitly includes rewarding nations that it perceives as “friends” and, by implication, excluding nations that stand in its way. New security paradigm China is also currently affording an opportunity to nations in the region to become a part of a Beijing-contrived “security alliance”, holding out the promise of a new Asian security paradigm, previously embedded in Chinese President Xi Jinping’s “Code of Conduct for Asia” (2014). The latter contained a veiled “warning” to countries forging military alliances to counter China. Perhaps, having waded too far out by its references to the issue of maritime disputes in the South China Sea at various regional fora, and more explicitly in the Joint Strategic Vision for the Asia-Pacific and the Indian Ocean region following the U. S. President Barack Obama-Modi meeting in New Delhi in January this year, the Prime Minister may, hence, need to indulge in some intricate balancing acts to win the confidence of his hosts. Many Western analysts believe that China is presently demonstrating a degree of “strategic autism”, resulting from its growing power. The Indian side needs to factor this in its calculations. Under President Hu Jintao and Premier Wen Jiabao, China had, by and large, displayed a benign face. It was during this period, in 2008, that India and China unveiled a “Joint Strategic Vision for the 21st Century”. This was considered unusual even then for China generally finds it difficult to endorse a common vision. Under Mr. Xi, China has moved away from Deng Xiaoping’s injunction “to hide our capabilities and bide our time and never claim leadership”. It now countenances the employment of diplomacy as an instrument for the effective application of Chinese power in support of China’s ambitious and long-term foreign policy agenda. Effectively, therefore, the 2008 “Shared Vision Concept” is all but buried, and it would be useful to see what happens next. The Indian side must avoid falling into any kind of trap of arriving at decisions on strategic issues, made seemingly easy by the Chinese employing very simplified, schematic representations of highly complex realities. Meanwhile, current realities in the region are becoming more complex having entered a period fraught with change. The emergence of new dangers in West Asia, the uncertainty in Afghanistan, with the Islamic State (IS) now siding with the Taliban, tensions among different nations in South-East Asia and East Asia, and evidence of increasing Chinese assertiveness, have produced an unstable equilibrium. Impact of developments Consequently, while there are many issues that would be uppermost in Mr. Modi’s mind, the visit provides an excellent opportunity for him to assess, at first hand, where China is headed. It will give him a chance to estimate the potential impact of recent developments on Sino-Indian relations. ‘Outreach’ programme Mr. Modi would also have the opportunity to understand, first hand, the implications of China’s “Outreach Programme”. The launch of the New Development Bank and the Asian Infrastructure Investment Bank has already demonstrated Beijing’s determination to build an alternative financial architecture. The “One Belt, One Road” initiative (inclusive of a Silk Road Development Fund) aims to boost connectivity with China’s Central Asian neighbours, and establish a Eurasian land corridor from the Pacific Coast to the Baltic Sea, which possibly signals China’s determination to undermine the U. S. Pivot to Asia. The ‘ >Maritime Silk Road ’ concept is possibly an even more audacious move, with plans to connect more than 50 countries via the sea and build a network of port cities along the Silk Road. This could well result in circumventing and circumscribing India’s own outreach diplomacy. The ambit of China’s “Public Diplomacy” including the rapid expansion of Confucius Institutes (there are over 415 such institutes around the globe including around 15 in India at present) also merits the Prime Minister’s attention. The interconnecting links between these Institutes and the authorities in China are matters which require to be better understood in the context of China’s current “soft power” offensive. As in the case of China’s “Peaceful Rise”, there is room for worry and concern. China has already notched up several diplomatic successes — some of these will have an adverse impact on India’s external relations. The transformation in China-Russia relations is clearly one. This has been facilitated by the $400 billion gas deal, but it should not be overlooked that Russia was possibly the first overseas destination for Mr. Xi. What should specially concern India and Mr. Modi, is that China and Russia are now determined to deepen their “comprehensive strategic partnership” and “contribute to lasting world peace”. Likewise, China has gained a strategic beachhead in West Asia with its Iran connection. China is reaping the reward of standing by Iran. This will clearly put India on the back foot in a region which it has carefully nursed for a long time. China-Pakistan connection However, it is the further deepening of the China-Pakistan connection that should be cause for graver concern, and Mr. Modi could seek from his Chinese host what exactly China’s intentions are. >The $46 billion promised by China for the China-Pakistan Economic Corridor, which would link western China with the Gwadar port in Pakistan through Pakistan Occupied Kashmir (PoK), by itself is worthy of India’s attention, but it is also apparent that the quid pro quo includes China gaining strategic access to the Gwadar port. The “pivot” to Pakistan in recent months, reflects Mr. Xi’s personal preferences after the equivocation of the Hu-Wen period. All in all, it might be useful for the Prime Minister to tread with caution lest unexpected consequences follow improbable causes. This is specially true when matters relate to the rules of engagement between neighbouring states that have witnessed troubled relations in the past. The underlying reason for concern is that China seems to be maximising power without purpose. The “logic of strategy” of such situations is that it inevitably provokes a confrontational atmosphere. In China’s evaluation, it is already the predominant power in the region. It now seeks to translate its power into influence. Sharing power is farthest from its mind, and “strategic altruism” is not a quality that China — or for that matter most countries — possesses. India must remain alert to these eventualities when matters concerning strategic realities are discussed. The combination of an excess of nationalism, belief in exceptionalism, and of the inevitability of a Sino-centric world that is being fostered under President Xi Jinping, does have inevitable consequences which countries like India cannot overlook. This requires Mr. Modi to focus clearly on the strategic aspects of the relationship, and less on trade and economic ties. It is the strategic content that heightens the importance of a meeting of minds when the leaders of India and China meet. (M. K. Narayanan is a former National Security Advisor and former Governor of West Bengal. )
english
import { NgModule } from '@angular/core'; import { CommonModule } from '@angular/common'; import { RouterModule, Routes } from '@angular/router'; import { ProfileComponent } from './../profile/profile.component'; import { RepoViewDetailsComponent } from './../repo-view-details/repo-view-details.component'; import { RepoViewComponent } from './../repo-view/repo-view.component'; import { NotFoundComponent } from '../not-found/not-found.component'; const routes: Routes = [ { path: 'profile', component: ProfileComponent }, { path: 'repo-view-details', component: RepoViewDetailsComponent }, { path: '', redirectTo: '/profile', pathMatch: 'full' }, { path: '**', component: NotFoundComponent } ]; @NgModule({ imports: [CommonModule, RouterModule.forRoot(routes)], exports: [RouterModule], declarations: [] }) export class RoutingModule {}
typescript
SIN IS THE PROBLEM (part 2) Sin is not just an internal struggle between doing what is good or bad. It also affects our relationships with others and with God. We may think that it is hidden or that it doesn’t really affect anyone else, but sin always has an impact. First, it damages our relationship with the one that created us. There is a gap between us. We don’t get the benefit of his presence in our lives that gives us hope, peace, and all good things. We have chosen something that will satisfy us temporarily instead of turning to God who can satisfy us eternally. Secondly, it impacts our relationships with ourselves and others. We start to become numb to other sins in our lives and continue to perpetuate the lie that we are “good enough”. We sin against others and hurt those relationships. Ultimately, sin brings death. It brings death in separation from God, death in lost relationships, physical death, and death to knowing the truth about ourselves and God. The hope that we have is in Jesus to reconcile these relationships and give us life. Ask Yourself: How have you seen the impact of sin in your life and relationships? Pause to Pray: Lord, help me to see how my sin impacts the relationships in my life. Give me the courage to work towards reconciliation. Take the Next Step: Make an effort to begin to repair a relationship that has been damaged by sin.
english
Boston Celtics head coach Joe Mazzulla looked forward to reviewing the NBA's Last-Two Minute Report after Monday's controversial loss to the Indiana Pacers. He won't like what he sees. With the score tied at 131 and just 3.2 seconds left, Pacers guard Buddy Hield appeared to foul Celtics star Jaylen Brown on his game-winning shot attempt. Hield seemingly made contact with Brown's head while attempting to block his shot from behind. Hield initially was called for a foul, but that call was reversed after the Pacers challenged the play. Indiana was given possession of the ball, and the controversy continued. Pacers wing Bennedict Mathurin drew a foul on Celtics big man Kristaps Porzingis on his last-second shot attempt, resulting in two free-throw makes and a 133-131 Indiana victory. Still in disbelief after the game, Brown called for the league to undergo an investigation. The NBA released its Last Two Minute Report on Tuesday afternoon and it certainly won't appease the Celtics. Here's the conclusion that was drawn on the Hield/Brown play: "On replay review, the coach's challenge of the shooting foul called on Hield (IND) was deemed successful. The video clearly shows that Hield reaches forward and makes contact with the ball from behind Brown (BOS). While in contact with the ball, Hield also makes minimal contact with Brown's head, and on review that contact was correctly deemed incidental. "As the rulebook makes clear, the mere fact that contact occurs does not necessarily constitute a foul; contact which is incidental to an effort by a player to defend an opponent, reach a loose ball, or perform normal defensive or offensive movements is not considered illegal. Play resumed with IND possession, since Nesmith (IND) had imminent possession at the point of interruption." Making matters even worse, the league ruled that Porzingis shouldn't have been called for the foul on Mathurin that ultimately led to Boston's defeat. "Porzingis (BOS) is above the ball and legally contests Mathurin's (IND) shot attempt, with some incidental arm contact occurring concurrent with the block. Referees conducted a replay review to determine if the foul was called with no time remaining on the clock (00:00), and determined it was called before the expiration of time. The clock was reset with 0.6 remaining on the clock. The foul itself was not a reviewable matter under this replay trigger." The report also determined that Pacers big man Myles Turner should have been called for an illegal screen on Celtics guard Derrick White with two seconds remaining in regulation. The NBA's official rulings won't sit well with Boston, but as Porzingis wrote on X shortly after the report's release, it's "on to the next one" for the C's. The Celtics will return home to host the Western Conference-leading Minnesota Timberwolves on Wednesday night. They'll hope the officials won't be a factor as they look to improve to 18-0 at TD Garden this season.
english
<reponame>Wrapperss/Swift-Daily-Tips<filename>.github/PULL_REQUEST_TEMPLATE.md<gh_stars>1000+ ## PR Checklist Please check if your PR fulfills the following requirements: - [Carbon](https://carbon.now.sh) Requirements | [Detail Carbon Settings](https://github.com/MobileTipsters/Swift-Daily-Tips/blob/master/icons/CarbonSettings.png) - [ ] Select `Dracula` Theme - [ ] Select right `programming language` - [ ] Set `largest` font size - Commit requirements - [ ] Image should be added to `screenshots` folder - [ ] Code snippet should be added to `codes` folder - [ ] Image and code snippet have the `same name` for their files
markdown
// Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. // Code generated by Microsoft (R) AutoRest Code Generator. package com.azure.management.appservice; import com.azure.core.annotation.Fluent; import com.azure.core.annotation.JsonFlatten; import com.fasterxml.jackson.annotation.JsonProperty; import java.util.List; import java.util.Map; /** The MSDeploy model. */ @JsonFlatten @Fluent public class MSDeploy extends ProxyOnlyResource { /* * Package URI */ @JsonProperty(value = "properties.packageUri") private String packageUri; /* * SQL Connection String */ @JsonProperty(value = "properties.connectionString") private String connectionString; /* * Database Type */ @JsonProperty(value = "properties.dbType") private String dbType; /* * URI of MSDeploy Parameters file. Must not be set if SetParameters is * used. */ @JsonProperty(value = "properties.setParametersXmlFileUri") private String setParametersXmlFileUri; /* * MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. */ @JsonProperty(value = "properties.setParameters") private Map<String, String> setParameters; /* * Controls whether the MSDeploy operation skips the App_Data directory. * If set to <code>true</code>, the existing App_Data directory on the * destination * will not be deleted, and any App_Data directory in the source will be * ignored. * Setting is <code>false</code> by default. */ @JsonProperty(value = "properties.skipAppData") private Boolean skipAppData; /* * Sets the AppOffline rule while the MSDeploy operation executes. * Setting is <code>false</code> by default. */ @JsonProperty(value = "properties.appOffline") private Boolean appOffline; /* * List of Add-On packages. Add-On packages implicitly enable the Do Not * Delete MSDeploy rule. */ @JsonProperty(value = "properties.addOnPackages") private List<MSDeployCore> addOnPackages; /** * Get the packageUri property: Package URI. * * @return the packageUri value. */ public String packageUri() { return this.packageUri; } /** * Set the packageUri property: Package URI. * * @param packageUri the packageUri value to set. * @return the MSDeploy object itself. */ public MSDeploy withPackageUri(String packageUri) { this.packageUri = packageUri; return this; } /** * Get the connectionString property: SQL Connection String. * * @return the connectionString value. */ public String connectionString() { return this.connectionString; } /** * Set the connectionString property: SQL Connection String. * * @param connectionString the connectionString value to set. * @return the MSDeploy object itself. */ public MSDeploy withConnectionString(String connectionString) { this.connectionString = connectionString; return this; } /** * Get the dbType property: Database Type. * * @return the dbType value. */ public String dbType() { return this.dbType; } /** * Set the dbType property: Database Type. * * @param dbType the dbType value to set. * @return the MSDeploy object itself. */ public MSDeploy withDbType(String dbType) { this.dbType = dbType; return this; } /** * Get the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is * used. * * @return the setParametersXmlFileUri value. */ public String setParametersXmlFileUri() { return this.setParametersXmlFileUri; } /** * Set the setParametersXmlFileUri property: URI of MSDeploy Parameters file. Must not be set if SetParameters is * used. * * @param setParametersXmlFileUri the setParametersXmlFileUri value to set. * @return the MSDeploy object itself. */ public MSDeploy withSetParametersXmlFileUri(String setParametersXmlFileUri) { this.setParametersXmlFileUri = setParametersXmlFileUri; return this; } /** * Get the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @return the setParameters value. */ public Map<String, String> setParameters() { return this.setParameters; } /** * Set the setParameters property: MSDeploy Parameters. Must not be set if SetParametersXmlFileUri is used. * * @param setParameters the setParameters value to set. * @return the MSDeploy object itself. */ public MSDeploy withSetParameters(Map<String, String> setParameters) { this.setParameters = setParameters; return this; } /** * Get the skipAppData property: Controls whether the MSDeploy operation skips the App_Data directory. If set to * &lt;code&gt;true&lt;/code&gt;, the existing App_Data directory on the destination will not be deleted, and any * App_Data directory in the source will be ignored. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @return the skipAppData value. */ public Boolean skipAppData() { return this.skipAppData; } /** * Set the skipAppData property: Controls whether the MSDeploy operation skips the App_Data directory. If set to * &lt;code&gt;true&lt;/code&gt;, the existing App_Data directory on the destination will not be deleted, and any * App_Data directory in the source will be ignored. Setting is &lt;code&gt;false&lt;/code&gt; by default. * * @param skipAppData the skipAppData value to set. * @return the MSDeploy object itself. */ public MSDeploy withSkipAppData(Boolean skipAppData) { this.skipAppData = skipAppData; return this; } /** * Get the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes. Setting is * &lt;code&gt;false&lt;/code&gt; by default. * * @return the appOffline value. */ public Boolean appOffline() { return this.appOffline; } /** * Set the appOffline property: Sets the AppOffline rule while the MSDeploy operation executes. Setting is * &lt;code&gt;false&lt;/code&gt; by default. * * @param appOffline the appOffline value to set. * @return the MSDeploy object itself. */ public MSDeploy withAppOffline(Boolean appOffline) { this.appOffline = appOffline; return this; } /** * Get the addOnPackages property: List of Add-On packages. Add-On packages implicitly enable the Do Not Delete * MSDeploy rule. * * @return the addOnPackages value. */ public List<MSDeployCore> addOnPackages() { return this.addOnPackages; } /** * Set the addOnPackages property: List of Add-On packages. Add-On packages implicitly enable the Do Not Delete * MSDeploy rule. * * @param addOnPackages the addOnPackages value to set. * @return the MSDeploy object itself. */ public MSDeploy withAddOnPackages(List<MSDeployCore> addOnPackages) { this.addOnPackages = addOnPackages; return this; } }
java
from django import template from ..models import PythonTipHashTag register = template.Library() @register.inclusion_tag('apps/twee/includes/templatetags/hash_tags.html', name='hashtags_template') def hash_tags_with_template(): tags = PythonTipHashTag.objects.all() return {'hash_tags': tags} @register.simple_tag(name='hashtags') def hash_tags_without(): return PythonTipHashTag.objects.all()
python
A photo exhibit combines street scenes in the southern Macedonian town of Bitola during World War I and their situation today. "My first thought was that it could be me held there and told that, as a gay woman, I needed to change. " Global Voices reviews of the best African restaurants in the Paris region, tried and tested by natives, as well as those discovering African food for the first time. What happened in the Cuban sugar towns after the mills of its primary industry were dismantled? The big and “beautiful” wall that some politicians promised to build, it already exists. But despite the massive metal fences and militarized checkpoints, love has no borders. Made up of just a few dozen people, the world’s largest community of Vods lives outside St. Petersburg. Victoria Vziatysheva recently spoke to some of the Vods’ last living descendants.
english
/* Copyright © 2019 <NAME>. | All rights reserved */ package systems.reformcloud; import java.io.Serializable; import systems.reformcloud.configuration.ParametersConfiguration; import systems.reformcloud.network.out.PacketOutParametersUpdate; import systems.reformcloud.utility.ControllerAddonImpl; /** * @author _Klaro | <NAME>. / created on 14.04.2019 */ public final class ParametersAddon extends ControllerAddonImpl implements Serializable { private static ParametersAddon instance; private ParametersConfiguration parametersConfiguration; public static ParametersAddon getInstance() { return ParametersAddon.instance; } @Override public void onAddonClazzPrepare() { instance = this; } @Override public void onAddonLoading() { this.parametersConfiguration = new ParametersConfiguration(); ReformCloudController.getInstance().getChannelHandler() .sendToAllSynchronized(new PacketOutParametersUpdate()); } @Override public void onAddonReadyToClose() { ReformCloudController.getInstance().getNettyHandler() .unregisterQueryHandler("RequestParameters"); } public ParametersConfiguration getParametersConfiguration() { return this.parametersConfiguration; } }
java
package com.nwnu.blockchain.utils; import lombok.extern.slf4j.Slf4j; import org.apache.commons.lang.StringUtils; import org.codehaus.jackson.map.DeserializationConfig; import org.codehaus.jackson.map.ObjectMapper; import org.codehaus.jackson.map.SerializationConfig; import org.codehaus.jackson.map.annotate.JsonSerialize; import org.codehaus.jackson.type.JavaType; import org.codehaus.jackson.type.TypeReference; import java.text.SimpleDateFormat; /** * ${desc} * <pre> * Version Date Author Description * --------------------------------------------------------------------------------------- * 1.0.0 2018/10/13 redli - * </pre> * * @author redli * @version 1.0.0 2018/10/13 13:10 * @date 2018/10/13 13:10 * @since 1.0.0 */ @Slf4j public class JsonUtil { private static ObjectMapper objectMapper = new ObjectMapper(); static { //对象的所有字段全部列入 objectMapper.setSerializationInclusion(JsonSerialize.Inclusion.ALWAYS); //取消默认转换timestamps形式 objectMapper.configure(SerializationConfig.Feature.WRITE_DATES_AS_TIMESTAMPS, false); //忽略空bean转json错误 objectMapper.configure(SerializationConfig.Feature.FAIL_ON_EMPTY_BEANS, false); //所有的日期格式都统一为以下样式,即yyyy-MM-dd HH:mm:ss objectMapper.setDateFormat(new SimpleDateFormat(DateTimeUtil.STANDARD_FORMAT)); //忽略在json字符串存在,但是在java对象中不存在对应属性的情况,防止错误 objectMapper.configure(DeserializationConfig.Feature.FAIL_ON_UNKNOWN_PROPERTIES, false); } public static <T> String objToString(T obj) { if (obj == null) { return null; } try { return obj instanceof String ? (String) obj : objectMapper.writeValueAsString(obj); } catch (Exception e) { log.warn("Parse Object to String error", e); return null; } } public static <T> String objToStringPretty(T obj) { if (obj == null) { return null; } try { return obj instanceof String ? (String) obj : objectMapper.writerWithDefaultPrettyPrinter().writeValueAsString(obj); } catch (Exception e) { log.warn("Parse Object to String error", e); return null; } } public static <T> T stringToObj(String str, Class<T> clazz) { if (StringUtils.isEmpty(str) || clazz == null) { return null; } try { return clazz.equals(String.class) ? (T) str : objectMapper.readValue(str, clazz); } catch (Exception e) { log.warn("Parse String to Object error", e); return null; } } /** * 泛型反序列化 * * @param str * @param typeReference * @param <T> * @return */ public static <T> T stringToObj(String str, TypeReference<T> typeReference) { if (StringUtils.isEmpty(str) || typeReference == null) { return null; } try { return (T) (typeReference.getType().equals(String.class) ? str : objectMapper.readValue(str, typeReference)); } catch (Exception e) { log.warn("Parse String to Object error", e); return null; } } /** * ...代表可传一个参数,也可传多个参数 * * @param str * @param collectionClass * @param elementClasses * @param <T> * @return */ public static <T> T stringToObj(String str, Class<?> collectionClass, Class<?>... elementClasses) { JavaType javaType = objectMapper.getTypeFactory().constructParametricType(collectionClass, elementClasses); try { return objectMapper.readValue(str, javaType); } catch (Exception e) { log.warn("Parse String to Object error", e); return null; } } }
java
<gh_stars>0 { "parent": "block/cube_column", "textures": { "end": "nuclearcraft:blocks/fusion_electromagnet_top_off", "side": "nuclearcraft:blocks/fusion_electromagnet_side_off" } }
json
Tech firm Philips on Monday said that it plans to cut 6,000 jobs by 2025, including around 3,000 this year, to enhance performance and drive value creation. Tech firm Philips on Monday said that it plans to cut 6,000 jobs by 2025, including around 3,000 this year, to enhance performance and drive value creation. In October, last year, the company announced to slash 4,000 jobs as it faced "multiple challenges" which was reflected in its Q3 earnings. The Dutch health-tech company further said that the simplified operating model will make it more agile and competitive while reducing costs, reports Market Watch. The job cuts announced on Monday are in addition to those outlined in October. Philips stated that it will now concentrate on extracting the full value of its portfolio through a focused organic growth strategy. Moreover, the Market Watch report mentioned that the disclosure came as the company reported a net loss for the fourth quarter of last year due to higher costs, but it also stated that it has seen some improvement in the period and is taking steps to address operational challenges in an uncertain environment. The tech company, which sells products such as MRI scanners and ultrasound machines, reported a net loss attributable to shareholders of 106 million euros ($170. 6 million) in the fourth quarter of 2021, compared to a profit of 157 million euros in the previous quarter. The company stated that cost inflation harmed its performance, which was partially offset by pricing and productivity measures, said the report.
english
<reponame>rolocampusano/nber { "id": 16461, "citation_title": "Understanding Transitory Rainfall Shocks, Economic Growth and Civil Conflict", "citation_author": [ "<NAME>", "<NAME>" ], "citation_publication_date": "2010-10-14", "issue_date": "2010-10-14", "revision_date": "None", "topics": [ "History", "Other History", "Development and Growth", "Country Studies", "Environmental and Resource Economics", "Environment" ], "program": [ "Environment and Energy Economics", "Political Economy" ], "projects": null, "working_groups": null, "abstract": "\n\nMiguel, Satyanath and Sergenti (2004) use rainfall variation as an instrument to show that economic growth is negatively related to civil conflict in sub-Saharan Africa. In the reduced form regression they find that higher rainfall is associated with less conflict. Ciccone (2010) claims that this conclusion is 'erroneous' and argues that higher rainfall levels are actually linked to more conflict. In this paper we show that the results in Ciccone's paper are based on incorrect STATA code, outdated conflict data, a weak first stage regression and a questionable application of the GMM estimator. Leaving aside these data and econometric issues, Ciccone's surprising results do not survive obvious robustness checks. We therefore conclude that Ciccone's main claims are largely incorrect and reconfirm the original result by Miguel, Satyanath and Sergenti (2004), finding that adverse economic growth shocks, driven by falling rainfall, increases the likelihood of civil conflict in sub-Saharan Africa.\n\n", "acknowledgement": "\nThe views expressed herein are those of the authors and do not necessarily reflect the views of the National Bureau of Economic Research.\n\n\n" }
json
When 28-year-old Raees Shaikh first visited Arpan, a dabba service based in North Mumbai, almost six months ago, he would stand outside with his mother, taking in the happenings without uttering a word. Today, Shaikh, who is autistic, is almost always chatting away as he shells peas by the kilo and even pitches in to sing a hit Hindi film song pictured on his favourite star: Shah Rukh Khan. “He can do one task at a stretch, so his condition can work to his advantage. He can shell garlic and peas for hours on end. How many of us even like doing these tasks? ” asks Sushama Nagarkar, rehabilitation psychologist and managing trustee of Yash Charitable Trust, the NGO that runs Arpan. Dabbas at Arpan are delivered between Monday to Friday for lunch, and include wholesome home- cooked food including salad, dal, rice, chapatis and a vegetable plus a non-vegetarian dish depending on the dabba you’ve ordered. All of these dishes are prepared by a small group of people who live with developmental disabilities. The 10-member group includes two supervisors who tell us that they’ve also seen a remarkable change in a year since Arpan launched in April 2015. “Until six months ago, they could do only one task at a time – it would be either peeling or chopping and so on. Now they can make a salad on their own,” says Asha Ramdas Divte, one of the supervisors. “Earlier, someone had to accompany them to the market, but now they buy all the supplies be it vegetables, eggs or meat, handle the money on their own and bring back a receipt,” adds supervisor Kavita Sumeet Akrey. Nagarkar’s daughter Aarti, who has autism and also works at Arpan, joins the conversation mid-way: “I love music. ” Aarti is the one who turns up the radio and switches channels every morning when her team is at work. We’re not sure how to respond when Aarti tells us that she’d like to watch sitar legend Ravi Shankar perform. “You can watch videos on YouTube,” we tell her. Her mother tells us that it is OK for her daughter to know that the sitar maestro has passed on. It is after all in knowing and accepting reality that has charged her and the team at Arpan with renewed faith in their abilities. So when Jangir says he likes being at Arpan because it gives him a chance to help others, you know that their disabilities have been turned around and liberated them. Order for dabbas from Arpan here.
english
{ "##choices#calibration_time": 10.0, "##choices#cmd_key": "encode", "##choices#compile_type": "dynamic", "##choices#compiler_description_uoa": "gcc-4.9.0-auto", "##choices#compiler_flags#base_opt": "-Os", "##choices#compiler_flags#bool-combine-stack-adjustments": "-fno-combine-stack-adjustments", "##choices#compiler_flags#bool-data-sections": "-fno-data-sections", "##choices#compiler_flags#bool-finite-math-only": "-fno-finite-math-only", "##choices#compiler_flags#bool-float-store": "-ffloat-store", "##choices#compiler_flags#bool-forward-propagate": "-fforward-propagate", "##choices#compiler_flags#bool-gcse-las": "-fno-gcse-las", "##choices#compiler_flags#bool-gcse-sm": "-fno-gcse-sm", "##choices#compiler_flags#bool-graphite-identity": "-fno-graphite-identity", "##choices#compiler_flags#bool-hoist-adjacent-loads": "-fhoist-adjacent-loads", "##choices#compiler_flags#bool-isolate-erroneous-paths-attribute": "-fno-isolate-erroneous-paths-attribute", "##choices#compiler_flags#bool-live-range-shrinkage": "-fno-live-range-shrinkage", "##choices#compiler_flags#bool-modulo-sched": "-fmodulo-sched", "##choices#compiler_flags#bool-reschedule-modulo-scheduled-loops": "-freschedule-modulo-scheduled-loops", "##choices#compiler_flags#bool-schedule-insns2": "-fno-schedule-insns2", "##choices#compiler_flags#bool-sel-sched-pipelining-outer-loops": "-fno-sel-sched-pipelining-outer-loops", "##choices#compiler_flags#bool-selective-scheduling": "-fno-selective-scheduling", "##choices#compiler_flags#bool-split-wide-types": "-fno-split-wide-types", "##choices#compiler_flags#bool-strict-aliasing": "-fstrict-aliasing", "##choices#compiler_flags#bool-tree-coalesce-vars": "-ftree-coalesce-vars", "##choices#compiler_flags#bool-tree-loop-ivcanon": "-ftree-loop-ivcanon", "##choices#compiler_flags#bool-tree-loop-vectorize": "-fno-tree-loop-vectorize", "##choices#compiler_flags#bool-tree-pta": "-fno-tree-pta", "##choices#compiler_flags#param--finline-limit=": "-finline-limit=0", "##choices#compiler_flags#param-allow-packed-load-data-races": "--param allow-packed-load-data-races=0", "##choices#compiler_flags#param-asan-globals": "--param asan-globals=1", "##choices#compiler_flags#param-builtin-expect-probability": "--param builtin-expect-probability=90", "##choices#compiler_flags#param-gcse-after-reload-partial-fraction": "--param gcse-after-reload-partial-fraction=4", "##choices#compiler_flags#param-inline-min-speedup": "--param inline-min-speedup=15", "##choices#compiler_flags#param-ipa-sra-ptr-growth-factor": "--param ipa-sra-ptr-growth-factor=1", "##choices#compiler_flags#param-large-function-insns": "--param large-function-insns=5035", "##choices#compiler_flags#param-large-stack-frame": "--param large-stack-frame=428", "##choices#compiler_flags#param-loop-max-datarefs-for-datadeps": "--param loop-max-datarefs-for-datadeps=721", "##choices#compiler_flags#param-lto-min-partition": "--param lto-min-partition=1322", "##choices#compiler_flags#param-max-delay-slot-insn-search": "--param max-delay-slot-insn-search=28", "##choices#compiler_flags#param-max-goto-duplication-insns": "--param max-goto-duplication-insns=2", "##choices#compiler_flags#param-min-inline-recursive-probability": "--param min-inline-recursive-probability=5", "##choices#compiler_flags#param-omega-eliminate-redundant-constraints": "--param omega-eliminate-redundant-constraints=0", "##choices#compiler_flags#param-sched-pressure-algorithm": "--param sched-pressure-algorithm=1", "##choices#compiler_flags#param-simultaneous-prefetches": "--param simultaneous-prefetches=4", "##choices#compiler_flags#param-switch-conversion-max-branch-ratio": "--param switch-conversion-max-branch-ratio=13", "##choices#data_uoa": "zlib", "##choices#dataset_file": "data.y4m", "##choices#dataset_uoa": "video-raw-0001", "##choices#device_id": "", "##choices#host_os": "linux-32", "##choices#module_uoa": "b0ac08fe1d3c2615", "##choices#no_state_check": "yes", "##choices#program_tags": "", "##choices#repeat": 10, "##choices#target": "", "##choices#target_os": "linux-32", "##choices#target_os_bits": "32" }
json
<gh_stars>1-10 {"message":"Resource not accessible by integration","documentation_url":"https://docs.github.com/rest/reference/repos#check-if-a-user-is-a-repository-collaborator"}
json
Michael Vaughan, who led England to Ashes triumph in 2005, has been named as the captain of Warne's team. Eralier, Warne also picked his greatest Australian Test XI (since 1990). The basic qualification for his Test XI is that it features players from the last 25 years only i. e. since 1990. Allan Border is the captain. Adam Gilchrist is the wicketkeeper-batsman and Warne picks himself as the lone spinner. Matthew Hayden and Michael Slater are to open the batting. Mitchell Johnson, Ryan Harris and Glenn McGrath are the fast bowlers. Ricky Ponting, Mark Waugh, Michael Clarke and Allan Border will play in the middle-order.
english
Pilots have mastered key skills to ensure the success of the take-off and the landing, especially under unfavourable conditions such as poor visibility and unstable airflow, said Vice-Admiral Zhang Yongyi, a deputy commander of the Chinese People’s Liberation Army (PLA) Navy. “It’s like ‘dancing on a knifepoint’ as the aircraft have to land on a very limited space,” Zhang said while commenting on the successful flight landing recently conducted on the carrier, the Liaoning. The aircraft must land precisely over a very short and narrow runway on the carrier at a speed of several hundreds of kilometres per hour, Zhang said in an interview with Xinhua Sunday, after the J-15 fighter succeeded in the landing tests. “We have done all these test flights from the very beginning, and finally we mastered the key skills for the landing of carrier-borne aircraft,” said Zhang, who is also the commander-in-chief in charge of the tests and training program of the flight landing. Currently, the Chinese pilots have found out the right ways to conduct the landing and they have consolidated their skills, according to the Navy officer, who himself is a meritorious pilot of the Chinese naval air force. Zhang said the carrier-borne aircraft and special equipment for the landing flight have gone through strict tests, and fighter jets can be deployed on the aircraft carrier.
english
CAIRO, April 19- – Egypt’s ex president Mohamed Morsi faces being sentenced to death Tuesday on charges of inciting the killing of protestors in the first verdict against him nearly two years after his fall from power. He also faces the death penalty in two other trials, including one in which he is accused of spying for foreign powers, and escaping from prison during the 2011 anti Mubarak revolt. Separate verdicts in those two cases are due on May 16. A death sentence on Tuesday against Egypt’s first freely elected president cannot be ruled out, experts say, especially since judges have already passed harsh verdicts against leaders of his blacklisted Muslim Brotherhood. Morsi was toppled by the then army chief — and now president — Abdel Fattah al-Sisi on July 3, 2013 after mass street protests against his year-long rule. The new authorities then launched a sweeping crackdown on his supporters in which more than 1,400 people were killed and thousands jailed. Hundreds have been sentenced to death after speedy mass trials which the United Nations called “unprecedented in recent history”. The authorities have also targeted secular and liberal activists who spearheaded the 2011 uprising against long-time autocrat Hosni Mubarak, Morsi’s predecessor. In November, a court dropped murder charges against Mubarak in his own trial over the deaths of hundreds of protesters in 2011. Sisi’s regime is widely popular among Egyptians tired of more than four years of political turmoil, but rights groups say it is more repressive than under Mubarak. Tuesday’s verdict involves a case in which Morsi and 14 other defendants, seven of whom are on the run, are charged with the killing of three protesters and torturing several more during clashes in front of the presidential palace on December 5, 2012. The protesters were demonstrating against a Morsi decree that put him above judicial review when they clashed with his supporters. Defence lawyers say there is no proof Morsi incited the clashes, and that most of those killed were Brotherhood members. Even if Morsi escapes the death penalty, he could still face life in jail. “Justice is highly politicised and verdicts are rarely based on objective elements,” Karim Bitar from the Paris-based Institute of International and Strategic Relations told AFP. Morsi’s supporters were the target of a government “witch-hunt”, he added. If a death sentence is passed, it is unlikely to be carried out, said H A Hellyer of the Washington-based Brookings Centre for Middle East Policy. “The execution of Morsi would represent an escalation by the Egyptian authorities that they do not appear willing to engage in,” said Hellyer. The verdict is also open to appeal. A harsh sentence will nevertheless be a nail in the coffin of the Brotherhood, as Sisi has vowed to “eradicate” the 85 year old movement that staged major electoral gains between Mubarak’s fall and Morsi’s presidential victory in May 2012. Almost all of its leaders face harsh sentences, and in December 2013 the movement was designated a “terrorist group,” with the authorities blaming it for near daily attacks on the security forces. In a country where the army has been in power for decades, Sisi’s May 2014 presidential victory crushed hopes raised since the popular anti-Mubarak revolt of a civilian democracy. The extent of anti-Brotherhood repression “is unprecedented in the history of the Brotherhood and could push its supporters to extremism”, said Mustapha Kamel al-Sayyid, professor of political science at Cairo University. Jihadists, mainly the Egyptian affiliate of the Islamic State group, have claimed attacks on security forces in retaliation for the crackdown on Morsi supporters. The Brotherhood itself denies resorting to violence.
english
<reponame>hoda5/vscode<gh_stars>1-10 /*--------------------------------------------------------------------------------------------- * Copyright (c) Microsoft Corporation. All rights reserved. * Licensed under the MIT License. See License.txt in the project root for license information. *--------------------------------------------------------------------------------------------*/ 'use strict'; import {TokensBinaryEncoding, TokensInflatorMap} from 'vs/editor/common/model/tokensBinaryEncoding'; import {ModeTransition} from 'vs/editor/common/core/modeTransition'; import {ViewLineToken} from 'vs/editor/common/core/viewLineToken'; export class LineToken { _lineTokenBrand: void; private _source:LineTokens; private _tokenIndex: number; private _modeIndex: number; public startOffset: number; public endOffset: number; public type: string; public modeId: string; public hasPrev: boolean; public hasNext: boolean; constructor(source:LineTokens, tokenIndex:number, modeIndex:number) { this._source = source; this._tokenIndex = tokenIndex; this._modeIndex = modeIndex; this.startOffset = this._source.getTokenStartOffset(this._tokenIndex); this.endOffset = this._source.getTokenEndOffset(this._tokenIndex); this.type = this._source.getTokenType(this._tokenIndex); this.modeId = this._source.modeTransitions[this._modeIndex].modeId; this.hasPrev = (this._tokenIndex > 0); this.hasNext = (this._tokenIndex + 1 < this._source.getTokenCount()); } public prev(): LineToken { if (!this.hasPrev) { return null; } if (this._modeIndex === 0) { return new LineToken(this._source, this._tokenIndex - 1, this._modeIndex); } const modeTransitions = this._source.modeTransitions; const currentModeTransition = modeTransitions[this._modeIndex]; const prevStartOffset = this._source.getTokenStartOffset(this._tokenIndex - 1); if (prevStartOffset < currentModeTransition.startIndex) { // Going to previous mode transition return new LineToken(this._source, this._tokenIndex - 1, this._modeIndex - 1); } return new LineToken(this._source, this._tokenIndex - 1, this._modeIndex); } public next(): LineToken { if (!this.hasNext) { return null; } const modeTransitions = this._source.modeTransitions; if (this._modeIndex === modeTransitions.length - 1) { return new LineToken(this._source, this._tokenIndex + 1, this._modeIndex); } const nextModeTransition = modeTransitions[this._modeIndex + 1]; const nextStartOffset = this._source.getTokenStartOffset(this._tokenIndex + 1); if (nextStartOffset >= nextModeTransition.startIndex) { // Going to next mode transition return new LineToken(this._source, this._tokenIndex + 1, this._modeIndex + 1); } return new LineToken(this._source, this._tokenIndex + 1, this._modeIndex); } } export class LineTokens { _lineTokensBrand: void; private _map:TokensInflatorMap; private _tokens:number[]; private _textLength:number; modeTransitions:ModeTransition[]; constructor(map:TokensInflatorMap, tokens:number[], modeTransitions:ModeTransition[], textLength:number) { this._map = map; this._tokens = tokens; this.modeTransitions = modeTransitions; this._textLength = textLength; } public getTokenCount(): number { return this._tokens.length; } public getTokenStartOffset(tokenIndex:number): number { return TokensBinaryEncoding.getStartIndex(this._tokens[tokenIndex]); } public getTokenType(tokenIndex:number): string { return TokensBinaryEncoding.getType(this._map, this._tokens[tokenIndex]); } public getTokenEndOffset(tokenIndex:number): number { if (tokenIndex + 1 < this._tokens.length) { return TokensBinaryEncoding.getStartIndex(this._tokens[tokenIndex + 1]); } return this._textLength; } public equals(other:LineTokens): boolean { if (other instanceof LineTokens) { if (this._map !== other._map) { return false; } if (this._tokens.length !== other._tokens.length) { return false; } for (let i = 0, len = this._tokens.length; i < len; i++) { if (this._tokens[i] !== other._tokens[i]) { return false; } } return true; } if (!(other instanceof LineTokens)) { return false; } } public findTokenIndexAtOffset(offset:number): number { return TokensBinaryEncoding.findIndexOfOffset(this._tokens, offset); } public findTokenAtOffset(offset:number): LineToken { if (this._textLength === 0) { return null; } let tokenIndex = this.findTokenIndexAtOffset(offset); let modeIndex = ModeTransition.findIndexInSegmentsArray(this.modeTransitions, offset); return new LineToken(this, tokenIndex, modeIndex); } public firstToken(): LineToken { if (this._textLength === 0) { return null; } return new LineToken(this, 0, 0); } public lastToken(): LineToken { if (this._textLength === 0) { return null; } return new LineToken(this, this._tokens.length - 1, this.modeTransitions.length - 1); } public inflate(): ViewLineToken[] { return TokensBinaryEncoding.inflateArr(this._map, this._tokens); } public sliceAndInflate(startOffset:number, endOffset:number, deltaStartIndex:number): ViewLineToken[] { return TokensBinaryEncoding.sliceAndInflate(this._map, this._tokens, startOffset, endOffset, deltaStartIndex); } }
typescript
<gh_stars>1-10 use std::process::{Command, Output}; pub fn spawn(command_string: &str) -> (String, Output) { let mut command = Command::new("cargo"); command.env("FORCE_COLOR", "0").args(&["run"]); if command_string != "" { let arguments: Vec<&str> = command_string.split(" ").collect(); command.args(&arguments); } let output = command.output().expect("Failed to execute the process"); let stdout = String::from_utf8(output.stdout.to_vec()).unwrap(); println!("{:?}", stdout); return (stdout, output); } // use std::path::Path; // let path = Path::new("fixtures/uri"); // let result = load_file(&path); //
rust
Khawaja on Saturday hoped lady luck shines on the hosts as they target skipper Virat Kohli's wicket early on the third day of the second Test. Australia batsman Usman Khawaja on Saturday hoped lady luck shines on the hosts as they target skipper Virat Kohli‘s wicket early on the third day of the second cricket Test to expose the Indian tail. Kohli scored an unbeaten 82 off 181 balls to lift India to 172-3 from a precarious 8 for 2 in their first innings, in reply to Australia’s 326 allout on the second day. “Virat is a good batsman. He respects good bowlers. All our bowlers bowled well in patches today. Sometimes they nick it sometimes they don’t. We just have to keep putting it in right place in the right time. We have to be disciplined enough to get those edges and a bit of luck is needed,” Khawaja said on Saturday. “If you give him opportunity to score, he will take it. He was on it today and gave him a couple fuller balls, so he hit us but at same time we had to attack stumps and see what the wicket had to offer. Probably bowling back of length was harder than fuller length, so he got away. Tomorrow he starts again so we have a chance,” he added. Khawaja also stressed that the hosts are still ahead in the second Test with India 154 runs adrift of Australia’s first innings’ total of 326. “We haven’t lost the upper hand and are still ahead of the game. Ajinkya Rahane came out and took on the short ball but we pegged them back as bowlers started bowling well,” he said. “We need to do it consistently through the whole period. We knew that but some days it comes easy, some days it doesn’t. “Hopefully tomorrow we can be a little bit better. They are still 140 behind. It took them 70 overs to get 170-odd. One or two wickets in first session will be pretty big for us,” he added. Khawaja said the Perth pitch still has enough for the Australian bowlers to exploit and it is a matter of a couple wickets on day three. “Everyone pretends to be an expert on wickets but none of us really know. Looked like it had patches where it was doing a little bit. They could have nicked a couple more and it would have been a different day,” he said. “There is still enough in it and maybe we bowled well in patches and then didn’t in other patches. They batted well and put pressure on our bowlers. “Hopefully we can get a couple of wickets early, break this partnership because this is not an easy pitch to start on. We still have to start off well tomorrow and have that chance at their tail but still have to be quite disciplined,” Khawaja said.
english
New Delhi: Publishing in India saw several challenges in 2020 due to the COVID-19 pandemic. However, focus on online sales and making best use of various digital platforms helped in promotion of books. It also helped keep authors in the public eye, publishers said. Book sales had dipped to zero in the first three months of the COVID-19 induced lockdown. Many had to trim their publishing list drastically. However, publishers adapted and actively looked for trends to cater to the subjects their readers would find useful and engaging. New and innovative ways of marketing and selling books also became a part of the year gone by. It was a year where more and more people took to reading after their movements were restricted. Milee Ashwarya is the publisher at Ebury Publishing and Vintage Groups, Penguin Random House India. She said 2020 was also the year when the power of digital transformation was felt in publishing like in other industries. “While some bookshops shut down, some new ones opened and online sales saw a surge. All in all, 2020 was full of learning and got us more focused on our business,” Ashwarya said. HarperCollins India CEO Ananth Padmanabhan said 2020 was unprecedented in every way – and specifically to the business of publishing. “The entire value chain had zero sales for almost three months. This did teach us all many valuable lessons about the way we conduct our business. More importantly it taught us about the way readers will buy books in the future – formats, retail, genres and how often too,” Padmanabhan pointed out. “We continued our publishing programme – beginning with digital first, E-books through April and May. By late June our new books in print had also started to go out – depending on how unlock rules impacted retail,” he added. According to Padmanabhan, sales in 2020 were at higher double digit rates over 2019, both by value and volume. The single most impactful change has been innovative digital marketing, he said. Westland publisher Karthika VK too said there was a direct impact at every level. “We couldn’t publish at all for three months, apart from the sheer logistical difficulties of getting books to readers even after the lockdown had lifted, due to disruptions in the distribution and retail chain,” she said. Hachette India editor-in-chief and publisher Poulomi Chatterjee said they had to reschedule many key new releases in the local list keeping in mind a slow and erratic market. “Physical bookstores, when they reopened, saw low footfall so offline visibility of new books too was affected. Releases of the select list of books that were published in 2020 were meticulously planned so they would get adequate attention and visibility,” informed Chatterjee. As publishing schedules were drawn up well in advance, editors continued working on books as planned even while lockdown impacted sales quite severely in the early months. “The early months were particularly difficult for everyone as we were trying to get used to working from home amid much uncertainty regarding what lay ahead,” said Himanjali Sankar, editorial director at Simon and Schuster. For Renuka Chatterjee, VP Publishing at Speaking Tiger, ‘overall sales may have gone down but we survived. We focused on online sales and made best use of the various digital platforms that opened up to market and promote our books and keep our authors in the public eye’. The impact of the pandemic was also strongly felt by educators and the learning community, especially young learners who needed engagement and handholding in a remote learning environment. “Responding with agility, we at OUP India added extensively to our vast repository of digital and online resources and combined them with our print books while constantly engaging with teachers on remote teaching methodologies,” said Oxford University Press India managing director Sivaramakrishnan Venkateswaran. “Whether it was providing free access to resources on COVID-19 to researchers and medical professionals, offering free access to our education platforms, supporting professional development for teachers, or sharing guidance on home learning, we made our valuable content available to the widest audience during these challenging times,” he added.
english
<html> <head> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>SYSCALLRET</title> </head> <body style="font-family: Verdana"> <p><font size="2" color="#0860A8">SYSCALL and SYSRET Instructions</font><hr></p> <p><font size="1">The SYSCALL and SYSRET instructions are designed for operating systems that use a flat memory model (segmentation is not used). The instructions, along with SYSENTER and SYSEXIT, are suited for IA-32e mode operation.</font></p> <p><font size="1">SYSCALL is intended for use by user code running at privilege level 3 to access operating system or executive procedures running at privilege level 0. SYSRET is intended for use by privilege level 0 operating system or executive procedures for fast returns to privilege level 3 user code.</font></p> </body> </html>
html
const router = require('express').Router(); const { User,Article,Comment } = require('../models'); const {withAuth} = require('../utils/auth'); const mainTitle = 'Blogfish' router.get('/', withAuth, async (req, res) => { try { const articles = await Article.findAll({ include:[{model:User,attributes:['name']}], order:[['created_at','ASC']] }); const articleArray= articles.map((article) => article.get({ plain: true })); res.render('homepage', { articleArray, logged_in: req.session.logged_in, title:mainTitle }); } catch (err) { res.status(500).json(err); } }); router.get('/dashboard', withAuth, async (req, res) => { try { const articles = await Article.findAll({ include:[{model:User,attributes:['name']}], order:[['created_at','ASC']], where:{user_id:req.session.user_id} }); const articleArray= articles.map((article) => article.get({ plain: true })); res.render('dashboard', { articleArray, logged_in: req.session.logged_in, title:'Dashboard' }); } catch (err) { res.status(500).json(err); } }); router.get('/newpost', withAuth, async (req, res) => { try { res.render('post', { logged_in: req.session.logged_in, title: mainTitle }); } catch (err) { res.status(500).json(err); } }); router.get('/login', (req, res) => { if (req.session.logged_in) { res.redirect('/'); return; } res.render('login',{title:'Blogfish'}); }); router.get('/home/:id', withAuth, async (req, res) => { try { const articleComments = await Article.findByPk(req.params.id); const article = articleComments.get({ plain: true }); res.render('new-comment', { article, logged_in: req.session.logged_in, title:mainTitle }); } catch (err) { console.log(err) res.status(500).json(err); } }); router.get('/home/:id/comments', withAuth, async (req, res) => { try { const articleComments = await Article.findByPk(req.params.id,{ include:[{model:Comment, include:{model:User}, order:[['created_at','ASC']]}] }); const article = articleComments.get({ plain: true }); const commentArray= articleComments.comments.map((article) => article.get({ plain: true })); res.render('single-article', { article, commentArray, logged_in: req.session.logged_in, title:mainTitle }); } catch (err) { console.log(err) res.status(500).json(err); } }); router.get('/dashboard/:id', withAuth, async (req, res) => { try { const articleComments = await Article.findByPk(req.params.id); const article = articleComments.get({ plain: true }); //TODO: veify the post belongs to the editer res.render('update-article', { article, logged_in: req.session.logged_in, title:'Dashboard' }); } catch (err) { console.log(err) res.status(500).json(err); } }); module.exports = router;
javascript
<gh_stars>1-10 from .argantic import Argantic __all__ = [Argantic]
python
<reponame>jsdelivr/api {"name":"ninjaui","assets":[{"files":["jquery.ninjaui.min.js"],"version":"1.0.0","mainfile":"jquery.ninjaui.min.js"},{"files":["jquery.ninjaui.min.js"],"version":"1.0.1","mainfile":"jquery.ninjaui.min.js"}],"versions":["1.0.1","1.0.0"],"zip":"ninjaui.zip","mainfile":"jquery.ninjaui.min.js","author":null,"lastversion":"1.0.1","homepage":"http://ninjaui.com/","description":"the jQuery plugin for lethal interaction","github":"https://github.com/ninja/ui/"}
json
{"css/foundation.css":"sha256-RFblC+NoB7zWAAXpa9fSUczNPifHqNvLfOM6VMGJ47Y=","css/foundation.min.css":"sha256-VSKWV/LPS3PqFPHbhu2ys7DprOgqr3AvsTn5esqqjws=","css/normalize.css":"sha256-juBhPyOhYgZovfLXSoutPpcE3Vdo12H3XU2/x1TEuhM=","css/normalize.min.css":"sha256-BREEjpV/vj+sJ2MFQVIc3jALwP55fKrj+yRMrawWasQ=","js/foundation.min.js":"sha256-sfb/Xe3AmA4+b5LIcwKozqwfXD2Hsbj7L0zpJNmEgxE=","js/foundation/foundation.interchange.js":"sha256-ICGil76lFVE8sCWNVC6+ioQDRG0PEqKRIXF4bqHzkKI=","js/foundation/foundation.interchange.min.js":"sha256-Le0k9xP0vs95iSYjSSnqubJdsOzyGkHahxVqoJeDKcw=","js/foundation/foundation.js":"sha256-HiVa1gzCi92M37L84yiQmR7yJADhnr/bFw38fkaxdYQ=","js/foundation/foundation.min.js":"sha256-AfxpZ95XbEUYheRQYhDp2F28hxSDZbUXMf286dItMEQ=","js/foundation/foundation.reveal.js":"sha256-HdI+H3P909reFqHY7tO5kOVUx9DcRji7GyaZuRUCSDc=","js/foundation/foundation.reveal.min.js":"sha256-03cTekpO7pmac2KinPyeCkuZ9LZsUE32bxMP6WeNgMc=","js/vendor/fastclick.js":"sha256-/ikySXHsrUIaIIEjEd8Lsq2jmqTQOnt9SwURhlQA0RA=","js/vendor/jquery.cookie.js":"sha256-ofx8eg1GmhpqyCEmWMK3VsmX+Z2vizGEp2iMUf43lRg=","js/vendor/jquery.js":"<KEY>,"js/vendor/modernizr.js":"sha256-GZG0ew3YmPtrCv+iTAPue/7Sd5a9CVn1TekpuJUSr+Y=","js/vendor/placeholder.js":"sha2<KEY>}
json
/** * Copyright (c) 2014-2015, Thindeck.com * All rights reserved. * * Redistribution and use in source and binary forms, with or without * modification, are permitted provided that the following conditions * are met: 1) Redistributions of source code must retain the above * copyright notice, this list of conditions and the following * disclaimer. 2) Redistributions in binary form must reproduce the above * copyright notice, this list of conditions and the following * disclaimer in the documentation and/or other materials provided * with the distribution. 3) Neither the name of the thindeck.com nor * the names of its contributors may be used to endorse or promote * products derived from this software without specific prior written * permission. * * THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS * "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT * NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND * FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL * THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, * INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES * (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR * SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED * OF THE POSSIBILITY OF SUCH DAMAGE. */ package com.thindeck.api; import com.jcabi.aspects.Immutable; import java.io.IOException; import javax.validation.constraints.NotNull; /** * Step in a {@link Task}. * * <p>A step is called by {@link Txn}, when it has control of a task. A * call is made to {@link #exec(Context)}. The step is a passive component in * this sense. * * <p>A step should try to finish its execution as soon as possible, preferably * in less than a few milliseconds. If more time is required, it should * throw {@link com.thindeck.api.Txn.ReRunException} and expect * a new call in a few minutes. * * @author <NAME> (<EMAIL>) * @version $Id$ * @since 0.1 */ @Immutable public interface Step { /** * Unique name inside the task. * @return Name */ @NotNull(message = "step name can't be null") String name(); /** * Exec. * * <p>The method should throw {@link com.thindeck.api.Txn.ReRunException} * if it needs to be called again, a bit later. * * @param ctx Execution context * @throws IOException If fails */ void exec(Context ctx) throws IOException; }
java
<filename>libcommon-function/src/main/java/com/github/fmjsjx/libcommon/function/IntForEachProcessor.java package com.github.fmjsjx.libcommon.function; import java.util.Objects; /** * Represents a predicate (boolean-valued function) of two {@code int}-valued * arguments. This is the {@code int}-consuming primitive type specialization of * {@link ForEachProcessor}. * * <p> * This is a <a href="package-summary.html">functional interface</a> whose * functional method is {@link #process(int, int)}. * * @see ForEachProcessor * @see IntBiPredicate * @since 2.5 * */ @FunctionalInterface public interface IntForEachProcessor extends IntBiPredicate { /** * Evaluates this predicate on the given arguments. * * @param index the index * @param elemnt the element * @return {@code true} if the input arguments match the predicate, otherwise * {@code false} */ boolean process(int index, int elemnt); @Override default boolean test(int left, int right) { return process(left, right); } /** * Returns a composed predicate that represents a short-circuiting logical AND * of this predicate and another. When evaluating the composed predicate, if * this predicate is {@code false}, then the {@code other} predicate is not * evaluated. * * <p> * Any exceptions thrown during evaluation of either predicate are relayed to * the caller; if evaluation of this predicate throws an exception, the * {@code other} predicate will not be evaluated. * * @param other a predicate that will be logically-ANDed with this predicate * @return a composed predicate that represents the short-circuiting logical AND * of this predicate and the {@code other} predicate * @throws NullPointerException if other is null */ default IntForEachProcessor and(IntForEachProcessor other) { Objects.requireNonNull(other); return (index, element) -> process(index, element) && other.process(index, element); } /** * Returns a predicate that represents the logical negation of this predicate. * * @return a predicate that represents the logical negation of this predicate */ default IntForEachProcessor negate() { return (index, element) -> !process(index, element); } /** * Returns a composed predicate that represents a short-circuiting logical OR of * this predicate and another. When evaluating the composed predicate, if this * predicate is {@code true}, then the {@code other} predicate is not evaluated. * * <p> * Any exceptions thrown during evaluation of either predicate are relayed to * the caller; if evaluation of this predicate throws an exception, the * {@code other} predicate will not be evaluated. * * @param other a predicate that will be logically-ORed with this predicate * @return a composed predicate that represents the short-circuiting logical OR * of this predicate and the {@code other} predicate * @throws NullPointerException if other is null */ default IntForEachProcessor or(IntForEachProcessor other) { Objects.requireNonNull(other); return (index, element) -> process(index, element) || other.process(index, element); } }
java
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <HTML> <HEAD> <TITLE> [html5] r6848 - [giow] (1) Require implementations to ignore all MIME type parameters on text/ev [...] </TITLE> <LINK REL="Index" HREF="index.html" > <LINK REL="made" HREF="mailto:commit-watchers%40lists.whatwg.org?Subject=Re%3A%20%5Bhtml5%5D%20r6848%20-%20%5Bgiow%5D%20%281%29%20Require%20implementations%20to%20ignore%20all%0A%09MIME%20type%20parameters%20on%20text/ev%20%5B...%5D&In-Reply-To=%3C20111206235259.CB5CA1C8400D%40ps20323.dreamhostps.com%3E"> <META NAME="robots" CONTENT="index,nofollow"> <style type="text/css"> pre { white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */ } </style> <META http-equiv="Content-Type" content="text/html; charset=us-ascii"> <LINK REL="Previous" HREF="013710.html"> <LINK REL="Next" HREF="013712.html"> </HEAD> <BODY BGCOLOR="#ffffff"> <H1>[html5] r6848 - [giow] (1) Require implementations to ignore all MIME type parameters on text/ev [...]</H1> <!--htdig_noindex--> <B>whatwg at whatwg.org</B> <A HREF="mailto:commit-watchers%40lists.whatwg.org?Subject=Re%3A%20%5Bhtml5%5D%20r6848%20-%20%5Bgiow%5D%20%281%29%20Require%20implementations%20to%20ignore%20all%0A%09MIME%20type%20parameters%20on%20text/ev%20%5B...%5D&In-Reply-To=%3C20111206235259.CB5CA1C8400D%40ps20323.dreamhostps.com%3E" TITLE="[html5] r6848 - [giow] (1) Require implementations to ignore all MIME type parameters on text/ev [...]">whatwg at whatwg.org </A><BR> <I>Tue Dec 6 15:52:59 PST 2011</I> <P><UL> <LI>Previous message: <A HREF="013710.html">[html5] r6847 - [giow] (0) Clarify that the origin given in an event source event is the origin [...] </A></li> <LI>Next message: <A HREF="013712.html">[html5] r6849 - [e] (0) Remove some extraneous commas. Affected topics: HTML </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#13711">[ date ]</a> <a href="thread.html#13711">[ thread ]</a> <a href="subject.html#13711">[ subject ]</a> <a href="author.html#13711">[ author ]</a> </LI> </UL> <HR> <!--/htdig_noindex--> <!--beginarticle--> <PRE>Author: ianh Date: 2011-12-06 15:52:58 -0800 (Tue, 06 Dec 2011) New Revision: 6848 Modified: complete.html index source Log: [giow] (1) Require implementations to ignore all MIME type parameters on text/event-stream resources Affected topics: Server-Sent Events Modified: complete.html =================================================================== --- complete.html 2011-12-06 23:50:21 UTC (rev 6847) +++ complete.html 2011-12-06 23:52:58 UTC (rev 6848) @@ -76467,9 +76467,8 @@ must act as follows.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses with a &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; header - specifying the type &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt;, either with no - parameters or with a single parameter with the name &quot;&lt;code title=&quot;&quot;&gt;charset&lt;/code&gt;&quot; whose value is an &lt;a href=#ascii-case-insensitive&gt;ASCII - case-insensitive&lt;/a&gt; match for the string &quot;&lt;code title=&quot;&quot;&gt;utf-8&lt;/code&gt;&quot;, must be processed line by line &lt;a href=#event-stream-interpretation&gt;as described below&lt;/a&gt;.&lt;/p&gt; + specifying the type &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt;, ignoring any + &lt;a href=#mime-type&gt;MIME type&lt;/a&gt; parameters, must be processed line by line &lt;a href=#event-stream-interpretation&gt;as described below&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;When a successful response with a supported &lt;a href=#mime-type&gt;MIME type&lt;/a&gt; is received, such that the user agent begins parsing the @@ -76486,9 +76485,7 @@ for the error conditions listed below.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses that have a &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; - specifying an unsupported type (including the - &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt; type with unsupported parameters or - parameters with unsupported values), or that have no + specifying an unsupported type, or that have no &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; at all, must cause the user agent to &lt;a href=#fail-the-connection&gt;fail the connection&lt;/a&gt;.&lt;/p&gt; &lt;!-- about:blank is defined as having no MIME type; javascript: as having the type text/html --&gt; Modified: index =================================================================== --- index 2011-12-06 23:50:21 UTC (rev 6847) +++ index 2011-12-06 23:52:58 UTC (rev 6848) @@ -76467,9 +76467,8 @@ must act as follows.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses with a &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; header - specifying the type &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt;, either with no - parameters or with a single parameter with the name &quot;&lt;code title=&quot;&quot;&gt;charset&lt;/code&gt;&quot; whose value is an &lt;a href=#ascii-case-insensitive&gt;ASCII - case-insensitive&lt;/a&gt; match for the string &quot;&lt;code title=&quot;&quot;&gt;utf-8&lt;/code&gt;&quot;, must be processed line by line &lt;a href=#event-stream-interpretation&gt;as described below&lt;/a&gt;.&lt;/p&gt; + specifying the type &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt;, ignoring any + &lt;a href=#mime-type&gt;MIME type&lt;/a&gt; parameters, must be processed line by line &lt;a href=#event-stream-interpretation&gt;as described below&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;When a successful response with a supported &lt;a href=#mime-type&gt;MIME type&lt;/a&gt; is received, such that the user agent begins parsing the @@ -76486,9 +76485,7 @@ for the error conditions listed below.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses that have a &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; - specifying an unsupported type (including the - &lt;code&gt;&lt;a href=#text/event-stream&gt;text/event-stream&lt;/a&gt;&lt;/code&gt; type with unsupported parameters or - parameters with unsupported values), or that have no + specifying an unsupported type, or that have no &lt;a href=#content-type&gt;Content-Type&lt;/a&gt; at all, must cause the user agent to &lt;a href=#fail-the-connection&gt;fail the connection&lt;/a&gt;.&lt;/p&gt; &lt;!-- about:blank is defined as having no MIME type; javascript: as having the type text/html --&gt; Modified: source =================================================================== --- source 2011-12-06 23:50:21 UTC (rev 6847) +++ source 2011-12-06 23:52:58 UTC (rev 6848) @@ -88661,11 +88661,8 @@ must act as follows.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses with a &lt;span&gt;Content-Type&lt;/span&gt; header - specifying the type &lt;code&gt;text/event-stream&lt;/code&gt;, either with no - parameters or with a single parameter with the name &quot;&lt;code - title=&quot;&quot;&gt;charset&lt;/code&gt;&quot; whose value is an &lt;span&gt;ASCII - case-insensitive&lt;/span&gt; match for the string &quot;&lt;code - title=&quot;&quot;&gt;utf-8&lt;/code&gt;&quot;, must be processed line by line &lt;a + specifying the type &lt;code&gt;text/event-stream&lt;/code&gt;, ignoring any + &lt;span&gt;MIME type&lt;/span&gt; parameters, must be processed line by line &lt;a href=&quot;#event-stream-interpretation&quot;&gt;as described below&lt;/a&gt;.&lt;/p&gt; &lt;p&gt;When a successful response with a supported &lt;span&gt;MIME @@ -88683,9 +88680,7 @@ for the error conditions listed below.&lt;/p&gt; &lt;p&gt;HTTP 200 OK responses that have a &lt;span&gt;Content-Type&lt;/span&gt; - specifying an unsupported type (including the - &lt;code&gt;text/event-stream&lt;/code&gt; type with unsupported parameters or - parameters with unsupported values), or that have no + specifying an unsupported type, or that have no &lt;span&gt;Content-Type&lt;/span&gt; at all, must cause the user agent to &lt;span&gt;fail the connection&lt;/span&gt;.&lt;/p&gt; &lt;!-- about:blank is defined as having no MIME type; javascript: as having the type text/html --&gt; </PRE> <!--endarticle--> <!--htdig_noindex--> <HR> <P><UL> <!--threads--> <LI>Previous message: <A HREF="013710.html">[html5] r6847 - [giow] (0) Clarify that the origin given in an event source event is the origin [...] </A></li> <LI>Next message: <A HREF="013712.html">[html5] r6849 - [e] (0) Remove some extraneous commas. Affected topics: HTML </A></li> <LI> <B>Messages sorted by:</B> <a href="date.html#13711">[ date ]</a> <a href="thread.html#13711">[ thread ]</a> <a href="subject.html#13711">[ subject ]</a> <a href="author.html#13711">[ author ]</a> </LI> </UL> <hr> <a href="http://lists.whatwg.org/listinfo.cgi/commit-watchers-whatwg.org">More information about the Commit-Watchers mailing list</a><br> <!--/htdig_noindex--> </body></html>
html
{"month": "8", "num": 2030, "link": "", "year": "2018", "news": "", "safe_title": "Voting Software", "transcript": "", "alt": "There are lots of very smart people doing fascinating work on cryptographic voting protocols. We should be funding and encouraging them, and doing all our elections with paper ballots until everyone currently working in that field has retired.", "img": "https://imgs.xkcd.com/comics/voting_software.png", "title": "Voting Software", "day": "8", "mirror_img": "https://raw.githubusercontent.com/aghontpi/mirror-xkcd-api/main/api/2030/voting_software.png"}
json
{ "id": 64878, "name": "Last.fm - No extra artist pictures", "description": "A small tweak that removes the extra pictures on an artist-page.", "user": { "id": 140922, "name": "Alainn", "email": "<PASSWORD>", "paypal_email": null, "homepage": "http://www.last.fm/group/Sites+that+scrobble+to+Last.fm", "about": null, "license": "publicdomain" }, "updated": "2012-04-29T14:11:20.000Z", "weekly_install_count": 0, "total_install_count": 136, "rating": null, "after_screenshot_name": "https://userstyles.org/auto_style_screenshots/64878-after.png?r=1589097848", "obsoleting_style_id": null, "obsoleting_style_name": null, "obsolete": 0, "admin_delete_reason_id": null, "obsoletion_message": null, "screenshots": null, "license": null, "created": "2012-04-29T14:11:20.000Z", "category": "site", "raw_subcategory": "last.fm", "subcategory": "last.fm", "additional_info": "1.0", "style_tags": [], "css": "@namespace url(http://www.w3.org/1999/xhtml);\r\n\r\n@-moz-document \r\ndomain(\"last.fm\"), \r\ndomain(\"lastfm.es\"),\r\ndomain(\"lastfm.de\"),\r\ndomain(\"lastfm.fr\"),\r\ndomain(\"lastfm.jp\"),\r\ndomain(\"lastfm.it\"),\r\ndomain(\"lastfm.pl\"),\r\ndomain(\"lastfm.com.br\"),\r\ndomain(\"lastfm.se\"),\r\ndomain(\"lastfm.tr\"),\r\ndomain(\"lastfm.ru\"),\r\ndomain(\"cn.last.fm\"){\r\n\r\n#artistImages .extraImage {display: none !important;} /* Only main picture is shown */\r\n\r\n}", "discussions": [], "discussionsCount": 0, "commentsCount": 0, "userjs_url": "/styles/userjs/64878/last-fm-no-extra-artist-pictures.user.js", "style_settings": [] }
json
<filename>data/BCN_EN/2016/10-2/json/design_hub.json [ { "event_link": "Read more >", "event_link-href": "http://ajuntament.barcelona.cat/museudeldisseny/en/node/3755", "event_title": "TAPAS. Spanish Design For Food", "event_image-src": "http://ajuntament.barcelona.cat/museudeldisseny/sites/default/files/styles/16_9_half_thumb/public/exhibition/tapas_22_banner.jpg?itok=AbzMVNhx", "event_text": "L'exposició TAPAS presenta una selecció de dissenys espanyols destinats al món de l'alimentació. Una breu introducció històrica relaciona la història del menjar amb el món de l'art, la fotografia i la cinematografia, i s'explica l'origen de la «tapa», aquesta singular manera de compartir el menjar a Espanya.\nEl contingut es divideix en tres apartats:\n• La Cuina, on es presenten alguns instruments que ens ajuden a transformar els aliments en l'àmbit del cuiner.\n• La Taula, amb els objectes domèstics per servir i degustar el menjar de manera formal i informal.\n• El Menjar, el disseny en si dels propis aliments, des dels més tradicionals a les innovacions més avantguardistes.\nI es finalitza amb dues intervencions fetes expressament de destacats creadors de food design, l'artista <NAME>, i l'ex-designer <NAME>.\nEs tracta d'una degustació, un \"tapeo\", de com la creativitat entrellaça gastronomia i disseny, dues de les disciplines espanyoles més puixants i de major projecció internacional en l'arrencada del segle XXI.\nMés de 150 peces, amb vídeos i fotografies, que interrelacionen el món de la cultura material de l'alimentació, amb la història, l'arquitectura, l'interiorisme, el disseny industrial i gràfic.\nTapes està organitzada per AC/E Acción Cultural Española.", "event_start": "08 / 03 / 2017", "event_end": "21 / 05 / 2017", "event_maplink__1": "null", "event_cost__5": "null", "event_organizer__Museu del Disseny": "null", "event_venue__Museu del Disseny": "null", "event_category__Museu del Disseny__Design__Exhibition": "null", "event_id": "TAPAS. Spanish Design For Food\n \n Temporary\n \n\t\t08 / 03 / 2017\n\t\t\t - \n\t21 / 05 / 2017" } ]
json
{ "name": "futil-draft", "version": "0.0.1", "description": "Dependencies are futile.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1" }, "repository": { "type": "git", "url": "git+https://github.com/keneucker/futil.git" }, "keywords": [ "utility" ], "author": "<NAME> <<EMAIL>>", "license": "CC0-1.0", "bugs": { "url": "https://github.com/keneucker/futil/issues" }, "homepage": "https://github.com/keneucker/futil#readme" }
json
{ "quarry": { "index": 1, "isReplica": false, "mergePool": "4aU5Bcp3rHshSCkTp24jitsGhK8AgkzoYpw6rC79RQv5", "primaryQuarries": [], "primaryToken": { "decimals": 6, "mint": "<KEY>" }, "primaryTokenInfo": { "address": "<KEY>", "chainId": 103, "decimals": 6, "name": "Token GoLP", "symbol": "GoLPr" }, "quarry": "<KEY>", "replicaMint": "<KEY>", "replicaQuarries": [], "slug": "golpr", "stakedToken": { "decimals": 6, "mint": "<KEY>" } }, "rewarder": { "authority": "<KEY>", "mintWrapper": "<KEY>", "rewardsToken": { "decimals": 6, "mint": "<KEY>" }, "rewardsTokenInfo": { "address": "<KEY>", "chainId": 103, "decimals": 6, "name": "Token G4vD", "symbol": "G4vDW" }, "slug": "DKxZFWhzPjeMPncKzEe95BdiuhAx9zawhJss7QwytFpV" }, "rewardsToken": { "address": "<KEY>", "chainId": 103, "decimals": 6, "name": "Token G4vD", "symbol": "G4vDW" }, "stakedToken": { "address": "<KEY>", "chainId": 103, "decimals": 6, "name": "Token GoLP", "symbol": "GoLPr" }, "underlyingTokens": [] }
json
<reponame>EhODavi/java-e-orientacao-a-objetos<filename>NetBeansProjects/ExerciciosCap3/src/Exercicio8.java public class Exercicio8 { public static void main(String[] args) { for (int i = 1; i <= 10; i++) { System.out.print(i + " "); for (int j = 2; j <= i; j++) { System.out.print((i * j) + " "); } System.out.println(); } } }
java
load("e2371540d876710daf38e749390aa2a3.js"); function isReserved(word) { try { eval("\"use strict\";var " + word + ";"); return false; } catch (e) { var expectedError = "Cannot use the reserved word '" + word + "' as a variable name in strict mode."; if (expectedError == e.message) return true; else { debug(e.message); return false; } } } var reservedWords = [ "implements", "private", "public", "interface", "package", "protected", "static" ]; var unreservedWords = [ "abstract", "boolean", "byte", "char", "double", "final", "float", "goto", "int", "long", "native", "short", "synchronized", "throws", "transient", "volatile" ]; description( "This file checks which ECMAScript 3 keywords are treated as reserved words in strict mode." ); reservedWords.sort(); unreservedWords.sort(); debug("SHOULD BE RESERVED:"); for (var p in reservedWords) { shouldBeTrue("isReserved('" + reservedWords[p] + "')"); } debug(""); debug("SHOULD NOT BE RESERVED:"); for (var p in unreservedWords) { shouldBeFalse("isReserved('" + unreservedWords[p] + "')"); } debug(""); load("cf1a0efae1078faee510f7bda78d4902.js");
javascript
There has been a lot of talks surrounding the post of head coach of the Indian cricket team since India’s heartbreaking exit from the ICC World Cup 2019 semi-finals. Some of the former cricketers and fans had called for a new head coach for the Men in Blue. The Board of Control for Cricket in India (BCCI) invited fresh applications for the posts of head coach, batting coach, bowling coach, fielding coach, physiotherapist, strength and conditioning coach and administrative manager. The national governing body for cricket in India has received over 2,000 applications on the coach requirements but no big names have applied for the post of head coach. The current coaching staff consisting the likes of Ravi Shastri, Sanjay Bangar, Bharat Arun and R Sridhar would get an automatic entry in the selection process. In what could be the turning point of the entire process, none out of the 2000 applicants are big names who could challenge Shastri’s spot. Names of former Australian player Tom Moody and former New Zealand coach Mike Hesson are surfacing with the likes of Lalchand Rajput and Robin Singh also running for the lucrative job of the head coach of the Indian cricket team. Earlier, the name of former Sri Lankan skipper Mahela Jayawardene came out as a leading contender for Shastri’s chair but according to a report, the current coach of Indian Premier League (IPL) side Mumbai Indians (MI) is not among those who have applied for the position. According to the report, agents and managers have sent the profiles of the aspirants and the BCCI may take more time to shortlist the important candidates. Former South African cricketer Jonty Rhodes is one of the big names who is vying for the fielding coach position. The deadline for sending the applications ended on Tuesday and the process of shortlisting the final names has already started. The BCCI CEO Rahul Johri has already written to the newly former Cricket Advisory Committee (CAC) to submit a declaration regarding the conflict of interest so that the process for the coach of the Indian team can start as soon as possible, a BCCI source told ANI. The Kapil Dev-led interim CAC will carry out the process of selecting Team India’s head coach. Anshuman Gaekwad and Shantha Rangaswamy are the other members of the interim panel. The interviews are expected to take place on August 14 and 15. Should Shastri remain as the head coach of the Indian cricket team or should the CAC select a new face despite big names not applying for the post? With no big-name applying for the post, the entire selection process could end up being a dilemma for the Kapil Dev-led CAC as the head coach selection process takes a fresh turn.
english
[{"namaKab":"<NAME>","originalFilename":"1_1.jpg","namaPartai":"Partai Kebangkitan Bangsa","id":53545,"noUrut":1,"nama":"<NAME>, <NAME>.","stringJenisKelamin":"Laki-Laki"},{"namaKab":"<NAME>","originalFilename":"1_2.JPG","namaPartai":"Partai Kebangkitan Bangsa","id":51692,"noUrut":2,"nama":"<NAME>, <NAME>.","stringJenisKelamin":"Laki-Laki"},{"namaKab":"<NAME>","originalFilename":"1_3.JPG","namaPartai":"Partai Kebangkitan Bangsa","id":52349,"noUrut":3,"nama":"NAPISAH","stringJenisKelamin":"Perempuan"},{"namaKab":"<NAME>","originalFilename":"1_4.jpg","namaPartai":"Partai Kebangkitan Bangsa","id":52783,"noUrut":4,"nama":"SELAMEN","stringJenisKelamin":"Laki-Laki"},{"namaKab":"<NAME>","originalFilename":"1_5.JPG","namaPartai":"Partai Kebangkitan Bangsa","id":52670,"noUrut":5,"nama":"<NAME>","stringJenisKelamin":"Perempuan"}]
json
ForOfDirective.ɵdir = /*@__PURE__*/ $r3$.ɵɵdefineDirective({ type: ForOfDirective, selectors: [["", "forOf", ""]], inputs: {forOf: "forOf"}, features: [$r3$.ɵɵNgOnChangesFeature] });
javascript
<reponame>fangxingli/mambari<gh_stars>1-10 /** * Licensed to the Apache Software Foundation (ASF) under one * or more contributor license agreements. See the NOTICE file * distributed with this work for additional information * regarding copyright ownership. The ASF licenses this file * to you under the Apache License, Version 2.0 (the * "License"); you may not use this file except in compliance * with the License. You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ 'use strict'; angular.module('ambariAdminConsole') .controller('GroupsCreateCtrl',['$scope', 'Group', '$location', 'Alert', 'UnsavedDialog', function($scope, Group, $location, Alert, UnsavedDialog) { $scope.group = new Group(); var targetUrl = '/groups'; $scope.createGroup = function() { $scope.form.submitted = true; if ($scope.form.$valid){ $scope.group.save().then(function() { Alert.success('Created group <a href="#/groups/' + $scope.group.group_name + '/edit">' + $scope.group.group_name + '</a>'); $scope.form.$setPristine(); $location.path(targetUrl); }) .catch(function(data) { Alert.error('Group creation error', data.data.message); }); } }; $scope.cancel = function() { $scope.form.$setPristine(); $location.path('/groups'); }; $scope.$on('$locationChangeStart', function(event, __targetUrl) { if( $scope.form.$dirty ){ UnsavedDialog().then(function(action) { targetUrl = __targetUrl.split('#').pop(); switch(action){ case 'save': $scope.createGroup(); break; case 'discard': $scope.form.$setPristine(); $location.path(targetUrl); break; case 'cancel': targetUrl = '/groups'; break; } }); event.preventDefault(); } }); }]);
javascript
U.P. Zamindari Abolition and Land Reforms Act (U.P. Act 1 of 1951), s. 9-Brick kiln whether 'building' within meaning of section. The respondents owned a brick kiln which they leased out to the appellants in 1950. They filed a suit against the appellants claiming rent for the period October 1, 1952 to September 30 1953. The appellants contended in defence that as a result of the operation of the U.P. Zamindari Abolition and Land Reforms Act the Land in question stood vested in the State of U.P. with effect from July 1, 1952 and no rent was payable to the respondents thereafter. The suit was partly decreed by the trial court but dismissed in toto by the first appellate court. In second appeal the High Court held that the brick kiln wag a 'building' within the meaning of s. 9 of the Act and therefore the land did not vest in the State. The appellants came to this Court. HELD : In the absence of a definition in the Act itself the question as to what is a 'building' under s. 9 must always be question of degree a question depending on the facts and circumstances of each case. The brick kiln in the present case was a mere pit with some bricks by its sides. It could not be said to be a 'building' within the meaning of S. 9 of the Act and the High Court therefore went wrong in holding that the land did not vest in the State. [878 E-F, H] R. v. Neath Canal Navigation, 40 L.J.M.C. 197, referred to. CIVIL APPELLATE JURISDICTION : Civil Appeal Nos. 80 and 81 of 1964. Appeals by special leave from the judgment and decree dated the October 24, 1960 of the Allahabad High Court in Second Appeals Nos. 2510 and 2511 of 1957. S. P. Sinha and M. I. Khowaja, for the appellant. J. P. Goyal, for the respondents The judgment of the court was delivered by Ramaswami, J. The question of law involved in these appeals is Whether the disputed brick kiln on plots nos. 596 and 597 in Mauza Sarwat, Pargana and District Muzaffarnagar and leased out to the appellant is a "building" within the meaning of s. 9 of the U.P. Zamindari Abolition and Land Reforms Act (U.P. Act 1 of 1951). The respondents are the owners of a brick kiln located on the two plots nos. 596 and 597 in Mauza Sarwat, Pargana and District Muzaffarnagar. They leased out the brick kiln to the 875 876 appellant under a registered lease deed dated December 29, 1950. The lease was to take effect from January 1, 1951 and terminate on September 30, 1953. The rent was fixed at Rs. 41 per mensem payable annually in the month of October. The rent for the period October 1, 1952 to September 30, 1953 remained due against the appellant. The respondents filed a suit (no. 1125 of 1953) in the Court of Munsif Muzaffarnagar for the recovery of Rs. 492 being arrears of rent from October 1, 1952 to September 30, 1953. The suit was contested by the appellant who pleaded that after the passing of the U.P. Zamindari Abolition and Land Reforms Act (U.P. Act 1 of 1951)-hereinafter called the 'Act'-the plots of land had vested in the State of U.P. under s. 6 of the Act with effect from July 1, 1952 and the respondents were, therefore, not entitled to claim any rent from the appellant By his judgment dated February 12, 1955 the Additional Munsif Muzaffarnagar held that the brick kiln did not vest in the State and as it occupied only 1/3rd of the total area of the land, the respondents were entitled to a decree for 1/3rd of the rent claimed. The Munsif accordingly granted a decree for a sum of Rs. 164 and dismissed the balance of the claim of the respondents. Against the judgment of the Additional Munsif both the parties filed appeals before the District Judge. Both the appeals were disposed,of by the Civil Judge of Muzaffarnagar by a common judgement dated August 19, 1957. It was held by the Additional. Civil Judge that the brick kiln could not be regarded as a "building' within the meaning of S. 9 of the Act and the entire area of the two plots nos. 596 and 597 had vested in the State. The Additional Civil Judge accordingly allowed the appellant's appeal and dismissed the appeal of the respondents. The net result was that the suit of the respondents for arrears of rent was dismissed as a whole. Against the judgment of the Additional Civil Judge the respondents filed two Second Appeals nos. 2510 and 2511 of 1957 to the High Court. The High Court held that the brick kiln was a "building" within the meaning of S. 9 of the Act and the title to the two plots of land did not vest in the State and the respondents acquired the right of statutory tenants under a. 9 of the Act and they had a right to demand rent from the appellant under the terms of the lease. The High Court accordingly allowed both the Second Appeals and granted a decree to the respondents for the entire amount of rent claimed. Section 4 of the Act deals with the acquisition of the interest of intermediaries. The section provides as follows : "4. (1) As soon as may be after the commencement of this Act the State Government may, by notification, declare that as from a date to be specified, all estates situate in Uttar Pradesh shall vest in the State and, as from the 877 beginning of the date so specified (hereinafter called the date of vesting), all such estates, shall stand transferred to and vest, except as hereinafter provided, in. the State free from all encumbrances. (2)It shall be lawful for the State Government, if it so considers necessary, to issue, from time to time, the notification referred to in sub-section (1) in respect only of such area or areas as may be specified and all the provisions of sub-section (1) shall be applicable to and in the case of every such notification." Section 6(a) sets out the consequences of the vesting of an estate in the State. Section 6(a) reads as follows "6. When the notification under s. 4 has been published in the Gazette, then, notwithstanding anything contained in any contract or document or an any other law for the time being in force and save as otherwise provided in this Act, the consequences as hereinafter set forth shall, from the beginning of the date of vesting, ensue in the area to which the notification relates, namely (a) all rights, title and interest of all the intermediaries- (i) in every estate in such area including land (cultivable or barren), grove-land, forests whether within or outside village boundaries, trees (other than trees in village abadi, holding or grove), fisheries, tanks, ponds, water-channels, ferries, pathways, abadi sites, hats, bazars and meals other than hats, bazars, and meals held upon land to which clauses (a) to (c) of sub-section (1) of section 18 apply and, (ii)in all sub-soil in such estate including rights, if any, in mines and minerals, whether being worked or not; shall cease and be vested in the State of Uttar Pradesh free from all encumbrances;" Section 9 of the Act states "9. All wells, trees in abadi and all buildings situate within the limits of an estate, belonging to or held by an intermediary or tenant or other person, whether residing in the village or not, shall continue to belong to or be held by such intermediary, tenant or person, as the case may be, and the site of the wells or the buildings with the area. 878 appurtenant thereto shall be deemed to be settled with him by the State Government on such terms and conditions as may be prescribed." The word "building" has not been defined in the Act and must, therefore, be construed in its ordinary grammatical sense unless there is something in the context or object of the statute to show that it is used in a special sense different from its ordinary grammatical sense. In Websters New International Dictionary the word "building" has been defined as follows "That which is built specif : (a) as now generally used a fabric or edifice, framed or constructed, designed to stand more or less permanently, & covering a space of land for use as a dwelling, store house, factory, shelter for beasts or some other useful purpose. Building in this sense does not include a mere wall, fence, monument, boarding or similar structure though designed for permanent use where it stands, nor a steamboat, ship or other vessel of naviga- tion." From this definition it does not appear that the existence of a root is always necessary for a structure to be regarded as a building. Residential buildings ordinarily have roofs but there can be a non-residential building for which a roof is not necessary. A large stadium or an open-air swimming pool constructed at a considerable expense would be a building as it is a permanent structure and designed for a useful purpose. The question as to what is a "building" under s. 9 of the Act must always be a question of degree a question depending on the facts and circumstances of each case. As Blackburn, J. observed in R. v. Neath Canal Navigation (1) "The masonry on the sides of a canal is not sufficient to constitute it a 'building'. A London street, though paved and faced with stonework, would yet be 'land', whilst the Holborn Viaduct would be a 'building." The question for determination in the present case, therefore, is whether the kiln leased out to the appellant is a "building" within the meaning of S. 9 of the Act. It has been found by the first appellate court that the brick kiln has no site and is not a roofed structure. It was a mere pit with some bricks by its sides. It is also admitted in this case that there was no structure standing on the Bhatta. Upon these facts, it is clear that the brick kiln has no walls and no roof but it is a mere pit dug in the ground with bricks by its side. In the circumstances, we are of the opinion that the brick kiln leased out to the appellant, in the present case, is not a "buil- (1) 40 L J. M. C. 197. 879 ding" within the meaning of s. 9 of the Act. It follows, therefore that the title to both the plots nos. 596 and 597 along with the brick kiln vested in the State Government with effect from July 1, 1952 and the respondents are not entitled to claim any rent from the appellant for the period from October 1, 1952 to September 30, 1953. For the reasons expressed, we hold that suit no. 1125 of 1953 filed by the respondents should be dismissed and these appeals must be allowed with costs. Appeal allowed.
english
<gh_stars>1-10 import { useEffect } from 'react'; const useTimeout = (onTimeout, timeout, { enabled, nav }) => useEffect(() => { let currentTimeout = null; if (enabled === true) { currentTimeout = setTimeout( () => onTimeout(nav), timeout + 500, ); } else { clearTimeout(currentTimeout); } return () => clearTimeout(currentTimeout); }, [enabled, nav, onTimeout, timeout]); export default useTimeout;
javascript
from django.contrib import admin from .models import Cinema, ShowTime class CinemaAdmin(admin.ModelAdmin): list_display = ('title', 'genre', 'trailer', 'description', 'mpaa',) search_fields = ('title',) empty_value_display = '-пусто-' class ShowTimeAdmin(admin.ModelAdmin): list_display = ('cinema', 'datetime', 'price', 'format',) autocomplete_fields = ('cinema',) admin.site.register(Cinema, CinemaAdmin) admin.site.register(ShowTime, ShowTimeAdmin)
python
import { AbstractCRUManager } from './AbstractCRUManager'; import { CRUDQueryProvider } from './repository/CRUDQueryProvider'; import { AbstractCRUDRepository } from './repository/AbstractCRUDRepository'; import { Delete } from './repository/Delete'; import { NotFoundError } from '../errors'; export abstract class AbstractCRUDManager <T, Provider extends CRUDQueryProvider, Repository extends AbstractCRUDRepository<T, Provider>> extends AbstractCRUManager<T, Provider, Repository> implements Delete<T> { constructor(repository: Repository) { super(repository); } async delete(item: T): Promise<boolean> { const hasDeletedSomething = await this.repository.delete(item); if (!hasDeletedSomething) { throw new NotFoundError('Entity not found'); } return hasDeletedSomething; } }
typescript
The Butler Bulldogs are off to an 8-6 start to the 2022-23 NCAA Basketball season, tenth in the Big East Conference, and are on a three-game losing streak. They are coming off a loss against the Providence Friars (72-52) in their previous outing. Jalen Thomas, Manny Bates, and Chuck Haris scored 12, 12, and 10 points respectively, but it did not help their team win. They will now take on the Georgetown Hoyas, who are on a 5-9 start to the season, last in the same conference, and on a four-game losing streak. They suffered a defeat against the DePaul Blue Demons (83-76) in their last outing. Brandon Murray's 29-point effort was not enough to take his team to victory as other players did not perform to expectations. The Hoyas will now host this game at the Capital One Arena on Sunday (January 1). The Bulldogs started the season with eight wins and six losses. Their away record is 1-2 at the moment, which they will try to do better tonight. The team is below par on the offensive front, averaging only 69.9 points per game, which ranks 232nd in the nation while conceding 65.3 points per game, which ranks 96th in the country. Their offensive rebounds per game are only 28.8 while 31.9 are defensive rebounds. The Georgetown Hoyas are even worse with five wins and nine losses. Their home record is tied at 4-4 at the moment. The team is better on offense compared to the Bulldogs, averaging 75.1 points per game, which ranks 134th in the nation, while conceding a massive 77.5 points per game, which ranks 345th in the country. Venue: Capital One Arena, Washington, D.C. The Bulldogs are 8-2 against the spread in their last ten games after an against-the-spread loss. They are 9-3 against the spread in their last twelve games after a straight loss. The Bulldogs have a small 6-4 advantage over the Hoyas in their last 10 meetings. The two teams are at the bottom of the division and their form and statistics are somewhat similar. Expect a close game as there is no clear favorite. Final Prediction: Butler -3 (-110)
english
body { margin: 0; padding: 0; font-family: sans-serif; overflow: hidden; } .App { min-height: 100vh; width: 100%; margin: auto; background-color: cornsilk; } .new-memo { padding: 20px; padding-top: 35px; text-align: center; } .add-memo-input { width: 100%; padding-left: 30px; padding-right: 30px; } .memo-list { height: 80vh; overflow: auto; padding: 20px; }
css