text
stringlengths
1
1.04M
language
stringclasses
25 values
use crate::helpers::models::domain::test_random; use crate::helpers::models::problem::{test_driver, test_vehicle_detail, FleetBuilder, VehicleBuilder}; use crate::models::common::TimeInterval; use crate::models::problem::{Actor, VehicleDetail, VehiclePlace}; use crate::models::solution::Registry; use std::cmp::Ordering::Less; use std::sync::Arc; parameterized_test! {can_provide_available_actors_from_registry, (count, expected), { can_provide_available_actors_from_registry_impl(count, expected); }} can_provide_available_actors_from_registry! { case1: (0, 3), case2: (1, 2), case3: (2, 1), case4: (3, 0), } fn can_provide_available_actors_from_registry_impl(count: usize, expected: usize) { let fleet = FleetBuilder::default() .add_driver(test_driver()) .add_vehicles(vec![ VehicleBuilder::default().id("v1").details(vec![test_vehicle_detail()]).build(), VehicleBuilder::default().id("v2").details(create_two_test_vehicle_details()).build(), ]) .build(); let mut registry = Registry::new(&fleet, test_random()); let actors: Vec<Arc<Actor>> = registry.available().take(count).collect(); actors.iter().for_each(|a| { registry.use_actor(a); }); assert_eq!(registry.available().count(), expected); } #[test] fn can_provide_next_actors_from_registry() { let fleet = FleetBuilder::default() .add_driver(test_driver()) .add_vehicles(vec![ VehicleBuilder::default().id("v1").details(vec![test_vehicle_detail()]).build(), VehicleBuilder::default().id("v2").details(create_two_test_vehicle_details()).build(), VehicleBuilder::default().id("v3").details(vec![test_vehicle_detail()]).build(), ]) .build(); let registry = Registry::new(&fleet, test_random()); let mut actors: Vec<Arc<Actor>> = registry.next().collect(); actors.sort_by(|a, b| { let a = a.detail.start.as_ref().map(|s| s.location); let b = b.detail.start.as_ref().map(|s| s.location); a.partial_cmp(&b).unwrap_or(Less) }); assert_eq!(actors.len(), 2); assert_eq!(actors.first().unwrap().detail.start.as_ref().map(|s| s.location), Some(0)); assert_eq!(actors.last().unwrap().detail.start.as_ref().map(|s| s.location), Some(1)); } fn create_two_test_vehicle_details() -> Vec<VehicleDetail> { vec![ test_vehicle_detail(), VehicleDetail { start: Some(VehiclePlace { location: 1, time: TimeInterval { earliest: Some(0.), latest: None } }), end: Some(VehiclePlace { location: 0, time: TimeInterval { earliest: None, latest: Some(50.) } }), }, ] }
rust
<filename>_posts/6/2021-04-07-caleb-finn.md<gh_stars>0 --- id: 16689 title: <NAME> date: 2021-04-07T18:37:15+00:00 author: Laima layout: post guid: https://ukdataservers.com/caleb-finn/ permalink: /04/07/caleb-finn tags: - Husband - Wife - Boyfriend - Girlfriend category: Marriage Guides --- * some text {: toc} ## Who is <NAME> TikTok star who has earned more than 9 million fans on the app with his creatively-edited lip syncs, most of which are up-close shots of himself.  ## Prior to Popularity After receiving a diploma in teaching, he became a primary school teacher. He began posting videos in late 2018. ## Random data He accumulated one million followers on TikTok within six months time. He dyed his hair half-blonde in January 2020.  ## Family & Everyday Life of <NAME> He was born in Australia. He posted a picture alongside his sister Lillie to Instagram in April 2019. He has been dating someone who has a popular TikTok account at xlilsoup. ## People Related With <NAME> He has done duets with <NAME> on TikTok. 
markdown
$(document).ready(function() { $("#btnExport").click(function() { $("#file_info").table2excel({ exclude: ".noExl", name: "Date Wise Report", filename: "Date Wise Report", fileext: ".xls", exclude_img: true, exclude_links: true, exclude_inputs: true }); }); $.ajax({ type: 'POST', url: baseurl + "company/get_master", async: false, dataType: 'json', success: function(data) { $('#companynm').html(data[0].company_name); } }); $('#search').click(function() { var table_name = 'con-party_master'; var sdate = $('#fdate').val(); var date = $('#date').val(); $('#dfromdate').html(sdate) $('#dtodate').html(date) var fdateslt = sdate.split('/'); var fdate = fdateslt[2] + '-' + fdateslt[1] + '-' + fdateslt[0]; var fdateslt = date.split('/'); var cdate = fdateslt[2] + '-' + fdateslt[1] + '-' + fdateslt[0]; $.ajax({ type: "POST", url: baseurl + "Date_Report/showData", data: { table_name: table_name, fdate: fdate, date: cdate }, dataType: "JSON", async: false, success: function(data) { var data = eval(data); console.log(data); var html = ''; var sr = 0; var totalaslbiri = 0; var totalchatbiri = 0; var totaltotalBiri = 0; var totalobtob = 0; var totaloblev = 0; var totalitob = 0; var totalcLev = 0; var totalileave = 0; var totalsmTob = 0; var totalsmLev = 0; var totalclosingtobacco = 0; var totalclosingleaves = 0; var totalTotalTobbaco = 0; var totalTotalLeaves = 0; var totalcTob = 0; for (var i = 1; i < data.length; i++) { totalaslbiri = (parseFloat(totalaslbiri) + parseFloat((data[i].asalbiri).replace(/,/g, ""))).toFixed(3); totalchatbiri = (parseFloat(totalchatbiri) + parseFloat((data[i].chatbiri).replace(/,/g, ""))).toFixed(3); totaltotalBiri = (parseFloat(totaltotalBiri) + parseFloat((data[i].totalBiri).replace(/,/g, ""))).toFixed(3); totalobtob = (parseFloat(totalobtob) + parseFloat((data[i].obtob).replace(/,/g, ""))).toFixed(3); totaloblev = (parseFloat(totaloblev) + parseFloat((data[i].oblev).replace(/,/g, ""))).toFixed(3); totalitob = (parseFloat(totalitob) + parseFloat((data[i].itob).replace(/,/g, ""))).toFixed(3); totalileave = (parseFloat(totalileave) + parseFloat((data[i].ileave).replace(/,/g, ""))).toFixed(3); totalTotalTobbaco = (parseFloat(totalTotalTobbaco) + parseFloat((data[i].TotalTobbaco).replace(/,/g, ""))).toFixed(3); totalTotalLeaves = (parseFloat(totalTotalLeaves) + parseFloat((data[i].TotalLeaves).replace(/,/g, ""))).toFixed(3); totalcTob = (parseFloat(totalcTob) + parseFloat((data[i].cTob).replace(/,/g, ""))).toFixed(3); totalcLev = (parseFloat(totalcLev) + parseFloat((data[i].cLev).replace(/,/g, ""))).toFixed(3); totalsmTob = (parseFloat(totalsmTob) + parseFloat((data[i].smTob).replace(/,/g, ""))).toFixed(3); totalsmLev = (parseFloat(totalsmLev) + parseFloat((data[i].smLev).replace(/,/g, ""))).toFixed(3); totalclosingtobacco = (parseFloat(totalclosingtobacco) + parseFloat((data[i].closingtobacco).replace(/,/g, ""))).toFixed(3); totalclosingleaves = (parseFloat(totalclosingleaves) + parseFloat((data[i].closingleaves).replace(/,/g, ""))).toFixed(3); if (data[i].asalbiri == 0 && data[i].chatbiri == 0 && data[i].totalBiri == 0 && data[i].obtob == 0 && data[i].oblev == 0 && data[i].itob == 0 && data[i].ileave == 0 && data[i].TotalTobbaco == 0 && data[i].TotalLeaves && data[i].cTob == 0 && data[i].cLev == 0 && data[i].smLev == 0 && data[i].closingtobacco == 0 && data[i].closingleaves == 0) { } else { sr = sr + 1; html += '<tr>' + '<td>' + sr + '</td>' + '<td>' + data[i].contractorname + '</td>' + // '<td>'+sr+'</td>'+ '<td style="text-align:right">' + data[i].asalbiri + '</td>' + '<td style="text-align:right">' + data[i].chatbiri + '</td>' + '<td style="text-align:right">' + data[i].totalBiri + '</td>' + '<td style="text-align:right">' + data[i].obtob + '</td>' + '<td style="text-align:right">' + data[i].oblev + '</td>' + //'<td>'+data[i].obbags+'</td>'+ '<td style="text-align:right">' + data[i].itob + '</td>' + '<td style="text-align:right">' + data[i].ileave + '</td>' + //'<td>'+data[i].ibag+'</td>'+ '<td style="text-align:right">' + data[i].TotalTobbaco + '</td>' + '<td style="text-align:right">' + data[i].TotalLeaves + '</td>' + // '<td>'+data[i].TotalBag+'</td>'+ '<td style="text-align:right">' + data[i].cTob + '</td>' + '<td style="text-align:right">' + data[i].cLev + '</td>' + //'<td>'+data[i].cBag+'</td>'+ '<td style="text-align:right">' + data[i].smTob + '</td>' + '<td style="text-align:right">' + data[i].smLev + '</td>' + // '<td>'+data[i].smBag+'</td>'+ '<td style="text-align:right">' + data[i].closingtobacco + '</td>' + '<td style="text-align:right">' + data[i].closingleaves + '</td>' + '<td></td>' + '</tr>'; } } html += '<tr>' + '<td></td>' + '<td class="names">Total ===></td>' + // '<td>'+sr+'</td>'+ '<td style="text-align:right" class="names">' + totalaslbiri + '</td>' + '<td style="text-align:right" class="names">' + totalchatbiri + '</td>' + '<td style="text-align:right" class="names">' + totaltotalBiri + '</td>' + '<td style="text-align:right" class="names">' + totalobtob + '</td>' + '<td style="text-align:right" class="names">' + totaloblev + '</td>' + //'<td>'+data[i].obbags+'</td>'+ '<td style="text-align:right" class="names">' + totalitob + '</td>' + '<td style="text-align:right" class="names">' + totalileave + '</td>' + //'<td>'+data[i].ibag+'</td>'+ '<td style="text-align:right" class="names">' + totalTotalTobbaco + '</td>' + '<td style="text-align:right" class="names">' + totalTotalLeaves + '</td>' + // '<td>'+data[i].TotalBag+'</td>'+ '<td style="text-align:right" class="names">' + totalcTob + '</td>' + '<td style="text-align:right" class="names">' + totalcLev + '</td>' + //'<td>'+data[i].cBag+'</td>'+ '<td style="text-align:right" class="names">' + totalsmTob + '</td>' + '<td style="text-align:right" class="names">' + totalsmLev + '</td>' + // '<td>'+data[i].smBag+'</td>'+ '<td style="text-align:right" class="names">' + totalclosingtobacco + '</td>' + '<td style="text-align:right" class="names">' + totalclosingleaves + '</td>' + '<td></td>' + '</tr>'; $('#tbody').html(html); }, error: function() { } }); }); $(document).on('click', "#btnExportpdf", function(e) { e.preventDefault(); $('#file_info').css('width:80%'); Export1(); }); function Export1() { html2canvas($('#file_info')[0], { onrendered: function(canvas) { var data = canvas.toDataURL(); var docDefinition = { pageOrientation: 'landscape', content: [{ image: data, width: 750 }], }; pdfMake.createPdf(docDefinition).download("Table.pdf"); } }) $('#file_info').css('width:90%'); } });
javascript
@charset "UTF-8"; /* Menu */ #menu-box { background-color: #EEEEEE; border-bottom: 1px solid #B0BCC3; } #menu { width: 960px; margin: 0 auto; list-style: none; text-align: left; font: 1.2em Georgia, "Times New Roman", Times, serif; letter-spacing: 1px; position: relative; display: flex; } #menu li { display: inline; text-align: center; line-height: 34px; } #menu li a { float: left; display: block; color: #474747; font-weight: normal; padding: 0 18px; border-right: 1px solid #B0BCC3; text-decoration: none; } #menu li a.first { border-left: 1px solid #B0BCC3; } #menu li a:hover { color: #006BA3; } #menu li a.active { background-color: #ADDEFF; color: #202020; } #menu li a { display: inline-block; white-space: nowrap; } #menu li a.hamburger { background-image: url("../img/layout/hamburger-menu2.gif"); background-repeat: no-repeat; background-size: 26px; background-position-y: 4px; background-position-x: 2px; padding-left: 35px; } #menu .submenu-parent { position: relative; } #menu .submenu-parent:hover .submenu, #menu .submenu-parent.menuClicked .submenu { width: auto; visibility: visible; /* shows sub-menu */ opacity: 1; z-index: 999; transform: translateY(0%); transition-delay: 0s, 0s, 0.3s; /* this removes the transition delay so the menu will be visible while the other styles transition */ } #menu .submenu { border: 1px solid #b0bcc3; background: #eee; visibility: hidden; /* hides sub-menu */ opacity: 1; position: absolute; top: 2.35em; left: -1px; /* transform: translateY(-4em); */ z-index: 999; } #menu .submenu li { border-bottom: 1px solid #b0bcc3; text-align: left; width: 100%; } #menu .submenu li a { border-right: 0px; width: 100%; display: inline-block; } #menu .submenu li { display: inline-block; text-align: left; } #menu .submenu li a { float: none; white-space: nowrap; } #menu li.divider { width: 100%; } #menu li.right-aligned { border-right: 0px; border-left: 1px solid #B0BCC3; } #menu li.user-menu { position: relative; } #menu li.user-menu .flyerBox { position: absolute; right: 0px; top: 2.35em; visibility: hidden; /* hides sub-menu */ } #menu li.user-menu .flexBox { display: none; } #menu li.user-menu.menuClicked .flexBox, #menu li.user-menu:hover .flexBox { display: flex; position: absolute; top: 2.35em; right: 0px; } #menu li.user-menu a { background: #dd0000; color: #ffffff; } #menu li.user-menu a:hover { background: #dd0000; color: #dddddd; } #menu li.user-menu .submenu, #menu li.user-menu .submenu a { background: #ff0000; } #menu li.user-menu ul.submenu { position: relative; top: 0px; right: 0px; left: auto; } #menu li.user-menu ul.submenu li.headline { text-decoration: underline; font-style: italic; color: #ffffff; background: #dd0000; padding: 0 18px; border-bottom: 0px; width: 100%; white-space: nowrap; } /* breit */ #menuResponsive { /*Responsive: ausgeblendet*/ display: none; } /*Responsive*/ @media only screen and (max-width: 979px) { #menu { /*Desktop: ausgeblendet*/ display: none; } #menuResponsive { /*dafür Responsive: eingeblendet*/ display: flex; } /*Orginal:*/ #menuResponsive { width: 100%; margin: 0 auto; list-style: none; text-align: left; font: 1.2em Georgia, "Times New Roman", Times, serif; letter-spacing: 1px; } #menuResponsive li { display: inline; text-align: center; line-height: 34px; } #menuResponsive li a { float: left; display: block; color: #474747; font-weight: normal; padding: 0 18px; border-right: 1px solid #B0BCC3; text-decoration: none; } #menuResponsive li a.first { border-left: 1px solid #B0BCC3; } #menuResponsive li a:hover { color: #006BA3; } #menuResponsive li a.active { background-color: #ADDEFF; color: #202020; } /*Ergänzung:*/ #menuResponsive { position: relative; display: flex; } #menuResponsive .hide { display: none; } #menuResponsive li a { display: inline-block; white-space: nowrap; } #menuResponsive li a.hamburger { background-image: url("../img/layout/hamburger-menu2.gif"); background-repeat: no-repeat; background-size: 26px; background-position-y: 4px; background-position-x: 2px; padding-left: 35px; } #menuResponsive .submenu-parent { position: relative; } #menuResponsive .submenu-parent .material-icons, #menuResponsive .submenu .material-icons { position: relative; top: 5px; } #menuResponsive .submenu-parent:hover .submenu, .menuResponsive .submenu-parent.menuClicked .submenu { width: auto; visibility: visible; /* shows sub-menu */ opacity: 1; z-index: 999; transform: translateY(0%); transition-delay: 0s, 0s, 0.3s; /* this removes the transition delay so the menu will be visible while the other styles transition */ } #menuResponsive .submenu { border: 1px solid #b0bcc3; background: #eee; visibility: hidden; /* hides sub-menu */ opacity: 1; position: absolute; top: 2.35em; left: -1px; /* transform: translateY(-4em); */ z-index: 999; } #menuResponsive .submenu li { border-bottom: 1px solid #b0bcc3; text-align: left; width: 320px; } #menuResponsive .submenu li a { border-right: 0px; width: 100%; display: inline-block; } #menuResponsive .submenu li { display: inline-block; text-align: left; } #menuResponsive .submenu li a { float: none; white-space: nowrap; } #menuResponsive li.divider { width: 100%; } #menuResponsive li.right-aligned { border-right: 0px; border-left: 1px solid #B0BCC3; } #menuResponsive li.user-menu { position: relative; } #menuResponsive li.user-menu .flyerBox { position: absolute; right: 0px; top: 2.35em; visibility: hidden; /* hides sub-menu */ } #menuResponsive .submenu.menuClicked, #menuResponsive li.user-menu .flyerBox.menuClicked, #menuResponsive li.user-menu .flyerBox.menuClicked .submenu { width: 320px; visibility: visible; /* shows sub-menu */ opacity: 1; z-index: 999; transform: translateY(0%); transition-delay: 0s, 0s, 0.3s; /* this removes the transition delay so the menu will be visible while the other styles transition */ } #menuResponsive li.user-menu .flexBox { /* display: flex; */ } #menuResponsive li.user-menu a.hamburger { background-image: url("../img/layout/hamburger-menu3.gif"); } #menuResponsive li.user-menu a { background-color: #dd0000; color: #ffffff; } #menuResponsive li.user-menu a:hover { background-color: #dd0000; color: #dddddd; } #menuResponsive li.user-menu .submenu, #menuResponsive li.user-menu .submenu a { background-color: #ff0000; } #menuResponsive li.user-menu ul.submenu { right: 0px; left: auto; position: inherit; } #menuResponsive li.user-menu ul.submenu li.headline { text-decoration: underline; font-style: italic; color: #ffffff; background: #dd0000; padding: 0 18px; border-bottom: 0px; /* width: 100%; */ white-space: nowrap; } } /*# sourceMappingURL=menu.css.map */
css
<filename>Database/Equities/Countries/Chile/Industries/Asset Management.json { "AFPCAPITAL.SN": { "short_name": "ADMINISTRADORA DE", "long_name": "Administradora de Fondos de Pensiones Capital S.A.", "summary": "Administradora de Fondos de Pensiones Capital S.A. is a publicly owned investment manager. The firm manages fixed Income mutual funds. The firm invests in fixed Income Instruments, corporate Bonds, mortgages, adjustable notes, bank bonds and term deposits. Administradora de Fondos de Pensiones Capital S.A. is based in Santiago, Chile.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago" }, "AXXION.SN": { "short_name": "AXXION SA", "long_name": "Axxion S.A.", "summary": "Axxion S.A. is a publicly owned investment manager. The firm manages equity and mutual funds for its clients. It invests in equity markets. Axxion S.A.is based in Santiago, Chile.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago" }, "CALICHERAA.SN": { "short_name": "PAMPA CALICHERA SA", "long_name": "Sociedad de Inversiones Pampa Calichera S.A.", "summary": "Sociedad de Inversiones Pampa Calichera S.A. invests in the shares of Sociedad Qu\u00c3\u00admica y Minera de Chile S.A. The company is headquartered in Las Condes, Chile. Sociedad de Inversiones Pampa Calichera S.A. is a subsidiary of Sociedad de Inversiones O<NAME> S.A.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Las Condes" }, "CUPRUM.SN": { "short_name": "AFP CUPRUM SA", "long_name": "Administradora de Fondos de Pensiones Cuprum S.A.", "summary": "Administradora de Fondos de Pensiones Cuprum S.A. is a publicly owned investment manager. The firm manages mutual funds and equity for its clients. It invests in domestic and foreign stock and bonds. It was founded in December 29, 2014 and is based in Santiago, Chile. Administradora de Fondos de Pensiones Cuprum S.A. operates as a subsidiary of Principal Chile Ltda.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago" }, "HABITAT.SN": { "short_name": "AFP HABITAT SA", "long_name": "Administradora de Fondos de Pensiones Habitat S.A.", "summary": "Administradora de Fondos de Pensiones Habitat S.A. is a publicly owned investment manager. Administradora de Fondos de Pensiones Habitat S.A. was founded on June 16,1982 and is based in Santiago, Chile with additional offices in Antofagasta, Chile.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago" }, "PASUR.SN": { "short_name": "FORESTAL PACIFICO", "long_name": "Forestal Constructora y Comercial del Pacifico Sur SA", "summary": "Forestal Constructora y Comercial del Pacifico Sur SA engages in the purchase, sale, and distribution of construction supplies. It also promotes construction activities; and acquires forest land. The company was formerly known as Inmobiliaria Colon SA and changed its name to Forestal Constructora y Comercial del Pacifico Sur SA in October 1974. The company was founded in 1954 and is based in Santiago, Chile.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago de Chile" }, "PLANVITAL.SN": { "short_name": "AFP PLANVITAL SA", "long_name": "Administradora de Fondos de Pensiones PlanVital S.A.", "summary": "Administradora de Fondos de Pensiones PlanVital S.A. is a privately owned investment manager. The firm manages pension funds and individual retirement accounts. It makes its investments in the public equity markets of Chile. Administradora de Fondos de Pensiones PlanVital S.A was founded in 1981 and is based in Santiago, Chile.", "currency": "CLP", "sector": "Financial Services", "industry": "Asset Management", "exchange": "SGO", "market": "cl_market", "country": "Chile", "city": "Santiago" } }
json
package com.dothome.inceleb.instamanager.Lib.instagram; public class InstagramUser { public String id; public String username; public String fullName; public String profilPicture; public String accessToken; public boolean isRegist=false; public int countFollow; public int countFollowed_by; }
java
Sagarika and Zaheer’s latest pictures at Yuvraj and Hazel’s wedding in Goa created a buzz in town. The couple was too much close to be ignored at the wedding and these images spread like wild fire. Though none of the duo has confirmed the news of their relationship and none of them came forward to shut the rumors buzzing in media. Seems that the duo is set to stage their relationship public for which they are making a bit too many appearances. Sagarika and Zaheer’s this picture needs no words to explain the bond they are currently sharing. The duo even got clicked with the couple as a couple together on stage and is teasing us with a lot of hints for their love relation. Sagarika is sharing a lot of her pictures with Zaheer to create a buzz in media and we are waiting for couple’s confirmation. By clicking “Accept All Cookies”, you agree to the storing of cookies on your device to enhance site navigation, analyze site usage, and assist in our marketing efforts Cookies Policy.
english
Round: First round (Round of 128) Karolina Pliskova will open her bid for a maiden Grand Slam title when she locks horns with Catherine McNally in the first round of the US Open 2021 on Tuesday. After struggling for consistency in the first few months of the year, Pliskova seems to have turned over a new leaf since Wimbledon. The Czech reached the final of the grasscourt Major for the first time in her career, where she went down fighting to World No. 1 Ashleigh Barty. Pliskova has carried the momentum into the North American hardcourt swing, and is entering the US Open as one of the most in-form players on tour. The World No. 4 reached the final in Montreal and backed that up with another solid run the very next week at Cincinnati, where she made the semis. Brimming with confidence, the US Open 2016 runner-up will be hoping to make another big splash in New York. Catherine McNally, meanwhile, is currently ranked 130th in singles and has a disappointing 17-17 win-loss record for the year. A quarterfinal appearance at the WTA 250 event in Guadalajara has been the 19-year-old's best performance of the season. But McNally has made quite a mark for herself in the doubles arena. Ranked 34th, the American has won a couple of titles on the WTA tour as well as one on the ITF circuit this year. She even made the quarterfinals at the Australian Open. Karolina Pliskova and Catherine McNally have never squared off on the tour before, so their head-to-head currently stands at a 0-0 deadlock. Karolina Pliskova's game is based around her big serve; if she can get that shot working, it's half the job done. That said, Pliskova does need to ensure that she keeps her unforced error count under control too. Against Jil Teichmann in the Cincinnati semifinals, the Czech kept spraying her groundstrokes long or wide, which was chiefly responsible for her loss. If Pliskova can find enough accuracy on her attacking groundstrokes, she will put Catherine McNally under immense pressure. But the American does have the game to trouble Pliskova; her ability to mix things up is exactly the kind of thing that the Czech usually struggles to deal with. It remains to be seen how long McNally can sustain that kind of game plan though. The teenager hasn't been consistent of late, and that would be welcome news for Pliskova. Prediction: Karolina Pliskova to win in straight sets.
english
Kevin Owens returned from injury last month to get an immediate push by Vince McMahon himself. He got booked in the WWE Championship match at Fastlane 2019 against Daniel Bryan. It was an impromptu setup by the creative team to provide a filler in the title storyline prior to Wrestlemania 35. So he ended up losing the match. Now just six days to spare for the biggest stage of them all, Former Universal Champion Kevin Owens is still looking forward to finding a place on the match card. At present, WWE has not booked him in any of the matches. So it’ll not be surprising to see him competing in Andre the Giant Memorial Battle Royal. However, positive updates are available for him heading into tonight’s episode of Smackdown Live. It could turn out that Kevin Owens may just get himself inserted into one of the already confirmed matches of Wrestlemania 35 making it a triple threat affair. As noted by WWE.com, The Kevin Owens Show will return on Smackdown with two very special guests, Now wrestlingnews.co reported that WWE creative might just decide to insert Kevin Owens into the AJ Styles vs. Randy Orton match. It should happen on tonight’s talk-show segment o Smackdown. The dream singles contest might just get postponed in that case just to make way for the prizefighter into the Wrestlemania match card. Vince McMahon treats this man as one of the most talented superstars in his locker room. Ever since coming to the main roster, he managed to get him special matches for Wrestlemania which is not the case, this year. This is because of his hiatus from TV due to knee injury starting from 2018 fall. This is why WWE had an alternative plan in-store for him around the biggest event of the year. They originally decided to bring him back, the night after Wrestlemania 35. But then the plan changed due to WWE’s will to make Daniel Bryan vs. Kofi Kingston official for Wrestlemania. Here’s the update from wwfoldschool.com,
english
<filename>dataset/camera_specs/2013_camera_specs/www.buzzillions.com/1974.json { "<page title>": "Polaroid iS326 Digital Camera (White) Reviews | Buzzillions.com", "camera type": "Point & Shoot with Zoom Lens", "color": "White", "megapixels": "16 Megapixels", "sku": "289315 White", "skuprice": "69.9900", "specification": "Description", "style": "IS326WHRD", "taxable": "Y", "trackinglinkbaseurl": "http://www.meijer.com", "trackinglinkuri": "/catalog/" }
json
<gh_stars>0 {"brief":"Hodevah","long":"<i>Meaning:</i> \"Hodevah\" (or Hodevjah), an Israelite.<br/><i>Usage:</i> Hodevah.<br/><i>Source:</i> a form of \"H1938\";"}
json
It happened in Hollywood almost 15 years ago. It began catching up in the Bollywood five years ago. Now, it's threatening to invade the Tollywood now. Yes. The latest trend in the film world is that more and more producers are finding the digital distribution of films through Video-on-demand platforms like Amazon Prime, Hotstar, Sunnext and Netflix attractive. The producers are finding satellite distribution rights not as attractive as the VOD mode. As a result, the films are getting more money from VOD platforms like Amazon Prime. In many cases, Amazon Prime and Netflix are streaming movies even before the satellite channels broadcast and thus rob the satellite channels of the novelty factor. Even the window ticketing system is suffering in case of some mid-budget films. The producers too are finding this an attractive proposition. It all started with Ghazi. The digital rights of the film were sold for a whopping Rs 10. 5 crore to Amazon Prime. Since then, most producers have delinked digital rights from satellite rights. Even Nela Ticket's satellite, digital and dubbing rights were sold for a staggering Rs 24 crore. A major part of this amount is for the digital rights. The producers are now laughing all the way to their money banks.
english
import { hasBalanceDue } from "./selectors"; describe("SEARCH SELECTORS TEST", () => { describe("hasBalanceDue", () => { it("only returns cases with balance_due > 0", () => { const result = mockData.record.cases.filter(hasBalanceDue); expect(result.length).toBe(1); }); }); }); const mockData = { record: { cases: [ { balance_due: 0.0, birth_year: 1901, case_detail_link: "", case_number: "11AA1111", citation_number: "", current_status: "Closed", date: "Apr 1, 2010", location: "Josephine", name: "<NAME>", violation_type: "Offense Felony", }, { balance_due: 0.0, birth_year: 1901, case_detail_link: "", case_number: "11AA2222", citation_number: "", current_status: "Closed", date: "Feb 11, 2010", location: "Josephine", name: "<NAME>", violation_type: "Offense Felony", }, { balance_due: 1763.0, birth_year: 1901, case_detail_link: "", case_number: "11AA3333", citation_number: "", current_status: "Closed", date: "Nov 5, 2009", location: "Josephine", name: "<NAME>", violation_type: "Offense Misdemeanor", }, ], }, };
typescript
/* * Copyright 2019 EPAM Systems * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ package com.epam.ta.reportportal.core.imprt.impl; import com.epam.ta.reportportal.commons.ReportPortalUser; import com.epam.ta.reportportal.core.imprt.impl.junit.XunitParseJob; import com.epam.ta.reportportal.exception.ReportPortalException; import com.epam.ta.reportportal.ws.model.ErrorType; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.stereotype.Service; import javax.inject.Provider; import java.io.File; import java.io.IOException; import java.io.InputStream; import java.util.concurrent.CompletableFuture; import java.util.function.Predicate; import java.util.zip.ZipEntry; import java.util.zip.ZipFile; import static com.epam.ta.reportportal.core.imprt.FileExtensionConstant.XML_EXTENSION; import static com.epam.ta.reportportal.core.imprt.FileExtensionConstant.ZIP_EXTENSION; import static java.util.Optional.ofNullable; /** * @author <a href="mailto:<EMAIL>"><NAME></a> */ @Service public class ZipImportStrategy extends AbstractImportStrategy { private static final Predicate<ZipEntry> isFile = zipEntry -> !zipEntry.isDirectory(); private static final Predicate<ZipEntry> isXml = zipEntry -> zipEntry.getName().endsWith(XML_EXTENSION); @Autowired private Provider<XunitParseJob> xmlParseJobProvider; @Override public String importLaunch(ReportPortalUser.ProjectDetails projectDetails, ReportPortalUser user, File file, String baseUrl) { try { return processZipFile(file, projectDetails, user, baseUrl); } finally { try { ofNullable(file).ifPresent(File::delete); } catch (Exception e) { LOGGER.error("File '{}' was not successfully deleted.", file.getName(), e); } } } private String processZipFile(File zip, ReportPortalUser.ProjectDetails projectDetails, ReportPortalUser user, String baseUrl) { //copy of the launch's id to use it in catch block if something goes wrong String savedLaunchId = null; try (ZipFile zipFile = new ZipFile(zip)) { String launchId = startLaunch(projectDetails, user, zip.getName().substring(0, zip.getName().indexOf("." + ZIP_EXTENSION))); savedLaunchId = launchId; CompletableFuture[] futures = zipFile.stream().filter(isFile.and(isXml)).map(zipEntry -> { XunitParseJob job = xmlParseJobProvider.get() .withParameters(projectDetails, launchId, user, getEntryStream(zipFile, zipEntry)); return CompletableFuture.supplyAsync(job::call, service); }).toArray(CompletableFuture[]::new); ParseResults parseResults = processResults(futures); finishLaunch(launchId, projectDetails, user, parseResults, baseUrl); return launchId; } catch (Exception e) { updateBrokenLaunch(savedLaunchId); throw new ReportPortalException(ErrorType.IMPORT_FILE_ERROR, cleanMessage(e)); } } private InputStream getEntryStream(ZipFile file, ZipEntry zipEntry) { try { return file.getInputStream(zipEntry); } catch (IOException e) { throw new ReportPortalException(ErrorType.IMPORT_FILE_ERROR, e.getMessage()); } } }
java
SEOUL (Reuters) -Samsung Electronics on Thursday said the worst is over for the global memory Chip market but announced plans to extend production cuts because a demand recovery is largely constrained to high-end chips used in artificial intelligence. The move underscores the unprecedented semiconductor downturn that led the South Korean firm to incur a record 8.9 Trillion Won ($7 billion) operating loss from its bread-and-butter chip business in the first six months of this year. The business is likely to remain in the red in the current quarter, although the loss is seen almost halving to 2.3 trillion won from the second quarter, according to 22 analysts polled by Refinitiv. A global economic slowdown and high interest rates have dampened demand for most consumer goods following a pandemic-driven boom. “Production cuts across the industry are likely to continue in the second half, and demand is expected to gradually recover as clients continue to destock their (chip) inventory,” Samsung, the world’s biggest memory chip maker, said in a statement. Jaejune Kim, executive vice president of Samsung’s memory business, said on an earnings call that it would extend production cuts and make additional output adjustments for certain products including NAND flash chips, which are used to store digital data. He did not disclose the extent of Samsung’s output cuts but noted the company’s memory chip stocks were rapidly decreasing after peaking in May. The comments eased concerns about chip oversupply and boosted Samsung shares by 2%, while smaller rival SK Hynix’s shares jumped by 9% to the highest level since March 2022. SK Hynix, which said on Wednesday that it would cut NAND output by a further 5% to 10%, is seen benefiting more from the concerted efforts due to its heavy exposure to those chips. “SK Hynix’s weakness is NAND… and it’s reporting a nearly 2 trillion won loss per quarter. More supply cuts could stabilise NAND prices… which would be very good news for Hynix,” said Lee Min-hee, an analyst at BNK Investment & Securities. Samsung’s chip division swung to a 4.36 trillion won operating loss in the April-June quarter from a 9.98 trillion won profit a year earlier. Losses shrank slightly from the first quarter’s 4.58 trillion won due to strong memory chip demand from AI, which led to higher-than-expected shipments of DRAM chips that hold information from applications while the system is in use. However, Samsung is playing catch-up to SK Hynix, which was better prepared for AI-driven chip demand and leads the market in high-end DRAM chips such as high bandwidth memory (HBM) and premium DDR5 products used to feed data into AI chips, analysts said. “Although Samsung was first in these high-density chips, it didn’t anticipate these markets will grow so fast, and was superceded by SK Hynix in speed and yield,” Lee said. SK Hynix became Nvidia’s sole supplier for HBM3 chips last year, while Samsung expects to release its own HBM3 chips later this year, analysts noted. Samsung said on Thursday it had orders for more than 1.5 billion gigabytes of HBM products this year – double last year – and was working to increase supply capabilities. But a broader chip demand recovery will need to wait until next year, according to analysts, with AI remaining a rare bright spot in the global tech sector thanks to roaring investment following the successful launch of chatbot ChatGPT late last year. For the June quarter, Samsung reported a 95% plunge in operating profit to 669 billion won, broadly in line with the company’s estimate but the second-lowest quarterly profit in 14 years. Its mobile business reported a 16% rise in operating profit to 3.04 trillion won and expects sales growth in the second half, driven by premium products. A day earlier, Samsung, the world’s largest smartphone vendor, unveiled its latest foldable smartphones, keeping prices at about the same level for a third year as it seeks to challenge Apple’s dominance in the high-end market. (Reporting by Joyce Lee and Ju-min Park; Editing by Miyoung Kim and Jamie Freed)
english
package main import ( "context" proto "github.com/micro-in-cn/tutorials/examples/micro-api/rpc/proto" "github.com/micro/go-micro/v2/client" "github.com/micro/go-micro/v2/client/grpc" "github.com/micro/go-micro/v2/errors" log "github.com/micro/go-micro/v2/logger" ) func main() { cli := grpc.NewClient( // 根据需要指定重试次数 client.Retries(4), client.Retry(func(ctx context.Context, req client.Request, retryCount int, err error) (b bool, e error) { // 遇错重试 if err != nil { // 业务错误 if err2, ok := err.(*errors.Error); ok { // 假设大于1000的都是业务异常 if err2.Code > 1000 { log.Infof("[ERR] 请求错误,业务异常,不重试, err: %s", err) return false, nil } } log.Infof("[ERR] 请求错误,第%d次重试,即将重试, err: %s", retryCount, err) return true, nil } return false, nil }), ) // 创建客户端 greeter := proto.NewExampleService("go.micro.retry.example", cli) // 调用greeter服务 for i := 0; i < 10; i++ { rsp, err := greeter.Call(context.TODO(), &proto.CallRequest{Name: "Micro中国"}) if err != nil { log.Infof("[ERR] 第%d次 请求发生错误:%s", i, err) continue } log.Infof("[INF] 第%d次 请求结果,%v", i, rsp.Message) } }
go
<gh_stars>1-10 package psr.debesson.annotators; import com.intellij.lang.annotation.Annotation; import com.intellij.lang.annotation.AnnotationHolder; import com.intellij.lang.annotation.Annotator; import com.intellij.lang.annotation.HighlightSeverity; import com.intellij.openapi.editor.DefaultLanguageHighlighterColors; import com.intellij.openapi.editor.colors.TextAttributesKey; import com.intellij.openapi.util.TextRange; import com.intellij.psi.PsiElement; import com.intellij.psi.impl.source.tree.LeafPsiElement; import org.jetbrains.annotations.NotNull; import java.util.ArrayList; public class GeneralAnnotator implements Annotator { public static final TextAttributesKey NBSP = TextAttributesKey.createTextAttributesKey("CUSTOM.NBSP", DefaultLanguageHighlighterColors.KEYWORD); @Override public void annotate(@NotNull final PsiElement element, @NotNull final AnnotationHolder holder) { if (element instanceof LeafPsiElement) { TextAttributesKey kind = null; ArrayList<TextRange> ranges = new ArrayList<>(); if (element.getText().contains(" ")) { kind = NBSP; int index = element.getText().indexOf(' '); int startOffset = element.getTextRange().getStartOffset(); ranges.add(new TextRange(startOffset + index, startOffset + index + 1)); while (index >= 0) { index = element.getText().indexOf(' ', index + 1); if (index != -1) { ranges.add(new TextRange(startOffset + index, startOffset + index + 1)); } } } if (kind == null) { return; } ranges.forEach((TextRange range) -> { final Annotation annotation = holder.createAnnotation(HighlightSeverity.INFORMATION, range, null); annotation.setTextAttributes(NBSP); }); } } }
java
<filename>geography/zipcodes/all/16624.geo.json {"geometry": {"type": "Point", "coordinates": [-78.61, 40.57]}, "type": "Feature", "id": "16624", "properties": {"other_cities": "", "city": "Chest Springs", "state": "PA", "county": "Cambria County"}}
json
<reponame>Max-PJB/python-learning2 # coding: utf-8 import os class Config(object): RESULT_ERROR = 0 RESULT_SUCCESS = 1 MONGODB_SETTINGS = {'ALIAS': 'default', 'DB': 'facepp', 'host': 'localhost', 'username': 'admin', 'password': ''} """Base config class.""" # Flask app config DEBUG = True TESTING = True # token 的过期时间,7200 秒 EXP_SECONDS = 7200 SECRET_KEY = <KEY> # Root path of project PROJECT_PATH = os.path.abspath(os.path.join(os.path.dirname(__file__), '..')) # 允许免登录的 url,不需要登录也可以访问 allow_urls = ['/login', '/register', '/admin' ]
python
<filename>storage/settings.json {"_token":"<KEY>","_method":"post","facebook_client_id":"facebook client id","facebook_client_secret":"facebook client secret","facebook_redirect_url":null,"google_client_id":null,"google_client_secret":null,"google_redirect_url":null,"Facebook_link":"https:\/\/www.facebook.com\/ahmed.ash70","Google_link":null,"Youtube_link":null}
json
1. This appeal is directed against order dated 09.09.1997 by which the Division Bench of the Allahabad High Court dismissed the writ petition filed by the appellant for quashing the acquisition of its land. 2. The appellant purchased the land comprised in Khasra No.262 of village Central Hope Town, Tehsil and District Dehradun by registered sale deed dated 19.10.1984 for setting up an industrial unit. Its name was mutated in the revenue records on 25.01.1985. 3. The Government of Uttar Pradesh issued notification dated 8.5.1985 under Section 4(1) read with Section 17(1) of the Land Acquisition Act, 1894 (for short, 'the Act') for the acquisition of over 250 acres land including the land purchased by the appellant for planned development of industrial area in District Dehradun through the agency of Uttar Pradesh State Industrial Development Corporation (UPSIDC). The declaration under Section 6 was issued on 09.05.1985. Special Land Acquisition Collector, Dehradun passed award dated 22.11.1986. He took cognizance of the fact that industries were existing on some portions of Khasra Nos. 235 to 238 and 262 of which possession had not been taken and observed: "On the date of possession on dated 17.3.86, the factories Everest Gas Cylinders Pvt.Ltd. and Garg Wollen Pvt. Ltd. were found constructed and in the initial stage of production and located on Khasra Numbers 235, 236, 237, 238 and 262 area respectively 0.56 acre, 0.63 acre, 0.38 acre, 0.65 acre and 3.65 acres; that on the land of Khasra No.262, one tin covered room was found constructed for the Textile Mill of Babu Lal Jain. Since, the time and constructions of the construction of these factories was a matter of dispute on 17.3.86, an area of 5.47 acre was reduced from the total area of 251.38 acres and possession was taken on the reduced area of 245-91 acres and was handed over to the acquiring body. Notices were also issued to the factory owners but they failed to report as to when and in what circumstances, their factories were constructed. It appears that the aforesaid factories were constructed after the issue of Section 4 notification and in that eventuality, the compensation for the construction does not become payable. Because, the construction of the factories would have been done after proper sanction and after taking loans etc.; and more so since heavy machinery has already been installed and the production is in preliminary stage; and since in these proceedings the acquiring body has also the same purpose of developing industrial plots and leasing the same for establishing industrial units, it has been discussed with the acquiring body, such acquired land shall be leased to the owners of the constructed factories, absorb the factories in its regulated area and shall decide the dispute of standing factories by mutual arrangement at its own level. Therefore, after leaving aside the constructed areas, the compensation for the land of the areas 0.56, 0.63, 0.33, 0.25 and 3.65, i.e. total 5.47 acres from Khasra No.235, 236, 237, 238 and 262 respectively, whose possession have not been handed over to the acquiring department yet, will be payable to the land-owners." (as contained in the paper book) The appellant challenged the acquisition proceedings in Writ Petition No. 2500/1988. In paragraphs 4 to 6 and 12 to 17 of the writ petition, the appellant averred as under: “4. That for constructing the said factory and installing machines therein the petitioner had taken a loan of Rs. 21.70 lakhs from U.P. Financial Corporation. The petitioner started the construction of the aforesaid building in the year 1984 with the help of the aforesaid loan. 5. That the Superintending Engineer, Dehradun sanctioned an electrical power connection of 70 horse power to the petitioner on 29.3.1985. 6. That by 26.1.1985 the petitioner had incurred expenses to the tune of Rs. 2,29,888/- as is clear from the report of the Chartered Accountant dated 30-1-1985 a true copy whereof is being filed herewith as Annexure-III. 12. That the aforesaid acquisition proceedings are in colourable exercise of power and wholly illegal as is clear from the facts stated hereinafter. 13. That there was no urgency in the matter. There was nothing to show that acquisition for the alleged "planned development of Industrial area in District Dehradun" was of such an urgent nature that proceedings under section 5-A of the Act should have been dispensed with. It may be stated that the proceedings under Section 5-A are themselves summary in nature.Merely giving 30 days' time to file objection to the proposed acquisition would in any case have not interfered with the proposed planned development of industrial area. There was nothing to justify exclusion of inquiry under Section 5-A of the Act. 14. That there was no material to justify existence of any urgency for acquisition of the petitioner's land. The opinion of the Governor about the existence of urgency mentioned in the impugned notifications is based on non-existing materials and consequently the application of Sections 17(1) and 17(4) of the Act to the case is illegal. 15. That, while issuing the impugned notifications the State Government has not at all considered that the petitioner was also using the land for an industrial project which was prestigious for Dehradun, that the petitioner's factory had already been constructed, that the petitioner had been advanced a loan of Rs. 21.70 lakhs by the U.P. Financial Corporation, that the petitioner had incurred an expenditure of more than Rs.3.8 lakhs by August 1985 on the construction of the factory etc. 16. That the petitioner has reasons to believe that had the State Government been apprised of the aforesaid facts by the land acquisition authorities or had it taken the same into consideration, it would never have applied the provisions of Section 17(4) of the Act and would not have dispensed with the inquiry under section 5-A of the Act. 17. That the Petitioner's factory over plots no.262 (area 1.92 acre)cannot disturb the alleged purpose of planned development of industrial area even if this plot was excluded from acquisition. Moreover,large patches open land are still lying vacant in the neighbourhood and are available to the U.P. State Industrial Development Corporation. These patches are contiguous to the land sought to be acquired. Had the petitioner been given opportunity to file objection under section 5~A of the Act,it would have brought oil the aforesaid facts along with other facts to the notice of the State Government .” In the counter affidavit filed on behalf of the respondents, it was not disputed that the appellant had established an industrial unit on the land purchased by it. However, the invoking of urgency clause was justified in the following words: "Planned Development Scheme in the backward hilly area is urgently needed to be implemented according to the Government policy. In view cf the urgency for the development in the backward hill area, the Govt. considered it necessary that the proceedings under Section 5-A of the Land Acquisition Act may be dispensed with so that the land may be acquired without delay and the development according to the planned scheme may be implemented in the area. The Deputy General Manager of the U.P. State Industrial Development Corporation Ltd. Kanpur submitted the application in the proforma prescribed for acquisition of land at village Central Hope Town Pargana Pachpadan District Dehradun for planned development of Industrial area through U.P. State Industrial Development Corporation Ltd. on 23.10.84. The proposed acquisition was requested to be made immediately without any delay, otherwise there would be delay in setting up the Industries for the planned development of the backward hill area in the State.” “The Deputy General Manager, U.P. State Industrial Development Corporation, Kanpur prepared the scheme for setting up industries in the backward hill area of Dehradun for the planned development according to the policy of the State Government. The Deputy General Manager of the Corporation submitted the requisition application to the State Government through the Collector for immediate steps so that land be acquired and industries according to the planned development in the backward hill may be set up soon without any delay. He had forwarded necessary records and details of the plan to the Government through the Collector. The Collector endorsed the plea of urgency of the implementation of the planned Development Scheme which was duly considered by the State Govt. and the State Govt. was of the opinion that the backward hill area of Dehradun should be developed in planned way without delay according to the Government policy and it was directed under Sections 17(1) and 17(4) of the Land Acquisition Act to dispense with the proceedings under Section 5-A of the Land Acquisition Act. The Government decided about the urgency on material evidence on record. The allegations contrary in the paragraph under reply are baseless and imaginary which are denied." 6. The Division Bench of the High Court did not consider the appellant's challenge to the invoking of urgency clause and dismissed the writ petition only on the ground that the appellant had made an incorrect statement about the construction of the factory prior to the issue of notification under Section 4(1) and had made an attempt to mislead the Court. 7. At this stage, we may mention that this and the connected appeal being C.A. No. 5713 of 2002 - Everest Gas Cylinders Pvt. Ltd. v. State of U.P. and others were disposed of on 15.04.2009 by taking cognizance of the statement made by learned counsel for UPSIDC that the Corporation is willing to give the acquired land to the appellants on lease at the specified rates and statement of the appellants' counsel that the offer made by the Corporation was acceptable to their clients. However, in view of some controversy relating to the price mentioned in the affidavit filed on behalf of UPSIDC, the order disposing of the appeals was recalled on 15.07.2011. On the same day, interlocutory application filed by M/s. Tirupati LPG Industries Limited for its impleadment as party-respondent was allowed. 8. We have heard learned counsel for the parties and perused the record. 9. The question whether urgency clause embodied in Section 17 can be invoked for the acquisition of land for planned industrial development was recently considered in Radhy Shyam (Dead) through L.Rs. and others v. State of U.P. and others (2011) 5 SCC 553. In that case, the Government of Uttar Pradesh had acquired 205.0288 hectares land of village Makaura, Pargana Dankaur, Tehsil and District Gautam Budh Nagar for planned industrial development of the District. Radhy Shyam and others challenged the acquisition on the ground that there was no justification to invoke the urgency provisions and to dispense with the application of Section 5A because planned industrial development of the district was not something which could not wait for few months' time within which inquiry under Section 5A could have been held. Their writ petition was dismissed by the High Court by observing that the averments contained therein were not sufficient to call upon the respondents to place before the Court material to justify the exercise of power under Section 17(1) and 17(4) of the Act. This Court examined the scheme of the Act, referred to various judicial precedents including the judgments in Narayan Govind Gavate vs. State of Maharashtra [1976] INSC 242; (1977) 1 SCC 133, Munshi Singh vs. Union of India [1972] INSC 179; (1973) 2 SCC 337, State of Punjab vs. Gurdial Singh [1979] INSC 220; (1980) 2 SCC 471, Union of India vs. Mukesh Hans (2004) 8 SCC 14, Hindustan Petroleum Corporation Ltd. vs. Darius Shapur Chenai (2005) 7 SCC 627 and Anand Singh vs. State of U.P. (2010) 11 SCC 242 and laid down the following propositions: "(i) Eminent domain is a right inherent in every sovereign to take and appropriate property belonging to citizens for public use. To put it differently, the sovereign is entitled to reassert its dominion over any portion of the soil of the State including private property without its owner’s consent provided that such assertion is on account of public exigency and for public good. – Dwarkadas Shrinivas v. Sholapur Spg. and Wvg. Co. Ltd., [1953] INSC 87; AIR (1954) SC 119, Chiranjit Lal Chowdhuri v. Union of India [1950] INSC 38; AIR (1951) SC 41 and Jilubhai Nanbhai Khachar v. State of Gujarat (1995) Supp. (1) SCC 596. (ii) The legislations which provide for compulsory acquisition of private property by the State fall in the category of expropriatory legislation and such legislation must be construed strictly – DLF Qutab Enclave Complex Educational Charitable Trust v. State of Haryana (2003) 5 SCC 622; State of Maharashtra v. B.E. Billimoria (2003) 7 SCC 336 and Dev Sharan v. State of U.P. (iii) Though, in exercise of the power of eminent domain, the Government can acquire the private property for public purpose, it must be remembered that compulsory taking of one’s property is a serious matter. If the property belongs to economically disadvantaged segment of the society or people suffering from other handicaps, then the Court is not only entitled but is duty bound to scrutinize the action/decision of the State with greater vigilance, care and circumspection keeping in view the fact that the landowner is likely to become landless and deprived of the only source of his livelihood and/or shelter. (iv) The property of a citizen cannot be acquired by the State and/or its agencies/instrumentalities without complying with the mandate of Sections 4, 5-A and 6 of the Act. A public purpose, however, laudable it may be does not entitle the State to invoke the urgency provisions because the same have the effect of depriving the owner of his right to property without being heard. Only in a case of real urgency, the State can invoke the urgency provisions and dispense with the requirement of hearing the land owner or other interested persons. (v) Section 17(1) read with Section 17(4) confers extraordinary power upon the State to acquire private property without complying with the mandate of Section 5-A. These provisions can be invoked only when the purpose of acquisition cannot brook the delay of even a few weeks or months. Therefore, before excluding the application of Section 5-A, the authority concerned must be fully satisfied that time of few weeks or months likely to be taken in conducting inquiry under Section 5-A will, in all probability, frustrate the public purpose for which land is proposed to be acquired. (vi) The satisfaction of the Government on the issue of urgency is subjective but is a condition precedent to the exercise of power under Section 17(1) and the same can be challenged on the ground that the purpose for which the private property is sought to be acquired is not a public purpose at all or that the exercise of power is vitiated due to mala fides or that the authorities concerned did not apply their mind to the relevant factors and the records. (vii) The exercise of power by the Government under Section 17(1) does not necessarily result in exclusion of Section 5-A of the Act in terms of which any person interested in land can file objection and is entitled to be heard in support of his objection. The use of word “may” in sub-section (4) of Section 17 makes it clear that it merely enables the Government to direct that the provisions of Section 5-A would not apply to the cases covered under sub-section (1) or (2) of Section 17. In other words, invoking of Section 17(4) is not a necessary concomitant of the exercise of power under Section 17(1). (viii) The acquisition of land for residential, commercial, industrial or institutional purposes can be treated as an acquisition for public purposes within the meaning of Section 4 but that, by itself, does not justify the exercise of power by the Government under Section 17(1) and/or 17(4). The Court can take judicial notice of the fact that planning, execution and implementation of the schemes relating to development of residential, commercial, industrial or institutional areas usually take few years. Therefore, the private property cannot be acquired for such purpose by invoking the urgency provision contained in Section 17(1). In any case, exclusion of the rule of audi alteram partem embodied in Sections 5-A (1) and (2) is not at all warranted in such matters. ix) If land is acquired for the benefit of private persons, the Court should view the invoking of Sections 17(1) and/or 17(4) with suspicion and carefully scrutinize the relevant record before adjudicating upon the legality of such acquisition." 10. In our view, proposition Nos.(v) to (ix) of the judgment in Radhy Shyam's case are squarely attracted in the present case and the acquisition of the appellant's land is liable to be quashed because the respondents have not produced any material to show that the State Government had formed a bonafide opinion on the issue of invoking of the provisions contained in Section 17(1) and 17(4) of the Act. Learned counsel for the respondents could not show as to how this case is different from the case of Radhy Shyam in which the acquisition made for planned industrial development of Gautam Budh Nagar was quashed on the ground that the acquisition of land for industrial purpose does not justify invoking of the urgency provisions. 11. In the result, the appeal is allowed, the impugned order is set aside and the acquisition of the appellant's land is quashed. It is, however, made clear that this Court has not expressed any opinion on the rights of the impleaded respondent and if any other litigation is pending, then the same shall be adjudicated by the competent Court without being influenced by the observations contained in this order. (FAKKIR MOHAMED IBRAHIM KALIFULLA) NEW DELHI; IN THE SUPREME COURT OF INDIA CIVIL APPELLATE JURISDICTION CIVIL APPEAL No.5713 OF 2002 EVEREST CYLINDERS PVT.LTD. .......APPELLANT VERSUS O R D E R This appeal is directed against order dated 09.09.1997 passed by the Division Bench of the Allahabad High Court whereby the writ petition filed by the appellant questioning the acquisition of its land was dismissed. Learned counsel for the parties agree that the main issue raised in this appeal is identical to the one raised in Civil Appeal No.5712 of 2002. By a separate judgment passed today, we have allowed Civil Appeal No.5712 of 2002 and quashed the acquisition proceedings. For the detailed reasons recorded in the aforesaid judgment, which shall be read as part of this order, the appeal is allowed, the order passed by the High Court is set aside and the acquisition of the appellant's land is quashed. (FAKKIR MOHAMED IBRAHIM KALIFULLA) NEW DELHI;
english
<gh_stars>0 // Copyright (C) 2015-2018 <NAME>. All Rights Reserved. #include "Charts/SKantanChart.h" #include "KantanCartesianTypes.h" // @TODO: refactor to avoid cartesian specific includes #include "Layout/SlateRotatedRect.h" #include "Brushes/SlateColorBrush.h" #include "Framework/Application/SlateApplication.h" #include "Fonts/FontMeasure.h" #define LOCTEXT_NAMESPACE "KantanCharts" void SKantanChart::Construct(const FArguments& InArgs) { SetMargins(InArgs._Margins); SetChartTitle(InArgs._ChartTitle); SetChartTitlePadding(FMargin(0.0f, 5.0f)); SetUpdateTickRate(InArgs._UpdateTickRate); SetOnChartMouseDown(InArgs._OnChartMouseDown); } TSharedRef< SWidget > SKantanChart::AsWidget() { return SharedThis(this); } void SKantanChart::SetMargins(FMargin const& InMargins) { Margins = InMargins; } void SKantanChart::SetChartTitle(FText const& InTitle) { ChartTitle = InTitle; } void SKantanChart::SetChartTitlePadding(FMargin const& InPadding) { TitlePadding = InPadding; } void SKantanChart::SetUpdateTickRate(float InRate) { SetActiveTimerTickRate(InRate); } void SKantanChart::SetOnChartMouseDown(KantanCharts::FOnInteractionMouseDown InDelegate) { OnChartMouseDown = InDelegate; } FSlateFontInfo SKantanChart::GetLabelFont(const FKantanChartStyle* ChartStyle, EKantanChartLabelClass LabelClass) { FSlateFontInfo FontInfo; if (ChartStyle) { switch (LabelClass) { case EKantanChartLabelClass::ChartTitle: FontInfo = ChartStyle->GetTitleFont(); break; case EKantanChartLabelClass::AxisTitle: FontInfo = ChartStyle->GetAxisDescriptionFont(); break; case EKantanChartLabelClass::AxisMarkerLabel: FontInfo = ChartStyle->GetAxisValueFont(); break; default: FontInfo = ChartStyle->BaseFont; } } if (!FontInfo.HasValidFont()) { auto RequestedSize = FontInfo.Size; // Fall back onto font from slate core style FontInfo = FCoreStyle::Get().GetWidgetStyle<FTextBlockStyle>("NormalText").Font; // But try to use the requested font size if non-zero, even if we didn't have a valid font if (RequestedSize != 0) { FontInfo.Size = RequestedSize; } } return FontInfo; } FGeometry SKantanChart::MakeInsetGeometry(FGeometry const& WidgetGeometry) const { auto Size = WidgetGeometry.GetLocalSize() - FVector2D(Margins.GetDesiredSize()); Size = FVector2D(FMath::Max(Size.X, 0.0f), FMath::Max(Size.Y, 0.0f)); auto ActualCompositeMargins = WidgetGeometry.GetLocalSize() - Size; return WidgetGeometry.MakeChild( Size, FSlateLayoutTransform(FVector2D(Margins.Left, Margins.Top)) ); } void SKantanChart::MakeAreaGeometries(FGeometry const& ContentGeometry, FGeometry(&Geoms)[ChartContentAreaCount]) const { auto ChartStyle = GetChartStyle(); auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto LabelFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisTitle); auto AvailableSize = ContentGeometry.GetLocalSize(); FVector2D AreaSizes[ChartContentAreaCount]; AreaSizes[EChartContentArea::Plot] = FVector2D::ZeroVector; // Determine X sizes of all areas AreaSizes[EChartContentArea::XAxisBottomTitle].X = GetChartAreaSize(EChartContentArea::XAxisBottomTitle, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisTopTitle].X = GetChartAreaSize(EChartContentArea::XAxisTopTitle, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisLeftTitle].X = GetChartAreaSize(EChartContentArea::YAxisLeftTitle, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisRightTitle].X = GetChartAreaSize(EChartContentArea::YAxisRightTitle, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisBottom].X = GetChartAreaSize(EChartContentArea::XAxisBottom, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisTop].X = GetChartAreaSize(EChartContentArea::XAxisTop, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisLeft].X = GetChartAreaSize(EChartContentArea::YAxisLeft, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisRight].X = GetChartAreaSize(EChartContentArea::YAxisRight, EAxis::X, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::Plot].X = AvailableSize.X; AreaSizes[EChartContentArea::Plot].X -= AreaSizes[EChartContentArea::YAxisLeftTitle].X; AreaSizes[EChartContentArea::Plot].X -= AreaSizes[EChartContentArea::YAxisLeft].X; AreaSizes[EChartContentArea::Plot].X -= AreaSizes[EChartContentArea::YAxisRightTitle].X; AreaSizes[EChartContentArea::Plot].X -= AreaSizes[EChartContentArea::YAxisRight].X; // Now determine Y sizes AreaSizes[EChartContentArea::XAxisBottomTitle].Y = GetChartAreaSize(EChartContentArea::XAxisBottomTitle, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisTopTitle].Y = GetChartAreaSize(EChartContentArea::XAxisTopTitle, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisLeftTitle].Y = GetChartAreaSize(EChartContentArea::YAxisLeftTitle, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisRightTitle].Y = GetChartAreaSize(EChartContentArea::YAxisRightTitle, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisBottom].Y = GetChartAreaSize(EChartContentArea::XAxisBottom, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::XAxisTop].Y = GetChartAreaSize(EChartContentArea::XAxisTop, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisLeft].Y = GetChartAreaSize(EChartContentArea::YAxisLeft, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::YAxisRight].Y = GetChartAreaSize(EChartContentArea::YAxisRight, EAxis::Y, AreaSizes[EChartContentArea::Plot]); AreaSizes[EChartContentArea::Plot].Y = AvailableSize.Y; AreaSizes[EChartContentArea::Plot].Y -= AreaSizes[EChartContentArea::XAxisTopTitle].Y; AreaSizes[EChartContentArea::Plot].Y -= AreaSizes[EChartContentArea::XAxisTop].Y; AreaSizes[EChartContentArea::Plot].Y -= AreaSizes[EChartContentArea::XAxisBottomTitle].Y; AreaSizes[EChartContentArea::Plot].Y -= AreaSizes[EChartContentArea::XAxisBottom].Y; FVector2D Offsets[ChartContentAreaCount]; auto XOffset = 0.0f; Offsets[EChartContentArea::YAxisLeftTitle].X = XOffset; XOffset += AreaSizes[EChartContentArea::YAxisLeftTitle].X; Offsets[EChartContentArea::YAxisLeft].X = XOffset; XOffset += AreaSizes[EChartContentArea::YAxisLeft].X; Offsets[EChartContentArea::Plot].X = XOffset; Offsets[EChartContentArea::XAxisBottomTitle].X = XOffset; Offsets[EChartContentArea::XAxisTopTitle].X = XOffset; Offsets[EChartContentArea::XAxisBottom].X = XOffset; Offsets[EChartContentArea::XAxisTop].X = XOffset; XOffset += AreaSizes[EChartContentArea::Plot].X; Offsets[EChartContentArea::YAxisRight].X = XOffset; XOffset += AreaSizes[EChartContentArea::YAxisRight].X; Offsets[EChartContentArea::YAxisRightTitle].X = XOffset; XOffset += AreaSizes[EChartContentArea::YAxisRightTitle].X; auto YOffset = 0.0f; Offsets[EChartContentArea::XAxisTopTitle].Y = YOffset; YOffset += AreaSizes[EChartContentArea::XAxisTopTitle].Y; Offsets[EChartContentArea::XAxisTop].Y = YOffset; YOffset += AreaSizes[EChartContentArea::XAxisTop].Y; Offsets[EChartContentArea::Plot].Y = YOffset; Offsets[EChartContentArea::YAxisLeftTitle].Y = YOffset; Offsets[EChartContentArea::YAxisRightTitle].Y = YOffset; Offsets[EChartContentArea::YAxisLeft].Y = YOffset; Offsets[EChartContentArea::YAxisRight].Y = YOffset; YOffset += AreaSizes[EChartContentArea::Plot].Y; Offsets[EChartContentArea::XAxisBottom].Y = YOffset; YOffset += AreaSizes[EChartContentArea::XAxisBottom].Y; Offsets[EChartContentArea::XAxisBottomTitle].Y = YOffset; YOffset += AreaSizes[EChartContentArea::XAxisBottomTitle].Y; Geoms[EChartContentArea::YAxisLeftTitle] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::YAxisLeftTitle].X, AreaSizes[EChartContentArea::Plot].Y), FSlateLayoutTransform(Offsets[EChartContentArea::YAxisLeftTitle]) ); Geoms[EChartContentArea::YAxisRightTitle] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::YAxisRightTitle].X, AreaSizes[EChartContentArea::Plot].Y), FSlateLayoutTransform(Offsets[EChartContentArea::YAxisRightTitle]) ); Geoms[EChartContentArea::YAxisLeft] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::YAxisLeft].X, AreaSizes[EChartContentArea::Plot].Y), FSlateLayoutTransform(Offsets[EChartContentArea::YAxisLeft]) ); Geoms[EChartContentArea::YAxisRight] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::YAxisRight].X, AreaSizes[EChartContentArea::Plot].Y), FSlateLayoutTransform(Offsets[EChartContentArea::YAxisRight]) ); Geoms[EChartContentArea::XAxisBottomTitle] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::Plot].X, AreaSizes[EChartContentArea::XAxisBottomTitle].Y), FSlateLayoutTransform(Offsets[EChartContentArea::XAxisBottomTitle]) ); Geoms[EChartContentArea::XAxisTopTitle] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::Plot].X, AreaSizes[EChartContentArea::XAxisTopTitle].Y), FSlateLayoutTransform(Offsets[EChartContentArea::XAxisTopTitle]) ); Geoms[EChartContentArea::XAxisBottom] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::Plot].X, AreaSizes[EChartContentArea::XAxisBottom].Y), FSlateLayoutTransform(Offsets[EChartContentArea::XAxisBottom]) ); Geoms[EChartContentArea::XAxisTop] = ContentGeometry.MakeChild( FVector2D(AreaSizes[EChartContentArea::Plot].X, AreaSizes[EChartContentArea::XAxisTop].Y), FSlateLayoutTransform(Offsets[EChartContentArea::XAxisTop]) ); Geoms[EChartContentArea::Plot] = ContentGeometry.MakeChild( AreaSizes[EChartContentArea::Plot], FSlateLayoutTransform(Offsets[EChartContentArea::Plot]) ); } FVector2D SKantanChart::DetermineTitleAreaSize(FGeometry const& InsetGeometry, bool bIncludePadding) const { if (!HasChartTitle()) { // If empty, don't allocate any size return FVector2D(0.0f, 0.0f); } auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto ChartStyle = GetChartStyle(); auto TitleFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::ChartTitle); FVector2D TitleExtent = FontMeasureService->Measure(ChartTitle, TitleFont); // @TODO: Configurable title positioning, for now assume top centered auto AvailableSize = InsetGeometry.GetLocalSize(); TitleExtent = FVector2D( // FMath::Min(TitleExtent.X + TitlePadding.Left + TitlePadding.Right, AvailableSize.X), AvailableSize.X, FMath::Min(TitleExtent.Y + TitlePadding.Top + TitlePadding.Bottom, AvailableSize.Y) ); if (!bIncludePadding) { TitleExtent = FVector2D( // FMath::Max(TitleExtent.X - TitlePadding.Left - TitlePadding.Right, 0.0f), FMath::Max(AvailableSize.X - TitlePadding.Left - TitlePadding.Right, 0.0f), FMath::Max(TitleExtent.Y + TitlePadding.Top + TitlePadding.Bottom, 0.0f) ); } return TitleExtent; } FText SKantanChart::GetAxisTitleToShow(FCartesianAxisConfig const& AxisCfg, AxisUtil::FAxisMarkerData const& MarkerData) const { auto Title = AxisCfg.Title.IsEmptyOrWhitespace() ? FText::GetEmpty() : AxisCfg.Title; if(true) // @TODO: config { FText UnitStr = FText::GetEmpty(); if(AxisCfg.Unit.IsEmptyOrWhitespace() == false) { UnitStr = FText::Format(FText::FromString(TEXT("{0}")), AxisCfg.Unit ); } FText ExponentStr = FText::GetEmpty(); if(MarkerData.DisplayPower != 0) { ExponentStr = FText::Format(FText::FromString(TEXT("x10^{0}")), FText::AsNumber(MarkerData.DisplayPower) ); } FText OffsetStr = FText::GetEmpty(); if(MarkerData.Offset.IsSet()) { OffsetStr = FText::Format(FText::FromString(TEXT("+{0}")), FText::AsNumber(MarkerData.Offset.GetValue().GetFloatValue()) // @TODO: display offset in exponent form if above some number of digits ); } /* FText UnitSpace = FText::GetEmpty(); if (!UnitStr.IsEmpty() && !ExponentStr.IsEmpty()) { UnitSpace = FText::FromString(TEXT(" ")); } */ if(!UnitStr.IsEmpty() || !ExponentStr.IsEmpty() || !OffsetStr.IsEmpty()) { Title = FText::Format(FText::FromString(TEXT("{0} ({1}{2}{3})")), Title, ExponentStr, OffsetStr, //UnitSpace, UnitStr ); } } return Title; } FVector2D SKantanChart::DetermineAxisTitleSize(FCartesianAxisConfig const& AxisCfg, EAxis::Type AxisOrientation) const { auto ChartStyle = GetChartStyle(); auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto LabelFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisTitle); auto TitleToUse = LOCTEXT("TitleDummy", "Dummy"); //GetAxisTitleToShow(AxisCfg, MarkerData); // @NOTE: Having to always allocate space even when empty. This is because this method cannot // be dependent on plot size, but plot size must be known in order to calculate whether // the title will have an offset or display power component. auto LabelExtents = /*AxisCfg.Title.IsEmptyOrWhitespace()*/ false ? FVector2D::ZeroVector : FontMeasureService->Measure(TitleToUse, LabelFont); FVector2D Size = FVector2D::ZeroVector; switch (AxisOrientation) { case EAxis::X: Size = LabelExtents; break; case EAxis::Y: Size.Set(LabelExtents.Y, LabelExtents.X); break; default: check(false); } return Size; } FVector2D SKantanChart::DetermineAxisValueLabelMaxExtents(EAxis::Type Axis, int32 MaxLabelDigits) const { auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto ChartStyle = GetChartStyle(); auto Font = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisMarkerLabel); // Assuming font is fixed width for numeric digits FString DummyStr = TEXT("-0."); //auto MaxAxisValueDigits = Axis == EAxis::X ? XAxisCfg.MaxValueDigits : YAxisCfg.MaxValueDigits; for (int32 Digit = 1; Digit < MaxLabelDigits; ++Digit) { DummyStr += TEXT("0"); } FText DummyText = FText::FromString(DummyStr); return FontMeasureService->Measure(DummyText, Font); } float SKantanChart::DetermineAxisRequiredWidth( EAxis::Type Axis, int32 MaxLabelDigits, float AxisMarkerLength, float AxisMarkerLabelGap ) const { float Required = AxisMarkerLength + AxisMarkerLabelGap; auto MaxLabelExtents = DetermineAxisValueLabelMaxExtents(Axis, MaxLabelDigits); switch (Axis) { case EAxis::X: Required += MaxLabelExtents.Y; break; case EAxis::Y: Required += MaxLabelExtents.X; break; } return Required; } bool SKantanChart::WillGeometryGetClipped(FGeometry const& Geom, FSlateRect const& ClipRect) { auto AbsTopLeft = Geom.LocalToAbsolute(FVector2D(0, 0)); auto AbsBottomRight = Geom.LocalToAbsolute(Geom.GetLocalSize()); FSlateRect AbsTextRect{ AbsTopLeft, AbsBottomRight }; return FSlateRect::IsRectangleContained(ClipRect, AbsTextRect) == false; } FGeometry SKantanChart::MakeTitleGeometry(FGeometry const& InsetGeometry) const { auto AvailableSize = InsetGeometry.GetLocalSize(); auto TitleExtent = DetermineTitleAreaSize(InsetGeometry, false); return InsetGeometry.MakeChild( FVector2D(TitleExtent.X, TitleExtent.Y), FSlateLayoutTransform(FVector2D(TitlePadding.Left, TitlePadding.Top)) ); } FGeometry SKantanChart::MakeContentGeometry(FGeometry const& InsetGeometry) const { auto AvailableSize = InsetGeometry.GetLocalSize(); auto TitleExtent = DetermineTitleAreaSize(InsetGeometry, true); return InsetGeometry.MakeChild( FVector2D(AvailableSize.X, AvailableSize.Y - TitleExtent.Y), FSlateLayoutTransform(FVector2D(0.0f, TitleExtent.Y)) ); } int32 SKantanChart::DrawChartBackground(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyClippingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FKantanChartStyle* Style, const FWidgetStyle& InWidgetStyle) const { // Default to transparent brush auto FallbackBrush = FSlateColorBrush(FLinearColor(0, 0, 0, 0)); auto BackgroundBrush = Style ? &Style->Background : &FallbackBrush; FSlateDrawElement::MakeBox( OutDrawElements, LayerId++, AllottedGeometry.ToPaintGeometry(), BackgroundBrush, //MyClippingRect, ESlateDrawEffect::None, BackgroundBrush->GetTint(InWidgetStyle) ); return LayerId; } int32 SKantanChart::DrawChartTitle(const FPaintArgs& Args, const FGeometry& TitleGeometry, const FSlateRect& MyClippingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FKantanChartStyle* Style, const FWidgetStyle& InWidgetStyle) const { auto ChartStyle = GetChartStyle(); auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto TitleFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::ChartTitle); FVector2D TitleExtent = FontMeasureService->Measure(ChartTitle, TitleFont); auto TextGeometry = TitleGeometry.MakeChild( TitleExtent, FSlateLayoutTransform(FVector2D((TitleGeometry.GetLocalSize().X - TitleExtent.X) * 0.5f, 0.0f)) ); FSlateDrawElement::MakeText( OutDrawElements, LayerId++, TextGeometry.ToPaintGeometry(), ChartTitle, TitleFont, //MyClippingRect, ESlateDrawEffect::None, ChartStyle->FontColor); return LayerId; } int32 SKantanChart::DrawFixedAxis( const FGeometry& Geometry, const FSlateRect& ClipRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, EAxis::Type Axis, AxisUtil::FAxisTransform const& ValueToChartAxisTransform, EChartAxisPosition AxisPosition, AxisUtil::FAxisMarkerData const& MarkerData, bool bDrawMarkers, bool bDrawLabels, float AxisMarkerLength, float AxisMarkerLabelGap ) const { const int32 AxisIdx = Axis == EAxis::X ? 0 : 1; const int32 OtherAxisIdx = Axis == EAxis::X ? 1 : 0; auto ChartStyle = GetChartStyle(); auto ValueFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisMarkerLabel); auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto AxisStart = 0.0f; auto AxisEnd = Geometry.GetLocalSize()[AxisIdx]; auto CartesianRange = FCartesianAxisRange( ValueToChartAxisTransform.Inverse().MapPoint(AxisStart), ValueToChartAxisTransform.Inverse().MapPoint(AxisEnd) ); CartesianRange = CartesianRange.Normalized(); // Flag denoting if perpendicular coordinate in geometry space is reversed (ie. going away from plot area is negative) auto const bIsReversed = (AxisPosition == EChartAxisPosition::RightTop && Axis == EAxis::X) || (AxisPosition == EChartAxisPosition::LeftBottom && Axis == EAxis::Y); auto const FixedCompBase = bIsReversed ? Geometry.GetLocalSize()[OtherAxisIdx] : 0.0f; { // Draw the axis line TArray< FVector2D > Points; Points.Init(FVector2D::ZeroVector, 2); Points[0][AxisIdx] = 0.0f; Points[0][OtherAxisIdx] = FixedCompBase; Points[1][AxisIdx] = Geometry.GetLocalSize()[AxisIdx]; Points[1][OtherAxisIdx] = FixedCompBase; FSlateDrawElement::MakeLines( OutDrawElements, LayerId, Geometry.ToPaintGeometry(), Points, //ClipRect, ESlateDrawEffect::None, ChartStyle->ChartLineColor, false, ChartStyle->ChartLineThickness ); } auto const& Rounding = MarkerData.RL; /* if (false) // @TODO: if show axis multiplier and unit on axis { // Axis unit text FText UnitText = FText::Format( FText::FromString(TEXT("x{0}")), FText::FromString(XRounding.ExponentAsString()) ); auto UnitExtents = FontMeasureService->Measure(UnitText, AxisMarkerFont); auto UnitGeometry = PlotSpaceGeometry.MakeChild( UnitExtents, FSlateLayoutTransform(FVector2D(PlotSize.X - UnitExtents.X, Y0 - UnitExtents.Y)) ); FSlateDrawElement::MakeText( OutDrawElements, LayerId, UnitGeometry.ToPaintGeometry(), UnitText, AxisMarkerFont, ClipRect, ESlateDrawEffect::None, ChartStyle->FontColor); } */ auto const MarkerOffset = bIsReversed ? -AxisMarkerLength : AxisMarkerLength; auto const MarkerLabelGapOffset = bIsReversed ? -AxisMarkerLabelGap : AxisMarkerLabelGap; // Axis markers and labels for(auto const& AbsoluteRoundedMarker : MarkerData.MarkerValues) { auto RoundedMarker = MarkerData.Offset.IsSet() ? AbsoluteRoundedMarker.RelativeTo(MarkerData.Offset.GetValue()) : AbsoluteRoundedMarker; auto AbsMarkerVal = AbsoluteRoundedMarker.GetFloatValue(); auto MarkerPlotSpace = ValueToChartAxisTransform.MapPoint(AbsMarkerVal); TArray< FVector2D > Points; Points.Init(FVector2D::ZeroVector, 2); Points[0][AxisIdx] = MarkerPlotSpace; Points[0][OtherAxisIdx] = FixedCompBase; Points[1][AxisIdx] = MarkerPlotSpace; Points[1][OtherAxisIdx] = FixedCompBase + MarkerOffset; if (bDrawMarkers) { FSlateDrawElement::MakeLines( OutDrawElements, LayerId, Geometry.ToPaintGeometry(), Points, //ClipRect, ESlateDrawEffect::None, ChartStyle->ChartLineColor, false, ChartStyle->ChartLineThickness ); } if (bDrawLabels) { FText UnsignedLabelText = FText::FromString(RoundedMarker.Abs().MultiplierAsString(MarkerData.DisplayPower)); auto UnsignedLabelExtents = FontMeasureService->Measure(UnsignedLabelText, ValueFont); FText LabelText = FText::FromString(RoundedMarker.MultiplierAsString(MarkerData.DisplayPower)); auto LabelExtents = FontMeasureService->Measure(LabelText, ValueFont); // Offset label perpendicularly to the axis based on which side of the plot the axis is on auto LabelOffset = FVector2D::ZeroVector; LabelOffset[OtherAxisIdx] += MarkerLabelGapOffset; if (bIsReversed) { LabelOffset[OtherAxisIdx] -= LabelExtents[OtherAxisIdx]; } // Center the label on the marker LabelOffset[AxisIdx] -= LabelExtents[AxisIdx] * 0.5f; if (Axis == EAxis::X) { // Adjust centering to ignore '-' sign LabelOffset[AxisIdx] -= (LabelExtents[AxisIdx] - UnsignedLabelExtents[AxisIdx]) * 0.5f; } auto LabelGeometry = Geometry.MakeChild( LabelExtents, FSlateLayoutTransform(Points[1] + LabelOffset) ); // Test if the text can be fully displayed within the clip bounds, and if not, don't draw it at all if(!WillGeometryGetClipped(LabelGeometry, ClipRect)) { FSlateDrawElement::MakeText( OutDrawElements, LayerId, LabelGeometry.ToPaintGeometry(), LabelText, ValueFont, //ClipRect, ESlateDrawEffect::None, ChartStyle->FontColor); } } } return LayerId; } int32 SKantanChart::DrawXAxisTitle(const FGeometry& Geometry, const FSlateRect& ClipRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, FCartesianAxisConfig const& AxisCfg, AxisUtil::FAxisMarkerData const& MarkerData) const { auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto ChartStyle = GetChartStyle(); auto LabelFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisTitle); auto ActualTitle = GetAxisTitleToShow(AxisCfg, MarkerData); if (ActualTitle.IsEmptyOrWhitespace() == false) { auto Label = ActualTitle; auto Extents = FontMeasureService->Measure(Label, LabelFont); auto AvailableSize = Geometry.GetLocalSize(); FSlateDrawElement::MakeText( OutDrawElements, LayerId, Geometry.ToPaintGeometry(Extents, FSlateLayoutTransform(FVector2D((AvailableSize.X - Extents.X) * 0.5f, 0.0f))), Label, LabelFont, //ClipRect, ESlateDrawEffect::None, ChartStyle->FontColor); } return LayerId; } int32 SKantanChart::DrawYAxisTitle(const FGeometry& Geometry, const FSlateRect& ClipRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, FCartesianAxisConfig const& AxisCfg, AxisUtil::FAxisMarkerData const& MarkerData) const { auto FontMeasureService = FSlateApplication::Get().GetRenderer()->GetFontMeasureService(); auto ChartStyle = GetChartStyle(); auto LabelFont = GetLabelFont(ChartStyle, EKantanChartLabelClass::AxisTitle); auto ActualTitle = GetAxisTitleToShow(AxisCfg, MarkerData); if(ActualTitle.IsEmptyOrWhitespace() == false) { auto Label = ActualTitle; auto Extents = FontMeasureService->Measure(Label, LabelFont); auto AvailableSize = Geometry.GetLocalSize(); auto const RenderXform = TransformCast< FSlateRenderTransform >(Concatenate(Inverse(FVector2D(Extents.X, 0.0f)), FQuat2D(FMath::DegreesToRadians(-90.0f)))); auto RotatedGeometry = Geometry.MakeChild( Extents, FSlateLayoutTransform(FVector2D(0.0f, (AvailableSize.Y - Extents.X) * 0.5f)), RenderXform, FVector2D(0.0f, 0.0f) ); FSlateRect BaseClipRect( RotatedGeometry.GetAccumulatedLayoutTransform().TransformPoint(FVector2D(0, 0)), RotatedGeometry.GetAccumulatedLayoutTransform().TransformPoint(FVector2D(Extents.Y, Extents.X)) ); auto IntersectedClipRect = BaseClipRect.IntersectionWith(ClipRect); auto TransformedClipRect = TransformRect( Concatenate( Inverse(RotatedGeometry.GetAccumulatedLayoutTransform()), Inverse(RenderXform), RotatedGeometry.GetAccumulatedLayoutTransform() ), FSlateRotatedRect(IntersectedClipRect) ).ToBoundingRect(); auto FinalClipRect = TransformedClipRect; FSlateDrawElement::MakeText( OutDrawElements, LayerId, RotatedGeometry.ToPaintGeometry(), Label, LabelFont, //FinalClipRect, ESlateDrawEffect::None, ChartStyle->FontColor); } return LayerId; } void SKantanChart::SetActiveTimerTickRate(float TickRate) { if (UpdateTickRate != TickRate || !ActiveTimerHandle.IsValid()) { UpdateTickRate = TickRate; TSharedPtr<FActiveTimerHandle> SharedActiveTimerHandle = ActiveTimerHandle.Pin(); if (SharedActiveTimerHandle.IsValid()) { UnRegisterActiveTimer(SharedActiveTimerHandle.ToSharedRef()); } ActiveTimerHandle = RegisterActiveTimer( UpdateTickRate, FWidgetActiveTimerDelegate::CreateSP(this, &SKantanChart::ActiveTick) ); } } EActiveTimerReturnType SKantanChart::ActiveTick(double InCurrentTime, float InDeltaTime) { OnActiveTick(InCurrentTime, InDeltaTime); return EActiveTimerReturnType::Continue; } int32 SKantanChart::OnPaint(const FPaintArgs& Args, const FGeometry& AllottedGeometry, const FSlateRect& MyClippingRect, FSlateWindowElementList& OutDrawElements, int32 LayerId, const FWidgetStyle& InWidgetStyle, bool bParentEnabled) const { // Pre-snap the clipping rect to try and reduce common jitter, since the padding is typically only a single pixel. FSlateRect SnappedClippingRect = FSlateRect(FMath::RoundToInt(MyClippingRect.Left), FMath::RoundToInt(MyClippingRect.Top), FMath::RoundToInt(MyClippingRect.Right), FMath::RoundToInt(MyClippingRect.Bottom)); auto ChartStyle = GetChartStyle(); LayerId = DrawChartBackground( Args, AllottedGeometry, SnappedClippingRect, OutDrawElements, LayerId, ChartStyle, InWidgetStyle); auto InsetGeometry = MakeInsetGeometry(AllottedGeometry); if (HasChartTitle()) { auto TitleGeometry = MakeTitleGeometry(InsetGeometry); // @TODO: Using deprecated GetClippingRect which ignores render transforms. // Not sure of better way to do this though. auto ClipRect = SnappedClippingRect;// TitleGeometry.GetClippingRect().IntersectionWith(SnappedClippingRect); LayerId = DrawChartTitle(Args, TitleGeometry, ClipRect, OutDrawElements, LayerId, ChartStyle, InWidgetStyle); } { auto ContentGeometry = MakeContentGeometry(InsetGeometry); FGeometry AreaGeoms[ChartContentAreaCount]; MakeAreaGeometries(ContentGeometry, AreaGeoms); // @TODO: Using deprecated GetClippingRect which ignores render transforms. // Not sure of better way to do this though. auto ClipRect = SnappedClippingRect; //InsetGeometry.GetLayoutBoundingRect(); //SnappedClippingRect;// ContentGeometry.GetClippingRect().IntersectionWith(SnappedClippingRect); for (int32 AreaIdx = 0; AreaIdx < ChartContentAreaCount; ++AreaIdx) { if (AreaGeoms[AreaIdx].GetLocalSize().X > 0.0f && AreaGeoms[AreaIdx].GetLocalSize().Y > 0.0f) { LayerId = DrawChartArea( (EChartContentArea::Type)AreaIdx, Args, AreaGeoms[AreaIdx], AreaGeoms[EChartContentArea::Plot], ClipRect, OutDrawElements, LayerId, InWidgetStyle, bParentEnabled ); } } } return LayerId; } FReply SKantanChart::OnMouseButtonDown(const FGeometry& MyGeometry, const FPointerEvent& MouseEvent) { if(OnChartMouseDown.IsBound()) { // @TODO: Area detection OnChartMouseDown.Execute(KantanCharts::EChartInteractionArea::Plot, MouseEvent); } return SLeafWidget::OnMouseButtonDown(MyGeometry, MouseEvent); } #undef LOCTEXT_NAMESPACE
cpp
<gh_stars>0 #![no_std] #![no_main] #![feature( panic_info_message, exclusive_range_pattern, const_maybe_uninit_zeroed, custom_test_frameworks, naked_functions, fn_align, asm_sym, asm_const, alloc_error_handler, stmt_expr_attributes, is_some_with, extern_types )] #![allow(arithmetic_overflow)] #![allow(dead_code)] #![test_runner(crate::test::run_tests)] #![reexport_test_harness_main = "test_harness"] #[cfg(not(target_arch = "riscv64"))] core::compile_error!("rv64gc is the only supported target"); /// Unit and integration tests #[cfg(test)] mod test; /// Architecture state and functionality pub mod arch; /// Entrypoint for OpenSBI pub mod boot; /// I/O devices pub mod io; /// Interrupt and trap handlers pub mod irq; /// Debug logging over UART pub mod log; /// Memory management pub mod mem; /// Panic language-feature pub mod panic; /// Crate-wide imports and definitions pub mod prelude; /// Interfacing with OpenSBI pub mod sbi; /// Scheduler API pub mod sched; /// System call definitions pub mod syscall; /// Kernel thread primitives pub mod thread; /// Bitwise manipulation utilities pub mod util; use prelude::*; const LOG_LEVEL: log::Level = log::Level::Warn; /// Entry-point for the kernel /// /// # Safety /// /// * `free_start` should point to a mapped, writeable, page-aligned, and free /// address /// * `free_size` should be page-aligned #[allow(named_asm_labels)] #[repr(align(4))] pub unsafe extern "C" fn kinit() -> ! { register::stvec::write( irq::trap::trap_shim as usize, register::stvec::TrapMode::Direct, ); println!("\n---\n"); log::set_level(LOG_LEVEL); trace!("Entered kinit, bootstrap complete"); // Setup and enable trap handler irq::setup(); irq::enable(); // Handoff execution to the thread scheduler thread::handoff(kmain, 0); } extern "C" fn kmain(_: usize) -> usize { trace!("Entered kmain"); #[cfg(test)] crate::test_harness(); // Enable external interrupts irq::enable_external(); // Setup UART io::uart::enable_plic_int(); io::uart::UART.lock().init(); exit!(0); }
rust
{ "name": "starfield-404", "version": "1.0.0", "description": "", "main": "dist/index.html", "scripts": { "start": "node_modules/.bin/parcel src/index.html", "gh-page": "node_modules/.bin/parcel build src/index.html --public-url . -d docs", "test": "echo \"Error: no test specified\" && exit 1" }, "keywords": [], "author": "<NAME>", "license": "MIT", "dependencies": { "mithril": "^1.1.7", "normalize.css": "^8.0.1", "tagl-mithril": "^1.0.4" }, "devDependencies": { "parcel-bundler": "^1.10.3" } }
json
“For the first mission we have selected four of them, and it is our endeavour to send them at least by 2025 to space and bring them back safely. Bringing them back safely is a very important element of this mission,” Somanath said while addressing graduating students at the 11th convocation of Pandit Deendayal Energy University (PDEU). The thermal vacuum test occurred at ISRO’s Satellite Integration and Test Establishment in Bengaluru. It’s one of a battery of tests the satellite will face leading to launch. Other tests will ensure it can withstand the shaking, vibration, and jostling that it will encounter during launch. The NASA-ISRO Synthetic Aperture Radar (NISAR) is set to be launched in the first quarter of 2024 after a few tests, particularly those related to vibration, NASA officials have said. "ISRO is projecting the first quarter of next year. So, I mean, that's ready," NASA NISAR Project Manager Phil Barela said during a media interaction here on Wednesday. India's spacecraft Chandrayaan-3 successfully made a soft landing on the Moon. The touch down took place at 6:04 pm on August 23, 2023, as scheduled. With Chandrayaan-3's successful lunar touchdown, India has joined the ranks of the United States, China, and the former Soviet Union as the fourth nation to master the technology of soft lunar landings. Here's all you need to know about the team who made it possible. ISRO is preparing for several upcoming missions including a GSLV launch in August or early September. The agency is also planning to test its Gaganyaan vehicle, which aims to demonstrate India's human spaceflight capability, and launch the SSLV (Small Satellite Launch Vehicle) in its third developmental mission. The Indian Space Research Organisation (ISRO) on Monday announced that it will transfer its Small Satellite Launch Vehicle (SSLV) to the private sector amid growing demand for small satellites. The SSLV, which has had two development flights, seeks to provide on-demand services to put satellites weighing up to 500 kg in a low-earth orbit. The Indian Space Research Organisation (ISRO) will soon transfer its Small Satellite Launch Vehicle (SSLV) to the private sector, after conducting two development flights of the rocket that seeks to provide on-demand services to put satellites weighing up to 500 kg in a low-earth orbit. The space agency has decided to opt for the bidding route to transfer the mini-rocket to the industry, a senior official said. "The launch of the GSLV-F12/NVS-01 mission is scheduled on Monday, May 29 at 10:42 hours IST from the second launch pad at Satish Dhawan Space Centre in Sriharikota," the Bengaluru-headquartered national space agency said in a release on Monday. Subsequent orbit raising manoeuvres will be used for taking the satellite to the intended orbit, the space agency said. The Chairman of Indian Space Research Organisation (ISRO) S. Somanath said here on Saturday the space agency is planning to send up the first uncrewed GSLV rocket in February 2024 as part of the Gaganyaan Mission. The human module will land in the sea. The first batch of 36 satellites was launched on October 23, 2022 from Sriharikota rocket port in Andhra Pradesh with LVM3 rocket formerly known as Geosynchronous Satellite Launch Vehicle MkIII (GSLV MkIII). "Our satellites have now been loaded ahead of our upcoming launch with @isro. This is the final time we will load up an Antonov aircraft with our satellites for Gen1, demonstrating how close we are to truly global connectivity. Bon voyage, satellites!" OneWeb tweeted. The CE20 cryogenic engine indigenously developed for LVM3 (Launch Vehicle Mark 3) was subjected to a successful hot test at an uprated thrust level of 21.8 tonnes for the first time on November 9, the country's national space agency headquartered here said in a statement. ISRO Chairman S Somanath conducted a special pooja on Saturday morning at Sri Chengalamma Parameshwari Devi Temple at Sullurpeta in the Tirupati district for the success of GSLV Mark-3 rocket launch. ISRO's rocket LVM3 will carry 36 satellites of a private communications firm OneWeb, Somanath said earlier on Saturday evening. Sunday's launch assumes significance as the LVM3-M2 mission is the maiden dedicated commercial mission for NewSpace India Ltd, the commercial arm of ISRO. The mission is being undertaken as part of the commercial arrangement between NewSpace India Ltd and United Kingdom-based Network Access Associates Ltd (OneWeb Ltd), ISRO said. The state-of-the-art Integrated Cryogenic Engine Manufacturing Facility (ICMF), set up over an area of 4,500 square metres houses over 70 hi-tech equipment and testing facilities for manufacturing cryogenic (CE20) and semi-cryogenic (SE2000) engines of Indian rockets. He made the comments after the successful launch of earth observation satellite - EOS-01- and nine customer satellites onboard its Polar rocket, PSLV-C49, from this spaceport, about 110 km from Chennai. The global mapping of the lunar surface and polar coverage are being carried out as per the mission plan, while public release of science data from Chandrayaan-2 for global use will begin in October, ISRO said. The report on the major findings from Chandrayaan-2 science experiments was planned to be released at the Annual Lunar Planetary Science Conference in March 2020, but was however cancelled due to the COVID-19 pandemic, it said.
english
It is early morning in New Zealand on January 5. The sun has still not risen in most parts of the world, including Bangladesh, a nation that expects a brighter sun rise that day. But the New Zealand and Bangladesh teams are out at the Bay Oval in Mount Maunganui for the fifth day of the first Test. The Kiwis are nine wickets down for 169 in the 74th over of their second innings. Mehedy Hasan managed three dot balls against Trent Boult, making the latter impatient. The fourth ball was pitched wide of off-stump in a good length area and spun in sharply. Boult came down the track, sat on his knees and slogged it towards the deep mid-wicket region. Taijul Islam, on as a substitute fielder, dived backwards to complete a superb catch at the boundary. Ebadot Hossain ran and carried Islam in the air, with the entire Bangladesh team gathering at the boundary with that last wicket. The reason? Their target to create history was just 40 runs. An hour-and-a-half later, Mushfiqur Rahim, Bangladesh’s senior-most player in the squad, guided the ball towards the backward point boundary for the winning runs, thus creating history! Skip forward two days. On January 7 in South Africa, the sun is on the verge of going down. It had already gone down in several other parts of the world, including India – not only empirically, but morally as well. After two sessions being washed out by rain, the officials allowed a maximum of 34 overs in the final session of the fourth day. The pundits believed that the match will be completed only on the fifth day. But 27 overs and three balls later, Dean Elgar whipped Ravichandran Ashwin to the fence through mid-wicket. The Proteas skipper punched the air, punched the bat and then hugged Temba Bavuma. He then walked back to the pavilion with determination pouring out of his face as South Africa had just created history. Bangladesh had never won a Test match against New Zealand in 15 previous attempts, but they did last week, that too in New Zealand. South Africa, meanwhile, had never defeated India at the Wanderers, but they did last week, that too by chasing down 240 for the first time in over the last 20 years. So what do the two victories mean for Test cricket? While Bangladesh’s victory over New Zealand can definitely be termed as an upset, South Africa’s triumph over India can't be branded one. But such has been the dominance of India in Test cricket in recent years, coupled with the Proteas' rapid downfall, the hosts' victory against Team India could be debated as an upset. However, it was South Africa’s best moment in the last three years, eclipsing their Test victories over Sri Lanka and West Indies. For Bangladesh, if the victory is measured on the Mercalli scale, it would break the scale. The Tigers defeated the World Test Champions. So far, there have been subjective Test Champions. But since June 2021, the Kiwis have been crowned World Test Champions after they beat India in the World Test Championship (WTC) final. Not only did Bangladesh beat New Zealand, but they dominated four out of the five days. For years, there has been a debate about the longest format of the game. Interest in Test cricket has evidently been reduced with the advent of T20 cricket and franchise-based leagues. But just when it looks like Test cricket's time has ended, matches like these pull it right back up. There have been several classic and nail biting matches in recent times. These two games, however, were not. After a point in time, you knew the direction in which it was headed. Yet, they were astonishing, entertaining and inspiring matches. For Bangladesh, the win itself was astonishing. No one gave them a chance and they played without any expectations. Their senior pros Tamim Iqbal and Shakib-Al-Hasan were missing. Even if the duo played, Bangladesh would not have been considered a competition for the Blackcaps in New Zealand. But the visitors found a star in Ebadot Hossain, who averaged 81. 5 before the match - the worst for any bowler with more than 10 wickets. They also found a batting line-up that is capable of taking the team forward in the absence of Tamim and Shakib. The victory would become more passionate when we remember the last time Bangladesh toured New Zealand. Their expedition was cut short due to the mosque shooting incident. For Bangladesh, winning was a confirmation that they belong in the Test arena and can compete at the highest level. For South Africa, on the other hand, it was a reassurance that they are evolving and not dwindling. For quite a long time, South African cricket has been hit by racism, a lack of attractive compensation for its players and other administrative issues. But this win will give them confidence to fight the adversities. The Proteas will also find inspiration in their leader Dean Elgar, who showed grit and determination. But while the game was poised, the situation was tailor-made for his not-so-good-looking, but determined approach. He has often been compared to Graeme Smith, and has been termed a mini-biff. But that is true in more than one way. Elgar is not as tall or as broad as Smith. More significantly, he doesn’t have half the team Smith had. But that innings of 96* was as powerful as any. The matches did not live up to the last over, or last hour, or last session, like the drawn Australia-England fourth Ashes Test. But they were special in their own way. While Bangladesh’s legacy of Test cricket was kept alive, South Africa’s had been resurrected. The World Test Championship has already added much-needed impetus to the existence of the longest format of the game. However, these two victories for subjective underdogs have ensured that the competition has not died. 10 years down the future, it will not just be the big three (India, Australia and England) and New Zealand playing Test cricket. For those who don’t understand cricket, Test matches are pieces of mockery. For those who understand, Test cricket is the purest format of the game. A format believed to be fading still keeps producing fantastic matches. A format believed to be dying, is actually far too young and alive.
english
Okay I found the problem. I had installed MSI after burner and along with it another tool gets installed as part of the package, Rovio stats or something. Anyway, I was using it to monitoring the frame rate and CPU usage and as it turns out, if you close it, the screen is back to normal. Can we switch to the TV channels and access the TV guides as they show in the videos on Xbox One here in India? What if the set top box doesn't have an HDMI port? Or is it just another only for the Americans thing? Really helpful ! Is there a site like codeacademy.com for SQL? CodeAcademy doesn't have anything on SQL. The online environment for execution and learning is really great but i need something similar on SQL. 1. What is the purpose of the computer? What all applications and games are you going to run? (Stupid answers like 'gaming' or 'office work' will not work. Be exact. Which games? Which applications? Avoid the word 'et cetera.') I got a budget of Rs. 2,80,000. Need to build as bad ass a gaming rig as possible. Already have a cabinet (CM Stryker) and monitor. Does DDR4 have any significant advantage over DDR3? Would prefer to make it future proof. I got Q8200, 6GB DDR2 RAM (4GB at 800MHz and one at 667MHz) along with a R9 270X. Far Cry 4 runs at around 15-20 FPS at medium and high, even ultra settings. Changing the resolution to 720p or 1080p makes hardly any difference. Same goes with the settings. Is it the CPU? I have a Q8200 processor and 6GB RAM (4GB at 800MHz and one at 667 MHz) with a R9 270X. I get around 15 or 17 FPS and sometimes it drops to 3 FPS at High or even medium settings. I also noticed that changing the resolution or the settings don't make much difference. Is it the CPU?
english
<filename>docs/framework/wpf/advanced/templatebinding-markup-extension.md --- title: TemplateBinding-Markuperweiterung ms.date: 03/30/2017 f1_keywords: - TemplateBinding - TemplateBindingExtension helpviewer_keywords: - XAML [WPF], TemplateBinding markup extension - TemplateBinding markup extensions [WPF] ms.assetid: 1d25bbfc-dbc2-499d-9f12-419d23d4ac6a ms.openlocfilehash: 6d89978b907c8f124b5162c97de5edc034cf1e95 ms.sourcegitcommit: f348c84443380a1959294cdf12babcb804cfa987 ms.translationtype: MT ms.contentlocale: de-DE ms.lasthandoff: 11/12/2019 ms.locfileid: "73976672" --- # <a name="templatebinding-markup-extension"></a>TemplateBinding-Markuperweiterung Verknüpft den Wert einer Eigenschaft in einer Steuerelementvorlage so, dass er der Wert einer anderen Eigenschaft des Steuerelements mit Vorlagen ist. ## <a name="xaml-attribute-usage"></a>Verwendung von XAML-Attributen ```xml <object property="{TemplateBinding sourceProperty}" .../> ``` ## <a name="xaml-attribute-usage-for-setter-property-in-template-or-style"></a>Verwendung von XAML-Attributen (für Setter-Eigenschaft in Vorlage oder Stil) ```xml <Setter Property="propertyName" Value="{TemplateBinding sourceProperty}" .../> ``` ## <a name="xaml-values"></a>XAML-Werte ||| |-|-| |`propertyName`|<xref:System.Windows.DependencyProperty.Name%2A?displayProperty=nameWithType> der Eigenschaft, der in der Setter-Syntax festgelegt wird.| |`sourceProperty`|Eine weitere Abhängigkeitseigenschaft für den auf Vorlagen basierenden Typ, die durch ihren <xref:System.Windows.DependencyProperty.Name%2A?displayProperty=nameWithType> angegeben wird.<br /><br /> - oder -<br /><br /> Ein Eigenschaftenname in Punktnotation, der durch einen anderen Typ als den auf Vorlagen basierenden Zieltyp definiert wird. Hierbei handelt es sich eigentlich um einen <xref:System.Windows.PropertyPath>. Siehe [PropertyPath-XAML-Syntax](propertypath-xaml-syntax.md).| ## <a name="remarks"></a>Hinweise Eine `TemplateBinding` ist eine optimierte Form einer [Bindung](binding-markup-extension.md) für Vorlagen Szenarien, analog zu einer mit `{Binding RelativeSource={RelativeSource TemplatedParent}, Mode=OneWay}`erstellten `Binding`. Eine `TemplateBinding` ist immer eine unidirektionale Bindung, auch wenn die betroffenen Eigenschaften standardmäßig bidirektionale Bindungen sind. Beide betroffenen Eigenschaften müssen Abhängigkeitseigenschaften sein. Um eine bidirektionale Bindung mit einem übergeordneten Element zu erreichen, verwenden Sie stattdessen die folgende Bindungs Anweisung `{Binding RelativeSource={RelativeSource TemplatedParent}, Mode=TwoWay, Path=MyDependencyProperty}`. [RelativeSource](relativesource-markupextension.md) ist eine andere Markup Erweiterung, die manchmal in Verbindung mit oder anstelle von `TemplateBinding` verwendet wird, um eine relative Eigenschaften Bindung innerhalb einer Vorlage auszuführen. Das Beschreiben von Steuerelement Vorlagen als Konzept wird hier nicht behandelt. Weitere Informationen finden Sie unter [Steuerelement Stile und-Vorlagen](../controls/control-styles-and-templates.md). Die Attributsyntax ist die mit dieser Markuperweiterung am häufigsten verwendete Syntax. Das Zeichenfolgentoken, das auf die `TemplateBinding`-Bezeichnerzeichenfolge folgt, wird als <xref:System.Windows.TemplateBindingExtension.Property%2A>-Wert der zugrunde liegenden <xref:System.Windows.TemplateBindingExtension>-Erweiterungsklasse zugeordnet. Die Objektelementsyntax ist zwar möglich, wird jedoch nicht gezeigt, da sie keine realistische Anwendung hat. `TemplateBinding` wird verwendet, um Werte mithilfe von ausgewerteten Ausdrücken innerhalb von Settern zu füllen. Die Verwendung der Objektelementsyntax für `TemplateBinding` zum Füllen der `<Setter.Property>`-Eigenschaftenelementsyntax ist unnötig ausführlich. `TemplateBinding` kann zudem in einer ausführlichen Attributverwendung verwendet werden, die die <xref:System.Windows.TemplateBindingExtension.Property%2A>-Eigenschaft als Eigenschaft=Wert-Paar angibt: ```xml <object property="{TemplateBinding Property=sourceProperty}" .../> ``` Die ausführliche Verwendung ist häufig hilfreich, wenn für eine Erweiterung mehr als eine Eigenschaft festgelegt werden kann oder wenn bestimmte Eigenschaften optional sind. Da für `TemplateBinding` nur eine (erforderliche) Eigenschaft festgelegt werden kann, ist diese ausführliche Verwendung unüblich. In der [!INCLUDE[TLA2#tla_winclient](../../../../includes/tla2sharptla-winclient-md.md)] XAML-Prozessor Implementierung wird die Handhabung dieser Markup Erweiterung durch die <xref:System.Windows.TemplateBindingExtension>-Klasse definiert. `TemplateBinding` ist eine Markuperweiterung. Markuperweiterungen werden in der Regel implementiert, wenn Attributwerte mit Escapezeichen versehen werden müssen, damit diese nicht als literale Werte oder als Handlernamen betrachtet werden, und diese Anforderung eher global und nicht nur durch den Einsatz von Typkonvertern für bestimmte Typen oder Eigenschaften erfüllt werden soll. Alle Markup Erweiterungen in XAML verwenden die `{`-und `}` Zeichen in der Attribut Syntax. Dies ist die Konvention, mit der ein XAML-Prozessor erkennt, dass das Attribut von einer Markup Erweiterung verarbeitet werden muss. Weitere Informationen finden Sie unter [Markuperweiterungen und WPF-XAML](markup-extensions-and-wpf-xaml.md). ## <a name="see-also"></a>Siehe auch - <xref:System.Windows.Style> - <xref:System.Windows.Controls.ControlTemplate> - [Erstellen von Formaten und Vorlagen](../controls/styling-and-templating.md) - [Übersicht über XAML (WPF)](../../../desktop-wpf/fundamentals/xaml.md) - [Markuperweiterungen und WPF-XAML](markup-extensions-and-wpf-xaml.md) - [RelativeSource-Markuperweiterung](relativesource-markupextension.md) - [Bindung als Markuperweiterung](binding-markup-extension.md)
markdown
Ajith's Thunivu is heading for digital release. The film will start streaming on Netflix from February 8, 2023. The film's digital rights are owned by Netflix. They have made an official announcement about Thunivu digital release. Thunivu will be released in all languages. Thunivu was released in theatres on 11, January 2023. Thunivu has grossed Rs 200 cr at the box office. The film was directed by director H Vinoth.
english
Four books,published photographs and several art exhibitions later,Abha Dawesar,37,is travelling through an unknown terrain writing the script for a film. The New York-based Dawesars latest work will be seen in a global celluloid venture called Love and the Cities by Brazilian director Rodrigo Bernardo. The film brings together five writers from five countries. Each of us creates a segment which is linked together thematically in an arc, says Dawesar,who is visiting Delhi before she travels to Jaipur for the literature festival in a few days. Her own piece,which comes towards the middle of the film,is about a young couple living in todays Delhi,who will possibly marry. When Bernardo met Dawesar in the Big Apple a year ago and proposed the idea,the writer,whose books Family Values,That Summer in Paris and Babyji have entered bestseller lists across the world,was readily impressed. I liked the idea,especially because a film is a collaborative effort. It forces one to create within constraints and that brings out a different aspect of creativity from writing a novel, she says. What she wasnt prepared for was how writing a screenplay would challenge and change her imagination. I had to think visually,unlike while writing a novel. Everything had to be conveyed through dialogue for strong visuals. This shift in perspective took a lot of time, she recalls,adding that her script was ready by the end of the summer of 2010. For her part,she isnt a particularly systematic film viewer,especially of Bollywood cinema but writing for Love and the Cities made her realise that being involved in creating something is more interesting than being a consumer. Dawesar is currently also working on a new book that merges fiction and non-fiction,but she says she is ready for different things now. I will never stop writing novels,but I am open to more screenplays, she says.
english
In an era in which most international cricketers at least begin their innings wearing a helmet, few batsmen have been as readily identifiable from their walk to the crease as Chris Gayle. The slow saunter to the middle and arguably even slower walk back when he has been dismissed are in marked contrast to the dynamic ball-striking of the powerful left-handed West Indies opener. Crowds still get a buzz from Gayle's good days and so too does a man who nicknamed himself the "Universe Boss", a brash tag in keeping with his big-hitting exploits in the crash-bang-wallop world of Twenty20 franchise cricket. But having hoped for more fireworks in what will surely be his last World Cup appearance, fans at Headingley on Thursday saw the 39-year-old fall after making just seven against Afghanistan. A final World Cup appearance ought to offer the chance of a clean break and a farewell to West Indies duty. Gayle said previously that he would quit one-day internationals after the World Cup, although he later prevaricated. The Jamaican, just 10 runs short of Brian Lara's all-time West Indies' record of 10,348 ODI runs, now appears minded to carry on, at least for a while. Gayle, who has not played a Test since 2014, has missed matches because of disputes with previous Cricket West Indies regimes but no one in the current set-up wants to hurry him out of the door. An awkward question the selectors may have to ask however, if he does not take the decision out of their hands, is how much does the advantage of having Gayle in the side outweigh any decline in the sheer number of runs? Unlike four years ago, when he hit a double century against Zimbabwe, this was not a productive World Cup for Gayle and the West Indies won just two games. "It's a brilliant privilege and honour to represent West Indies in five World Cups (2003 to 2019)," Gayle said after Thursday's match. "We have a great bunch, some great youngsters as well and it's up to them to lift West Indies cricket from here on," he added in a reference to players such as Shai Hope, Nicholas Pooran and Shimron Hetmyer. "I still have a few more games left as well, so we'll see what happens." Carlos Brathwaite, who hit Gayle-like century against New Zealand earlier in the tournament, underlined the impact of his teammate. "I don't think I really understood the magnitude of what Chris Gayle had done for West Indies cricket when I came into the team," he said. "Being with him a lot more and sharing a dressing room with him in franchise cricket as well, you get to see the aura he has on and off the field. "I now really understand what Chris Gayle means, not only for West Indies cricket but for world cricket as well. "Whenever he decides to call it quits, world cricket will definitely miss him, so from me to Chris, congrats on a fantastic career and congrats on pushing the game of cricket in the way you have." Brathwaite urged the West Indies to learn from England's example as they look to the future. Four years on from a humiliating first-round exit, England are now in the semi-finals after transforming their approach to ODI cricket. "If you look at 2015 and what England did after the World Cup, they have built straight up to the 2019 World Cup and it’s paying dividends," said the allrounder.
english
<reponame>itsmevky/homepage { "name": "Christmas.Finance", "symbol": "CSFI", "address": "0xe02d028Dc833b6E91C957fb83e0c1C321224087A", "decimals": 18, "dharmaVerificationStatus": "UNVERIFIED" }
json
The vehicle used by the attackers of Dalit leader and Bhim Army chief Chandra Shekhar Aazad was recovered from a village in Uttar Pradesh’s Saharanpur district, police said on Thursday. Meanwhile, police in Amethi district registered a case under Section 506 (criminal intimidation) of the Indian Penal Code (IPC) after it came to light that a Facebook page had issued a death threat to Aazad days before the attack. Activists of the Bhim Army and Azad Samaj Party held a demonstration at Parivartan Chowk here and demanded proper security for Aazad. They were later taken into custody by police. A bullet grazed the 36-year-old Bhim Army chief’s abdomen when unidentified assailants opened fire at his car in Saharanpur’s Deoband, where he had gone to attend a ritual at a supporter’s home, on Wednesday evening. The vehicle used by Aazad’s attackers was seized from Miragpur village late on Wednesday night. The number plate of the car showed it was registered in Haryana, the police said. Superintendent of Police (Dehat Saharanpur) Sagar Jain said Aazad is undergoing treatment at the Saharanpur district hospital and his condition is stated to be stable. Heavy police deployment was seen on the hospital premises as Aazad’s supporters started gathering there in large numbers, raising slogans and demanding immediate arrest of the attackers. Taking note of a death threat issued by a Facebook page called ‘Kshatriya of Amethi’ to Aazad days before the attack, Amethi police registered a case at Gauriganj police station. The police have taken cognisance of the post on Facebook page ‘Kshatriya of Amethi’ and registered a case against unidentified persons under Section 506 of the IPC and relevant provisions of the IT Act, said Mayank Dwivedi, Deputy Superintendent of Police, Gauriganj. A post was shared five days ago on the page stating that Aazad would be killed by the Thakurs of Amethi at a road crossing in broad daylight. A post shared on the page on Thursday said Aazad was shot in the waist but “he will not survive next time". Aazad is a very clever man, he needs security, a bulletproof vehicle and jacket, it said. It also warned that there will be a big movement if any innocent Rajput is framed for the attack. Wrestlers Bajrang Punia and Sakshi Malik met Aazad at the hospital and enquired about his health. Speaking to reporters later, Punia said those behind the attack on Aazad should be arrested as soon as possible. In Lucknow, Bhim Army and Azad Samaj Party activists handed over to a government official a memorandum addressed to the governor demanding that Aazad’s security be stepped up. Some supporters of the Bhim Army chief also raised slogans against the attack at Parivartan Chowk and were later taken into custody by police. Azad Samaj Party’s media in-charge Ajay Gautam told PTI that memorandums demanding Z-plus security for Aazad will be submitted to President Droupadi Murmu and Uttar Pradesh Chief Minister Yogi Adityanath. Following the attack on Wednesday, Aazad was taken to a community health centre and later shifted to the district hospital. In a video message on Wednesday night, Aazad, who hails from Ghadkhauli village in Saharanpur, appealed to his supporters to remain calm and said he would keep fighting constitutionally. (This story has not been edited by News18 staff and is published from a syndicated news agency feed - PTI)
english
1 Now after these things, in the reign of Artaxerxes king of Persia, Ezra the son of Seraiah, the son of Azariah, the son of Hilkiah, 2 the son of Shallum, the son of Zadok, the son of Ahitub, 3 the son of Amariah, the son of Azariah, the son of Meraioth, 4 the son of Zerahiah, the son of Uzzi, the son of Bukki, 5 the son of Abishua, the son of Phinehas, the son of Eleazar, the son of Aaron the chief priest — 6 this Ezra went up from Babylon; and he was a ready scribe in the Law of Moses, which the LORD, the God of Israel, had given; and the king granted him all his request, according to the hand of the LORD his God upon him. 7 And there went up some of the children of Israel, and of the priests, and the Levites, and the singers, and the porters, and the Nethinim, unto Jerusalem, in the seventh year of Artaxerxes the king. 8 And he came to Jerusalem in the fifth month, which was in the seventh year of the king. 9 For upon the first day of the first month began he to go up from Babylon, and on the first day of the fifth month came he to Jerusalem, according to the good hand of his God upon him. 10 For Ezra had set his heart to seek the law of the LORD, and to do it, and to teach in Israel statutes and ordinances. 11 Now this is the copy of the letter that the king Artaxerxes gave unto Ezra the priest, the scribe, even the scribe of the words of the commandments of the LORD, and of His statutes to Israel: 12 'Artaxerxes, king of kings, unto Ezra the priest, the scribe of the Law of the God of heaven, and so forth. And now 13 I make a decree, that all they of the people of Israel, and their priests and the Levites, in my realm, that are minded of their own free will to go with thee to Jerusalem, go. 14 Forasmuch as thou art sent of the king and his seven counsellors, to inquire concerning Judah and Jerusalem, according to the law of thy God which is in thy hand; 15 and to carry the silver and gold, which the king and his counsellors have freely offered unto the God of Israel, whose habitation is in Jerusalem, 16 and all the silver and gold that thou shalt find in all the province of Babylon, with the freewill-offering of the people, and of the priests, offering willingly for the house of their God which is in Jerusalem; 17 therefore thou shalt with all diligence buy with this money bullocks, rams, lambs, with their meal-offerings and their drink-offerings, and shalt offer them upon the altar of the house of your God which is in Jerusalem. 18 And whatsoever shall seem good to thee and to thy brethren to do with the rest of the silver and the gold, that do ye after the will of your God. 19 And the vessels that are given thee for the service of the house of thy God, deliver thou before the God of Jerusalem. 20 And whatsoever more shall be needful for the house of thy God, which thou shalt have occasion to bestow, bestow it out of the king's treasure-house. 21 And I, even I Artaxerxes the king, do make a decree to all the treasurers that are beyond the River, that whatsoever Ezra the priest, the scribe of the Law of the God of heaven, shall require of you, it be done with all diligence, 22 unto a hundred talents of silver, and to a hundred measures of wheat, and to a hundred baths of wine, and to a hundred baths of oil, and salt without prescribing how much. 23 Whatsoever is commanded by the God of heaven, let it be done exactly for the house of the God of heaven; for why should there be wrath against the realm of the king and his sons? 24 Also we announce to you, that touching any of the priests and Levites, the singers, porters, Nethinim, or servants of this house of God, it shall not be lawful to impose tribute, impost, or toll, upon them. 25 And thou, Ezra, after the wisdom of thy God that is in thy hand, appoint magistrates and judges, who may judge all the people that are beyond the River, all such as know the laws of thy God; and teach ye him that knoweth them not. 26 And whosoever will not do the law of thy God, and the law of the king, let judgment be executed upon him with all diligence, whether it be unto death, or to banishment, or to confiscation of goods, or to imprisonment.' 27 Blessed be the LORD, the God of our fathers, who hath put such a thing as this in the king's heart, to beautify the house of the LORD which is in Jerusalem; 28 and hath extended mercy unto me before the king, and his counsellors, and before all the king's mighty princes. And I was strengthened according to the hand of the LORD my God upon me, and I gathered together out of Israel chief men to go up with me.
english
I have been a Dalit activist and journalist for over two decades, inspired equally by Babasaheb Ambedkar and Periyar. The three recent articles (authored by P. A. Krishnan and N. Kalyan Raman and available here, here and here) in the The Wire upholding B. R. Ambedkar on the one hand and accusing Periyar as someone who was nothing more than a Brahmin-hater on the other, therefore, comes to me as a surprise. Or maybe not. For 20 years, I have been editor of the Tamil journal Dalit Murasu, each issue of which carried passages from the writings and speeches of these two great anti-caste revolutionaries on similar themes. Since P. A. Krishnan and Kalyan Raman are familiar with Tamil print culture and claim to advance an anti-caste agenda, it is surprising that they have not taken note of this. Or again, maybe it is not surprising. As a Dalit activist, my position is very simple. It was not Periyar who made me a Dalit but Brahmanical Hinduism. Even if I become rich or become a priest, I continue to be a Dalit and an inferior individual. Periyar has no role in this. If anything, he waged a relentless struggle till his death to annihilate caste just as Ambedkar did. As Krishnan and Kalyan Raman know, it was Periyar who carried the Tamil translation of Ambedkar’s Annihilation of Caste (seen as the ‘Communist Manifesto for the servile classes) in his newspaper and cited Ambedkar’s work in several of his writings and speeches. On the accusation that Periyar hated Brahmins and not Brahminism, unlike Ambedkar – it is interesting to see what Ambedkar has to say in this regard: Historically they [Brahmins] have been the most inveterate enemy of the servile classes (Shudras and the Untouchables) who together constitute about 80 per cent of the total Hindu population. If the common man belonging to the servile classes in India is today so fallen, so degraded, so devoid of hope and ambition, it is entirely due to the Brahmins and their philosophy. The cardinal principles of this philosophy of Brahmanism are five: (1) graded inequality between the different classes; (2) complete disarmament of the Shudras and the Untouchables; (3) complete prohibition of the education of the Shudras and the Untouchables; (4) ban on the Shudras and the Untouchables occupying places of power and authority; (5) ban on the Shudras and the Untouchables acquiring property. (6) complete subjugation and suppression of women. (B. R. Ambedkar, Writings and Speeches, vol. 9, p. 215) Ambedkar’s observations on the role of the Brahmin in perpetuating Brahmanism do not end there. He goes on to say: … India is the only country where the intellectual class, namely, the Brahmins, not only made education their monopoly but declared acquisition of education by the lower classes, a crime punishable by cutting off of the tongue or by the pouring of molten lead in the ear of the offender. … There is no social evil and no social wrong to which the Brahmin does not give his support. Man’s inhumanity to man, such as the feeling of caste, untouchability, unapproachability and unseeability is a religion to him. It would, however, be a mistake to suppose that only the wrongs of man are a religion to him. For the Brahmin has given his support to the worst wrongs that women have suffered from in any part of the world. Widows were burnt alive as sattees. The Brahmin gave his fullest support to Sattee, the burning alive of a widow. Widows were not allowed to remarry. The Brahmin upheld the doctrine. Girls were required to be married before 8 and the husband had the right to consummate the marriage at any time thereafter, whether she had reached puberty or not did not matter. The Brahmin gave the doctrine his strongest support. The record of the Brahmins as law givers for the Shudras, for the Untouchables and for women is the blackest as compared with the record of the intellectual classes in other parts of the world. For no intellectual class has prostituted its intelligence to invent a philosophy to keep his uneducated countrymen in a perpetual state of ignorance and poverty as the Brahmins have done in India. Every Brahmin today believes in this philosophy of Brahmanism propounded by his forefathers. He is an alien element in the Hindu Society. The Brahmin vis-a-vis Shudras and the Untouchables as foreign as the German is to the French, as the Jew is to the Gentile or as the White is to the Negro. There is a real gulf between him and the lower classes of Shudras and Untouchables. He is not only alien to them but he is also hostile to them. In relationship with them, there is no room for conscience and there is no call for justice. (Ibid, pp. 215- 216) Another allegation that the two writers make is that Periyar was a supporter of colonialism. Let us look at the apprehensions that Ambedkar had about an independent India: … On this analysis, Swaraj would make Hindus more powerful and Untouchables more helpless and it is quite possible that having regard to the economic advantages which it gives to the Hindus, Swaraj, instead of putting an end to Untouchability, may extend its life. ” (ibid, pg. 198). He warns again: “one may ask what really can happen if India does become a sovereign and an independent state? One thing is certain. The governing class will not disappear by the magic wand of Swaraj. It will remain as it is and having been freed from the incubus of British Imperialism will acquire greater strength and vigour. (Ibid, p. 212) Both Ambedkar and Periyar have consistently pointed out that economic upliftment or social amelioration does not actually eradicate caste in society, which is the basis of all inequalities in the country. Speaking on behalf of what he termed the ‘servile classes’, which include both the Shudras and the ‘Untouchables’, Ambedkar said: I have no doubt that what they expect to happen in a sovereign and free India is a complete destruction of Brahmanism as a philosophy of life and as a social order. If I may say so, the servile classes do not care for social amelioration. The want and poverty which has been their lot is nothing to them as compared to the insult and indignity which they have to bear as a result of the vicious social order. Not bread but honour, is what they want. (Ibid, pp. 212-213) That Periyar chose the name ‘Self-respect Movement’ suggests the social and political ideal he shared with Ambedkar. Rather than address specific instances of caste violence, both Ambedkar and Periyar believed that it was much more important to destroy the ideology that not only perpetuates such violence but, more importantly, prevents the formation of a fraternity that is critical to any democratising project. Essential to such a project is the democratisation of one’s birth, which can happen only by the abolition of caste. According to the India Human Development Survey (IHDS) conducted in 2012, the largest share of households practicing untouchability was among Brahmin households – 52%. Such everyday practices are much more critical to reproducing caste hierarchies. We also know that despite Phule, Ambedkar, Periyar and the long line of anti-caste crusaders starting from the Buddha, Brahmins continue to hold a much larger share of positions in the higher bureaucracy, judiciary and the media. It is only in the legislative domain that there has been a shift towards the backward castes and, to a lesser extent, to the Dalits. The question clearly therefore is: Where does this need to vilify Periyar and celebrate Ambedkar as a national icon come from? ‘Divide and rule’ has been a long-term strategy of the Indian governing classes. It also has to do with the fact that upholding Ambedkar is essential as it allows them access to a vote bank whereas Periyar offers them no such political capital. The other question is: Why now? Is it because there is an emerging coalition of the servile classes in Tamil Nadu that is worrying those who are in power? I believe that the answer is yes. Only the caste-blind can afford to not see the growth of the Brahmin-Baniya alliance under the present Hindutva regime. Since both Ambedkar and Periyar have consistently pointed to the dominance of this alliance, it is understandable that the beneficiaries of this regime feel threatened. Anyone who wants to seriously and honestly engage with Periyar ought to be aware that the ‘street’ or ‘gutter language’ he employed to attack the Brahmins was almost equally used against his own audience – in whom he wanted to instil a sense of shame (for their ‘shudra’/adi-shudrahood), self-respect and self-worth. This was the case with Malayalis as well, whose dignity Krishnan so zealously wants to guard. Krishnan does not understand that Periyar’s intention was to shame those who prided in having Brahmin blood in their persons. It was M. S. Golwalkar, the ultimate guru of the RSS-BJP who glorified ‘crossbreeding’: Today experiments in crossbreeding are made only on animals. But the courage to make such experiments on human beings is not shown even by the so-called modern scientist of today. If some human cross-breeding is seen today it is the result not of scientific experiments but of carnal lust. Now let us see the experiments our ancestors made in this sphere. In an effort to better the human species through cross-breeding the Namboodri Brahamanas of the North were settled in Kerala and a rule was laid down that the eldest son of a Namboodri family could marry only the daughter of Vaishya, Kshatriya or Shudra communities of Kerala. Another still more courageous rule was that the first offspring of a married woman of any class must be fathered by a Namboodri Brahmanan and then she could beget children by her husband. Today this experiment will be called adultery but it was not so, as it was limited to the first child. (M. S. Golwalkar, Organizer, January 2, 1961, p. 5; quoted by Shamsul Islam, In Defence of Caste and Against ‘Cross-Breeding’ in Kerala: Golwalkar, Sabrang, March 15, 2016) Now, let us see how the ‘democratic’ views of the late Paramacharya of Kanchipuram unwittingly substantiate the reading of Ambedkar (in What Gandhi and Congress Have Done to the Untouchables) on the Brahmin-Kshatriya tie-up of yore. In one of his discourses, he argued that since the Manusmriti is the basic source of Hindu law, it should form the cornerstone of the ideal Hindu state. He nostalgically recalled that the Dharmashastras functioned as the basis of our administration, as a ‘Constitution for the whole country’: “Of all the ‘Dharmashastras’, the ‘Manu Shastra’ is said to have provided clear, specific guidance to the king of yore… None of the kings attempted to change the rules presenting the essence of ‘Dharmashastras’ propounded by selfless ‘rishis’. There was no question of any amendment to such rule. ” (‘The Unique Election Method in Uthiramerur: Democracy in the Vedas’, Bhavan’s Journal, vol. 36, no. 8, November 30, 1989, pp. 13-53) Dismissing the ‘moderates’ among the Brahmins as those who believed that ‘our way of life according to the Shastras requires to be reformed to suit the times’, he argued that the Manusmriti still had contemporary relevance. To make sure, he suggested a few electoral reforms, such as the abolition of universal suffrage and replacing it with a system in which “the qualification of voting must not be confined to particular caste, religion and economic status, but must combine all these aspects”. Lest one be deluded by some of the democratic-sounding words in this formulation, the ‘mahaswami’ prescribed the following qualifications for the candidates contesting the elections: - They should be revenue paying owners of the land, - Should own a house, - Most importantly, be well-versed in the ‘Dharmashastras’. He also intended “to show to the world that we are a great democracy, in the process, if we allow our dharma and dharma’s values to be compromised, it would only be like embellishing a dead body” (Ibid). His successors are no less ‘progressive’. They advised the Dalits to not trouble themselves to enter Hindu temples but be content with building their own, separate, temples. If they still desired to visit the great temples, they should do so only after cleansing their bodies thoroughly. We are yet to see Brahmin intellectuals-turned-champions of the Dalit cause interrogating such obnoxious, anti-human and anti-national statements (couched in ‘polished language’) of these swamis – let alone attending any of the protests against caste and communal violence and ‘honour killings’ that are being energetically organised by the Dalits, Periyarists and the Left forces. It is high time these intellectuals put their own house in order. It does not, however, mean that Periyar and his legacy need not be problematised. At the same time, a necessary pre-condition for this is that he must not be decontextualised. Like all other anti-caste leaders in India, he believed in nonviolence, and in this he was arguably more Gandhian than Gandhi himself. Periyar condemned violence during the ‘Quit India’ movement in 1942 as well as during the anti-Hindi agitations in Tamil Nadu in 1965. In this instance, his reasoning was that once Nehru himself had given an assurance to Kamaraj of the continuance of English, an assurance further reiterated by Lal Bahadur Shastri, a violent agitation involving the deaths of ordinary men, police personnel and the destruction of public property was unjustified. In 1968, he made a blanket condemnation of violence irrespective of the parties involved in the Kilvenmani killings. However, there is no evidence to show that he was on the side of the landlord. On the contrary, apart from his refusal to see the criminal landlord who sought an audience with him, some of his followers violated his norms of nonviolence to kill the perpetrator of the killings. It must be put on record that Periyar accepted the invitation of All India Radio to appeal to the people to remain calm in order to prevent any violence against Brahmins that might have broken out in Tamil Nadu following Gandhi’s assassination (as it did in certain regions of Maharashtra). It must also be remembered that Periyar’s demand for proportional representation in education and employment was inclusive of the Brahmins and never meant to deny them their socially just share. Kalyan Raman also argues that since Tamil Nadu registers the highest incidence of caste atrocities (though no data has been presented for this), it is clear that Periyar and his followers have failed. This contention is as fallacious as saying that despite Uttar Pradesh having had a Dalit chief minister thrice, atrocities on Dalits have not abated. The same argument can be made about Ambedkar in the context of violence against Dalits in Maharashtra, his birthplace. Interestingly, the two writers – while commenting on violence against Dalits in Tamil Nadu – make no mention of the contemporary flowering of Dalit literary and other creative output in the state. Do such works remain unseeable? Periyar addressed the caste question from the realm of his lived experience and on the basis of empirical evidence. He described the task of annihilating caste as an attempt to climb a steep mountain with one’s legs in the air. He never laid claims to any grand theories but, on more than one occasion, admired Ambedkar’s genius and accepted him as his own leader. He never had any illusion about his work, which he likened to ‘pulling a mountain with a single hair on the head’. It is left to successive generations to address the caste question with even more intellectual acumen and decisive actions.
english
<gh_stars>0 { "authors": [ { "author": "<NAME>" }, { "author": " <NAME>" }, { "author": " <NAME>" }, { "author": " <NAME>" }, { "author": " <NAME>" }, { "author": " <NAME>" } ], "doi": "10.11604/pamj.2014.17.84.3760", "publication_date": "2014-02-03", "id": "EN101152", "url": "https://www.panafrican-med-journal.com/content/article/17/84/full/", "source": "The Pan African Medical Journal", "source_url": "https://www.panafrican-med-journal.com/", "licence": "CC BY 4.0", "language": "fr", "type": "journal", "description": "", "text": "Une fille âgée de 15 ans, n'ayant pas encore sa ménarche, était adressée à la consultation de gynécologie pour l'apparition progressive d'une masse pelvienne et de douleurs abdominales évoluant depuis 8 mois. A l'examen clinque, elle était apyrétique, normo-tendue. L'examen de l'abdomen montrait la présence d'une voussure pelvienne avec palpation d'une masse pelvienne médiane arrivant jusqu'à l'ombilic, sensible, ferme et mobile. Une origine tumorale était suspectée. L'échographie sus-pubienne a montré la présence d'une formation liquidienne rétrovésicale, médiane, hypoéchogène renfermant un fin piqueté échogène. Cette collection était surmontée par la cavité utérine communicante, qui est non distendue. L'IRM a mis en évidence une importante distension du vagin à contenu hématique en hypersignal T1, en hyposignal T2, avec présence de dépôts déclives en hyposignal T2* en rapport avec de l'hémosidérine. L'utérus était refoulé vers le haut. La cavité utérine n'était pas distendue. Aucune autre anomalie utéro-annexielle n'était trouvée. Le diagnostic d'hématocolpos était évoqué. La patiente a été réexaminée et l'examen des organes génitaux externes avait objectivé un hymen imperforé et bombé. Le diagnostic retenu était un hématocolpos sur hymen imperforé. Une hyménéotomie a été faite sous anesthésie générale et 500 millilitres de sang « couleur chocolat » ont été vidés. Les suites opératoires étaient favorables." }
json
<reponame>M-Daniyal786/presaga import React from 'react' import styled from 'styled-components' import { H4Bold_NoScale } from '../../shared/Text' const NoLiquidityPanel = (props) => { return ( <PanelContainer> <ContentContainer> <H4Bold_NoScale>Trading is disabled due to lack of liquidity.</H4Bold_NoScale> </ContentContainer> </PanelContainer> ) } export default NoLiquidityPanel const PanelContainer = styled.div` background: #212d38; box-shadow: 4px 8px 8px rgba(0, 0, 0, 0.15); border-radius: 25px; ` const ContentContainer = styled.div` padding-top: 55px; padding-left: 25px; padding-right: 25px; padding-bottom: 50px; display: flex; justify-content: center; @media (max-width: 768px) { padding-top: 25px; padding-bottom: 25px; } `
typescript
# -*- coding: utf-8 -*- """ Created on Thu Apr 16 19:04:40 2015 @author: anderson io __init__ : Input-Output Module """ from o_functions import save_dataset from i_functions import open_dataset, loadRDH, loadMAT, loadSPK_waveclus from converting import converting_intan_directory from read_header import read_header
python
<filename>node_modules/blockstack/lib/encryption/ec.js "use strict"; var __importDefault = (this && this.__importDefault) || function (mod) { return (mod && mod.__esModule) ? mod : { "default": mod }; }; Object.defineProperty(exports, "__esModule", { value: true }); const elliptic_1 = require("elliptic"); const crypto_1 = __importDefault(require("crypto")); const keys_1 = require("../keys"); const ecurve = new elliptic_1.ec('secp256k1'); /** * @ignore */ function aes256CbcEncrypt(iv, key, plaintext) { const cipher = crypto_1.default.createCipheriv('aes-256-cbc', key, iv); return Buffer.concat([cipher.update(plaintext), cipher.final()]); } /** * @ignore */ function aes256CbcDecrypt(iv, key, ciphertext) { const cipher = crypto_1.default.createDecipheriv('aes-256-cbc', key, iv); return Buffer.concat([cipher.update(ciphertext), cipher.final()]); } /** * @ignore */ function hmacSha256(key, content) { return crypto_1.default.createHmac('sha256', key).update(content).digest(); } /** * @ignore */ function equalConstTime(b1, b2) { if (b1.length !== b2.length) { return false; } let res = 0; for (let i = 0; i < b1.length; i++) { res |= b1[i] ^ b2[i]; // jshint ignore:line } return res === 0; } /** * @ignore */ function sharedSecretToKeys(sharedSecret) { // generate mac and encryption key from shared secret const hashedSecret = crypto_1.default.createHash('sha512').update(sharedSecret).digest(); return { encryptionKey: hashedSecret.slice(0, 32), hmacKey: hashedSecret.slice(32) }; } /** * @ignore */ function getHexFromBN(bnInput) { const hexOut = bnInput.toString('hex'); if (hexOut.length === 64) { return hexOut; } else if (hexOut.length < 64) { // pad with leading zeros // the padStart function would require node 9 const padding = '0'.repeat(64 - hexOut.length); return `${padding}${hexOut}`; } else { throw new Error('Generated a > 32-byte BN for encryption. Failing.'); } } exports.getHexFromBN = getHexFromBN; /** * Encrypt content to elliptic curve publicKey using ECIES * @param {String} publicKey - secp256k1 public key hex string * @param {String | Buffer} content - content to encrypt * @return {Object} Object containing (hex encoded): * iv (initialization vector), cipherText (cipher text), * mac (message authentication code), ephemeral public key * wasString (boolean indicating with or not to return a buffer or string on decrypt) * * @private * @ignore */ function encryptECIES(publicKey, content) { const isString = (typeof (content) === 'string'); // always copy to buffer const plainText = content instanceof Buffer ? Buffer.from(content) : Buffer.from(content); const ecPK = ecurve.keyFromPublic(publicKey, 'hex').getPublic(); const ephemeralSK = ecurve.genKeyPair(); const ephemeralPK = ephemeralSK.getPublic(); const sharedSecret = ephemeralSK.derive(ecPK); const sharedSecretHex = getHexFromBN(sharedSecret); const sharedKeys = sharedSecretToKeys(Buffer.from(sharedSecretHex, 'hex')); const initializationVector = crypto_1.default.randomBytes(16); const cipherText = aes256CbcEncrypt(initializationVector, sharedKeys.encryptionKey, plainText); const macData = Buffer.concat([initializationVector, Buffer.from(ephemeralPK.encodeCompressed()), cipherText]); const mac = hmacSha256(sharedKeys.hmacKey, macData); return { iv: initializationVector.toString('hex'), ephemeralPK: ephemeralPK.encodeCompressed('hex'), cipherText: cipherText.toString('hex'), mac: mac.toString('hex'), wasString: isString }; } exports.encryptECIES = encryptECIES; /** * Decrypt content encrypted using ECIES * @param {String} privateKey - secp256k1 private key hex string * @param {Object} cipherObject - object to decrypt, should contain: * iv (initialization vector), cipherText (cipher text), * mac (message authentication code), ephemeralPublicKey * wasString (boolean indicating with or not to return a buffer or string on decrypt) * @return {Buffer} plaintext * @throws {Error} if unable to decrypt * @private * @ignore */ function decryptECIES(privateKey, cipherObject) { const ecSK = ecurve.keyFromPrivate(privateKey, 'hex'); const ephemeralPK = ecurve.keyFromPublic(cipherObject.ephemeralPK, 'hex').getPublic(); const sharedSecret = ecSK.derive(ephemeralPK); const sharedSecretBuffer = Buffer.from(getHexFromBN(sharedSecret), 'hex'); const sharedKeys = sharedSecretToKeys(sharedSecretBuffer); const ivBuffer = Buffer.from(cipherObject.iv, 'hex'); const cipherTextBuffer = Buffer.from(cipherObject.cipherText, 'hex'); const macData = Buffer.concat([ivBuffer, Buffer.from(ephemeralPK.encodeCompressed()), cipherTextBuffer]); const actualMac = hmacSha256(sharedKeys.hmacKey, macData); const expectedMac = Buffer.from(cipherObject.mac, 'hex'); if (!equalConstTime(expectedMac, actualMac)) { throw new Error('Decryption failed: failure in MAC check'); } const plainText = aes256CbcDecrypt(ivBuffer, sharedKeys.encryptionKey, cipherTextBuffer); if (cipherObject.wasString) { return plainText.toString(); } else { return plainText; } } exports.decryptECIES = decryptECIES; /** * Sign content using ECDSA * * @param {String} privateKey - secp256k1 private key hex string * @param {Object} content - content to sign * @return {Object} contains: * signature - Hex encoded DER signature * public key - Hex encoded private string taken from privateKey * @private * @ignore */ function signECDSA(privateKey, content) { const contentBuffer = content instanceof Buffer ? content : Buffer.from(content); const ecPrivate = ecurve.keyFromPrivate(privateKey, 'hex'); const publicKey = keys_1.getPublicKeyFromPrivate(privateKey); const contentHash = crypto_1.default.createHash('sha256').update(contentBuffer).digest(); const signature = ecPrivate.sign(contentHash); const signatureString = signature.toDER('hex'); return { signature: signatureString, publicKey }; } exports.signECDSA = signECDSA; /** * @ignore */ function getBuffer(content) { if (content instanceof Buffer) return content; else if (content instanceof ArrayBuffer) return Buffer.from(content); else return Buffer.from(content); } /** * Verify content using ECDSA * @param {String | Buffer} content - Content to verify was signed * @param {String} publicKey - secp256k1 private key hex string * @param {String} signature - Hex encoded DER signature * @return {Boolean} returns true when signature matches publickey + content, false if not * @private * @ignore */ function verifyECDSA(content, publicKey, signature) { const contentBuffer = getBuffer(content); const ecPublic = ecurve.keyFromPublic(publicKey, 'hex'); const contentHash = crypto_1.default.createHash('sha256').update(contentBuffer).digest(); return ecPublic.verify(contentHash, signature); } exports.verifyECDSA = verifyECDSA; //# sourceMappingURL=ec.js.map
javascript
var Dialog = require('./dialog') , inherits = require('util').inherits , keymap = require('browser-keymap') module.exports = DashboardChartDialog /// Edit a dashboard chart's title. /// /// chart - Chart /// onDone({title}) /// function DashboardChartDialog(chart, onDone) { this.chart = chart this.onDone = onDone Dialog.call(this, { title: (chart.title || "").replace(/"/g, "&quot;") }) this.titleEl.select() } inherits(DashboardChartDialog, Dialog) DashboardChartDialog.prototype.View( { title: 'Name Chart' , body : '<input:titleEl type="text" placeholder="Chart title" class="chart-dialog-title" value="{title}"/>' + '<div class="dialog-footer">' + '<button class="button-create">Save changes</button>' + '</div>' }).on( { ".button-create click": "onClickSave" , ".chart-dialog-title keydown": "onKeyDown" }).destroy(function() { this.chart = this.onDone = null }) DashboardChartDialog.prototype.onClickSave = function() { var title = this.titleEl.value if (title !== this.chart.title) { this.onDone({title: title}) } this.destroy() } DashboardChartDialog.prototype.onKeyDown = function(ev) { var key = keymap(ev) if (key === "\n") this.onClickSave() else if (key === "escape") this.destroy() }
javascript
Former Governor and Chief Minister Sindh Sardar Mumtaz Ali Bhutto has passed away. President Dr Arif Alvi has expressed his grief over the sad demise of former Governor and Chief Minister Sindh Sardar Mumtaz Ali Bhutto. In a condolence message, the President prayed for the departed soul as well as courage for the bereaved family of the former Governor and Chief Minister Sindh. Prime Minister Imran Khan has also condoled the demise of Sardar Mumtaz Ali Bhutto. In a Tweet message, the Prime Minister prayed for the departed soul.
english
{"expireTime":9007200840145493000,"key":"239a4106-a2e0-5216-a4f3-241bafe5decf{\"duotone\":false,\"grayscale\":false,\"rotate\":0,\"toFormat\":\"png\",\"toFormatBase64\":\"\"}","val":{"src":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAAKCAYAAAC0VX7mAAAACXBIWXMAAC4jAAAuIwF4pT92AAABZUlEQVQoz5XSzSvEQRjA8Z+l3Jw4Meuk9RZ2LRchFHlLyltas7IUi5QohI1ElDgpFFEkJzm4+y/c/CXK95nf81vb3kx99jc7L<KEY>aGnkKUU2F5LiV9jI95hSq9YIiekG18oZ/AUPSgbNkxWVRAAAAAElFTkSuQmCC","width":20,"height":10,"aspectRatio":2,"originalName":"jembi-logo.png"}}
json
<gh_stars>1-10 package stepDefinitions; import static org.assertj.core.api.Assertions.assertThat; import java.util.List; import java.util.stream.Collectors; import commonUtil.Util; import cucumber.api.java.en.Then; import cucumber.api.java.en.When; import net.serenitybdd.core.pages.WebElementFacade; import pages.CommonPage; import pages.BrokerDashboardPage; public class BrokerDashboardStepDef { CommonPage commonPage; BrokerDashboardPage etfBrokerDashboardPage; @Then("Verify ETF broker dashboard screen will open") public void verify_ETF_broker_dashboard_screen_will_open() throws InterruptedException { commonPage.menu.click(); commonPage.etfBrokerDashboardLnk.waitUntilClickable().click(); etfBrokerDashboardPage.waitFor(etfBrokerDashboardPage.pivotTable); assertThat(etfBrokerDashboardPage.etfBrokerDashboard.waitUntilVisible().isDisplayed()).isEqualTo(true); } @Then("Verify Filter Fund Families, Filter Symbols, Start Date, End Date, Broker, Pivot, Time Period and depth filters are present in ETF broker dashboard Page") public void verify_Filter_Fund_Families_Filter_Symbols_Start_Date_End_Date_Broker_Pivot_Time_Period_and_depth_filters_are_present_in_ETF_broker_dashboard_Page() { assertThat(etfBrokerDashboardPage.filterFundFamilies.waitUntilVisible().isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.filterSymbols.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.startDate.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.endDate.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.broker.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.pivot.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.timePeriod.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.depth.isDisplayed()).isEqualTo(true); } @Then("Verify Broker, Family, Date and Ticker names are available under Pivoted tab") public void verify_Broker_Family_Date_and_Ticker_names_are_available_under_Pivoted_tab() { assertThat(etfBrokerDashboardPage.pivotedBrokerHeader.waitUntilVisible().isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.pivotedDateHeader.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.pivotedTickerHeader.isDisplayed()).isEqualTo(true); } @Then("Verify Quoting, Shares and Value names are available under Bid tab") public void verify_Quoting_Shares_and_Value_names_are_available_under_Bid_tab() { assertThat(etfBrokerDashboardPage.bidQuotingHeader.waitUntilVisible().isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.bidSharesHeader.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.bidValueHeader.isDisplayed()).isEqualTo(true); } @Then("Verify Quoting, Shares and Value names are available under Ask tab") public void verify_Quoting_Shares_and_Value_names_are_available_under_Ask_tab() { assertThat(etfBrokerDashboardPage.askQuotingHeader.waitUntilVisible().isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.askSharesHeader.isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.askValueHeader.isDisplayed()).isEqualTo(true); } @Then("Verify $values and BPS names are available under Spread tab") public void verify_$values_and_BPS_names_are_available_under_Spread_tab() { assertThat(etfBrokerDashboardPage.spreadValueHeader.waitUntilVisible().isDisplayed()).isEqualTo(true); assertThat(etfBrokerDashboardPage.spreadBPSHeader.isDisplayed()).isEqualTo(true); } @Then("Verify by default date is previous day in Start date field under ETF broker dashboard page") public void verify_by_default_date_is_previous_day_current_date_in_Start_date_field_under_ETF_broker_dashboard_page() { assertThat(etfBrokerDashboardPage.startDate.getValue()) .isEqualTo(Util.getGrapevineDate(Util.getPreviousWorkingDay(Util.dateNow))); } @Then("Verify by default date is previous day in End date field under ETF broker dashboard page") public void verify_by_default_date_is_previous_day_current_date_in_End_date_field_under_ETF_broker_dashboard_page() { assertThat(etfBrokerDashboardPage.endDate.getValue()) .isEqualTo(Util.getGrapevineDate(Util.getPreviousWorkingDay(Util.dateNow))); } @Then("Verify by default {string} value will display in Time Period field under ETF broker dashboard page") public void verify_by_default_Regular_Market_value_will_display_in_Time_Period_field(String defaultVal) { assertThat(etfBrokerDashboardPage.timePeriod.getValue()).contains(defaultVal); } @Then("Verify by default Top of Book value will display in Depth field under ETF broker dashboard page") public void verify_by_default_Top_of_Book_value_will_display_in_Depth_field_under_ETF_broker_dashboard_page() { assertThat(etfBrokerDashboardPage.depth.getValue()).contains("Top of Book"); } @When("Enter value into Filter fund families field once user enter the value by default the value should appear in the list") public void enter_value_into_Filter_fund_families_field_once_user_enter_the_value_by_default_the_value_should_appear_in_the_list() { assertThat(etfBrokerDashboardPage.filterFundFamilies.getAttribute("direction")).isEqualTo("down"); } @Then("Enter {string} in Filter fund families field") public void enter_a_in_Filter_fund_families_field(String str) throws InterruptedException { etfBrokerDashboardPage.filterFundFamilies.type(str); Thread.sleep(1000); assertThat(etfBrokerDashboardPage.fundFamiliesList.stream().map(WebElementFacade::getTextContent) .collect(Collectors.toList())).extracting(t->t.substring(0, 1)).containsOnly("A"); } @Then("Verify user is able view data in UI as per fund families filter value in ETF broker dashboard screen") public void verify_user_is_able_view_data_in_UI_as_per_fund_families_filter_value_in_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.filterFundFamilies.typeAndEnter("Arrow"); assertThat(etfBrokerDashboardPage.firstFundFamilies.getTextContent()).isEqualTo("Arrow"); } @When("Enter value into Filter symbols field once user enter the value by default the value should appear in the list") public void enter_value_into_Filter_symbols_field_once_user_enter_the_value_by_default_the_value_should_appear_in_the_list() { assertThat(etfBrokerDashboardPage.filterSymbols.getAttribute("direction")).isEqualTo("down"); } @Then("Enter {string} in Filter symbols field") public void enter_a_in_Filter_symbols_field(String str) throws InterruptedException { etfBrokerDashboardPage.filterSymbols.type(str); Thread.sleep(1000); assertThat(etfBrokerDashboardPage.filterSymbolsList.stream().map(WebElementFacade::getText) .collect(Collectors.toList())).extracting(t->t.substring(0, 1)).containsOnly("B"); } @Then("Verify user is able to enter symbol value in filter symbol field under ETF broker dashboard screen") public void verify_user_is_able_to_enter_symbol_value_in_filter_symbol_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.filterSymbols.typeAndEnter("BANK"); } @Then("Verify user is able view data in UI as per symbol filter value in ETF broker dashboard screen") public void verify_user_is_able_view_data_in_UI_as_per_symbol_filter_value_in_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.filterSymbols.typeAndEnter("MUB"); assertThat(etfBrokerDashboardPage.firstFilterSymbol.getTextContent()).isEqualTo("MUB"); } @When("Click on dropdown icon from Pivot combobox") public void click_on_dropdown_icon_from_Pivot_combobox() { etfBrokerDashboardPage.pivot.waitUntilClickable().click(); } @Then("Verify Date, Ticker and Fund family values is available in pivot combobox under ETF broker dashboard screen") public void verify_Date_Ticker_and_Fund_family_values_is_available_in_pivot_combobox_under_ETF_broker_dashboard_screen() { assertThat(etfBrokerDashboardPage.pivotItems.stream().map(WebElementFacade::getTextContent) .collect(Collectors.toList())).containsExactly("Date", "Ticker", "Fund Family"); } @When("Select Date from pivot combobox list") public void select_Date_from_pivot_combobox_list() { etfBrokerDashboardPage.pivotItems.get(0).click(); } @When("Select Ticker from pivot combobox list") public void select_Ticker_from_pivot_combobox_list() { etfBrokerDashboardPage.pivotItems.get(1).click(); } @Then("Verify in result section ticker/date and family/ticker will display under ticker/date/family dropdown in UI") public void verify_in_result_section_date_and_family_will_display_under_ticker_dropdown_in_UI() { etfBrokerDashboardPage.findAll(etfBrokerDashboardPage.expand).get(0).click(); etfBrokerDashboardPage.findAll(etfBrokerDashboardPage.expand).get(1).click(); etfBrokerDashboardPage.findAll(etfBrokerDashboardPage.expand).get(2).click(); etfBrokerDashboardPage.findAll(etfBrokerDashboardPage.expand).get(3).click(); boolean flag = false; List<WebElementFacade> pivotTickerItems = etfBrokerDashboardPage.findAll( "//div[@class='rt-tr-group'][@role='rowgroup']/div[@role='row']/div[@role='gridcell'][@class='rt-td text-col'][3]"); List<WebElementFacade> pivotFamilyItems = etfBrokerDashboardPage.findAll( "//div[@class='rt-tr-group'][@role='rowgroup']/div[@role='row']/div[@role='gridcell'][@class='rt-td text-col'][4]"); for (int i = 0; i <= pivotTickerItems.size(); i++) { if (!pivotTickerItems.get(i).getTextContent().isEmpty() && !pivotFamilyItems.get(i).getTextContent().isEmpty()) { flag = true; break; } else flag = false; } assertThat(flag).isEqualTo(true); } @When("Select Family from pivot combobox list") public void select_Family_from_pivot_combobox_list() { etfBrokerDashboardPage.pivotItems.get(2).click(); } @When("Click on dropdown icon from Time period combobox") public void click_on_dropdown_icon_from_Time_period_combobox() { etfBrokerDashboardPage.timePeriod.click(); } @Then("Verify Pre opening, Post opening, Regular market, Closing values are available in Time period dropdown field under ETF broker dashboard") public void verify_Pre_opening_Post_opening_Regular_market_Closing_values_are_available_in_Time_period_dropdown_field_under_ETF_broker_dashboard() { assertThat(etfBrokerDashboardPage.timePeriodItems.stream().map(WebElementFacade::getTextContent) .collect(Collectors.toList())).containsExactly("Pre Opening (9:00-9:30)", "Post Opening (9:30-10:00)", "Regular Market (10:00-15:00)", "Closing (15:00-16:00)"); } @Then("Verify user is able to select Pre opening value from the list in Time period field under ETF broker dashboard screen") public void verify_user_is_able_to_select_Pre_opening_value_from_the_list_in_Time_period_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.timePeriodItems.get(0).click(); } @Then("(Verify user is able view data in UI as per Pre opening value in Time period field under ETF broker dashboard screen|User should be able view data in UI as per Post opening value in Time period field under ETF broker dashboard screen|User should be able view data in UI as per Regular market value in Time period field under ETF broker dashboard screen|User should be able view data in UI as per Closing value in Time period field under ETF broker dashboard screen|User should be able view data in UI as per Top of book value in Depth field under ETF broker dashboard screen)") public void verify_user_is_able_view_data_in_UI_as_per_Pre_opening_value_in_Time_period_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.waitUntillProgressBarDisappears(); assertThat(etfBrokerDashboardPage.pivotTable.isDisplayed()).isEqualTo(true); } @Then("User should be able to select Post opening value from the list in Time period field under ETF broker dashboard screen") public void user_should_be_able_to_select_post_opening_value_from_the_list_in_time_period() { etfBrokerDashboardPage.timePeriodItems.get(1).click(); } @Then("User should be able to select Regular market value from the list in Time period field under ETF broker dashboard screen") public void user_should_be_able_to_select_Post_opening_value_from_the_list_in_Time_period_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.timePeriodItems.get(2).click(); } @Then("User should be able to select Closing value from the list in Time period field under ETF broker dashboard screen") public void user_should_be_able_to_select_Closing_value_from_the_list_in_Time_period_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.timePeriodItems.get(3).click(); } @When("Click on dropdown icon from Depth combobox") public void click_on_dropdown_icon_from_Depth_combobox() { etfBrokerDashboardPage.depth.waitUntilVisible().click(); } @Then("{string}, {string} and {string} list should be available in Depth field under ETF broker dashboard") public void list_should_be_available_in_Depth_field_under_ETF_broker_dashboard(String string, String string2, String string3) { assertThat(etfBrokerDashboardPage.depthItems.stream().map(WebElementFacade::getTextContent) .collect(Collectors.toList())).containsExactly(string, string2, string3); } @Then("User should be able to select Top of book value from the list in Depth field under ETF broker dashboard screen") public void user_should_be_able_to_select_Top_of_book_value_from_the_list_in_Depth_field_under_ETF_broker_dashboard_screen() { etfBrokerDashboardPage.depthItems.get(0).click(); } @Then("User should be able to select ${int}k value from the list in Depth field under ETF broker dashboard screen") public void user_should_be_able_to_select_$_k_value_from_the_list_in_Depth_field_under_ETF_broker_dashboard_screen(Integer int1) { etfBrokerDashboardPage.depthItems.get(1).click(); } @Then("User should be able view data in UI as per ${int}k value in Depth field under ETF broker dashboard screen") public void user_should_be_able_view_data_in_UI_as_per_$_k_value_in_Depth_field_under_ETF_broker_dashboard_screen(Integer int1) { etfBrokerDashboardPage.waitUntillProgressBarDisappears(); assertThat(etfBrokerDashboardPage.pivotTable.isDisplayed()).isEqualTo(true); } @Then("Verify user is able to select ${int}k value from the list in Depth field under ETF broker dashboard screen") public void verify_user_is_able_to_select_$_k_value_from_the_list_in_Depth_field_under_ETF_broker_dashboard_screen(Integer int1) { etfBrokerDashboardPage.depthItems.get(2).click(); } }
java
""" This file holds test cases for getting a specific meetup. """ import unittest import json from api.v1.test.base_test import BaseTestCase class TestSpecificmeetup(BaseTestCase): def login_user(self): """This helper method helps log in a test user.""" return self.client.post( '/api/v1/user/auth/signin', data=json.dumps(dict( email='<EMAIL>', password='<PASSWORD>@#' )), content_type='application/json' ) def test_succesful_get_specific_meetup(self): with self.client: """ Test succesfuly get specific meetup """ # self.signup_user() resp = self.login_user() access_token = json.loads(resp.data.decode())['access_token'] response = self.client.get('/api/v1/meetups/upcoming', headers=dict(Authorization=access_token),content_type='application/json') self.assertEqual(response.status_code, 200) def test_unavailable_meetup(self): with self.client: """ Test user cannot get unavailable meetup """ # self.signup_user() resp = self.login_user() access_token = json.loads(resp.data.decode())['access_token'] response = self.client.get('/api/v1/meetup/13', headers=dict(Authorization=access_token),content_type='application/json') self.assertEqual(response.status_code, 404) if __name__ == '__main__': unittest.main()
python
Smart vehicle technology firm MINIEYE announced on Monday that it has completed a D2 round of financing worth several hundred million yuan. The investors were CDB Manufacturing Transformation Fund, Unicom CICC, Changde Emerging Industry Fund under CICC Capital, Chongqing Kexing Kechuang Equity Investment and OFC. The funds raised in this round will be mainly used to consolidate the company’s leading position in the field of mass production of intelligent driving products, and to accelerate the R&D of high-level autonomous driving. Among them, iPilot was officially released on December 21 last year. The scheme was developed based on Huawei’s MDC 610 platform, and adapted seven cameras, five millimeter wave radars and two lidars. At present, the scheme has been designated for projects from two automobile makers. Up to now, MINIEYE has won orders from FAW, Geely, SAIC, BYD and other electric vehicle makers. It is estimated that MINIEYE’s shipment volume would reach 400,000 units in 2021. Liu Guoqing, the founder and CEO of MINIEYE, said that due to the increasing needs of Tesla and other automotive startups, L2+ and L2++ intelligent driving functions will become the mainstream demand in the next three to five years, which is also an important field for MINIEYE to explore.
english
{"id": "3185087", "date": "2020-12-27T18:31:27+00:00", "user": "rajat", "post": "\n<div class=\"Message userContent\">\n<p>New cPanel Hosting Deals 80% OFF</p>\n<p>Flash Deal cPanel Shared Hosting - 100 GB Plan **<br>\n<strong>100 GB **SSD Disk Space<br>\n8 TB Monthly Transfer<br>\nUnlimited Databases<br>\nHost 12 Domains<br>\nFree SSL Certificates<br>\n_</strong>cPanel**_ Control Panel<br>\nApache Web Server<br>\nNo Cloudlinux<br>\nNo Refund<br>\n99.9% Uptime<br>\nStocks:5<br>\nNo Coupon Required<br>\n**USA location **<br>\nPrice:$20.99 Year</p>\n<p><strong><a rel=\"nofollow\" href=\"https://my.visualwebtechnologies.com/order/config/index/Web-hosting-sale/?group_id=4&amp;pricing_id=136\" title=\"Order Now\">Order Now</a></strong></p>\n<p><strong>Reseller Hosting Deals</strong></p>\n<p><strong>25 GB SSD Disk Space<br>\n2TB Monthly Transfer<br>\n15 cPanel Accounts<br>\nFree SSL Certificates<br>\nSoftaculous Script Installer<br>\nApache Web Server<br>\nNo CloudLinux<br>\ncPanel &amp; WHM Control Panel<br>\nPrice:$36.00/year<br>\nUSA location</strong><br>\nQuantity :4</p>\n<p><strong><a rel=\"nofollow\" href=\"https://my.visualwebtechnologies.com/order/config/index/Web-hosting-sale/?group_id=4&amp;pricing_id=138\" title=\"Order\">Order</a></strong><br>\n.<br>\nFor cPanel and DirectAdmin offers check link : <strong><a rel=\"nofollow\" href=\"https://my.visualwebtechnologies.com/order/main/index/Web-hosting-sale\" title=\"Order more offers\">Order more offers </a></strong></p>\n<p>The above discount is a recurring one; offer is valid for one hour as of this posting (= until 01:00 AM IST) and only as long as stock lasts. All orders are provisioned within 20 minutes,</p>\n<p>Thank you</p>\n</div>\n"}
json
import os import autocleus.cmd as cmd import jinja2 from jinja2 import Environment, PackageLoader, select_autoescape, StrictUndefined def find_license(license): """ Return base license class Args: license(str): name of license file (Apache2, BSD3, MIT) """ return cmd.get_module('licenses', modpath='autocleus.library', mod=f'{license}LicenseClass') def open_source_license(license, env_root, author, email): """ Generates license file at specified path Args: license(object): license object env_root(str): virtual environment root directory for project author(str): name(s) of project author(s): "<NAME>, <NAME>, <NAME>" email(str): email(s) of project authors(s): "<EMAIL>, <EMAIL>,..." """ # Think about rewriting license class to have a write method # similar to VirtualScript class. # good for now lic = find_license(license) lic = getattr(lic, f'{license}License') # renders license from jinja2 template rendered_lic = lic.render(name=author, email=email) with open(f"{env_root}/LICENSE", "w") as out: out.write(rendered_lic) class classproperty(object): ''' Decorator for class property ''' def __init__(self, getter): self.getter = getter def __get__(self, instance, owner): return self.getter(owner)
python
We know you are waiting for Money Heist's final season, but along with that, here we are with 7 more interesting September releases that you should include in your What to watch list. We know you are waiting for Money Heist's final season, but along with that, here we are with 7 more interesting September releases that you should include in your What to watch list. How To Be A Cowboy's official synopsis read, "Dale Brisby uses social media savvy and rodeo skills to keep cowboy traditions alive—and now he's teaching the world how to cowboy right." For the unversed, Brisby is a ranch manager, rodeo star and social media sensation. How To Be A Cowboy released on Netflix today. The 2014 movie starring Ben Affleck, Rosamund Pike, Neil Patrick Harris was released on Netflix today. The dark mystery thriller movie was helmed by David Fincher and was a success. Afterlife of the Party is a supernatural comedy-drama film starring Victoria Justice, Midori Francis, Timothy Renouf, Adam Garcia, Gloria Garcia, Spencer Sutherland to name a few. Helmed by Stephen Herek, the film talks about Cassie who lives to party. That is until she dies in a freak accident. Now, this social butterfly needs to right her wrongs on Earth if she wants to earn her wings. JJ+E is a futuristic drama film that talks about two youngsters who are raised in the same city, yet they live light-years apart, separated economically, socially and culturally. That is until the day they start in the same high school class. The drama is directed by Alexis Almström and stars Magnus Krepper, Marika Lagercrantz, Simon Mezher, Loreen to name a few. JJ+E is releasing on 8th September 2021. The final season of Lucifer starring Tom Ellis, Lauren German, Kevin Alejandro, D. B. Woodside, Lesley-Ann Brandt, Rachael Harris to name a few are dropping on Netflix on 10th September. The series is created by Tom Kapinos. Vijay Sethupathi starrer Tughlaq Durbar is a political drama film by Delhi Prasad Deendayal. The film also stars Parthiban, Raashi Khanna, Manjima Mohan, Gayathrie Karunakaran and Bagavathi Perumal to name a few. Tughlaq Durbar is dropping on Netflix on 11 September. Too Hot To Handle is a reality TV show that features young singles living in a tropical paradise for what they think will be the hottest summer of their lives, but there's a twist - they'll have to give up sex if they want to win the $100,000 grand prize. 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
* { padding: 0; margin: 0; box-sizing: border-box; } html { font-size: 62.5%; font-family: "Open Sans", sans-serif; color: #313337; } body { max-width: 1280px; margin: auto; box-shadow: 0 0 6px #e7e6e9; } nav { background-color: #7acc2d; display: flex; justify-content: space-between; padding: 2.2rem; height: 6rem; box-shadow: 0px 3px 6px #26b7137e; } nav ul { display: flex; list-style: none; } nav ul a { padding-left: 1.7rem; text-decoration: none; font-size: 1.2rem; color: #313337; } nav ul a:hover { color: white; } .main_section > h1 { font-size: 3rem; text-align: center; margin-bottom: 2.6rem; font-weight: bold; line-height: 43px; } .main_section { padding: 14rem 27.4rem; position: relative; } .products { display: flex; justify-content: center; } .product { width: 23.9rem; height: 27.5rem; padding: 1rem; margin-left: 1.2rem; box-shadow: 0 0 6px #e6e5e9; background-color: white; } .img_content { width: 13.4rem; margin: auto; } .img-gatito { width: 13.4rem; } .img-hombre { height: 11rem; margin: 1rem auto 1rem; } .content h1 { margin: 1rem 1rem 1rem 0; font-size: 1.7rem; } .main_section p { font-size: 1.2rem; line-height: 17px; margin: 9px 0; } .main_button { width: 100%; height: 4rem; background-color: #7acc2d; border: none; color: white; font-size: 1.7rem; } .curva { position: absolute; bottom: 0; left: 0; z-index: -1; height: 25rem; width: 100%; } .benefits { width: 100%; padding: 155px 223px; display: flex; justify-content: space-between; } .benefits figure { text-align: center; } .benefit { width: 16.3rem; } .benefit > h1 { font-size: 1.7rem; margin-bottom: 16px; } .benefit_icon1 { width: 13.8rem; height: 11.3rem; margin-bottom: 33px; } .benefit_icon2 { margin-bottom: 40px; width: 11.2rem; height: 10.3rem; } .benefit_icon3 { margin-bottom: 38px; width: 10.4rem; } .benefits p { font-size: 12px; padding-right: 15px; line-height: 17px; } .mentions { flex-wrap: wrap; display: flex; width: 100%; justify-content: center; } .mentions_title { text-align: center; width: 100%; font-size: 3rem; margin: 4rem; } .mention { margin: 5px; margin-bottom: 5rem; width: 24rem; height: 19rem; } .mention p { font-size: 1.2rem; } .footer { width: 100%; height: 6rem; display: flex; padding: 1.7rem; justify-content: space-between; align-items: center; background-color: #313337; font: 12px; color: white; } .footer a { text-decoration: none; color: white; }
css
<!DOCTYPE html> <html lang="en"> <meta charset = "UTF-8"> {%- block head -%}{%- include 'head.html' -%}{%- endblock -%} <body> <div id="wrapper"> {%- block nav -%}{%- include 'nav.html' -%}{%- endblock -%} <div class="container"> {%- block body -%} {%- if posts -%} {%- for post in posts -%} <div class="post clearfix"> <div class="row"> <div class="col-lg-8"> <!-- Header Field For Incident Entry --> <div class="page-header"> <h3><a href="{{ url_for('single_post', permalink=post['permalink']) }}">{{ post['incident_title'] | safe }}</a></h3> <p><span class="icon-time">&nbsp;</span> {%- if post['incident_time_initial_compromise'] -%} Date Of Initial Compromise: {{ post['incident_time_initial_compromise'] | formatdate }} {%- else -%} Date Of Initial Compromise: None {%- endif -%} </p> <p><span class="icon-btc">&nbsp;</span> {%- if post['loss_crypto'] -%} Value Loss (Crypto): {{ post['loss_crypto'] }} {%- else -%} Value Loss (Crypto): 0 {%- endif -%} </p> <p><span class="icon-usd">&nbsp;</span> {%- if post['loss_usd'] -%} Value Loss (USD): {{ post['loss_usd'] }} {%- else -%} Value Loss (USD): 0 {%- endif -%} &nbsp; </p> </div> <div class="content no-lightbox"> {%- if post['incident_preview'] -%} {{ post['incident_preview'] | markdown }} {%- endif -%} <a href="{{ url_for('single_post', permalink=post['permalink']) }}">More Details ... </a> </div> </br> <p> {%- if post['date'] -%} <em>Date Of Creation: {{ post['date'] | formatdate }}</em> {%- else -%} <em>Date Of Creation: Unknown</em> {%- endif -%} </p> </div> </div> </div> {%- endfor -%} {% else %} <div class="post clearfix"> <div class="row"> <div class="col-lg-8"> <div class="page-header"> <h1>Posts not found..</h1> </div> </div> </div> </div> {%- endif -%} <!-- Sidebar, customize sidebar.html to liking --> {%- include 'sidebar.html' -%} {%- endblock -%} {% if pagination and pagination.pages > 1 %} <div class="pagination-wrap"> <ul class="pagination"> {% for page in pagination.iter_pages() %} {% if page %} <li {% if page == pagination.page %}class="active"{% endif %}><a href="{{ url_for_other_page(page) }}">{{ page }}</a></li> {% else %} <li><span class=ellipsis>…</span></li> {% endif %} {% endfor %} {% if pagination.has_next %} <li><a href="{{ url_for_other_page(pagination.page + 1) }}">&raquo;</a></li> {% endif %} </ul> </div> {% endif %} </div> </div> {%- include 'footer.html' -%} <script src="{{ url_for('static', filename='js/main.js') }}"></script> </body> </html>
html
{ "id": 1, "methodName": "convert", "paramNames": [ "sypet_arg0" ], "srcTypes": [ "cmu.symonster.MyPoint" ], "tgtType": "cmu.symonster.Point", "packages": [ "cmu.symonster" ], "libs": [ "../lib/point.jar" ], "testPath": "benchmarks/tests/1/TestSource.java" }
json
<filename>src/HAPCompositeAccessory.cpp // // CompositeAccessory.cpp // HKTester // // Created by <NAME> on 02/03/2019. // Copyright © 2019 <NAME>. All rights reserved. // #include "HAPCompositeAccessory.h" void HAPCompositeAccessory::identity(bool oldValue, bool newValue, HKConnection *sender) { } bool HAPCompositeAccessory::handle() { bool result = false; for(uint i = 0; i < descriptors.size(); i++) { //process only one accessory per "loop" step. So we dont delay Particle connection, Bonjour so much. Never mind it will be process one step later result |= descriptors.at(i)->handle(); } return result; } void HAPCompositeAccessory::initAccessorySet(){ Accessory *accessory = new Accessory(); AccessorySet *accSet = &AccessorySet::getInstance(); addInfoServiceToAccessory(accessory, "Composite accessory", "Vendor name", "Model name", "1","1.0.0", std::bind(&HAPCompositeAccessory::identity, this, std::placeholders::_1, std::placeholders::_2,std::placeholders::_3)); accSet->addAccessory(accessory); for(uint i = 0; i < descriptors.size(); i++) { descriptors.at(i)->initService(accessory); } }
cpp
<reponame>dahan1999/search-engine<filename>youtubeIndex/1378/1378.json {"text":" LÍMITES ALGEBRAICOS - Ejercicio 13\n\n[imath] \\mathbb{P} \\mathbb{R} \\mathbb{O} [/imath]\\n[imath]1[/imath]\\n[imath] \\lim _{x \\rightarrow-3} \\frac{4-\\sqrt{x^{2}+7}}{3 x+9} [/imath]\n\n\n", "url":"https://www.youtube.com/watch?v=eZeF0ToL_OA"}
json
<gh_stars>10-100 {"title": "A Unified Analysis of Stochastic Momentum Methods for Deep Learning.", "fields": ["optimization problem", "deep learning", "momentum", "generalization error", "convergence"], "abstract": "Stochastic momentum methods have been widely adopted in training deep neural networks. However, their theoretical analysis of convergence of the training objective and the generalization error for prediction is still under-explored. This paper aims to bridge the gap between practice and theory by analyzing the stochastic gradient (SG) method, and the stochastic momentum methods including two famous variants, i.e., the stochastic heavy-ball (SHB) method and the stochastic variant of Nesterov's accelerated gradient (SNAG) method. We propose a framework that unifies the three variants. We then derive the convergence rates of the norm of gradient for the non-convex optimization problem, and analyze the generalization performance through the uniform stability approach. Particularly, the convergence analysis of the training objective exhibits that SHB and SNAG have no advantage over SG. However, the stability analysis shows that the momentum term can improve the stability of the learned model and hence improve the generalization performance. These theoretical insights verify the common wisdom and are also corroborated by our empirical analysis on deep learning.", "citation": "Not cited", "departments": ["University of Science and Technology, Sana'a", "University of Technology, Sydney", "University of Iowa", "University of Iowa", "University of Iowa", "University of Science and Technology, Sana'a", "University of Technology, Sydney"], "authors": ["Yan Yan.....http://dblp.org/pers/hd/y/Yan:Yan", "Tianbao Yang.....http://dblp.org/pers/hd/y/Yang:Tianbao", "Zhe Li.....http://dblp.org/pers/hd/l/Li:Zhe", "Qihang Lin.....http://dblp.org/pers/hd/l/Lin:Qihang", "Yi Yang.....http://dblp.org/pers/hd/y/Yang:Yi"], "conf": "ijcai", "year": "2018", "pages": 7}
json
--- layout: default title: List of DNS record types parent: DNS permalink: /docs/dns/list-of-dns-record-types/ --- # Introduction List of DNS record types The list of DNS record types is an overview of resource records (RRs) permissible in zone files of the Domain Name System (DNS). ### Resource records: * A (Address record) - Returns a 32 bit IPv4 address, most commonly used to map hostnames to an IP address of the host. * AAAA (IPv6 address record) - Returns a 128-bit IPv6 address, most commonly used to map hostnames to an IP address of the host. * MX (Mail exchange record) - Maps a domain name to a list of message transfer agents for that domain. * NS (Name server record) - Delegates a DNS zone to use the given authoritative name servers. * TXT (Text record) - If we want to set the human-readable text in DNS record.
markdown
{ "directions": [ "Stir mustard, horseradish, basil, thyme, tarragon, and black pepper together in a small bowl; spread evenly over one side and around the edges of the steaks. Wrap steaks individually with plastic wrap and refrigerate 1 to 24 hours.", "Preheat oven to 400 degrees F (200 degrees C). Line a baking dish with aluminum foil and set a roasting rack into the dish.", "Remove steak from plastic wrap; season with salt. Put steaks onto the roasting rack.", "Cook the steaks until they start to firm, and are reddish-pink and juicy in the center, about 30 minutes. An instant-read thermometer inserted into the center should read 130 degrees F (54 degrees C)." ], "ingredients": [ "1 tablespoon Dijon mustard", "1/2 tablespoon prepared horseradish", "1/4 teaspoon dried basil", "1/4 teaspoon dried thyme", "1/4 teaspoon dried tarragon", "1/4 teaspoon ground black pepper", "2 (8 ounce) steaks beef tenderloin steaks", "salt to taste" ], "language": "en-US", "source": "allrecipes.com", "tags": [], "title": "Festive Beef Tenderloin", "url": "http://allrecipes.com/recipe/233371/festive-beef-tenderloin/" }
json
Worldwide, companies must constantly struggle to fulfill customer demand while adhering to global compliance standards. The blockchain has the potential to significantly change the supply chain world in many ways, such as eliminating fraud and corruption, enhancing customer engagement with trust and transparency, reducing costs, and facilitating international borders. People should use the bitcoin billionaire trading platform when choosing a reputable trading platform. Also, it helped many beginners to get started with bitcoin trading. The most common use case for the blockchain is for value transfer services, but there are also many non-financial uses, such as identity management services. A value transfer service transfers ownership of something between two parties. There are many different types of value transfer services. Still, most fall into two categories: those facilitated by a third party (Online shopping sites, the stock market, and remittance services, among others) and those that involve direct interactions between two parties (buying or selling goods, property ownership). For example, online shopping sites typically pay online sellers a commission to connect buyers with sellers. Remittance companies such as Western Union allow customers to send money through a third party. Bitcoin has become the most popular cryptocurrency for global payments because it is the fastest and most secure form of value transfer worldwide. Bitcoin has several advantages over traditional money transfer systems, such as offering near-zero fees, high-speed transactions, and complete security. However, bitcoin’s roots in a libertarian ideal of freedom have enabled it to serve an even more comprehensive range of use cases in addition to being a currency like any other form of money. The benefits of using bitcoin as a value transfer are alluring to many companies who wish to expedite their global operations by simplifying their compliance obligations and reducing costs. As a result, many startups have left behind traditional banking and financial services altogether, opting to use the blockchain for all transactions. Bitcoin’s ability to facilitate global payments has made it an attractive payment solution for companies already conducting large amounts of international commerce. In addition, some companies have adopted bitcoin as a payment option because they believe it to be cheaper and more secure than traditional payment systems. The adoption of bitcoin by significant companies has driven competition to keep up with best value transfer and security practices. Bitcoin can also fit seamlessly into a company’s existing infrastructure, which is one of the reasons it has been so widely adopted. However, for blockchain technology to achieve mainstream adoption, it must be able to operate in harmony with other existing business practices and transactions, or else it will fail. An example of a company that has successfully integrated bitcoin into its payment network as a value transfer method is Shopify. This e-commerce platform allows merchants around the world to sell their goods online. One of the most critical aspects of the blockchain is its ability to bypass international borders and enable greater collaboration between companies. Many corporations worldwide, especially in emerging economies, need help collaborating with their counterparts. Unfortunately, the process is often prolonged and prone to corruption, which can be especially damaging for businesses that rely on transparency. There are many obstacles impeding businesses in developing countries from collaborating, including high costs and lack of access to financial services. In addition, to hire talent or expand operations, a company needs more capital to conduct business in a global market. One of the main reasons companies refrain from working is that they can’t raise funding from banks across borders due to issues with compliance requirements. However, blockchain technology is designed to be a global network, and its use will demonstrate the value of a lack of border restrictions. One way blockchain can facilitate international collaboration is through smart contracts. The most popular way smart contracts are used today is in capital markets, such as those that trade cryptocurrencies like bitcoin and Ethereum. Still, they will soon be used in many other industries due to their potential to automate company interactions and make transactions much more efficient. What makes bitcoin and blockchain appealing for increasing international reach? Many businesses are looking to integrate blockchain technology into their operations because it increases operational efficiency and reduces risk. Blockchain technology is especially appealing to companies that want to expand because it simplifies and automates the process of managing supply chains and facilitates collaboration across borders. The blockchain also has the potential to become an essential part of a company’s infrastructure because of its ability to integrate into existing systems with little friction. Many companies from all sectors are interested in implementing blockchain technologies into their operations. As more businesses begin using the technology, there will be growing demand for consultants who understand how companies can use blockchain technology most effectively.
english
A subscription to JoVE is required to view this content. You will only be able to see the first 2 minutes. The JoVE video player is compatible with HTML5 and Adobe Flash. Older browsers that do not support HTML5 and the H.264 video codec will still use a Flash-based video player. We recommend downloading the newest version of Flash here, but we support all versions 10 and above. If that doesn't help, please let us know. Please note that all translations are automatically generated. Monocytter er vigtige formidlere af arteriogenesis i forbindelse med perifer arteriel sygdom. Ved hjælp af en basalmembran-lignende matrix og intravital mikroskopi, undersøger denne protokol monocyt målsøgende og tumor-relaterede angiogenese efter monocyt injektion i femorale arterie ligatur murine model.
english
It was Rahul Dravid’s first series as full-time captain, and roughly the beginning of the Dravid-Greg Chappell era in Indian cricket. December 6, 2005. After almost three days of the Chennai Test were washed out, Chaminda Vaas showed his class on a pitch that offered little to him. Abhishek Mukherjee looks back at a forgotten act of mind-numbing accuracy. Those were troubled times. Sourav Ganguly had been replaced as captain of India, though he was a part of the team. It was Rahul Dravid’s first series as full-time captain, and roughly the beginning of the Dravid-Greg Chappell era in Indian cricket. It was Sri Lanka’s first Test on Indian soil after eight years. It was also a battle between world-class batsmen on both sides, and a contest involving three champion spinners. There was also that man called Chaminda Vaas — the perpetual bridesmaid of the Sri Lankan attack. It was not his fault that Muttiah Muralitharan, the main bowler of his side, finished as the leading Test wicket-taker of all time. It was a shame that Vaas, a champion of the sport and one of the finest Sri Lankans to have embraced the sport, is remembered more for his astounding full name than his incredible bowling skills. Planning a Test at Chepauk came with its risk. The Test turned out to be a damp squib when the first three days were rained off, thanks to a cyclone called Baaz. Play eventually started with barely two sessions left on Day Four. Not much was expected of the four sessions left in the Test. The pitch was devoid of bounce of any kind. Wisden called it “undercooked”, and added that “ankles were in more danger than ribs”. It was under these circumstances that Dravid decided to have some batting practice. Vaas opened bowling. The first ball did not rise above Gautam Gambhir’s knee, and soon afterwards Kumar Sangakkara walked up to the stumps. Gambhir played out a maiden. The proceedings did not deter Virender Sehwag, as he smashed two boundaries and ran two twos in Dilhara Fernando’s opening over. The first ball of Vaas’ second over was the famous in-cutter. Gambhir was fooled by the movement (as many before him had); the ball rapped him on the pad, and that was that. Dravid walked out. A ridiculously contrasting phase of cricket followed. While Dravid took 13 balls to get off the mark, Sehwag blazed away, with two boundaries off Vaas’ third over and three more off Fernando’s third. When he was finally caught at extra-cover by Marvan Atapattu off Vaas for a 28-ball 36, India had scored 42. The score included 3 extras. Vaas was given a break, and was brought back just before stumps. Meanwhile, Murali extracted substantial turn, often causing a threat to the two maestros. India finished the day on 90 for 2 from 32. 3 overs with Dravid on 30 and Tendulkar on 11. Vaas tightened his noose the following morning. For once, Murali played the support act. The scorers stirred for a moment in the 35th over (Murali conceded 6), but there was no question of a run at the other end. Vaas bowled on and on, refusing to concede a single run. Even Dravid ran out of patience when he chased one and was caught-behind off Vaas. VVS Laxman strode out. Tendulkar managed a boundary off Murali in the third ball of the 39th over. The next run was a single off the last ball of the 45th over. Murali had given way to Malinga Bandara in the interim. After 9 overs the previous day Vaas’ figures read 9-3-15-2. His 10th over was a maiden. When he was taken off next morning, his figures read 17-11-15-3. There were 8 maidens on the trot. Then Murali tossed one up. Tendulkar misjudged the flight, went on the backfoot, and was bowled by an off-break that turned a mile. A single with Laxman and Ganguly at the crease was not the best idea, but shortly afterwards Ganguly walked out, Laxman pushed a ball to square-leg and set off. A mix-up and a run out were inevitable, and Laxman walked back for a 43-ball 5. MS Dhoni, the debutant wicketkeeper, joined Ganguly. Little did they know that Indian fans would be at loggerheads with each other over them for the decade to follow, and possibly beyond. They hit a boundary each before Ganguly fell to a low catch at point off Fernando. Irfan Pathan was fooled by Murali into hitting one back to him next over. Ajit Agarkar drove one to cover and set off soon afterwards. He was run out comfortably after Dhoni sent him back. 128 for 8. Dhoni decided to go for the shots, while Anil Kumble held one end up. He played out three more maidens to Vaas, whose figures read 20-14-15-3. The Indians were yet to score a run off the first 10 overs he had sent down the morning. Including the maiden over last evening, there had been 11 on the trot. The erudite Chepauk fans stirred. Could Vaas do the unthinkable — emulate Bapu Nadkarni in the era of limited-overs cricket? Then the unthinkable happened: Vaas conceded a run to Dhoni. Perhaps let down by this sudden catastrophe, he caught Kumble off his bowling next ball. Harbhajan Singh hit a four, but with 9 wickets down, Dhoni tried to clear long-off against Bandara, but could not make it. India were bowled out for 167. The second day’s cricket witnessed a mere 77 being scored from 40. 5 overs for the cost of 8 wickets. Vaas’ figures read 21-14-20-4. There was little to play for. Irfan claimed Avishka Gunawardene with one that moved away late. Sangakkara, promoted to open, went after the bowling, with Mahela Jayawardene for company. It ended when Kumble trapped Sangakkara leg-before. Jayawardene brought up his fifty from 59 balls. There was a brief diversion when a bottom edge off Agarkar beat Dhoni and hit the helmet. Sri Lanka got 5 penalties in the process. Jayawardene threw a hundred away when he hit Kumble to square-leg for an 80-ball 71. Atapattu finally emerged at No. 4. Kumble bowled a short one that sped through, and unfortunately for Atapattu, kept low. The Sri Lankan captain attempted a pull, and was bowled. With not much to play for, the teams decided to call the Test off — but not before Sri Lanka had managed to secure a lead. What followed? – The second Test at Kotla saw Murali take 7 for 100 to rout India for 290 (they were 254 for 3) despite Tendulkar’s 109, which was also his record-breaking 35th Test century. Unfortunately, Kumble secured a 60-run lead with 6 for 72; Irfan, sent to open batting, hit 93. Chasing 436 Sri Lanka were perhaps in the hunt at 109 for 1, but Kumble (4 for 85) and Harbhajan (3 for 70) sealed it for India. – Dravid was hospitalised with gastroenteritis before the third Test at Motera. Ganguly was left out, leaving Sehwag to lead India for the first time in Test cricket. India were reduced to 97 for 5, but Laxman (104) and Irfan (82) turned things around. India reached 382 and took a 176-run lead as Harbhajan claimed 7 for 62. Set to chase 509, Sri Lanka reached 201 for 4 before Kumble (5 for 89) and Harbhajan (3 for 79) bowled out the tourists for 249. Brief scores: India 167 (Chaminda Vaas 4 for 20) drew with Sri Lanka 168 for 4 (Mahela Jayawardene 71; Anil Kumble 3 for 41). Man of the Match: Chaminda Vaas. (Abhishek Mukherjee is the Chief Editor and Cricket Historian at CricketCountry. He blogs here and can be followed on Twitter here)
english
/*============================================================================== Copyright (c) 2001-2010 <NAME> Copyright (c) 2010 <NAME> Distributed under the Boost Software License, Version 1.0. (See accompanying file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) ==============================================================================*/ #ifndef BOOST_PHOENIX_CORE_VALUE_HPP #define BOOST_PHOENIX_CORE_VALUE_HPP #include <boost/phoenix/core/limits.hpp> #include <boost/phoenix/core/actor.hpp> #include <boost/phoenix/core/as_actor.hpp> #include <boost/phoenix/core/terminal.hpp> #include <boost/phoenix/core/is_value.hpp> #include <boost/utility/result_of.hpp> namespace boost { namespace phoenix { //////////////////////////////////////////////////////////////////////////// // // values // // function for evaluating values, e.g. val(123) // //////////////////////////////////////////////////////////////////////////// namespace expression { template <typename T> struct value : expression::terminal<T> { typedef typename expression::terminal<T>::type type; /* static const type make(T & t) { typename value<T>::type const e = {{t}}; return e; } */ }; } template <typename T> inline typename expression::value<T>::type const val(T t) { return expression::value<T>::make(t); } // Identifies this Expr as a value. // I think this is wrong. It is identifying all actors as values. // Yes, it is giving false positives and needs a rethink. // And this gives no positives. //template <typename T> //struct is_value<expression::value<T> > // : mpl::true_ //{}; // Call out actor for special handling // Is this correct? It applies to any actor. // In which case why is it here? template<typename Expr> struct is_custom_terminal<actor<Expr> > : mpl::true_ {}; // Special handling for actor template<typename Expr> struct custom_terminal<actor<Expr> > { template <typename Sig> struct result; template <typename This, typename Actor, typename Context> struct result<This(Actor, Context)> : boost::remove_const< typename boost::remove_reference< typename evaluator::impl<Actor, Context, proto::empty_env>::result_type >::type > {}; template <typename Context> typename result<custom_terminal(actor<Expr> const &, Context &)>::type operator()(actor<Expr> const & expr, Context & ctx) const { typedef typename result<custom_terminal(actor<Expr> const &, Context &)>::type result_type; result_type r = boost::phoenix::eval(expr, ctx); // std::cout << "Evaluating val() = " << r << std::endl; return r; } }; namespace meta { template<typename T> struct const_ref : add_reference<typename add_const<T>::type> {}; template<typename T> struct argument_type : mpl::eval_if_c< is_function<typename remove_pointer<T>::type>::value , mpl::identity<T> , const_ref<T> > { typedef T type; }; template <typename T> struct decay { typedef T type; }; template <typename T, int N> struct decay<T[N]> : decay<T const *> {}; } template <typename T> struct as_actor<T, mpl::false_> { typedef typename expression::value<typename meta::decay<T>::type >::type type; static type convert(typename meta::argument_type<typename meta::decay<T>::type>::type t) { return expression::value<typename meta::decay<T>::type >::make(t); } }; }} #endif
cpp
{"title": "\"i read my Twitter the next morning and was astonished\": a conversational perspective on Twitter regrets.", "fields": ["postpartum depression", "training set", "childbirth", "mood", "social engagement"], "abstract": "We consider social media as a promising tool for public health, focusing on the use of Twitter posts to build predictive models about the forthcoming influence of childbirth on the behavior and mood of new mothers. Using Twitter posts, we quantify postpartum changes in 376 mothers along dimensions of social engagement, emotion, social network, and linguistic style. We then construct statistical models from a training set of observations of these measures before and after the reported childbirth, to forecast significant postpartum changes in mothers. The predictive models can classify mothers who will change significantly following childbirth with an accuracy of 71%, using observations about their prenatal behavior, and as accurately as 80-83% when additionally leveraging the initial 2-3 weeks of postnatal data. The study is motivated by the opportunity to use social media to identify mothers at risk of postpartum depression, an underreported health concern among large populations, and to inform the design of low-cost, privacy-sensitive early-warning systems and intervention programs aimed at promoting wellness postpartum.", "citation": "Citations (198)", "departments": ["Microsoft", "Microsoft", "Microsoft"], "authors": ["<NAME>.....http://dblp.org/pers/hd/s/Sleeper:Manya", "<NAME>.....http://dblp.org/pers/hd/c/Cranshaw:Justin", "<NAME>.....http://dblp.org/pers/hd/k/Kelley:Patrick_Gage", "Blase Ur.....http://dblp.org/pers/hd/u/Ur:Blase", "Alessandro Acquisti.....http://dblp.org/pers/hd/a/Acquisti:Alessandro", "<NAME>.....http://dblp.org/pers/hd/c/Cranor:Lorrie_Faith", "<NAME>.....http://dblp.org/pers/hd/s/Sadeh:Norman_M="], "conf": "chi", "year": "2013", "pages": 10}
json
<reponame>ChloePrime/RpgMaths<gh_stars>1-10 package moe.gensoukyo.rpgmaths.api.impl.stats; import moe.gensoukyo.rpgmaths.RpgMathsConfig; import moe.gensoukyo.rpgmaths.RpgMathsMod; import moe.gensoukyo.rpgmaths.client.attributes.StatTooltipHandler; import net.minecraft.entity.LivingEntity; import net.minecraft.entity.ai.attributes.IAttribute; import net.minecraft.entity.ai.attributes.RangedAttribute; import net.minecraftforge.common.capabilities.ICapabilityProvider; import net.minecraftforge.event.entity.player.PlayerEvent; import javax.annotation.Nonnull; import javax.annotation.Nullable; import java.util.HashMap; import java.util.LinkedHashSet; import java.util.Map; import java.util.Set; /** * 将一个Attribute作为实现方式的RPG属性。 * 用此对象 构建/包装 的Attribute不会因玩家死亡而重置, * 并且会使用自己的命名。 * @see IAttribute * @see moe.gensoukyo.rpgmaths.common.attributes.AdditionalAttributeHandler * @see StatTooltipHandler 自带的tooltip美化/重命名功能 * @author Chloe_koopa */ public class AttributeStatType extends StoredStatType { @Nullable private IAttribute backend; public static final Set<AttributeStatType> STATS_WITH_CUSTOM_ATTRIBUTE = new LinkedHashSet<>(); public static final Set<AttributeStatType> INSTANCES = new LinkedHashSet<>(); protected static final Map<String, AttributeStatType> BY_ATTR_NAME = new HashMap<>(); @Nullable public static AttributeStatType byAttributeName(String attribute) { return BY_ATTR_NAME.getOrDefault(attribute, null); } /** * 指定一个attribute作为后端实现 * * @param backend 作为后端实现的Attribute */ public AttributeStatType(@Nullable IAttribute backend) { this.backend = backend; if (backend != null) { if (RpgMathsConfig.FIX_ATTRIBUTE.get() && (backend instanceof RangedAttribute)) { ((RangedAttribute) backend).minimumValue = -Double.MAX_VALUE; ((RangedAttribute) backend).maximumValue = Double.MAX_VALUE; } putBackend(); } INSTANCES.add(this); } /** * 新建一个attribute作为后端实现 */ public AttributeStatType() { this(null); STATS_WITH_CUSTOM_ATTRIBUTE.add(this); } protected static final String ATTR_NAME_PATTERN = RpgMathsMod.ID + ".stat.%s"; /** * 获取后端Attribute。 * 在必要的时候初始化 * * @return 后端Attribute * @throws IllegalStateException 如果属性需要初始化,且在对象拥有注册名前初始化时throw */ @Nonnull public IAttribute getBackend() { if (this.backend == null) { if (this.getRegistryName() == null) { throw new IllegalStateException("Initializing before registering!"); } this.backend = new RangedAttribute( null, String.format(ATTR_NAME_PATTERN, getRegistryName().toString(). replace(":", ".")), 0d, -Double.MAX_VALUE, Double.MAX_VALUE ); putBackend(); } return this.backend; } private void putBackend() { BY_ATTR_NAME.put(this.getBackend().getName(), this); } @Override public double getBaseValue(ICapabilityProvider owner) { if (owner instanceof LivingEntity) { LivingEntity living = (LivingEntity) owner; return living.getAttribute(this.getBackend()).getBaseValue(); } return super.getBaseValue(owner); } @Override public boolean setBaseValue(ICapabilityProvider owner, double value) { if (owner instanceof LivingEntity) { LivingEntity living = (LivingEntity) owner; living.getAttribute(this.getBackend()).setBaseValue(value); return true; } return super.setBaseValue(owner, value); } @Override public double getFinalValue(ICapabilityProvider owner) { if (owner instanceof LivingEntity) { LivingEntity living = (LivingEntity) owner; return living.getAttribute(this.getBackend()).getValue(); } return super.getFinalValue(owner); } /** * @see moe.gensoukyo.rpgmaths.common.attributes.AdditionalAttributeHandler#onPlayerDied */ public void storeToCap(ICapabilityProvider owner) { if (owner instanceof LivingEntity) { LivingEntity living = (LivingEntity) owner; super.setBaseValue(living, living.getAttribute(this.getBackend()).getBaseValue()); } } /** * @see moe.gensoukyo.rpgmaths.common.attributes.AdditionalAttributeHandler#onPlayerClone(PlayerEvent.Clone) */ public void recoverFromCap(ICapabilityProvider owner, ICapabilityProvider old) { if (owner instanceof LivingEntity) { LivingEntity living = (LivingEntity) owner; living.getAttribute(this.getBackend()).setBaseValue(super.getBaseValue(old)); } } /** * 该对象基于引用判断相等 */ @Override public boolean equals(Object o) { return super.equals(o); } @Override public int hashCode() { return super.hashCode(); } @Override public String toString() { return "AttributeStatType{" + "backend=" + backend + ", order=" + order + '}'; } }
java
<gh_stars>0 #!/usr/bin/env python3 import jpylib as y import unittest class Token(metaclass=y.Singleton): def __init__(self, name): self.name = name class TemplateTestcase(unittest.TestCase): def test_equal(self): t1 = Token("foo") t2 = Token("bar") self.assertIs(t1, t2) self.assertEqual(t1.name, t2.name) # print() # print("t1.name =", repr(t1.name)) # print("t2.name =", repr(t2.name))
python
<filename>src/user/dto/create-user.dto.ts export interface ICreateUserDto { name: string; email: string; password: string; } export interface IUpdateUserDto { id: string; newName?: string; newEmail?: string; }
typescript
<gh_stars>0 /* AUTO-GENERATED FILE. DO NOT MODIFY. * * This class was automatically generated by the * aapt tool from the resource data it found. It * should not be modified by hand. */ package com.marioandhika.android.wearable.undistract; public final class R { public static final class attr { /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circleCrop=0x7f010018; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_border_color=0x7f010005; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_border_width=0x7f010004; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_color=0x7f010001; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_padding=0x7f010006; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_radius=0x7f010002; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circle_radius_pressed=0x7f010003; /** <p>Must be one or more (separated by '|') of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>left</code></td><td>0x03</td><td></td></tr> <tr><td><code>top</code></td><td>0x30</td><td></td></tr> <tr><td><code>right</code></td><td>0x05</td><td></td></tr> <tr><td><code>bottom</code></td><td>0x50</td><td></td></tr> <tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr> <tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr> <tr><td><code>center</code></td><td>0x11</td><td></td></tr> </table> */ public static final int circular_layout_gravity=0x7f01001b; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int circular_text_size=0x7f01001c; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotColor=0x7f01000c; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotColorSelected=0x7f01000d; /** <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotFadeInDuration=0x7f010011; /** <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotFadeOutDelay=0x7f01000f; /** <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotFadeOutDuration=0x7f010010; /** <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotFadeWhenIdle=0x7f01000e; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotRadius=0x7f01000a; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotRadiusSelected=0x7f01000b; /** <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotShadowColor=0x7f010012; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotShadowDx=0x7f010014; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotShadowDy=0x7f010015; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotShadowRadius=0x7f010013; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int dotSpacing=0x7f010009; /** <p>Must be a floating point value, such as "<code>1.2</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int imageAspectRatio=0x7f010017; /** <p>Must be one of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>none</code></td><td>0</td><td></td></tr> <tr><td><code>adjust_width</code></td><td>1</td><td></td></tr> <tr><td><code>adjust_height</code></td><td>2</td><td></td></tr> </table> */ public static final int imageAspectRatioAdjust=0x7f010016; /** <p>Must be one or more (separated by '|') of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>left</code></td><td>0x01</td><td></td></tr> <tr><td><code>top</code></td><td>0x02</td><td></td></tr> <tr><td><code>right</code></td><td>0x04</td><td></td></tr> <tr><td><code>bottom</code></td><td>0x08</td><td></td></tr> <tr><td><code>all</code></td><td>0x0F</td><td></td></tr> </table> */ public static final int layout_box=0x7f010000; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int rectLayout=0x7f010019; /** <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". */ public static final int roundLayout=0x7f01001a; /** <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int shadow_width=0x7f010007; /** <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. */ public static final int update_interval=0x7f010008; } public static final class color { public static final int black=0x7f070000; public static final int blue=0x7f070001; public static final int card_default_background=0x7f070002; public static final int common_action_bar_splitter=0x7f070003; public static final int common_signin_btn_dark_text_default=0x7f070004; public static final int common_signin_btn_dark_text_disabled=0x7f070005; public static final int common_signin_btn_dark_text_focused=0x7f070006; public static final int common_signin_btn_dark_text_pressed=0x7f070007; public static final int common_signin_btn_default_background=0x7f070008; public static final int common_signin_btn_light_text_default=0x7f070009; public static final int common_signin_btn_light_text_disabled=0x7f07000a; public static final int common_signin_btn_light_text_focused=0x7f07000b; public static final int common_signin_btn_light_text_pressed=0x7f07000c; public static final int common_signin_btn_text_dark=0x7f07001d; public static final int common_signin_btn_text_light=0x7f07001e; public static final int dark_blue=0x7f07000d; public static final int dark_grey=0x7f07000e; public static final int disabled_text_light=0x7f07000f; public static final int dismiss_close=0x7f070010; public static final int dismiss_close_pressed=0x7f070011; public static final int dismiss_overlay_bg=0x7f070012; public static final int green=0x7f070013; public static final int grey=0x7f070014; public static final int light_grey=0x7f070015; public static final int orange=0x7f070016; public static final int primary_text_dark=0x7f070017; public static final int primary_text_light=0x7f070018; public static final int red=0x7f070019; public static final int secondary_text_light=0x7f07001a; public static final int semitransparent_grey=0x7f07001b; public static final int white=0x7f07001c; } public static final class dimen { public static final int card_content_padding_rect_top=0x7f080000; public static final int circle_border_normal_width=0x7f080001; public static final int circle_padding=0x7f080002; public static final int circle_radius=0x7f080003; public static final int circle_radius_pressed=0x7f080004; public static final int close_button_diameter=0x7f080005; public static final int dismiss_padding=0x7f080006; } public static final class drawable { public static final int card_background=0x7f020000; public static final int card_frame=0x7f020001; public static final int card_frame_pressed=0x7f020002; public static final int close_button=0x7f020003; public static final int common_full_open_on_phone=0x7f020004; public static final int common_ic_googleplayservices=0x7f020005; public static final int common_signin_btn_icon_dark=0x7f020006; public static final int common_signin_btn_icon_disabled_dark=0x7f020007; public static final int common_signin_btn_icon_disabled_focus_dark=0x7f020008; public static final int common_signin_btn_icon_disabled_focus_light=0x7f020009; public static final int common_signin_btn_icon_disabled_light=0x7f02000a; public static final int common_signin_btn_icon_focus_dark=0x7f02000b; public static final int common_signin_btn_icon_focus_light=0x7f02000c; public static final int common_signin_btn_icon_light=0x7f02000d; public static final int common_signin_btn_icon_normal_dark=0x7f02000e; public static final int common_signin_btn_icon_normal_light=0x7f02000f; public static final int common_signin_btn_icon_pressed_dark=0x7f020010; public static final int common_signin_btn_icon_pressed_light=0x7f020011; public static final int common_signin_btn_text_dark=0x7f020012; public static final int common_signin_btn_text_disabled_dark=0x7f020013; public static final int common_signin_btn_text_disabled_focus_dark=0x7f020014; public static final int common_signin_btn_text_disabled_focus_light=0x7f020015; public static final int common_signin_btn_text_disabled_light=0x7f020016; public static final int common_signin_btn_text_focus_dark=0x7f020017; public static final int common_signin_btn_text_focus_light=0x7f020018; public static final int common_signin_btn_text_light=0x7f020019; public static final int common_signin_btn_text_normal_dark=0x7f02001a; public static final int common_signin_btn_text_normal_light=0x7f02001b; public static final int common_signin_btn_text_pressed_dark=0x7f02001c; public static final int common_signin_btn_text_pressed_light=0x7f02001d; public static final int confirmation_animation=0x7f02001e; public static final int generic_confirmation_00163=0x7f02001f; public static final int generic_confirmation_00164=0x7f020020; public static final int generic_confirmation_00165=0x7f020021; public static final int generic_confirmation_00166=0x7f020022; public static final int generic_confirmation_00167=0x7f020023; public static final int generic_confirmation_00168=0x7f020024; public static final int generic_confirmation_00169=0x7f020025; public static final int generic_confirmation_00170=0x7f020026; public static final int generic_confirmation_00171=0x7f020027; public static final int generic_confirmation_00172=0x7f020028; public static final int generic_confirmation_00173=0x7f020029; public static final int generic_confirmation_00174=0x7f02002a; public static final int generic_confirmation_00175=0x7f02002b; public static final int generic_confirmation_00185=0x7f02002c; public static final int generic_confirmation_00186=0x7f02002d; public static final int generic_confirmation_00187=0x7f02002e; public static final int generic_confirmation_00188=0x7f02002f; public static final int generic_confirmation_00189=0x7f020030; public static final int generic_confirmation_00190=0x7f020031; public static final int generic_confirmation_00191=0x7f020032; public static final int generic_confirmation_00192=0x7f020033; public static final int generic_confirmation_00193=0x7f020034; public static final int go_to_phone_00156=0x7f020035; public static final int go_to_phone_00157=0x7f020036; public static final int go_to_phone_00158=0x7f020037; public static final int go_to_phone_00159=0x7f020038; public static final int go_to_phone_00160=0x7f020039; public static final int go_to_phone_00161=0x7f02003a; public static final int go_to_phone_00162=0x7f02003b; public static final int go_to_phone_00163=0x7f02003c; public static final int go_to_phone_00164=0x7f02003d; public static final int go_to_phone_00165=0x7f02003e; public static final int go_to_phone_00166=0x7f02003f; public static final int go_to_phone_00167=0x7f020040; public static final int go_to_phone_00168=0x7f020041; public static final int go_to_phone_00169=0x7f020042; public static final int go_to_phone_00170=0x7f020043; public static final int go_to_phone_00171=0x7f020044; public static final int go_to_phone_00172=0x7f020045; public static final int go_to_phone_00173=0x7f020046; public static final int go_to_phone_00174=0x7f020047; public static final int go_to_phone_00175=0x7f020048; public static final int go_to_phone_00176=0x7f020049; public static final int go_to_phone_00177=0x7f02004a; public static final int go_to_phone_00178=0x7f02004b; public static final int go_to_phone_00185=0x7f02004c; public static final int go_to_phone_00186=0x7f02004d; public static final int go_to_phone_00187=0x7f02004e; public static final int go_to_phone_00188=0x7f02004f; public static final int go_to_phone_00189=0x7f020050; public static final int go_to_phone_00190=0x7f020051; public static final int go_to_phone_00191=0x7f020052; public static final int go_to_phone_00192=0x7f020053; public static final int go_to_phone_00193=0x7f020054; public static final int go_to_phone_00194=0x7f020055; public static final int go_to_phone_00195=0x7f020056; public static final int go_to_phone_00196=0x7f020057; public static final int go_to_phone_00197=0x7f020058; public static final int go_to_phone_00198=0x7f020059; public static final int go_to_phone_00199=0x7f02005a; public static final int go_to_phone_00200=0x7f02005b; public static final int go_to_phone_00210=0x7f02005c; public static final int go_to_phone_00211=0x7f02005d; public static final int go_to_phone_00212=0x7f02005e; public static final int go_to_phone_00213=0x7f02005f; public static final int go_to_phone_00214=0x7f020060; public static final int go_to_phone_00215=0x7f020061; public static final int go_to_phone_00216=0x7f020062; public static final int go_to_phone_00217=0x7f020063; public static final int go_to_phone_00218=0x7f020064; public static final int go_to_phone_00219=0x7f020065; public static final int go_to_phone_00220=0x7f020066; public static final int go_to_phone_00221=0x7f020067; public static final int go_to_phone_00222=0x7f020068; public static final int go_to_phone_00223=0x7f020069; public static final int go_to_phone_00224=0x7f02006a; public static final int go_to_phone_animation=0x7f02006b; public static final int ic_full_cancel=0x7f02006c; public static final int ic_full_sad=0x7f02006d; public static final int ic_plusone_medium_off_client=0x7f02006e; public static final int ic_plusone_small_off_client=0x7f02006f; public static final int ic_plusone_standard_off_client=0x7f020070; public static final int ic_plusone_tall_off_client=0x7f020071; } public static final class id { public static final int action_error=0x7f0a000b; public static final int action_success=0x7f0a000d; public static final int adjust_height=0x7f0a0005; public static final int adjust_width=0x7f0a0006; public static final int all=0x7f0a0000; public static final int animation=0x7f0a000e; public static final int bottom=0x7f0a0001; public static final int center=0x7f0a0008; public static final int center_horizontal=0x7f0a0009; public static final int center_vertical=0x7f0a000a; public static final int dismiss_overlay_button=0x7f0a0011; public static final int dismiss_overlay_explain=0x7f0a0010; public static final int error_message=0x7f0a000c; public static final int left=0x7f0a0002; public static final int message=0x7f0a000f; public static final int none=0x7f0a0007; public static final int right=0x7f0a0003; public static final int text=0x7f0a0013; public static final int title=0x7f0a0012; public static final int top=0x7f0a0004; } public static final class integer { public static final int google_play_services_version=0x7f090000; } public static final class layout { public static final int confirmation_activity_layout=0x7f040000; public static final int dismiss_overlay=0x7f040001; public static final int main_activity=0x7f040002; public static final int watch_card_content=0x7f040003; } public static final class mipmap { public static final int ic_launcher=0x7f030000; } public static final class string { public static final int app_name=0x7f05001f; public static final int common_android_wear_notification_needs_update_text=0x7f050000; public static final int common_android_wear_update_text=0x7f050001; public static final int common_android_wear_update_title=0x7f050002; public static final int common_google_play_services_enable_button=0x7f050003; public static final int common_google_play_services_enable_text=0x7f050004; public static final int common_google_play_services_enable_title=0x7f050005; public static final int common_google_play_services_error_notification_requested_by_msg=0x7f050006; public static final int common_google_play_services_install_button=0x7f050007; public static final int common_google_play_services_install_text_phone=0x7f050008; public static final int common_google_play_services_install_text_tablet=0x7f050009; public static final int common_google_play_services_install_title=0x7f05000a; public static final int common_google_play_services_invalid_account_text=0x7f05000b; public static final int common_google_play_services_invalid_account_title=0x7f05000c; public static final int common_google_play_services_needs_enabling_title=0x7f05000d; public static final int common_google_play_services_network_error_text=0x7f05000e; public static final int common_google_play_services_network_error_title=0x7f05000f; public static final int common_google_play_services_notification_needs_installation_title=0x7f050010; public static final int common_google_play_services_notification_needs_update_title=0x7f050011; public static final int common_google_play_services_notification_ticker=0x7f050012; public static final int common_google_play_services_sign_in_failed_text=0x7f050013; public static final int common_google_play_services_sign_in_failed_title=0x7f050014; public static final int common_google_play_services_unknown_issue=0x7f050015; public static final int common_google_play_services_unsupported_text=0x7f050016; public static final int common_google_play_services_unsupported_title=0x7f050017; public static final int common_google_play_services_update_button=0x7f050018; public static final int common_google_play_services_update_text=0x7f050019; public static final int common_google_play_services_update_title=0x7f05001a; public static final int common_open_on_phone=0x7f05001b; public static final int common_signin_button_text=0x7f05001c; public static final int common_signin_button_text_long=0x7f05001d; public static final int commono_google_play_services_api_unavailable_text=0x7f05001e; public static final int no_device_found=0x7f050020; public static final int notification_title=0x7f050021; } public static final class style { public static final int CardText=0x7f060000; public static final int CardTitle=0x7f060001; public static final int DismissOverlayText=0x7f060002; public static final int DotsPageIndicatorStyle=0x7f060003; public static final int TextAppearance_Wearable_Large=0x7f060004; public static final int TextAppearance_Wearable_Medium=0x7f060005; public static final int TextAppearance_Wearable_Small=0x7f060006; public static final int TextView_Large=0x7f060007; public static final int TextView_Large_Light=0x7f060008; public static final int TextView_Medium=0x7f060009; public static final int TextView_Medium_Light=0x7f06000a; public static final int TextView_Small=0x7f06000b; public static final int TextView_Small_Light=0x7f06000c; public static final int Theme_Wearable=0x7f06000d; public static final int Theme_Wearable_Modal=0x7f06000e; } public static final class styleable { /** Attributes that can be used with a BoxInsetLayout_Layout. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #BoxInsetLayout_Layout_layout_box com.marioandhika.android.wearable.undistract:layout_box}</code></td><td></td></tr> </table> @see #BoxInsetLayout_Layout_layout_box */ public static final int[] BoxInsetLayout_Layout = { 0x7f010000 }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#layout_box} attribute's value can be found in the {@link #BoxInsetLayout_Layout} array. <p>Must be one or more (separated by '|') of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>left</code></td><td>0x01</td><td></td></tr> <tr><td><code>top</code></td><td>0x02</td><td></td></tr> <tr><td><code>right</code></td><td>0x04</td><td></td></tr> <tr><td><code>bottom</code></td><td>0x08</td><td></td></tr> <tr><td><code>all</code></td><td>0x0F</td><td></td></tr> </table> @attr name com.marioandhika.android.wearable.undistract:layout_box */ public static final int BoxInsetLayout_Layout_layout_box = 0; /** Attributes that can be used with a CircledImageView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #CircledImageView_android_src android:src}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_border_color com.marioandhika.android.wearable.undistract:circle_border_color}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_border_width com.marioandhika.android.wearable.undistract:circle_border_width}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_color com.marioandhika.android.wearable.undistract:circle_color}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_padding com.marioandhika.android.wearable.undistract:circle_padding}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_radius com.marioandhika.android.wearable.undistract:circle_radius}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_circle_radius_pressed com.marioandhika.android.wearable.undistract:circle_radius_pressed}</code></td><td></td></tr> <tr><td><code>{@link #CircledImageView_shadow_width com.marioandhika.android.wearable.undistract:shadow_width}</code></td><td></td></tr> </table> @see #CircledImageView_android_src @see #CircledImageView_circle_border_color @see #CircledImageView_circle_border_width @see #CircledImageView_circle_color @see #CircledImageView_circle_padding @see #CircledImageView_circle_radius @see #CircledImageView_circle_radius_pressed @see #CircledImageView_shadow_width */ public static final int[] CircledImageView = { 0x01010119, 0x7f010001, 0x7f010002, 0x7f010003, 0x7f010004, 0x7f010005, 0x7f010006, 0x7f010007 }; /** <p>This symbol is the offset where the {@link android.R.attr#src} attribute's value can be found in the {@link #CircledImageView} array. @attr name android:src */ public static final int CircledImageView_android_src = 0; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_border_color} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_border_color */ public static final int CircledImageView_circle_border_color = 5; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_border_width} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_border_width */ public static final int CircledImageView_circle_border_width = 4; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_color} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_color */ public static final int CircledImageView_circle_color = 1; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_padding} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_padding */ public static final int CircledImageView_circle_padding = 6; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_radius} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_radius */ public static final int CircledImageView_circle_radius = 2; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circle_radius_pressed} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circle_radius_pressed */ public static final int CircledImageView_circle_radius_pressed = 3; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#shadow_width} attribute's value can be found in the {@link #CircledImageView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:shadow_width */ public static final int CircledImageView_shadow_width = 7; /** Attributes that can be used with a DelayedConfirmationView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #DelayedConfirmationView_update_interval com.marioandhika.android.wearable.undistract:update_interval}</code></td><td></td></tr> </table> @see #DelayedConfirmationView_update_interval */ public static final int[] DelayedConfirmationView = { 0x7f010008 }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#update_interval} attribute's value can be found in the {@link #DelayedConfirmationView} array. <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:update_interval */ public static final int DelayedConfirmationView_update_interval = 0; /** Attributes that can be used with a DotsPageIndicator. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #DotsPageIndicator_dotColor com.marioandhika.android.wearable.undistract:dotColor}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotColorSelected com.marioandhika.android.wearable.undistract:dotColorSelected}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotFadeInDuration com.marioandhika.android.wearable.undistract:dotFadeInDuration}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotFadeOutDelay com.marioandhika.android.wearable.undistract:dotFadeOutDelay}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotFadeOutDuration com.marioandhika.android.wearable.undistract:dotFadeOutDuration}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotFadeWhenIdle com.marioandhika.android.wearable.undistract:dotFadeWhenIdle}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotRadius com.marioandhika.android.wearable.undistract:dotRadius}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotRadiusSelected com.marioandhika.android.wearable.undistract:dotRadiusSelected}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotShadowColor com.marioandhika.android.wearable.undistract:dotShadowColor}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotShadowDx com.marioandhika.android.wearable.undistract:dotShadowDx}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotShadowDy com.marioandhika.android.wearable.undistract:dotShadowDy}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotShadowRadius com.marioandhika.android.wearable.undistract:dotShadowRadius}</code></td><td></td></tr> <tr><td><code>{@link #DotsPageIndicator_dotSpacing com.marioandhika.android.wearable.undistract:dotSpacing}</code></td><td></td></tr> </table> @see #DotsPageIndicator_dotColor @see #DotsPageIndicator_dotColorSelected @see #DotsPageIndicator_dotFadeInDuration @see #DotsPageIndicator_dotFadeOutDelay @see #DotsPageIndicator_dotFadeOutDuration @see #DotsPageIndicator_dotFadeWhenIdle @see #DotsPageIndicator_dotRadius @see #DotsPageIndicator_dotRadiusSelected @see #DotsPageIndicator_dotShadowColor @see #DotsPageIndicator_dotShadowDx @see #DotsPageIndicator_dotShadowDy @see #DotsPageIndicator_dotShadowRadius @see #DotsPageIndicator_dotSpacing */ public static final int[] DotsPageIndicator = { 0x7f010009, 0x7f01000a, 0x7f01000b, 0x7f01000c, 0x7f01000d, 0x7f01000e, 0x7f01000f, 0x7f010010, 0x7f010011, 0x7f010012, 0x7f010013, 0x7f010014, 0x7f010015 }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotColor} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotColor */ public static final int DotsPageIndicator_dotColor = 3; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotColorSelected} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotColorSelected */ public static final int DotsPageIndicator_dotColorSelected = 4; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotFadeInDuration} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotFadeInDuration */ public static final int DotsPageIndicator_dotFadeInDuration = 8; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotFadeOutDelay} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotFadeOutDelay */ public static final int DotsPageIndicator_dotFadeOutDelay = 6; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotFadeOutDuration} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be an integer value, such as "<code>100</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotFadeOutDuration */ public static final int DotsPageIndicator_dotFadeOutDuration = 7; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotFadeWhenIdle} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotFadeWhenIdle */ public static final int DotsPageIndicator_dotFadeWhenIdle = 5; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotRadius} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotRadius */ public static final int DotsPageIndicator_dotRadius = 1; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotRadiusSelected} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotRadiusSelected */ public static final int DotsPageIndicator_dotRadiusSelected = 2; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotShadowColor} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a color value, in the form of "<code>#<i>rgb</i></code>", "<code>#<i>argb</i></code>", "<code>#<i>rrggbb</i></code>", or "<code>#<i>aarrggbb</i></code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotShadowColor */ public static final int DotsPageIndicator_dotShadowColor = 9; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotShadowDx} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotShadowDx */ public static final int DotsPageIndicator_dotShadowDx = 11; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotShadowDy} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotShadowDy */ public static final int DotsPageIndicator_dotShadowDy = 12; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotShadowRadius} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotShadowRadius */ public static final int DotsPageIndicator_dotShadowRadius = 10; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#dotSpacing} attribute's value can be found in the {@link #DotsPageIndicator} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:dotSpacing */ public static final int DotsPageIndicator_dotSpacing = 0; /** Attributes that can be used with a LoadingImageView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #LoadingImageView_circleCrop com.marioandhika.android.wearable.undistract:circleCrop}</code></td><td></td></tr> <tr><td><code>{@link #LoadingImageView_imageAspectRatio com.marioandhika.android.wearable.undistract:imageAspectRatio}</code></td><td></td></tr> <tr><td><code>{@link #LoadingImageView_imageAspectRatioAdjust com.marioandhika.android.wearable.undistract:imageAspectRatioAdjust}</code></td><td></td></tr> </table> @see #LoadingImageView_circleCrop @see #LoadingImageView_imageAspectRatio @see #LoadingImageView_imageAspectRatioAdjust */ public static final int[] LoadingImageView = { 0x7f010016, 0x7f010017, 0x7f010018 }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circleCrop} attribute's value can be found in the {@link #LoadingImageView} array. <p>Must be a boolean value, either "<code>true</code>" or "<code>false</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circleCrop */ public static final int LoadingImageView_circleCrop = 2; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#imageAspectRatio} attribute's value can be found in the {@link #LoadingImageView} array. <p>Must be a floating point value, such as "<code>1.2</code>". <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:imageAspectRatio */ public static final int LoadingImageView_imageAspectRatio = 1; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#imageAspectRatioAdjust} attribute's value can be found in the {@link #LoadingImageView} array. <p>Must be one of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>none</code></td><td>0</td><td></td></tr> <tr><td><code>adjust_width</code></td><td>1</td><td></td></tr> <tr><td><code>adjust_height</code></td><td>2</td><td></td></tr> </table> @attr name com.marioandhika.android.wearable.undistract:imageAspectRatioAdjust */ public static final int LoadingImageView_imageAspectRatioAdjust = 0; /** Attributes that can be used with a WatchViewStub. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #WatchViewStub_rectLayout com.marioandhika.android.wearable.undistract:rectLayout}</code></td><td></td></tr> <tr><td><code>{@link #WatchViewStub_roundLayout com.marioandhika.android.wearable.undistract:roundLayout}</code></td><td></td></tr> </table> @see #WatchViewStub_rectLayout @see #WatchViewStub_roundLayout */ public static final int[] WatchViewStub = { 0x7f010019, 0x7f01001a }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#rectLayout} attribute's value can be found in the {@link #WatchViewStub} array. <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". @attr name com.marioandhika.android.wearable.undistract:rectLayout */ public static final int WatchViewStub_rectLayout = 0; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#roundLayout} attribute's value can be found in the {@link #WatchViewStub} array. <p>Must be a reference to another resource, in the form "<code>@[+][<i>package</i>:]<i>type</i>:<i>name</i></code>" or to a theme attribute in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>". @attr name com.marioandhika.android.wearable.undistract:roundLayout */ public static final int WatchViewStub_roundLayout = 1; /** Attributes that can be used with a WearableHeaderTextView. <p>Includes the following attributes:</p> <table> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Attribute</th><th>Description</th></tr> <tr><td><code>{@link #WearableHeaderTextView_circular_layout_gravity com.marioandhika.android.wearable.undistract:circular_layout_gravity}</code></td><td></td></tr> <tr><td><code>{@link #WearableHeaderTextView_circular_text_size com.marioandhika.android.wearable.undistract:circular_text_size}</code></td><td></td></tr> </table> @see #WearableHeaderTextView_circular_layout_gravity @see #WearableHeaderTextView_circular_text_size */ public static final int[] WearableHeaderTextView = { 0x7f01001b, 0x7f01001c }; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circular_layout_gravity} attribute's value can be found in the {@link #WearableHeaderTextView} array. <p>Must be one or more (separated by '|') of the following constant values.</p> <table> <colgroup align="left" /> <colgroup align="left" /> <colgroup align="left" /> <tr><th>Constant</th><th>Value</th><th>Description</th></tr> <tr><td><code>left</code></td><td>0x03</td><td></td></tr> <tr><td><code>top</code></td><td>0x30</td><td></td></tr> <tr><td><code>right</code></td><td>0x05</td><td></td></tr> <tr><td><code>bottom</code></td><td>0x50</td><td></td></tr> <tr><td><code>center_vertical</code></td><td>0x10</td><td></td></tr> <tr><td><code>center_horizontal</code></td><td>0x01</td><td></td></tr> <tr><td><code>center</code></td><td>0x11</td><td></td></tr> </table> @attr name com.marioandhika.android.wearable.undistract:circular_layout_gravity */ public static final int WearableHeaderTextView_circular_layout_gravity = 0; /** <p>This symbol is the offset where the {@link com.marioandhika.android.wearable.undistract.R.attr#circular_text_size} attribute's value can be found in the {@link #WearableHeaderTextView} array. <p>Must be a dimension value, which is a floating point number appended with a unit such as "<code>14.5sp</code>". Available units are: px (pixels), dp (density-independent pixels), sp (scaled pixels based on preferred font size), in (inches), mm (millimeters). <p>This may also be a reference to a resource (in the form "<code>@[<i>package</i>:]<i>type</i>:<i>name</i></code>") or theme attribute (in the form "<code>?[<i>package</i>:][<i>type</i>:]<i>name</i></code>") containing a value of this type. @attr name com.marioandhika.android.wearable.undistract:circular_text_size */ public static final int WearableHeaderTextView_circular_text_size = 1; }; }
java
<gh_stars>0 {%extends "content.html"%} {%load plotly_dash%} {%block title%}Demo Ten - Multiple Callback Values{%endblock%} {%block content%} <h1>Multiple Callback Values</h1> <p> Both standard and extended callbacks can return multiple responses. This example instantiates two example applications that use multiple return values for both types of callback. </p> <p> Note that the second application will not update if the color choice is set to Green. This is intentional; the callback raises a <b>dash.exceptions.PreventUpdate</b> exception when this color choice is in effect. </p> <div class="card bg-light border-dark"> <div class="card-body"> <p><span>{</span>% load plotly_dash %}</p> <p><span>{</span>% plotly_app slug="multiple-callback-values" ratio=0.2 %}</p> <p><span>{</span>% plotly_app slug="multiple-callback-values-expanded" ratio=0.2 %}</p> </div> </div> <p> </p> <div class="card border-dark"> <div class="card-body"> {%plotly_app slug="multiple-callback-values-1" ratio=0.2 %} </div> </div> <p></p> <div class="card border-dark"> <div class="card-body"> {%plotly_app slug="multiple-callback-values-expanded" ratio=0.2 %} </div> </div> <p></p> {%endblock%}
html
<filename>mvouchers/apps.py from django.apps import AppConfig class MvouchersConfig(AppConfig): name = 'mvouchers'
python
// eslint-disable-next-line no-use-before-define import React from 'react' import { Link } from 'gatsby' import ThemeToggler from '@/utilities/ThemeToggler' interface HeaderProps { siteTitle: string } export const Header: React.FC<HeaderProps> = ({ siteTitle }: HeaderProps) => ( <header> <nav id="navbar-main" aria-label="Primary navigation"> <Link to="/">{siteTitle}</Link> <ul className="site-nav"> <li> <Link to="/" aria-label="menu item" activeClassName="site-nav--active" > Tools </Link> </li> <li> <Link to="/race" aria-label="menu item" activeClassName="site-nav--active" > Race </Link> </li> <li> <ThemeToggler /> </li> </ul> </nav> </header> ) export default Header
typescript
const puppeteer = require('puppeteer'); const p = require('path'); var static = require('node-static'); var file = new static.Server('./dist'); var port = process.env.PORT || 8080 var server = require('http').createServer(function (request, response) { request.addListener('end', function () { file.serve(request, response); }).resume(); }) !(async () => { server.listen(port); const browser = await puppeteer.launch({headless: false}) const page = await browser.newPage() await page.setRequestInterception(true); // 加快页面速度 page.on('request', request => { if (request.resourceType() === 'image') request.abort(); else request.continue(); }) page.once('load', async () => { const errors = await page.evaluate(() => { return window.errors || [] }) if(errors === undefined){ console.log('没要找到测试用例') }else if (errors.length === 0) { console.info('没有错误') } else { console.error('有错误') errors.forEach((error) => { console.log(error.message) }) } await browser.close() server.close() }); await page.goto(`http://127.0.0.1:${port}`) })()
javascript
ISLAMABAD: President Dr Arif Alvi has vowed to raise voice for the people of Kashmir at every forum in the world. Addressing the military parade ceremony held in connection with the Pakistan Day here on Thursday, the president called on the leadership of south Asia to quit the politics based on extremism and bias. The Pakistan Resolution was presented on March 23, 1940 and within a short span of seven years the Muslims of sub-continent were blessed with an independence, Dr Alvi said. He added that Pakistan had gained defence capability as our armed forces had played a key role in the defence of the motherland either it is war, internal disturbance, terrorism or natural disaster. The president, on the occasion, congratulated the Pak forces and the nation on holding the grand parade.
english
// Copyright © 2018 <NAME> <<EMAIL>>. // // Use of this source code is governed by an MIT-style // license that can be found in the LICENSE file. package tpdu import ( "testing" "time" "github.com/stretchr/testify/assert" "github.com/warthog618/sms/encoding/bcd" "github.com/warthog618/sms/encoding/semioctet" ) type marshalSubmitTestPattern struct { name string in Submit out []byte err error } var marshalSubmitTestPatterns = []marshalSubmitTestPattern{ {"haha", Submit{ TPDU: TPDU{FirstOctet: 1, UD: []byte("Hahahaha")}, DA: Address{Addr: "6391", TOA: 0x91}, }, []byte{0x01, 0x00, 0x04, 0x91, 0x36, 0x19, 0x00, 0x00, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}, nil}, {"vp", Submit{ TPDU: TPDU{FirstOctet: 1, UD: []byte("Hahahaha")}, DA: Address{Addr: "6391", TOA: 0x91}, VP: ValidityPeriod{VpfRelative, Timestamp{}, time.Duration(6000000000000), 0}, }, []byte{0x01, 0x00, 0x04, 0x91, 0x36, 0x19, 0x00, 0x00, 0x13, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}, nil}, {"bad da", Submit{ TPDU: TPDU{FirstOctet: 4, UD: []byte("Hahahaha")}, DA: Address{Addr: "d391", TOA: 0x91}, }, nil, EncodeError("da.addr", semioctet.ErrInvalidDigit('d'))}, {"bad vp", Submit{ TPDU: TPDU{FirstOctet: 1, UD: []byte("Hahahaha")}, DA: Address{Addr: "6391", TOA: 0x91}, VP: ValidityPeriod{6, Timestamp{}, 0, 0}, }, nil, EncodeError("vp.vpf", ErrInvalid)}, {"bad ud", Submit{ TPDU: TPDU{FirstOctet: 4, DCS: 0x80, UD: []byte("Hahahaha")}, DA: Address{Addr: "6391", TOA: 0x91}, }, nil, EncodeError("ud.alphabet", ErrInvalid)}, } func TestSubmitMarshalBinary(t *testing.T) { for _, p := range marshalSubmitTestPatterns { f := func(t *testing.T) { b, err := p.in.MarshalBinary() if err != p.err { t.Errorf("error encoding '%v': %v %v", p.in, err, p.err) } assert.Equal(t, p.out, b) } t.Run(p.name, f) } } type unmarshalSubmitTestPattern struct { name string in []byte out Submit err error } var unmarshalSubmitTestPatterns = []unmarshalSubmitTestPattern{ {"haha", []byte{0x01, 0x23, 0x04, 0x91, 0x36, 0x19, 0x34, 0x00, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}, Submit{ TPDU: TPDU{FirstOctet: 1, PID: 0x34, UD: []byte("Hahahaha")}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}, }, nil}, {"vp", []byte{0x11, 0x23, 0x04, 0x91, 0x36, 0x19, 0x34, 0x00, 0x45, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}, Submit{ TPDU: TPDU{FirstOctet: 17, PID: 0x34, UD: []byte("Hahahaha")}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}, VP: ValidityPeriod{Format: VpfRelative, Duration: time.Duration(60 * 350 * 1000000000)}, }, nil}, {"underflow fo", []byte{}, Submit{}, DecodeError("firstOctet", 0, ErrUnderflow)}, {"underflow mr", []byte{0x01}, Submit{TPDU: TPDU{FirstOctet: 1}}, DecodeError("mr", 1, ErrUnderflow)}, {"underflow da", []byte{0x01, 0x23}, Submit{TPDU: TPDU{FirstOctet: 1}, MR: 0x23}, DecodeError("da.addr", 2, ErrUnderflow)}, {"bad da", []byte{0x01, 0x23, 0x04, 0x91, 0x36, 0xF9, 0x00}, Submit{TPDU: TPDU{FirstOctet: 1}, MR: 0x23}, DecodeError("da.addr", 4, ErrUnderflow)}, {"underflow pid", []byte{0x01, 0x23, 0x04, 0x91, 0x36, 0x19}, Submit{ TPDU: TPDU{FirstOctet: 1}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}}, DecodeError("pid", 6, ErrUnderflow)}, {"underflow dcs", []byte{0x01, 0x23, 0x04, 0x91, 0x36, 0x19, 0x00}, Submit{ TPDU: TPDU{FirstOctet: 1}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}}, DecodeError("dcs", 7, ErrUnderflow)}, {"underflow vp", []byte{0x11, 0x23, 0x04, 0x91, 0x36, 0x19, 0x34, 0x00}, Submit{ TPDU: TPDU{FirstOctet: 17, PID: 0x34}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}}, DecodeError("vp", 8, ErrUnderflow)}, {"bad vp", []byte{0x19, 0x23, 0x04, 0x91, 0x36, 0x19, 0x34, 0x00, 0x45, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}, Submit{ TPDU: TPDU{FirstOctet: 0x19, PID: 0x34}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}, }, DecodeError("vp", 8, bcd.ErrInvalidOctet(0xc8))}, {"underflow ud", []byte{0x01, 0x23, 0x04, 0x91, 0x36, 0x19, 0x00, 0x00, 0x51, 0x50, 0x71, 0x32, 0x20, 0x05, 0x23, 0x08}, Submit{ TPDU: TPDU{FirstOctet: 1}, MR: 0x23, DA: Address{Addr: "6391", TOA: 0x91}, }, DecodeError("ud.sm", 9, ErrUnderflow)}, } func TestSubmitUnmarshalBinary(t *testing.T) { for _, p := range unmarshalSubmitTestPatterns { f := func(t *testing.T) { s := Submit{} err := s.UnmarshalBinary(p.in) if err != p.err { t.Errorf("error decoding '%v': %v", p.in, err) } assert.Equal(t, p.out, s) } t.Run(p.name, f) } } func TestRegisterSubmitDecoder(t *testing.T) { dec := Decoder{map[byte]ConcreteDecoder{}} err := RegisterSubmitDecoder(&dec) if err != nil { t.Errorf("registration should not fail") } k := byte(MtSubmit) | (byte(MO) << 2) if cd, ok := dec.d[k]; !ok { t.Errorf("not registered with the correct key") } else { testDecodeSubmit(t, cd) } err = RegisterSubmitDecoder(&dec) if err == nil { t.Errorf("repeated registration should fail") } } func testDecodeSubmit(t *testing.T, cd ConcreteDecoder) { b, derr := cd([]byte{}) expected := DecodeError("firstOctet", 0, ErrUnderflow) if derr != expected { t.Errorf("returned unexpected error, expected %v, got %v\n", expected, derr) } if b != nil { t.Errorf("returned unexpected tpdu, expected nil, got %v\n", b) } b, derr = cd([]byte{0x01, 0x00, 0x04, 0x91, 0x36, 0x19, 0x00, 0x00, 0x08, 0xC8, 0x30, 0x3A, 0x8C, 0x0E, 0xA3, 0xC3}) if derr != nil { t.Errorf("returned unexpected error %v\n", derr) } if b != nil { s, ok := b.(*Submit) if !ok { t.Error("returned unexpected tpdu type") } if string(s.UD) != "Hahahaha" { t.Error("returned unexpected tpdu user data") } } }
go
<reponame>luizoti/toga<gh_stars>1000+ from travertino.size import at_least from toga_cocoa.libs import SEL, NSPopUpButton, objc_method from .base import Widget class TogaPopupButton(NSPopUpButton): @objc_method def onSelect_(self, obj) -> None: if self.interface.on_select: self.interface.on_select(self.interface) class Selection(Widget): def create(self): self.native = TogaPopupButton.alloc().init() self.native.interface = self.interface self.native.target = self.native self.native.action = SEL('onSelect:') self.add_constraints() def rehint(self): content_size = self.native.intrinsicContentSize() self.interface.intrinsic.height = content_size.height self.interface.intrinsic.width = at_least(max(self.interface.MIN_WIDTH, content_size.width)) def remove_all_items(self): self.native.removeAllItems() def add_item(self, item): self.native.addItemWithTitle(item) def select_item(self, item): self.native.selectItemWithTitle(item) def get_selected_item(self): return str(self.native.titleOfSelectedItem) def set_on_select(self, handler): pass
python
1 *Pãntekɔti-yiiŋgu-na, Diiloŋ-dũŋ-baamba waa hiere tigiiŋ terduɔŋ-nu. 2 Ba juɔ'a ba ne da ijieni naŋ temma hilaa dɔrɔ‑i-na ŋaa fafalmu, a jo ji yu baŋ waa dũŋgu maŋ nuɔ‑i. 3 Ba'a ba tiraa ne, a da dãamu nammu calnu mu haa ba yunni-na. 4 Muŋ calaanu haa-bɛi dumaaŋo-na, *Diiloŋ-Yalle pãŋ yu ba hɔmmu‑i a ce ba doŋ ta ba piiye niɛraaŋ-nelma. 5 A ne da *Yuifubaa-ba maŋ wuɔyaaŋ ba Diiloŋ-hũmelle‑i fafamma, ba fɔ̃ŋgũɔ baa hilaa nilɛiŋa-na hiere jo *Yerusalɛmu‑i-na yibieŋa faŋa-na. 6 Baa tĩɛna ji nu ijieŋ daani‑i, baa sire gbar kã ka yu. Bamaŋ waa hiere, nɛliɛŋo nɛliɛŋo u nuɔ Yesu *pɔpuɔrbiemba piiye fuɔ fɛrɛŋ nelma‑i. 7 Kuɔ cu ba hɔmmu‑i, baa ta ba piiye wuɔ: «Ma sĩ Galiletaamba‑i daaba‑i hiere kɛ? 8 Ba ciɛ niɛ ta ba nu i nelma‑i hiere ba waŋ-ma baa-ye? 9 Ŋ siɛ suɔ wuɔ miɛ maŋ jãanu i-naa bande‑i-na, Partitaamba dii-yiɛ, Meditaamba dii, Elamutaamba dii, Mesopotamitaamba dii, bamaŋ hilaa *Yude‑i-na baa bi dii, Kapadɔsitaamba dii, Pɔ̃taamba dii, Asitaamba dii, 10 Firgitaamba dii, Pãnfilitaamba dii, Esipitaamba dii, Libitaamba maŋ dii Sirɛni caaŋgu-na baa dii, bamaŋ hilaaŋ *Ɔrɔmu‑i-na bafamba bi dii, 11 Yuifukirɛiŋa dii, bamaŋ bi suurii Yuifusĩnni-na baa bi dii, Kirɛtitaamba dii, Arabubaa-ba dii, aa i hieroŋo-na, Diiloŋ uŋ ciɛ maacenfafamma maŋ, nɛliɛŋo nɛliɛŋo u nuɔ-ma u fɛrɛŋ nelma-na.» 12 Kuɔ ce-ba gbɛrɛ, ba sa suɔ baŋ jɔguɔŋ mamaŋ. Baa ta ba yuu ba-naa wuɔ: «Nel hama‑i temma‑i dumandɛ‑i?» 13 Banaŋ baa bir yaŋ aa ta ba nyɛ pɔpuɔrbiemba‑i wuɔ ba nyuɔŋ kolma. 14 Maŋ juɔ waa dumaaŋo-na, Piɛr wuɔ sire yiɛra baa u nabaamba‑i* Yesu pɔpuɔrbiemba yaa baŋ gbɛ̃ŋ-baŋ. aa naa doŋ tuɔ piiye da gbagaga wuɔ: «*Yuifubaa namaa, baa namaa namaŋ dii tĩɛna *Yerusalɛmu‑i-na, mi ka waŋ nelma diei baa-na, karaaŋ na tũnni‑i dɛi na nu-ma. 15 Na suyaa wuɔ bãaŋgu saa hi boŋ yogo aa na'a ba nyuɔŋ kolma, ba daa-ma hie? 16 Na saa da, Diiloŋ uŋ puɔraa Yowɛl waŋ mamaŋ, ma'i ciɛŋ. 17 Yowɛl waaŋ-ma wuɔ: ‹Diiloŋo ciɛra wuɔ: «Miwaaŋo tĩmmaŋ-huɔŋgu-na, mi ka gbuo nuɔmba‑i hiere baa mi *Yalle‑i. Na bisãlmba ka ta ba ce mi pɔpuɔruŋgu‑i. Mi kaa ta mi carra naaciemba‑i mi piiye baa-ba. Aa ta mi piiye baa bĩncuɔmba‑i dãnsãnniŋ. 18 Coima saa fa, bamaŋ cãa-miŋ hiere, caamba‑i baa bɛmba‑i, mi ka gbuo-ba baa mi Yalle‑i huɔŋ daaku-na, ba ka waa mi pɔpuɔrbiemba. 19 Mi ka ce gbɛrɛ-wɛima dɔrɔ‑i-na baa hĩɛma-na hiere: Tãmma kaa waa, dãamu kaa waa, nyaasĩnni kaa bi waa bɔi. aa cɛiŋo bir ce dãa ŋaa tãmma. Mafamma ka ce aa Itieŋo jommaŋ-yiiŋgu suɔ hi. Yiiŋgu faŋgu temma siɛ ji waa; ku kaa waa yibuɔ. 22 Piɛr wuɔ suonu u ãndaaŋgu‑i wuɔ: «*Isirahɛl-baaŋ namaa, yaaŋ mi waŋ nelma diei baa-na: Diiloŋo pigãaŋ-na Nasarɛtitaaŋ Yesu fɔ̃ŋgũɔ‑i. U ciɛ u ce gbɛrɛ-wɛima bɔi na hɔlma-na. Namaa fɛrɛ‑i na saa yaŋ-ma damma. 23 Ba bel diiloŋo‑i bel-o hã-na. Diiloŋo suɔ wɛima‑i hiere; uu naa suɔ wuɔ na siɛ yaŋ-yo. Ma bi ciɛ: Na bilaa-yo a hã bamaŋ sa kãaŋ Diiloŋo‑i ba gbu-yo *daaŋ-nu ko-yo. 24 Ŋga hĩɛma saa naa waa ma gbãa wuo-yo. A ce dumaaŋo-na, baŋ kuɔ-yo, Diiloŋo yaŋ-ba aa sire-yuɔ. 25 Na saa da, *Davidi piiye u maama wuɔ: ‹Mi da Itieŋo‑i hɔnni maŋ joŋ mi yaaŋga-na. U sa taara mi kũɔma nyɛŋ, ku'i ciɛ u jo ji waa mi caaŋ-nu. a ce mi ta mi piiye dumandɛ‑i-na. Mi suyaa wuɔ da mi ku, mi ka fiisa. 27 Diilo, mi suyaa wuɔ ŋ siɛ yaŋ mi tĩɛ dii kuoŋ-nelle-na. Ŋ siɛ siɛ yaŋ naŋ nolŋo hɔr dii hĩɛma-na. 28 Hũmelle maŋ kãaŋ ŋ wulaa, ŋ pigãaŋ-mi baa-de. 29 Piɛr wuɔ cor baa u ãndaaŋgu‑i wuɔ: «Tobiŋ namaa, mi ka waŋ ninsoŋo‑i baa-na i bĩncɔiŋo‑i Davidi kũŋgu-na: Davidi kuu ba fuure-yuɔ, a ji hi baa nyuŋgo u cĩncorre dii i hɔlma-na. 30 Davidi waa Diilopɔpuɔrbiloŋo. Diiloŋo naa pã nuŋgu baa-yo wuɔ duɔ saa ji waa, u jãmatigisĩnni‑i, u ka hã u hãayɛ̃lŋo naŋo'i baa-ni. 31 A ce dumaaŋo-na, Davidi naa tĩɛna baa-ma wuɔ *Koŋkortieŋo ka ku aa sire. Na saa da u ciɛra: ‹Diiloŋo siɛ yaŋ u nolŋo tĩɛ dii kuoŋ-nelle-na› aa ‹u siɛ yaŋ u hɔr dii hĩɛma-na.› 32 Koŋkortieŋo faŋo yaa Yesu‑i. Diiloŋ uŋ siire-yuɔ, miɛ maŋ daaye‑i hiere i daa-ma nuɔ. 33 Diiloŋo kãa baa-yo u ka tĩɛna u caaŋ-nu, aa uŋ ŋa naa pã nuŋgu maŋ baa-yo wuɔ u ka hã-yo u Yalle‑i, u hãa-yo baa-de u gbuo-ye baa-de hiere. Naŋ daŋ mamaŋ daama‑i baa naŋ nuŋ mamaŋ, difande maacemma'i. 34 Davidi fuɔ fɛrɛ saa kã dɔrɔ‑i-na, ŋga u piiye Yesu kũŋgu‑i wuɔ: ‹Itieŋo gbĩɛ mi Tieŋo‑i wuɔ: 40 Piɛr waaŋ nelma bɔi baa-ba a dii sirɛiŋa bɛi ba da ba hũu-ma. U taa u piiye baa-ba wuɔ: «Siyaaŋ koŋkoro‑i, ku yaa mamaŋ kaa da fiɛfiɛ ku nuɔmba‑i ma siɛ ka da-na.» 41 Yiiŋgu faŋgu-na, nuɔmba bɔi hũyãa Piɛr nelma‑i aa ce ba batiseŋ-ba. Ba yuu nuɔmba neifelle nuɔsiba ndii temma bamaŋ naa suurii naara Diiloŋ-dũŋ-baamba‑i. 42 Baa bilaanu ta ba jo ba nu Diiloŋ-nelma‑i Yesu pɔpuɔrbiemba wulaa. Ba waa ŋaa cɛduɔŋ-biemba, ta ba wuo niiwuoni‑i baa ba-naa aa ta ba bi cãrã Diiloŋo‑i baa ba-naa. 43 Yesu pɔpuɔrbiemba taa ba ce gbɛrɛ-wɛima bɔi, a ce dumaaŋo-na korma taa ma da nuɔmba‑i baa-ba. 44 Diiloŋ-dũŋ-baamba naa bel ba-naa hiere, ba saa ta ba ce huɔŋga baa ba nagãŋ-niini‑i. 45 Ba waa umaŋ duɔ da kumaŋ, u suor-ku aa jo baa gbeiŋa‑i ba ji cal-a ba-naa nuɔ a saa baa gbeiŋ-maamaŋ yeŋ-bɛi dumaa. 46 Yinni maŋ joŋ baa dii *Diilodubuɔ‑i-na, ba sa nanna yiiŋgu. Ba taa ba wuo niiwuoni‑i baa ba-naa cĩnni-na. Ba niiwuoni wuoma taa ma dɔl aa ba hɔmmu na firnu baa mu-naa. 47 Ba taa ba hãl nɛini‑i ba tuɔlnu Diiloŋo‑i. Ba maama taa ma dɔlnu nuɔmba‑i hiere nelle-na. Aa yinniŋ taa ni cor dumaa, Itieŋo taa u kor nuɔmba‑i dumɛi u naara ba kãlle-na. *2:14 Yesu pɔpuɔrbiemba yaa baŋ gbɛ̃ŋ-baŋ. *2:37 Piɛrbaa-ba‑i: Ba gbɛ̃ Piɛr baa u napɔpuɔrbiemba namba yaa‑i.
english
Covid-19 has posed innumerable health, economic, and social challenges for all, including people living with HIV. It has exposed the fragility of health systems around the globe and has diverted political attention and funding from other infectious diseases like TB and HIV. The opening session of the 11th International IAS Conference on HIV Science (#IAS2021) held virtually from Berlin, saw a lively panel discussing the tale of the two most horrendous recent pandemics in the history of our civilisation: Covid-19 and HIV/AIDS. Here is a glimpse of what the scientists, politician and activist had to say: Dr Anthony Fauci, Director of the National Institute of Allergies and Infectious Diseases, USA, said that we cannot forget HIV just because we happen to be in the middle of Covid-19. Decades of investment and science in HIV research, albeit as yet unsuccessful in developing an HIV vaccine, has played a major role in the development of highly successful Covid-19 vaccines in a very short period of time. But the fact that we have a Covid-19 pandemic does not lessen the importance and devastation associated with the HIV pandemic that has resulted in substantial mortality and morbidity during the last 40 years. Dr Fauci said that in terms of preparedness for future pandemics (which will be there) we are better prepared in some respects, but in others, we are not. To deal with any emerging outbreak there is a public health response and there is a scientific response. The public health response for Covid-19 has been fragmented in many countries. It was characterised by a disturbing degree of divisiveness when there was a politicisation of how one approaches an outbreak. When you are dealing with a pandemic, the common enemy is the virus and not the people you may have disagreements with. A global pandemic requires a global response in a synergistic way and not just an individual country response. Fortunately, the scientific response has been tremendous and resulted in the rapid development of effective and safe vaccines, said Dr Fauci. The challenge now is to get an equitable distribution of these vaccines throughout the world. The rich countries of the world have a moral obligation to ensure that the low and middle-income countries are able to access these life-saving vaccines in real-time. Dr Fauci shared that an important lesson learnt is to have a global system so that life-saving scientific interventions can be rapidly distributed to people in real-time without them having to suffer unnecessarily. Dr Soumya Swaminathan, Chief Scientist at the World Health Organization (WHO); former Director-General of Indian Council of Medical Research; former Secretary, Department of Health Research, Ministry of Health and Family Welfare, Government of India; and former head of National Institute for Tuberculosis Research, said that the HIV response was successful when affected communities were actively engaged. When antiretroviral therapy (ART) was not available for many people living with HIV in Africa, they rallied around and fought for access to treatment. A record 27 million people living with HIV are now on ART globally. Unfortunately, we are seeing a sort of repeat of the same with inequity in the distribution of Covid-19 vaccines. Dr Soumya Swaminathan said that it was the community-led and community-based health delivery solutions that worked in Covid-19 as well. Countries with strong primary healthcare systems, where community health workers play an important role, have better managed to keep the pandemic under check. Role of political leadership is also critical. Countries, where there has been strong scientific evidence-based data, led response to the pandemic, where data is collected, disseminated and used transparently to inform the public- those are the countries that have done well in managing the pandemic. We have to redouble efforts to scale up infection control measures and vaccinations, and at the same time not take the focus away from diseases like HIV and TB that still kill millions every year. Trust, transparency and proper communication with the public are extremely important in dealing with any public health challenge, rightly said Dr Swaminathan. We saw stigma for people affected with Covid-19 just as we saw it in those affected by HIV or TB. In countries where people generally have a higher trust in the government and in public health authorities, there has been more public acceptance of preventive social measures, and vaccination as well. Also, the data that has been available in many countries is far removed from the ground reality. This brings out the importance of investing in data systems (especially for mortality and cause of death statistics) to really understand the burden of any disease. But along with having the scientific tools- whether for diagnostics, treatment, or prevention (including vaccines), we also have to focus on making them accessible to all and the private sector plays an important role in delivering these tools, said Dr Swaminathan. Jens Spahn, Federal Minister of Health, Germany, said that HIV has taught us that a multilateral response, that includes people and affected communities, is the way to get through it, and this applies to the Covid-19 response as well. What we have learnt from HIV is that universal health coverage is the key. Primary healthcare makes a big difference in fighting all these diseases. But we are yet not there. That is why Germany, Ghana, and Norway have asked for a global action plan for healthy lives. It is one thing to have a drug or a vaccine, but you still need to be able to deliver and administer it in all countries. And for that, you need a working healthcare system. So, besides multilateral cooperation on certain diseases, we also need strong primary healthcare systems in every country, said Germany’s Health Minister Jens Spahn. While the world coming together very quickly to speed up the Covid-19 response is a humanitarian help, it is in our own national interests to vaccinate the world, because no one is safe until everyone is safe. That should be the motto of our engagement. If we put our heads together and really want to make a difference to science and public health, we can. I accept that there is not yet equitable access to Covid-19 vaccines, but it would be there soon within months and not within years, he said. Jens Spahn rightly underlined that there is no vaccine against hate or fear that we have seen manifesting during these pandemics. The demonstrations against Covid-19 control measures- the fears and blunt aggression in people’s eyes- reminds us that liberal democracy is about having a good sober debate which presumes that the other person might be right too. I do hope that we leave behind us all the hatred, false information and the nationalist view that many had, and learn from the good that happened- having a vaccine in a very short time within a pandemic situation. She added that many countries and governments have spent billions of dollars on Covid-19 response while diverting resources from HIV and TB – like TB is the poor cousin of HIV and Covid-19 is the rich aunt. We did not act how we should have acted! The biggest mistake was to not have proactively engaged the HIV sector globally and make community leaders part of the Covid-19 response. Leadership is needed at all levels. Community action and information must be available in real-time for local responses and for communities to be able to act, embrace science, and innovations while protecting human rights. Advocates and scientists must speak through to power. Now is the time to start planning for the next pandemic today, as it might be there tomorrow, alerted Yvette. “Most of us have lost so many family members, friends, leaders globally to Covid-19 (as well as to HIV). I see faces where scientists see statistics. For us, our own lived experiences matter more than mere data. Treat people not as numbers, but as human beings so that HIV does not become a forgotten pandemic” was Yvette’s important message to remember while we shape global health responses. And as the US President Joe Biden told Dr Fauci, no matter what, we must follow the science. We may not be right all the time but if we are not, we are going to correct it and we are going to go in the right direction. That is going to be a pathway to ending this terrible pandemic. (Shobha Shukla is the award-winning founding Managing Editor and Executive Director of CNS (Citizen News Service) and is a feminist, health and development justice advocate. She is a former senior Physics faculty of the prestigious Loreto Convent College and current Coordinator of Asia Pacific Regional Media Alliance for Health and Development (APCAT Media). Follow her on Twitter @shobha1shukla or read her writings here www. bit. ly/ShobhaShukla)
english
.contato__conteudo { display: flex; justify-content: space-between; } .contato__banner { background: url(../../images/dog2.png) center no-repeat; background-size: cover; height: 700px; width: 500px; } #contato { flex-direction: column; box-sizing: border-box; display: flex; align-items: center; width: 100%; } .contato__titulo { padding: 2rem 0; font-size: 2rem; font-weight: bold; text-align: center; } .contato__formulario { font-size: 1.2rem; margin: 0; } .contato__formulario label { display: block; margin: 0 0 1rem; } .contato__formulario fieldset { border: none; padding: 2rem; } .contato__input { display: block; margin: 0 0 2rem; padding: 1rem; width: 100%; border: none; border-radius: 0.3rem; filter: drop-shadow(3px 3px 13px rgba(179, 175, 175, 0.5)); font-family: 'Sintony', sans-serif; } .contato__input::placeholder { font-family: 'Sintony', sans-serif; font-size: .8rem; } .contato__send { display: block; margin: 0 0 3rem; padding: 1rem; width: 105%; border: none; border-radius: 0.3rem; background-color: var(--amarelo); filter: drop-shadow(3px 3px 3px rgba(179, 175, 175, 0.5)); font-family: 'Sintony', sans-serif; transition: 1s all; } .contato__send:hover { background-color: var(--rosa-escuro); transform: scale(1.1); cursor: pointer; } @media (max-width: 810px) { #contato { padding: 0 2rem; } .contato__titulo { margin-top: -2rem; } .contato__formulario { font-size: 1rem; } .contato__banner { display: none; } .contato__input { width: 90%; } .contato__send { width: 100%; } }
css
Em formação! Free !! Free !! Graphic designing is the art of communication without words, a visual of your vision, of what you are capable of, a showcase of your services & products & the representation of your company. We color your world, present you aesthetically, brand your image & Polish up the way you look. You are the King in your profession & we give the king a grand entry. segue várias empresas, essas empresas e empregadores podem visualizar o currículo da Raja. Faça o upload do seu currículo para obter as melhores oportunidades de emprego. Registre-se gratuitamente!
english
<reponame>CLBExchange/certified-token-list<filename>101/3baWGQ4b6sXwv2daBy3NNTQpwYh9mBXXe71abPx9Mgnw.json {"name":"the codingmiracle token","symbol":"CODE","logoURI":"https://raw.githubusercontent.com/codingmiracle/Solana-Token/main/token/CODE/code-logo.png","decimals":4,"address":"3baWGQ4b6sXwv2daBy3NNTQpwYh9mBXXe71abPx9Mgnw","chainId":101,"tags":["social-token","utility-token"],"extensions":{"website":"https://codingmiracle.github.io","twitter":"https://twitter.com/codingmiracle","instagram":"https://www.instagram.com/codingmiracle"}}
json
In this section, we present you a special feature on the Prime Saint of Tehran, who is none other than the Prophet’s venerable descendant Seyyed Abdul-Azeem al-Hassani (AS) who reposes in peace in historical town of Rayy, which today is the southernmost suburb of the Iranian capital. The statement which you heard on the merits of knowledge and the knowledgeable is indeed a bezel of wisdom bequeathed by the Gateway of the City of Knowledge, Imam Ali ibn Abi Taleb (AS), to his loyal disciple Kumayl ibn Ziyad an-Nakha’i (to whom the Imam taught the famous supplication “Du’a Kumayl” which is recited regularly at religious gatherings every Friday eve). It means that the truly knowledgeable scholars are alive in hearts of the faithful even though they are not physically present in our midst. Today, the 15th of Shawwal, the anniversary of the crucial battle of Ohad and the martyrdom of the Prophet’s uncle, Hazrat Hamza in the year 3rd AH, also happens to be the martyrdom anniversary two-and-a-half centuries later in Iran, of one such immortal scholar, named Abdul-Azeem, who was a descendant in the 4th generation of Imam Hasan Mojtaba (AS), the elder grandson and Second Infallible Heir of Prophet Mohammad (SAWA). Though not infallible like the Imams of the Ahl al-Bayt, his shrine is thronged day and night by thousands of devotees, reciting the holy Qur’an and supplicating to God Almighty, in view of the special position he enjoys in the Divine Court for enlightening people with the genuine teachings of Islam. He is affectionately known by Iranians as “Shah” or “King”, who although not a ruler has continued to rule the hearts of the followers of the Ahl al-Bayt for the past millennium and almost two centuries from his sprawling mausoleum topped by a golden dome. His lineage reads: Abdul-Azeem, son of Abdullah, son of Ali, son of Hasan, son of Zayd, son of Imam Hasan – the Son and Successor of Imam Ali ibn Abi Taleb (AS). He is among the scholars who collected the eloquently wise sermons of Imam Ali (AS) in book-form titled “Khutab Amir al-Mu’minin”, a hundred-and-a-fifty years before Seyyed Radhi compiled the famous “Nahj al-Balagha” (Highway of Eloquence). Born in Medina in 173 AH (789), he was in the prime of manhood when Imam Reza (AS) was forced to leave the Prophet’s City for distant Khorasan by the Abbasid tyrant Mamoun. This means, Seyyed Abdul-Azeem had benefitted from the knowledge of the Prophet’s 8th Infallible Heir. Though senior by over twenty years to Imam Muhammad at-Taqi al-Jawad (AS), he was a devoted companion of the Prophet’s 9th Infallible Successor, as is evident by the following discourse on the advent of Imam Mahdi (AS) and the global government of peace, prosperity and justice. Seyyed Abdul-Azeem narrates: “Once, I went to my master Muhammad bin Ali bin Musa (al-Jawad) intending to ask him about Mahdi al-Qa’em; whether he was al-Mahdi himself or another one. Before I uttered a word, the Imam said: Seyyed Abdul-Azeem, as a missionary of the Ahl al-Bayt in Iran enlightened many people with the genuine teachings of Islam, before being martyred by agents of the tyrannical Abbasid regime in Rayy in the year 252 AH. Thus, according to Imam Hadi (AS), in those days of Abbasid tyranny when pilgrimage was forbidden to Karbala, visiting the shrine of Abdul-Azeem in Rayy is equivalent to performing the pilgrimage of Imam Husain (AS)
english
import { Routes, RouterModule } from '@angular/router'; import { NgModule } from '@angular/core'; import { SystemUnavailableComponent } from './pages/system-unavailable/system-unavailable.component'; const unavailableRoute = { path: '', component: SystemUnavailableComponent } const routes: Routes = [ unavailableRoute ]; @NgModule({ imports: [RouterModule.forChild(routes)], exports: [RouterModule] }) export class SystemUnavailableRoutingModule { }
typescript
On January 21, FRL had asked Amazon for a long-term loan in order to avoid a default on repayment of Rs 3,500 crore loan due on January 29. Big Bazaar. Embattled on multiple fronts, the debt-laden Future Group on Tuesday rejected an offer of financial support from Amazon citing lower valuations than that offered by Reliance Industries Ltd. Future Retail Ltd (FRL) dubbed Amazon’s offer through private equity firm Samara Capital, an attempt to buy FRL assets on the cheap. FRL’s independent directors, in a letter to Amazon, said they will not engage with the latter on the matter any further. On January 21, FRL had asked Amazon for a long-term loan in order to avoid a default on repayment of Rs 3,500 crore loan due on January 29. Amazon had replied that it would help FRL through Samara Capital provided the Kishore Biyani-led company scrap the proposed Rs 24,713 crore deal with Reliance Retail, reported news agency PTI. An infuriated FRL wrote back to Amazon that the letter’s offer of support was just a “game of smoke of mirrors”. "Accordingly, we will not be assessing any proposals from you, until an actual solution which meets FRL's capital requirements and addresses concerns of its stakeholders, in a legally-compliant manner, is tabled," said the letter, according to PTI. “We have always been clear that we would assess any proposal, which provides a comprehensive solution for banks, employees, shareholders, vendors, and other stakeholders of FRL. " “Your proposal does not meet this basic criteria on speed and timing of funding, legal compliance and adherence with the regulatory rulings, which you have simply chosen to ignore. This makes it apparent that your offer is more by way of posturing for extraneous reasons and not to address the crisis in which FRL finds itself. We had also made it clear that assessment of any proposal would be subject to FRL’s legal obligations,” the FRL letter to Amazon further stated. It was reported that Amazon told FRL that Samara Capital remains interested in buying out Future Retail’s businesses such as Big Bazaar for Rs 7,000 crore and asked FRL to provide financial details to Samara Capital for the private equity fund to begin the process. FRL replied the offer of Rs 7,000 crore was too small for the debt-laden company to fulfil its loan commitments. The company further stated that its bank and vendor commitments amounted to Rs 12,027. 31 crores.
english
<reponame>drogga1/droggatest<filename>carole-samaha.html <!DOCTYPE html> <html lang="en-US"> <head> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-142700306-1"></script> <script> window.dataLayer = window.dataLayer || []; function gtag(){dataLayer.push(arguments);} gtag('js', new Date()); gtag('config', 'UA-142700306-1'); </script> <meta charset="UTF-8"> <title>Carole Samaha Profile | Short Biography</title> <meta name="generator" content="Jekyll v3.8.5"> <meta property="og:title" content="Carole Samaha Profile | Short Biography"> <meta property="og:locale" content="en_US"> <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no"> <meta name="author" content="<NAME>"> <meta name="description" content="xxxx"> <meta property="og:description" content="xxxx"> <link rel="canonical" href="/carole-samaha.html"> <meta property="og:url" content="/carole-samaha.html"> <meta property="og:site_name" content="Biography123: Cronicled quote, opinion, and comment"> <meta name="robots" content="noindex,nofollow,noarchive"> <meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="theme-color" content="#157878"> <meta name="apple-mobile-web-app-status-bar-style" content="black-translucent"> <link rel="stylesheet" href="style.css"> <link rel="icon" type="image/ico" href="favicon.ico"> </head> <body> <a id="skip-to-content" href="#content">Skip to the content</a> <header class="page-header" role="banner"> <script async src='https://cse.google.com/cse.js?cx=005970883172946151924:9e-j8a9cwd0'></script> <div class="gcse-search"></div> </header><small><a href="/index.html">Home</a> .:. <a href="/about.html">About</a> .:. <a href="/biography.html">Biography</a> <main id="content" class="main-content" role="main"> <table> <tbody> <tr> <td><img src="assets/img/pic.jpg" /></td> <td><NAME></td> </tr> <tr> <td>Gender</td> <td>Female</td> </tr> <tr> <td>Ethnic</td> <td>Lebanese</td> </tr> <tr> <td>Job</td> <td>Lebanese singer</td> </tr> <tr> <td>Desc</td> <td>xxxx</td> </tr> </tbody> </table> <!-- isi --> <h4 id="2016-10-01-retrieve">2016 10 01 Retrieve</h4> <blockquote> <p><b>[Lebanese singer <NAME> talks about the significance the <a href="fifa.html">FIFA</a> U-17 Women’s World Cup can have in empowering women to play football in Jordan]</b> Football isn’t only for men. Women have shown that they can play it. No woman should hesitate to play this game - it won’t detract from them in any way. Families should support their daughters who watch this World Cup and become inspired to follow this path and play</p> </blockquote> <footer class="site-footer"> Beta 2020. We are creating footballer's biography profile based on their statement. </footer> </main> </body> </html>
html
YS Jaganmohan Reddy has assured his auditor Vijay Sai Reddy long back that he would be made Rajya Sabha member of the party in the upcoming polls. However, The recent political development forced Yuva Neta to change his plan completely. As per political buzz, Jagan is planning to boycott Rajya Sabha polls in the wake of defections into the ruling Telugu Desam Party. With the aim of denying Rajya Sabha seat to YCP, TDP launched Operation Akarsh to lure MLAs of the Opposition Party. About 11 YCP MLAs joined Telugu Desam already. At least, Six more Legislators were in touch with TDP Leadership to shift loyalties before Rajya Sabha Polls. A Rajya Sabha nominee should prove the support of 42 MLAs to win the election. The count of MLAs have already fallen to 56 from 67 in YCP and few more lawmakers will be quitting the party in the coming days. To avoid embarrassment & gain sympathy from people, Jagan seems to have been considering the option to skip Rajya Sabha elections. He might announce the final decision after 10-15 days depending on the situation. If YCP boycotts Rajya Sabha polls, How would Jagan compensate the loss of Vijay Sai Reddy?
english
<reponame>chamberone/Leaflet.PixiOverlay {"nom":"Dasle","circ":"4ème circonscription","dpt":"Doubs","inscrits":1175,"abs":659,"votants":516,"blancs":43,"nuls":9,"exp":464,"res":[{"nuance":"REM","nom":"<NAME>","voix":270},{"nuance":"FN","nom":"Mme <NAME>","voix":194}]}
json
[{"province":"安徽省","city":"合肥市","area":"合肥高新技术产业开发区","name":"黄山路邮政支局","code":"230088","address":"合肥市黄山路632号邮储银行100米内","phone":"0551-65572016"},{"province":"安徽省","city":"合肥市","area":"合肥高新技术产业开发区","name":"科技园支局","code":"230088","address":"合肥市高新区天波路25号","phone":"0551-65325848"}]
json
<reponame>iorixxx/Thai-news-retrieval { "id": 575338, "title": "ห้ามครูนั่งผู้ทรงคุณวุฒิในกศจ. | เดลินิวส์", "description": "“ชัยพฤกษ์” เผย ที่ประชุมคณะกรรมการขับเคลื่อนการปฏิรูปการศึกษาของกระทรวงศึกษาธิการในภูมิภาค ห้ามครูนั่งผู้ทรงคุณวุฒิใน กศจ. หวั่นเกิดความซ้ำซ้อน ต้องการคนนอก", "keywords": "ดร.ชัยพฤกษ์ เสรีรักษ์,ที่ประชุม,คณะกรรมการขับเคลื่อนการปฏิรูปการศึกษา,กระทรวงศึกษาธิการ,ในภูมิภาค, ห้ามครู,นั่งผู้ทรงคุณวุฒิ,กศจ.,ต้องการคนนอก,เดลินิวส์,เดลินิวส์ออนไลน์,เดลินิวส์วันนี้,ข่าวเดลินิวส์ออนไลน์,ข่าวเดลินิวส์ล่าสุด,ข่าว,ข่าวด่วน,ข่าววันนี้,ข่าวร้อน,ข่าวบันเทิง,ข่าวเด่นวันนี้,ข่าวดารา,ข่าวล่าสุด,คลิป,คลิปด่วน,คลิปข่าว,คลิปร้อน,คลิปฮอต,ท่องเที่ยว,สกู๊ปพิเศษ,ไลฟ์สไตล์,lifestyle,ความงาม,เรื่องย่อละคร,เทคนิค,ดวง,ตรวจหวย,special scoop,dailynews,เซ็กซ์,ไอที,ทิป,ยานยนตร์,หนังสือพิมพ์,สาระน่ารู้,ข่าวล่าสุด,สุขภาพ,แต่งบ้าน,อาหาร,แฟชั่น", "category": "education", "content": "วันนี้(22พ.ค.) ดร.ชัยพฤกษ์ เสรีรักษ์ ปลัดกระทรวงศึกษาธิการ (ศธ.) เปิดเผยว่า เมื่อเร็วๆนี้ ที่ประชุมคณะกรรมการขับเคลื่อนการปฏิรูปการศึกษาของกระทรวงศึกษาธิการในภูมิภาค (กขภ.) ที่ประชุมได้พิจารณาคุณสมบัติผู้ทรงคุณวุฒิ ในคณะกรรมการศึกษาธิการจังหวัด (กศจ.) และคณะอนุกรรมการศึกษาธิการจังหวัด (อกศจ.) ทั้ง 3 คณะ ได้แก่ อกศจ.บริหารงานบุคคล อกศจ.บริหารราชการเชิงยุทธศาสตร์ และ อกศจ.พัฒนาคุณภาพการศึกษา โดยที่ประชุมสรุปว่า ผู้ที่เป็นข้าราชการครูและบุคลากรทางการศึกษาไม่สามารถเป็นผู้ทรงคุณวุฒิใน กศจ. และ อกศจ.ทั้ง 3 คณะได้ เนื่องจากจะเกิดความซ้ำซ้อนในองค์ประกอบของกรรมการที่จะมีผู้แทนครู ผู้แทนผู้บริหารสถานศึกษา และกรรมการโดยตำแหน่งอยู่แล้ว และเจตนาของกฎหมาย คือ ต้องการได้ผู้ทรงคุณวุฒิที่เป็นคนนอก นอกจากนี้ยังพิจารณาระยะเวลาในการดำรงตำแหน่งของผู้ทรวงคุณวุฒิใน กศจ. และ อกศจ. ว่าให้มีระระเวลาในการดำรงตำแหน่งคราวละ 2 ปี ไม่เกิน 2 วาระติดต่อกัน ปลัด ศธ.กล่าวต่อไปว่า นอกจากนี้ที่ประชุมยังได้พิจารณาวินิจฉัยเกี่ยวกับผู้ที่ทำหน้าที่ กศจ.กรุงเทพมหานคร โดยวิเคราะห์ตามคำสั่งหัวหน้าคณะรักษาความสงบแห่งชาติ (คสช.) ฉบับที่ 19/2560 และมีมติให้คณะกรรมการขับเคลื่อนการปฏิรูปการศึกษาของกระทรวงศึกษาธิการในภูมิภาค ตามคำสั่งหัวหน้า คสช.ฉบับที่ 19/2560 ทำหน้าที่ กศจ.กรุงเทพมหานคร และเห็นชอบองค์ประกอบกรรมการ อกศจ.กรุงเทพมหานคร ให้มีองค์ประกอบเหมือน อกศจ.จังหวัดอื่นๆและมีจำนวน 3 คณะเช่นเดียวกัน.", "url": "https://www.dailynews.co.th/education/575338", "date": "2017-06-03T22:01:02.698Z" }
json
As per a report in The Times of India, rumours began to circulate around 9 am on Sunday, with whispers that an irate trader had tossed CVD (a type of lab-grown diamond) gems onto the road after their prices reportedly plummeted by a staggering 30%. Recounting the incident, a local trader told th Times of India, "The incident unfolded at 9 am, just as the market was gearing up for the day. Crowds gathered along the stretch of road from Khodiyarnagar to Mini Bazaar in Varachha. Some traders also made their way there to ascertain the authenticity of the diamonds. Regrettably, they turned out to be imitation diamonds, in fact, they were plastic diamonds commonly employed in embroidery and imitation jewelry." As per the Times of India report, additional rumors began to circulate within the market, suggesting a slowdown in the diamond industry as the prices of CVD diamonds had experienced a significant drop in recent days. Many individuals also filmed others collecting the supposed diamonds from the street and subsequently shared these videos on social media platforms. The viral nature of these videos led to even more people converging on the scene, either to witness the spectacle or participate in the treasure hunt, added the report. The incident serves as a stark reminder of the influence and rapid spread of rumors in the age of social media, where unverified information can trigger unexpected events. Download The Economic Times News App to get Daily Market Updates & Live Business News. Subscribe to The Economic Times Prime and read the ET ePaper online.
english
# dataversionr Create and maintain time-versioned datasets using `arrow`. ## Status The functions work against both local and s3 endpoints, and informal tests pass. ## TODO Formal tests Roxygen All that R package linting stuff
markdown
There is no finish line. When you reach one goal, find a new one. Your simple act of kindness can be someone else's miracle. Don’t be pushed around by the fears in your mind. Be led by the dreams in your heart. Remember, that the ultimate freedom comes from knowing one’s self. Saying things, and Doing things are 2 different THINGS! You never truly learn an art until you teach it. "Success is the ability to risk failure!" Don't waste your words on people who deserve your silence. "Don't be the cause of someone elses pain, instead be the reason for them to smile"
english
import os from pytest import yield_fixture from .helpers import setup from ..api import VersionedHDF5File @yield_fixture def h5file(tmp_path, request): file_name = os.path.join(tmp_path, 'file.hdf5') name = None version_name = None m = request.node.get_closest_marker('setup_args') if m is not None: if 'file_name' in m.kwargs.keys(): file_name = m.kwargs['file_name'] if 'name' in m.kwargs.keys(): name = m.kwargs['name'] if 'version_name' in m.kwargs.keys(): version_name = m.kwargs['version_name'] f = setup(file_name=file_name, name=name, version_name=version_name) yield f f.close() @yield_fixture def vfile(tmp_path, h5file): file = VersionedHDF5File(h5file) yield file file.close()
python
One Piece Chapter 1035 has unfortunately been delayed in the middle of one of the most exciting parts of Wano yet. Both Sanji and Zoro are getting much love and development in the series as of late, something both characters could always use more of. Unfortunately for fans, One Piece Chapter 1035 announced a one-week break for the series right as Sanji vs. Queen seemed to be entering its final stages. While this may upset casual fans, diehard One Piece fans know how great post-break chapters can be and are more understanding of why breaks are necessary. This article aims to explain, for casual and diehard fans who are having trouble understanding, what a series break is and why it’s usually taken, as well as the expected One Piece Chapter 1035 release date. In the manga industry, authors of these series (referred to as mangakas) often work very demanding and time-consuming schedules. Like other mangakas, Eiichiro Oda has admitted to working ridiculous hours in order to make One Piece as great as it should be. Oda has said his schedule often consists of waking up at five in the morning, working all day until two in the morning the next day, and then sleeping for three hours. Although seemingly ridiculous, Oda brushes it off by saying it’s what he’s done since he was young, and it still just works, so he still does it. On one hand, this insane work schedule allows Oda to give One Piece the visual, literary, and comedic quality the series boasts with every release. On the other hand, especially in the wake of Kentarou Miura’s tragic and untimely death, this schedule is extremely concerning relative to Oda’s health. Oda and Miura aren’t the only mangakas whose personal health suffers from their work. Hunter x Hunter mangaka Yoshihiro Togashi suffers from chronic back pain, which inhibits the amount of work he can do for his series. This is why strings of Hunter x Hunter hiatuses seem more frequent in recent years than Hunter x Hunter chapter releases. As a result, these weekly breaks are necessary for Oda to maintain his health despite his incredibly demanding schedule. While upsetting to some fans, continuing and finishing the One Piece journey by maintaining Oda’s health takes precedence over everything else, period. Thankfully, this break is only one week. Of chief importance is that a one-week break indicates Oda is in good health and merely needs time off to recoup and re-energize. In addition, barring any unforeseen circumstances, One Piece Chapter 1035 should officially release Sunday, December 19, around 11:00 AM EST through various Weekly Shonen Jump platforms. Although One Piece Chapter 1035 is on a break this week, fans can expect the series to return shortly. Barring unforeseen circumstances, fans can expect One Piece Chapter 1035 to release Sunday, December 19, 2021. While this break may be disappointing to some fans, it’s imperative to ensure Oda’s health is maintained. Ignoring the unfinished series implications, it simply isn’t right to ask the brilliant mind behind One Piece to push himself when he simply needs time off. Nevertheless, when One Piece Chapter 1035 does release, fans can expect the same adrenaline-pumping action that recent chapters have brought to the table. Be sure to support One Piece Chapter 1035's official release through various Weekly Shonen Jump Platforms. Sportskeeda Anime is now on Twitter! Follow us here for latest news & updates.
english
use crate::integrations::windows::ffi::*; #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_UDPTABLE_OWNER_PID { pub rows_count: DWORD, pub rows: [MIB_UDPROW_OWNER_PID; 1], } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_UDP6TABLE_OWNER_PID { pub rows_count: DWORD, pub rows: [MIB_UDP6ROW_OWNER_PID; 1], } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_UDPROW_OWNER_PID { pub local_addr: DWORD, pub local_port: DWORD, pub owning_pid: DWORD, } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_UDP6ROW_OWNER_PID { pub local_addr: [UCHAR; 16], pub local_scope_id: DWORD, pub local_port: DWORD, pub owning_pid: DWORD, } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_TCPTABLE_OWNER_PID { pub rows_count: DWORD, pub rows: [MIB_TCPROW_OWNER_PID; 1], } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_TCP6TABLE_OWNER_PID { pub rows_count: DWORD, pub rows: [MIB_TCP6ROW_OWNER_PID; 1], } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_TCPROW_OWNER_PID { pub state: DWORD, pub local_addr: DWORD, pub local_port: DWORD, pub remote_addr: DWORD, pub remote_port: DWORD, pub owning_pid: DWORD, } #[derive(Copy, Clone, Debug)] #[repr(C)] pub struct MIB_TCP6ROW_OWNER_PID { pub local_addr: [UCHAR; 16], pub local_scope_id: DWORD, pub local_port: DWORD, pub remote_addr: [UCHAR; 16], pub remote_scope_id: DWORD, pub remote_port: DWORD, pub state: DWORD, pub owning_pid: DWORD, }
rust
<filename>backend/json/aides/fds-2021-02-24/aides-maille-national-minify.json [{"kpi_categorie_juridique":[{"code_cat_juridique":"10","libelle_cat_juridique":"Entrepreneur individuel","montant":"6375147237.58","nombre":"3995012","nombre_siren":"1122853"},{"code_cat_juridique":"54","libelle_cat_juridique":"Société à responsabilité limitée (SARL)","montant":"5234270249.15","nombre":"1677300","nombre_siren":"482094"},{"code_cat_juridique":"57","libelle_cat_juridique":"Société par actions simplifiée","montant":"3047733852.22","nombre":"995259","nombre_siren":"263284"},{"code_cat_juridique":"Autres","libelle_cat_juridique":"Autres Catégories Juridiques","montant":"563748078.73","nombre":"188530","nombre_siren":"59193"}],"kpi_classe_effectif":[{"classe_effectif":"00","libelle_classe_effectif":"0 salarié","montant":"1215560125.82","nombre":"506497","nombre_siren":"138369"},{"classe_effectif":"01","libelle_classe_effectif":"1 ou 2 salariés","montant":"3498601075.52","nombre":"1264756","nombre_siren":"364107"},{"classe_effectif":"02","libelle_classe_effectif":"3 à 5 salariés","montant":"1791909916.18","nombre":"484580","nombre_siren":"144259"},{"classe_effectif":"03","libelle_classe_effectif":"6 à 9 salariés","montant":"794014150.60","nombre":"164337","nombre_siren":"50735"},{"classe_effectif":"NN","libelle_classe_effectif":"Etablissement non employeur","montant":"771115721.86","nombre":"456311","nombre_siren":"133013"},{"classe_effectif":"Autres","libelle_classe_effectif":"Autres Classes d'Effectifs","montant":"956707023.61","nombre":"82494","nombre_siren":"30516"}],"kpi_top_10_naf":[{"libelle_section_naf":"Hébergement et restauration","montant":"4210375504.95","nombre":"1075721","nombre_siren":"209394","section_naf":"I"},{"libelle_section_naf":"Commerce","montant":"2244583355.12","nombre":"1055679","nombre_siren":"317445","section_naf":"G"},{"libelle_section_naf":"Activités spécialisées, scientifiques et techniques","montant":"1351626164.71","nombre":"675214","nombre_siren":"203134","section_naf":"M"},{"libelle_section_naf":"Autres activités de services","montant":"1151323193.31","nombre":"654273","nombre_siren":"186287","section_naf":"S"},{"libelle_section_naf":"Transports et entreposage","montant":"1240857977.25","nombre":"609392","nombre_siren":"110681","section_naf":"H"},{"libelle_section_naf":"Construction","montant":"856987280.65","nombre":"547076","nombre_siren":"223356","section_naf":"F"},{"libelle_section_naf":"Arts, spectacles et activités récréatives","montant":"1055369353.28","nombre":"496207","nombre_siren":"98780","section_naf":"R"},{"libelle_section_naf":"Santé humaine et action sociale","montant":"512704034.32","nombre":"382105","nombre_siren":"166892","section_naf":"Q"},{"libelle_section_naf":"Enseignement","montant":"560840404.76","nombre":"358537","nombre_siren":"87570","section_naf":"P"},{"libelle_section_naf":"Activités de services administratifs et de soutien","montant":"664906036.27","nombre":"297789","nombre_siren":"81329","section_naf":"N"},{"libelle_section_naf":"Autres sections NAF","montant":"1636441003.47","nombre":"901977","nombre_siren":"302353","section_naf":"Autres"}],"montant":"15486014308.09","nombre":"7053970","nombre_siren":"1963840"}]
json
<reponame>ryacobi/mustache-async.js ({ bold: function(){ return async function(text, render) { return "<b>" + await render(text) + "</b>"; } } })
javascript
{"resourceType":"DiagnosticReport","id":"DiagnosticReport-57014","status":"final","code":{"coding":[{"system":"http://loinc.org","code":"37052-8","display":"Breast - bilateral Mammogram XCCL"}]},"subject":{"reference":"Patient/Patient-6498","display":"<NAME>"},"context":{"reference":"Encounter/Encounter-245","display":"Pediatric and Adult Medicine"},"effectivePeriod":{"start":"2019-10-14T23:36:36+10:00","end":"2019-10-14T23:36:36+10:00"},"result":[{"reference":"Observation/Observation-57013","display":"No_Cancer_Detected"}]}
json
.breadcrumb { margin-bottom: 20px; font-size: 14px; border-bottom: 1px solid #e5e5e5; } .sep { display: inline-block; width: 10px; height: 10px; margin: 0 14px; background: url(./images/icon_breadcrumbs_arrow.svg) no-repeat center center; } .item { display: inline-block; padding-bottom: 12px; cursor: pointer; } .item:hover { border-bottom: 2px solid #1890ff; } .item:last-child { color: #1890ff; cursor: auto; border-bottom: 2px solid #1890ff; } .item:last-child:hover { color: #1890ff; }
css
<gh_stars>0 {"addbookmarks":true,"bookmarks":[{"name":"<NAME>","items":[{"name":"<NAME>","extent":{"xmin":-401529.28985493595,"ymin":4933184.784290034,"xmax":-401356.1122127803,"ymax":4933304.217146693,"spatialReference":{"wkid":102100}},"thumbnail":"/webappbuilder/apps/7/widgets/eBookmark/images/thumbnail_default.png"},{"name":"Auditorio","extent":{"xmin":-401642.6079556683,"ymin":4932200.268741646,"xmax":-400949.8973868924,"ymax":4932678.000168388,"spatialReference":{"wkid":102100}},"thumbnail":"/webappbuilder/apps/7/widgets/eBookmark/images/thumbnail_default.png"},{"name":"Parking principal","extent":{"xmin":-402361.29105227115,"ymin":4932793.113971718,"xmax":-402014.9357678065,"ymax":4933031.979685141,"spatialReference":{"wkid":102100}},"thumbnail":"/webappbuilder/apps/7/widgets/eBookmark/images/thumbnail_default.png"}],"expanded":true}]}
json
Begin typing your search above and press return to search. NEW DELHI: A day after Chief Ministers raised about price uniformity of the vaccine to be administered from May 1, the Health Ministry has issued clarification on the issue. "It is clarified that the Government of India's procurement price for both #COVID19 vaccines remains at Rs 150 per dose. GOI procured doses will continue to be provided totally free to States," said a tweet by the Health Ministry. (IANS)
english
import pytest from selenium import webdriver from selenium.webdriver.support.wait import WebDriverWait from selenium.webdriver.support import expected_conditions as EC import random @pytest.fixture def driver(request): wd = webdriver.Chrome(desired_capabilities={"pageLoadStrategy": "eager"}) # wd = webdriver.Chrome(service_log_path="chrome_driver.log", service_args=["--verbose", "--log-path=D:\\qc1.log"]) request.addfinalizer(wd.quit) return wd def test_edit_countries(driver): driver.get("http://localhost/litecart/admin/") driver.find_element_by_name("username").send_keys("admin") driver.find_element_by_name("password").send_keys("<PASSWORD>") driver.find_element_by_name("login").click() WebDriverWait(driver, 10).until(EC.title_is("My Store")) driver.get("http://localhost/litecart/admin/?app=countries&doc=countries") WebDriverWait(driver, 10).until(EC.title_is("Countries | My Store")) # выбираем рандомное число из идентификатора стран и кликаем на кнопку редактирования страны index = random.randint(1, 239) driver.find_elements_by_css_selector('i.fa-pencil')[index].click() main_window = driver.current_window_handle old_windows = driver.window_handles old_string = ','.join(old_windows) links = driver.find_elements_by_css_selector('i.fa-external-link') for link in range(len(links)): links[link].click() WebDriverWait(driver, 10).until(EC.number_of_windows_to_be(2)) new_windows = driver.window_handles new_string = ','.join(new_windows) string = new_string.replace(old_string, '') another_string = string.replace(",", '') # это список идентификаторов новых окон # another_string = list([string.replace(",", '')]) driver.switch_to_window(another_string) # WebDriverWait(driver, 10).until_not(EC.title_is("Edit Country | My Store")) driver.close() driver.switch_to_window(main_window)
python
{ "pages": [ "pages/welcome/welcome", "pages/find/find", "pages/mine/mine", "pages/form/iHaveFoundItForm/iHaveFoundIt", "pages/form/thisIsMineForm/thisIsMine", "pages/lostDetail/lostDetail", "pages/assortment/assortResult/assortResult", "pages/assortment/assortmentLost/assortmentLost", "pages/assortment/search/search", "pages/allUserFun/helperFun/helperFun", "pages/allUserFun/losterFun/losterFun", "pages/allUserFun/adminFun/adminFun", "pages/subFun/advice/advice", "pages/subFun/helper/helper", "pages/subFun/connectUs/connectUs", "pages/findDetail/findDetail" ], "window": { "backgroundTextStyle": "light", "navigationBarBackgroundColor": "#87CEEB", "navigationBarTitleText": "寻物", "navigationBarTextStyle": "white" }, "tabBar": { "list": [ { "pagePath": "pages/find/find", "text": "首页", "iconPath": "images/index.png", "selectedIconPath": "images/index_select.png" }, { "pagePath": "pages/assortment/assortmentLost/assortmentLost", "text": "分类", "iconPath": "images/find.png", "selectedIconPath": "images/find_select.png" }, { "pagePath": "pages/mine/mine", "text": "我的", "iconPath": "images/mine.png", "selectedIconPath": "images/mine_select.png" } ] }, "permission": { "scope.userLoaction": { "desc": "您的位置将用于失物定位相关" } }, "style": "v2", "sitemapLocation": "sitemap.json" }
json
Ranveer Singh, who is all set to take up quizmaster duties on the TV show The Big Picture, took the picture quiz challenge himself. In a video shared by Colors TV, the actor can be seen answering a few picture-based questions. One such question popped up on the screen, where he was asked to guess the location of a picture taken with wife Deepika Padukone. Responding to the picture, Ranveer said, "I should know, obviously I should know otherwise I'll get a lappad (slap) when I get back home," Ranveer said in Hindi. Comparing their story to Chetan Bhagat's novel 2 States, Ranveer Singh added, "Basically, Deepika and I thought we should do something special on our first anniversary. As you know, our life is similar to 2 States. Her family is from Bengaluru, mine is from Mumbai. So we thought since it's our first anniversary, why don't we visit both places. We went to Golden Temple in Amritsar but before that, we visited the temple seen in the picture, which is Tirupati temple. " Ranveer Singh referred to himself as "husband of the century" after getting the answer right. Check out the video here: Deepika Padukone and Ranveer Singh got married in a traditional South Indian ceremony - per Konkani rituals in 2018. They also had a North Indian wedding. The couple had an intimate destination wedding in Italy's Lake Como with only close friends and family in attendance. They later hosted grand receptions in Bengaluru and Mumbai. Deepika Padukone and Ranveer Singh's first film together was Goliyon Ki Rasleela Ram-Leela (2013), which was directed by Sanjay Leela Bhansali. The couple has also co-starred in Bajirao Mastani and "Padmaavat. " The couple will soon be seen sharing screen space in Kabir Khan's sports drama '83, in which Ranveer will play the role of Kapil Dev and Deepika will be seen as Kapil Dev's wife. Both the stars have super busy schedules ahead. Ranveer also had a cameo in Deepika's film Finding Fanny.
english