text
stringlengths
1
1.04M
language
stringclasses
25 values
Antonio Conte can be credited for reviving Tottenham Hotspur’s fortunes despite arriving midseason. The Italian manager took over a team that was languishing in mid-table, but he has brought back joy to the Spurs faithful. As Tottenham prepare to face Chelsea on Sunday, though, their fans will remember how the Blues humiliated them in the Carabao Cup semi-final. Conte and his side were largely outplayed and soundly beaten in both home and away matches. Chelsea progressed to the final with a 3-0 aggregate victory. However, Spurs will be aiming to put things right when they travel to Stamford Bridge on Sunday. The North London outfit remains unbeaten under Conte in the Premier League. That should serve as an extra layer of motivation ahead of the London derby. The Carabao Cup exit was disappointing, but Conte has largely got Tottenham believing again. Now, they are in the top four race, and should only get better. Since the Italian manager took charge, Spurs have played nine games in the Premier League, but are yet to taste defeat. For a team that was fragile a few months ago, that represents huge progress. The only blight is that Spurs need to improve their record in the big games. They came back from behind to beat Leicester City last week, but they failed to win against Liverpool and Everton. Add that to their disappointing home and away losses to Chelsea in the Carabao Cup, and it doesn’t make for good reading. As Spurs prepare to face the Blues again, they must ensure that they give a better account of themselves this time. Aside from the prospect of a place in the top four, getting revenge over Chelsea would also be on the minds of Conte and his charges ahead of Sunday’s game. Spurs have been in Chelsea’s shadow for many years now, but they can kickstart a new journey by beating the Blues at their own backyard. It won’t be easy, as Chelsea are also aiming to return to winning ways after their draw against Brighton on Tuesday. However, Tottenham definitely have what it takes to get the job done. “We know very well that we are going to play against a really strong team,” Conte said in his pre-match conference, as quoted by The Independent. “Don’t forget Chelsea won the Champions League; now they’re in the final of the Carabao Cup, so we’re talking about a really good team. I don’t know if this is the right moment. The Spurs manager spoke about injuries plaguing his team, but fancies his team’s chances against the Blues. He said in this regard: Tottenham have their destiny in their hands now. Finishing in the top four is not beyond them, and a win over Chelsea would go a long way in continuing their newfound mojo.
english
<reponame>PrakashBabuD/petCatalogAppV1 'use strict'; /**Define petCatalog module Injecting the core.pet module */ angular.module('petCatalog', ['ngRoute','core.pet'] );
javascript
The Punjab Police on Sunday said that the killing of singer Sidhu Moose Wala was the result of a gang rivalry, ANI reported. Moose Wala was shot dead in the Jahawarke village of Mansa district in Punjab on Sunday evening. Two others were injured after the assailants opened fire at a jeep Moose Wala was travelling in. The attack took place just a day after the Punjab government withdrew security cover for 424 persons, including the singer and Congress leader. Bhawra said that Moose Wala’s killing could likely be in retaliation for the murder of Shiromani Akali Dal leader Vicky Middukhera last year, ANI reported. He said that the name of Moose Wala’s manager Shagunpreet Singh had surfaced in the Middukhera murder case. Singh has been absconding since then. The Lawrence Bishnoi gang has alleged that the police had failed to take any action against Moose Wala in the Middukhera murder case, NDTV reported. At Sunday’s press briefing, the Punjab Police also said that Moose Wala had been provided four security officials by the government. The director general of police added that three weapons were used in the attack and that a Special Investigation Team has been formed to conduct the murder inquiry. Senior Superintendent of Police Gaurav Toora said that two cars had intercepted Moose Wala’s vehicle before, ANI reported. CCTV footage showed the two cars following Moose Wala’s vehicle. Moose Wala had contested the recent Punjab Assembly elections on a Congress ticket from the Mansa constituency, He had, however, lost to Aam Aadmi Party leader Vijay Singla. Punjab Chief Minister Bhagwant Mann had expressed shock at the incident and assured that the culprits will be punished. He also urged the citizens of Punjab to maintain peace. The Congress party also offered condolences to Moose Wala’s family. The party’s student union National Secretary Roshan Lal Bittu questioned the state government’s decision to withdraw Moose Wala’s security. Congress leader Rahul Gandhi said he was shocked by the incident.
english
export * from './factcheck.service'; export * from './factcheck-update.component'; export * from './factcheck-delete-dialog.component'; export * from './factcheck-detail.component'; export * from './factcheck.component'; export * from './factcheck.route';
typescript
{"graph.es5.js":"<KEY>,"graph.es5.umd.bundle.js":"<KEY>,"graph.es5.umd.bundle.min.js":"<KEY>,"graph.es5.umd.js":"<KEY>,"graph.es5.umd.min.js":"sha512-YLzEvVBfqkYiMfZxda8iJtEges3RJ/041+aCseQlRwoKe/wafxxGG0JS8uF5ZLqq3KJARHOM/yZ1RS+JseJ5xQ==","graph.js":"<KEY>}
json
<filename>src/pages/regis/regis.ts import { Component } from '@angular/core'; import { IonicPage, NavController, NavParams } from 'ionic-angular'; import { DatabaseProvider } from '../../providers/database/database' import { FormBuilder, FormGroup, Validators } from '@angular/forms'; /** * Generated class for the RegisPage page. * * See https://ionicframework.com/docs/components/#navigation for more info on * Ionic pages and navigation. */ @IonicPage() @Component({ selector: 'page-regis', templateUrl: 'regis.html', }) export class RegisPage { userdata:any = { phone: "", email : "", password : "", repassword: "" }; userIsBlur:boolean = false; tosubmit:boolean; signupForm: FormGroup; constructor(public navCtrl: NavController, public navParams: NavParams, private database: DatabaseProvider, public formBuilder: FormBuilder) { this.signupForm = formBuilder.group({ phone: ['', Validators.compose([ Validators.minLength(10), Validators.pattern('^[0-9]{10}$'), Validators.required ])], email: ['', Validators.compose([ Validators.pattern('^[a-z0-9._%+-]+@[a-z0-9.-]+\.[a-z]{2,4}$'), Validators.required ])], password: ['', Validators.compose([ Validators.maxLength(15), Validators.minLength(5), Validators.pattern('^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{6,12}$'), Validators.required ])], repassword: ['', Validators.compose([ Validators.maxLength(15), Validators.minLength(5), Validators.pattern('^(?=.*\d)(?=.*[a-z])(?=.*[A-Z])(?!.*\s).{6,12}$'), Validators.required ])] }); this.tosubmit = false; } get phone() { return this.signupForm.get('phone'); } get password() { return this.signupForm.get('password'); } get repassword() { return this.signupForm.get('repassword'); } get email() { return this.signupForm.get('email'); } userBlur(){ this.userIsBlur = true; } ionViewDidLoad() { console.log('ionViewDidLoad RegisPage'); } regis(){ console.log(this.userdata); this.tosubmit = true; this.database.CreateUser(this.userdata); } gosignup(){ this.navCtrl.pop(); } }
typescript
India's retail inflation in December rose to 5.69 per cent, compared to 5.55 per cent in November, according to data released by the Ministry of Statistics & Programme Implementation on Friday. This increase remains within the Reserve Bank of India's tolerance range of 2-6 per cent. On a month-on-month basis, the inflation rate contracted by (-)0.32 per cent. The RBI MPC, decided to keep the repo rate unchanged at 6.5 per cent for the fifth time in a row, RBI Governor Shaktikanta Das said while announcing the decisions of the three-day bi-monthly meeting which concluded on Friday. The Reserve Bank of India-led Monetary Policy Committee's (MPC) five consecutive no-action policies in no way signals that the central bank is leaning towards a Neutral stance, said Governor Shaktikanta Das in the post policy press conference on Friday. During the bi-monthly Monetary Policy Committee (MPC) meeting, the Reserve Bank of India (RBI) decided unanimously to maintain the repo rate at 6.5%, marking the fifth consecutive time. RBI Governor Shaktikanta Das highlighted the central bank's focus on withdrawing the accommodation stance, considering the moderation of inflationary pressures and robust economic expansion in the first half of the fiscal year. The RBI raised its economic growth forecast for FY24 to 7%, up from 6.5 percent; inflation estimate was left unchanged at 5.4 percent. The repo rate, or the rate at which the RBI lends to banks, remains at 6.5 percent and all the other rates remain where they are. An ET poll of 10 market respondents had forecast a status quo on policy rates. The RBI conceded that the system liquidity, as measured by the net position under the liquidity adjustment facility (LAF), turned into deficit mode for the first time in September 2023 after a gap of nearly four and a half years since May 2019. RBI MPC Meeting: The MPC is expected to maintain the repo rate at 6.5% for the fifth consecutive time, focusing on liquidity tightening. RBI Governor Shaktikanta Das will announce the decision post the committee's meeting, considering moderate inflation and robust H1 economic growth. The RBI hiked the repo rate last on February 23, when it was raised to 6.5 per cent. With the RBI continuing to maintain tight liquidity, short-term rates are hovering around 6.85-6.9 per cent, which is 35-40 bps higher than the repo rate. “The RBI may stick to ‘withdrawal of accommodation’ stance given upside risks to food inflation (poor monsoon), strong GDP growth in the recent period and still hawkish global central banks,” said Nuvama Institutional Equities. Given the higher-than-expected GDP growth for Q2, experts do see the RBI raising its projections. Jayanth Varma, an external member of the Reserve Bank of India's rate-setting panel, has criticized the lack of consistency between the committee's promises to withdraw accommodation and its decision to keep rates unchanged. Varma believes that the committee should communicate its intention to maintain high real interest rates for as long as necessary to achieve the inflation target. The monetary policy action was on the expected lines, and therefore, equities remained steady post the announcement. The Sensex was trading 324 points or 0.49% higher at 65,955.89, while the Nifty was steady above the 19,600 mark.. The Nifty Bank index also was trading 0.3% up at 44338.10 points. The Nifty auto index saw 14 advances with just one decline in Balkrishna Industries. The top gainer was Bharat Forge which was up 2%. Meanwhile, 7 stocks were up in the Nifty Realty index with 2 declines and 1 stock trading on a flat note. The head of the Reserve Bank of India (RBI) has urged banks to lend their surplus funds to their peers rather than depositing them at a central bank facility. Shaktikanta Das stated that it is more desirable for banks to explore lending opportunities in the interbank call market, rather than passively parking funds in the standing deposit facility at less attractive rates. The Indian banking system has been facing a liquidity deficit, and Das believes that greater volume of call money transactions would help deepen the interbank money market and lower the reliance on the marginal standing facility. RBI MPC Meeting: The Reserve Bank of India (RBI) has maintained its inflation forecast for the fiscal year at 5.4%, despite concerns over uneven monsoons and rising global crude oil prices. The RBI's Monetary Policy Committee has kept the key lending rate unchanged at 6.5%, with a focus on withdrawing accommodation. The inflation outlook is uncertain due to factors such as lower oil reserves, volatile global food and energy prices, and the impact of El Nino. The RBI aims to bring inflation down to 4% and will closely monitor risks, including global supply shocks. The Reserve Bank of India's (RBI) rate setting panel has kept the repo rate and GDP growth forecast unchanged at 6.5%, according to RBI Governor Shaktikanta Das. The MPC decided to remain watchful and evaluate the situation, the governor added. The rate-setting panel unanimously opted to hold the key lending rate steady, which was in line with analysts' expectations. The six-member monetary policy committee voted unanimously to keep the key repo rate, the rate at which it lends to banks, unchanged at 6.5 percent and one member dissented on the monetary stance of focusing on withdrawal of accommodation. India's central bank today raised/held the inflation target for this fiscal year, while the citizens of the world's most populous country are burdened with surging food prices. Experts say that the food price pressure may further intensify amid El Nino threats and a 'normal' monsoon season is not enough to curb the galloping pace of price rise. The Reserve Bank of India's rate-setting panel has decided to keep the benchmark lending rate unchanged at 6.5%. The majority of five out of six members of the MPC voted to remain focused on the withdrawal of accommodation to align inflation with the target while supporting growth. The panel also resolved to keep a close watch on inflation and growth. So, how are some of the tp analysts reading the RBI move? The Reserve Bank of India (RBI) has maintained its policy repo rate at 6.5%, with the monetary policy committee threading a fine line between supporting growth and controlling inflation. The committee reiterated that it believed there is still too much liquidity in the system despite a fall in inflation in May. A change in stance would have raised expectations of a pivot in the near future but a rate cut anytime soon does not seem likely given especially the uncertain impact of weather on food prices.
english
{"template":{"small":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/1.0","medium":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/2.0","large":"https://static-cdn.jtvnw.net/emoticons/v1/{image_id}/3.0"},"channels":{"deerayn_":{"title":"しひしツ","channel_id":28591041,"link":"http://twitch.tv/deerayn_","desc":null,"plans":{"$4.99":"121672","$9.99":"121673","$24.99":"121674"},"id":"deerayn_","first_seen":"2017-07-03 16:40:05","badge":null,"badge_starting":null,"badge_3m":null,"badge_6m":null,"badge_12m":null,"badge_24m":null,"badges":null,"bits_badges":null,"cheermote1":null,"cheermote100":null,"cheermote1000":null,"cheermote5000":null,"cheermote10000":null,"set":121672,"emotes":[{"code":"deerayFeel","image_id":261136,"set":121672}]}}}
json
<reponame>smsabooronline/Educational.Website2 /*--Author: W3Layouts Author URL: http://w3layouts.com License: Creative Commons Attribution 3.0 Unported License URL: http://creativecommons.org/licenses/by/3.0/ --*/ body { margin: 0; font-family: 'Lato', sans-serif; background: #fff; } body a { transition: 0.5s all; -webkit-transition: 0.5s all; -moz-transition: 0.5s all; -o-transition: 0.5s all; -ms-transition: 0.5s all; text-decoration: none; outline: none; } h1, h2, h3, h4, h5, h6 { margin: 0; font-family: 'Lato', sans-serif; } p { margin: 0; color: #333; font-size: 1em; letter-spacing: 1px; line-height: 1.8; } ul { margin: 0; padding: 0; } ul { list-style-type: none; } body a:hover { text-decoration: none; } body a:focus { outline: none; text-decoration: none; } .list-group-item { background-color: transparent; } /*-- bottom-to-top --*/ #toTop { display: none; text-decoration: none; position: fixed; bottom: 85px; right: 3%; overflow: hidden; z-index: 999; width: 32px; height: 32px; border: none; text-indent: 100%; background: url(../images/move-top.png) no-repeat 0px 0px; } #toTopHover { width: 32px; height: 32px; display: block; overflow: hidden; float: right; opacity: 0; -moz-opacity: 0; filter: alpha(opacity=0); } /*-- //bottom-to-top --*/ /* header */ a.navbar-brand { z-index: 11; } .header-main { position: absolute; width: 100%; padding: 0 2em; top: 30px; z-index: 11; } .navbar-light { padding: 1.4em 0; } a.navbar-brand { font-family: 'Lato', sans-serif; text-transform: uppercase; font-weight: 400; font-size: 0.75em; background: #fff; padding: 0 10px; color: #ff9800; letter-spacing: 1px; } a.navbar-brand::first-letter { color: #80cd33; } a.navbar-brand span { color: #00bcd4; } header { background: #ff5252; } .navbar-light .navbar-nav .nav-link { font-weight: 600; text-transform: uppercase; color: #fff; padding: 4px 15px; -webkit-transition: 0.5s all ease; -moz-transition: 0.5s all ease; -o-transition: 0.5s all ease; -ms-transition: 0.5s all ease; font-size: 14px; letter-spacing: 1px; } ul.navbar-nav.ml-lg-auto.text-center { margin-top: 10px; } .navbar-light .navbar-nav .nav-link:hover, .navbar-light .navbar-nav .nav-link:focus, .navbar-light .navbar-nav .show>.nav-link, .navbar-light .navbar-nav .active>.nav-link, .navbar-light .navbar-nav .nav-link.show, .navbar-light .navbar-nav .nav-link.active { color: #ffffff; background: #ff9a06; border-radius: 10px; } .dropdown-item { color: #fff; } .dropdown-item, .dropdown-item.active, .dropdown-item:active { background-color: white; color: #000 !important; font-weight: 600; text-transform: capitalize; } .w3ls-btn { background: transparent; padding: 4px 15px; color: #fff; text-transform: capitalize; } .header-w3_pvt li:last-child { margin-left: 1em; } .w3ls-btn i { font-size: 1.8em; color: #fff; } ul.header-w3_pvt li span { margin-right: 1em; color: #fff; } .header-top { padding: 0.5em 0; background: #000; } .banner-left-grid { border: 10px solid rgba(226, 226, 226, 0.28); } .text-theme1 { color: #00bcd4 !important; } .text-theme2 { color: #ff9800 !important; } .text-theme3 { color: #80cd33 !important; } .bg-theme1 { background: #00bcd4 !important; } .bg-theme2 { background: #ff9800 !important; } .bg-theme3 { background: #80cd33 !important; } /*-- //header --*/ /* banner */ .banner { position: relative; z-index: 0; min-height: 100vh; } #slider { box-shadow: none; -moz-box-shadow: none; -webkit-box-shadow: none; margin: 0 auto; } .rslides_tabs { list-style: none; padding: 0; background: rgba(0, 0, 0, .25); box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0); -moz-box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0); -webkit-box-shadow: 0 0 1px rgba(255, 255, 255, .3), inset 0 0 5px rgba(0, 0, 0, 1.0); font-size: 18px; list-style: none; margin: 0 auto 50px; max-width: 540px; padding: 10px 0; text-align: center; width: 100%; } .rslides_tabs li { display: inline; float: none; margin-right: 1px; } .rslides_tabs a { width: auto; line-height: 20px; padding: 9px 20px; height: auto; background: transparent; display: inline; } .rslides_tabs li:first-child { margin-left: 0; } .rslides_tabs .rslides_here a { background: rgba(255, 255, 255, .1); color: #fff; font-weight: bold; } .events { list-style: none; } .callbacks_container { position: relative; } ul.callbacks_tabs { position: absolute; z-index: 2; left: 13%; bottom: 30px; } .callbacks_tabs a { visibility: hidden; } .callbacks_tabs a:after { content: "\f111"; font-size: 0; visibility: visible; display: inline-block; height: 10px; width: 10px; border-radius: 50%; background: #fff; } .callbacks_here a:after { background: #000; opacity: 0.5; } .slide-btm-wthree-w3_pvt p i { color: #e3ebef; font-size: 2em; margin-right: 15px; } .slide-btm-wthree-pos span { color: #eee; } /* .callbacks_nav { position: absolute; -webkit-tap-highlight-color: rgba(0, 0, 0, 0); top: 78%; opacity: 0.7; z-index: 3; text-indent: -9999px; overflow: hidden; text-decoration: none; height: 34px; width: 34px; background: url("../images/left.png") no-repeat 0px 0px; } .callbacks_nav.prev { left: auto; background: url("../images/back.png") no-repeat 0px 0px; left: 18em; } .callbacks_nav.next { left: auto; background: url("../images/next.png") no-repeat 0px 0px; right: 18em; } .callbacks_nav:active { opacity: 1.0; } .callbacks2_nav:active { opacity: 1.0; }*/ #slider-pager a { display: inline-block; } #slider-pager span { float: left; } #slider-pager span { width: 100px; height: 15px; background: #fff; display: inline-block; border-radius: 30em; opacity: 0.6; } #slider-pager .rslides_here a { background: #FFF; border-radius: 30em; opacity: 1; } #slider-pager a { padding: 0; } #slider-pager li { display: inline-block; } .rslides { position: relative; list-style: none; overflow: hidden; padding: 0; margin: 0; width: 100%; } .rslides li { -webkit-backface-visibility: hidden; position: absolute; display: none; left: 0%; top: 0; width: 100%; } .rslides li { position: relative; display: block; float: none; } .rslides img { height: auto; border: 0; } .callbacks_tabs li { display: inline-block; } .callbacks_tabs a { visibility: hidden; width: 20px; line-height: 19px; height: 20px; text-align: center; color: #000; font-weight: 600; display: block; background: #fff; border-radius: 50%; } .callbacks_tabs a:hover { background: #1165f3; color: #fff; } .banner1 { background: url(../images/banner1.jpg) center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; -ms-background-size: cover; background-size: cover; } .banner2 { background: url(../images/banner2.jpg) center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; -ms-background-size: cover; background-size: cover; } .banner3 { background: url(../images/banner3.jpg) center no-repeat; -webkit-background-size: cover; -moz-background-size: cover; -o-background-size: cover; -ms-background-size: cover; background-size: cover; } /* .banner:before { position: absolute; content: ''; background: rgba(0, 0, 0, 0.35); width: 100%; height: 100%; top: 0; left: 0; z-index: -1; } .banner3:before { position: absolute; content: ''; background: rgba(0, 0, 0, 0.36); width: 100%; height: 100%; top: 0; left: 0; z-index: -1; } */ .banner-text { box-sizing: border-box; } .slider-info { left: 13%; top: 34%; position: absolute; z-index: 1; } .slider-info h3 { font-size: 4.5em; text-transform: capitalize; color: #f3f3f3; word-spacing: 5px; letter-spacing: 1px; font-weight: bold; line-height: 1.3; text-shadow: 1px 4px 9px #000000; } .slider-info span.line { font-size: 1em; color: #000; text-transform: uppercase; letter-spacing: 2px; word-spacing: 6px; margin-bottom: 15px; display: block; } .slider-info h3 span { color: #ffffff; border-bottom: 2px dotted #000; } .w3_pvt-link-bnr { padding: 8px 36px; color: #000; font-weight: 600; font-size: 16px; border: none; letter-spacing: 1px; text-transform: capitalize; border-radius: 30px; background: #fff; box-shadow: 1px 3px 1px #ff9800; } .w3_pvt-link-bnr:hover { color: #000; } .slider-info p { letter-spacing: 1px; margin-top: 1em; font-size: 1.2em; width: 65%; } /* //banner */ /* about */ .about-head { padding: 4em 0; } span.sub-line:before { content: ''; display: inline-block; background: #80cd33; height: 3px; width: 50px; margin-right: 10px; } span.sub-line { text-transform: uppercase; font-weight: 800; font-size: 1.2em; color: #ff5252; } h3.wthree-title { color: #00bcd4; text-transform: capitalize; font-size: 1.6em; font-weight: 800; margin-top: 10px; } .sec-main { margin-bottom: 2em; } .w3-about p { width: 55%; } ul.list-about { list-style-type: square; padding-left: 1em; } ul.list-about li { padding: 10px 15px 10px 0; margin-right: 1em; text-transform: uppercase; color: #333; font-weight: 800; letter-spacing: 1px; } .ab-btm h4 { color: #ff9800; font-size: 1.3em; text-transform: capitalize; margin-bottom: 0.5em; font-weight: 600; } .ab-btm { margin-top: 2em; } label { display: inline-block; margin-bottom: .5rem; color: #333; } form.register-wthree .form-control { background: #eee; padding: 10px; font-size: 15px; border: none; border-bottom: 2px solid #0cc5b7; border-radius: 0; -webkit-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); -moz-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); } .abt-pos { position: absolute; right: 0; width: 35%; top: -85px; padding: 2em; background: #ff5252; } textarea.form-control { min-height: 191px; resize: none; } .abt-pos h4 { text-transform: capitalize; font-size: 1.5em; color: #fff; margin-bottom: 17px; } /* //about */ /* why us */ .bg-img1 { background: url(../images/g6.jpg) no-repeat; background-size: cover; min-height: 400px; } section.why-sec { background: #eee; } ul.list-group.mt-3.why-list li { font-size: 1.1em; color: #000; font-weight: 400; } .why-list li span { color: #ff9800; font-weight: 800; } /* //why us */ .w3ls-servgrid.card { border: 0; border-radius: 0px; -webkit-box-shadow: 0 3px 0px 0 rgba(0, 0, 0, .08); box-shadow: 0 3px 0px 0 rgba(0, 0, 0, .08); transition: all .3s ease-in-out; padding: 2rem; position: relative; background: rgba(255, 255, 255, 0.9); margin-left: 2em; } a.servgrid_link { color: #ff9800; font-weight: 600; padding: 0; font-size: 16px; } .card-title { font-size: 14px; margin-top: 0.5em; } .w3ls-servgrid.card-header::after { content: ""; display: table; clear: both; } .w3ls-servgrid.card:after { content: ''; position: absolute; top: 0; left: 0; width: 0%; height: 5px; background-color: #ff5722; transition: 0.5s; } h4.serv-title { font-size: 1.1em; letter-spacing: 1px; margin-top: 10px; font-weight: 600; color: #000; text-transform: uppercase; } .w3ls-servgrid.card:hover, .w3ls-servgrid.card.service-active { transform: scale(1.2); -webkit-box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.08); box-shadow: 0 20px 35px 0 rgba(0, 0, 0, 0.08); background: #fff; z-index: 1; } .w3ls-servgrid.card:hover p, .w3ls-servgrid.service-active p { color: #000; } .w3ls-servgrid.card.service-active:after { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 5px; background-color: #ff5722; transition: 0.5s; } .w3ls-servgrid.card:hover:after { width: 100%; } h4.servgrid-title { font-size: 1.2em; } .w3ls-servgrid .card-block { padding-top: 0; } /* //servgrid */ /* footer */ .footer:before { background: rgba(0, 0, 0, 0.58); position: absolute; width: 100%; height: 100%; content: ''; top: 0; left: 0; } .footer { background: url(../images/footer.jpg) no-repeat center; background-size: cover; position: relative; } .text-theme { color: #2391e2; } .footer h2 a { font-family: 'Lato', sans-serif; text-transform: uppercase; font-size: 0.9em; letter-spacing: 1px; font-weight: 600; } /* footer grids */ .footerv3-top h3 { font-size: 1.3em; color: #fff; text-transform: uppercase; margin-bottom: 1.5em; } .fv3-contact span { color: #fff; width: 35px; height: 35px; line-height: 35px; text-align: center; border-radius: 50%; } .footv3-left h4 a { font-size: 1.3em; letter-spacing: 0.5px; color: #fff !important; padding: 14px 0 0; position: relative; text-transform: capitalize; } h4.footer-title { color: #777; text-transform: capitalize; } .footerv3-top p { font-size: 1em; color: #a3b1bf; margin: 1em 0; line-height: 1.5em; } .footer p a { color: #fff; text-decoration: underline; } .footer p a:hover { color: #fff; } .fv3-contact p { display: inline-block; vertical-align: middle; color: #fff; font-size: 16px; } .footer-top p { max-width: 400px; font-size: 16px; } .fv3-contact p a:hover { color: #646efa } .list-w3pvtits li a { color: #fff; font-size: 1em; } h3.w3f_title { font-size: 1.3em; color: #fff; font-weight: 600; } .cpy-right p { color: #fff; font-size: 1em; letter-spacing: 1px; } .cpy-right p a { color: #000; font-size: 1em; } .cpy-right { padding: 1vw; background: #ff5252; } /* footer grids */ /* team */ hr { border-top: 1px solid rgba(245, 245, 245, 0.55); } .team-text h4 { color: #000000; font-size: 1em; font-weight: 600; letter-spacing: 1px; margin-bottom: 0.5em; text-transform: uppercase; border-radius: 25px; background: #fff; padding: 5px 10px; display: inline-block; } .team-text { padding: 1em; } .team-text span { color: #fff; font-weight: 600; letter-spacing: 1px; } .team-text p { font-size: 15px; color: #fff; } h6.team-txt { font-size: 1.2em; text-transform: capitalize; color: #000; letter-spacing: 1px; } span.icon_twitter { background: #1da1f2; } span.icon_facebook { background: #3b5998; } span.icon_dribbble { background: #ea4c89; } span.icon_g_plus { background: #dd4b39; } .footerv4-social ul li a { color: #212121; } .footerv4-social ul li span { margin-right: 10px; color: #fff; padding: 10px; width: 35px; height: 35px; font-size: 15px; text-align: center; border-radius: 50%; } .footerv4-social ul li a { color: #212121; } .footerv4-social ul li:hover a { color: #fff; text-decoration: none; } /* //team */ /* //footer */ .title-desc p { letter-spacing: 1px; } p.child_second { width: 555px; margin-left: auto; } h3.main-title-w3pvt { font-size: 3em; font-weight: 600; color: #000; } .contact-form h4 { text-transform: capitalize; font-weight: 600; font-size: 1.3em; color: #333; margin-bottom: 1em; padding-bottom: 1em; border-bottom: 1px solid rgba(120, 120, 120, 0.37); } .w3_pvt-contact-top { margin-bottom: 3em; } .close { font-size: 1.5rem; color: #fff; text-shadow: none; opacity: 1; } ul.social-iconsv2 li { display: inline-block; border-radius: 50%; } ul.social-iconsv2 li a { text-decoration: none; font-size: 16px; } ul.social-iconsv2 li a i.fab { font-size: 18px; line-height: 38px; width: 30px; height: 37px; color: #000; margin-right: 15px; border-radius: 50%; background-color: transparent; transition: all 0.5s ease-in-out; -webkit-transition: all 0.5s ease-in-out; -moz-transition: all 0.5s ease-in-out; -o-transition: all 0.5s ease-in-out; -ms-transition: all 0.5s ease-in-out; } ul.list-w3_pvtits li a { color: #333; text-transform: uppercase; font-weight: 600; font-size: 14px; } ul.social-iconsv2 li:first-child a { color: #3b5998; } ul.social-iconsv2 li:last-child { color: #287bbc; } .cpy-right p { letter-spacing: 1px; font-size: 14px; color: #fff; } /* //end fixed social */ /* login */ .modal-title { letter-spacing: 1px; font-size: 1.3em; } .modal-content { position: relative; display: -webkit-box; display: -ms-flexbox; display: flex; -webkit-box-orient: vertical; -webkit-box-direction: normal; -ms-flex-direction: column; flex-direction: column; width: 100%; border: 10px solid #fff; border-radius: 0.3rem; outline: 0; color: #fff; font-family: 'Lato', sans-serif; } .right-w3l input[type="submit"] { background: #333; border: none; color: #fff; font-size: 1em; text-transform: uppercase; font-weight: 600; letter-spacing: 1px; font-family: 'Lato', sans-serif; cursor: pointer; } .col-form-label { text-transform: uppercase; font-weight: 600; color: #000; font-size: 13px; letter-spacing: 1px; } .modal-header { color: #eee; border: none; text-transform: capitalize; margin: 0 auto; width: 100%; background: #00bcd4; } .modal-body { position: relative; -webkit-box-flex: 1; -ms-flex: 1 1 auto; flex: 1 1 auto; padding: 1rem; } /* //modal */ /* about */ .about-left-wthree { padding: 5em 13em 10em 0; } .about-right-bg { min-height: 70vh; } .about-right-bg { background: url(../images/p1.jpg) no-repeat center; background-size: cover; } /* about */ /* services */ .service-txt { padding: 8em 0em 8em 4em; } .services-box:nth-child(2) { border: dashed #dfe0e1; border-width: 1px 0; } .services-box { padding: 20px 0; transition: all 1s; -moz-transition: all 1s; /* Firefox 4 */ -webkit-transition: all 1s; /* Safari and Chrome */ -o-transition: all 1s; /* Opera */ } .services-box:hover { background: #f2f2f2; transition: all 1s; -moz-transition: all 1s; /* Firefox 4 */ -webkit-transition: all 1s; /* Safari and Chrome */ -o-transition: all 1s; /* Opera */ } .services-box:hover i { background: transparent; border-radius: 100px; color: #dc143c; } .service-sub-grids { padding: 5em 4em 30em 0; } .about-wthree1 { padding: 6em 0 3em; margin-top: -11em; } .about-left-wthree1 { padding: 10em 13em 8em 0; } section.services-wthreepvt { padding-bottom: 7em; } .icon i { width: 70px; height: 70px; color: #dc143c; border-radius: 50%; line-height: 70px; text-align: center; font-size: 2.5em; transition: all 1s; -moz-transition: all 1s; -webkit-transition: all 1s; -o-transition: all 1s; } .service-content { margin-left: 1em; } .service-content h4 { font-size: 1.3em; letter-spacing: 1px; font-weight: 800; text-transform: uppercase; color: #212121; } .service-content span { font-size: 1.1em; text-transform: capitalize; color: #777; } .service-txt h5 { text-transform: capitalize; font-size: 2.5em; color: #ff4f81; letter-spacing: 1px; font-weight: 600; line-height: 1.5; text-align: right; } .service-top-img img { position: absolute; top: -80px; right: 0; } .service-bottom-img img { position: absolute; bottom: 0; z-index: 1; left: 0; } .services-bottom { padding-top: 22em; } .about-wthree.about-left-wthree img { -webkit-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); -moz-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); box-shadow: 5px 0px 10px 5px rgba(123, 120, 120, 0.42); } /* //services */ /* gallery */ .img-grid { padding: 1em; background: #eee; margin: 10px; } .port-desc { padding: 1em 0.5em; } h6.main-title-w3pvt { text-transform: uppercase; font-weight: 600; margin-bottom: 1em; color: #ff5252; letter-spacing: 0.5px; } .btn:focus, .btn.focus { outline: 0; box-shadow: 0 0 0 0.2rem rgba(0, 188, 212, 0.36); } #image-gallery .modal-footer { display: block; } .thumb { margin-top: 15px; margin-bottom: 15px; } /* //gallery */ /* team */ .team-right-grid { right: 0; top: 0; width: 29.75%; } .carousel-indicators li { background-color: rgba(0, 0, 0, 0.5); } .carousel-indicators .active { background: #fff; } .box5 { background: #444; position: relative; overflow: hidden; } .box5:after, .box5:before { content: ""; } .box5 .icon, .box5 .icon li { display: inline-block; } .box5:after, .box5:before { width: 50px; height: 50px; border-radius: 50%; background: rgba(0, 0, 0, 0.62); position: absolute; top: -80px; left: 15px; opacity: 0; z-index: 1; transition: all .35s ease; -webkit-transition: all .35s ease-in; -moz-transition: all .35s ease; -o-transition: all .35s ease; -ms-transition: all .35s ease; } .box5:after { top: auto; left: auto; bottom: -80px; right: 15px } .box5:hover:after, .box5:hover:before { opacity: .75; transform: scale(8); transition-delay: .15s } .box5 img { width: 100%; height: auto; transition: all .35s ease-out 0s } .box5 .icon { margin: 0; position: absolute; bottom: 15px; right: 15px; z-index: 2; transform: scale(0); transition: all .35s ease-out } .box5:hover .icon { transform: scale(1); transition-delay: .15s } .box5 .icon li a { display: block; width: 35px; height: 35px; line-height: 35px; background: #fff; font-size: 18px; color: #444; margin-right: 10px; position: relative; transition: all .5s ease 0s; border-radius: 50%; text-align: center; } .box5 .icon li a:hover { background: #444; color: #fff } .box5 .box-content { padding: 20px 15px; position: absolute; top: 0; left: 0; z-index: 1 } .box5 .title { font-size: 20px; font-weight: 800; color: #fff; margin: 0 0 5px; opacity: 0; transform: translate(-20px, -20px); transition: all .35s ease-out } .box5:hover .title { opacity: 1; transform: translate(0, 0); transition-delay: .15s } .box5 .post { display: inline-block; font-size: 16px; color: #fff; opacity: 0; transform: translate(-20px, -20px); transition: all .35s ease-out } .box5:hover .post { opacity: 1; transform: translate(0, 0); transition-delay: .15s } .box6 .title, .box6 img, .box6:after { transition: all .35s ease 0s } @media only screen and (max-width:990px) { .box5 { margin-bottom: 30px } } /* team */ /* servgrid */ section.why-sec { padding: 3em 0 4em; } .services-w3sec { background: #f6f6f6; padding-bottom: 6em; } .servgrid-row { padding-top: 6em; } section { box-sizing: border-box; } .container .column { position: relative; width: 380px; float: left; transition: 0.5s; } .container .column .box { position: relative; width: 290px; min-height: 500px; margin: 0 auto; padding: 20px; box-sizing: border-box; text-align: center; background: linear-gradient(0deg, #fbadc3, #febdd0); border-top-left-radius: 50px; border-top-right-radius: 50px; border-bottom-left-radius: 150px; border-bottom-right-radius: 150px; box-shadow: 0 0 0 6px #ffffff, 0 0 0 10px #ff4f81, 0 0 0 20px #e2e2e2, 0 10px 150px rgb(255, 255, 255); overflow-y: hidden; transition: 0.5s; } .container .column .box:hover { transform: scale(1.1); } .container .column .box:before { content: ""; position: absolute; top: 0; left: -50%; width: 100%; height: 100%; background: rgba(255, 79, 129, 0.23); pointer-events: none; } .container .column .box .title .fa { margin-top: 20px; font-size: 2em; color: #ff4f81; } .title h5 { color: #fff; font-size: 1.5em; margin-top: 10px; } .servgrid h4 { font-size: 2em; font-weight: 600; color: #333; margin: 10px 0 0; } .container .column .box .option ul { margin: 20px 0; padding: 0; } .container .column .box .option ul li { list-style: none; color: #333; padding: 10px 0; border-bottom: 1px solid rgba(255, 79, 129, 0.31); } .container .column .box .bg-theme { font-weight: bold; margin: 0 auto; } /* //servgrid */ /* stats */ p.slide-txt { width: 90%; } .bg-theme1.slide-left { padding: 8em 3em; } section.w3_pvt_stats { background: url(../images/banner1.jpg) no-repeat top; background-size: cover; position: relative; z-index: 0; } section.w3_pvt_stats:before { position: absolute; width: 100%; left: 0; top: 0; height: 100%; content: ''; background: rgba(13, 17, 18, 0.13); z-index: -1; } p.count-text { letter-spacing: 2px; font-size: 1em; text-transform: uppercase; font-weight: 800; margin-top: 1em; text-shadow: 1px 1px 1px #000; text-align: center; } .timer { font-size: 2em; font-weight: 600; width: 120px; height: 120px; background: #80cd33; border: 8px solid #fff; border-radius: 50%; line-height: 100px; text-align: center; margin: 0 auto; } p.stat-txt { width: 60%; margin-bottom: 2em; } /* //stats */ /* section title */ h3.main-title-w3_pvt { text-transform: capitalize; font-weight: 800; font-size: 2.3em; color: #ff725a; margin-bottom: 15px; } .title-section { position: relative; } span.title-line:before { content: ''; width: 14px; height: 14px; background: #000; border: 3px solid #fff; display: block; margin: 0 auto; position: absolute; top: -7px; left: 48%; } span.title-line { border: 1px solid #ff4f81; height: 1px; display: block; width: 200px; position: relative; } .space-sec1 { margin-top: 1em; } .space-sec { margin-top: 3em; } /* //section title */ /* blog */ span.fa.fa-user.post-icon { position: absolute; width: 50px; height: 50px; line-height: 41px; text-align: center; font-size: 1.2em; border-radius: 50%; bottom: -20px; color: #fff; right: 10px; border: 5px solid #eae9ea; background: #f5a317; } h5.blog-title a { font-size: 1.15em; text-transform: uppercase; color: #80cd33; text-shadow: 1px 1px 1px #fff; letter-spacing: 1px; display: block; background: #fff; padding: 7px 10px; font-weight: 800; border-radius: 16px; } .blog-btn { background: transparent; font-weight: 400; color: #000000; } .card-body { background: #eae9ea; } /* //blog */ /* contact */ .btn-w3_pvt { letter-spacing: 1px; font-size: 1.2em; } .form-control:focus { color: #495057; background-color: #fff; outline: 0; box-shadow: 0 0 0 0.2rem transparent; } form.register-wthree .form-control { background: #eee; font-size: 0.9em; } form.register-wthree button { -webkit-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); -moz-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); } form.register-wthree .form-control { background: #eee; padding: 10px; font-size: 15px; border: 1px solid #a2a2a2; border-radius: 0; -webkit-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); -moz-box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); box-shadow: 2px 8px 10px 0px rgba(50, 46, 46, 0.23); } .map iframe { width: 100%; border: 1px solid #ff4f81; min-height: 450px; margin-top: 1em; } /* //contact */ /* footer variant4 */ .wthree-social ul li { display: inline-block; } ul.d-flex.header-w3pvt li span { margin-right: 1em; color: #ff9800; } span.icon_twitter { background: #1da1f2; } span.icon_facebook { background: #3b5998; } span.icon_dribbble { background: #ea4c89; } span.icon_g_plus { background: #dd4b39; } .wthree-social ul li span { margin-right: 10px; color: #fff; padding: 10px; width: 35px; height: 35px; font-size: 15px; text-align: center; border-radius: 50%; } .cpy-right { padding: 1em 0; } .cpy-right p a { color: #fff; } /* -- Responsive code -- */ @media screen and (max-width: 1440px) { .slider-info h3 { font-size: 4em; } .timer { font-size: 1.8em; } .abt-pos { width: 45%; } } @media screen and (max-width: 1366px) {} @media screen and (max-width: 1280px) { .slider-info h3 { font-size: 3.5em; } } @media screen and (max-width: 1080px) { h5.blog-title a { font-size: 1em; } } @media screen and (max-width: 1050px) { .slider-info h3 { font-size: 3em; } .timer { font-size: 1.6em; width: 100px; height: 100px; line-height: 80px; } } @media screen and (max-width: 1024px) {} @media screen and (max-width: 991px) { .slider-info { left: 6%; } .slider-info h3 { font-size: 2.8em; } .slider-info p { font-size: 1em; } ul.callbacks_tabs { left: 50px; } .abt-pos { position: inherit; width: 100%; top: 0; } .w3-about p { width: 100%; } .navbar-light .navbar-toggler { margin: 0 auto; } .dropdown-item { text-align: center; } section.why-sec { padding: 2em 0; } .services-w3sec { padding-bottom: 2em; } .w3ls-servgrid.card { margin-left: 0; } .w3ls-servgrid.card:hover, .w3ls-servgrid.card.service-active { transform: scale(1); } p.stat-txt { width: 100%; margin-bottom: 0em; } } @media screen and (max-width: 900px) {} @media screen and (max-width: 800px) { .slider-info h3 { font-size: 2.5em; } .w3ls-servgrid.card:hover, .w3ls-servgrid.card.service-active { transform: scale(1.1); } } @media screen and (max-width: 768px) { h3.wthree-title { font-size: 1.4em; } span.sub-line { font-size: 1em; } .navbar-light { padding: 1em 0; } ul.list-about li { font-size: 14px; } .ab-btm h4 { font-size: 1.1em; } .w3_pvt-link-bnr { padding: 7px 26px; font-size: 14px; letter-spacing: 0px; } .about-head { padding: 3em 0; } .w3ls-servgrid.card:hover, .w3ls-servgrid.card.service-active { transform: scale(1); } } @media screen and (max-width: 736px) { .navbar-light .navbar-nav .nav-link { font-size: 13px; } ul.list-group.mt-3.why-list li { font-size: 1em; } } @media screen and (max-width: 667px) { .slider-info h3 { font-size: 2.4em; } p.count-text { letter-spacing: 1px; font-size: 0.9em; } } @media screen and (max-width: 640px) {} @media screen and (max-width: 600px) { .slider-info h3 { font-size: 2em; } .services-w3sec { padding-bottom: 1em; } } @media screen and (max-width: 568px) { .slider-info h3 { font-size: 1.8em; } .slider-info p { width: 80%; } .about-head { padding: 2em 0; } .sec-main { margin-bottom: 1em; } .space-sec { margin-top: 1em; } .testi-img { width: 35%; margin: 0 auto; } .card .carousel-item { height: 420px; } .map iframe { margin-top: 0; min-height: 350px; } .btn-w3_pvt { font-size: 1em; } } @media screen and (max-width: 480px) { .header-main { padding: 0 1em; } .abt-pos h4 { font-size: 1.3em; } .abt-pos { padding: 1em; } h4.serv-title { font-size: 1em; } } @media screen and (max-width: 414px) { .slider-info h3 { font-size: 1.5em; } .timer { font-size: 1.4em; } } @media screen and (max-width: 384px) { ul.list-about li { font-size: 13px; letter-spacing: 0; padding: 10px 13px 10px 0; } .team-text p { font-size: 14px; } } @media screen and (max-width: 375px) { .slider-info p { width: 90%; } a.navbar-brand { font-size: 0.6em; } h6.main-title-w3pvt { margin-bottom: 0.5em; } .card .carousel-item { height: 380px; } } @media screen and (max-width: 320px) { .slider-info { top: 30%; } .slider-info h3 { font-size: 1.3em; } ul.list-about { padding-left: 3px; } h5.blog-title a { font-size: 0.92em; } } /* -- //Responsive code -- */
css
<filename>gui/src/rust/lib/web-test/src/lib.rs #![feature(arbitrary_self_types)] #![warn(unsafe_code)] #![warn(missing_copy_implementations)] #![warn(missing_debug_implementations)] mod system { pub use ensogl_system_web as web; } use enso_prelude as prelude; pub use wasm_bindgen_test::wasm_bindgen_test_configure as web_configure; pub use web_test_proc_macro::*; pub use wasm_bindgen_test::wasm_bindgen_test; mod bencher; mod group; mod container; mod bench_container; pub use bencher::Bencher; pub use group::Group; pub use container::Container; pub use bench_container::BenchContainer;
rust
html { height: 100%; background-color: #fbfaf9; }
css
If you look at the nearest clock you will notice that it is Friday, and that means that its time for us here at TNWmicrosoft to walk you through the biggest and best stories from the last seven days. There is simply too much news from the last week to include even half of it in this post, so we apologize if we miss a topic that you were hoping for us to touch on. If you follow us on Twitter, we will keep you informed around the clock. Enough of that, let’s get into the news: If you have been tracking the impressive life of Internet Explorer 9 thus far we have good news: the release candidate of the browser is coming on February 10th. If you have never played with Microsoft’s new browser, it is shaping up to be a massive step forward for the Internet Explorer brand. This is a fact: when Internet Explorer 9 comes out it will quickly become the most used browser in the world. In other words, it’s important. The RC is, of course, a major step towards a full release. We will be reviewing the browser RC on the 10th when it is released. This week we learned that Vail hit its release candidate build and that it now had an official name: Windows Home Server 2011. We hate the new name, but can’t deny that the product is hungered after by the market. We hadn’t been, but we have been listening, so we will be covering WHS 2011 heavily from here on out. Ask and ye shall receive. You have been told your entire life that Bruce Wayne is Batman. You were lied to. According to the ever topical Daily Show, Batman is actually Bill Gates. If we had any talent in Photoshop, we would have hacked up an image for you to enjoy. Bill Gates did his yearly trip to see Jon Stewart this week and at the end of a wide-ranging discussion of disease and fixing the world, Stewart decided that with all his money and gadgets and good deeds, Gates just had to be the Dark Knight. You decide if this is a fair assessment or not. Let us know in the comments. Google called Bing a stinking cheater this week, and Bing took rise to the allegations. The two companies engaged in a very public slap fight that had some rather heated words and veiled competitive digs. For us and everyone else in the tech press it was like a free matinée with unlimited popcorn. Watching to giants whack each other back and forth with sharp, blunt words is a rare treat. To help everyone catch up with that goings on, we put together a piece that broke down the argument piece by piece. If you are not sure exactly what is going on, or missed part of it, our recap is a great place to start. Like we said, that is only a smattering of the week. Feel free to read backwards on TNWmicrosoft and get all the news, or just stay tuned for the future. As they say, the news never stops. Get the most important tech news in your inbox each week.
english
package dialog; import android.app.Dialog; import android.content.Context; import android.content.DialogInterface; import android.os.Bundle; import android.view.KeyEvent; import android.view.View; import android.widget.Button; import android.widget.TextView; import top.bubble.bubblesunpim.R; /** * Created by Jzhson on 10/31/2017. */ public class Dialog_Download extends Dialog { private Button background;//确定按钮 private TextView titleTv;//消息标题文本 private String titleStr;//从外界设置的title文本 private TextView hint1;//消息提示文本 private TextView hint2;//消息提示文本 private TextView hint3;//消息提示文本 private String hint1str;//从外界设置的消息文本 private String hint2str;//从外界设置的消息文本 private String hint3str;//从外界设置的消息文本 //确定文本和取消文本的显示内容 private String backgroundStr; private onubackgroundOnclickListener backgroundOnclickListener; /** * 设置后台更新按钮的显示内容和监听 * * @param str * @param onbackgroundOnclickListener */ public void setupdateOnclickListener(String str, onubackgroundOnclickListener onbackgroundOnclickListener) { if (str != null) { backgroundStr = str; } this.backgroundOnclickListener = onbackgroundOnclickListener; } public Dialog_Download(Context context) { super(context,R.style.Dialog_NewVersion); } @Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); setContentView(R.layout.dialog_download); //按空白处不能取消动画 setCanceledOnTouchOutside(false); setOnKeyListener(keylistener); //初始化界面控件 initView(); //初始化界面数据 initData(); //初始化界面控件的事件 initEvent(); } /** * 初始化界面的确定和取消监听器 */ private void initEvent() { //设置确定按钮被点击后,向外界提供监听 background.setOnClickListener(new View.OnClickListener() { @Override public void onClick(View v) { if (backgroundOnclickListener != null) { backgroundOnclickListener.backgroundOnclick(); } } }); } /** * 初始化界面控件的显示数据 */ private void initData() { //如果用户自定了title和message if (titleStr != null) { titleTv.setText(titleStr); } if (hint1str != null) { hint1.setText(hint1str); } if (hint2str != null) { hint2.setText(hint2str); } if (hint3str != null) { hint3.setText(hint3str); } //如果设置按钮的文字 if (backgroundStr != null) { background.setText(backgroundStr); } } /** * 初始化界面控件 */ private void initView() { background = (Button) findViewById(R.id.dialog_download_button_update); titleTv = (TextView) findViewById(R.id.dialog_download_title); hint1 = (TextView) findViewById(R.id.dialog_download_button_hint1); hint2 = (TextView) findViewById(R.id.dialog_download_button_hint2); hint3 = (TextView) findViewById(R.id.dialog_download_button_hint3); } /** * 从外界Activity为Dialog设置标题 * * @param title */ public void setTitle(String title) { titleStr = title; } /** * 从外界Activity为Dialog设置dialog的message * * @param hint1 */ public void setHint1(String hint1) { hint1str = hint1; } /** * 从外界Activity为Dialog设置dialog的message * * @param hint2 */ public void setHint2(String hint2) { hint2str = hint2; } /** * 从外界Activity为Dialog设置dialog的message * * @param hint3 */ public void setHint3(String hint3) { hint3str = hint3; } /** * 设置确定按钮和取消被点击的接口 */ public interface onubackgroundOnclickListener { public void backgroundOnclick(); } OnKeyListener keylistener = new DialogInterface.OnKeyListener(){ public boolean onKey(DialogInterface dialog, int keyCode, KeyEvent event) { if (keyCode==KeyEvent.KEYCODE_BACK&&event.getRepeatCount()==0) { return true; } else { return false; } } } ; }
java
package cn.springcloud.book; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.builder.SpringApplicationBuilder; import org.springframework.cloud.client.discovery.EnableDiscoveryClient; import org.springframework.cloud.openfeign.EnableFeignClients; import org.springframework.context.annotation.Bean; import cn.springcloud.book.extension.MyDiscoveryEnabledAdapter; import cn.springcloud.book.extension.MyDiscoveryListener; import cn.springcloud.book.extension.MyLoadBalanceListener; import cn.springcloud.book.extension.MyRegisterListener; import cn.springcloud.book.extension.MySubscriber; @SpringBootApplication @EnableDiscoveryClient @EnableFeignClients public class DiscoveryApplicationA1 { public static void main(String[] args) { System.setProperty("spring.profiles.active", "a1"); new SpringApplicationBuilder(DiscoveryApplicationA1.class).run(args); } @Bean public MyRegisterListener myRegisterListener() { return new MyRegisterListener(); } @Bean public MyDiscoveryListener myDiscoveryListener() { return new MyDiscoveryListener(); } @Bean public MyLoadBalanceListener myLoadBalanceListener() { return new MyLoadBalanceListener(); } @Bean public MySubscriber mySubscriber() { return new MySubscriber(); } @Bean public MyDiscoveryEnabledAdapter myDiscoveryEnabledAdapter() { return new MyDiscoveryEnabledAdapter(); } }
java
var uploadFileSettings = { 'showClose': false, 'showUpload':false, 'uploadUrl': "./upload", // server upload action 'ajaxSettings': { headers: { 'X-CSRF-TOKEN': $('meta[name="csrf-token"]').attr('content') } }, 'uploadExtraData': function(previewId, index) { return { 'cat_title': $("#cat_title").val(), 'delimiter': $("select").val() } }, 'error':'You are not allowed to upload such a file.', 'showPreview':true, 'msgInvalidFileExtension':'Invalid extension for file "{name}". Only CSV or Excel files are supported.', 'allowedFileExtensions':['csv', 'CSV', 'xlsx', 'xlsm','xls'], 'dropZoneEnabled':false, 'maxFileSize': 10240 }; $(function(){ $('select').selectpicker({ 'showTick':true, 'width':'fit' }); $('#spinner').load('./loading/spinner.html'); $("#upload_catalog").fileinput(uploadFileSettings); });
javascript
{"kind": "youtube#video", "etag": "Uu6TWiO9awztRHYXq6I0trUjmTw", "id": "zxfEN-rxG-s", "snippet": {"publishedAt": "2019-02-24T09:25:24Z", "channelId": "UCgkG68BiCngkoV7I2BLtAVg", "title": "Live Coding: Minecraft backups & WorldGuard (Day 4)", "description": "Working on a backup script and setting up World Guard to protect the spawn.\n\nMinecraft server: minecraft.devdungeon.com\n\nGitHub: https://www.github.com/DevDungeon\nSupport the stream: https://streamlabs.com/devdungeon\nJoin Discord: https://discord.gg/JWsSHJC\nGet $100 credit for signing up to Digital Ocean: https://m.do.co/c/5ccd98162d85 \nBuy my book: Security with Go https://www.packtpub.com/networking-and-servers/security-go\nWebsite: https://www.devdungeon.com\nYouTube: https://www.youtube.com/DevDungeon\nDownload Streamlabs OBS and start streaming yourself for free: https://streamlabs.com/slobs/d/13836773\nOpening music:- Song: Buzzsaw (feat. Zircon)- Artist: Big Giant Circles & zircon\n- Album: Imposter Nostalgia", "thumbnails": {"default": {"url": "https://i.ytimg.com/vi/zxfEN-rxG-s/default.jpg", "width": 120, "height": 90}, "medium": {"url": "https://i.ytimg.com/vi/zxfEN-rxG-s/mqdefault.jpg", "width": 320, "height": 180}, "high": {"url": "https://i.ytimg.com/vi/zxfEN-rxG-s/hqdefault.jpg", "width": 480, "height": 360}, "standard": {"url": "https://i.ytimg.com/vi/zxfEN-rxG-s/sddefault.jpg", "width": 640, "height": 480}, "maxres": {"url": "https://i.ytimg.com/vi/zxfEN-rxG-s/maxresdefault.jpg", "width": 1280, "height": 720}}, "channelTitle": "DevDungeon", "tags": ["Minecraft", "sysadmin", "backups", "WorldGuard", "Custom", "Programming", "Java", "Linux"], "categoryId": "28", "liveBroadcastContent": "none", "localized": {"title": "Live Coding: Minecraft backups & WorldGuard (Day 4)", "description": "Working on a backup script and setting up World Guard to protect the spawn.\n\nMinecraft server: minecraft.devdungeon.com\n\nGitHub: https://www.github.com/DevDungeon\nSupport the stream: https://streamlabs.com/devdungeon\nJoin Discord: https://discord.gg/JWsSHJC\nGet $100 credit for signing up to Digital Ocean: https://m.do.co/c/5ccd98162d85 \nBuy my book: Security with Go https://www.packtpub.com/networking-and-servers/security-go\nWebsite: https://www.devdungeon.com\nYouTube: https://www.youtube.com/DevDungeon\nDownload Streamlabs OBS and start streaming yourself for free: https://streamlabs.com/slobs/d/13836773\nOpening music:- Song: Buzzsaw (feat. Zircon)- Artist: Big Giant Circles & zircon\n- Album: Imposter Nostalgia"}}, "contentDetails": {"duration": "PT1H40M27S", "dimension": "2d", "definition": "hd", "caption": "false", "licensedContent": true, "contentRating": {}, "projection": "rectangular"}, "statistics": {"viewCount": "176", "likeCount": "4", "dislikeCount": "0", "favoriteCount": "0", "commentCount": "0"}, "topicDetails": {"relevantTopicIds": ["/m/0bzvm2", "/m/0403l3g", "/m/025zzc", "/m/0bzvm2"], "topicCategories": ["https://en.wikipedia.org/wiki/Action_game", "https://en.wikipedia.org/wiki/Video_game_culture", "https://en.wikipedia.org/wiki/Role-playing_video_game"]}, "has_face": false, "detection_confidence": null}
json
{"elapsed":"1.607","endpoint-url":"https://www.great-yarmouth.gov.uk/CHttpHandler.ashx?id=4930&p=0","entry-date":"2021-04-04T00:12:38.150339","request-headers":{"Accept":"*/*","Accept-Encoding":"gzip, deflate","Connection":"keep-alive","User-Agent":"Digital Land"},"response-headers":{"Cache-Control":"no-cache, no-store","Content-Length":"16627","Content-Type":"text/html; charset=utf-8","Date":"Sun, 04 Apr 2021 00:13:54 GMT","Expires":"-1","Pragma":"no-cache","Server":"Microsoft-IIS/8.5","Set-Cookie":"ASP.NET_SessionId=rawed55qqewyzfwziwvsqtze; path=/; HttpOnly; SameSite=Lax, clientvars=672ca055-a546-4651-b777-926885e8c84d; path=/; HttpOnly, TextOnlyX=; expires=Mon, 04-Apr-2016 00:13:54 GMT; path=/, mode=0; expires=Mon, 12-Jul-2021 00:13:54 GMT; path=/","X-Powered-By":"ASP.NET"},"ssl-verify":true,"status":"404"}
json
import { library } from "@fortawesome/fontawesome-svg-core"; import { faPlus } from "@fortawesome/free-solid-svg-icons"; import { FontAwesomeIcon } from "@fortawesome/react-fontawesome"; import * as React from "react"; import * as styles from "./css/styles.css"; library.add(faPlus); interface IProps { onAddClick: Function; } export class AddTodo extends React.Component<IProps, any> { public render() { let input: any; return ( <div className={styles.addTodo}> <input className={styles.tInputText} ref={(node) => { input = node; }} data-test-id="add-todo-input"/> <button className={styles.tInputSubmit} type="submit" onClick={() => { if (input.value) { this.props.onAddClick(input.value); } }} data-testid="add-todo-btn" > <FontAwesomeIcon icon="plus"/> </button> </div>); } public shouldComponentUpdate() { return false; } }
typescript
<reponame>kelsos/toothpick /* * Copyright 2019 <NAME> * Copyright 2019 <NAME> * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package toothpick.concurrency.utils; import java.io.IOException; import java.net.URI; import java.net.URL; import java.net.URLClassLoader; import java.util.ArrayList; import java.util.HashMap; import java.util.List; import java.util.Map; import javax.tools.Diagnostic; import javax.tools.DiagnosticCollector; import javax.tools.JavaCompiler; import javax.tools.JavaFileObject; import javax.tools.SimpleJavaFileObject; import javax.tools.ToolProvider; // from http://stackoverflow.com/a/2320465/693752 /** * We create classes dynamically with this class. It can seem a bit far fetched. We could also have * enumerated a thousand real classes from the JDK or create them by hand for real. But this is more * scalable and allow more testing. We also have full control on the classes. * * <p>They are used as injection parameters and bindings. */ public class ClassCreator { private ByteClassLoader byteClassLoader = new ByteClassLoader(ClassCreator.class.getClassLoader()); private static final int CLASSES_COUNT = 1000; public Class[] allClasses; public ClassCreator() { try { allClasses = createClasses(); } catch (Exception e) { e.printStackTrace(); throw new RuntimeException("Impossible to create all classes.", e); } } private Class[] createClasses() throws ClassNotFoundException, IOException { Map<String, String> mapClassNameToJavaSource = new HashMap<>(); for (int indexClass = 0; indexClass < CLASSES_COUNT; indexClass++) { String className = "Class_" + indexClass; String source = String.format("public class %s {}\n", className, className); mapClassNameToJavaSource.put(className, source); } List<Class> classes = new ArrayList<>(); Map<String, byte[]> buffers = compile(mapClassNameToJavaSource); for (Map.Entry<String, byte[]> classNameToByteCodeEntry : buffers.entrySet()) { String className = classNameToByteCodeEntry.getKey(); byte[] buffer = classNameToByteCodeEntry.getValue(); Class clazz = byteClassLoader.defineClass(className, buffer); classes.add(clazz); } return classes.toArray(new Class[0]); } private Map<String, byte[]> compile(Map<String, String> mapClassNameToJavaSource) { DiagnosticCollector<JavaFileObject> diagnostics = new DiagnosticCollector<>(); JavaCompiler compiler = ToolProvider.getSystemJavaCompiler(); InMemoryJavaFileManager fileManager = new InMemoryJavaFileManager(compiler.getStandardFileManager(diagnostics, null, null)); List<JavaFileObject> compilationUnit = new ArrayList<>(); for (Map.Entry<String, String> classNameToSourceEntry : mapClassNameToJavaSource.entrySet()) { JavaFileObject source = new JavaSourceFromString( classNameToSourceEntry.getKey(), classNameToSourceEntry.getValue()); compilationUnit.add(source); } JavaCompiler.CompilationTask task = compiler.getTask(null, fileManager, diagnostics, null, null, compilationUnit); if (!task.call()) { for (Diagnostic<? extends JavaFileObject> diagnostic : diagnostics.getDiagnostics()) { System.out.format( "Error on line %d in %s%n", diagnostic.getLineNumber(), diagnostic.getSource()); } return null; } return fileManager.getAllBuffers(); } public static class ByteClassLoader extends URLClassLoader { public ByteClassLoader(ClassLoader parent) { super(new URL[0], parent); } public Class<?> defineClass(final String name, byte[] classBytes) throws ClassNotFoundException { if (classBytes != null) { return defineClass(name, classBytes, 0, classBytes.length); } return null; } } class JavaSourceFromString extends SimpleJavaFileObject { final String code; JavaSourceFromString(String name, String code) { super(URI.create("string:///" + name.replace('.', '/') + Kind.SOURCE.extension), Kind.SOURCE); this.code = code; } @Override public CharSequence getCharContent(boolean ignoreEncodingErrors) { return code; } } }
java
Former Indian cricketer and CricketCountry’s chief mentor VVS Laxman recently spoke about what future holds for two young Indian stars Shreyas Iyer and Rishabh Pant. Former Indian cricketer and CricketCountry’s chief mentor VVS Laxman recently spoke about what future holds for two young Indian stars Shreyas Iyer and Rishabh Pant. Shreyas, a prolific runs scorer, finished the Ranji Trophy 2015-16 season with 1,321 runs at 73. 88. He fell only 94 runs short of becoming the highest run-getter in a single Ranji Trophy season. The original record holder is none other than Laxman himself, who had scored 1,414 runs for Hyderabad in 1999-00 season. On the other hand, Pant, who has been a revelation this season, is a naturally aggressive batsman and a wicketkeeper too. As per Laxman, Pant has the potential to don the Indian jersey but he needs to work a bit more on his keeping.
english
<reponame>Criticalcarpet/eaf-linter { "name": "eaf-linter", "version": "1.4.4", "description": "A javascript linter, tester, and prettier.", "main": "src/index.js", "scripts": { "start": "node src/index.js", "patch": "npm version patch && npm publish && git push --follow-tags", "minor": "npm version minor && npm publish && git push --follow-tags", "major": "npm version major && npm publish && git push --follow-tags" }, "files": [ "src/*.js", "src/**/*.js", "src/**/**/*.js" ], "repository": { "type": "git", "url": "git+https://github.com/fairfield-programming/eaf-linter.git" }, "bin": { "eaf-linter": "src/index.js" }, "keywords": [], "author": "Fairfield Programming Association", "license": "ISC", "eaf": { "scoring": "((2 / (directDependencies + indirectDependencies + 1)) * 10) + 90" }, "bugs": { "url": "https://github.com/fairfield-programming/eaf-linter/issues" }, "homepage": "https://github.com/fairfield-programming/eaf-linter#readme", "dependencies": { "@babel/parser": "^7.16.7" } }
json
<reponame>EmersonAlvaro/genesis from django.urls import path from . import views urlpatterns = [ path('', views.Home, name='Utano_Home'), path('output', views.output,name="script"), path('falar/', views.Falar, name='Utano_Falar'), ]
python
--- layout: base title: 'Statistics of nummod in UD_Japanese-PUDLUW' udver: '2' --- ## Treebank Statistics: UD_Japanese-PUDLUW: Relations: `nummod` This relation is universal. 60 nodes (0%) are attached to their parents as `nummod`. 60 instances of `nummod` (100%) are right-to-left (child precedes parent). Average distance between parent and child is 1. The following 5 pairs of parts of speech are connected with `nummod`: <tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt>-<tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt> (41; 68% instances), <tt><a href="ja_pudluw-pos-VERB.html">VERB</a></tt>-<tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt> (13; 22% instances), <tt><a href="ja_pudluw-pos-PROPN.html">PROPN</a></tt>-<tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt> (3; 5% instances), <tt><a href="ja_pudluw-pos-NOUN.html">NOUN</a></tt>-<tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt> (2; 3% instances), <tt><a href="ja_pudluw-pos-ADV.html">ADV</a></tt>-<tt><a href="ja_pudluw-pos-NUM.html">NUM</a></tt> (1; 2% instances). ~~~ conllu # visual-style 13 bgColor:blue # visual-style 13 fgColor:white # visual-style 14 bgColor:blue # visual-style 14 fgColor:white # visual-style 14 13 nummod color:blue 1 数多く 数多く ADV 副詞 _ 7 advmod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 2 の の ADP 助詞-格助詞 _ 1 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 3 鉄道 鉄道 NOUN 名詞-普通名詞-一般 _ 5 nmod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 4 の の ADP 助詞-格助詞 _ 3 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 5 歴史 歴史 NOUN 名詞-普通名詞-一般 _ 7 nmod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 6 の の ADP 助詞-格助詞 _ 5 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 7 本 本 NOUN 名詞-普通名詞-一般 _ 9 obj _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 8 を を ADP 助詞-格助詞 _ 7 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 9 書い 書く VERB 動詞-一般-五段-カ行 _ 11 acl _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 10 た た AUX 助動詞-助動詞-タ _ 9 aux _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 11 クリスチャン・ウォルマー クリスチャン・ウォルマー PROPN 名詞-固有名詞-人名-一般 _ 18 nsubj _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 12 が が ADP 助詞-格助詞 _ 11 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 13 12月 一二月 NUM 名詞-数詞 _ 14 nummod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 14 1日 一日 NUM 名詞-数詞 _ 16 nmod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 15 の の ADP 助詞-格助詞 _ 14 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 16 コンテスト コンテスト NOUN 名詞-普通名詞-一般 _ 18 obl _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 17 に に ADP 助詞-格助詞 _ 16 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 18 登壇し 登壇する VERB 動詞-一般-サ行変格 _ 0 root _ BunsetuBILabel=B|BunsetuPositionType=ROOT|SpaceAfter=No 19 ます ます AUX 助動詞-助動詞-マス _ 18 aux _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 20 。 。 PUNCT 補助記号-句点 _ 18 punct _ BunsetuBILabel=I|BunsetuPositionType=CONT|SpaceAfter=No ~~~ ~~~ conllu # visual-style 11 bgColor:blue # visual-style 11 fgColor:white # visual-style 12 bgColor:blue # visual-style 12 fgColor:white # visual-style 12 11 nummod color:blue 1 実現可能性調査 実現可能性調査 NOUN 名詞-普通名詞-一般 _ 15 nsubj _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 2 は は ADP 助詞-係助詞 _ 1 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 3 、 、 PUNCT 補助記号-読点 _ 1 punct _ BunsetuBILabel=I|BunsetuPositionType=CONT|SpaceAfter=No 4 ゴンドラ ゴンドラ NOUN 名詞-普通名詞-一般 _ 8 obl _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 5 で で ADP 助詞-格助詞 _ 4 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 6 ポトマック川 ポトマック川 PROPN 名詞-固有名詞-地名-一般 _ 8 obj _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 7 を を ADP 助詞-格助詞 _ 6 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 8 横断する 横断する VERB 動詞-一般-サ行変格 _ 12 advcl _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 9 に に ADP 助詞-格助詞 _ 8 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 10 は は ADP 助詞-係助詞 _ 8 case _ BunsetuBILabel=I|BunsetuPositionType=FUNC|SpaceAfter=No 11 約4分 約四分 NUM 名詞-数詞 _ 12 nummod _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 12 かかる 掛かる VERB 動詞-一般-五段-ラ行 _ 15 advcl _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 13 だろう だ AUX 助動詞-助動詞-ダ _ 12 aux _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 14 と と ADP 助詞-格助詞 _ 12 case _ BunsetuBILabel=I|BunsetuPositionType=FUNC|SpaceAfter=No 15 予測し 予測する VERB 動詞-一般-サ行変格 _ 0 root _ BunsetuBILabel=B|BunsetuPositionType=ROOT|SpaceAfter=No 16 ている て居る SCONJ 助動詞-上一段-ア行 _ 15 mark _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 17 。 。 PUNCT 補助記号-句点 _ 15 punct _ BunsetuBILabel=I|BunsetuPositionType=CONT|SpaceAfter=Yes ~~~ ~~~ conllu # visual-style 4 bgColor:blue # visual-style 4 fgColor:white # visual-style 5 bgColor:blue # visual-style 5 fgColor:white # visual-style 5 4 nummod color:blue 1 彼 彼 PRON 代名詞 _ 7 nsubj _ BunsetuBILabel=B|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 2 は は ADP 助詞-係助詞 _ 1 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 3 、 、 PUNCT 補助記号-読点 _ 1 punct _ BunsetuBILabel=I|BunsetuPositionType=CONT|SpaceAfter=No 4 10年間 十年間 NUM 名詞-数詞 _ 5 nummod _ BunsetuBILabel=B|BunsetuPositionType=CONT|SpaceAfter=No 5 BBC BBC PROPN 名詞-固有名詞-一般 _ 7 obl _ BunsetuBILabel=I|BunsetuPositionType=SEM_HEAD|SpaceAfter=No 6 で で ADP 助詞-格助詞 _ 5 case _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 7 働い 働く VERB 動詞-一般-五段-カ行 _ 0 root _ BunsetuBILabel=B|BunsetuPositionType=ROOT|SpaceAfter=No 8 てい て居る SCONJ 助動詞-上一段-ア行 _ 7 mark _ BunsetuBILabel=I|BunsetuPositionType=SYN_HEAD|SpaceAfter=No 9 た た AUX 助動詞-助動詞-タ _ 7 aux _ BunsetuBILabel=I|BunsetuPositionType=FUNC|SpaceAfter=No 10 。 。 PUNCT 補助記号-句点 _ 7 punct _ BunsetuBILabel=I|BunsetuPositionType=CONT|SpaceAfter=No ~~~
markdown
<reponame>onionknight21/wotv-ffbe-dump { "infos": [ { "key": "GPP_TITLE", "value": "Gifts Successfully Claimed!" }, { "key": "GPP_LATER_BTN", "value": "Later" }, { "key": "GPP_GO2PRESENTS_BTN", "value": "Go to Presents" }, { "key": "GPP_DESC", "value": "Your Google Point rewards have been redeemed. Items have been sent to your Item Box. Visiore has been credited to your account." } ] }
json
<gh_stars>1-10 /* * Copyright Elasticsearch B.V. and/or licensed to Elasticsearch B.V. under one * or more contributor license agreements. Licensed under the Elastic License; * you may not use this file except in compliance with the Elastic License. */ import React, { useCallback, useState } from 'react'; import { EuiFlexGroup, EuiFlexItem, EuiPopover, EuiButtonIcon, EuiButtonEmpty } from '@elastic/eui'; import * as i18n from './translations'; export interface PropertyActionButtonProps { disabled?: boolean; onClick: () => void; iconType: string; label: string; } const ComponentId = 'property-actions'; const PropertyActionButton = React.memo<PropertyActionButtonProps>( ({ disabled = false, onClick, iconType, label }) => ( <EuiButtonEmpty data-test-subj={`${ComponentId}-${iconType}`} aria-label={label} color="text" iconSide="left" iconType={iconType} isDisabled={disabled} onClick={onClick} > {label} </EuiButtonEmpty> ) ); PropertyActionButton.displayName = 'PropertyActionButton'; export interface PropertyActionsProps { propertyActions: PropertyActionButtonProps[]; } export const PropertyActions = React.memo<PropertyActionsProps>(({ propertyActions }) => { const [showActions, setShowActions] = useState(false); const onButtonClick = useCallback(() => { setShowActions(!showActions); }, [showActions]); const onClosePopover = useCallback((cb?: () => void) => { setShowActions(false); if (cb != null) { cb(); } }, []); return ( <EuiFlexGroup alignItems="flexStart" data-test-subj={ComponentId} gutterSize="none"> <EuiFlexItem grow={false}> <EuiPopover anchorPosition="downRight" ownFocus button={ <EuiButtonIcon data-test-subj={`${ComponentId}-ellipses`} aria-label={i18n.ACTIONS_ARIA} iconType="boxesHorizontal" onClick={onButtonClick} /> } id="settingsPopover" isOpen={showActions} closePopover={onClosePopover} repositionOnScroll > <EuiFlexGroup alignItems="flexStart" data-test-subj={`${ComponentId}-group`} direction="column" gutterSize="none" > {propertyActions.map((action, key) => ( <EuiFlexItem grow={false} key={`${action.label}${key}`}> <PropertyActionButton disabled={action.disabled} iconType={action.iconType} label={action.label} onClick={() => onClosePopover(action.onClick)} /> </EuiFlexItem> ))} </EuiFlexGroup> </EuiPopover> </EuiFlexItem> </EuiFlexGroup> ); }); PropertyActions.displayName = 'PropertyActions';
typescript
Pawan Sehrawat-led Telugu Titans will face Maninder Singh’s Bengal Warriors in the 64th match of the Pro Kabaddi League (PKL) 2023. Mumbai’s DOME by NSCI stadium will host the game on Tuesday at 8 pm IST. Titans’ disgrace continues as they are coming off a fourth consecutive, eighth loss of the PKL 10 against Gujarat Giants 30-37. They led the first half pretty well at 19-14. However, Giants bounced back 11-23 with an all-round effort. Captain Pawan Sehrawat emerged as their top raider with eight raid points from 18 raids. Meanwhile, the Warriors also suffered their fourth defeat in a row against the Haryana Steelers 35-41. They dominated the first 20 minutes with the score 17-13, including one all-out. However, the Steelers staged a powerful comeback with 28 points, including 13 raid points, 11 tackle points, and one all-out. Shrikant Jadhav completed his Super 10 while Maninder Singh earned eight raid points. Aditya Shinde shined in the defense with four tackle points. On that note, here are the three players you could pick as the captain/vice-captain for the upcoming TEL vs BEN Dream11 match. Pawan Sehrawat has been the captain as well as a standout raider for Telugu Titans. He has the joint-most Super 10s (6) to his name. He has bagged 86 raid points from 66 successful raids, including two Super raids, and ranks among the top 10 raiders with a 9.55 average. Given his raiding prowess, the “Hi-Flyer” will be a safe choice for the captain/vice-captain of your TEL vs BEN Dream11 teams. Shubham Shinde finds himself among the top five defenders of PKL10. With 32 tackle points from 31 successful tackles, he has been the most successful defender of the Warriors this season. He underperformed in the last two games but will seek to bounce back in the upcoming one and prove to be lethal. Shinde’s 3.2 average tackle success/match with a 53% success rate, makes him a reliable choice for the captain/vice-captain in your TEL vs BEN Dream11 teams. Maninder Singh is undoubtedly the best choice captain/vice-captain position in your fantasy teams. He ranks third in the most successful raids/raid points leaderboard with 77 raids and 97 raid points, respectively. He averages 9.69 raid points from 10 matches with an impressive 65% raid strike rate. The “Mighty Maninder” also has five Super 10s and four Super raids to his name. Poll : Who will score most raid points in today's match?
english
/* * Copyright 2021-present Open Networking Foundation * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package org.onosproject.kubevirtnetworking.codec; import com.eclipsesource.json.JsonArray; import com.eclipsesource.json.JsonObject; import org.hamcrest.Description; import org.hamcrest.TypeSafeMatcher; import org.onosproject.kubevirtnetworking.api.KubevirtNetwork; public final class KubevirtNetworkJsonArrayMatcher extends TypeSafeMatcher<JsonArray> { private final KubevirtNetwork network; private String reason = ""; public KubevirtNetworkJsonArrayMatcher(KubevirtNetwork network) { this.network = network; } @Override protected boolean matchesSafely(JsonArray json) { boolean networkFound = false; for (int jsonNetworkIndex = 0; jsonNetworkIndex < json.size(); jsonNetworkIndex++) { final JsonObject jsonNode = json.get(jsonNetworkIndex).asObject(); final String networkId = network.networkId(); final String jsonNetworkId = jsonNode.get("networkId").asString(); if (jsonNetworkId.equals(networkId)) { networkFound = true; } } if (!networkFound) { reason = "Network with networkId " + network.networkId() + " not found"; return false; } else { return true; } } @Override public void describeTo(Description description) { description.appendText(reason); } /** * Factory to allocate a network array matcher. * * @param network network object we are looking for * @return matcher */ public static KubevirtNetworkJsonArrayMatcher hasNetwork(KubevirtNetwork network) { return new KubevirtNetworkJsonArrayMatcher(network); } }
java
<filename>app/src/main/java/org/phpnet/openDrivinCloudAndroid/Common/TypeFile.java package org.phpnet.openDrivinCloudAndroid.Common; /** * Created by germaine on 24/07/15. */ public enum TypeFile { TXT, PDF, IMG, DIR, AUDIO, NOTYPE }
java
import * as opportunityService from '../../OpportunityService'; import addressMap from '../../blockchain/addresses.json'; import { EthNetworkID } from 'dvote-js'; import { Contracts } from '../../constants'; export default function getContractAddress(network: EthNetworkID, contractName: Contracts): string { return addressMap[network][contractName] }
typescript
.input { width: 100%; margin: 5px 0px; border: 2px solid var(--card-border-color); border-radius: 2px; padding: 10px; font-size: 16px; font-family: inherit; color: var(--text-color); } .input.small { margin: 0px; padding: 8px; font-size: 14px; } .input.success { border-color: var(--success); } .input.information { border-color: var(--information); } .input.danger { border-color: var(--danger); }
css
BARPETA ROAD: State Chief Secretary Jisnu Barua on Thursday visited Barpeta district and took stock of the developmental works of the district. The Chief Secretary travelled directly from Guwahati to Barpeta and organized a meeting with all the officers of the District Power Department of undivided Barpeta and held talks. After the conversation, the officials were told in a clear tone that no compromise would be made in the matter of revenue collection. He should first meet the loss in revenue. After that, he started a discussion about the works of Central Planning and Policy Direction in the district. In this meeting, for the development of health, education, and human standards, he directed to work on the pointers set by NITI Aayog. He advised the officers to work with integrity and responsibility. In the meeting, Deputy Commissioner Tej Prasad Bhusal honoured the Chief Secretary with Phulam Gamosa.
english
package org.dishorg.dishorg; class RecipeNotFoundException extends RuntimeException { RecipeNotFoundException(Long id) { super("Could not find recipe #" + id); } }
java
<filename>tests/test_wvlns.py """Test VIMS wavelength module.""" from pathlib import Path import numpy as np from numpy.testing import assert_array_almost_equal as assert_array from pyvims import QUB from pyvims.vars import ROOT_DATA from pyvims.wvlns import (BAD_IR_PIXELS, CHANNELS, FWHM, SHIFT, VIMS_IR, VIMS_VIS, WLNS, YEARS, bad_ir_pixels, ir_multiplexer, ir_hot_pixels, is_hot_pixel, median_spectrum, moving_median, sample_line_axes) from pytest import approx, raises DATA = Path(__file__).parent / 'data' def test_vims_csv(): """Test CSV global variables.""" assert len(CHANNELS) == len(WLNS) == len(FWHM) == 352 assert CHANNELS[0] == 1 assert CHANNELS[-1] == 352 assert WLNS[0] == .350540 assert WLNS[-1] == 5.1225 assert FWHM[0] == .007368 assert FWHM[-1] == .016 assert len(YEARS) == len(SHIFT) == 58 assert YEARS[0] == 1999.6 assert YEARS[-1] == 2017.8 assert SHIFT[0] == -25.8 assert SHIFT[-1] == 9.8 def test_vims_ir(): """Test VIMS IR wavelengths.""" # Standard wavelengths wvlns = VIMS_IR() assert len(wvlns) == 256 assert wvlns[0] == .884210 assert wvlns[-1] == 5.122500 # Full-width at half maximum value fwhms = VIMS_IR(fwhm=True) assert len(fwhms) == 256 assert fwhms[0] == .012878 assert fwhms[-1] == .016 # Wavenumber (cm-1) wvnb = VIMS_IR(sigma=True) assert len(wvnb) == 256 assert wvnb[0] == approx(11309.53, abs=1e-2) assert wvnb[-1] == approx(1952.17, abs=1e-2) # Single band assert VIMS_IR(band=97) == .884210 assert VIMS_IR(band=97, fwhm=True) == .012878 assert VIMS_IR(band=97, sigma=True) == approx(11309.53, abs=1e-2) assert VIMS_IR(band=97, fwhm=True, sigma=True) == approx(164.72, abs=1e-2) # Selected bands array assert_array(VIMS_IR(band=[97, 352]), [.884210, 5.122500]) assert_array(VIMS_IR(band=[97, 352], fwhm=True), [.012878, .016]) # Time offset assert VIMS_IR(band=97, year=2002) == approx(.884210, abs=1e-6) assert VIMS_IR(band=97, year=2005) == approx(.884210, abs=1e-6) assert VIMS_IR(band=97, year=2001.5) == approx(.885410, abs=1e-6) # +.0012 assert VIMS_IR(band=97, year=2011) == approx(.890210, abs=1e-6) # +.006 # Time offset on all IR bands wvlns_2011 = VIMS_IR(year=2011) assert len(wvlns_2011) == 256 assert wvlns_2011[0] == approx(.890210, abs=1e-6) assert wvlns_2011[-1] == approx(5.128500, abs=1e-6) # No change in FWHM with time assert VIMS_IR(band=97, year=2001.5, fwhm=True) == .012878 # Outside IR band range assert np.isnan(VIMS_IR(band=0)) assert np.isnan(VIMS_IR(band=96, fwhm=True)) assert np.isnan(VIMS_IR(band=353, sigma=True)) def test_vims_vis(): """Test VIMS VIS wavelengths.""" # Standard wavelengths wvlns = VIMS_VIS() assert len(wvlns) == 96 assert wvlns[0] == .350540 assert wvlns[-1] == 1.045980 # Full-width at half maximum value fwhms = VIMS_VIS(fwhm=True) assert len(fwhms) == 96 assert fwhms[0] == .007368 assert fwhms[-1] == .012480 # Wavenumber (cm-1) wvnb = VIMS_VIS(sigma=True) assert len(wvnb) == 96 assert wvnb[0] == approx(28527.41, abs=1e-2) assert wvnb[-1] == approx(9560.41, abs=1e-2) # Single band assert VIMS_VIS(band=96) == 1.045980 assert VIMS_VIS(band=96, fwhm=True) == .012480 assert VIMS_VIS(band=96, sigma=True) == approx(9560.41, abs=1e-2) assert VIMS_VIS(band=96, fwhm=True, sigma=True) == approx(114.07, abs=1e-2) # Selected bands array assert_array(VIMS_VIS(band=[1, 96]), [.350540, 1.045980]) assert_array(VIMS_VIS(band=[1, 96], fwhm=True), [.007368, .012480]) # Time offset with raises(ValueError): _ = VIMS_VIS(band=97, year=2002) with raises(ValueError): _ = VIMS_VIS(year=2011) # Outside IR band range assert np.isnan(VIMS_VIS(band=0)) assert np.isnan(VIMS_VIS(band=97, fwhm=True)) assert np.isnan(VIMS_VIS(band=353, sigma=True)) def test_bad_ir_pixels(): """Test bad IR pixels list.""" csv = np.loadtxt(ROOT_DATA / 'wvlns_std.csv', delimiter=',', usecols=(0, 1, 2, 3), dtype=str, skiprows=98) # Extract bad pixels wvlns = np.transpose([ (int(channel), float(wvln) - .5 * float(fwhm), float(fwhm)) for channel, wvln, fwhm, comment in csv if comment ]) # Group bad pixels news = [True] + list((wvlns[0, 1:] - wvlns[0, :-1]) > 1.5) bads = [] for i, new in enumerate(news): if new: bads.append(list(wvlns[1:, i])) else: bads[-1][1] += wvlns[2, i] assert_array(BAD_IR_PIXELS, bads) coll = bad_ir_pixels() assert len(coll.get_paths()) == len(bads) def test_moving_median(): """Test moving median filter.""" a = [1, 2, 3, 4, 5] assert_array(moving_median(a, width=1), a) assert_array(moving_median(a, width=3), [1.5, 2, 3, 4, 4.5]) assert_array(moving_median(a, width=5), [2, 2.5, 3, 3.5, 4]) assert_array(moving_median(a, width=2), [1.5, 2.5, 3.5, 4.5, 5]) assert_array(moving_median(a, width=4), [2, 2.5, 3.5, 4, 4.5]) def test_is_hot_pixel(): """Test hot pixel detector.""" # Create random signal signal = np.random.default_rng().integers(20, size=100) # Add hot pixels signal[10::20] = 50 signal[10::30] = 150 hot_pix = is_hot_pixel(signal) assert len(hot_pix) == 100 assert 3 <= sum(hot_pix) < 6 assert all(hot_pix[10::30]) hot_pix = is_hot_pixel(signal, tol=1.5, frac=90) assert len(hot_pix) == 100 assert 6 <= sum(hot_pix) < 12 assert all(hot_pix[10::20]) def test_sample_line_axes(): """Test locatation sample and line axes.""" # 2D case assert sample_line_axes((64, 352)) == (0, ) assert sample_line_axes((256, 32)) == (1, ) # 3D case assert sample_line_axes((32, 64, 352)) == (0, 1) assert sample_line_axes((32, 352, 64)) == (0, 2) assert sample_line_axes((352, 32, 64)) == (1, 2) # 1D case with raises(TypeError): _ = sample_line_axes((352)) # No band axis with raises(ValueError): _ = sample_line_axes((64, 64)) def test_median_spectrum(): """Test the median spectrum extraction.""" # 2D cases spectra = [CHANNELS, CHANNELS] spectrum = median_spectrum(spectra) # (2, 352) assert spectrum.shape == (352,) assert spectrum[0] == 1 assert spectrum[-1] == 352 spectrum = median_spectrum(np.transpose(spectra)) # (352, 2) assert spectrum.shape == (352,) assert spectrum[0] == 1 assert spectrum[-1] == 352 # 3D cases spectra = [[CHANNELS, CHANNELS]] spectrum = median_spectrum(spectra) # (1, 2, 352) assert spectrum.shape == (352,) assert spectrum[0] == 1 assert spectrum[-1] == 352 spectrum = median_spectrum(np.moveaxis(spectra, 1, 2)) # (1, 352, 2) assert spectrum.shape == (352,) assert spectrum[0] == 1 assert spectrum[-1] == 352 spectrum = median_spectrum(np.moveaxis(spectra, 2, 0)) # (352, 1, 2) assert spectrum.shape == (352,) assert spectrum[0] == 1 assert spectrum[-1] == 352 def test_ir_multiplexer(): """Test spectrum split in each IR multiplexer.""" # Full spectrum spec_1, spec_2 = ir_multiplexer(CHANNELS) assert len(spec_1) == 128 assert len(spec_2) == 128 assert spec_1[0] == 97 assert spec_1[-1] == 351 assert spec_2[0] == 98 assert spec_2[-1] == 352 # IR spectrum only spec_1, spec_2 = ir_multiplexer(CHANNELS[96:]) assert len(spec_1) == 128 assert len(spec_2) == 128 assert spec_1[0] == 97 assert spec_1[-1] == 351 assert spec_2[0] == 98 assert spec_2[-1] == 352 # 2D spectra spectra = [CHANNELS, CHANNELS] spec_1, spec_2 = ir_multiplexer(spectra) assert len(spec_1) == 128 assert len(spec_2) == 128 assert spec_1[0] == 97 assert spec_1[-1] == 351 assert spec_2[0] == 98 assert spec_2[-1] == 352 # 3D spectra spectra = [[CHANNELS, CHANNELS]] spec_1, spec_2 = ir_multiplexer(spectra) assert len(spec_1) == 128 assert len(spec_2) == 128 assert spec_1[0] == 97 assert spec_1[-1] == 351 assert spec_2[0] == 98 assert spec_2[-1] == 352 # VIS spectrum only with raises(ValueError): _ = ir_multiplexer(CHANNELS[:96]) # Dimension too high with raises(ValueError): _ = ir_multiplexer([[[CHANNELS]]]) def test_ir_hot_pixels(): """Test IR hot pixel detector from spectra.""" qub = QUB('1787314297_1', root=DATA) # 1D spectrum hot_pixels = ir_hot_pixels(qub['BACKGROUND'][0]) assert len(hot_pixels) == 10 assert_array(hot_pixels, [105, 119, 124, 168, 239, 240, 275, 306, 317, 331]) # 2D spectra hot_pixels = ir_hot_pixels(qub['BACKGROUND']) assert len(hot_pixels) == 10 assert_array(hot_pixels, [105, 119, 124, 168, 239, 240, 275, 306, 317, 331])
python
#include <boost/numeric/ublas/fwd.hpp>
cpp
A contingent of Bihu dancers will be performing to welcome the trophy. GUWAHATI: The trophy of the most prestigious hockey tournament in the world will be brought to the city of Guwahati on December 8 to encourage the children and youth of the state to take part in this sport. Hockey is one of the oldest organised games in the country and the country has several international wins in its name in the pre-independence and early post-independence days. In order to revive this sport in the country in the modern day, the trophy of the most popular tournament of this sport will be displayed in several parts of the country. Assam and Manipur from the Northeastern part of the county will also be able to see this trophy. The International Hockey Federation organises the Men's FIH Hockey World Cup every four years. The state of Odisha in India is hosting the international for the second time in a row in the year 2023. The matches will take palace between 13 and 19 January in different stadiums in the state. Odisha is also one of the main sponsors for the National Hockey Team of India. The trophy is currently in transit and will reach the Guwahati Airport on December 8. According to a statement, Gitartha Goswami, Member Secretary of SLAC and General Secretary of Assam Hockey will be there to accept the trophy. The five-time olympian Tapan Das is also the Treasurer of Hockey India. The statement also mentioned that the contingent of Bihu dancers will be performing at the venue to welcome the trophy. It will thereafter be taken to the Hockey Stadium in Guwahati with an escort of a bike rally. The trophy will be on display in the stadium where several dignitaries and ministers including the chief minister and health and family welfare minister of the state are also scheduled to visit. The health minister of Assam, Keshab Mahanta is also the President of Assam Hockey. The statement added that several sportspersons from the state including national-level hockey players will also be present for the event. The association has invited enthusiasts from all across the state to join the rare opportunity as it will take twenty more years before the trophy visits the country again. They have also informed that Assam is working towards revamping the facilities in the state and aims to host international matches in the near future. Also Watch:
english
Power Star Pawan Kalyan’s most prestigious project “Gabbar Singh 2” shooting got delayed due to few internal issues. In the recent times, buzz appeared in the media that Pawan Kalyan used majority of his time to decide on the political career and this delayed “Gabbar Singh 2” shooting process. In couple of weeks, Pawan is expected to reveal his opinion on politics. He may even declare that he will enter politics through 2014 elections. With the entry of Pawan into politics, several changes will happens in AP politics. He may choose some party to enter into the zone and the other party members will target Pawan to dominate him and to increase their stamina. In this case, Pawan will counter attack the politicians and the time will be sufficient for Pawan to continue with the political world. He may not get time to work on “Gabbar Singh 2” project. This is in fact the thing Chiru faced, after entering politics. Hence, if this happens to Pawan Kalyan, “What about the future of ‘Gabbar Singh 2’? ” turned out to be a hot topic. We have to wait for few more days to know about this issue.
english
!! REVERSE RACISM !!AND WHY IT’S A MYTH; A THREAD;!PLEASE READ AND SHARE! #BlackLivesMatter What is Racism? Effects of Racism (Among Others) What is the concept of Reverse Racism? All of this. And it has been a sobering experience the past few days realizing the ways my "sideline sympathy" for #BlackLivesMatter over the years was & is wrong.
english
{"id": "M40211+P40211", "url": "http://www.fsis.usda.gov/inspection/fsis-inspected-establishments/fresh-food-manufacturing-company", "slug": "fresh-food-manufacturing-company", "name": "Fresh Food Manufacturing Company", "address": "2500 Lovi Road \n Freedom, PA 15042", "telephone": "(412) 963-6200", "grant_date": "2014-07-30", "activities": ["Meat Processing", "Poultry Processing"]}
json
Chennai Super Kings all-rounder Ravindra Jadeja returned to the practice nets after a two-month injury break. The CSK star had picked up a thumb injury during India's 2020-21 Australia tour. Jadeja has been out of action since January 2021. He missed the home Test series against England and might not play the white-ball games either. The all-rounder will most likely make his much-awaited comeback at the IPL 2021 for the Chennai Super Kings. Sharing an update on his preparations for the 14th IPL season, Ravindra Jadeja posted a video on Twitter, where he mentioned that he held the bat and the ball for the first time in two months. "Feeling good. Holding bat and ball after two months," Ravindra Jadeja captioned the clip. Following his surgery, Ravindra Jadeja had begun his recovery at the National Cricket Academy in Bengaluru. After working on his fitness for a few weeks, Jadeja finally returned to the 22 yards in the training nets. The BCCI has not yet announced the Indian squad for the ICC Cricket World Cup Super League series against England. Ravindra Jadeja has a chance of making his comeback in the ODIs. But since the IPL 2021, the World Test Championship Final, and the ICC T20 World Cup will take place later this year, the board might allow Jadeja some more time to rest. Ravindra Jadeja has been one of the best all-rounders in IPL history. He won the championship with the Rajasthan Royals in 2008. Ten years later, Jadeja became a two-time IPL champion when the Chennai Super Kings lifted the trophy. The Super Kings bought Jadeja in the 2012 auction. Since then, the all-rounder has represented the Chennai-based franchise in 116 matches, aggregating 1,097 runs at a strike rate of 133.94. He scored his maiden IPL fifty for CSK last year. With his left-arm spin, Jadeja has picked up 85 wickets for the Chennai Super Kings. All of his four 4-wicket hauls in the IPL have come while donning the yellow jersey. It will be interesting to see if he can continue his fine form in the league.
english
Samsung is getting ready to release the fifth iteration of Galaxy Z Fold and Galaxy Z Flip during its Unpacked event in Korea next month. Most recently, renders of the Galaxy Z Fold 5 and Galaxy Z Flip 5 along with entire specifications, have been leaked by a tipster, leaving little to the imagination. The foldable smartphones are said to run on Snapdragon 8 Gen 2 SoC. They could debut with One UI 5.1.1 based on Google's latest Android 13. The Galaxy Z Fold 5 could ship with a 4,400mAh battery, while the Galaxy Z Flip 5 could be backed by a 3,700mAh battery. Known tipster SnoopyTech (@snoopytech), via XDA Developers, leaked the alleged renders and full specification sheet of the upcoming Galaxy Z Fold 5 and Galaxy Z Flip 5. The leaked renders show the Galaxy Z Fold 5 in three colour options with a hole punch display design with minimal bezels. The images indicate a similar design language to that of Galaxy Z Fold 4. It appears to have a vertically arranged triple camera setup at the back. The volume rockers and the power button are seen placed on the right edge. The Galaxy Z Flip 5 seems to have a large cover screen similar to that of the Motorola Razr 40 Ultra. It appears to have a hole-punch display design with flat sides. Samsung seems to have changed the dual camera alignment from vertical to horizontal. As per the leak, the Galaxy Z Fold 5 is said to ship in cream, icy blue, and phantom black shades. The Galaxy Z Flip 5, on the other hand, is said to be available in four shades including cream, graphite and lavender. Samsung Galaxy Z Fold 5 specifications (expected) The dual SIM(nano+eSIM) Samsung Galaxy Z Fold 5 is said to run on Android 13 with One UI 5.1.1 on top. It could feature a 7.6-inch full-HD+(1,812, 2,176 pixels) Dynamic AMOLED inner display with a dynamic refresh rate that goes up to 120Hz and goes down to as low as 1Hz. The outer screen is likely to be a 6.2-inch Dynamic AMOLED display with a 904 x 2,316 pixels resolution and up to 120Hz refresh rate. The foldable is expected to be powered by a Snapdragon 8 Gen 2 SoC, paired with 12GB of RAM. There could be 256GB and 512GB storage options as well. For optics, the Galaxy Z Fold 5 is said to include a 50-megapixel primary camera with f/1.8 aperture, accompanied by a 12-megapixel ultra-wide camera and a 12-megapixel telephoto shooter with f/2.2 apertures. For selfies and video chats, there could be a 10-megapixel front camera with f/2.2 aperture. Also, the foldable could feature a 4-megapixel under-display camera with f/1.0 aperture on the internal display. Samsung Galaxy Z Flip 5 specifications (expected) Coming to the Galaxy Z Flip 5, the dual SIM(nano+eSIM) is also said to come with Android 13 with One UI 5.1.1 on top. It is likely to get a 6.7-inch full-HD+ (1,080, 2,640 pixels) Dynamic AMOLED main display with a variable refresh rate of up to 120Hz. The outer screen is tipped to be a 3.4-inch 748 x 720 panel with an adaptive refresh rate ranging from 1Hz to 120Hz. Like the Galaxy Z Fold 5, the Galaxy Z Flip 5 could be powered by the Snapdragon 8 Gen 2 SoC paired with 8GB of RAM. It is said to come in 265GB and 512GB storage options. The Galaxy Z Flip 5 is said to sport a 12-megapixel primary camera with f/1.8 aperture alongside a 12-megapixel ultra-wide shooter with f/2.2 aperture. There could be a 10-megapixel selfie camera with f/2.4 aperture. Connectivity options could include USB Type-C 3.2 port, Bluetooth 5.2, and Wi-Fi 6E. The Galaxy Z Flip 5 could be backed by a 3,700mAh battery. It is said to measure 71.9x85.1x15.1mm. Samsung Galaxy A34 5G was recently launched by the company in India alongside the more expensive Galaxy A54 5G smartphone. How does this phone fare against the Nothing Phone 1 and the iQoo Neo 7? We discuss this and more on Orbital, the Gadgets 360 podcast. Orbital is available on Spotify, Gaana, JioSaavn, Google Podcasts, Apple Podcasts, Amazon Music and wherever you get your podcasts. Affiliate links may be automatically generated - see our ethics statement for details.
english
{ "atHoneycomb":"pri úli", "atFlower":"pri kvetine", "avoidCowAndRemove":"vyhnite sa krave a odstráňte 1", "continue":"Pokračovať", "dig":"odstrániť 1", "digTooltip":"odstrániť 1 jednotku hliny", "dirE":"V", "dirN":"S", "dirS":"J", "dirW":"Z", "doCode":"vykonaj", "elseCode":"ináč", "fill":"vyplniť 1", "fillN":"vyplniť {shovelfuls}", "fillStack":"vyplniť naraz {shovelfuls} jamy", "fillSquare":"vyplniť štvorec", "fillTooltip":"polož 1 jednotku hliny", "finalLevel":"Gratulujem! Vyriešil si poslednú úlohu.", "flowerEmptyError":"Táto kvetina nemá viac nektáru.", "didNotCollectEverything":"Uistite sa, že po sebe nenecháte žiadny nektár ani med!", "get":"získať", "heightParameter":"výška", "holePresent":"tam je jama", "honey":"vyrob med", "honeyAvailable":"med", "honeyTooltip":"Vyrob med z nektáru", "honeycombFullError":"Tento úľ nemá miesto pre viac medu.", "ifCode":"ak", "ifInRepeatError":"Potrebujete blok s \"keby\" vo vnútri bloku \"opakovať\". Ak máte problémy, pozrite si predchádzajúcu úroveň znova, aby ste videli, ako to fungovalo.", "ifPathAhead":"ak je cesta vpred", "ifTooltip":"Ak sa tam nachádza cesta v určenom smere, sprav niektoré opatrenia.", "ifelseTooltip":"Ak je v určenom smere cesta, potom vykonaj prvý blok akcií. V opačnom prípade vykonaj druhý blok akcií.", "ifFlowerTooltip":"Ak je kvetina\/úľ v určenom smere, potom urob niektoré akcie.", "ifOnlyFlowerTooltip":"Pokiaľ je kvetina v danom smere, tak vykonaj nejaké akcie.", "ifelseFlowerTooltip":"Ak je kvetina\/úľ v určenom smere, potom urob prvý blok činností. Ináč urob druhý blok činností.", "insufficientHoney":"Musíte vyrobiť správne množstvo medu.", "insufficientNectar":"Používate správne bloky, ale musíte pozbierať správne množstvo nektáru.", "make":"spravte", "moveBackward":"posunúť dozadu", "moveEastTooltip":"Posunie ma o jedno miesto na východ.", "moveForward":"posunúť dopredu", "moveForwardTooltip":"Presunúť ma jedno pole vpred.", "moveNorthTooltip":"Posunie ma o jedno miesto na sever.", "moveSouthTooltip":"Posunie ma o jedno miesto na juh.", "moveTooltip":"Posunie ma o jedno miesto dopredu\/dozadu", "moveWestTooltip":"Posunie ma o jedno miesto na západ.", "nectar":"získať nektár\n", "nectarRemaining":"nektár", "nectarTooltip":"Získať nektár z kvetu", "nextLevel":"Gratulujem! Vyriešil si hádanku.", "no":"Nie", "noPathAhead":"cesta je blokovaná", "noPathLeft":"žiadna cesta vľavo", "noPathRight":"žiadna cesta vpravo", "notAtFlowerError":"Nektár môžete získať len z kvetu.", "notAtHoneycombError":"Med môžete vyrobiť iba v úli.", "numBlocksNeeded":"Táto hádanka môže byť vyriešená s %1 blokmi.", "pathAhead":"cesta vpred", "pathLeft":"ak je cesta vľavo", "pathRight":"ak je cesta vpravo", "pilePresent":"tu je hromada", "putdownTower":"polož vežu", "removeAndAvoidTheCow":"odstráň 1 a vyhni sa krave", "removeN":"odstránte {shovelfuls}", "removePile":"odstráňte hromadu", "removeStack":"odstráňte naraz {shovelfuls} hromady", "removeSquare":"odstrániť štvorec", "repeatCarefullyError":"Aby ste toto vyriešili, starostlivo popremýšľajte o opakovaní dvoch pohybov a odbočke ktoré pridáte do bloku \"opakovať\". Je v poriadku ak máte na konci odbočku navyše.", "repeatUntil":"opakovať dokiaľ", "repeatUntilBlocked":"pokiaľ je cesta vpred", "repeatUntilFinish":"opakovať do konca", "step":"Krok", "totalHoney":"celkové množstvo medu", "totalNectar":"celkové množstvo nektáru", "turnLeft":"otočiť vľavo", "turnRight":"otočiť vpravo", "turnTooltip":"Obráti ma doľava alebo doprava o 90 stupňov.", "uncheckedCloudError":"Nezabudnite skontrolovať všetky oblaky či sú kvety alebo úle.", "uncheckedPurpleError":"Nezabudnite skontrolovať všetky fialové kvety či majú nektár", "whileMsg":"pokiaľ", "whileTooltip":"Opakujte priložené činnosti dokým dosiahnete cieľový bod.", "word":"<NAME>", "yes":"Áno", "youSpelled":"Vyhláskovali ste" }
json
<reponame>bundie1990/new-website {"css/xeditable.css":"<KEY>,"js/xeditable.js":"<KEY>,"js/xeditable.min.js":"<KEY>}
json
<reponame>caorui33707/ruikun<filename>niushop/template/wap/default/public/css/person-v4.4.css @charset "utf-8"; .myorder .tabs-content > .content{padding:0;} .myorder-none .icon-none{display:block;width:70px;height:120px;margin:80px auto 0 auto;background:url("../images/distribution2.png") no-repeat -229px -160px;background-size:300px 1000px;} .myorder-none .nonetext{display:block;text-align:center;font-size:14px;color:#999;} .myorder-none .nonelink{display:block;margin-top:20px;text-align:center;text-decoration:underline;} .list-myorder{margin:0 0 10px 0;padding-top:10px;border-bottom:1px solid #eee;font-size:14px;background:#fff;} .list-myorder .ordernumber{height:35px;line-height:35px;margin:0 15px;border-bottom:1px solid #e5e5e5;} .list-myorder .order-num{float:left;color:#333;font-size:16px;} .list-myorder .order-date{float:right;color:#999;} .list-myorder .ul-product{margin:5px 15px;line-height:1.2;} .list-myorder li{padding:10px 0;list-style:none;border-bottom:1px dotted #ccc;overflow:hidden;} .list-myorder .pic{float:left;width:70px;height:70px;margin-right:10px;padding:1px;} .list-myorder .pic img{width:100%;height:100%;} .list-myorder .text{overflow:hidden;font-size:14px;} .list-myorder .pro-name{color:#333;font-size:14px;} .list-myorder .pro-pric{margin-top:5px;color:#333;font-size:16px;} .list-myorder .pro-pric span{font-size:14px;color:#999;} .list-myorder .pro-pec{color:#999;} .list-myorder .pro-pec .color{margin-right:5px;} .list-myorder .pro-return{margin-top:5px;} .list-myorder .div-return{padding-left:80px;padding-top:10px;font-size:14px;} .list-myorder .a-return{display:block;border:0px solid #e3e3e3;background:#fff;color:#45a5cf;} .list-myorder .status-ing{color:#ff9000;} .list-myorder .status-over{color:#ccc} .list-myorder .totle{height:40px;line-height:40px;padding:0 15px;overflow:hidden;} .list-myorder .totle .status{float:left;color:#999;} .list-myorder .totle .prc-num{float:right;margin-right:5px;color:#333;} .list-myorder .totle .pric-lable{float:right;color:#999;} .list-myorder .totle .price{float:right;font-size:20px;color:#f37872;} .list-myorder .div-button{padding:10px 0;margin:0 15px;border-top:1px solid rgba(0,0,0,.1);} .list-myorder .div-button:before, .list-myorder .div-button:after{content:".";display:block;height:0;clear:both; visibility:hidden;} .list-myorder .div-button a.button{float: right;margin-left:10px;font-size: 14px; height: 35px;line-height: 35px; width: 80px;} .list-myorder button,.list-myorder .button{margin:0;} .list-myorder.orderend .totle .price{float:right;font-size:20px;color:#999;} .ordersummary{padding:0 15px;margin:55px 0 10px 0;font-size:16px;} .ordersummary li{margin:0;padding:0;height:30px;} .ordersummary label{float:left;margin:2px 10px 0 0;color:#999;font-size:16px;} .ordersummary span{overflow:hidden;display:inline-block;font-size:18px;} .ordersummary .red{color:#f37872;} .address-myorder{margin:0 15px 10px 15px;padding:10px;border:1px solid #d9d9d9;border-radius:3px;box-shadow:0 2px 2px rgb(230,230,230);font-size:14px;} .address-myorder .col-label{float:left;margin-right:10px;font-size:16px;} .address-myorder .address{overflow:hidden;margin:0;} .address-myorder .name{margin-right:10px;} .myorderd-button{margin:20px 0 0 0;padding:0 15px;} .myorderd-button .button{margin-bottom:10px;} .order-detail .order-detail-l{float:left;margin-right:10px;} .order-detail .order-detail-l .icon-orders-small, .order-detail .order-detail-l .icon-address-small, .order-detail .order-detail-l .icon-double-round, .order-detail .order-detail-l .icon-talks-small {width:20px;line-height:22px; text-align:center;font-size:25px;} .order-detail .order-detail-r{overflow:hidden} .order-detail .order-detail-r ul{margin:0;list-style:none;font-size:12px;} .order-detail .order-detail-r ul li { padding:0 0 4px 0;} .order-detail .order-detail-r ul li:last-child { padding-bottom:0;} .order-detail .order-detail-r .name, .order-detail .order-detail-r .name .label{line-height:12px;font-size:12px; } .order-detail .order-detail-r .label {padding:0;background:none;color:#333; } .order-detail .order-detail-r .label.log-title{font-size:14px;} .order-detail-sum {padding:10px 15px;border-bottom:1px solid #4598c1;background:#51a5ce;color:#fff;} .order-detail-sum .sum-r-ul .status{line-height:14px;font-size:14px; } .order-detail-sum .sum-r-ul .label {color:#fff;} .order-detail-address {padding:0 15px;background:#fff;color:#333;} .order-detail-address .address-out {padding:10px 0;border-bottom:1px solid #e3e3e3; } .order-detail-logistics{position:relative;padding:0 15px;background:#fff;color:#333;} .order-detail-logistics .logistics-out{display:block;padding:10px 0;border-bottom: 1px solid #e3e3e3;} .order-detail-logistics .leftpoint{position: absolute;top:15px;left:17px;background:#45a5cf;width:15px;height:15px;border: 2px solid #b6e9ff;border-radius:50%;z-index:2;} .order-detail-logistics .leftline{position:absolute;left:24px;width:1px;top:20px;bottom:20px;background:#e5e5e5;z-index:1;} .order-detail-logistics .log-r{margin-left:25px;} .order-detail-logistics .log-r-ul li .log-time{color:#999;} .order-detail-logistics .arrow{position:absolute;top:45%;right:20px;background: url("../images/icon-ps.png") -55px 0;width:6px;height:11px;} .order-detail-noLogistics{padding:0 15px;background:#fff;color:#333;} .order-detail-noLogistics .noLogistics-out{padding: 10px 0;border-bottom:1px solid #e3e3e3;} .order-detail-noLogistics .alert-no{color:#999;} .order-detail-remark {padding:0 15px;border-bottom:1px solid #e3e3e3;background:#fff;color:#333;} .order-detail-remark .remark-out {padding:10px 0; } .order-detail .list-myorder{margin:10px 0 65px 0;padding-top:0px;border-top:1px solid #e3e3e3;border-bottom:1px solid #e3e3e3;background:#fff;} .order-detail .list-myorder .text{font-size:12px;overflow:hidden;} .order-detail .list-myorder .pro-name{color:#666;font-size:12px;} .order-detail .list-myorder .pro-pric{margin-top:5px;color:#333;font-size:12px;} .order-detail .list-myorder .pro-pric span{color:#999;font-size:12px;} .order-detail .list-myorder .pro-pec{color:#999;font-size:12px;} .order-detail .list-myorder .pro-pec .color{margin-right:5px;font-size:12px;} .order-detail .list-myorder .pro-return{font-size:14px;} .order-detail .money-row{line-height:25px;overflow: hidden;font-size:14px;} .order-detail .money-content{padding:0 15px 15px 15px;} .order-detail .money-content .name{float:left;} .order-detail .money-content .price{float:right;} .order-detail .totle-money-row {line-height:30px;overflow: hidden;font-size:18px;} .order-detail .totle-money-row .price{color:#f37872;} .bottom-btn-row{position:fixed;left:0;bottom:0;margin:0;padding:10px 0;border-top:1px solid rgba(0,0,0,.1);width:100%;background:#fff;z-index:99;} .bottom-btn-row a.button{float:right;margin:0 10px 0 0;font-size:14px;height:35px;line-height:35px;width:80px;} .return-process{background:#f7f7f7;border-bottom:1px dashed #ccc;} .return-process ul{list-style:none;margin:0 auto 20px auto;width:300px;} .return-process li{float:left;margin-top:20px;} .return-process .name{margin:0;color:#999;font-size:10px;text-align:center;} .return-process .number{display:inline-block;width:20px;height:20px;line-height:20px;border-radius:50%;background:#ccc;color:#fff;font-weight:bold;text-align:center;vertical-align:middle;} .return-process .prcess-line{display:inline-block;height:2px;width:60px;background:#ccc; vertical-align:middle;} .return-process .prcess-line-l{margin-right:-5px;} .return-process .prcess-line-r{margin-left:-5px;} .return-process .step01 .name{text-align:left;} .return-process .step03 .name{text-align:right;} .return-process .current .name{color:#f37872;} .return-process .current .number, .return-process .current .prcess-line{background:#f37872;} .form-c{margin:20px 0 0 0;} .form-c .row{margin:15px 0 0 0;font-size:16px;} .form-c .row:nth-child(2){margin-top:0px;} .form-c label{margin-bottom:5px;font-size:16px;} .none-goods{margin:20px 15px 0 15px;} .none-goods .icon-tip-circle{float:left;margin-right:10px;font-size:50px;color:#45a5cf;} .none-goods .text{overflow:hidden;} .none-goods .text h4{margin-top:10px;} .none-goods .text ul{color:#999;} .wait-seller-agree{margin:20px 15px 0 15px;} .wait-seller-agree .icon-tip-circle{float:left;margin-right:10px;font-size:50px;color:#45a5cf;} .wait-seller-agree .text{overflow:hidden;} .wait-seller-agree .text h4{margin-top:10px;} .seller-agree{margin:20px 15px 0 15px;} .seller-agree h5{margin:20px 0 5px 0;font-size:16px;overflow:hidden;} .seller-agree h5 small{display:block;margin:8px 0 10px 25px;color:#999;} .seller-agree .explanation{margin:0;font-size:16px;} .seller-agree .address{margin:0;line-height:25px;font-style:normal;} .seller-agree .tel{margin-left:10px;} .seller-agree .express-form{margin-top:10px;} .return-success{margin:20px 15px 0 15px;} .return-success .icon-right-circle{float:left;margin-right:10px;font-size:50px;color:#7bc351;} .return-success .icon-tip-circle{float:left;margin-right:10px;font-size:50px;color:#45a5cf;} .return-success .text{overflow:hidden;} .return-success .text h4{margin-top:10px;} .return-success .text .time{margin:0;color:#999;font-size:14px;} .return-success .text .money{margin:0;} .disagree-return{margin:20px 15px 0 15px;} .disagree-return .icon-tip-circle{float:left;margin-right:10px;font-size:50px;color:#45a5cf;} .disagree-return .text{overflow:hidden;} .disagree-return .text h4{margin-top:10px;} .disagree-return .operate{margin:20px 0;} .disagree-return .btn-goon{display:inline-block;height:35px;line-height:35px;font-size:16px;} .disagree-return .btn-sub{display:inline-block;margin-right:10px;width:100px;height:35px;line-height:35px;font-size:16px;} .hongbao-list{margin:0;list-style:none;color:#333;} .hongbao-list li{position:relative;margin:0 10px 5px 10px;color:#fff;} .hongbao-list li:before, .hongbao-list li:after{content:".";display:block;height:0;clear:both;visibility:hidden;} .hongbao-list li.nothave{background:#D25C45;} .hongbao-list li.had{background:#ccc;} .hongbao-list li a{display:block;color:#fff;} .hongbao-list li a:active{background:#C94D37;} .hongbao-list .round-border{position:absolute;left:0;right:0;height:5px;background:url("../images/radius.png") repeat-x;background-size:5px;} .hongbao-list .round-border.top{top:-3px;} .hongbao-list .round-border.bottom{bottom:-3px;} .hongbao-list .number-money{float:left;padding:10px 0 10px 10px;width:40%;line-height:70px;font-size:26px;} .hongbao-list .infor{margin:0;padding:15px 0 15px 0;line-height:20px;overflow:hidden;} .hongbao-list .infor .name, .hongbao-list .infor .time, .hongbao-list .infor .status{display:block;} .hongbao-list .infor .name{font-size:16px;color:rgba(255,255,255,.8);} .hongbao-list .infor .time{font-size:12px;color:rgba(255,255,255,.6);} .hongbao-list .infor .status{margin-top:0;font-size:12px;color:rgba(255,255,255,.6);} .youhuiquan-list{margin:0 10px 10px 10px;list-style:none;} .youhuiquan-list li{margin-bottom:10px;} .youhuiquan-list .a-out{position:relative;display:block;line-height:12px;box-shadow:0 1px 2px rgba(0,0,0,.05); color:#ffae01;font-size:12px; background:-webkit-gradient(linear,left top,left bottom,from(#f9f9f9),to(#fff)); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#f9f9f9', endColorstr='#fff'); background:-ms-linear-gradient(top,#f9f9f9 0,#fff 100%); background:-o-linear-gradient(top,#f9f9f9,#fff); background:-moz-linear-gradient(top,#f9f9f9,#fff); background:linear-gradient(top,#f9f9f9,#fff);} .youhuiquan-list .a-out:before, .youhuiquan-list .a-out:after{content:".";display:block;height:0;clear:both;visibility:hidden;} .youhuiquan-list .a-out p{margin:0;} .youhuiquan-list .p-l { float: left; padding: 15px 0; border-top: solid 1px #f1f1f1; border-bottom: solid 1px #f1f1f1; box-sizing: border-box; width: 80%; height: 65px; border-radius: 3px; text-align: center; } .youhuiquan-list .circle{position:absolute;z-index:1;top:0;height:100%;width:8px;} .youhuiquan-list .circle.left{left:-3px;background:url("../images/left-harf-radius.png") repeat-y;background-size:5px;} .youhuiquan-list .circle.right{right:-6px;background:url("../images/right-harf-radius.png") repeat-y;background-size:5px;} .youhuiquan-list .p-l .active-img{float:left;margin:0 10px;width:35px;height:35px;line-height:35px;border-radius:50%;border:1px solid #ffe7b6; box-shadow:0 0 2px #ffdb8e; font-size:14px;color:#e4a015;} .youhuiquan-list .p-l .active-msg{overflow:hidden;text-align:left;} .youhuiquan-list .p-l .name{line-height:18px;font-size:14px;color:#333;} .youhuiquan-list .p-l .date{margin-top:5px;color:#dacfb7;} .youhuiquan-list .p-r{position:relative;padding:10px 0;height:65px;background:#ffae01;border-left:1px dashed rgba(255,255,255,.5); color:#fff;text-align:center;overflow:hidden;} .youhuiquan-list .p-r .number-money{line-height:28px;font-size:20px;} .youhuiquan-list .p-r .explanation{display:block;color:#ffe7b4;} .youhuiquan-list .p-r .uneless-img {display:none; position:absolute;top:5px;bottom:5px;left:5px;right:5px;background:url("../images/stamp-useless.png") no-repeat;background-size:auto 100%;} .youhuiquan-list .p-r .due-img {display:none;position:absolute;top:5px;bottom:5px;left:5px;right:5px;background:url("../images/stamp-due.png") no-repeat;background-size:auto 100%; } .youhuiquan-list .useless .a-out, .youhuiquan-list .pastdue .a-out { background:#fafafa;} .youhuiquan-list .useless .p-l, .youhuiquan-list .pastdue .p-l{ border-top:1px solid #f1f1f1;border-bottom:1px solid #f1f1f1; color:#ccc;} .youhuiquan-list .useless .p-l .active-img, .youhuiquan-list .pastdue .p-l .active-img{ border:1px solid #eee;box-shadow:0 0 2px #ddd;color:#ddd;} .youhuiquan-list .useless .p-l .name, .youhuiquan-list .pastdue .p-l .name {color:#ccc; } .youhuiquan-list .useless .p-l .date, .youhuiquan-list .pastdue .p-l .date {color:#ccc; } .youhuiquan-list .useless .p-r, .youhuiquan-list .pastdue .p-r{background:#e5e2de;} .youhuiquan-list .useless .p-r .explanation, .youhuiquan-list .pastdue .p-r .explanation { color:#fff;} .youhuiquan-list .useless .p-r .uneless-img, .youhuiquan-list .pastdue .p-r .due-img { display:block;} .yhq-main{padding:10px;} .yhq-main .yhq-detail{position:relative;padding:20px 15px; background:#ffae01;color:#ffffff;font-size:12px;} .yhq-main .yhq-detail h2{margin-bottom:10px;text-align:center;color:#ffffff;font-size:18px;font-weight:normal;} .yhq-main .yhq-detail .circle{position:absolute;z-index:1;left:0;right:0;height:8px;width:100%;background:url("../images/radius-eee.png") repeat-x;background-size:8px;} .yhq-main .yhq-detail .circle.top{top:-5px;} .yhq-main .yhq-detail .circle.bottom{bottom:-3px;} .yhq-main .yhq-detail .double-line{height:5px;line-height:5px;border-top:solid 1px #fff;border-bottom:solid 1px #fff;text-align:center;} .yhq-main .yhq-detail .double-line .line-txt{padding:0 10px;background:#ffae01;} .yhq-main .yhq-detail .yhq-info{position:relative;margin:40px 0 0 0 ;padding:5px 0;} .yhq-main .yhq-detail .yhq-info .d-left{margin-right:100px;} .yhq-main .yhq-detail .yhq-info .d-left .yhq-money{font-size:40px;} .yhq-main .yhq-detail .yhq-info .d-left .yhq-explanation{font-size:16px;line-height:30px;} .yhq-main .yhq-detail .yhq-info .d-right{position:absolute;top:0;right:0px;margin:0 10px;} .yhq-main .yhq-detail .yhq-info .d-right.active-img{width:90px;height:90px;line-height:90px;border-radius:50%;border:1px solid #ffbb29; box-shadow:0 0 2px #ffdb8e;text-align:center; font-size:35px;color:#ffbb29;} .yhq-main .yhq-operate {padding:20px 10px; background:#fff;border-bottom-left-radius:3px;border-bottom-right-radius:3px; box-shadow:0 5px 5px rgba(0,0,0,.05);} .yhq-main .yhq-operate .status-share { padding:0 0 10px 0; line-height:30px; font-size:14px;} .yhq-main .yhq-operate .status-share:before, .yhq-main .yhq-operate .status-share:after { content:".";display:block;height:0;clear:both; visibility:hidden;} .yhq-main .yhq-operate .status-share .status-span {float:left; } .yhq-main .yhq-operate .status-share .share-span {float:right; color:#45a5cf;} .yhq-main .yhq-operate .status-share .share-span .icon-share {display:inline-block; margin-right:5px;width:30px;height:30px;line-height:30px;border-radius:50%;border:1px solid #e4f7ff;font-size:20px; vertical-align:middle;text-align:center;} .yhq-main .yhq-operate .btn-use { margin:10px 0 0 0;} .orderInfo{border-bottom: 1px solid #eee;padding:15px 15px 10px 15px;} .orderInfo .name{font-size:18px;color:#000;} .orderInfo .orderNum { margin-top:5px;} .orderInfo .orderNum, .orderInfo .orderState{line-height:20px;font-size:14px;color:#666;} .no-lastborder li:last-child{border-bottom:none;} .physical-product { background:#fff;} .physical-product .title {margin: 0 15px;padding:15px 0;border-bottom:1px solid #e5e5e5; font-size:14px;} .physical-product .ul-product{margin:5px 15px 10px 15px;line-height:1.2;} .physical-product li{padding:10px 0;list-style:none;border-bottom:1px dotted #ccc;overflow:hidden;} .physical-product .pic{float:left;width:70px;height:70px;margin-right:10px;padding:1px;} .physical-product .pic img{width:100%;height:100%;} .physical-product .text{font-size:12px;overflow:hidden;} .physical-product .pro-name{color:#666;} .physical-product .pro-pric{margin-top:5px;color:#333;} .physical-product .pro-pric span{color:#999;} .physical-product .pro-pec{color:#999;} .physical-product .pro-pec .color{margin-right:5px;} .list-logistics{margin:0;border-bottom: 1px solid #eee;font-size: 14px;background: #fff;} .list-logistics .title{margin: 0 15px;padding:15px 0;border-bottom:1px solid #e5e5e5; font-size:14px;} .ul-logistics{margin: 0px 15px 0 15px;line-height: 1.2;} .ul-logistics li{list-style: none;position:relative;font-size:10px;color:#a9a9a9;} .ul-logistics li:first-child{color:#45a5cf;} .ul-logistics .leftpoint{position:absolute;left:-22px;height:10px;width:10px;top: 21px;border-radius:10px;background:#cccccc;z-index:2;} .ul-logistics li:first-child .leftpoint {background:#45a5cf;width:15px;height:15px;border: 2px solid #b6e9ff;left: -24px; top: 17px;} .ul-logistics .leftline{position:absolute;left:-17px;width:1px;top:-5px;bottom:0;background:#e5e5e5;z-index:1;} .ul-logistics li:first-child .leftline{margin-top:30px;} .ul-logistics li .text {padding:15px 0;margin-left:10px;border-bottom: 1px solid #eeeeee;} .ul-logistics li .logistics-time{margin-top:3px;font-size:12px;} .integral .top-count{padding:15px;box-shadow: 0 2px 2px rgb(220,220,220); background:-webkit-gradient(linear,left top,left bottom,from(#5db7e3),to(#51a5ce)); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#5db7e3', endColorstr='#51a5ce'); background:-ms-linear-gradient(top,#5db7e3 0,#51a5ce 100%); background:-o-linear-gradient(top,#5db7e3,#51a5ce); background:-moz-linear-gradient(top,#5db7e3,#51a5ce); background:linear-gradient(top,#5db7e3,#51a5ce); } .integral .top-count-content{position:relative;padding:15px;border-radius:10px; color:#cbcbcb;font-size:12px; background:-webkit-gradient(linear,left top,left bottom,from(#fafdff),to(#fff)); filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#fafdff', endColorstr='#fff'); background:-ms-linear-gradient(top,#fafdff 0,#fff 100%); background:-o-linear-gradient(top,#fafdff,#fff); background:-moz-linear-gradient(top,#fafdff,#fff); background:linear-gradient(top,#fafdff,#fff); } .integral .top-count-content .integral-help{float:right;margin-top:5px;color:#3c9ded;font-size:12px;} .integral .top-count-content .integral-help .icon-help{margin-right:5px;font-size:20px; vertical-align:middle;} .integral .top-count-content .button { margin-bottom:0;} .integral .top-count-content .i-circle { position:absolute;top:50%;width:8px;height:8px;margin-top:-3px;background:#51a5ce;border-radius:50%;} .integral .top-count-content .i-circle.left { left:-4px;} .integral .top-count-content .i-circle.right{right: -4px; } .integral .top-count-content .border-circle {position:absolute;left:0;bottom:-2px;width:100%;height:4px;background:url("../images/integral-circle.png") repeat-x; background-size:6px; } .integral .top-count-content-adv {font-size:16px;color:#333;} .integral .top-count-content-adv i.icon-jifen-circle { margin-right:5px;color:#ffae01;font-size:40px;vertical-align:middle;} .integral .top-count-content-title {margin:0 0 0 30px;color:#999;} .integral .top-count-content-num{margin:10px 5px 0 30px;font-size:30px;color:#ffae01;} .integral .top-count-content-num .unit { margin-left:5px;color:#999;font-size:12px;} .integral .top-count .go-shopbtn{margin:0;height:35px;background:#ffae01;border:none;line-height:35px;font-size:14px;} .integral-list {margin:15px;padding:20px 0 0 0;background:#fff;} .integral-list .line-center{display:block;height:1px;line-height:1px;text-align:center;background:#eee;} .integral-list .line-center .line-txt{padding:0 5px;color:#cbcbcb;background:#ffffff;font-size:12px;} .integral-list-ul{margin:10px 0 0 0;list-style:none;overflow:hidden;} .integral-list-ul li{position:relative;padding:10px 20px;min-height:65px;border-bottom:solid 1px #eee;width:100%;} .integral-list-ul li:before, .integral-list-ul li:after { content:".";display:block;height:0;clear:both;visibility:hidden;} .integral-list-ul .friend-header, .integral-list-ul .pro-img{position:absolute;left:0;margin-top:5px;width:50px;} .integral-list-ul .friend-header .icon-header {display:block;width:40px;height:40px;background:url("../images/icon-addition.png") no-repeat 0 -206px;background-size:500px;overflow:hidden; } .integral-list-ul .friend-header img{width:40px;height:40px;border-radius:50%;} .integral-list-ul .pro-img img{width:40px;height:40px;border-radius:3px;} .integral-list-ul .mid-infor {margin:0 80px 0 35px;font-size:12px;color:#333;} .integral-list-ul .mid-infor .name {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;color:#333;} .integral-list-ul .add-integral, .integral-list-ul .min-integral {position:absolute;top:30%;right:0;font-size:18px; } .integral-list-ul .add-integral{color:#ffae01;} .integral-list-ul .min-integral{color:#7bc351;} .integral-list-ul .integral-time{color:#cdcdcd;} .integral-help{border-bottom:1px solid #ebebeb;} .integral-help h3{margin:0 15px;padding:20px 0 10px 0;color:#51a5ce;font-size:16px;} .integral-help .icon-chunk-gray{display:inline-block;margin-right:10px;width:4px;height:20px;background:#ccc; border-bottom-left-radius:2px;border-bottom-right-radius:2px;} .integral-help .icon-chunk-blue{display:inline-block;width:4px;height:15px;background:#45a5cf;border-top-left-radius:2px;border-top-right-radius:2px; vertical-align:top;} .integral-help .help-txt{padding:0 15px 15px 15px;line-height:30px;font-size:14px;} .integral-help .integral-help-use {background:#ffffff; } .integral-help-method { margin-top:10px;background:#ffffff;} .integral-help-list{list-style:none;margin:0 15px;} .integral-help-list-li{position:relative;padding:10px 0;border-bottom:1px solid #dfdfdf;} .integral-help-list-li:last-child { border-bottom:0;} .integral-help-list-li i { margin-right:5px;} .integral-help-list-li .text-explanation {font-size:14px; } .integral-help-list-li .integral-num{position:absolute;top:15px;right:0;color:#51a5ce;font-size:18px;} .deposit-add { margin:60px 0 0 0;} .deposit-add .deposit-add-title{margin:15px 15px 10px 15px;color:#333;} .deposit-add-money {padding-left:15px;padding-right:5px;} .deposit-add-money .columns { padding:0 10px 10px 0;} .deposit-add-money .columns p{ position:relative; margin:0;padding:10px 0;border:1px solid #45a5cf;border-radius:3px; text-align:center;color:#45a5cf;font-size:18px;} .deposit-add-money .columns p small {display:block; font-size:12px;} .deposit-add-money .columns p .icon-success {position:absolute;right:5px;bottom:-5px;color:#fff;font-size:25px;} .deposit-add-money .columns.current p, .deposit-add-money .columns p:active{ background:#45a5cf;color:#fff;} .deposit-add-btn { padding:0 15px;} .deposit-add-btn .button.wechat {background:#44b549; border:1px solid #31a536;} .deposit-add-btn .button.wechat:active { background:#31a536;} .deposit-add-btn .button.alipay {background:#ffa800; border:1px solid #ff9000;} .deposit-add-btn .button.alipay:active { background:#ff9000;} .deposit .top-count{padding:10px 15px 0 15px;text-align:center;font-size:14px;color:#cbcbcb;} .deposit-adv { position:relative;border-bottom:1px solid #87da04; box-shadow:0 2px 2px rgba(0,0,0,.1);} .deposit-adv img { width:100%;} .deposit-adv .text{position:absolute;left:50%;top:35%;margin-left:-50px; color:#fff; } .deposit-adv .text em { color:#ffea00;font-size:20px;font-weight:bold;} .deposit .deposit-text-adv {padding:20px 15px;background-color:#fffcf9;border-bottom:1px solid #f7eee5; text-align:center;} .deposit .deposit-text-adv .text {color:#fe8800;font-size:20px; } .deposit .deposit-text-adv i{margin-right:5px;font-size:35px; color:#fe8800; vertical-align:middle;} .deposit .deposit-box{margin:0 auto;padding:40px 0;width:130px;height:130px;border-radius:50%;background:#ff8903; border:3px solid #ffc17a;box-shadow:0 3px 3px rgba(0,0,0,.1); color:#fff;} .deposit .deposit-box-title { color:#ffe9d0;} .deposit .deposit-box .deposit-num{margin-top:5px; font-size:24px;} .deposit .deposit-explanation {margin-bottom:10px; padding:15px;background:#fff; border-top:1px solid #ddd;border-bottom:1px solid #ddd;} .deposit .deposit-explanation-ul { margin:0;list-style:none;color:#555;font-size:14px;} .deposit .deposit-explanation-ul li { padding:0;text-align:left;border-bottom:1px solid #eee;} .deposit .deposit-explanation-ul li:last-child { border-bottom:0;} .deposit .deposit-explanation-ul li .icon-chongzhi-circle {margin-right:5px; color:#f8af75;font-size:30px; vertical-align:middle;} .deposit .deposit-operate-btn { margin:10px;} .deposit .deposit-btn { margin: 0; } .deposit .content{padding:20px 15px 0 15px;background:#fff;border-top:1px solid #ddd; font-size:12px;} .deposit .line-center{display:block;height:1px;line-height:1px;text-align:center;background:#eee;} .deposit .line-center .line-txt{padding:0 5px;color:#cbcbcb;background:#ffffff;} .deposit-list-ul{margin:0;list-style:none;overflow:hidden;} .deposit-list-ul li{position:relative;padding:10px 0;min-height:70px;border-bottom:solid 1px #eee;width:100%;} .deposit-list-ul li:last-child { border-bottom:0;} .deposit-list-ul li:before, .deposit-list-ul li:after { content:".";display:block;height:0;clear:both;visibility:hidden;} .deposit-list-ul .pro-img{position:absolute;left:0px;margin-top:5px;width:50px;} .deposit-list-ul .pro-img img{width:50px;height:50px;border-radius:3px;} .deposit-list-ul .mid-infor {margin:0 80px 0 0;font-size:14px;color:#666;} .deposit-list-ul .buy-pro .mid-infor {margin:0 80px 0 60px;} .deposit-list-ul .mid-infor .pro-name {display:block;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;font-size:14px;} .deposit-list-ul .mid-infor .order-number { color:#ccc;} .deposit-list-ul .add-deposit, .deposit-list-ul .min-deposit {position:absolute;top:30%;right:0px;font-size:18px; } .deposit-list-ul .add-deposit{color:#ff8903;} .deposit-list-ul .min-deposit{color:#7bc351;} .deposit-list-ul .deposit-time{color:#ccc;font-size:12px;} .deposit-help h3{margin:0 15px;padding:20px 0 10px 0;color:#51a5ce;font-size:16px;} .deposit-help .icon-chunk-gray{display:inline-block;margin-right:10px;width:4px;height:20px;background:#ccc; border-bottom-left-radius:2px;border-bottom-right-radius:2px;} .deposit-help .icon-chunk-blue{display:inline-block;width:4px;height:15px;background:#45a5cf;border-top-left-radius:2px;border-top-right-radius:2px; vertical-align:top;} .deposit-help .help-txt{padding:0 15px 15px 15px;line-height:30px;font-size:14px;} .binding-form{margin:60px 15px 0 15px;} .binding-form .exprenation-text {margin-bottom:10px; line-height:25px;font-size:14px;color:#333;} .binding-form .tip-means{padding:5px 10px;margin:10px 0;line-height:25px;font-size:12px;} .binding-form .tip-means .icon-exclamation{margin-right:5px;font-size:20px} .binding-form .input-box{margin:0;overflow: hidden;} .binding-form .input-box h2{margin:0 0 15px 0;padding:0 10px;line-height:40px;background:#e4f7ff;font-size:14px; color:#48a5ce;} .binding-form .choice-row{background:#ffffff;color:#48a5ce;} .binding-form .choice-row h6{padding:10px;border-bottom:solid 1px #f2f2f2; color:#48a5ce; font-weight:normal;font-size:14px;} .binding-form .choice-row .arrow{float:right;margin-top:5px;background:url("../images/icon-ps.png") -55px 0;width:6px;height:11px; -webkit-transition:all .3s; -moz-transition:all .3s; -o-transition:all .3s; transition:all .3s;} .binding-form .choice-row .arrow-rotate{ -webkit-transform:rotate(90deg); -moz-transform:rotate(90deg); -o-transform:rotate(90deg); transform:rotate(90deg); -webkit-transition:all .3s; -moz-transition:all .3s; -o-transition:all .3s; transition:all .3s;} .binding-form .choice-info{margin-top: 20px;margin-bottom: -10px;display:none;} .binding-form .choice-row.open-choice .choice-info{display:block;} .binding-form .columns{padding-left:0;padding-right:0;} .binding-form label{font-size:16px;color:#555;} .binding-form input{height:40px;line-height:20px;border-radius:3px;} .binding-form .tip{margin-top:-18px;margin-bottom:10px;font-size:14px;color:#999;} .binding-form .tip .icon-exclamation{margin-right:5px;font-size:20px;color:#ccc;} .binding-form .mobile-validate .mobile-validate-divinput{padding-right:0;} .binding-form .mobile-validate input{border-top-right-radius:0;border-bottom-right-radius:0;border-right:0;} .binding-form .mobile-validate .mobile-code-right{padding-left:0px;} .binding-form .mobile-validate .close-input{right:10px;} .binding-form .mobile-code-btn{margin-bottom:0;height:40px;line-height:40px;font-size:14px; border-top-left-radius:0;border-bottom-left-radius:0;} .binding-form .mobile-code-btn.disabled{background:#aaa;font-size:14px;} .binding-form .binding-btn{margin:20px 0;} .change-number .reduce, .change-number .add{float:left;height:37px;line-height:32px;width:50px;margin:0;border:1px solid #e4e4e4;background:#fff;text-align:center;color:#000;font-size:26px;font-weight:400;} .change-number .number{float:left;height:37px;line-height:37px;width:120px;padding:0 5px;margin:0;border-top:1px solid #e4e4e4;border-bottom:1px solid #e4e4e4;border-left:0;border-right:0;border-radius:0;box-shadow: none;background:#fff;color:#000;font-size:15px;}
css
package io.gridgo.framework.support.context.impl; import java.util.function.Consumer; import org.joo.promise4j.Promise; import io.gridgo.framework.support.context.ExecutionContext; public class DefaultExecutionContext<T, H> implements ExecutionContext<T, H> { private T request; private Consumer<T> handler; private Promise<H, Exception> promise; public DefaultExecutionContext(Consumer<T> handler) { this.handler = handler; } public DefaultExecutionContext(T request, Consumer<T> handler, Promise<H, Exception> promise) { this.request = request; this.handler = handler; this.promise = promise; } @Override public void execute() { handler.accept(request); } @Override public Promise<H, Exception> promise() { return promise; } @Override public T getRequest() { return request; } }
java
Looking for the best 1080p gaming monitor? Here is our complete list. For a long time, 1080p displays were the gold standard. That torch has been passed to 1440p and 4k displays in recent years, which offer a crisper picture on bigger panels. Having said that, new 1080p displays with rising refresh rates have become very popular, particularly among esports players. They offer exceptional gaming performance at a reasonable price and place less strain on the graphics card, making them more accessible to people with less powerful hardware. The selections in this article are mostly for gaming since most 1080p monitors are not well-suited for office usage due to their reduced pixel density, which causes text to seem fuzzy. - 1. Ports: - 2. Adjustability: - 3. Gaming Specs: - Also Read: Despite its low native resolution, it is one of the finest gaming monitors we have tested. It has superfast for much-improved motion handling. Additionally, it features a very minimal input latency, which ensures that your actions are in sync with the action on-screen. At its maximum refresh rate, it boasts a very fast reaction time, resulting in virtually no motion blur. Even at 60Hz, the reaction speed is exceptional, and although the backlight strobing function enhances the impression of motion, you’re unlikely to use it. The display supports FreeSync natively and has been verified by NVIDIA as G-SYNC compatible. The image quality is excellent; it has excellent out-of-the-box color fidelity, it gets bright enough to avoid glare, it handles reflections quite well, and it has very broad viewing angles. When playing at 280Hz, it has a very minimal input latency, however, unfortunately, it rises significantly at 60Hz. As is the case with the majority of IPS panels, it has a low contrast ratio, which causes blacks to look grayer when seen in the dark. On the plus side, it has excellent ergonomics and is well-built, which means you shouldn’t have any build quality problems for long. Overall, it should satisfy the majority of users, making it the finest 1080p gaming display we’ve tested. Gigabyte’s G27F is the cheapest 27-inch on our list while still offering excellent gaming performance, aided by a superb overdrive implementation that is one of the finest we’ve seen recently. At its maximum level, the monitor’s overdrive produced a picture that was free of apparent blur or ghosting artifacts. In terms of performance, this 1080p display was competitive with comparable 144 Hz monitors in terms of reaction time and input latency. And while we’re on the subject of FHD resolution, the G27F’s high refresh rate compensated for its low pixel density by achieving 144 frames per second. In terms of picture quality, this screen has a vibrant and vivid color palette and an outstanding 1,165:1 contrast ratio after using our suggested calibration settings (see page 1 of our review). At this price, it’s difficult to find a better 27-inch monitor. For the majority of gamers, the Dell S3220DGF is the optimal gaming display (currently available here). To begin, it has a high refresh rate and a short reaction time, as well as FreeSync Premium Pro, which combats screen tearing while viewing both regular and HDR material. Additionally, this 32-inch monitor has a generous amount of vertical screen real estate without the need for scrolling and a 1440p resolution, which is now the sweet spot for picture quality and gaming performance. Its 1800R curve also contributes to immersion, and we discovered that, in addition to gaming, this is an excellent display for general work and everything in between. Our testing established that the display offers minimal input latency and a fast panel response rate for competitive gamers, and we even got G-Sync to operate on it despite the display not being approved. This is an excellent display for gamers with mid-to-high-end gaming PCs. Samsung’s newest 1440p gaming monitor easily outperforms every other panel on our list. Its 240Hz refresh rate and 1ms grey-to-grey (GTG) reaction time make it the smoothest and most blur-free display you’ve ever seen. It supports HDR10 600, AMD FreeSync, and Nvidia G-Sync. On this device, games look gorgeous and provided you have a strong enough GPU, they run without stuttering or tearing. However, the Odyssey G7’s greatest feature is its stunning 1000R curvature, which wraps around your field of view and places you directly in the action. It’s an incredible gaming monitor and, best of all, it’s reasonably priced, especially at 27in. If you can afford one and your PC is capable of running 1440p games, go ahead and get one. It’s difficult to be dissatisfied with the LG UltraGear 38GN950. If you’re searching for the ultimate gaming monitor, this is it, with a 144Hz refresh rate that can easily be overclocked to 160Hz, a 1ms reaction time, stunning picture quality, and a slew of additional gaming features like as G-Sync, an ultra-wide aspect ratio, and DisplayHDR 600. If you’re serious about gaming and want a large screen, this is the finest gaming monitor you can buy – assuming you can afford it. The BenQ EX2510, which is part of the Taiwanese manufacturer’s gaming-oriented MOBIUZ range, brings us to some more expensive, higher-quality alternatives. The EX2510 is unmistakably a gaming monitor in terms of design. However, it is somewhat larger and chunkier than most gaming monitors available today, both in terms of the monitor itself and the accompanying VESA mount. Under the hood, the EX2510 has a 144Hz IPS panel similar to the one found in the AOC24G2, but with a few noticeable differences—the panel is more sensitive due to the 2ms gray-to-gray pixel response time, it is brighter, has better color reproduction, and is even HDR-compatible. Needless to say, with a 2ms GtG reaction time (which was previously unachievable for IPS panels), the BenQ EX2510 can offer some of the most responsive gaming experiences available in this price range without compromising picture quality. In terms of the aforementioned HDR capability, this display employs what BenQ refers to as HDRi—intelligent HDR. This unique technology utilizes an inbuilt sensor to detect ambient light and automatically adjusts the HDR picture for the optimum viewing experience. While this is impressive on paper, it fails to offer a genuinely immersive HDR experience with a peak brightness of 400 nits and no local dimming. To be sure, HDR support is a nice feature for watching HDR material, and nothing is preventing you from activating it in-game as well, given that the version of FreeSync used here supports HDR as well. However, a display requires much more brightness and contrast than the EX2510 can provide to make an HDR picture “pop. In general, the BenQ MOBIUZ EX2510 is an excellent display for people seeking a 1080p monitor that excels at both performance and aesthetics. While it does provide excellent value for money, it is a rather mediocre option. That is to say, if you’re on a budget, one of the less expensive monitors may be a better match; if you’re not, there are some better, somewhat more expensive options worth considering. The first monitor on the list comes from AOC, a reputable monitor manufacturer that just released what may be the finest affordable 1080p gaming display available right now—the AOC C24G1A. Even though it is a cheap device, the C24G1A is not your typical workplace monitor. The sleek, curved shape, the red accents, and the adjustable VESA mount all communicate unequivocally that this is a genuine gaming monitor, despite the price. With its factory-overclocked 165Hz VA panel, this monitor provides an excellent balance of performance and aesthetics, particularly at this price range. While it lacks the viewing angles and color accuracy of an IPS panel, it compensates with greater contrast that the majority of IPS panels just cannot match. In terms of performance, the high refresh rate ensures that games run buttery smooth at triple-digit framerates, and while VA panels are notorious for ghosting and black smearing — which may be a significant issue for performance-oriented gamers who frequently play fast-paced games — these issues are easily mitigated with the help of various pixel overdrive modes. Naturally, the display also has an MBR (motion blur reduction) option if you’re prepared to forego image clarity/brightness in exchange for more fluid motion. Additionally, the C24G1A features AMD FreeSync, which operates between 48 and 165 Hz in this case and supports LFC (low framerate compensation). This feature enables you to continue playing smoothly even if your framerate drops below the lower limit—a feature that comes in handy if your GPU struggles with a newer game or you experience some unexpected FPS drops for whatever reason. Overall, the AOC C24G1A is an excellent value for the money, and it has all of the characteristics that someone on a budget would desire in an inexpensive gaming monitor: a screen that strikes a decent balance between visuals and performance, an adjustable stand, and a distinctively “gaming” style. While there are more expensive monitors available, the C24G1A should be your first option if you’re on a budget. The BenQ Mobiuz EX2710 has a slew of positive features. Although the screen is just 1080p, this is compensated for by a fast 144Hz refresh rate, a 2ms response time, AMD FreeSync Premium compatibility, and HDR 400 support. Additionally, it measures 27 diagonally, which is approximately the maximum size for an FHD screen – much larger and you’ll notice the poor pixel density. All of this means that the EX2710 is an excellent choice if you want the niceties associated with more costly displays but are concerned about your PC’s ability to take advantage of the 1440p, 144Hz sweet spot. And luxury is the name of the game here: the EX2710 is mounted on an eye-catching, adjustable platform that has 130mm of upward/downward mobility, 20mm of left/right swivel, and a 20-degree backward tilt. Unfortunately, it lacks a USB hub and a USB-C connection, but it does have the standard HDMI 2.0 and DP 1.2 inputs, as well as a 3.5mm socket on the back. Where this monitor shines is in the area of color accuracy. The EX2710 displayed 94.5 percent of the sRGB color gamut in sRGB mode, with a delta E color variance score of only 0.8. (below 1 is great). Brightness and contrast are less thrilling, which means you’re unlikely to use the monitor’s HDR mode often. However, if you keep to sRGB mode, your games will look fantastic. If you’re on the hunt for the finest gaming monitor around Rs. 10,000, the LG 22-inch gaming monitor is a wise investment. This monitor is available in black and has a full HD screen with a resolution of 1080 pixels. This monitor is also available with an IPS panel with a TN display. The monitor has a 21.5′′ Full HD anti-glare display with a response time of 1 millisecond and a refresh rate of 75Hz. This monitor is an excellent option for novices since it has AMD Radeon Freesync for smoother animation and reduced stuttering in demanding games. The Black Stabilizer function improves image performance if your screen is mostly filled with dark situations. Additionally, its Dynamic Action Sync function reduces input latency, allowing you to capture every moment in real-time. Additionally, the monitor is wall-mountable, which enhances the viewing experience and conserves desktop space. The HP 24 Inch Ultra-Slim Full HD Computer Monitor, another excellent choice in the best gaming monitor around Rs. 20,000 category, is supported by an amazing design and micro-edge display that provides ultra-wide viewing angles with pin-sharp image clarity. The monitor has a pleasant look due to its matte surface and LED illumination. Thanks to the monitor, you may experience crisp and clear visual clarity without any blurring or lagging. This monitor has a brilliant IPS screen, one HDMI port, and one VGA port, making it perfect for twin display configurations. This gaming display avoids hitches and keeps up with the action thanks to AMD FreeSync and a 75 Hz refresh rate. Additionally, it provides a comfortable viewing angle of -5° to 25°, allowing you to keep proper posture while gaming without hurting your neck or back. 1. Ports: When looking for a 1080p gaming monitor, inspect the back of the display to ensure that it has all of the ports you’re likely to require during your gaming sessions. Modern monitors support HDMI and DisplayPort, while some support legacy technologies such as VGA. Additionally, some of the higher-end displays have the very desirable USB-C connection, which is especially fast and well-suited for contemporary gaming applications. 2. Adjustability: Gaming monitors are often extremely customizable in a variety of ways. There are the physical adjustments accessible inside the stand, which are often measured in terms of height, tilt, swivel, and pivot. Additionally, contemporary gaming monitors usually allow for considerable customization inside the display itself, allowing for optimal performance while playing visually demanding games. Consider displays that enable you to configure unique gaming modes for certain genres, such as competitive shooters. 3. Gaming Specs: If you want to use a 1080p monitor to play visually demanding games, you’ll want to ensure that the display you choose has some hefty specifications. To eliminate latency and maximum accuracy, look for refresh rates of about 144Hz and reaction times of 1ms or 2ms. Additionally, you’ll want to verify that the display is compatible with current graphics card technologies like AMD Radeon FreeSync and Nvidia G-Sync. We hope we were able to assist you in locating the finest gaming monitor for your needs. Please keep in mind that this impartial list was meticulously selected after an in-depth product analysis, comprehensive research, an in-depth comparison. However, we disclaim liability for any damage or performance error that may occur. Therefore, please double-check the specs of the gaming monitors mentioned above before making a purchase. Also Read:
english
<reponame>Shantira/TelegramAlert package de.sandstorm_projects.telegramAlert.bot; import org.apache.http.HttpEntity; import org.apache.http.HttpHost; import org.apache.http.HttpResponse; import org.apache.http.auth.AuthScope; import org.apache.http.auth.UsernamePasswordCredentials; import org.apache.http.client.CredentialsProvider; import org.apache.http.client.methods.HttpPost; import org.apache.http.entity.ContentType; import org.apache.http.entity.StringEntity; import org.apache.http.impl.client.BasicCredentialsProvider; import org.apache.http.impl.client.BasicResponseHandler; import org.apache.http.impl.client.CloseableHttpClient; import org.apache.http.impl.client.HttpClients; import org.apache.http.impl.conn.DefaultProxyRoutePlanner; import org.graylog2.plugin.alarms.callbacks.AlarmCallbackException; import org.json.JSONObject; import java.io.IOException; import java.util.logging.Logger; public class TelegramBot { private static final String API = "https://api.telegram.org/bot%s/%s"; private String token; private Logger logger; private ParseMode parseMode; private String proxy; private String proxy_user; private String proxy_password; public TelegramBot(String token) { this.token = token; logger = Logger.getLogger("TelegramAlert"); } public void setParseMode(ParseMode mode) { parseMode = mode; } public void setProxy(String route) { proxy = route; } public void setProxyUser(String user) { proxy_user = user; } public void setProxyPassword(String pass) { proxy_password = pass; } public void sendMessage(String chatID, String msg) throws AlarmCallbackException { final CloseableHttpClient client; if (proxy == null || proxy.isEmpty()) { client = HttpClients.createDefault(); } else if ((proxy_user == null || proxy_user.isEmpty()) || (proxy_password == null || proxy_password.isEmpty())) { String[] proxyArr = proxy.split(":"); HttpHost proxy = new HttpHost(proxyArr[0], Integer.parseInt(proxyArr[1])); DefaultProxyRoutePlanner routePlanner = new DefaultProxyRoutePlanner(proxy); client = HttpClients.custom() .setRoutePlanner(routePlanner) .build(); } else { CredentialsProvider credsProvider = new BasicCredentialsProvider(); credsProvider.setCredentials( new AuthScope(AuthScope.ANY), new UsernamePasswordCredentials(proxy_user, proxy_password)); String[] proxyArr = proxy.split(":"); HttpHost proxy = new HttpHost(proxyArr[0], Integer.parseInt(proxyArr[1])); DefaultProxyRoutePlanner routePlanner = new DefaultProxyRoutePlanner(proxy); client = HttpClients.custom() .setRoutePlanner(routePlanner) .setDefaultCredentialsProvider(credsProvider) .build(); } HttpPost request = new HttpPost(String.format(API, token, "sendMessage")); try { request.setEntity(createJSONEntity(chatID, msg)); HttpResponse response = client.execute(request); int status = response.getStatusLine().getStatusCode(); if (status != 200) { String body = new BasicResponseHandler().handleResponse(response); String error = String.format("API request was unsuccessful (%d): %s", status, body); logger.warning(error); throw new AlarmCallbackException(error); } } catch (IOException e) { String error = "API request failed: " + e.getMessage(); logger.warning(error); e.printStackTrace(); throw new AlarmCallbackException(error); } } private HttpEntity createJSONEntity(String chatID, String msg) { JSONObject params = new JSONObject(); params.put("chat_id", chatID); params.put("text", msg); params.put("disable_web_page_preview", "true"); if (!parseMode.equals(ParseMode.text())) { params.put("parse_mode", parseMode.value()); } return new StringEntity(params.toString(), ContentType.APPLICATION_JSON); } }
java
Forget the parks — the real show at Disney World is going down in the hotel lobby. A talented father from Connecticut has become an overnight Internet sensation after footage of his impromptu rendition of “Ave Maria,” which he belted out in the lobby of the Grand Floridian Resort, began making the rounds earlier this week. Justin Gigliello, from North Stonington, tells Fox News he was visiting Disney World with his daughter when she asked the pianist at the hotel if her dad could sing along. “He asked her what song and she requested the ‘Ave Maria,’” he said. Gigliello — who began voice lessons at 15 and later studied at the Boston Conservatory at Berklee — then proceeded to wow everyone within earshot, all while his little girl looked on. And at the end, the room erupted in applause. “I’m a huge fan of Andrea Bocelli, Josh Groban and Michael Bublé,” Gigliello told Fox News. “Some of their pieces are what I sing daily in the house with my daughter,” he added. Along with Gigliello’s daughter, Twitter was also quite taken by the moving moment. “Talk about a smile and a song! Thank you for sharing this magical moment! ! ! ” wrote an official Twitter feed for Disney World. "THAT IS BEAUTIFUL! ! ! ! " said another admirer who claimed to be a classical musician too. "Sung so pure and effortlessly. Beautiful job! ! ! ! " “The dad I am trying to be,” another user commented. Gigliello, who currently works at an underwriting firm, told Fox News he was just happy to see his little girl smile.
english
import React from 'react'; import { DIDDocumentPreview, IDIDDocumentPreviewProps } from '.'; export default { // id: 20, title: 'DID/Document', component: DIDDocumentPreview, }; const smallList = [ { '@context': ['https://w3id.org/did/v0.11'], id: 'did:key:<KEY>', publicKey: [ { id: 'did:key:<KEY>', type: 'Ed25519VerificationKey2018', controller: 'did:key:<KEY>', publicKeyBase58: '<KEY>', }, ], authentication: [ 'did:key:<KEY>', ], assertionMethod: [ 'did:key:<KEY>', ], capabilityDelegation: [ 'did:key:<KEY>', ], capabilityInvocation: [ 'did:key:<KEY>', ], keyAgreement: [ { id: 'did:key:<KEY>', type: 'X25519KeyAgreementKey2019', controller: 'did:key:<KEY>', publicKeyBase58: '<KEY>', }, ], }, ]; export const Preview = (props?: Partial<IDIDDocumentPreviewProps>) => ( <div> <DIDDocumentPreview didDocument={smallList[0]} {...props} /> </div> );
typescript
Updated Find the best rugged laptop for extra protection from all kinds of environmental hazards, no matter your budget. Lenovo enters the Android PC business with a powerful new all-in-one desktop packing an Intel Core i9 processor. The Lenovo LOQ 15 (AMD) offers the perfect combination of accessible price and solid gaming performance that makes it ideal for new or budget-minded gamers. Fujitsu’s LIFEBOOK WU-X/H1 weighs just 689g, still making it one of the lightest laptops ever. Sorry Nintendo, but this is the only gaming handheld I care about now. Google pushes ahead with its Chromebook Plus plans as a new Lenovo IdeaPad laptop surfaces online. The Alienware M16 is a gaming laptop you slap on your desk and never take anywhere, which for such a steep asking price is quite disappointing. The Legion Go hits the scene its powerful hardware and removable controllers with 10 configurable buttons. Get the hottest deals available in your inbox plus news, reviews, opinion, analysis, deals and more from the TechRadar team.
english
Microsoft has offered to collaborate with Andhra Pradesh in the areas of e-governance and cyber security. Chief Minister N. Chandrababu Naidu, who is currently in Davos met Microsoft CEO Satya Nadella on Tuesday. The Andhra Pradesh Government is all set to expend most of its budget for the construction of the capital city Amaravati. Especially, Chandrababu Naidu is dreaming that the capital should be something like Mahishmati of 'Baahubali'. Andhra Pradesh CM Chandrababu Naidu participated in Sankranti festivities at his native village Naravaripalle. He said that having taken birth as a human, one should not forget his mother and native village. In Rangampeta village of Chandrampeta mandal in Chitoor district, the Jallikattu sport was witnessed thousands of enthusiasts.
english
/* BEGIN - Common status bar CSS */ .status-bar-component { position: absolute; bottom: 0px; z-index: 100; } .component-mouse-coordinates { left: 0px; } .component-scale-display { right: 320px; } .component-selected-feature-count { left: 260px; } .component-view-size { right: 136px; } .component-pbmg { right: 0px; } /* END - Common status bar CSS */ #map { background-color: #3E5C5F; } .maroon-file-menu, .component-accordion-panel-header { color: white; /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#7f0019+0,a5132e+50,a5132e+100 */ background: #7f0019; /* Old browsers */ background: -moz-linear-gradient(top, #7f0019 0%, #a5132e 50%, #a5132e 100%); /* FF3.6-15 */ background: -webkit-linear-gradient(top, #7f0019 0%,#a5132e 50%,#a5132e 100%); /* Chrome10-25,Safari5.1-6 */ background: linear-gradient(to bottom, #7f0019 0%,#a5132e 50%,#a5132e 100%); /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */ filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#7f0019', endColorstr='#a5132e',GradientType=0 ); /* IE6-9 */ } .maroon-file-menu .mouse-over, .maroon-file-menu .selected-item { color: white; background-color: #E45E67; border-color: #E45E67; } .maroon-toolbar { background-color: #500000; color: white; } .maroon-toolbar .mouse-over, .maroon-toolbar .selected-item { color: white; background-color: #A35858; border-color: #A35858; } .maroon-toolbar-vertical { background-color: #500000; color: white; } .maroon-toolbar-vertical .mouse-over, .maroon-toolbar-vertical .selected-item { color: black; border-color: black; background-color: #8FC5FF; } .maroon-status-bar { background-color: #A5132E; color: white; } .maroon-splitter > .layout-splitter { background-color: #3E5C5F; } .component-accordion { background-color: #E4E3E3; } .component-accordion-panel-header { border: 1px solid black; font-weight: bold; }
css
{ "directions": [ "Heat a large skillet over medium-high heat. Cook and stir turkey sausage in the hot skillet until browned and crumbly, 5 to 7 minutes; drain and discard grease. Add mushrooms, green bell pepper, red bell pepper, yellow bell pepper, onion, and garlic; cook and stir until liquid from mushrooms has evaporated and mushrooms are tender, 5 to 10 minutes.", "Pour white wine into sausage mixture and cook until wine reduces, about 5 minutes. Add beef broth and Italian seasoning; simmer until liquid reduces by half, about 15 minutes. Stir red pepper flakes into sausage mixture and simmer for 5 minutes more.", "Bring a large pot of lightly salted water to a boil. Cook rigatoni in the boiling water, stirring occasionally until cooked through but firm to the bite, about 13 minutes. Drain and transfer to a serving bowl.", "Spoon sausage mixture over pasta and top with Parmesan cheese." ], "ingredients": [ "1 pound turkey Italian sausage, casings removed", "1 (16 ounce) package sliced fresh mushrooms", "1 green bell pepper, chopped", "1 red bell pepper, chopped", "1 yellow bell pepper, chopped", "1/2 large onion, chopped", "2 tablespoons minced garlic", "1/2 cup dry white wine", "1 (14.5 ounce) can beef broth", "1 tablespoon Italian seasoning", "1 teaspoon red pepper flakes (optional)", "16 ounces whole wheat rigatoni", "1/2 cup freshly grated Parmesan cheese" ], "language": "en-US", "source": "allrecipes.com", "tags": [], "title": "Stoplight Sausage Pasta", "url": "http://allrecipes.com/recipe/241943/stoplight-sausage-pasta/" }
json
// Copyright (c) 2017 <NAME> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. /// Macro to create a local `base_ptr` raw pointer of the given type, avoiding UB as /// much as is possible currently. #[cfg(memoffset_maybe_uninit)] #[macro_export] #[doc(hidden)] macro_rules! _memoffset__let_base_ptr { ($name:ident, $type:tt) => { // No UB here, and the pointer does not dangle, either. // But we have to make sure that `uninit` lives long enough, // so it has to be in the same scope as `$name`. That's why // `let_base_ptr` declares a variable (several, actually) // instad of returning one. let uninit = $crate::mem::MaybeUninit::<$type>::uninit(); let $name = uninit.as_ptr(); }; } #[cfg(not(memoffset_maybe_uninit))] #[macro_export] #[doc(hidden)] macro_rules! _memoffset__let_base_ptr { ($name:ident, $type:tt) => { // No UB right here, but we will later offset into a field // of this pointer, and that is UB when the pointer is dangling. let non_null = $crate::ptr::NonNull::<$type>::dangling(); let $name = non_null.as_ptr() as *const $type; }; } /// Deref-coercion protection macro. #[macro_export] #[doc(hidden)] macro_rules! _memoffset__field_check { ($type:tt, $field:tt) => { // Make sure the field actually exists. This line ensures that a // compile-time error is generated if $field is accessed through a // Deref impl. let $type { $field: _, .. }; }; } /// Calculates the offset of the specified field from the start of the struct. /// /// ## Examples /// ``` /// #[macro_use] /// extern crate memoffset; /// /// #[repr(C, packed)] /// struct Foo { /// a: u32, /// b: u64, /// c: [u8; 5] /// } /// /// fn main() { /// assert_eq!(offset_of!(Foo, a), 0); /// assert_eq!(offset_of!(Foo, b), 4); /// } /// ``` #[macro_export(local_inner_macros)] macro_rules! offset_of { ($parent:tt, $field:tt) => {{ _memoffset__field_check!($parent, $field); // Get a base pointer. _memoffset__let_base_ptr!(base_ptr, $parent); // Get the field address. This is UB because we are creating a reference to // the uninitialized field. #[allow(unused_unsafe)] // for when the macro is used in an unsafe block let field_ptr = unsafe { &(*base_ptr).$field as *const _ }; let offset = (field_ptr as usize) - (base_ptr as usize); offset }}; } #[cfg(test)] mod tests { #[test] fn offset_simple() { #[repr(C)] struct Foo { a: u32, b: [u8; 2], c: i64, } assert_eq!(offset_of!(Foo, a), 0); assert_eq!(offset_of!(Foo, b), 4); assert_eq!(offset_of!(Foo, c), 8); } #[test] #[cfg(not(miri))] // this creates unaligned references fn offset_simple_packed() { #[repr(C, packed)] struct Foo { a: u32, b: [u8; 2], c: i64, } assert_eq!(offset_of!(Foo, a), 0); assert_eq!(offset_of!(Foo, b), 4); assert_eq!(offset_of!(Foo, c), 6); } #[test] fn tuple_struct() { #[repr(C)] struct Tup(i32, i32); assert_eq!(offset_of!(Tup, 0), 0); assert_eq!(offset_of!(Tup, 1), 4); } }
rust
#!/usr/bin/python # -*- coding: utf-8 -*- import argparse import math def arguments(): # Handle command line arguments parser = argparse.ArgumentParser(description='Adventofcode.') parser.add_argument('-f', '--file', required=True) args = parser.parse_args() return args class TobogganTrajectory(): def __init__(self): self.map = None self.visited_locations = [] self.number_of_trees = [] def traverse_map(self, starting_x, starting_y): max_index = len(self.map[0]) - 1 self.visited_locations = [] inc_y = starting_y inc_x = starting_x while starting_y <= (len(self.map) - 1): self.visited_locations.append(self.map[starting_y][starting_x]) if (starting_x + inc_x) > max_index: starting_x = starting_x + (inc_x - 1) - max_index else: starting_x += inc_x starting_y += inc_y self.number_of_trees.append(len([x for x in self.visited_locations if x == '#'])) def main(): args = arguments() with open(args.file) as file: input_file = file.read().strip() input_file = input_file.splitlines() starting_map = [] for row in input_file: starting_map.append([x for x in row]) map_of_tree = TobogganTrajectory() map_of_tree.map = starting_map map_of_tree.traverse_map(3, 1) print("Part1:", map_of_tree.number_of_trees[0]) # Part2 map_of_tree.traverse_map(1, 1) map_of_tree.traverse_map(5, 1) map_of_tree.traverse_map(7, 1) map_of_tree.traverse_map(1, 2) print("Part2:", math.prod(map_of_tree.number_of_trees)) if __name__ == '__main__': main()
python
<gh_stars>1-10 /* # Copyright 2017 data.world, inc # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in writing, software # distributed under the License is distributed on an "AS IS" BASIS, # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. # See the License for the specific language governing permissions and # limitations under the License. */ .label-data-world { text-shadow: none; width: 144px; text-transform: none; padding: 4px 5px 5px; overflow: hidden; border-radius: 5px; background-color: #5492c0; } .data-world-insights .label-data-world { margin: 4px 8px 0 0; } .part-linked { font-size: 10px; padding: 10px 4px 10px; letter-spacing: -0.4px; font-style: italic; } .part-label { background: #313e48; font-size: 15px; font-family: initial; padding: 10px 12px 10px 8px; } .data-world-insights { background-color: #dde9f5; border: 1px solid #a3c5e7; border-radius: 3px; padding: 10px 18px 4px; } .data-world-insights-holder { display: inline-block; } .data-world-insights-heading { line-height: 14px; letter-spacing: -.5px; } .data-world-button-holder { float: right; padding-top: 14px; } .btn-data-world { border: 1px solid #1d616e; background-color: #4a82b3; background-image: linear-gradient(to bottom,#4a82b3,#336d9d) } .btn-data-world:hover{ background: #336d9d; } a i.icon-data-world { background: url("/images/dw-sparkle-badge.png") 50% no-repeat; background-size: contain; } .active a i.icon-data-world { background: url("/images/dw-sparkle-badge-active.png") 50% no-repeat; background-size: contain; } a i.icon-data-world:before{ content: 'ico'; color: transparent; } /* The switch - the box around the slider */ .control-group.switch{ margin-top: -30px; margin-bottom: 30px; } .switch .checkbox { margin-top: 2px; position: relative; display: inline-block; height: 20px; box-sizing: border-box; } [data-module=info-popover] i { color: #3266a0; font-size: 20px; vertical-align: middle; cursor: pointer; } a[data-module=info-popover]:hover, a[data-module=info-popover]:focus { text-decoration: none; } [data-module="data-world-credentials-form"] .popover .arrow { display: none; } [data-module="data-world-credentials-form"] .popover { background: #f0f8fe; border: 1px solid #13689c; } [data-module="data-world-credentials-form"] .popover .popover-content { word-break: normal; } label .popover { font-weight: normal; } /* Hide default HTML checkbox */ .switch .checkbox input {display:none;} .switch .checkbox { padding-left: 70px; } /* The slider */ .switch .slider { position: absolute; cursor: pointer; overflow: hidden; left: 0; width: 58px; top: 5px; bottom: -5px; background-color: #ccc; -webkit-transition: .4s; transition: .4s; } .switch .slider span { position: absolute; text-transform: uppercase; top: 1px; font-size: 13px; -webkit-transition: .4s; transition: .4s; } .switch .slider .check-on { color: #fff; left: -27px; } .switch .slider .check-off { left: 25px; color: #505050; } .switch .slider:before { position: absolute; content: " "; height: 16px; width: 16px; left: 2px; bottom: 2px; box-shadow: 1px 1px 3px grey; background-color: white; -webkit-transition: .4s; transition: .4s; } .switch input:checked + .slider { background-color: #00a14b; } .switch input:checked + .slider .check-on { left: 10px; } .switch input:checked + .slider .check-off { left: 65px; } .switch input:focus + .slider { box-shadow: 0 0 1px #00a14b; } .switch input:checked + .slider:before { -webkit-transform: translateX(38px); -ms-transform: translateX(38px); transform: translateX(38px); } /* Rounded sliders */ .switch .slider.round { border-radius: 34px; } .switch .slider.round:before { border-radius: 50%; }
css
{"images":[{"startdate":"20210704","fullstartdate":"202107040700","enddate":"20210705","url":"/th?id=OHR.SFFireworks_EN-US4561699680_1920x1080.jpg&rf=LaDigue_1920x1080.jpg&pid=hp","urlbase":"/th?id=OHR.SFFireworks_EN-US4561699680","copyright":"Fireworks in San Francisco, California (© tampatra/Getty Images)","copyrightlink":"https://www.bing.com/search?q=Independence+Day+fireworks+United+States&form=hpcapt&filters=HpDate%3a%2220210704_0700%22","title":"Happy Independence Day!","quiz":"/search?q=Bing+homepage+quiz&filters=WQOskey:%22HPQuiz_20210704_SFFireworks%22&FORM=HPQUIZ","wp":true,"hsh":"93be3bf91e8dba9f4339263bea4a1067","drk":1,"top":1,"bot":1,"hs":[]}],"tooltips":{"loading":"Loading...","previous":"Previous image","next":"Next image","walle":"This image is not available to download as wallpaper.","walls":"Download this image. Use of this image is restricted to wallpaper only."}}
json
Ben Stokes’ absence from the final two Test matches against Pakistan will be a psychological blow to England’s chances, according to William Hill ambassador Michael Vaughan. “No Ben Stokes,” Vaughan said. “He’s obviously going to be missing the next two Test matches which will have a big effect on the England team’s psychology. He plays a big, big role in that dressing room. England secured a thrilling three-wicket victory over Pakistan in the first Test, having had to chase down 277 on a tricky pitch. Vaughan feels it ranks as one of England’s best in recent years and is backing the hosts to complete a series win. Vaughan added: “Pakistan had their chance. Old Trafford was Pakistan’s chance to win a Test match. Azhar Ali, a young captain in terms of Test matches but an experienced player in terms of Test matches that he’s played. I think that was his chance to win a game overseas for the first time. This series will be 3-0 – England will win the series 3-0, that’s my prediction. With Stokes missing the second Test, Vaughan is expecting a number of changes to the England side on Thursday.
english
Do you imagine working for 24 hours all life long? Sounds impossible, doesn’t it? This is what our hearts do. Working beat by beat, every single second, every day for our entire life. It never rests, and most likely no one wants it to. According to a study, on an average, a heart beats about 2.5 billion times in a lifetime. Our heart is the most vital organ to keep us alive, and it is important that we treat it accordingly. In recent times, the cases of men and women suffering from heart diseases have drastically increased. According to a survey, the number of deaths per year due to heart diseases is almost one million. This death rate has made heart diseases nothing less than a plague. A plague composed of fat, cholesterol, calcium and other harmful substances that make the build-up and block the arteries of the heart. There are many health diseases risks faced by people who don’t take care of themselves and their body when they should have. We have listed a few ways to improve heart health naturally. Following these healthy heart tips, you’ll be able to maintain your health and well-being for many years to come. - Keep a check on your blood pressure: High blood pressure is one of the major risk factors of all the heart diseases. To avoid taking pills for hypertension, it is crucial that you get yourself checked regularly to ensure that you take measures as soon as you are diagnosed with blood pressure problems. Change your eating habits and improve your lifestyle, it reduces the health diseases risks significantly. - Don’t let the cholesterol level jump: High level of cholesterol is faced by many people these days irrespective of their age and sex. The main reason for high cholesterol even in children is bad eating habits. Eating junk, oily and greasy food leads to high cholesterol levels. Cholesterol accumulates in the coronary arteries which are the arteries supplying the heart. The blockage of these arteries leads to heart diseases. - Maintain your weight: Most people confuse weights management with a way to showcase your body. Being fit is much more than modeling, it is about feeling healthy and keeping your vital organs happy. So many people especially women these days are suffering from obesity and being obese increases the risks of having heart diseases in multiple folds. These people should immediately take steps to prevent heart diseases — steps like frequently moving, eating healthy and staying hydrated. - Consume nutritious food items: People who eat healthily, stay healthy. Food rich in sodium and sugar is likely to put your heart at risk. Not just heart, but these products make your skin age much faster than they should. It has become a trend these days to have fruit juices in the morning, but it is not as beneficial as having a whole fruit every day. It is rich in fiber and will provide you all the necessary vitamins to function at your best the rest of the day. - Exercise regularly: Many people misinterpret the meaning of exercising as gyms and heavyweights. While those are also a form of exercise, if you don’t find yourself surrounded with such amenities or if you simply don’t want to do it, you can just walk or jog each day to keep yourself healthy. Workout at home for five days in a week for 30-40 minutes and you will be improving heart health naturally. - Restrict alcohols: People who are chronic or heavy drinkers usually face the issue of blood pressure. These people are voluntarily inviting health diseases risks and should quit doing so. Alcohol increases your blood pressure and also causes weight gain due to all the calories present. High blood pressure and being heavyweight are the prime causes of heart failure. According to a report, men should restrict their alcohol content to 2 drinks per day and women shouldn’t drink more than one drink per day. - Do Not Smoke: Smoking cigarettes have endless negative outcomes and absolutely nil upside. Smoking exposes you to health diseases risks like high blood pressure, lung cancer, etc. You should immediately start quitting your habit else no amount of healthy heart tips would save you from an unfortunate outcome.
english
{"web":[{"value":["保持","停留","剩下"],"key":"remain"},{"value":["三缄其口","保持沉默","继续沉默"],"key":"Remain silent"},{"value":["保持固定","保持静止","持停止"],"key":"remain stationary"}],"query":"remain","translation":["保持"],"errorCode":"0","dict":{"url":"yddict://m.youdao.com/dict?le=eng&q=remain"},"webdict":{"url":"http://m.youdao.com/dict?le=eng&q=remain"},"basic":{"us-phonetic":"rɪ'men","phonetic":"rɪ'meɪn","uk-phonetic":"rɪ'meɪn","explains":["n. 遗迹;剩余物,残骸","vi. 保持;依然;留下;剩余;逗留;残存"]},"l":"EN2zh-CHS"}
json
expect = (chai && chai.expect) || require('chai').expect; describe('Slow tests', function() { it('display test start events', function(done) { setTimeout((function() { done(); }), 1862); expect(true).to.be.true; }); it('and are correctly overwritten', function(done) { setTimeout((function() { expect(true).to.be.true; done(); }), 1538); }); it('with pass or fail output', function(done) { setTimeout((function() { done(); }), 1239); expect(true).to.be.true; }); });
javascript
Inter Milan have announced their starting lineup to face AC Milan in the Champions League semifinal second leg and fans are convinced the Nerazzurri are headed for another victory. Simone Inzaghi's side prevailed 2-0 in the first-leg of the semifinals last week as Edin Dzeko and Henrikh Mkhitaryan gave Inter their third consecutive derby victory this year. AC Milan, who beat Napoli in the quarterfinals, face an uphill battle as they must win by a three-goal margin to reach their first CL final since winning the competition in 2007. However, fans believe Inter Milan will progress to the title clash after they announced the same lineup as last week, with Dzeko and Lautaro Martinez spearheading the attack. Inzaghi stuck with his midfield-trio of Nicolo Barella, Hakan Calhanoglu, and Henrikh Mkhitaryan. Denzel Dumfries and Federico Dimarco will operate as the wing-backs. Alessandro Bastoni, Francesco Acerbi, and Matteo Darmian comprise the back-three, with Andre Onana taking his place between the sticks once more. Following a minor slump earlier this year, the Nerazzurri have recaptured their mojo to win their last seven games on the bounce in all competitions. Fans expect that run to continue against Milan. They took to Twitter to share their thoughts, with one user convinced they're going to "witness a masterclass tonight" from Dzeko. Here are the best Twitter reactions: While their league form hasn't been the best this term, Inter Milan have built their Champions League campaign on the back of a stoic defense. In 11 games thus far, the Nerazzurri have kept a clean sheet in seven, including in four of their five knockout games. If AC Milan are to turnaround the deficit and progress to the final, they will have to crack open Inter's defense, something they have failed to do in three previous Milan derbies. With Rafael Leao back in the XI after missing the first leg, the Rossoneri will feel confident of their chances. Either way, an exciting clash awaits.
english
/*============================================================================= Library: CppMicroServices Copyright (c) The CppMicroServices developers. See the COPYRIGHT file at the top-level directory of this distribution and at https://github.com/CppMicroServices/CppMicroServices/COPYRIGHT . Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at http://www.apache.org/licenses/LICENSE-2.0 Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License. =============================================================================*/ #include <cassert> #include "cppmicroservices/ServiceReference.h" #include "cppmicroservices/LDAPProp.h" #include "cppmicroservices/servicecomponent/ComponentConstants.hpp" #include "ReferenceManagerImpl.hpp" using cppmicroservices::logservice::SeverityLevel; using cppmicroservices::service::component::ComponentConstants::REFERENCE_SCOPE_PROTOTYPE_REQUIRED; using cppmicroservices::Constants::SERVICE_SCOPE; using cppmicroservices::Constants::SCOPE_PROTOTYPE; namespace cppmicroservices { namespace scrimpl { /** * @brief Returns the LDAPFilter of the reference metadata * @param refMetadata The metadata representing a service reference * @returns a LDAPFilter object corresponding to the @p refMetadata */ LDAPFilter GetReferenceLDAPFilter(const metadata::ReferenceMetadata& refMetadata) { LDAPPropExpr expr; expr = (LDAPProp(cppmicroservices::Constants::OBJECTCLASS) == refMetadata.interfaceName); if(!refMetadata.target.empty()) { expr &= LDAPPropExpr(refMetadata.target); } if(refMetadata.scope == REFERENCE_SCOPE_PROTOTYPE_REQUIRED) { expr &= (LDAPProp(SERVICE_SCOPE) == SCOPE_PROTOTYPE); } return LDAPFilter(expr); } ReferenceManagerImpl::ReferenceManagerImpl(const metadata::ReferenceMetadata& metadata, const cppmicroservices::BundleContext& bc, std::shared_ptr<cppmicroservices::logservice::LogService> logger) : metadata(metadata) , tracker(nullptr) , logger(std::move(logger)) { if(!bc || !this->logger) { throw std::invalid_argument("Failed to create object, Invalid arguments passed to constructor"); } try { tracker = std::make_unique<ServiceTracker<void>>(bc, GetReferenceLDAPFilter(metadata), this); tracker->Open(); } catch(...) { logger->Log(SeverityLevel::LOG_ERROR, "could not open service tracker for " + metadata.interfaceName, std::current_exception()); tracker.reset(); throw std::current_exception(); } } void ReferenceManagerImpl::StopTracking() { try { tracker->Close(); } catch(...) { logger->Log(SeverityLevel::LOG_ERROR, "Exception caught while closing service tracker for " + metadata.interfaceName, std::current_exception()); } } std::set<cppmicroservices::ServiceReferenceBase> ReferenceManagerImpl::GetBoundReferences() const { auto boundRefsHandle = boundRefs.lock(); return std::set<cppmicroservices::ServiceReferenceBase>(boundRefsHandle->begin(), boundRefsHandle->end()); } std::set<cppmicroservices::ServiceReferenceBase> ReferenceManagerImpl::GetTargetReferences() const { auto matchedRefsHandle = matchedRefs.lock(); return std::set<cppmicroservices::ServiceReferenceBase>(matchedRefsHandle->begin(), matchedRefsHandle->end()); } // util method to extract service-id from a given reference long GetServiceId(const ServiceReferenceBase& sRef) { auto idAny = sRef.GetProperty(cppmicroservices::Constants::SERVICE_ID); return cppmicroservices::any_cast<long>(idAny); } bool ReferenceManagerImpl::IsOptional() const { return (metadata.minCardinality == 0); } bool ReferenceManagerImpl::IsSatisfied() const { return (boundRefs.lock()->size() >= metadata.minCardinality); } ReferenceManagerImpl::~ReferenceManagerImpl() { StopTracking(); } struct dummyRefObj { }; bool ReferenceManagerImpl::UpdateBoundRefs() { auto matchedRefsHandle = matchedRefs.lock(); // acquires lock on matchedRefs const auto matchedRefsHandleSize = matchedRefsHandle->size(); if(matchedRefsHandleSize >= metadata.minCardinality) { auto boundRefsHandle = boundRefs.lock(); // acquires lock on boundRefs std::copy_n(matchedRefsHandle->rbegin(), std::min(metadata.maxCardinality, matchedRefsHandleSize), std::inserter(*(boundRefsHandle), boundRefsHandle->begin())); return true; } return false; // release locks on matchedRefs and boundRefs } // This method implements the following algorithm // // if reference becomes satisfied // Copy service references from #matchedRefs to #boundRefs // send a SATISFIED notification to listeners // else if reference is already satisfied // if policyOption is reluctant // ignore the new servcie // else if policyOption is GREEDY // if the new service is better than any of the existing services in #boundRefs // send UNSATISFIED notification to listeners // clear #boundRefs // copy #matchedRefs to #boundRefs // send a SATISFIED notification to listeners // endif // endif // endif void ReferenceManagerImpl::ServiceAdded(const cppmicroservices::ServiceReferenceBase& reference) { std::vector<RefChangeNotification> notifications; if(!reference) { logger->Log(SeverityLevel::LOG_DEBUG, "ServiceAdded: service with id " + std::to_string(GetServiceId(reference)) + " has already been unregistered, no-op"); return; } // const auto minCardinality = metadata.minCardinality; // const auto maxCardinality = metadata.maxCardinality; // auto prevSatisfied = false; // auto becomesSatisfied = false; auto replacementNeeded = false; auto notifySatisfied = false; auto serviceIdToUnbind = -1; if(!IsSatisfied()) { notifySatisfied = UpdateBoundRefs(); // becomes satisfied if return value is true } else // previously satisfied { if (metadata.policyOption == "greedy") { auto boundRefsHandle = boundRefs.lock(); // acquire lock on boundRefs if (boundRefsHandle->find(reference) == boundRefsHandle->end()) // reference is not bound yet { if (!boundRefsHandle->empty()) { const ServiceReferenceBase& minBound = *(boundRefsHandle->begin()); if (minBound < reference) { replacementNeeded = true; serviceIdToUnbind = GetServiceId(minBound); } } else { replacementNeeded = IsOptional(); } } } } if(replacementNeeded) { logger->Log(SeverityLevel::LOG_DEBUG, "Notify UNSATISFIED for reference " + metadata.name); RefChangeNotification notification{metadata.name, RefEvent::BECAME_UNSATISFIED}; notifications.push_back(std::move(notification)); // The following "clear and copy" strategy is sufficient for // updating the boundRefs for static binding policy if(0 < serviceIdToUnbind) { auto boundRefsHandle = boundRefs.lock(); boundRefsHandle->clear(); } notifySatisfied = UpdateBoundRefs(); } if(notifySatisfied) { logger->Log(SeverityLevel::LOG_DEBUG, "Notify SATISFIED for reference " + metadata.name); RefChangeNotification notification{metadata.name, RefEvent::BECAME_SATISFIED}; notifications.push_back(std::move(notification)); } BatchNotifyAllListeners(notifications); } cppmicroservices::InterfaceMapConstPtr ReferenceManagerImpl::AddingService(const cppmicroservices::ServiceReference<void>& reference) { { // acquire lock on matchedRefs auto matchedRefsHandle = matchedRefs.lock(); matchedRefsHandle->insert(reference); } // release lock on matchedRefs // After updating the bound references on this thread, notifying listeners happens on a separate thread // see "synchronous" section in https://osgi.org/download/r6/osgi.core-6.0.0.pdf#page=432 ServiceAdded(reference); // A non-null object must be returned to indicate to the ServiceTracker that // we are tracking the service and need to be called back when the service is removed. return MakeInterfaceMap<dummyRefObj>(std::make_shared<dummyRefObj>()); } void ReferenceManagerImpl::ModifiedService(const cppmicroservices::ServiceReference<void>& /*reference*/, const cppmicroservices::InterfaceMapConstPtr& /*service*/) { // no-op since there is no use case for property update } /** *This method implements the following algorithm * * If the removed service is found in the #boundRefs * send a UNSATISFIED notification to listeners * clear the #boundRefs member * copy #matchedRefs to #boundRefs * if reference is still satisfied * send a SATISFIED notification to listeners * endif * endif */ void ReferenceManagerImpl::ServiceRemoved(const cppmicroservices::ServiceReferenceBase& reference) { auto removeBoundRef = false; std::vector<RefChangeNotification> notifications; { // acquire lock on boundRefs auto boundRefsHandle = boundRefs.lock(); auto itr = boundRefsHandle->find(reference); removeBoundRef = (itr != boundRefsHandle->end()); } // end lock on boundRefs if(removeBoundRef) { logger->Log(SeverityLevel::LOG_DEBUG, "Notify UNSATISFIED for reference " + metadata.name); RefChangeNotification notification { metadata.name, RefEvent::BECAME_UNSATISFIED }; notifications.push_back(std::move(notification)); { auto boundRefsHandle = boundRefs.lock(); boundRefsHandle->clear(); } auto notifySatisfied = UpdateBoundRefs(); if(notifySatisfied) { logger->Log(SeverityLevel::LOG_DEBUG, "Notify SATISFIED for reference " + metadata.name); RefChangeNotification notification{metadata.name, RefEvent::BECAME_SATISFIED}; notifications.push_back(std::move(notification)); } BatchNotifyAllListeners(notifications); } } /** * If a target service is available to replace the bound service which became unavailable, * the component configuration must be reactivated and the replacement service is bound to * the new component instance. */ void ReferenceManagerImpl::RemovedService(const cppmicroservices::ServiceReference<void>& reference, const cppmicroservices::InterfaceMapConstPtr& /*service*/) { { // acquire lock on matchedRefs auto matchedRefsHandle = matchedRefs.lock(); matchedRefsHandle->erase(reference); } // release lock on matchedRefs // After updating the bound references on this thread, notifying listeners happens on a separate thread // see "synchronous" section in https://osgi.org/download/r6/osgi.core-6.0.0.pdf#page=432 ServiceRemoved(reference); } std::atomic<cppmicroservices::ListenerTokenId> ReferenceManagerImpl::tokenCounter(0); /** * Method is used to register a listener for callbacks */ cppmicroservices::ListenerTokenId ReferenceManagerImpl::RegisterListener(std::function<void(const RefChangeNotification&)> notify) { auto notifySatisfied = UpdateBoundRefs(); if(notifySatisfied) { RefChangeNotification notification { metadata.name, RefEvent::BECAME_SATISFIED }; notify(notification); } cppmicroservices::ListenerTokenId retToken = ++tokenCounter; { auto listenerMapHandle = listenersMap.lock(); listenerMapHandle->emplace(retToken, notify); } return retToken; } /** * Method is used to remove a registered listener */ void ReferenceManagerImpl::UnregisterListener(cppmicroservices::ListenerTokenId token) { auto listenerMapHandle = listenersMap.lock(); listenerMapHandle->erase(token); } /** * Method used to notify all listeners */ void ReferenceManagerImpl::BatchNotifyAllListeners(const std::vector<RefChangeNotification>& notifications) noexcept { if (notifications.empty() || listenersMap.lock()->empty()) { return; } RefMgrListenerMap listenersMapCopy; { auto listenerMapHandle = listenersMap.lock(); listenersMapCopy = *listenerMapHandle; // copy the listeners map } for(auto& listenerPair : listenersMapCopy) { for (auto const& notification : notifications) { listenerPair.second(notification); } } } } }
cpp
The new stores endeavour to service customers, provide assistance and transparency in the gold recycling process, encouraging them to unlock optimum value of their Gold and Gold Jewellery with the best market exchange rates. Commenting on this joyous occasion, Mr. B. Gopinath, Sales Head, DRU GOLD said, “The gold jewellery market in Andhra Pradesh is among the quickest growing industries in the country with tremendous potential for more. This led us to open 15 stores in 2020 and though we were in the midst of the pandemic, the consumers footfall and engagement reposed faith in our brand, giving us an impetus to expand further. Today, we are well-poised for a steady growth nationally. We will continue to ensure elite customer service and fostering mutually-beneficial relationships with our partners”. DRU GOLD has already served 2500+ customers and with their fast-paced growth approach & excellence across their journey, plans to open 12 stores in Andhra Pradesh by end of year 2021 and soon head overseas.
english
<reponame>esportleague/imaginary { "name": "imaginary", "version": "1.0.0", "description": "imaginary is an image gallery built using Gatsby and Cloudinary. Follow this project to know more.", "main": "index.js", "scripts": { "test": "echo \"Error: no test specified\" && exit 1", "develop": "gatsby develop" }, "repository": { "type": "git", "url": "git+https://github.com/atapas/imaginary.git" }, "keywords": [], "author": "", "license": "ISC", "bugs": { "url": "https://github.com/atapas/imaginary/issues" }, "homepage": "https://github.com/atapas/imaginary#readme", "dependencies": { "dotenv": "^8.2.0", "gatsby": "^2.24.70", "gatsby-source-cloudinary": "^0.1.14", "react": "^16.13.1", "react-dom": "^16.13.1" } }
json
The candidates may kindly note that appearance in NEET-MDS does not confer any automatic rights to secure an MDS seat. The selection and admission to MDS seats in any dental institutions recognised for running MDS courses as per Dentists Act, 1948 is subject to fulfilling the admission criteria, eligibility, medical fitness and such criteria as may be prescribed by the respective universities, dental institutions, Dental Council of India, State/Central Government. The candidates may note that NBE has no role regarding counselling and allotment of MDS seats. NBE will not entertain any queries regarding availability of seats, counselling and allotment of MDS seats. Reservations: For counselling to be conducted by DGHS: For States/Union Territories - 50% State Quota Seats and Private Medical Colleges/ Institutes/Universities/Deemed Universities: For Armed Forces Medical Service Institutions: Candidates opting for admission to MDS seats in Armed Forces Medical Services (AFMS) Institutions shall select the following option in the NEET-MDS 2022 online application form: Note: There is no certain reservation of seats for SC/ST/OBC/PH candidates in the Armed Forces Medical Services Institutions. As per the new orders, norms & conditions of the official board, all the private/deemed/govt. dental colleges are to accept NEET-MDS 2023 scores. Apart from these, the following medical institution is not covered by centralized admissions for MDS seats through NEET-MDS for 2023session:
english
Filmmaker Sujoy Ghosh wrapped up a short film starring the doyen of the Bengali film industry Soumitra Chatterjee here Saturday. “Short film over. Now to embark upon long…(sic),” tweeted Ghosh of ‘Kahaani’ fame. Tota Roy Choudhury and Radhika Apte are the other actors in the film, said to be a thriller. A few days ago, the ‘Kahaani crew landed in the city for the shoot. “…and my whole ‘Kahaani’ crew lands in kolkata today each more excited than the other to work with Soumitra Chatterjee,” Ghosh said on Twitter Dec 14.
english
The Tanushree Dutta-Nana Patekar row needs no introduction. It's one of the most talked-about topics right now in the country. The Bollywood actress had recently alleged that Nana sexually harassed her in 2008. Several celebs have joined the women and men of the country to condemn the versatile Bollywood actor. However, some of Bollywood's own celebs have refused to comment on the issue. After Amitabh Bachchan and top stars like Aamir and Salman, it's now Shakti Kapoor's turn to refuse to comment on the issue or simply stay mum. "I don't know anything about this case. This was ten years back, I was a kid back then," the veteran Bollywoodian has said when he was asked about the issue. His response was followed by laughter in the hall. Meanwhile, Nana is said to be gearing up to address the press very soon. Tanushree, on the other hand, alleged on Tuesday that she is receiving threats from Nana's side. Follow us on Google News and stay updated with the latest!
english
<reponame>Tarokan/heroReplaySQLUploader<filename>tableconfig.json { "database": "heroes", "columns": [ { "name": "playerTakedowns", "type": "SMALLINT UNSIGNED" } ] }
json
KGF 2 collections: The action thriller drama KGF 2 starring Yash, Bollywood actor Sanjay Dutt, Srinidhi Shetty, and Mohra girl Raveena Tandon, is doing fantastic collections at the box office and on its 23rd day, the Hindi version of KGF 2 crossed Rs 400 Cr marks. And on 23rd day, KGF 2 crossed Rs 400 cr marks in Hindi belt. KGF: Chapter 2 is on a record-breaking spree. First, it crossed the Rs 1000 cr mark internationally, and now the Hindi version has become the second film to cross the Rs 400 crore mark, only behind Baahubali 2: The Conclusion. The SS Rajamouli film had earned Rs 511 Cr.
english
India is a dammed country. According to the National Registry for Large Dams (NRLD), in 2016 a total of 4877 dams were built in India and 313 dams were still under construction. These include the Bhakra Nangal, Nagarjunasagar, Kosi, Chambal, Hirakud, Kakrapar and Tungabhadra that were built to harness water for hydropower, irrigation, and domestic water supply and have been seen as a sign of development and economic growth, informs this paper titled 'Dam-induced hydrological alterations in the upper Cauvery river basin, India' published in the Journal of Hydrology: Regional studies. Cauvery is one of the important peninsular interstate rivers in India that has been intensely altered by reservoirs, barrages, canals, and anicuts (masonry check dams constructed across streams to divert water) to meet the rapidly growing water demands for irrigation, household consumption, and power generation. While the reservoirs have helped to expand the irrigated areas in the basin and securing water availability during water stress conditions, it has also given rise to water conflicts between upstream and downstream states over water allocation. There are around 96 dams constructed in the Cauvery basin during the last 1000 years. Of these, 70.30 percent are being used for irrigation, 19.80 percent for hydro-power generation, 6.93 percent for both irrigation and hydropower generation, and the remaining 2.97 percent for drinking water supply. The Cauvery delta, Hemavathi, Mettur, Krishna raja Sagara, and Harangi irrigation projects are among the major irrigation projects in the Cauvery basin. Extensive damming has led to degradation in water quality and sediment transport has also been adversely affected, which has impacted freshwater ecosystems leading to changes in aquatic species composition in the river waters. The population of migratory fish species such as Tor spp., Lates calcarifer, Bagarius bagarius, and Anguilla spp has declined due to reduced flow rates in the river. These changes call for the need to assess the degree to which hydrological flows have been altered, i.e., deviated from the natural flows, by the construction of dams in the river. The paper describes the findings of a study that conducts an assessment of the hydrological alterations triggered by the construction of major dams in the upper Cauvery basin. The study thus aims at i) developing and implementing a robust human influenced hydrological model that can reliably simulate pre reservoir hydrological regimes and ii) deploying a systematic assessment of pre and post reservoir flow regime changes in the basin. The study finds that: The average monthly flow in the Upper Cauvery basin has been greatly influenced by reservoir operations and subsequent water abstractions in the basin. The reduction of streamflow in most of the months has been leading to increased scarcity of water in different seasons. There has been a decrease in monthly flows across all the sub-basins throughout the year due to reservoir operations when compared to its natural flow regimes. The different operation rules in different sub-basins have varying degrees of influence on downstream flow timing, pulse behaviour, change rate, and frequencies of flow. The decrease in summer flows can have negative effects on the aquatic habitats and migratory and reproductive biology of fish species in the downstream areas. The frequency and duration of high and low pulses are critical for supporting the migratory behaviour of fish during the spawning season. The construction of reservoirs has led to reduction in the natural flows of the river and changes in natural flow pulses have threatened the survival of migratory fish species Tor pitutora in the river basin. In addition, variations in fish assemblage structures have been affected since the structures are strongly associated with mean daily flows, base flows, number of zero-flow days and high-flow pulses. The frequency and duration of low pulses have also been impacted across all the studied sub-basins in the river. Decreases in low pulse durations was observed in the Kudige, M.H. Halli and Kollegal sub-basins which can worsen the eco-hydrological environment of the river and surrounding floodplains. In contrast, an increase in low pulse duration was observed in the T. Narasipur sub-basin where the hydro-power reservoir is located since the reservoir releases excess water to preserve flood control capacity from June till August, after which it releases flow to meet the power generation requirements, which then increases the low flow duration in the T. Narasipur sub-basin. Hydrological connectivity between the river channels and floodplain is dependent on the intensities and durations of high and low pulses and determines the habitat for aquatic species in the dry and wet seasons. Flow pulses also provide essential carbon inputs to the riverine ecosystem and strongly support the aquatic food web. Thus, floodplain ecosystems are dependent on naturally dynamic river-flow patterns. Changes in flow patterns directly affect the floodplain habitats and biodiversity. Dam impoundments cause salinisation and waterlogging which impact the water quality while desilting of reservoirs and canals has been found to reduce irrigation availability as the tail-end areas do not get adequate irrigation water for the second crop thereby reducing the area for agricultural production. The reported geomorphic consequences of dams include bed armouring, changes in bedform morphology, and sediment depositions downstream that directly affect the channel morphology by narrowing widths, deepening channels and arresting flow within the channel. Evidence increasingly suggest that dams significantly affect river flow regimes. The costs of dam removals are huge and have both economic and social implications. However, the ill effects of the dams can be minimised by incorporating environmental flows as an integral part of dam development programs. Since irrigation reservoirs have a distinct hydrological influence over hydropower reservoirs, there may be a need to differentiate the e-flow setting based on the purpose of the reservoirs. There is thus a need for more research to compare the flow regime changes made by reservoirs serving various purposes to establish e-flow standards that specifically target the impact of that type of reservoir operation. In rivers where dams are already operational, there is a need to recalculate the reservoir operation rules to take environmental flow requirements into account, thereby reducing their negative effects. However, environmental flows are still not widely acknowledged in India. Even though the Supreme Court of India has mandated a minimum flow of 10 per cent for rivers like Yamuna and Cauvery to improve the water quality, the water released from various dams is not well aligned with such environmental flow requirements. There is also a lack of data on the relationships between flows and ecosystem functioning, which impedes the implementation of environmental flow assessment. Further, the existing Environmental Impact Assessment (EIA) system in India has failed to examine and mitigate the broader consequences of widespread dam-building. There is a need to improve the EIA by including the timing and duration of low/high flow pulses during the impact assessment of dams in relation to the environmental flows. It can be more effective if the flow requirements for dry and wet years are assessed separately for different reservoir storage levels and reservoir purposes. In addition, the tradeoffs between water security of different stakeholders need to be considered during the design and construction of the dams. The study thus presents a way forward to understand the impacts of dams at the basin scale under data-scarce conditions and can help basin managers in formulating strategies to allocate water for both human and environmental needs, argues the paper.
english
import React from 'react'; // import PropTypes from 'prop-types'; // ----------------------------------------------------------------------------- // TODO: Write <BookmarkDeletePage /> component. const BookmarkDeletePage = () => <div>BookmarkDeletePage</div>; // BookmarkDeletePage.propTypes = {}; // BookmarkDeletePage.defaultProps = {}; // ----------------------------------------------------------------------------- export default BookmarkDeletePage;
javascript
<filename>Prj08_Studenti/src/model/Studente.java<gh_stars>1-10 package model; public class Studente { private static int counter = 1; private int id;//numero di matricola private String nome; private String cognome; private int eta; /** Per costruire uno Studente devi passare i parametri indicati sotto * @param nome - Come prima stringa inserire il NOME dello * @param cognome - Come 2° stringa inserire il COGNOME dello */ public Studente(String nome, String cognome) { this.id = counter++; this.nome = nome; this.cognome = cognome; this.eta = 25; } public int getId() { return id; } public String getNome() { return nome; } public String getCognome() { return cognome; } public int getEta() { return eta; } @Override public String toString() { return "Studente [id=" + id + ", nome=" + nome + ", cognome=" + cognome + ", eta=" + eta + "]"; } }
java
Shortly after their first-round exit from the playoffs, Cavaliers president of basketball operations Koby Altman made it clear that the franchise's priority this summer would be simple: find more shooting. And on that notion, the Cavs have acted fast. On Friday, the team re-signed Caris LeVert and signed Georges Niang to multi-year deals. They made another splash Saturday morning, as free agent guard Max Strus agreed to a four-year, $63 million deal via a three-team sign-and-trade with the Cavs, according to an ESPN report. In full, the Cavs are acquiring Strus in a three-team deal that will also send Cedi Osman, Lamar Stevens and a future second-round pick to the San Antonio Spurs and a future second-round pick to the Miami Heat. Shooting was the Cavs' target this offseason. Niang and now Strus both fit that profile. Strus is a career 37.1 percent shooter from 3-point range and was at times a key part of the Miami Heat offense. Last season, he averaged a career-high 11.5 points per game and helped the Heat reach the NBA Finals, though he did run into a cold stretch late in the playoffs. But as he helped the Heat pull off consecutive upsets during their run to the Finals, his stock rose, and it became clear that Miami would have difficulty keeping him on the roster. The Cavs, meanwhile, wouldn't have had the financial flexibility to add Strus to an agreeable deal without the sign-and-trade. Osman, Stevens and the two second-round picks were necessary to facilitate Strus' deal. Strus, 6-5, could slide into the starting small forward role, with Isaac Okoro coming off the bench and offering more defensive-minded option in needed situations. Keeping LeVert will allow the Cavs some flexibility between the 2-3 positions as well, and it became clear last season that keeping him in the second unit was more advantageous, as he was at his best with the ball in his hands instead of always playing third fiddle to Donovan Mitchell and Darius Garland. Niang, a 6-7 forward, is a career 40-percent shooter from 3-point range and gives the Cavs a big man to spread the floor a bit more behind Evan Mobley and Jarrett Allen. Free agent guard Ty Jerome has agreed to a two-year, $5 million deal with the Cavs, according to an ESPN report. Jerome, 6-5, averaged 6.9 points and 3.0 assists in 18.1 minutes per game with the Golden State Warriors last season. He shot 48.8 percent from the field and 38.9 percent from 3-point range, and makes up some of the depth after Osman and Stevens were needed to be jettisoned to bring in Strus. Jerome was a teammate of Mitchell's when they were eight or nine years old and playing for the Riverside Hawks AAU program based in Harlem. The Cavs acquired center Damian Jones from the Utah Jazz in a salary dump trade. The Cavs are absorbing Jones' $2.6 million deal. Jones, who turned 28 on Friday and stands 6-11, averaged 3.5 points and 3.0 rebounds in 11.6 minutes per game between the Los Angeles Lakers and Jazz last season. Ryan Lewis can be reached at rlewis@thebeaconjournal.com. Follow him on Twitter at @ByRyanLewis.
english
/* * Copyright 2002, The libsigc++ Development Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License as published by the Free Software Foundation; either * version 2.1 of the License, or (at your option) any later version. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * */ #include <sigc++/trackable.h> namespace sigc { trackable::trackable() noexcept : callback_list_(nullptr) {} /* Don't copy the notification list. The objects watching src don't need to be notified when the new object dies. */ trackable::trackable(const trackable& /*src*/) noexcept : callback_list_(nullptr) {} // Don't move the notification list. // The objects watching src don't need to be notified when the new object dies. // They need to be notified now, because src probably becomes useless. // // If trackable's move constructor is modified, check if Glib::Object's // move constructor should be modified similarly. trackable::trackable(trackable&& src) : callback_list_(nullptr) { src.notify_callbacks(); } trackable& trackable::operator=(const trackable& src) { if(this != &src) notify_callbacks(); //Make sure that we have finished with existing stuff before replacing it. return *this; } trackable& trackable::operator=(trackable&& src) { if(this != &src) { notify_callbacks(); //Make sure that we have finished with existing stuff before replacing it. src.notify_callbacks(); // src probably becomes useless. } return *this; } trackable::~trackable() { notify_callbacks(); } void trackable::add_destroy_notify_callback(void* data, func_destroy_notify func) const { callback_list()->add_callback(data, func); } void trackable::remove_destroy_notify_callback(void* data) const { callback_list()->remove_callback(data); } void trackable::notify_callbacks() { if (callback_list_) delete callback_list_; //This invokes all of the callbacks. callback_list_ = nullptr; } internal::trackable_callback_list* trackable::callback_list() const { if (!callback_list_) callback_list_ = new internal::trackable_callback_list; return callback_list_; } namespace internal { trackable_callback_list::~trackable_callback_list() { clearing_ = true; for (auto& callback : callbacks_) if (callback.func_) callback.func_(callback.data_); } void trackable_callback_list::add_callback(void* data, func_destroy_notify func) { if (!clearing_) // TODO: Is it okay to silently ignore attempts to add dependencies when the list is being cleared? // I'd consider this a serious application bug, since the app is likely to segfault. // But then, how should we handle it? Throw an exception? Martin. callbacks_.push_back(trackable_callback(data, func)); } void trackable_callback_list::clear() { clearing_ = true; for (auto& callback : callbacks_) if (callback.func_) callback.func_(callback.data_); callbacks_.clear(); clearing_ = false; } void trackable_callback_list::remove_callback(void* data) { for (callback_list::iterator i = callbacks_.begin(); i != callbacks_.end(); ++i) { auto& callback = *i; if (callback.data_ == data && callback.func_ != nullptr) { //Don't remove a list element while the list is being cleared. //It could invalidate the iterator in ~trackable_callback_list() or clear(). //But it may be necessary to invalidate the callback. See bug 589202. if (clearing_) callback.func_ = nullptr; else callbacks_.erase(i); return; } } } } /* namespace internal */ } /* namespace sigc */
cpp
package net.sf.l2j.gameserver.handler.admincommandhandlers; import java.util.Collection; import java.util.List; import java.util.StringTokenizer; import net.sf.l2j.gameserver.data.ItemTable; import net.sf.l2j.gameserver.data.xml.ArmorSetData; import net.sf.l2j.gameserver.handler.IAdminCommandHandler; import net.sf.l2j.gameserver.model.World; import net.sf.l2j.gameserver.model.actor.instance.Player; import net.sf.l2j.gameserver.model.item.ArmorSet; import net.sf.l2j.gameserver.model.item.kind.Item; import net.sf.l2j.gameserver.network.serverpackets.ItemList; import net.sf.l2j.gameserver.network.serverpackets.NpcHtmlMessage; /** * This class handles following admin commands:<br> * <br> * - itemcreate = show "item creation" menu<br> * - create_item = creates num items with respective id, if num is not specified, assumes 1.<br> * - create_set = creates armorset with respective chest id.<br> * - create_coin = creates currency, using the choice box or typing good IDs.<br> * - reward_all = reward all online players with items. */ public class AdminCreateItem implements IAdminCommandHandler { private static final String[] ADMIN_COMMANDS = { "admin_itemcreate", "admin_create_item", "admin_create_set", "admin_create_coin", "admin_reward_all" }; @Override public boolean useAdminCommand(String command, Player activeChar) { StringTokenizer st = new StringTokenizer(command); command = st.nextToken(); if (command.equals("admin_itemcreate")) { AdminHelpPage.showHelpPage(activeChar, "itemcreation.htm"); } else if (command.equals("admin_reward_all")) { try { final int id = Integer.parseInt(st.nextToken()); final int count = (st.hasMoreTokens()) ? Integer.parseInt(st.nextToken()) : 1; final Collection<Player> players = World.getInstance().getPlayers(); for (Player player : players) createItem(activeChar, player, id, count, 0, false); activeChar.sendMessage(players.size() + " players rewarded with " + ItemTable.getInstance().getTemplate(id).getName()); } catch (Exception e) { activeChar.sendMessage("Usage: //reward_all <itemId> [amount]"); } AdminHelpPage.showHelpPage(activeChar, "itemcreation.htm"); } else { Player target = activeChar; if (activeChar.getTarget() != null && activeChar.getTarget() instanceof Player) target = (Player) activeChar.getTarget(); if (command.equals("admin_create_item")) { try { final int id = Integer.parseInt(st.nextToken()); int count = 1; int radius = 0; if (st.hasMoreTokens()) { count = Integer.parseInt(st.nextToken()); if (st.hasMoreTokens()) radius = Integer.parseInt(st.nextToken()); } createItem(activeChar, target, id, count, radius, true); } catch (Exception e) { activeChar.sendMessage("Usage: //create_item <itemId> [amount] [radius]"); } AdminHelpPage.showHelpPage(activeChar, "itemcreation.htm"); } else if (command.equals("admin_create_coin")) { try { final int id = getCoinId(st.nextToken()); if (id <= 0) { activeChar.sendMessage("Usage: //create_coin <name> [amount]"); return false; } createItem(activeChar, target, id, (st.hasMoreTokens()) ? Integer.parseInt(st.nextToken()) : 1, 0, true); } catch (Exception e) { activeChar.sendMessage("Usage: //create_coin <name> [amount]"); } AdminHelpPage.showHelpPage(activeChar, "itemcreation.htm"); } else if (command.equals("admin_create_set")) { // More tokens means you try to use the command directly with a chestId. if (st.hasMoreTokens()) { try { final ArmorSet set = ArmorSetData.getInstance().getSet(Integer.parseInt(st.nextToken())); if (set == null) { activeChar.sendMessage("This chest has no set."); return false; } for (int itemId : set.getSetItemsId()) { if (itemId > 0) target.getInventory().addItem("Admin", itemId, 1, target, activeChar); } if (set.getShield() > 0) target.getInventory().addItem("Admin", set.getShield(), 1, target, activeChar); activeChar.sendMessage("You have spawned " + set.toString() + " in " + target.getName() + "'s inventory."); // Send the whole item list and open inventory window. target.sendPacket(new ItemList(target, true)); } catch (Exception e) { activeChar.sendMessage("Usage: //create_set <chestId>"); } } // Regular case (first HTM with all possible sets). int i = 0; final StringBuilder sb = new StringBuilder(); for (ArmorSet set : ArmorSetData.getInstance().getSets()) { final boolean isNextLine = i % 2 == 0; if (isNextLine) sb.append("<tr>"); sb.append("<td><a action=\"bypass -h admin_create_set " + set.getSetItemsId()[0] + "\">" + set.toString() + "</a></td>"); if (isNextLine) sb.append("</tr>"); i++; } final NpcHtmlMessage html = new NpcHtmlMessage(0); html.setFile("data/html/admin/itemsets.htm"); html.replace("%sets%", sb.toString()); activeChar.sendPacket(html); } } return true; } private static void createItem(Player activeChar, Player target, int id, int num, int radius, boolean sendGmMessage) { final Item template = ItemTable.getInstance().getTemplate(id); if (template == null) { activeChar.sendMessage("This item doesn't exist."); return; } if (num > 1 && !template.isStackable()) { activeChar.sendMessage("This item doesn't stack - Creation aborted."); return; } if (radius > 0) { final List<Player> players = activeChar.getKnownTypeInRadius(Player.class, radius); for (Player obj : players) { obj.addItem("Admin", id, num, activeChar, false); obj.sendMessage("A GM spawned " + num + " " + template.getName() + " in your inventory."); } if (sendGmMessage) activeChar.sendMessage(players.size() + " players rewarded with " + num + " " + template.getName() + " in a " + radius + " radius."); } else { target.getInventory().addItem("Admin", id, num, target, activeChar); if (activeChar != target) target.sendMessage("A GM spawned " + num + " " + template.getName() + " in your inventory."); if (sendGmMessage) activeChar.sendMessage("You have spawned " + num + " " + template.getName() + " (" + id + ") in " + target.getName() + "'s inventory."); // Send the whole item list and open inventory window. target.sendPacket(new ItemList(target, true)); } } private static int getCoinId(String name) { if (name.equalsIgnoreCase("adena")) return 57; if (name.equalsIgnoreCase("ancientadena")) return 5575; if (name.equalsIgnoreCase("festivaladena")) return 6673; return 0; } @Override public String[] getAdminCommandList() { return ADMIN_COMMANDS; } }
java
from django.db import models class IotView(models.Model): name = models.CharField(max_length=255) description = models.CharField(max_length=255) view_type = models.CharField(max_length=255) node0_path = models.CharField(max_length=1024) node1_path = models.CharField(max_length=1024, default='', blank=True) node2_path = models.CharField(max_length=1024, default='', blank=True) node3_path = models.CharField(max_length=1024, default='', blank=True) node0_descr = models.CharField(max_length=255) node1_descr = models.CharField(max_length=255, default='', blank=True) node2_descr = models.CharField(max_length=255, default='', blank=True) node3_descr = models.CharField(max_length=255, default='', blank=True) def get_last_value_url(self): """ get API url from nodex_path: 'dev_id!node_path' """ base_url = 'data/read/{}?datanodes={}' paths = [] paths.append((self.node0_descr, base_url.format(*self.node0_path.split('!')))) if self.node1_path: paths.append((self.node1_descr, base_url.format(*self.node1_path.split('!')))) if self.node2_path: paths.append((self.node2_descr, base_url.format(*self.node2_path.split('!')))) if self.node3_path: paths.append((self.node3_descr, base_url.format(*self.node3_path.split('!')))) return paths class API(models.Model): name = models.CharField(max_length=255) token = models.CharField(max_length=255) url = models.CharField(max_length=255)
python
const logger = require('./logger'); const runner = require('./runner'); async function start() { logger.setLogger((msg) => console.log("[DEBUG]" + msg)); const onFailure = (message) => console.log(message); console.log(process.argv); const args = process.argv.splice(2); if (args.length !== 2) { onFailure("Requires 2 arguments"); usage(); return; } let inFile = args[0]; let outFile = args[1]; runner.run(inFile, outFile, null, onFailure); } function usage() { console.log("usage: clilauncher.js <inputfile> <outputfile>"); } start();
javascript
<gh_stars>1000+ { "name": "Tatsi", "version": "1.0", "summary": "A drop-in replacement for UIImagePickerController with the ability to select multiple images and/or videos", "description": "A drop-in replacement for UIImagePickerController with support for the following features:\n* Multi selection of photos/videos using the photos library\n* Ability to reverse the display order of images/videos\n* Option to show a camera button inside the picker\n* Assigning a max limit for the number of photos and videos\n* Choosing the first view the user sees", "homepage": "https://github.com/awkward/Tatsi", "license": { "type": "MIT", "file": "LICENSE" }, "authors": { "Awkward": "<EMAIL>" }, "social_media_url": "http://twitter.com/madeawkward", "platforms": { "ios": "9.0" }, "source": { "git": "https://github.com/awkward/Tatsi.git", "tag": "1.0" }, "source_files": [ "Tatsi", "Tatsi/**/*.{h,m,swift}" ], "exclude_files": "Classes/Exclude", "frameworks": "Photos", "pushed_with_swift_version": "3.0" }
json
# -*- encoding: utf-8 -*- import dsl from shapely.wkt import loads as wkt_loads from . import FixtureTest class SuppressHistoricalClosed(FixtureTest): def test_cartoon_museum(self): # Cartoon Art Museum (closed) self.generate_fixtures(dsl.way(368173967, wkt_loads('POINT (-122.400856246311 37.78696485494709)'), {u'name': u'Cartoon Art Museum (closed)', u'gnis:reviewed': u'no', u'addr:state': u'CA', u'ele': u'7', u'source': u'openstreetmap.org', u'wikidata': u'Q1045990', u'gnis:import_uuid': u'57871b70-0100-4405-bb30-88b2e001a944', u'gnis:feature_id': u'1657282', u'tourism': u'museum', u'gnis:county_name': u'San Francisco'})) # POI shouldn't be visible early self.assert_no_matching_feature( 15, 5242, 12664, 'pois', {'id': 368173967}) # but POI should be present at z17 and marked as closed self.assert_has_feature( 16, 10485, 25328, 'pois', {'id': 368173967, 'kind': 'closed', 'min_zoom': 17})
python
{ "files": ["node_modules/jquery/dist/jquery.min.js"], "resources": [ "node_modules/jquery/dist/**", "!node_modules/jquery/dist/jquery.min.js" ] }
json
import argparse import os import csv import random from utils import ensure_dir, get_project_path from collections import defaultdict # POS-tag for irrelevant tag selection import nltk nltk.download('punkt') nltk.download('averaged_perceptron_tagger') __author__ = "<NAME>" def write_tsv(intention_dir_path, filename, keys, dict): file_test = open(intention_dir_path + "/" + filename, 'wt') dict_writer = csv.writer(file_test, delimiter='\t') dict_writer.writerow(keys) r = zip(*dict.values()) for d in r: dict_writer.writerow(d) def make_dataset(root_data_dir, complete_data_dir, incomplete_data_dir, results_dir): """ :param root_data_dir: directory to save data :param complete_data_dir: subdirectory with complete data :param incomplete_data_dir: subdirectory with incomplete data :param results_dir: subdirectory with incomplete data :return: """ print("Making incomplete intention classification dataset...") complete_data_dir_path = root_data_dir + '/' + complete_data_dir incomplete_data_dir_path = root_data_dir + '/' + incomplete_data_dir results_dir_path = root_data_dir + '/' + results_dir ensure_dir(results_dir_path) # Traverse all sub-directories files_dictionary = defaultdict(lambda: []) for sub_dir in os.walk(complete_data_dir_path): if len(sub_dir[1]) == 0: data_name = sub_dir[0].split('/')[-1] files_dictionary[data_name] = sub_dir[2] # Open train and test tsv files for k, v in files_dictionary.items(): save_path = results_dir_path + '/' + k ensure_dir(save_path) for comp_v_i, inc_v_i in zip(['test.tsv', 'train.tsv'], ['test_withMissingWords.tsv', 'train_withMissingWords.tsv']): complete_tsv_file = open(complete_data_dir_path + '/' + k + '/' + comp_v_i, 'r') incomplete_tsv_file = open(incomplete_data_dir_path + '/' + k + '/' + inc_v_i, 'r') reader_complete = csv.reader(complete_tsv_file, delimiter='\t') reader_incomplete = csv.reader(incomplete_tsv_file, delimiter='\t') sentences, labels, missing_words_arr, targets = [], [], [], [] row_count = 0 for row_comp, row_inc in zip(reader_complete, reader_incomplete): if row_count != 0: # Incomplete sentences.append(row_inc[0]) labels.append(row_inc[1]) missing_words_arr.append(row_inc[2]) targets.append(row_comp[0]) if 'train' in comp_v_i: # Complete sentences.append(row_comp[0]) labels.append(row_comp[1]) missing_words_arr.append('') targets.append(row_comp[0]) row_count += 1 # Shuffle if 'train' in comp_v_i: c = list(zip(sentences, labels, missing_words_arr, targets)) random.shuffle(c) sentences, labels, missing_words_arr, targets = zip(*c) # Save train, test, val in files in the format (sentence, label) keys = ['sentence', 'label', 'missing', 'target'] data_dict = {'sentence': sentences, 'label': labels, 'missing': missing_words_arr, 'target': targets} write_tsv(save_path, comp_v_i, keys, data_dict) print("Complete + Incomplete intention classification dataset completed") def init_args(): parser = argparse.ArgumentParser(description="Script to make intention recognition dataset") parser.add_argument('--root_data_dir', type=str, default=get_project_path() + "/data", help='Directory to save subdirectories, needs to be an absolute path') parser.add_argument('--complete_data_dir', type=str, default="complete_data", help='Subdirectory with complete data') parser.add_argument('--incomplete_data_dir', type=str, default="incomplete_data_tfidf_lower_0.8_noMissingTag", help='Subdirectory with incomplete data') parser.add_argument('--results_dir', type=str, default="comp_with_incomplete_data_tfidf_lower_0.8_noMissingTag", help='Subdirectory to save Joint Complete and Incomplete data') return parser.parse_args() if __name__ == '__main__': args = init_args() make_dataset(args.root_data_dir, args.complete_data_dir, args.incomplete_data_dir, args.results_dir)
python
Scotsman David Petherick is a director & co-founder of several companies, and provides social media strategy & visibility services. David became known as ‘The Digital Biographer’ after a 2007 BBC radio interview, speaks Russian, wears the Kilt, and is a co-author for the books 'Age of Conversation 2.0, & 3.0'.
english
<reponame>DaniloOliveira28/web-ufscar import React, { Component, useState } from "react"; import { Box, TextField } from "@material-ui/core"; import SearchUser from "../../pages/SearchUser"; import "./App.css"; const App = () => { const [query, setQuery] = useState('danilo') return ( <Box className="App"> <Box> <h1 className="App-header-title"> github-graphql-react-relay-example </h1> </Box> <Box className="App-main"> <Box className="App-main-content"> <Box> <TextField onChange={(ev) => { setQuery(ev.target.value); }} value={query} id="outlined-search" label="Search field" type="search" variant="outlined" /> </Box> <SearchUser query={query} /> </Box> </Box> <Box className="App-footer"> <span> <b>E-Mail: </b> </span> <span><EMAIL></span> </Box> </Box> ); } export default App;
typescript
{"programs":{"mappings":{"user_facing":{"properties":{"created":{"type":"date"},"description":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"detailLinks":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"details":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"externalLink":{"type":"text"},"guid":{"type":"text","fields":{"keyword":{"type":"keyword","ignore_above":256}}},"tags":{"type":"keyword"},"title":{"type":"text"}}}}}}
json
<reponame>ludwiktrammer/house-of-refuge<gh_stars>0 import React from "react"; export const QuickFilter = ({label=null, children}) => { return <div className="quick-filter"> {label && <label>{label}</label>} {children} </div>; };
javascript
class adox_user { constructor() { // Groups Groups () {get} this.Groups = undefined; // string Name () {get} {set} this.Name = undefined; // _Catalog ParentCatalog () {get} {set} {set by ref} this.ParentCatalog = undefined; // Properties Properties () {get} this.Properties = undefined; } // void ChangePassword (string, string) ChangePassword(string, string) { } // RightsEnum GetPermissions (Variant, ObjectTypeEnum, Variant) GetPermissions(Variant, ObjectTypeEnum, Variant) { } // void SetPermissions (Variant, ObjectTypeEnum, ActionEnum, RightsEnum, InheritTypeEnum, Var... SetPermissions() { } } module.exports = adox_user;
javascript
A few weeks back, Palghar police arrested some people in connection with the murder of a sadhu during an incident in Palghar. The accused were taken to Wada police station and were under the custody over the last few weeks. As per the recent coronavirus test report, it is said that 11 accused have tested positive for COVID-19. As a result, the police station and they are joining Tehsildar's office will remain closed for the next two days. Swabs of six other accused have been given for investigation and the reports of these tests have not arrived. It is also said that one of the accused had tested positive earlier on May 2, 2020, and this incident had raised concerns at the police station. Further, 11 more accused have been infected with the virus. On April 17 2020, a driver and two sadhus were killed by a mob while they were on the way to Trimbakeshwar in Nashik. The car was halted by a large number of villages. Some of them questioned the passengers, soon the crowd threw stones at the vehicle and the mob started beating all the three members. Investigation after the matter said that more than a hundred people were arrested, of which nine were juvenile.
english
Bengaluru: Seven youngsters were arrested for dressing up as ghosts and scaring people on the streets here on Monday. All those who were arrested are aged between 20 and 22 years. According to police, the boys were charged under various bailable sections of the Indian Penal Code (IPC) but let off on bail later in the day. The boys were booked for criminal intimidation, wrongful restraint and insult with intent to provoke breach of peace. According to reports, the incident came into light when a policeman spotted the boys trying to scare the passersby and also homeless people sleeping on the streets. The same video is going viral on social media too. According to police, some of them were identified as students of agriculture while others have completed their graduation and working with private firms. "They were performing the acts as prank videos for their Youtube videos and wanted to raise the popularity of their channel," Deputy Commissioner of Police (North) Shashi Kumar said to a daily. According to local policemen, the group also scared away vehicles taking people to the railway station. The DCP also pointed out that any two-wheeler approaching the group at high speed could have met with an accident that could have led to a loss of lives. According to reports, all the seven boys were let out after their parents pleaded to the local police for the mischief acts and also guaranteed that the boys will not engage in such acts in the future.
english
<filename>Ago-Dic-2018/Ruben Campos/Parcial 2/jsons/97.json {'episode_id': 97, 'title': "Kidnapped! Naruto's Hot Spring Adventure!", 'title_japanese': 'ナルトの湯けむり珍道中', 'title_romanji': 'Naruto no Yukemuri Chindouchuu\xa0', 'aired': {'from': '2004-08-18T00:00:00+00:00', 'to': None, 'prop': {'from': {'day': None, 'month': None, 'year': None}, 'to': {'day': None, 'month': None, 'year': None}}, 'string': 'Aug 18, 2004'}, 'filler': True, 'recap': False, 'video_url': 'https://myanimelist.net/anime/20/Naruto/episode/97', 'forum_url': 'https://myanimelist.net/forum/?topicid=104820'}
json
/** * */ package ejercicio2T3; /** * @author usuario * */ public class Alumno_Informatica extends Alumno { private String[] dispositivos; /** * @param nom Es el nombre del Alumno * @param carr Es la carrera que esta estudiando * @param cur Es el curso que esta estudiando * @param dis Son los dispositivos que usa el alumno para estudiar */ public Alumno_Informatica(String nom, String carr, int cur, String[] dis) { super(nom, carr, cur); setDispositivos(dis); } /** * @return el parametro dispositivos */ public String[] getDispositivos() { return dispositivos; } /** * @param dispositivos se le asigna a dispositivos */ public void setDispositivos(String[] dispositivos) { this.dispositivos = dispositivos; } public void estudiar() { System.out.println("Igual que los demás tambien estoy estudiando"); System.out.println("Pero yo lo hago con mi Dispositivo preferido: " + dispositivos[dispositivos.length-1] + "\n"); } }
java
Birthday special: AbRam Khan turns into 7 superheroes to save the day and HOW - view pics! It's Shah Rukh Khan's son Abram Khan's third birthday and this is our way of wishing the kiddo and celebrating his birthday! Check out what we have in store for the celeb kid. Shah Rukh Khan's cutie son AbRam is everyone's favourite! I mean, he's just three and already has so many hearts won. His fans may not necessarily be SRK followers but all the boys and girls who have been floored by his cuteness. I kid you not when I say this that whenever we share a story with his face on it, fans go berserk. Well, you can't blame them really. AbRam's antiques, his pictures with celebs, daddy-son moments and lots of other such things make him one of the most endearing kids of Bollywood. Now we know it's a Friday and everybody just wants to wrap up work soon and head to some pubs or lounges where the party is gearing up. We're quite sure that you're not in your high spirits as there is a long span of time to go by before you leave from work. And just so as to put you in a good mood, we decided to take some help from the birthday boy, AbRam. We put AbRam in 7 superheroes' shoes (well, heads, if you ask me) and gave him some rad superpowers because we know that if nothing, these cute powers of the kiddo will definitely cheer you up! Don't believe us? I don't think words can explain the amount of wickedness but pics can! So here's our version of AbRam saving the day as he dons the suit of these heroes. You better check out my mischief with Mr Photokeeda to make sure that you go back home with a smile that reaches both the extremities of your face! In the darkest hours, AbRam's one video can illuminate bliss! He has the superpowers of planting a smile on your face in a jiffy! He can trap you in a web of happiness that you cannot escape from! The only command Jarvis gets from our baby Ironman is to brighten everyone's day with his lovable relics! He has CapAm's charm and endearing face, what else do you need his powers to comprise? In a Flash of a second, your gloominess will turn into a big smile, courtesy Abram's adorable antiques. AbRam can make even Green Lantern look good! OR The amount of attention that this kiddo gets will make every man green with envy! Well, AbRam definitely doesn't need a wingman with or without qualities like these, what do you say? Tell us your thoughts in the comments section below! Stay tuned to BollywoodLife for the latest scoops and updates from Bollywood, Hollywood, South, TV and Web-Series. Click to join us on Facebook, Twitter, Youtube and Instagram. Also follow us on Facebook Messenger for latest updates.
english
Officials say a 6.8 magnitude earthquake rocked a 40-mile stretch of the country, including the city of Marrakech. A 4.9 magnitude aftershock hit 20 minutes later causing hundreds of buildings to crumble.Read more: Live updates: More than 800 dead as powerful earthquake hits MoroccoA forceful, 6.8-magnitude earthquake shook Morocco late Friday, officials said. It was felt in the historic city of Marrakesh as well as Casablanca, Rabat, and Fez. A powerful earthquake in Morocco has killed more than 800 people, government saysAt least 820 people died, mostly in Marrakech and five provinces near the quake's epicenter, and another 672 people were injured, Morocco's Interior Ministry reported Saturday morning. A powerful earthquake in Morocco has killed more than 800 people, government saysAt least 820 people died, mostly in Marrakech and five provinces near the quake's epicenter, and another 672 people were injured, Morocco's Interior Ministry reported Saturday morning. Powerful earthquake in Morocco kills more than 800 peopleThe magnitude-6.8 quake was the hardest to hit Morocco in 120 years. Morocco earthquake toll tops 800 as rescuers rush to find survivorsPeople flee their homes in panic as 6.8-magnitude quake rattles the North African country, claiming lives of hundreds and damaging infrastructure, officials say. Earthquake in Morocco: At Least 296 Killed as Strong Quake Strikes MoroccoThe government released a preliminary toll after shaking was felt from Rabat to Marrakesh.
english
Turkish AI-backed marketing platform Insider has raised $105M in a funding round led by Qatar Investment Authority (QIA) and Istanbul-based buyout firm Esas Private Equity. Insider's Marketing platform leverages AI to predict consumer behavior and deliver personalized customer experiences. - Founded in 2012 by six Turkish entrepreneurs, Istanbul-based Insider is Turkey's first software unicorn. - The funding round brings Insider's total funding amount to $274M with a valuation of nearly $2B. - Insider boasts usage by more than 1,200 global brands in 28 countries, including Samsung, Vodafone, IKEA, New Balance, Toyota, and many others. - In January, the startup acquired Istanbul-based MindBehind, a Meta-verified Conversational Commerce and Messaging Platform, for an undisclosed sum. What the numbers say: PwC's Customer Loyalty Executive Survey 2023 reveals that inflation is the most significant factor affecting consumer loyalty in the U.S., with 49% of respondents stating so. Gartner's 2023 Cost-of-Living and Price Sentiment survey found that 38% of respondents reported cutting their discretionary income (a 15% increase YoY) and that over 40% have opted for generic brands, store brands, and cheaper products in at least one product category. Relevance: CMOs from different companies are taking different approaches to appeal to customers during these tough economic times. Many of these CMOs are increasing the availability of products and services, offering special deals/discounts, and increasing loyalty-driven rewards and benefits. Customers seem to respond positively to these tactics but believe that high-level executives should not be getting pay raises to maintain prices. The term 'Greedflation' likely strikes a chord among U.S. consumers, as it refers to companies using inflation as an excuse to raise prices to drive profits significantly. It should also be noted that the COVID-19 pandemic induced fear, anxiety, and uncertainty in many members of the population, and this has translated to fears around the economy and cost of living, thus further affecting consumer behaviors and attitudes. Brands that should care: All brands should be taking note of this massive shift in consumer attitudes and behaviors. Brands should respond to customers' needs during these challenging and uncertain times to maintain consumer trust. This is reflected in a Nov. 2022 survey by Opinium, which found that 78% of consumers surveyed said that marketing campaigns should be adapted to be sensitive to customers' changing priorities and needs due to the cost of living crisis. Nowadays, more U.S. consumers are looking for quality over quantity and have adjusted their priorities to avoid frivolous spending in favor of investing solely in the necessities. Brands that sell necessities like food, clothing, laundry products, body care, hygienic products, etc., are most at stake here. Illinois-based B2B commerce technology firm Logik.io has raised a $16M Series A funding round led by Emergence Capital. The company is looking to consumerize B2B buying experiences by simplifying the processes of discovering, configuring, and recommending products. - Logik's Commerce Logic Engine technology enables businesses to sell their products and services more effectively via direct sales teams and digital commerce channels while providing more guided, flexible, and interactive selling experiences. - According to its website, Logik offers specific solutions for CPQ, commerce, marketing, channels, and Salesforce CPQ Configurator. - Among Logik's clients are Palo Alto Networks, Keysight Technologies, Club Car, Lamons, and many others. - The company recently reported over 500% YoY growth and plans to use its latest investment to expand its market strategy. Google recently announced that it is now offering its Grow with Google Digital coaches program for SMBs. This program originally launched in 2019 and provides a slew of tech-centered tools and online courses for individuals and businesses. - The program covers AI, cloud computing, programming/web development, communication, data analysis, digital marketing, and more. - The program aims to give SMBs the tools and resources to bring their business online, promote brand awareness, and grow their establishment. - According to Google's website, the digital coaches program offers a range of digital marketing courses for specific purposes, such as improving a company's online security, understanding AI, expanding a business internationally, UX design, IT support, creating more engaging business content, and more. - Google claims it has helped more than 160,000 small businesses gain new skills. Volition, a recently launched San Francisco-based B2B marketplace for the industrial components industry, has raised an $11M funding round led by Newark Venture Partners and Quiet Capital. The industry-specific B2B marketplace aims to connect buyers to a network of over 500,000 industry suppliers. - Volition is lauded as the first and only industrial parts marketplace for industrial parts supplies. - The company claims its B2B marketplace technology significantly facilitates the search process for various industrial components. - The core technology is designed to handle and organize a large number of products from many suppliers. - Data automation features purport to transform a wide range of product information into a normalized dataset to ensure updated information and specified search systems that enable engineering and supply chain teams to search and filter parts. - The company plans to use its fresh funds to expand its operations. Outdoor clothing and equipment company The North Face plans to move forward with its second Summer of Pride campaign for LGBTQ+ Pride Month, despite boycott pressure from many right-wing politicians and conservatives. The company's pride campaign features a video of drag queen Pattie Gonia, rainbow-themed apparel for adults and children, and T-shirts with the slogan "outdoors together." - The North Face responded to complaints on social media, stating that it believes "the outdoors should be a welcoming, equitable, and safe place for all" and that its pride month campaign reflects its values of "creating community and belonging in the outdoors." - This is a drastically different approach to Target and Budweiser, two companies that have also been under fire for promoting LGBTQ+ ads and products. Retail giant Target opted to pull remove some of its Pride-themed merchandise from its shelves due to concerns about employee safety and wellbeing. Zoom Out: - The North Face has added a "Beyond a month" section to its website, voicing its consistent support for the LGBTQ+ community. The company claims to support Brave Trails, a California-based non-profit offering a summer camp for LGBTQ+ youth. Quick Hits: - Luxury accessories brand Coach has opened a new travel-themed boutique inside an airplane at Malaysia's Freeport A'Famosa Outlet in Malacca. - Latino heritage-focused content, influencer, ad tech, and production studio Nuestro Stories appointed Alex Hernandez as Chief Revenue Officer/Head of Brand Partnerships and Senior Partner. Hernandez has more than 20 years of experience as a strategic marketing leader, having previously worked for iHeartMedia, NBC Universal, and other companies. - Destination British Columbia (BC) has launched a marketing campaign in Australia to promote ski tourism in the Canadian province. The You, Elevated campaign aims to convey the rush and intensity of the skiing experience through a series of video and print ads distributed via social media, magazines, and other forms of media. *This is sponsored content. World Trade Organization (WTO): The World Trade Organization's main purpose is to ensure that trade flows as smoothly, predictably, and freely as possible. Should companies take steps to avoid employee burnout, or should it be the individual's responsibility to manage it themselves? INSIDE MARKETING LEADERBOARD (7 DAYS) 🥇 Adam Roy (9) 🥈 Hannan Ahmad (9) 🥉 John Andrews (7) Isabel Guerriera is an Inside Freelance Writer and Editor currently living in Madrid, Spain. Isabel is originally from Brooklyn, New York, and holds a BA degree in Journalism and Public Relations from SUNY New Paltz and a MA in TESOL Education from CUNY Hunter. Her areas of interest are startups, space exploration, international politics, and climate science. Some of her favorite ways to spend her free time include hiking, traveling, reading, and writing fiction/poetry. Thanks for reading today's issue of Inside Marketing.
english
Ankara: Kurdish fighters completed their pullout from a zone along the Syrian border as required under a US-brokered cease-fire deal hours before it was set to expire Tuesday, US and Kurdish official said, as the leaders of Turkey and Russia sought to work out the fate of the border region. Turkey had threatened to relaunch its offensive if the withdrawal was not carried out. A senior Kurdish official, Redur Khalil, said that even after the Kurdish pullout, Turkish troops and their allies were continuing military operations in northeastern Syria outside the withdrawal zone. Ankara has agreed to the specified zone but Turkish officials said they still want to clear Kurdish fighters from their entire shared border. The Kurdish-led forces notified the White House of the completed withdrawal in a letter, a senior Trump administration official said, speaking on condition of anonymity because the contents of the letter have not yet been publicly disclosed. The United States, meanwhile, ran into a new hitch in getting its troops out of Syria, with neighbouring Iraq's military saying Tuesday that the American forces did not have permission to stay on its territory. The Iraqi announcement seemed to contradict US Defense Secretary Mark Esper, who a day earlier said the forces leaving Syria would deploy in Iraq to fight the Islamic State group. The conflicting signals underscored how the United States has stumbled from one problem to another after President Donald Trump abruptly ordered their withdrawal. Amid fears the Americans' departure will revive IS, Esper is considering keeping some troops in Syria to protect oil fields held by Kurdish-led fighters, backing away from the full withdrawal first touted by Trump. After the Iraqi statement, Esper said he would speak to the Iraqi defense minister on Wednesday and underlined that the US has no plans to keep the troops in Iraq "interminably" and intends to "eventually get them home. " The US pullout opened the door for Turkey to launch its offensive against Kurdish fighters on October 9. After a storm of criticism, Washington moved to broker a five-day cease-fire that was set to expire Tuesday night. Meanwhile, Russia has stepped into the void to strengthen its role as a power broker in Syria. Turkish President Recep Tayyip Erdogan and Russia's Vladimir Putin held talks in the Black Sea town of Sochi just hours before the cease-fire was set to expire. The talks are likely to be crucial in determining arrangements along the Syrian-Turkish border, where Ankara demands a long "safe zone" cleared of Kurdish fighters. Footage from the meetings in Russian media showed the two leaders looking over maps of Syria. Seeking protection after being abandoned by the Americans, the Kurds turned to the Syrian government and its main ally, Russia. The Syrian army has advanced into parts of the area, and Russia deployed its troops in some areas to act as a buffer force. Russia has powerful sway on all sides. Turkey has suggested it wants Russia to persuade the Syrian government to cede it control over a major chunk of territory in the northeast. The Kurds are hoping Russia can keep Turkey out and help preserve some of the autonomy they carved out for themselves during Syria's civil war. Syrian President Bashar Assad has vowed to reunite all the territory under Damascus' rule. On Tuesday, Assad called Erdogan "a thief" and said he was ready to support any "popular resistance" against Turkey's invasion. "We are in the middle of a battle and the right thing to do is to rally efforts to lessen the damages from the invasion and to expel the invader sooner or later," he told troops during a visit to the northwestern province of Idlib. The immediate question was the fate of the U. S. -brokered cease-fire, which was to run out at 10 pm (1900 GMT) Tuesday evening. Erdogan said 1,300 Syrian Kurdish fighters had yet to vacate a stretch of the border as required under the deal. He said 800 fighters had left so far. The Kurdish-led force has said it will carry out the pullout. If it doesn't, Erdogan warned Tuesday, "our offensive will continue from where it left off, with a much greater determination. " "There is no place for the (Kurdish fighters) in Syria's future. We hope that with Russia's cooperation, we will rid the region of separatist terror," he said. Under the accord, the Kurdish fighters are to vacate a stretch of territory roughly 120 kilometers (75 miles) wide and 30 kilometers (20 miles) deep between the Syrian border towns of Tal Abyad and Ras al-Ayn. But that leaves the situation in the rest of the northeastern border unclear. Currently, other than the few places where Syrian troops have deployed, they are solely in the hands of the Kurdish-led fighters a situation Ankara has repeatedly said it cannot tolerate. Turkey considers the fighters terrorists, because of their links to Kurdish insurgents inside Turkey. Turkey wants to control a "safe zone" extending more than 400 kilometers (250 miles) along the border, from the Euphrates River to the Iraqi border. There, it plans to resettle about 2 million of the roughly 3. 6 million Syrian refugees currently living in Turkey. Russia sent a new signal to Turkey about the need to negotiate directly with Assad. Kremlin spokesman Dmitry Peskov emphasized that only Damascus could authorize the Turkish troop presence on the Syrian territory. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - Associated Press)
english
import { expect } from "chai"; import { typeToString } from "../../src/api"; import { UI5Type } from "@ui5-language-assistant/semantic-model-types"; import { buildUI5Namespace, buildUI5Class, buildUI5Interface, buildUI5Enum, buildUI5Typedef, } from "@ui5-language-assistant/test-utils"; describe("The @ui5-language-assistant/logic-utils <typeToString> function", () => { const rootNS = buildUI5Namespace({ name: "rootNS" }); it("returns the type name for unresolved type", () => { const type: UI5Type = { kind: "UnresolvedType", name: "mytypename", }; expect(typeToString(type)).to.equal("mytypename"); }); it("returns the type name for primitive type", () => { const type: UI5Type = { kind: "PrimitiveType", name: "Float", }; expect(typeToString(type)).to.equal("Float"); }); it("returns the name for root namespace", () => { expect(typeToString(rootNS)).to.equal("rootNS"); }); it("returns the fully qualified name for namespace", () => { const type: UI5Type = buildUI5Namespace({ parent: rootNS, name: "myNS", }); expect(typeToString(type)).to.equal("rootNS.myNS"); }); it("returns the fully qualified name for class", () => { const type: UI5Type = buildUI5Class({ parent: rootNS, name: "myClass", }); expect(typeToString(type)).to.equal("rootNS.myClass"); }); it("returns the fully qualified name for interface", () => { const innerNS = buildUI5Namespace({ parent: rootNS, name: "inner", }); const type: UI5Type = buildUI5Interface({ parent: innerNS, name: "myInterface", }); expect(typeToString(type)).to.equal("rootNS.inner.myInterface"); }); it("returns the fully qualified name for enum", () => { const type: UI5Type = buildUI5Enum({ parent: rootNS, name: "myEnum", }); expect(typeToString(type)).to.equal("rootNS.myEnum"); }); it("returns the fully qualified name for typedef", () => { const type: UI5Type = buildUI5Typedef({ parent: rootNS, name: "myTypedef", }); expect(typeToString(type)).to.equal("rootNS.myTypedef"); }); it("returns 'any' for undefined type", () => { expect(typeToString(undefined)).to.equal("any"); }); describe("array types", () => { it("adds [] after unresolved type name", () => { const type: UI5Type = { kind: "ArrayType", type: { kind: "UnresolvedType", name: "mytypename", }, }; expect(typeToString(type)).to.equal("mytypename[]"); }); it("adds [] after primitive type name", () => { const type: UI5Type = { kind: "ArrayType", type: { kind: "PrimitiveType", name: "Boolean", }, }; expect(typeToString(type)).to.equal("Boolean[]"); }); it("adds [] after undefined type name", () => { const type: UI5Type = { kind: "ArrayType", type: undefined, }; expect(typeToString(type)).to.equal("any[]"); }); it("adds [] after array type name", () => { const type: UI5Type = { kind: "ArrayType", type: { kind: "ArrayType", type: { kind: "PrimitiveType", name: "Boolean", }, }, }; expect(typeToString(type)).to.equal("Boolean[][]"); }); it("adds [] after class name", () => { // Other types with FQN follow the same logic const type: UI5Type = { kind: "ArrayType", type: buildUI5Class({ parent: rootNS, name: "myClass", }), }; expect(typeToString(type)).to.equal("rootNS.myClass[]"); }); }); });
typescript
Natural gas is the component without which it is simply impossible today to imagine not only everyday life, but also the economy of whole states. This type of fuel is mined underground, like oil. Since these natural fossils are similar in origin, often their deposits are nearby. In other words, "blue fuel" can be found next to the oil. The main component of natural gas is methane. However, it also includes some hydrocarbons, in particular propane, butane, ethylene, etc. The higher the methane content, the better will be the blue fuel. The origin of the gas is uniquely biological. It was formed many tens of thousands of years ago from the remains of animals and plants at temperatures over 175 degrees Celsius. The cost of gas is one of the factors on which the economy depends, the welfare of citizens, the level of inflation and the normal operation of industry. What influences it? The cost of gas is determined by the demand for this type of energy carrier. Naturally, the higher it is, the more expensive will be the "blue fuel". Also, the exporting countries of this energy carrier can raise or reduce prices in order to exert political pressure on those states that are forced to buy it. In addition, the cost of gas and oil is usually interrelated. But recently there has been a slow departure from this "rule". After all, there is much more gas reserves than the deposits of "black gold". Naturally, the quality of the energy carrier itself Determines its value. The higher the percentage of methane in it, the more expensive it is. Of course, the presence or absence of own deposits in a particular state affects the state. For example, the cost of gas in the US is one of the lowest in the world. One of the reasons for this is that in North America there is a large amount of underground reserves of shale fuel. Moreover, the USA is one of the leading exporters of this type of energy carrier. But what will affect the cost of gas for the population? Last but not least, there is a certain infrastructure. It is also important that one or another populated The point is remote from the main gas pipeline. If residents have to use autonomous gas supply, then this will definitely affect its price. In turn, the cost of gas affects the prices of transport and goods. If the blue fuel becomes more expensive, then the price of some products on the market will also increase. The fact is that the cost of gas affects the results of the production process. How? If enterprises purchase energy at an increased price, they have to increase the value of the goods produced so as not to be at a loss. As a result, it can hit the consumer's pocket. First of all, the prices for products of chemical production and electric power take off. The cost of gas greatly affects the main consumers of these resources. And they are: the companies of heat and electric power industry, chemical industry facilities. Undoubtedly, the increase in the price of blue fuel is also noticeable for the population. The wholesale price of gas in Russia now ranges from 3,440 to 3,784 rubles per thousand cubic meters. It is regulated by the orders of the FST of the Russian Federation.
english
# -*- coding: utf-8 -* from typing import Dict from yacs.config import CfgNode from .backbone import builder as backbone_builder from .loss import builder as loss_builder from .task_head import builder as head_builder from .task_model import builder as task_builder def build_model( task: str, cfg: CfgNode, ): r""" Builder function. Arguments --------- task: str builder task name (track|vos) cfg: CfgNode buidler configuration Returns ------- torch.nn.Module module built by builder """ if task == "track": backbone = backbone_builder.build(task, cfg.backbone) losses = loss_builder.build(task, cfg.losses) head = head_builder.build(task, cfg.task_head) task_model = task_builder.build(task, cfg.task_model, backbone, head, losses) return task_model else: print("model for task {} is not complted".format(task)) exit(-1) def get_config() -> Dict[str, CfgNode]: r""" Get available component list config Returns ------- Dict[str, CfgNode] config with list of available components """ cfg_dict = {"track": CfgNode(), "vos": CfgNode()} for task in cfg_dict: cfg = cfg_dict[task] cfg["backbone"] = backbone_builder.get_config()[task] cfg["losses"] = loss_builder.get_config()[task] cfg["task_model"] = task_builder.get_config()[task] cfg["task_head"] = head_builder.get_config()[task] return cfg_dict
python
{"relations":[{"id":146665,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3351,"display_name":"<NAME> Women's Facility"},"direction":"source"},{"id":70682,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3476,"display_name":"<NAME>ane Women's Facility -- dance workshop"},"direction":"destination"},{"id":70683,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3477,"display_name":"<NAME> Women's Facility -- <NAME> visit"},"direction":"destination"},{"id":70684,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3478,"display_name":"<NAME> Women's Facility -- obstacles"},"direction":"destination"},{"id":70685,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3479,"display_name":"<NAME> Women's Facility -- pollution of water wells"},"direction":"destination"},{"id":70633,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3480,"display_name":"<NAME>ane Women's Facility -- prisoners moved to Western Wayne Correctional Facility"},"direction":"destination"},{"id":70668,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3617,"display_name":"Huron Valley Men's Correctional Facility"},"direction":"destination"},{"id":70675,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3978,"display_name":"Prison Creative Arts Project (PCAP) -- Florence Crane Women's Facility"},"direction":"source"},{"id":70686,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":3481,"display_name":"Prison Creative Arts Project theater workshops -- Florence Crane Women's Facility"},"direction":"destination"},{"id":70665,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":4030,"display_name":"Prison Creative Arts Project theater workshops -- Huron Valley Men's Correctional Facility"},"direction":"source"},{"id":70661,"relationtype":{"id":7,"rtype":"MultipleTokens","role_from":"Multiple Tokens with","role_to":"Multiple Tokens with","symmetrical":true},"basket":{"id":4159,"display_name":"Southern Michigan Correctional Facility -- Poet's Corner"},"direction":"source"},{"id":98522,"relationtype":{"id":6,"rtype":"Containment","role_from":"contained by","role_to":"contains","symmetrical":false},"basket":{"id":22256,"display_name":"Woman"},"direction":"source"}],"basket":{"id":3618,"topic_hits":[{"id":3698,"name":"Huron Valley Women's Correctional Facility","scope":{"id":2,"scope":"Generic"},"bypass":false,"hidden":false,"preferred":false}],"occurs":[{"id":11110,"location":{"id":2616,"document":{"title":"Is <NAME> Not Our Brother?: Twenty Years of the Prison Creative Arts Project","author":"<NAME>"},"localid":"page_109","sequence_number":120},"basket":3618},{"id":11111,"location":{"id":2634,"document":{"title":"Is <NAME> Not Our Brother?: Twenty Years of the Prison Creative Arts Project","author":"<NAME>"},"localid":"page_127","sequence_number":138},"basket":3618},{"id":11112,"location":{"id":2694,"document":{"title":"Is <NAME> Not Our Brother?: Twenty Years of the Prison Creative Arts Project","author":"<NAME>"},"localid":"page_187","sequence_number":198},"basket":3618},{"id":11113,"location":{"id":2749,"document":{"title":"Is <NAME> Not Our Brother?: Twenty Years of the Prison Creative Arts Project","author":"<NAME>"},"localid":"page_242","sequence_number":253},"basket":3618},{"id":11114,"location":{"id":2767,"document":{"title":"Is <NAME> Not Our Brother?: Twenty Years of the Prison Creative Arts Project","author":"<NAME>"},"localid":"page_260","sequence_number":271},"basket":3618}],"display_name":"Huron Valley Women's Correctional Facility","description":"","review":{"reviewer":null,"time":null,"reviewed":false,"changed":false},"weblinks":[],"types":[]}}
json
The BJP received Rs 259 crore or 70.69% of the total donations received by all political parties from electoral trusts. The BRS got Rs 90 crore or a fourth of the total donations received by all parties from all five electoral trusts. Other three political parties including YSR Congress, AAP and the Congress together got Rs 17.40 crore. Indian billionaire Adar Poonawalla is set to purchase a London mansion, Aberconway House, for £138 million (Rs 1,440 crore), marking the city's priciest home sale this year. The property, owned by Dominika Kulczyk, will become the second-most expensive residence ever sold in London. Poonawalla's Serum Life Sciences, a UK subsidiary of Serum Institute of India, will acquire it. Poonawalla, 82, suffered cardiac arrest on Thursday. Dr Purvez Grant, a cardiologist from Ruby Hall Clinic said, "Cyrus Poonawalla suffered mild cardiac arrest and is recovering fast." Ali Daruwala, advisor of the hospital, said in a statement, "Dr Cyrus Poonawalla suffered mild cardiac arrest on November 16 and was admitted to the Ruby Hall Clinic early morning on Friday." The Karnataka Health Department has issued an advisory in response to the detection of the Zika virus in a mosquito species in Chikkaballapura district. The advisory emphasizes that there is no need for undue panic. Instead, it urges people to seek medical attention at the nearest healthcare facility in the event of experiencing fever. This measured response aims to ensure public awareness and timely treatment, mitigating the spread and impact of the Zika virus. The R21/Matrix-MTM malaria vaccine is an easily deployable vaccine that can be manufactured at mass scale and modest cost, enabling as many as hundreds of millions of doses to be supplied to countries which are suffering a significant malaria burden. The R21/Matrix-M malaria vaccine is an easily deployable vaccine that can be manufactured at mass scale at a modest cost, enabling as many as hundreds of millions of doses to be supplied to countries which are suffering a significant malaria burden, according to a news release posted on the Oxford University website. The University of Oxford and Serum Institute of India (SII) have developed a malaria vaccine, which has been recommended for use by the World Health Organization (WHO). The R21/Matrix-M vaccine can be produced at a large scale and low cost, making it accessible to countries with a high malaria burden. Research suggests it is more than 75% effective and that protection is maintained for at least another year with a booster. Tedros said the shot would cost about $2 to $4 and could be available in some countries next year. "We're expecting a final WHO approval in the coming months, after which we can roll it out," Poonawalla told Reuters in an interview, adding that the company had already produced more than 20 million doses of product in anticipation of the clearance. Vaccine manufacturer Indian Immunologicals Limited (IIL) expects to commercially launch its dengue fever vaccine by early 2026, a top executive said, as the race to develop the country's first such vaccine heats up. Dengue, a mosquito-borne disease, has over the last few years become a major public health concern in India, with 31,464 dengue cases and 36 related deaths reported between January and July 31, 2023. Keki Mistry, former CEO and vice chairman of HDFC, has been appointed as an advisor for Cyrus Poonawalla Group's financial services ventures, headed by Adar Poonawalla. Cyrus Poonawalla Group operates across various sectors including Pharmaceuticals & Biotechnology, Finance, Clean Energy, Hospitality, Realty, and Aviation. Adar Poonawalla expressed confidence in Mistry's financial services sector expertise and believed he would provide a sounding board to management teams while they scale their profitability through risk management in an uncertain business environment. The Cyrus Poonawalla Group, more known for its vaccine-making business under the Serum Institute, in a statement said the financial consideration of Rs 3,004 crore is excluding the tax outgoes. With this sale, Poonawalla Housing Finance will cease to be a subsidiary of Poonawalla Fincorp, and Perseus will be holding a controlling stake. The Serum Institute of India has been granted permission to export its BCG vaccine to Canada for the treatment of bladder cancer, following a request from the director, Prakash Kumar Singh. BCG as immunotherapy is a live freeze-dried preparation derived from an attenuated strain of Mycobacterium bovis (Bacillus Calmette Guerin) and is sold in 40mg and 80mg presentations. The Serum Institute of India (SII), world's largest vaccine maker by volumes on Wednesday said its vaccine to protect against the five predominant causes of meningococcal meningitis in Africa has been prequalified by the World Health Organisation (WHO), making the vaccine eligible to be procured by United Nations agencies and Gavi, the Vaccine Alliance. The DCGI had approved market authorisation of Cy-Tb injection on May 9, 2022, but even after a year of approval, Cy-Tb is not available in the market due to the non-availability of testing facilities in any government lab in India, Singh is leant to have said in the letter. The investment would be "significant" in the range of "tens of millions of dollars", the companies said, but did not disclose any specific numbers, including proposed capacities, citing "confidentiality". The JV will combine SGD Pharma's vial-converting expertise with Corning's velocity vial platform. It intends to localise the supply chains and enable easier adoption of the technology by pharma customers. Serum Institute of Life Sciences (SILS) has converted a $150 million loan into equity, increasing its investment in Biocon Biologics. This latest investment adds to the $150 million SILS invested in the firm in November 2022, taking its total equity investment in BBL to $300m. Adar Poonawalla further said Serum Institute of India (SII) will make 6-7 million doses of Covishield available in 90 days and it could take up to nine months to further build up the stock based on demand. "Serum has identified two vaccines and we plan to manufacture these products within the next 12 months after exhibit batches and regulatory approval is received," Wockhardt Managing Director and Global CEO Murtaza Khorakiwala said in an analyst call. The CoE is being set up for providing the community a centralised location for information, resources, and support during times of public health emergencies. The centre will serve as a hub for public health education, outreach, and response efforts during outbreak of infectious diseases, it said. The Serum Institute's made-in-India vaccine against cervical cancer, CERVAVAC, was launched last month. Prakash Kumar Singh, Director of Government and Regulatory Affairs at the Serum Institute of India (SII), wrote a letter to the Health Ministry recently, saying its first indigenous HPV vaccine will be available in the private market at an MRP of Rs 2,000 per dose, it has been learnt. CERVAVAC will be available in two-dose glass vial presentation. According to an official source, Singh has written a letter to the Union Health Ministry mentioning that the price of its HPV vaccine for the private market will be Rs 2,000 per vial of two doses which is much lower than other available HPV vaccines. With hospitals, doctors and associations approaching the firm seeking its HPV vaccine, the Serum Institute is ready to roll out CERVAVAC in the private market from this month. Poonawalla briefed Union Health Minister Mansukh Mandaviya about the HPV vaccine in the national capital.Speaking to after the meeting, the SII CEO said, "I had come to brief the Union Health minister about it. We'll wait for the government program to roll out. Capacity is very small this year but we'll build a large capacity to take care of the entire nation's needs for next year.
english
I would highly recommend the BMW X1 to anyone looking for a stylish and practical luxury SUV. It combines great performance, comfort, and technology in a package that is both fun to drive and practical for everyday use. - Mileage (12) - Performance (19) - Comfort (32) - Engine (20) - Interior (16) The car is amazing when it comes to Handling and drive comfort. Would recommend it over GLA or Q3.
english